Blocksy Companion - Version 1.7.45

Version Description

Download this release

Release Info

Developer creativethemeshq
Plugin Icon wp plugin Blocksy Companion
Version 1.7.45
Comparing to
See all releases

Code changes from version 1.7.44 to 1.7.45

Files changed (30) hide show
  1. blocksy-companion.php +1 -1
  2. framework/extensions/affiliate-marketing/config.php +10 -0
  3. framework/extensions/affiliate-marketing/extension.php +281 -0
  4. framework/extensions/affiliate-marketing/helpers.php +39 -0
  5. framework/extensions/affiliate-marketing/metabox.php +194 -0
  6. framework/extensions/affiliate-marketing/static/bundle/main.css +8 -0
  7. framework/extensions/affiliate-marketing/static/sass/actions.scss +18 -0
  8. framework/extensions/affiliate-marketing/static/sass/description.scss +5 -0
  9. framework/extensions/affiliate-marketing/static/sass/main.scss +23 -0
  10. framework/extensions/affiliate-marketing/static/sass/quick-info.scss +32 -0
  11. framework/extensions/affiliate-marketing/static/sass/scores.scss +83 -0
  12. framework/extensions/affiliate-marketing/static/sass/slider.scss +29 -0
  13. framework/extensions/affiliate-marketing/static/sass/title.scss +6 -0
  14. framework/extensions/affiliate-marketing/views/single-top.php +246 -0
  15. framework/extensions/cookies-consent/extension.php +1 -1
  16. framework/extensions/cookies-consent/static/bundle/main.css +1 -1
  17. framework/extensions/mailchimp/static/bundle/main.css +1 -1
  18. framework/extensions/widgets/static/bundle/main.css +1 -1
  19. framework/features/customizer-options-manager.php +67 -44
  20. framework/features/header/items/account/dynamic-styles.php +32 -31
  21. framework/features/header/items/account/sync.js +0 -10
  22. framework/theme-integration.php +1 -1
  23. readme.txt +6 -1
  24. static/bundle/dashboard.css +2 -2
  25. static/bundle/dashboard.js +1 -1
  26. static/bundle/options.css +1 -1
  27. static/bundle/options.js +1 -1
  28. static/js/options/CustomizerOptionsManager.js +146 -44
  29. static/js/screens/DemoInstall/Wizzard/PickBuilder.js +8 -8
  30. static/sass/demo-install/builders.scss +12 -4
blocksy-companion.php CHANGED
@@ -3,7 +3,7 @@
3
  /*
4
  Plugin Name: Blocksy Companion
5
  Description: This plugin is the companion for the Blocksy theme, it runs and adds its enhacements only if the Blocksy theme is installed and active.
6
- Version: 1.7.44
7
  Author: CreativeThemes
8
  Author URI: https://creativethemes.com
9
  Text Domain: blc
3
  /*
4
  Plugin Name: Blocksy Companion
5
  Description: This plugin is the companion for the Blocksy theme, it runs and adds its enhacements only if the Blocksy theme is installed and active.
6
+ Version: 1.7.45
7
  Author: CreativeThemes
8
  Author URI: https://creativethemes.com
9
  Text Domain: blc
framework/extensions/affiliate-marketing/config.php ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ $config = [
4
+ 'name' => __('Affiliate Marketing', 'blc'),
5
+ 'description' => __('Create affiliate marketing posts', 'blc')
6
+ // 'hidden' => true
7
+ ];
8
+
9
+
10
+
framework/extensions/affiliate-marketing/extension.php ADDED
@@ -0,0 +1,281 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ require_once dirname(__FILE__) . '/helpers.php';
4
+
5
+ class BlocksyExtensionAffiliateMarketing {
6
+ public function __construct() {
7
+ add_filter(
8
+ 'blocksy:options:cpt:page-title-args',
9
+ function ($args, $cpt) {
10
+ if ($cpt === 'blc-aff-product') {
11
+ $args['has_hero_type'] = false;
12
+ }
13
+
14
+ return $args;
15
+ },
16
+ 10, 2
17
+ );
18
+
19
+ add_action(
20
+ 'init', [$this, 'declare_cpt']
21
+ );
22
+
23
+ add_action('load-post.php', [$this, 'init_metabox']);
24
+ add_action('load-post-new.php', [$this, 'init_metabox']);
25
+
26
+ add_filter('blocksy:single:has-default-hero', function ($def) {
27
+ if (! is_singular('blc-aff-product')) {
28
+ return $def;
29
+ }
30
+
31
+ return false;
32
+ });
33
+
34
+ add_filter(
35
+ 'blocksy:hero:type-1:default-alignment',
36
+ function ($default, $prefix) {
37
+ if ($prefix === 'blc-aff-product_single') {
38
+ return 'center';
39
+ }
40
+
41
+ return $default;
42
+ },
43
+ 10, 2
44
+ );
45
+
46
+ add_filter('blocksy:archive:render-card-layers', function ($layers, $prefix) {
47
+ if ($prefix !== 'blc-aff-product_archive') {
48
+ return $layers;
49
+ }
50
+
51
+ $layers['overall_score'] = blocksy_get_aff_product_overall_score();
52
+
53
+ return $layers;
54
+ }, 10, 2);
55
+
56
+ add_filter('blocksy:posts-listing:archive-order:default', function ($default, $prefix) {
57
+ if ($prefix !== 'blc-aff-product_archive') {
58
+ return $default;
59
+ }
60
+
61
+ $default[] = [
62
+ 'id' => 'overall_score',
63
+ 'enabled' => true
64
+ ];
65
+
66
+ return $default;
67
+ }, 10, 2);
68
+
69
+ add_filter('blocksy:options:posts-listing-archive-order', function ($option, $prefix) {
70
+ if ($prefix !== 'blc-aff-product_archive') {
71
+ return $option;
72
+ }
73
+
74
+ $option['value'][] = [
75
+ 'id' => 'overall_score',
76
+ 'enabled' => true
77
+ ];
78
+
79
+ $option['settings']['overall_score'] = [
80
+ 'label' => __('Overall Score', 'blocksy'),
81
+ /*
82
+ 'options' => [
83
+ 'excerpt_length' => [
84
+ 'label' => __('Length', 'blocksy'),
85
+ 'type' => 'ct-number',
86
+ 'design' => 'inline',
87
+ 'value' => 40,
88
+ 'min' => 10,
89
+ 'max' => 100,
90
+ ],
91
+ ],
92
+ */
93
+ ];
94
+
95
+ return $option;
96
+ }, 10, 2);
97
+
98
+ add_action(
99
+ 'blocksy:content:top',
100
+ function () {
101
+ if (! is_singular('blc-aff-product')) {
102
+ return;
103
+ }
104
+
105
+ echo blc_call_fn(
106
+ ['fn' => 'blocksy_render_view'],
107
+ dirname(__FILE__) . '/views/single-top.php',
108
+ []
109
+ );
110
+ }
111
+ );
112
+
113
+ add_action('wp_enqueue_scripts', function () {
114
+ if (! function_exists('get_plugin_data')) {
115
+ require_once(ABSPATH . 'wp-admin/includes/plugin.php');
116
+ }
117
+
118
+ $data = get_plugin_data(BLOCKSY__FILE__);
119
+
120
+ if (is_admin()) {
121
+ return;
122
+ }
123
+
124
+ wp_enqueue_style(
125
+ 'blocksy-ext-affiliate-marketing-styles',
126
+ BLOCKSY_URL . 'framework/extensions/affiliate-marketing/static/bundle/main.css',
127
+ ['ct-main-styles'],
128
+ $data['Version']
129
+ );
130
+ });
131
+ }
132
+
133
+ public function init_metabox() {
134
+ add_action('add_meta_boxes', [$this, 'setup_meta_box']);
135
+ add_action('save_post', [$this, 'save_meta_box']);
136
+ }
137
+
138
+ public function declare_cpt() {
139
+ register_post_type('blc-aff-product', [
140
+ 'label' => __('Affiliate Products', 'blc'),
141
+ 'description' => __( 'Affiliate Products', 'blc'),
142
+ 'menu_icon' => 'dashicons-money-alt',
143
+ 'labels' => [
144
+ 'name' => __('Affiliate Products', 'blc'),
145
+ 'singular_name' => __('Affiliate Product', 'blc'),
146
+ 'menu_name' => __('Affiliate Products', 'blc'),
147
+ 'parent_item_colon' => __('Parent Affiliate Product', 'blc'),
148
+ 'all_items' => __('All Affiliate Products', 'blc'),
149
+ 'view_item' => __('View Affiliate Product', 'blc'),
150
+ 'add_new_item' => __('Add New Affiliate Product', 'blc'),
151
+ 'add_new' => __('Add New', 'blc'),
152
+ 'edit_item' => __('Edit Affiliate Product', 'blc'),
153
+ 'update_item' => __('Update Affiliate Product', 'blc'),
154
+ 'search_items' => __('Search Affiliate Product', 'blc'),
155
+ 'not_found' => __('Not Found', 'blc'),
156
+ 'not_found_in_trash' => __('Not found in Trash', 'blc')
157
+ ],
158
+ 'supports' => [
159
+ 'comments',
160
+ 'title', 'editor', 'excerpt',
161
+ 'author', 'thumbnail', 'revisions',
162
+ 'custom-fields'
163
+ ],
164
+ 'show_in_rest' => true,
165
+ 'public' => true,
166
+ 'hierarchical' => false,
167
+ 'show_ui' => true,
168
+ 'show_in_menu' => true,
169
+ 'show_in_nav_menus' => true,
170
+ 'show_in_admin_bar' => true,
171
+ 'has_archive' => true,
172
+ 'can_export' => true,
173
+ 'exclude_from_search' => false,
174
+ // 'taxonomies' => array('post_tag'),
175
+ 'publicly_queryable' => true,
176
+ 'capability_type' => 'page'
177
+ ]);
178
+
179
+ register_taxonomy(
180
+ 'blc-aff-categories',
181
+ [
182
+ 'blc-aff-product'
183
+ ],
184
+ [
185
+ 'hierarchical' => true,
186
+ 'labels' => [
187
+ 'name' => __('Categories', 'blc'),
188
+ 'singular_name' => __('Category', 'blc'),
189
+ 'search_items' => __('Search Category', 'blc'),
190
+ 'all_items' => __('All Categories', 'blc'),
191
+ 'parent_item' => __('Parent Category', 'blc'),
192
+ 'parent_item_colon' => __('Parent Category:', 'blc'),
193
+ 'edit_item' => __('Edit Category', 'blc'),
194
+ 'update_item' => __('Update Category', 'blc'),
195
+ 'add_new_item' => __('Add New Category', 'blc'),
196
+ 'new_item_name' => __('New Category Name', 'blc'),
197
+ 'menu_name' => __('Categories', 'blc'),
198
+ ],
199
+ 'show_ui' => true,
200
+ 'show_admin_column' => true,
201
+ 'query_var' => true,
202
+ 'rewrite' => array( 'slug' => 'blc-aff-category' ),
203
+ ]
204
+ );
205
+ }
206
+
207
+ public function setup_meta_box() {
208
+ add_meta_box(
209
+ 'blocksy_settings_meta_box',
210
+ sprintf(
211
+ // Translators: %s is the theme name.
212
+ __( '%s Settings', 'blocksy' ),
213
+ __( 'Blocksy', 'blocksy' )
214
+ ),
215
+ function ($post) {
216
+ $values = get_post_meta($post->ID, 'blocksy_affiliate_marketing_options');
217
+
218
+ if (empty($values)) {
219
+ $values = [[]];
220
+ }
221
+
222
+ $options = blc_call_fn(
223
+ ['fn' => 'blocksy_get_options'],
224
+ dirname(__FILE__) . '/metabox.php',
225
+ [],
226
+ false
227
+ );
228
+
229
+ /**
230
+ * Note to code reviewers: This line doesn't need to be escaped.
231
+ * Function blocksy_output_options_panel() used here escapes the value properly.
232
+ */
233
+ echo blocksy_output_options_panel(
234
+ [
235
+ 'options' => $options,
236
+ 'values' => $values[0],
237
+ 'id_prefix' => 'ct-post-meta-options',
238
+ 'name_prefix' => 'blocksy_affiliate_marketing_options',
239
+ 'attr' => [
240
+ 'class' => 'ct-meta-box',
241
+ 'data-disable-reverse-button' => 'yes'
242
+ ]
243
+ ]
244
+ );
245
+
246
+ wp_nonce_field(basename(__FILE__), 'blocksy_settings_meta_box');
247
+ },
248
+ 'blc-aff-product', 'normal', 'default'
249
+ );
250
+ }
251
+
252
+ public function save_meta_box($post_id) {
253
+ $is_autosave = wp_is_post_autosave($post_id);
254
+ $is_revision = wp_is_post_revision($post_id);
255
+ $is_valid_nonce = !! (
256
+ isset($_POST['blocksy_settings_meta_box']) && wp_verify_nonce(
257
+ sanitize_text_field(wp_unslash($_POST['blocksy_settings_meta_box'])),
258
+ basename(__FILE__)
259
+ )
260
+ );
261
+
262
+ if ($is_autosave || $is_revision || !$is_valid_nonce) {
263
+ return;
264
+ }
265
+
266
+ $values = [];
267
+
268
+ if (isset($_POST['blocksy_affiliate_marketing_options'][blocksy_post_name()])) {
269
+ $values = json_decode(
270
+ wp_unslash($_POST['blocksy_affiliate_marketing_options'][blocksy_post_name()]),
271
+ true
272
+ );
273
+ }
274
+
275
+ update_post_meta(
276
+ $post_id,
277
+ 'blocksy_affiliate_marketing_options',
278
+ $values
279
+ );
280
+ }
281
+ }
framework/extensions/affiliate-marketing/helpers.php ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ function blocksy_get_aff_product_overall_score($post_id = null) {
4
+ if (! $post_id) {
5
+ global $post;
6
+ $post_id = $post->ID;
7
+ }
8
+
9
+ $atts = blocksy_get_post_options($post_id, [
10
+ 'meta_id' => 'blocksy_affiliate_marketing_options'
11
+ ]);
12
+
13
+ $scores = blocksy_akg('scores', $atts, []);
14
+
15
+ if (empty($scores)) {
16
+ return '';
17
+ }
18
+
19
+ $output = '<div class="ct-overall-score-layer">';
20
+
21
+ $avg_score = round(array_reduce($scores, function ($carry, $score) {
22
+ return $carry + intval($score['score']);
23
+ }, 0) / count($scores) * 2) / 2;
24
+
25
+ $output .= '<span class="ct-score-label">';
26
+ $output .= __('Rating', 'blc');
27
+ $output .= ':</span>';
28
+
29
+ $output .= '<span class="ct-average-score">' . $avg_score . '/5</span>';
30
+
31
+ $output .= '<div class="star-rating" role="img">';
32
+ $width = ( ( $avg_score / 5 ) * 100 );
33
+ $output .= '<span style="width: ' . $width . '%;"></span>';
34
+ $output .= '</div>';
35
+
36
+ $output .= '</div>';
37
+
38
+ return $output;
39
+ }
framework/extensions/affiliate-marketing/metabox.php ADDED
@@ -0,0 +1,194 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ $options = [
4
+
5
+ blocksy_rand_md5() => [
6
+ 'title' => __( 'General', 'blocksy' ),
7
+ 'type' => 'tab',
8
+ 'options' => [
9
+
10
+ 'gallery' => [
11
+ 'type' => 'ct-multi-image-uploader',
12
+ 'label' => __('Gallery', 'blc'),
13
+ 'design' => 'inline',
14
+ 'value' => []
15
+ ],
16
+
17
+ blocksy_rand_md5() => [
18
+ 'type' => 'ct-divider',
19
+ ],
20
+
21
+ 'product_button_label' => [
22
+ 'type' => 'text',
23
+ 'label' => __('Affiliate Button Label', 'blc'),
24
+ 'design' => 'inline',
25
+ 'value' => __('Buy Now', 'blc')
26
+ ],
27
+
28
+ 'product_link' => [
29
+ 'type' => 'text',
30
+ 'label' => __('Affiliate Link', 'blc'),
31
+ 'design' => 'inline',
32
+ 'value' => '#'
33
+ ],
34
+
35
+ 'product_button_icon' => [
36
+ 'type' => 'icon-picker',
37
+ 'label' => __('Button Icon', 'blc'),
38
+ 'design' => 'inline',
39
+ 'value' => [
40
+ 'icon' => 'fas fa-shopping-cart'
41
+ ]
42
+ ],
43
+
44
+ blocksy_rand_md5() => [
45
+ 'type' => 'ct-divider',
46
+ ],
47
+
48
+ 'product_read_content_button_label' => [
49
+ 'type' => 'text',
50
+ 'label' => __('Read More Button Label', 'blc'),
51
+ 'design' => 'inline',
52
+ 'value' => __('Read More', 'blc')
53
+ ],
54
+
55
+ 'product_read_content_button_icon' => [
56
+ 'type' => 'icon-picker',
57
+ 'label' => __('Button Icon', 'blc'),
58
+ 'design' => 'inline',
59
+ 'value' => [
60
+ 'icon' => 'fas fa-arrow-down'
61
+ ]
62
+ ],
63
+
64
+ blocksy_rand_md5() => [
65
+ 'type' => 'ct-divider',
66
+ ],
67
+
68
+ 'product_description' => [
69
+ 'type' => 'wp-editor',
70
+ 'label' => __('Small Description', 'blc'),
71
+ 'value' => '',
72
+ 'design' => 'inline',
73
+ ]
74
+
75
+ ],
76
+ ],
77
+
78
+ blocksy_rand_md5() => [
79
+ 'title' => __( 'Rating', 'blocksy' ),
80
+ 'type' => 'tab',
81
+ 'options' => [
82
+
83
+ 'scores' => [
84
+ 'type' => 'ct-addable-box',
85
+ 'label' => __('Scores', 'blc'),
86
+ 'design' => 'inline',
87
+ 'preview-template' => '<%= label %> (<%= score === 1 ? "1 star" : score + " stars" %>)',
88
+
89
+ 'inner-options' => [
90
+ 'label' => [
91
+ 'type' => 'text',
92
+ 'value' => 'Default'
93
+ ],
94
+
95
+ 'score' => [
96
+ 'type' => 'ct-number',
97
+ 'value' => 5,
98
+ 'min' => 1,
99
+ 'max' => 5
100
+ ]
101
+ ],
102
+
103
+ 'value' => [
104
+ /*
105
+ [
106
+ 'label' => 'Features',
107
+ 'score' => 5
108
+ ],
109
+
110
+ [
111
+ 'label' => 'Quality',
112
+ 'score' => 5
113
+ ]
114
+ */
115
+ ]
116
+ ],
117
+
118
+ blocksy_rand_md5() => [
119
+ 'type' => 'ct-divider',
120
+ ],
121
+
122
+ 'product_specs' => [
123
+ 'type' => 'ct-addable-box',
124
+ 'label' => __('Product specs', 'blc'),
125
+ 'design' => 'inline',
126
+ 'preview-template' => '<%= label %>',
127
+
128
+ 'inner-options' => [
129
+ 'label' => [
130
+ 'type' => 'text',
131
+ 'value' => 'Default'
132
+ ],
133
+
134
+ 'value' => [
135
+ 'type' => 'text',
136
+ 'value' => ''
137
+ ]
138
+ ],
139
+
140
+ 'value' => []
141
+ ],
142
+
143
+ blocksy_rand_md5() => [
144
+ 'type' => 'ct-divider',
145
+ ],
146
+
147
+ 'product_pros' => [
148
+ 'type' => 'ct-addable-box',
149
+ 'label' => __('Pros', 'blc'),
150
+ 'design' => 'inline',
151
+ 'preview-template' => '<%= label %>',
152
+
153
+ 'inner-options' => [
154
+ 'label' => [
155
+ 'type' => 'text',
156
+ 'value' => 'Default'
157
+ ],
158
+ ],
159
+
160
+ 'value' => []
161
+ ],
162
+
163
+ blocksy_rand_md5() => [
164
+ 'type' => 'ct-divider',
165
+ ],
166
+
167
+ 'product_cons' => [
168
+ 'type' => 'ct-addable-box',
169
+ 'label' => __('Cons', 'blc'),
170
+ 'design' => 'inline',
171
+ 'preview-template' => '<%= label %>',
172
+
173
+ 'inner-options' => [
174
+ 'label' => [
175
+ 'type' => 'text',
176
+ 'value' => 'Default'
177
+ ],
178
+ ],
179
+
180
+ 'value' => []
181
+ ],
182
+
183
+ ],
184
+ ],
185
+
186
+ // blocksy_rand_md5() => [
187
+ // 'title' => __( 'Design', 'blocksy' ),
188
+ // 'type' => 'tab',
189
+ // 'options' => [
190
+
191
+ // ],
192
+ // ],
193
+ ];
194
+
framework/extensions/affiliate-marketing/static/bundle/main.css ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
1
+ /**
2
+ * - v1.7.45
3
+ *
4
+ * Copyright (c) 2020
5
+ * Licensed GPLv2+
6
+ */
7
+
8
+ .ct-product-hero .flexy-pills,.ct-product-hero .flexy-draggable-pills{width:80%;margin:-7.5% auto 0 auto}.ct-product-hero .flexy-pills .ct-image-container,.ct-product-hero .flexy-draggable-pills .ct-image-container{border-radius:2px;border:3px solid #fff}.ct-product-hero .flexy-pills{justify-content:center}.ct-product-hero .flexy-pills a{flex:0 0 16%;max-width:16%;margin:0 2%}.ct-product-hero .flexy-draggable-pills .flexy-items>*{flex:0 0 20%;max-width:20%;padding:0 2%}.ct-product-hero .hero-section{margin-top:var(--margin-bottom)}.ct-product-scores{display:grid;grid-column-gap:25px;grid-row-gap:25px;margin:0 auto;max-width:800px}@media (min-width: 690px){.ct-product-scores{grid-template-columns:2fr 1fr}}.ct-product-scores:not(:last-child){margin-bottom:60px}.ct-product-scores li{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;padding:10px 20px;background:rgba(243,243,243,0.5);border-radius:2px}.ct-product-scores li:hover{background:#f3f3f3}.ct-product-scores li>span{font-size:15px;font-weight:500}.ct-overall-score{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:20px;color:#fff;border-radius:2px;background:#1A202C}.ct-overall-score .ct-average-score{font-size:55px;font-weight:800;line-height:normal;margin-bottom:10px}.ct-overall-score .ct-score-label{font-size:15px;font-weight:700;text-transform:uppercase;letter-spacing:0.02em;color:#fff;margin:15px 0 0 0}.ct-overall-score-layer{display:flex;flex-wrap:wrap;align-items:center}.ct-overall-score-layer .ct-score-label,.ct-overall-score-layer .ct-average-score{font-size:14px;font-weight:600}.ct-overall-score-layer .ct-average-score{margin:0 5px}.ct-overall-score-layer .star-rating{margin-left:auto}.ct-product-actions{display:flex;align-items:center;justify-content:center}.ct-product-actions:not(:last-child){margin-bottom:60px}.ct-product-actions .ct-button:not(:last-child){margin-right:25px}.ct-product-actions .ct-icon-container{color:inherit;margin-left:10px}.ct-product-description:not(:last-child){margin-bottom:60px}.ct-product-info{display:grid;grid-template-columns:var(--grid-template-columns);grid-column-gap:40px;grid-row-gap:40px;border-top:1px solid #ececec;padding-top:var(--content-vertical-spacing, 60px)}@media (min-width: 1000px){.ct-product-info{--grid-template-columns: 1.5fr 1fr 1fr}}@media (min-width: 690px) and (max-width: 999.98px){.ct-product-info{--grid-template-columns: 1fr 1fr}}@media (min-width: 690px) and (max-width: 999.98px){.ct-specs{grid-column:1/-1}}.ct-specs ul{display:grid;grid-column-gap:40px}@media (min-width: 690px){.ct-specs ul{grid-template-columns:repeat(2, 1fr)}}.ct-product-hero{padding-top:var(--content-vertical-spacing, 60px)}.ct-product-hero .ct-container{padding-bottom:var(--content-vertical-spacing, 60px);border-bottom:1px solid #ececec}.ct-product-hero ul{--listIndent: 0;--listStyleType: none;--contentSpacing: 0}
framework/extensions/affiliate-marketing/static/sass/actions.scss ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ .ct-product-actions {
2
+ display: flex;
3
+ align-items: center;
4
+ justify-content: center;
5
+
6
+ &:not(:last-child) {
7
+ margin-bottom: 60px;
8
+ }
9
+
10
+ .ct-button:not(:last-child) {
11
+ margin-right: 25px;
12
+ }
13
+
14
+ .ct-icon-container {
15
+ color: inherit;
16
+ margin-left: 10px;
17
+ }
18
+ }
framework/extensions/affiliate-marketing/static/sass/description.scss ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
1
+ .ct-product-description {
2
+ &:not(:last-child) {
3
+ margin-bottom: 60px;
4
+ }
5
+ }
framework/extensions/affiliate-marketing/static/sass/main.scss ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @import '../../../../../static/sass/common-frontend';
2
+ @import 'slider';
3
+ @import 'title';
4
+ @import 'scores';
5
+ @import 'actions';
6
+ @import 'description';
7
+ @import 'quick-info';
8
+
9
+ .ct-product-hero {
10
+ padding-top: var(--content-vertical-spacing, 60px);
11
+
12
+ .ct-container {
13
+ padding-bottom: var(--content-vertical-spacing, 60px);
14
+ border-bottom: 1px solid #ececec;
15
+ }
16
+
17
+ ul {
18
+ --listIndent: 0;
19
+ // --listItemSpacing: 0;
20
+ --listStyleType: none;
21
+ --contentSpacing: 0;
22
+ }
23
+ }
framework/extensions/affiliate-marketing/static/sass/quick-info.scss ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ .ct-product-info {
2
+ display: grid;
3
+ grid-template-columns: var(--grid-template-columns);
4
+ grid-column-gap: 40px;
5
+ grid-row-gap: 40px;
6
+
7
+ border-top: 1px solid #ececec;
8
+ padding-top: var(--content-vertical-spacing, 60px);
9
+
10
+ @include media-breakpoint-up (lg) {
11
+ --grid-template-columns: 1.5fr 1fr 1fr;
12
+ }
13
+
14
+ @include media-breakpoint-only (md) {
15
+ --grid-template-columns: 1fr 1fr;
16
+ }
17
+ }
18
+
19
+ .ct-specs {
20
+ @include media-breakpoint-only (md) {
21
+ grid-column: 1/-1;
22
+ }
23
+
24
+ ul {
25
+ display: grid;
26
+ grid-column-gap: 40px;
27
+
28
+ @include media-breakpoint-up (md) {
29
+ grid-template-columns: repeat(2, 1fr);
30
+ }
31
+ }
32
+ }
framework/extensions/affiliate-marketing/static/sass/scores.scss ADDED
@@ -0,0 +1,83 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ .ct-product-scores {
2
+ display: grid;
3
+ grid-column-gap: 25px;
4
+ grid-row-gap: 25px;
5
+ margin: 0 auto;
6
+ max-width: 800px;
7
+
8
+ @include media-breakpoint-up (md) {
9
+ grid-template-columns: 2fr 1fr;
10
+ }
11
+
12
+ &:not(:last-child) {
13
+ margin-bottom: 60px;
14
+ }
15
+
16
+ li {
17
+ display: flex;
18
+ flex-wrap: wrap;
19
+ align-items: center;
20
+ justify-content: space-between;
21
+ padding: 10px 20px;
22
+ background: rgba(243, 243, 243, 0.5);
23
+ border-radius: 2px;
24
+ // --listItemSpacing: 5px;
25
+
26
+ &:hover {
27
+ background: rgba(243, 243, 243, 1);
28
+ }
29
+
30
+ > span {
31
+ font-size: 15px;
32
+ font-weight: 500;
33
+ }
34
+ }
35
+ }
36
+
37
+ .ct-overall-score {
38
+ display: flex;
39
+ flex-direction: column;
40
+ align-items: center;
41
+ justify-content: center;
42
+ padding: 20px;
43
+ color: #fff;
44
+ border-radius: 2px;
45
+ background: #1A202C;
46
+
47
+ .ct-average-score {
48
+ font-size: 55px;
49
+ font-weight: 800;
50
+ line-height: normal;
51
+ margin-bottom: 10px;
52
+ }
53
+
54
+ .ct-score-label {
55
+ font-size: 15px;
56
+ font-weight: 700;
57
+ text-transform: uppercase;
58
+ letter-spacing: 0.02em;
59
+ color: #fff;
60
+ margin: 15px 0 0 0;
61
+ }
62
+ }
63
+
64
+ // layer
65
+ .ct-overall-score-layer {
66
+ display: flex;
67
+ flex-wrap: wrap;
68
+ align-items: center;
69
+
70
+ .ct-score-label,
71
+ .ct-average-score {
72
+ font-size: 14px;
73
+ font-weight: 600;
74
+ }
75
+
76
+ .ct-average-score {
77
+ margin: 0 5px;
78
+ }
79
+
80
+ .star-rating {
81
+ margin-left: auto;
82
+ }
83
+ }
framework/extensions/affiliate-marketing/static/sass/slider.scss ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ .ct-product-hero {
2
+
3
+ .flexy-pills,
4
+ .flexy-draggable-pills {
5
+ width: 80%;
6
+ margin: -7.5% auto 0 auto;
7
+
8
+ .ct-image-container {
9
+ border-radius: 2px;
10
+ border: 3px solid #fff;
11
+ }
12
+ }
13
+
14
+ .flexy-pills {
15
+ justify-content: center;
16
+
17
+ a {
18
+ flex: 0 0 16%;
19
+ max-width: 16%;
20
+ margin: 0 2%;
21
+ }
22
+ }
23
+
24
+ .flexy-draggable-pills .flexy-items > * {
25
+ flex: 0 0 20%;
26
+ max-width: 20%;
27
+ padding: 0 2%;
28
+ }
29
+ }
framework/extensions/affiliate-marketing/static/sass/title.scss ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
1
+ .ct-product-hero {
2
+
3
+ .hero-section {
4
+ margin-top: var(--margin-bottom);
5
+ }
6
+ }
framework/extensions/affiliate-marketing/views/single-top.php ADDED
@@ -0,0 +1,246 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ $atts = blocksy_get_post_options(null, [
4
+ 'meta_id' => 'blocksy_affiliate_marketing_options'
5
+ ]);
6
+
7
+ $gallery_images = array_map(function ($item) {
8
+ return $item['attachment_id'];
9
+ }, blocksy_akg('gallery', $atts, []));
10
+
11
+ $thumb_id = get_post_thumbnail_id();
12
+
13
+ if ($thumb_id) {
14
+ array_unshift($gallery_images, intval($thumb_id));
15
+ } else {
16
+ $gallery_images = [null];
17
+ }
18
+
19
+ echo '<section class="ct-product-hero">';
20
+ echo '<div class="ct-container">';
21
+ if (count($gallery_images) === 1) {
22
+ $attachment_id = $gallery_images[0];
23
+
24
+ $image_href = wp_get_attachment_image_src(
25
+ $attachment_id,
26
+ 'full'
27
+ );
28
+
29
+ $width = null;
30
+ $height = null;
31
+
32
+ if ($image_href) {
33
+ $width = $image_href[1];
34
+ $height = $image_href[2];
35
+
36
+ $image_href = $image_href[0];
37
+ }
38
+
39
+ echo blocksy_image([
40
+ 'attachment_id' => $gallery_images[0],
41
+ 'size' => 'full',
42
+ 'ratio' => '2/1',
43
+ 'tag_name' => 'a',
44
+ 'html_atts' => array_merge([
45
+ 'href' => $image_href
46
+ ], $width ? [
47
+ 'data-width' => $width,
48
+ 'data-height' => $height
49
+ ] : []),
50
+ ]);
51
+ }
52
+
53
+ if (count($gallery_images) > 1) {
54
+ $args = [
55
+ 'images' => $gallery_images,
56
+ 'size' => 'full',
57
+ 'images_ratio' => '2/1'
58
+ ];
59
+
60
+ if (count($gallery_images) <= 5) {
61
+ $args['pills_images'] = $gallery_images;
62
+ } else {
63
+ $args['has_pills'] = false;
64
+ }
65
+
66
+ echo blocksy_flexy($args);
67
+
68
+ if (count($gallery_images) > 5) {
69
+ echo blocksy_flexy([
70
+ 'images' => $gallery_images,
71
+ 'size' => 'thumb',
72
+ 'has_pills' => false,
73
+ 'images_ratio' => '1/1',
74
+ 'class' => 'flexy-draggable-pills',
75
+ 'first_item_class' => 'active'
76
+ ]);
77
+ }
78
+ }
79
+
80
+ echo blocksy_output_hero_section([
81
+ 'type' => 'type-1'
82
+ ]);
83
+
84
+ $scores = blocksy_akg('scores', $atts, []);
85
+
86
+ if (! empty($scores)) {
87
+ echo '<div class="ct-product-scores">';
88
+
89
+ echo '<ul>';
90
+
91
+ foreach ($scores as $single_score) {
92
+ echo '<li>';
93
+ echo '<span>' . $single_score['label'] . '</span>';
94
+
95
+ echo '<div class="star-rating" role="img">';
96
+ $width = ( ( intval($single_score['score']) / 5 ) * 100 );
97
+
98
+ echo '<span style="width: ' . $width . '%;">Rated <strong class="rating">3</strong> out of 5</span>';
99
+ echo '</div>';
100
+ echo '</li>';
101
+ }
102
+
103
+ echo '</ul>';
104
+
105
+ echo '<div class="ct-overall-score">';
106
+
107
+ $avg_score = round(array_reduce($scores, function ($carry, $score) {
108
+ return $carry + intval($score['score']);
109
+ }, 0) / count($scores) * 2) / 2;
110
+
111
+ echo '<span class="ct-average-score">' . $avg_score . '/5</span>';
112
+
113
+ echo '<div class="star-rating" role="img">';
114
+ $width = ( ( $avg_score / 5 ) * 100 );
115
+ echo '<span style="width: ' . $width . '%;"></span>';
116
+ echo '</div>';
117
+
118
+ echo '<span class="ct-score-label">';
119
+ echo __('Overall Score', 'blc');
120
+ echo '</span>';
121
+ echo '</div>';
122
+
123
+ echo '</div>';
124
+ }
125
+
126
+ echo '<div class="ct-product-actions">';
127
+
128
+ $product_link = blocksy_akg('product_link', $atts, '#');
129
+ $product_button_label = blocksy_akg(
130
+ 'product_button_label',
131
+ $atts,
132
+ __('Buy Now', 'blc')
133
+ );
134
+
135
+ $product_read_content_button_label = blocksy_akg(
136
+ 'product_read_content_button_label',
137
+ $atts,
138
+ __('Read More', 'blc')
139
+ );
140
+
141
+ if (! empty($product_button_label)) {
142
+ echo '<a href="#post-' . get_the_ID() . '" class="ct-button">';
143
+ echo $product_read_content_button_label;
144
+
145
+ echo blc_get_icon([
146
+ 'icon_descriptor' => blocksy_akg('product_read_content_button_icon', $atts, [
147
+ 'icon' => 'fas fa-arrow-down'
148
+ ]),
149
+ ]);
150
+
151
+ echo '</a>';
152
+ }
153
+
154
+ if (! empty($product_button_label) && ! empty($product_link)) {
155
+ echo '<a href="' . esc_url($product_link) . '" class="ct-button">';
156
+ echo $product_button_label;
157
+
158
+ echo blc_get_icon([
159
+ 'icon_descriptor' => blocksy_akg('product_button_icon', $atts, [
160
+ 'icon' => 'fas fa-cart-arrow-down'
161
+ ]),
162
+ ]);
163
+
164
+ echo '</a>';
165
+ }
166
+
167
+ echo '</div>';
168
+
169
+ $product_specs = blocksy_akg('product_specs', $atts, []);
170
+ $product_pros = blocksy_akg('product_pros', $atts, []);
171
+ $product_cons = blocksy_akg('product_cons', $atts, []);
172
+ $product_description = blocksy_akg('product_description', $atts, '');
173
+
174
+ if (! empty($product_description)) {
175
+ echo '<div class="ct-product-description">';
176
+
177
+ echo '<div class="entry-content">';
178
+ echo do_shortcode($product_description);
179
+ echo '</div>';
180
+
181
+ echo '</div>';
182
+ }
183
+
184
+ if (
185
+ ! empty($product_specs)
186
+ ||
187
+ ! empty($product_pros)
188
+ ||
189
+ ! empty($product_cons)
190
+ ) {
191
+ echo '<div class="ct-product-info">';
192
+
193
+ if (! empty($product_specs)) {
194
+ echo '<div class="ct-specs">';
195
+ echo '<h5>' . __('Specs', 'blc') . '</h5>';
196
+
197
+ echo '<ul>';
198
+
199
+ foreach ($product_specs as $single_spec) {
200
+ echo '<li>';
201
+ echo '<b>' . blocksy_akg('label', $single_spec, '') . ': </b>';
202
+ echo blocksy_akg('value', $single_spec, '');
203
+ echo '</li>';
204
+ }
205
+
206
+ echo '</ul>';
207
+ echo '</div>';
208
+ }
209
+
210
+ if (! empty($product_pros)) {
211
+ echo '<div>';
212
+ echo '<h5>' . __('Pros', 'blc') . '</h5>';
213
+
214
+ echo '<ul>';
215
+
216
+ foreach ($product_pros as $single_pro) {
217
+ echo '<li>';
218
+ echo blocksy_akg('label', $single_pro, '');
219
+ echo '</li>';
220
+ }
221
+
222
+ echo '</ul>';
223
+ echo '</div>';
224
+ }
225
+
226
+ if (! empty($product_cons)) {
227
+ echo '<div>';
228
+ echo '<h5>' . __('Cons', 'blc') . '</h5>';
229
+
230
+ echo '<ul>';
231
+
232
+ foreach ($product_cons as $single_cons) {
233
+ echo '<li>';
234
+ echo blocksy_akg('label', $single_cons, '');
235
+ echo '</li>';
236
+ }
237
+
238
+ echo '</ul>';
239
+ echo '</div>';
240
+ }
241
+
242
+ echo '</div>';
243
+ }
244
+
245
+ echo '</div>';
246
+ echo '</section>';
framework/extensions/cookies-consent/extension.php CHANGED
@@ -1,6 +1,6 @@
1
  <?php
2
 
3
- require_once dirname( __FILE__ ) . '/helpers.php';
4
 
5
  class BlocksyExtensionCookiesConsent {
6
  public static function onActivation() {
1
  <?php
2
 
3
+ require_once dirname(__FILE__) . '/helpers.php';
4
 
5
  class BlocksyExtensionCookiesConsent {
6
  public static function onActivation() {
framework/extensions/cookies-consent/static/bundle/main.css CHANGED
@@ -1,5 +1,5 @@
1
  /**
2
- * - v1.7.44
3
  *
4
  * Copyright (c) 2020
5
  * Licensed GPLv2+
1
  /**
2
+ * - v1.7.45
3
  *
4
  * Copyright (c) 2020
5
  * Licensed GPLv2+
framework/extensions/mailchimp/static/bundle/main.css CHANGED
@@ -1,5 +1,5 @@
1
  /**
2
- * - v1.7.44
3
  *
4
  * Copyright (c) 2020
5
  * Licensed GPLv2+
1
  /**
2
+ * - v1.7.45
3
  *
4
  * Copyright (c) 2020
5
  * Licensed GPLv2+
framework/extensions/widgets/static/bundle/main.css CHANGED
@@ -1,5 +1,5 @@
1
  /**
2
- * - v1.7.44
3
  *
4
  * Copyright (c) 2020
5
  * Licensed GPLv2+
1
  /**
2
+ * - v1.7.45
3
  *
4
  * Copyright (c) 2020
5
  * Licensed GPLv2+
framework/features/customizer-options-manager.php CHANGED
@@ -27,8 +27,12 @@ class CustomizerOptionsManager {
27
  wp_send_json_error();
28
  }
29
 
 
 
 
 
30
  wp_send_json_success([
31
- 'data' => serialize($this->get_data())
32
  ]);
33
  });
34
 
@@ -43,11 +47,21 @@ class CustomizerOptionsManager {
43
 
44
  $data = @unserialize(wp_unslash($_POST['data']));
45
 
46
- $importer = new DemoInstallOptionsInstaller([
47
- 'has_streaming' => false
48
- ]);
 
49
 
50
- $importer->import_options($data);
 
 
 
 
 
 
 
 
 
51
 
52
  wp_send_json_success([]);
53
  });
@@ -99,53 +113,62 @@ class CustomizerOptionsManager {
99
  });
100
  }
101
 
102
- private function get_data($theme_slug = null) {
103
- if (! $theme_slug) {
104
- $theme_slug = get_option('stylesheet');
105
- }
106
 
107
- global $wp_customize;
108
-
109
- $mods = $this->get_theme_mods($theme_slug);
110
- $data = [
111
- 'template' => $theme_slug,
112
- 'mods' => $mods ? $mods : array(),
113
- 'options' => array()
114
- ];
115
-
116
- $core_options = [
117
- 'blogname',
118
- 'blogdescription',
119
- 'show_on_front',
120
- 'page_on_front',
121
- 'page_for_posts',
122
- ];
123
-
124
- $settings = $wp_customize->settings();
125
-
126
- foreach ($settings as $key => $setting) {
127
- if ( 'option' == $setting->type ) {
128
- // Don't save widget data.
129
- if ( 'widget_' === substr( strtolower( $key ), 0, 7 ) ) {
130
- continue;
131
- }
132
 
133
- // Don't save sidebar data.
134
- if ( 'sidebars_' === substr( strtolower( $key ), 0, 9 ) ) {
135
- continue;
136
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
137
 
138
- // Don't save core options.
139
- if ( in_array( $key, $core_options ) ) {
140
- continue;
 
 
 
141
  }
 
142
 
143
- $data['options'][$key] = $setting->value();
 
144
  }
145
  }
146
 
147
- if (function_exists('wp_get_custom_css_post')) {
148
- $data['wp_css'] = wp_get_custom_css();
 
149
  }
150
 
151
  return $data;
27
  wp_send_json_error();
28
  }
29
 
30
+ if (! isset($_POST['strategy'])) {
31
+ wp_send_json_error();
32
+ }
33
+
34
  wp_send_json_success([
35
+ 'data' => serialize($this->get_data(null, $_POST['strategy']))
36
  ]);
37
  });
38
 
47
 
48
  $data = @unserialize(wp_unslash($_POST['data']));
49
 
50
+ if (isset($data['mods'])) {
51
+ $importer = new DemoInstallOptionsInstaller([
52
+ 'has_streaming' => false
53
+ ]);
54
 
55
+ $importer->import_options($data);
56
+ }
57
+
58
+ if (isset($data['blocksy_widgets'])) {
59
+ $importer = new DemoInstallWidgetsInstaller([
60
+ 'has_streaming' => false
61
+ ]);
62
+
63
+ $importer->import_data($data['blocksy_widgets']);
64
+ }
65
 
66
  wp_send_json_success([]);
67
  });
113
  });
114
  }
115
 
116
+ private function get_data($theme_slug = null, $strategy = 'options') {
117
+ $data = [];
 
 
118
 
119
+ if (strpos($strategy, 'options') !== false) {
120
+ if (! $theme_slug) {
121
+ $theme_slug = get_option('stylesheet');
122
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
123
 
124
+ global $wp_customize;
125
+
126
+ $mods = $this->get_theme_mods($theme_slug);
127
+ $data = [
128
+ 'template' => $theme_slug,
129
+ 'mods' => $mods ? $mods : array(),
130
+ 'options' => array()
131
+ ];
132
+
133
+ $core_options = [
134
+ 'blogname',
135
+ 'blogdescription',
136
+ 'show_on_front',
137
+ 'page_on_front',
138
+ 'page_for_posts',
139
+ ];
140
+
141
+ $settings = $wp_customize->settings();
142
+
143
+ foreach ($settings as $key => $setting) {
144
+ if ('option' === $setting->type) {
145
+ // Don't save widget data.
146
+ if ('widget_' === substr(strtolower($key), 0, 7)) {
147
+ continue;
148
+ }
149
+
150
+ // Don't save sidebar data.
151
+ if ('sidebars_' === substr(strtolower($key), 0, 9)) {
152
+ continue;
153
+ }
154
 
155
+ // Don't save core options.
156
+ if (in_array($key, $core_options)) {
157
+ continue;
158
+ }
159
+
160
+ $data['options'][$key] = $setting->value();
161
  }
162
+ }
163
 
164
+ if (function_exists('wp_get_custom_css_post')) {
165
+ $data['wp_css'] = wp_get_custom_css();
166
  }
167
  }
168
 
169
+ if (strpos($strategy, 'widgets') !== false) {
170
+ $widgets = new DemoInstallWidgetsExport();
171
+ $data['blocksy_widgets'] = json_decode($widgets->export());
172
  }
173
 
174
  return $data;
framework/features/header/items/account/dynamic-styles.php CHANGED
@@ -5,38 +5,39 @@ if (! isset($root_selector)) {
5
  }
6
 
7
  // Icon size
8
- blocksy_output_responsive([
9
- 'css' => $css,
10
- 'tablet_css' => $tablet_css,
11
- 'mobile_css' => $mobile_css,
12
- 'selector' => blc_call_fn([
13
- 'fn' => 'blocksy_assemble_selector',
14
- 'default' => $root_selector
15
- ], $root_selector),
16
- 'variableName' => 'icon-size',
17
- 'value' => blocksy_akg('accountHeaderIconSize', $atts, [
18
- 'mobile' => 15,
19
- 'tablet' => 15,
20
- 'desktop' => 15,
21
- ])
22
- ]);
 
23
 
24
  // Avatar size
25
- blocksy_output_responsive([
26
- 'css' => $css,
27
- 'tablet_css' => $tablet_css,
28
- 'mobile_css' => $mobile_css,
29
- 'selector' => blc_call_fn([
30
- 'fn' => 'blocksy_assemble_selector',
31
- 'default' => $root_selector
32
- ], $root_selector),
33
- 'variableName' => 'avatar-size',
34
- 'value' => blocksy_akg('accountHeaderAvatarSize', $atts, [
35
- 'mobile' => 22,
36
- 'tablet' => 22,
37
- 'desktop' => 22,
38
- ])
39
- ]);
40
 
41
 
42
  // Modal background
@@ -274,4 +275,4 @@ blocksy_output_colors([
274
  'variable' => 'closeButtonHoverBackground'
275
  ]
276
  ],
277
- ]);
5
  }
6
 
7
  // Icon size
8
+ $accountHeaderIconSize = blocksy_akg( 'accountHeaderIconSize', $atts, 15 );
9
+
10
+ if ($accountHeaderIconSize !== 15) {
11
+ blocksy_output_responsive([
12
+ 'css' => $css,
13
+ 'tablet_css' => $tablet_css,
14
+ 'mobile_css' => $mobile_css,
15
+ 'selector' => blc_call_fn([
16
+ 'fn' => 'blocksy_assemble_selector',
17
+ 'default' => $root_selector
18
+ ], $root_selector),
19
+ 'variableName' => 'icon-size',
20
+ 'value' => $accountHeaderIconSize,
21
+ ]);
22
+ }
23
+
24
 
25
  // Avatar size
26
+ $accountHeaderAvatarSize = blocksy_akg( 'accountHeaderAvatarSize', $atts, 18 );
27
+
28
+ if ($accountHeaderAvatarSize !== 18) {
29
+ blocksy_output_responsive([
30
+ 'css' => $css,
31
+ 'tablet_css' => $tablet_css,
32
+ 'mobile_css' => $mobile_css,
33
+ 'selector' => blc_call_fn([
34
+ 'fn' => 'blocksy_assemble_selector',
35
+ 'default' => $root_selector
36
+ ], $root_selector),
37
+ 'variableName' => 'avatar-size',
38
+ 'value' => $accountHeaderAvatarSize,
39
+ ]);
40
+ }
41
 
42
 
43
  // Modal background
275
  'variable' => 'closeButtonHoverBackground'
276
  ]
277
  ],
278
+ ]);
framework/features/header/items/account/sync.js CHANGED
@@ -9,16 +9,6 @@ import {
9
  } from 'blocksy-customizer-sync'
10
  import { markImagesAsLoaded } from '../../../../extensions/cookies-consent/static/js/lazy-load-helpers'
11
 
12
- /*
13
- selector: assembleSelector(
14
- mutateSelector({
15
- selector: getRootSelectorFor({ itemId }),
16
- operation: 'suffix',
17
- to_add: '.ct-button',
18
- })
19
- ),
20
- */
21
-
22
  ctEvents.on(
23
  'ct:header:sync:collect-variable-descriptors',
24
  (variableDescriptors) => {
9
  } from 'blocksy-customizer-sync'
10
  import { markImagesAsLoaded } from '../../../../extensions/cookies-consent/static/js/lazy-load-helpers'
11
 
 
 
 
 
 
 
 
 
 
 
12
  ctEvents.on(
13
  'ct:header:sync:collect-variable-descriptors',
14
  (variableDescriptors) => {
framework/theme-integration.php CHANGED
@@ -244,7 +244,7 @@ class ThemeIntegration {
244
  wp_enqueue_script(
245
  'blocksy-companion-sync-scripts',
246
  BLOCKSY_URL . 'static/bundle/sync.js',
247
- ['ct-events'],
248
  $data['Version'],
249
  true
250
  );
244
  wp_enqueue_script(
245
  'blocksy-companion-sync-scripts',
246
  BLOCKSY_URL . 'static/bundle/sync.js',
247
+ ['customize-preview', 'wp-date', 'ct-events'],
248
  $data['Version'],
249
  true
250
  );
readme.txt CHANGED
@@ -5,7 +5,7 @@ Requires PHP: 7.0
5
  Tested up to: 5.6
6
  License: GPLv2 or later
7
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
8
- Stable tag: 1.7.44
9
 
10
  == Description ==
11
 
@@ -23,6 +23,11 @@ It runs and adds its enhancements only if the Blocksy theme is installed and act
23
  2. Activate the plugin by going to **Plugins** page in WordPress admin and clicking on **Activate** link.
24
 
25
  == Changelog ==
 
 
 
 
 
26
  1.7.44: 2020-12-28
27
  - New: Author box new social profiles: Pinterest, WordPress, GitHub, Medium, YouTube, Vimeo, VKontakte, Odnoklassniki, TikTok
28
  - Improvement: Allow all declared taxonomies in conditions
5
  Tested up to: 5.6
6
  License: GPLv2 or later
7
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
8
+ Stable tag: 1.7.45
9
 
10
  == Description ==
11
 
23
  2. Activate the plugin by going to **Plugins** page in WordPress admin and clicking on **Activate** link.
24
 
25
  == Changelog ==
26
+ 1.7.45: 2020-12-31
27
+ - New: Add affiliate marketing extension
28
+ - New: Add option to export widgets settings
29
+ - Fix: Fix account element colors sync not working
30
+
31
  1.7.44: 2020-12-28
32
  - New: Author box new social profiles: Pinterest, WordPress, GitHub, Medium, YouTube, Vimeo, VKontakte, Odnoklassniki, TikTok
33
  - Improvement: Allow all declared taxonomies in conditions
static/bundle/dashboard.css CHANGED
@@ -1,8 +1,8 @@
1
  /**
2
- * - v1.7.44
3
  *
4
  * Copyright (c) 2020
5
  * Licensed GPLv2+
6
  */
7
 
8
- .ct-mailchimp-modal{--modal-min-height: 300px}.mailchimp-credentials{display:grid;grid-template-columns:1fr 1fr 1fr;grid-column-gap:10px;margin:5px 0 0 0;padding:25px 0 0 0;border-top:1px dashed #eee}.mailchimp-credentials section{display:flex;flex-direction:column;min-width:0}.mailchimp-credentials label{display:block;font-size:12px;margin-bottom:3px;opacity:0.7}.mailchimp-credentials input{--height: 35px}.ct-extensions-sourse{display:flex;justify-content:center;margin:0 0 40px 0}.ct-extensions-sourse li{display:flex;align-items:center;height:38px;font-weight:500;padding:0 30px;margin:0;cursor:pointer;border:1px solid rgba(226,230,235,0.7)}.ct-extensions-sourse li.active{color:#fff;background:#0085ba;border-color:#0085ba}.ct-extensions-sourse li:hover:not(.active){color:#0085ba}.ct-extensions-sourse li:first-child{border-right:0;border-radius:4px 0 0 4px}.ct-extensions-sourse li:last-child{border-left:0;border-radius:0 4px 4px 0}.ct-extensions-list{display:grid;grid-template-columns:repeat(auto-fill, minmax(300px, 1fr));grid-column-gap:30px;grid-row-gap:30px;margin:0}.ct-extensions-list li{display:flex;flex-direction:column;margin:0;border-radius:3px;border:1px solid rgba(226,230,235,0.7);box-shadow:0 2px 5px rgba(143,163,184,0.12)}.ct-extension-title{display:flex;align-items:center;justify-content:space-between;margin:30px 0 15px 0;padding:0 25px}.ct-extension-title svg{opacity:0.7}.ct-extension-description{font-size:14px;line-height:1.7;margin-bottom:30px;padding:0 25px}.ct-extension-actions{display:flex;justify-content:space-between;margin-top:auto;padding:20px 13px 20px 25px;border-top:1px solid rgba(226,230,235,0.5);background:rgba(235,237,241,0.2)}.ct-extension-actions [class*="ct-button"]{--buttonHeight: 32px;--buttonPadding: 12px;min-width:92px}.ct-config-btn{margin-right:auto;margin-left:10px}.ct-config-btn:before{font-family:dashicons;content:"\f111";font-size:14px;margin-right:5px;opacity:0.9}.ct-minimal-button{display:flex;align-items:center;justify-content:center;width:32px;height:32px;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;padding:0;color:inherit;cursor:pointer;color:#c9cfd6;background:transparent;transition:color 0.2s ease}.ct-minimal-button:hover{color:#9ca9b9}.ct-minimal-button:focus{outline:none}.ct-minimal-button svg{fill:currentColor}.ct-option-info{display:flex;align-items:center;justify-content:center;font-style:normal;line-height:normal;margin-left:auto}.ct-option-info:before{font-family:dashicons;content:"\f348";font-size:16px;line-height:16px}.ct-demos-list-container ul{display:grid;grid-column-gap:30px;grid-row-gap:30px;margin:0;padding:0;list-style:none}@media (min-width: 783px){.ct-demos-list-container ul{grid-template-columns:repeat(2, 1fr)}}.ct-demos-list-container ul li{margin:0;box-sizing:border-box;box-shadow:0 2px 5px rgba(143,163,184,0.12)}.ct-demos-list-container ul li figure{position:relative;margin:0;overflow:hidden;border-radius:3px 3px 0 0}.ct-demos-list-container ul li figure:before{content:'';display:block;width:100%;padding-bottom:75%}.ct-demos-list-container ul li figure img{position:absolute;top:0;left:0;width:100%;height:100%}.ct-demos-list-container ul li figure section{position:absolute;display:flex;flex-direction:column;align-items:center;justify-content:center;top:0;left:0;right:0;bottom:0;opacity:0;background:rgba(36,41,45,0.9);transition:opacity 0.2s ease}.ct-demos-list-container ul li figure section h3{font-size:15px;color:#fff !important;margin:0 0 25px 0}.ct-demos-list-container ul li figure section div{display:flex}.ct-demos-list-container ul li figure section span{padding:8px 12px;display:block;font-size:17px;font-weight:500;color:#fff;border-radius:3px;border:2px solid rgba(255,255,255,0.5);background:rgba(36,41,45,0.4)}.ct-demos-list-container ul li figure section span:not(:last-child){margin-right:15px}.ct-demos-list-container ul li:hover figure>section{opacity:1}.ct-demos-list-container ul li.ct-is-pro figure{position:relative}.ct-demos-list-container ul li.ct-is-pro figure a{position:absolute;z-index:1;content:'PRO';top:0;right:0;font-size:13px;font-weight:700;letter-spacing:.03em;color:#a1680d;text-decoration:none;padding:5px 15px;margin:25px;background:#ffc568;border-radius:3px;box-shadow:0 5px 8px 0 rgba(234,157,33,0.3)}.ct-demo-actions{display:flex;align-items:center;padding:20px 25px;border-radius:0 0 3px 3px;border:1px solid rgba(226,230,235,0.7);background:rgba(235,237,241,0.2)}@media (max-width: 549px){.ct-demo-actions{flex-direction:column}}@media (min-width: 550px){.ct-demo-actions{justify-content:space-between}}.ct-demo-actions h4{margin:0}@media (max-width: 549px){.ct-demo-actions h4{margin-bottom:20px}}.ct-demo-actions .ct-button{margin-right:15px}.ct-demo-actions button[disabled]{opacity:0.3;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}.ct-demo-modal{--modal-width: 500px;height:100%;transition:max-height 0.2s ease}.ct-demo-modal:not(.ct-demo-installer){--modal-max-height: 620px}.ct-demo-modal.ct-demo-installer{--modal-max-height: 380px}.ct-demo-step-container{height:100%;display:flex;flex-direction:column;color:#687c93;text-align:center}.ct-demo-step-container>*:first-child{flex:1;position:relative}.ct-demo-step-container>*:first-child>*{position:absolute;top:0;left:0;right:0;bottom:0}.ct-demo-step-container .ct-demo-icon{display:flex;align-items:center;justify-content:center;width:85px;height:85px;margin:10px auto 20px auto;background:#f3f6f8;border-radius:100%}.ct-demo-step-container h2{text-align:center;font-size:17px;font-weight:600;color:#3e5667;margin-top:0}.ct-demo-step-controls{position:relative;width:100%;height:40px}.ct-demo-step-controls button{position:absolute;z-index:2;top:0}.ct-demo-step-controls button.demo-back-btn{left:0}.ct-demo-step-controls button.demo-main-btn{right:0}.ct-steps-pills{display:flex;align-items:center;justify-content:center;position:absolute;z-index:1;top:0;left:0;right:0;bottom:0;width:200px;margin:0;padding:0;list-style:none;margin:0 auto}.ct-steps-pills li{display:flex;align-items:center;justify-content:center;width:30px;height:30px;margin:0;font-size:0}.ct-steps-pills li:before{content:'';width:12px;height:12px;border-radius:100%;box-shadow:inset 0 0 0 2px rgba(104,124,147,0.8);transition:box-shadow 0.2s ease, transform 0.2s ease}.ct-steps-pills li:not(.active):before{transform:scale3d(0.5, 0.5, 1);box-shadow:inset 0 0 0 10px rgba(104,124,147,0.8)}.ct-demo-child .ct-checkbox-container{max-width:250px;margin:25px auto 0 auto;padding-left:15px;padding-right:15px;border-radius:4px;border:1px solid rgba(179,189,201,0.3)}.ct-demo-child a{display:block;color:#687c93;font-weight:500;text-decoration:none;margin-top:25px}.ct-demo-child a:hover{color:#0073aa}.ct-demo-builder .ct-demo-icon svg{margin-left:10px}.ct-demo-builder ul{display:grid;grid-template-columns:repeat(2, 1fr);grid-column-gap:25px;margin:0;padding:0;list-style:none;max-width:80%;margin:40px auto 0 auto}.ct-demo-builder ul li{margin-bottom:0;cursor:pointer}.ct-demo-builder ul li figure{position:relative;display:flex;align-items:center;justify-content:center;min-height:110px;border:2px solid #e9ecee;border-radius:5px;margin:0;font-weight:500;transition:border-color 0.12s cubic-bezier(0.455, 0.03, 0.515, 0.955),box-shadow 0.12s cubic-bezier(0.455, 0.03, 0.515, 0.955)}.ct-demo-builder ul li figure>svg{width:47%}.ct-demo-builder ul li .builder-name{font-weight:500;color:#3e5667;margin-top:15px}.ct-demo-builder ul li:hover figure{border-color:var(--accentColor)}.ct-demo-builder ul li.active figure{border-color:var(--accentColor);box-shadow:0 0 0 1px var(--accentColor)}.ct-demo-builder ul li .ct-checkbox{--checkMarkColor: #fff;--background: rgba(179, 189, 201, 0.8);--backgroundActive: #0e8ecc;position:absolute;top:0px;right:0px}.ct-demo-builder ul li .ct-checkbox:before{width:22px !important;height:22px !important;border-radius:0px 3px 0px 5px}.ct-demo-builder ul li .ct-checkbox:not(.active):before{opacity:0}.ct-demo-plugins label{margin:0 auto}.ct-active-plugin{display:flex;align-items:center;position:relative;text-align:left;padding:10px 0}.ct-active-plugin span{display:flex;align-items:center;justify-content:center;position:absolute;right:-2px;width:22px;height:22px;border-radius:100%;box-sizing:border-box;background:rgba(179,189,201,0.3)}.ct-active-plugin span:before,.ct-active-plugin span:after{position:absolute;content:'';width:2px;border-radius:2px;background:rgba(104,124,147,0.6)}.ct-active-plugin span:before{top:10px;left:10px;height:5px;transform:rotate(-45deg);transform-origin:bottom center}.ct-active-plugin span:after{height:9px;left:9px;transform:rotate(40deg);transform-origin:bottom center}.ct-demo-erase{margin-top:10px;padding-top:10px;padding-bottom:20px;text-align:left;font-weight:600;border-top:1px dashed rgba(179,189,201,0.5);border-bottom:1px dashed rgba(179,189,201,0.5)}.ct-demo-erase .ct-checkbox-container{align-items:flex-start;padding-bottom:0}.ct-demo-erase i{display:block;width:90%;font-size:13px;margin-top:8px;opacity:0.8;font-weight:400;font-style:normal}.ct-export{text-align:center;margin-top:50px}.ct-site-export{display:flex;flex-direction:column;padding:30px}.ct-site-export label{display:flex;justify-content:space-between;padding:10px 0}.ct-site-export input[type="checkbox"]{margin:0}.ct-site-export textarea,.ct-site-export input[type="text"]{width:60%}.ct-site-export textarea{min-height:80px}.ct-site-export button{margin-top:20px}.ct-demo-installer .close-button{opacity:0 !important}.ct-demo-install{position:relative}.ct-demo-install>*{position:absolute;top:0;left:0;right:0;bottom:0}.ct-demo-install svg path{transform-origin:50% 50%;transform-box:fill-box;-webkit-animation-name:spin;animation-name:spin;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite;-webkit-animation-timing-function:linear;animation-timing-function:linear}.ct-demo-install .g1{fill:#44ACDF;-webkit-animation-duration:5.5s;animation-duration:5.5s;animation-direction:reverse}.ct-demo-install .g2{fill:#3497D3;-webkit-animation-duration:4.5s;animation-duration:4.5s}.ct-demo-install .g3{fill:#0C7AB3;-webkit-animation-duration:4s;animation-duration:4s}.ct-installer-progress{width:100%;border-radius:5px;background:#f3f6f8;box-sizing:border-box}.ct-installer-progress div{width:var(--progress);height:4px;border-radius:inherit;background:#0e8ecc;transition:width 0.3s ease}.ct-progress-info{display:flex;justify-content:space-between;margin-top:30px;margin-bottom:15px;font-size:13px;opacity:0.8}@-webkit-keyframes spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}@keyframes spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}.ct-install-success{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%}.ct-install-success div{margin-top:10px}.ct-install-success a:first-child{margin-right:15px}.ct-modify-actions{margin-top:50px}.ct-modify-actions>*:not(:last-child){margin-right:15px}.ct-modify-actions .demo-remove{--ct-buttonHoverColor: #e04f4f}#ct-dashboard .ct-demo-notification{position:relative;padding:15px 20px 15px 55px;margin-bottom:40px;color:#0072aa;line-height:1.5;border:2px solid rgba(0,114,170,0.3);background:rgba(0,114,170,0.1);border-radius:5px}#ct-dashboard .ct-demo-notification:before{font-family:dashicons;content:"\f534";font-size:20px;position:absolute;top:13px;left:20px;color:rgba(0,114,170,0.8)}#ct-dashboard .ct-demo-notification b{font-weight:700}.ct-demos-list{display:flex;flex-direction:column}.ct-demos-list .ct-single-demo img{max-width:100px}.ct-demo-btn{font-size:15px;font-weight:600;letter-spacing:0.03em;color:#687c93;height:40px;border:none;cursor:pointer;padding:0 18px;border-radius:4px;background:#f3f6f8;transition:background 0.2s ease color 0.2s ease}.ct-demo-btn:focus{outline:none}.ct-demo-btn:hover{color:#fff;background:var(--ct-buttonHoverColor, #0073aa)}.ct-activation-action-modal{color:#687c93;text-align:center;padding:30px}.ct-activation-action-modal svg{width:65px;height:65px}.ct-activation-action-modal h2{color:#3e5667}.ct-activation-action-modal button{--buttonHeight: 42px;--buttonPadding: 20px;--buttonFontSize: 14px}.ct-beta-consent{margin-top:60px;border-radius:3px;text-align:center;color:#fff}@media (max-width: 782px){.ct-beta-consent{padding:10%}}@media (min-width: 783px){.ct-beta-consent{padding:50px}}.ct-beta-consent h2{display:flex;align-items:center;justify-content:center;color:#fff !important;margin-top:0;cursor:pointer}.ct-beta-consent h2 span{display:flex;font-size:15px;font-weight:500;cursor:pointer}.ct-beta-consent h2 .ct-option-switch{margin-left:15px}.ct-beta-consent h2 .ct-option-switch:not(.ct-active){border-color:#fff}.ct-beta-consent h2 .ct-option-switch:not(.ct-active)>span{background:#fff}.ct-beta-consent h2 .ct-option-switch:not(.ct-active):after{border-color:#fff}.ct-beta-consent+.ct-support-container{margin-top:50px !important}.ct-beta-consent{background-color:#32373c;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 304 304' width='304' height='304'%3E%3Cpath fill='%234f5660' fill-opacity='0.2' d='M44.1 224a5 5 0 1 1 0 2H0v-2h44.1zm160 48a5 5 0 1 1 0 2H82v-2h122.1zm57.8-46a5 5 0 1 1 0-2H304v2h-42.1zm0 16a5 5 0 1 1 0-2H304v2h-42.1zm6.2-114a5 5 0 1 1 0 2h-86.2a5 5 0 1 1 0-2h86.2zm-256-48a5 5 0 1 1 0 2H0v-2h12.1zm185.8 34a5 5 0 1 1 0-2h86.2a5 5 0 1 1 0 2h-86.2zM258 12.1a5 5 0 1 1-2 0V0h2v12.1zm-64 208a5 5 0 1 1-2 0v-54.2a5 5 0 1 1 2 0v54.2zm48-198.2V80h62v2h-64V21.9a5 5 0 1 1 2 0zm16 16V64h46v2h-48V37.9a5 5 0 1 1 2 0zm-128 96V208h16v12.1a5 5 0 1 1-2 0V210h-16v-76.1a5 5 0 1 1 2 0zm-5.9-21.9a5 5 0 1 1 0 2H114v48H85.9a5 5 0 1 1 0-2H112v-48h12.1zm-6.2 130a5 5 0 1 1 0-2H176v-74.1a5 5 0 1 1 2 0V242h-60.1zm-16-64a5 5 0 1 1 0-2H114v48h10.1a5 5 0 1 1 0 2H112v-48h-10.1zM66 284.1a5 5 0 1 1-2 0V274H50v30h-2v-32h18v12.1zM236.1 176a5 5 0 1 1 0 2H226v94h48v32h-2v-30h-48v-98h12.1zm25.8-30a5 5 0 1 1 0-2H274v44.1a5 5 0 1 1-2 0V146h-10.1zm-64 96a5 5 0 1 1 0-2H208v-80h16v-14h-42.1a5 5 0 1 1 0-2H226v18h-16v80h-12.1zm86.2-210a5 5 0 1 1 0 2H272V0h2v32h10.1zM98 101.9V146H53.9a5 5 0 1 1 0-2H96v-42.1a5 5 0 1 1 2 0zM53.9 34a5 5 0 1 1 0-2H80V0h2v34H53.9zm60.1 3.9V66H82v64H69.9a5 5 0 1 1 0-2H80V64h32V37.9a5 5 0 1 1 2 0zM101.9 82a5 5 0 1 1 0-2H128V37.9a5 5 0 1 1 2 0V82h-28.1zm16-64a5 5 0 1 1 0-2H146v44.1a5 5 0 1 1-2 0V18h-26.1zm102.2 270a5 5 0 1 1 0 2H98v14h-2v-16h124.1zM242 149.9V160h16v34h-16v62h48v48h-2v-46h-48v-66h16v-30h-16v-12.1a5 5 0 1 1 2 0zM53.9 18a5 5 0 1 1 0-2H64V2H48V0h18v18H53.9zm112 32a5 5 0 1 1 0-2H192V0h50v2h-48v48h-28.1zm-48-48a5 5 0 0 1-9.8-2h2.07a3 3 0 1 0 5.66 0H178v34h-18V21.9a5 5 0 1 1 2 0V32h14V2h-58.1zm0 96a5 5 0 1 1 0-2H137l32-32h39V21.9a5 5 0 1 1 2 0V66h-40.17l-32 32H117.9zm28.1 90.1a5 5 0 1 1-2 0v-76.51L175.59 80H224V21.9a5 5 0 1 1 2 0V82h-49.59L146 112.41v75.69zm16 32a5 5 0 1 1-2 0v-99.51L184.59 96H300.1a5 5 0 0 1 3.9-3.9v2.07a3 3 0 0 0 0 5.66v2.07a5 5 0 0 1-3.9-3.9H185.41L162 121.41v98.69zm-144-64a5 5 0 1 1-2 0v-3.51l48-48V48h32V0h2v50H66v55.41l-48 48v2.69zM50 53.9v43.51l-48 48V208h26.1a5 5 0 1 1 0 2H0v-65.41l48-48V53.9a5 5 0 1 1 2 0zm-16 16V89.41l-34 34v-2.82l32-32V69.9a5 5 0 1 1 2 0zM12.1 32a5 5 0 1 1 0 2H9.41L0 43.41V40.6L8.59 32h3.51zm265.8 18a5 5 0 1 1 0-2h18.69l7.41-7.41v2.82L297.41 50H277.9zm-16 160a5 5 0 1 1 0-2H288v-71.41l16-16v2.82l-14 14V210h-28.1zm-208 32a5 5 0 1 1 0-2H64v-22.59L40.59 194H21.9a5 5 0 1 1 0-2H41.41L66 216.59V242H53.9zm150.2 14a5 5 0 1 1 0 2H96v-56.6L56.6 162H37.9a5 5 0 1 1 0-2h19.5L98 200.6V256h106.1zm-150.2 2a5 5 0 1 1 0-2H80v-46.59L48.59 178H21.9a5 5 0 1 1 0-2H49.41L82 208.59V258H53.9zM34 39.8v1.61L9.41 66H0v-2h8.59L32 40.59V0h2v39.8zM2 300.1a5 5 0 0 1 3.9 3.9H3.83A3 3 0 0 0 0 302.17V256h18v48h-2v-46H2v42.1zM34 241v63h-2v-62H0v-2h34v1zM17 18H0v-2h16V0h2v18h-1zm273-2h14v2h-16V0h2v16zm-32 273v15h-2v-14h-14v14h-2v-16h18v1zM0 92.1A5.02 5.02 0 0 1 6 97a5 5 0 0 1-6 4.9v-2.07a3 3 0 1 0 0-5.66V92.1zM80 272h2v32h-2v-32zm37.9 32h-2.07a3 3 0 0 0-5.66 0h-2.07a5 5 0 0 1 9.8 0zM5.9 0A5.02 5.02 0 0 1 0 5.9V3.83A3 3 0 0 0 3.83 0H5.9zm294.2 0h2.07A3 3 0 0 0 304 3.83V5.9a5 5 0 0 1-3.9-5.9zm3.9 300.1v2.07a3 3 0 0 0-1.83 1.83h-2.07a5 5 0 0 1 3.9-3.9zM97 100a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0-16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-48 32a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm32 48a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-16 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm32-16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0-32a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16 32a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm32 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0-16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-16-64a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16 0a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16 96a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16-144a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0 32a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16-32a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16-16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-96 0a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16-32a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm96 0a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-16-64a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16-16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-32 0a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0-16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-16 0a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-16 0a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-16 0a3 3 0 1 0 0-6 3 3 0 0 0 0 6zM49 36a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-32 0a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm32 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zM33 68a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16-48a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0 240a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16 32a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-16-64a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-16-32a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm80-176a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16 0a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-16-16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm32 48a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16-16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0-32a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm112 176a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-16 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zM17 180a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0-32a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16 0a3 3 0 1 0 0-6 3 3 0 0 0 0 6zM17 84a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm32 64a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16-16a3 3 0 1 0 0-6 3 3 0 0 0 0 6z'%3E%3C/path%3E%3C/svg%3E");background-size:250px;background-position:0 5px}.ct-freemius-optin-message{position:relative;text-align:center;border-radius:3px;background:#f5f7f9}@media (max-width: 782px){.ct-freemius-optin-message{padding:50px 10% 10% 10%}}@media (min-width: 783px){.ct-freemius-optin-message{padding:60px 50px 50px 50px}}.ct-freemius-optin-message h2{margin-top:0}.ct-freemius-optin-message i{display:flex;align-items:center;justify-content:center;position:absolute;top:-25px;left:0;right:0;margin:0 auto;width:50px;height:50px;background:#fff;border-radius:100%;color:#0591c9;border:2px solid #DEECF3}.ct-freemius-optin-message i svg{-webkit-animation:ring-shake 5s ease-in-out infinite;animation:ring-shake 5s ease-in-out infinite;transform-origin:50% 0%}.ct-freemius-optin-message p{max-width:600px;margin:0 auto 20px auto !important}.ct-freemius-optin-message .ct-button-primary{--buttonHeight: 42px;--buttonPadding: 20px;--buttonFontSize: 14px}.ct-freemius-optin-message+.ct-first-steps-container{margin-top:55px;padding-top:50px;border-top:1px solid rgba(143,163,184,0.15)}@-webkit-keyframes ring-shake{0%{transform:rotate(-15deg)}2%{transform:rotate(15deg)}4%{transform:rotate(-18deg)}6%{transform:rotate(18deg)}8%{transform:rotate(-22deg)}10%{transform:rotate(22deg)}12%{transform:rotate(-18deg)}14%{transform:rotate(18deg)}16%{transform:rotate(-12deg)}18%{transform:rotate(12deg)}20%{transform:rotate(0deg)}100%{transform:rotate(0deg)}}@keyframes ring-shake{0%{transform:rotate(-15deg)}2%{transform:rotate(15deg)}4%{transform:rotate(-18deg)}6%{transform:rotate(18deg)}8%{transform:rotate(-22deg)}10%{transform:rotate(22deg)}12%{transform:rotate(-18deg)}14%{transform:rotate(18deg)}16%{transform:rotate(-12deg)}18%{transform:rotate(12deg)}20%{transform:rotate(0deg)}100%{transform:rotate(0deg)}}.blocksy-fs-optin-dashboard #wpwrap,.blocksy-fs-optin-dashboard #wpcontent,.blocksy-fs-optin-dashboard #wpbody{height:100%;min-height:100%}.blocksy-fs-optin-dashboard #wpbody-content{height:100%;padding-bottom:0}.blocksy-fs-optin-dashboard #wpbody-content #screen-meta,.blocksy-fs-optin-dashboard #wpbody-content .clear{display:none}.blocksy-fs-optin-dashboard .toplevel_page_ct-dashboard.current:after{border-right-color:#f2cf88 !important}.blocksy-fs-optin-wrapper{display:grid;grid-template-columns:repeat(2, 1fr);height:100%}.blocksy-fs-optin-wrapper>*{display:flex;flex-direction:column;justify-content:center;padding:9%;box-sizing:border-box}.blocksy-fs-optin-wrapper .ct-optin-svg{background:#F2CF88}.blocksy-fs-optin-wrapper .ct-optin-svg svg{max-width:750px;margin:0 auto}.blocksy-fs-optin-wrapper #fs_connect{width:100%;max-width:900px;margin:0;box-shadow:none}.blocksy-fs-optin-wrapper #fs_connect .fs-visual{display:none}.blocksy-fs-optin-wrapper #fs_connect .fs-content{padding:0;margin-bottom:30px}.blocksy-fs-optin-wrapper #fs_connect .fs-content>p span{display:block;font-size:25px;font-weight:700;color:#23282d;margin-bottom:20px}.blocksy-fs-optin-wrapper #fs_connect .fs-actions{display:flex;padding:0;margin-bottom:20px;background:transparent}.blocksy-fs-optin-wrapper #fs_connect .fs-actions .button{height:49px;line-height:49px;padding:0 20px !important}.blocksy-fs-optin-wrapper #fs_connect .fs-actions .button-primary{margin-right:15px}.blocksy-fs-optin-wrapper #fs_connect .fs-actions #skip_activation{order:2;float:none;background:transparent;border-color:transparent}.blocksy-fs-optin-wrapper #fs_connect .fs-actions #skip_activation:hover{border-color:#0071a1}.blocksy-fs-optin-wrapper #fs_connect .fs-permissions{padding:0 0 30px 0}.blocksy-fs-optin-wrapper #fs_connect .fs-permissions .fs-trigger{text-align:left;text-decoration:underline}.blocksy-fs-optin-wrapper #fs_connect .fs-permissions .fs-trigger:focus{outline:none;box-shadow:none}.blocksy-fs-optin-wrapper #fs_connect .fs-permissions ul{display:none}.blocksy-fs-optin-wrapper #fs_connect .fs-permissions ul li{margin-bottom:0}.blocksy-fs-optin-wrapper #fs_connect .fs-permissions ul li i.dashicons{font-size:18px;width:18px;height:18px;margin-right:8px;color:#23282d}.blocksy-fs-optin-wrapper #fs_connect .fs-permissions ul li div{margin-left:0}.blocksy-fs-optin-wrapper #fs_connect .fs-permissions ul li div span{text-transform:capitalize}.blocksy-fs-optin-wrapper #fs_connect .fs-permissions ul li div p{margin-top:8px;font-size:12px;opacity:0.7}.blocksy-fs-optin-wrapper #fs_connect .fs-permissions ul li:nth-child(1){order:1}.blocksy-fs-optin-wrapper #fs_connect .fs-permissions ul li:nth-child(2){order:4}.blocksy-fs-optin-wrapper #fs_connect .fs-permissions ul li:nth-child(3){order:3}.blocksy-fs-optin-wrapper #fs_connect .fs-permissions ul li:nth-child(4){order:2}.blocksy-fs-optin-wrapper #fs_connect .fs-permissions.fs-open ul{display:grid;grid-template-columns:repeat(2, minmax(auto, 280px));grid-column-gap:30px;grid-row-gap:30px;margin:20px 0 0 0;padding-top:30px;border-top:1px dashed #ddd}.blocksy-fs-optin-wrapper #fs_connect .fs-permissions .fs-switch{width:25px;height:16px;top:1px;right:20px;padding:0;box-shadow:none;box-sizing:border-box;transition:all 0.1s linear;border:2px solid #555d66}.blocksy-fs-optin-wrapper #fs_connect .fs-permissions .fs-switch .fs-toggle{box-sizing:border-box;border:none;top:1px;width:10px;height:10px;box-shadow:none;transition:all 0.1s linear}.blocksy-fs-optin-wrapper #fs_connect .fs-permissions .fs-switch.fs-off{background:transparent}.blocksy-fs-optin-wrapper #fs_connect .fs-permissions .fs-switch.fs-off .fs-toggle{left:1px;background:#555d66}.blocksy-fs-optin-wrapper #fs_connect .fs-permissions .fs-switch.fs-on{border-color:#0085ba}.blocksy-fs-optin-wrapper #fs_connect .fs-permissions .fs-switch.fs-on .fs-toggle{left:10px}.blocksy-fs-optin-wrapper #fs_connect .fs-terms{display:none}.blocksy-fs-optin-dashboard #fs_connect.require-license-key .fs-license-key-container{width:100%;margin:30px 0 0 0}.blocksy-fs-optin-dashboard #fs_connect.require-license-key .fs-license-key-container input[type=text]{min-height:40px;padding:0 12px}.blocksy-fs-optin-dashboard #fs_connect.require-license-key .fs-license-key-container .dashicons{top:13px;right:10px;font-size:16px;height:16px;width:16px}.blocksy-fs-optin-dashboard #fs_connect.require-license-key .fs-license-key-container .show-license-resend-modal{font-size:0.9em}.blocksy-fs-optin-dashboard #fs_connect.require-license-key .fs-actions form{width:100%}.blocksy-fs-optin-dashboard #fs_connect.require-license-key .fs-license-sync-disclaimer{text-align:left;font-size:0.9em}.blocksy-fs-optin-dashboard #fs_connect #fs_marketing_optin{padding:0;border:none;border-top:1px dashed #ddd;padding-top:30px;margin:30px 0 0 0;box-shadow:none}.blocksy-fs-optin-dashboard #fs_connect #fs_marketing_optin.error{background:transparent}.blocksy-fs-optin-dashboard #fs_connect #fs_marketing_optin .fs-input-label{margin-left:22px}.blocksy-fs-optin-dashboard #fs_connect .fs-freemium-licensing{border-top:1px dashed #ddd;padding:30px 0;background:transparent}.blocksy-fs-optin-dashboard #fs_connect .fs-freemium-licensing p{text-align:left;color:#444}.blocksy-fs-optin-dashboard #fs_connect .fs-freemium-licensing p a{color:#0073aa}
1
  /**
2
+ * - v1.7.45
3
  *
4
  * Copyright (c) 2020
5
  * Licensed GPLv2+
6
  */
7
 
8
+ .ct-mailchimp-modal{--modal-min-height: 300px}.mailchimp-credentials{display:grid;grid-template-columns:1fr 1fr 1fr;grid-column-gap:10px;margin:5px 0 0 0;padding:25px 0 0 0;border-top:1px dashed #eee}.mailchimp-credentials section{display:flex;flex-direction:column;min-width:0}.mailchimp-credentials label{display:block;font-size:12px;margin-bottom:3px;opacity:0.7}.mailchimp-credentials input{--height: 35px}.ct-extensions-sourse{display:flex;justify-content:center;margin:0 0 40px 0}.ct-extensions-sourse li{display:flex;align-items:center;height:38px;font-weight:500;padding:0 30px;margin:0;cursor:pointer;border:1px solid rgba(226,230,235,0.7)}.ct-extensions-sourse li.active{color:#fff;background:#0085ba;border-color:#0085ba}.ct-extensions-sourse li:hover:not(.active){color:#0085ba}.ct-extensions-sourse li:first-child{border-right:0;border-radius:4px 0 0 4px}.ct-extensions-sourse li:last-child{border-left:0;border-radius:0 4px 4px 0}.ct-extensions-list{display:grid;grid-template-columns:repeat(auto-fill, minmax(300px, 1fr));grid-column-gap:30px;grid-row-gap:30px;margin:0}.ct-extensions-list li{display:flex;flex-direction:column;margin:0;border-radius:3px;border:1px solid rgba(226,230,235,0.7);box-shadow:0 2px 5px rgba(143,163,184,0.12)}.ct-extension-title{display:flex;align-items:center;justify-content:space-between;margin:30px 0 15px 0;padding:0 25px}.ct-extension-title svg{opacity:0.7}.ct-extension-description{font-size:14px;line-height:1.7;margin-bottom:30px;padding:0 25px}.ct-extension-actions{display:flex;justify-content:space-between;margin-top:auto;padding:20px 13px 20px 25px;border-top:1px solid rgba(226,230,235,0.5);background:rgba(235,237,241,0.2)}.ct-extension-actions [class*="ct-button"]{--buttonHeight: 32px;--buttonPadding: 12px;min-width:92px}.ct-config-btn{margin-right:auto;margin-left:10px}.ct-config-btn:before{font-family:dashicons;content:"\f111";font-size:14px;margin-right:5px;opacity:0.9}.ct-minimal-button{display:flex;align-items:center;justify-content:center;width:32px;height:32px;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;padding:0;color:inherit;cursor:pointer;color:#c9cfd6;background:transparent;transition:color 0.2s ease}.ct-minimal-button:hover{color:#9ca9b9}.ct-minimal-button:focus{outline:none}.ct-minimal-button svg{fill:currentColor}.ct-option-info{display:flex;align-items:center;justify-content:center;font-style:normal;line-height:normal;margin-left:auto}.ct-option-info:before{font-family:dashicons;content:"\f348";font-size:16px;line-height:16px}.ct-demos-list-container ul{display:grid;grid-column-gap:30px;grid-row-gap:30px;margin:0;padding:0;list-style:none}@media (min-width: 783px){.ct-demos-list-container ul{grid-template-columns:repeat(2, 1fr)}}.ct-demos-list-container ul li{margin:0;box-sizing:border-box;box-shadow:0 2px 5px rgba(143,163,184,0.12)}.ct-demos-list-container ul li figure{position:relative;margin:0;overflow:hidden;border-radius:3px 3px 0 0}.ct-demos-list-container ul li figure:before{content:'';display:block;width:100%;padding-bottom:75%}.ct-demos-list-container ul li figure img{position:absolute;top:0;left:0;width:100%;height:100%}.ct-demos-list-container ul li figure section{position:absolute;display:flex;flex-direction:column;align-items:center;justify-content:center;top:0;left:0;right:0;bottom:0;opacity:0;background:rgba(36,41,45,0.9);transition:opacity 0.2s ease}.ct-demos-list-container ul li figure section h3{font-size:15px;color:#fff !important;margin:0 0 25px 0}.ct-demos-list-container ul li figure section div{display:flex}.ct-demos-list-container ul li figure section span{padding:8px 12px;display:block;font-size:17px;font-weight:500;color:#fff;border-radius:3px;border:2px solid rgba(255,255,255,0.5);background:rgba(36,41,45,0.4)}.ct-demos-list-container ul li figure section span:not(:last-child){margin-right:15px}.ct-demos-list-container ul li:hover figure>section{opacity:1}.ct-demos-list-container ul li.ct-is-pro figure{position:relative}.ct-demos-list-container ul li.ct-is-pro figure a{position:absolute;z-index:1;content:'PRO';top:0;right:0;font-size:13px;font-weight:700;letter-spacing:.03em;color:#a1680d;text-decoration:none;padding:5px 15px;margin:25px;background:#ffc568;border-radius:3px;box-shadow:0 5px 8px 0 rgba(234,157,33,0.3)}.ct-demo-actions{display:flex;align-items:center;padding:20px 25px;border-radius:0 0 3px 3px;border:1px solid rgba(226,230,235,0.7);background:rgba(235,237,241,0.2)}@media (max-width: 549px){.ct-demo-actions{flex-direction:column}}@media (min-width: 550px){.ct-demo-actions{justify-content:space-between}}.ct-demo-actions h4{margin:0}@media (max-width: 549px){.ct-demo-actions h4{margin-bottom:20px}}.ct-demo-actions .ct-button{margin-right:15px}.ct-demo-actions button[disabled]{opacity:0.3;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}.ct-demo-modal{--modal-width: 500px;height:100%;transition:max-height 0.2s ease}.ct-demo-modal:not(.ct-demo-installer){--modal-max-height: 620px}.ct-demo-modal.ct-demo-installer{--modal-max-height: 380px}.ct-demo-step-container{height:100%;display:flex;flex-direction:column;color:#687c93;text-align:center}.ct-demo-step-container>*:first-child{flex:1;position:relative}.ct-demo-step-container>*:first-child>*{position:absolute;top:0;left:0;right:0;bottom:0}.ct-demo-step-container .ct-demo-icon{display:flex;align-items:center;justify-content:center;width:85px;height:85px;margin:10px auto 20px auto;background:#f3f6f8;border-radius:100%}.ct-demo-step-container h2{text-align:center;font-size:17px;font-weight:600;color:#3e5667;margin-top:0}.ct-demo-step-controls{position:relative;width:100%;height:40px}.ct-demo-step-controls button{position:absolute;z-index:2;top:0}.ct-demo-step-controls button.demo-back-btn{left:0}.ct-demo-step-controls button.demo-main-btn{right:0}.ct-steps-pills{display:flex;align-items:center;justify-content:center;position:absolute;z-index:1;top:0;left:0;right:0;bottom:0;width:200px;margin:0;padding:0;list-style:none;margin:0 auto}.ct-steps-pills li{display:flex;align-items:center;justify-content:center;width:30px;height:30px;margin:0;font-size:0}.ct-steps-pills li:before{content:'';width:12px;height:12px;border-radius:100%;box-shadow:inset 0 0 0 2px rgba(104,124,147,0.8);transition:box-shadow 0.2s ease, transform 0.2s ease}.ct-steps-pills li:not(.active):before{transform:scale3d(0.5, 0.5, 1);box-shadow:inset 0 0 0 10px rgba(104,124,147,0.8)}.ct-demo-child .ct-checkbox-container{max-width:250px;margin:25px auto 0 auto;padding-left:15px;padding-right:15px;border-radius:4px;border:1px solid rgba(179,189,201,0.3)}.ct-demo-child a{display:block;color:#687c93;font-weight:500;text-decoration:none;margin-top:25px}.ct-demo-child a:hover{color:#0073aa}.ct-demo-builder .ct-demo-icon svg{margin-left:10px}.ct-demo-builder ul{display:grid;margin:0;padding:0;list-style:none;margin:40px auto 0 auto}.ct-demo-builder ul[data-count="2"]{max-width:70%;grid-template-columns:repeat(2, 1fr);grid-column-gap:30px}.ct-demo-builder ul[data-count="3"]{grid-template-columns:repeat(3, 1fr);grid-column-gap:20px}.ct-demo-builder ul li{margin-bottom:0;cursor:pointer}.ct-demo-builder ul li figure{position:relative;display:flex;align-items:center;justify-content:center;min-height:100px;border:2px solid #e9ecee;border-radius:5px;margin:0;font-weight:500;transition:border-color 0.12s cubic-bezier(0.455, 0.03, 0.515, 0.955),box-shadow 0.12s cubic-bezier(0.455, 0.03, 0.515, 0.955)}.ct-demo-builder ul li figure>svg{width:47%}.ct-demo-builder ul li .builder-name{font-weight:500;color:#3e5667;margin-top:15px}.ct-demo-builder ul li:hover figure{border-color:var(--accentColor)}.ct-demo-builder ul li.active figure{border-color:var(--accentColor);box-shadow:0 0 0 1px var(--accentColor)}.ct-demo-builder ul li .ct-checkbox{--checkMarkColor: #fff;--background: rgba(179, 189, 201, 0.8);--backgroundActive: #0e8ecc;position:absolute;top:0px;right:0px}.ct-demo-builder ul li .ct-checkbox:before{width:22px !important;height:22px !important;border-radius:0px 3px 0px 5px}.ct-demo-builder ul li .ct-checkbox:not(.active):before{opacity:0}.ct-demo-plugins label{margin:0 auto}.ct-active-plugin{display:flex;align-items:center;position:relative;text-align:left;padding:10px 0}.ct-active-plugin span{display:flex;align-items:center;justify-content:center;position:absolute;right:-2px;width:22px;height:22px;border-radius:100%;box-sizing:border-box;background:rgba(179,189,201,0.3)}.ct-active-plugin span:before,.ct-active-plugin span:after{position:absolute;content:'';width:2px;border-radius:2px;background:rgba(104,124,147,0.6)}.ct-active-plugin span:before{top:10px;left:10px;height:5px;transform:rotate(-45deg);transform-origin:bottom center}.ct-active-plugin span:after{height:9px;left:9px;transform:rotate(40deg);transform-origin:bottom center}.ct-demo-erase{margin-top:10px;padding-top:10px;padding-bottom:20px;text-align:left;font-weight:600;border-top:1px dashed rgba(179,189,201,0.5);border-bottom:1px dashed rgba(179,189,201,0.5)}.ct-demo-erase .ct-checkbox-container{align-items:flex-start;padding-bottom:0}.ct-demo-erase i{display:block;width:90%;font-size:13px;margin-top:8px;opacity:0.8;font-weight:400;font-style:normal}.ct-export{text-align:center;margin-top:50px}.ct-site-export{display:flex;flex-direction:column;padding:30px}.ct-site-export label{display:flex;justify-content:space-between;padding:10px 0}.ct-site-export input[type="checkbox"]{margin:0}.ct-site-export textarea,.ct-site-export input[type="text"]{width:60%}.ct-site-export textarea{min-height:80px}.ct-site-export button{margin-top:20px}.ct-demo-installer .close-button{opacity:0 !important}.ct-demo-install{position:relative}.ct-demo-install>*{position:absolute;top:0;left:0;right:0;bottom:0}.ct-demo-install svg path{transform-origin:50% 50%;transform-box:fill-box;-webkit-animation-name:spin;animation-name:spin;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite;-webkit-animation-timing-function:linear;animation-timing-function:linear}.ct-demo-install .g1{fill:#44ACDF;-webkit-animation-duration:5.5s;animation-duration:5.5s;animation-direction:reverse}.ct-demo-install .g2{fill:#3497D3;-webkit-animation-duration:4.5s;animation-duration:4.5s}.ct-demo-install .g3{fill:#0C7AB3;-webkit-animation-duration:4s;animation-duration:4s}.ct-installer-progress{width:100%;border-radius:5px;background:#f3f6f8;box-sizing:border-box}.ct-installer-progress div{width:var(--progress);height:4px;border-radius:inherit;background:#0e8ecc;transition:width 0.3s ease}.ct-progress-info{display:flex;justify-content:space-between;margin-top:30px;margin-bottom:15px;font-size:13px;opacity:0.8}@-webkit-keyframes spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}@keyframes spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}.ct-install-success{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%}.ct-install-success div{margin-top:10px}.ct-install-success a:first-child{margin-right:15px}.ct-modify-actions{margin-top:50px}.ct-modify-actions>*:not(:last-child){margin-right:15px}.ct-modify-actions .demo-remove{--ct-buttonHoverColor: #e04f4f}#ct-dashboard .ct-demo-notification{position:relative;padding:15px 20px 15px 55px;margin-bottom:40px;color:#0072aa;line-height:1.5;border:2px solid rgba(0,114,170,0.3);background:rgba(0,114,170,0.1);border-radius:5px}#ct-dashboard .ct-demo-notification:before{font-family:dashicons;content:"\f534";font-size:20px;position:absolute;top:13px;left:20px;color:rgba(0,114,170,0.8)}#ct-dashboard .ct-demo-notification b{font-weight:700}.ct-demos-list{display:flex;flex-direction:column}.ct-demos-list .ct-single-demo img{max-width:100px}.ct-demo-btn{font-size:15px;font-weight:600;letter-spacing:0.03em;color:#687c93;height:40px;border:none;cursor:pointer;padding:0 18px;border-radius:4px;background:#f3f6f8;transition:background 0.2s ease color 0.2s ease}.ct-demo-btn:focus{outline:none}.ct-demo-btn:hover{color:#fff;background:var(--ct-buttonHoverColor, #0073aa)}.ct-activation-action-modal{color:#687c93;text-align:center;padding:30px}.ct-activation-action-modal svg{width:65px;height:65px}.ct-activation-action-modal h2{color:#3e5667}.ct-activation-action-modal button{--buttonHeight: 42px;--buttonPadding: 20px;--buttonFontSize: 14px}.ct-beta-consent{margin-top:60px;border-radius:3px;text-align:center;color:#fff}@media (max-width: 782px){.ct-beta-consent{padding:10%}}@media (min-width: 783px){.ct-beta-consent{padding:50px}}.ct-beta-consent h2{display:flex;align-items:center;justify-content:center;color:#fff !important;margin-top:0;cursor:pointer}.ct-beta-consent h2 span{display:flex;font-size:15px;font-weight:500;cursor:pointer}.ct-beta-consent h2 .ct-option-switch{margin-left:15px}.ct-beta-consent h2 .ct-option-switch:not(.ct-active){border-color:#fff}.ct-beta-consent h2 .ct-option-switch:not(.ct-active)>span{background:#fff}.ct-beta-consent h2 .ct-option-switch:not(.ct-active):after{border-color:#fff}.ct-beta-consent+.ct-support-container{margin-top:50px !important}.ct-beta-consent{background-color:#32373c;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 304 304' width='304' height='304'%3E%3Cpath fill='%234f5660' fill-opacity='0.2' d='M44.1 224a5 5 0 1 1 0 2H0v-2h44.1zm160 48a5 5 0 1 1 0 2H82v-2h122.1zm57.8-46a5 5 0 1 1 0-2H304v2h-42.1zm0 16a5 5 0 1 1 0-2H304v2h-42.1zm6.2-114a5 5 0 1 1 0 2h-86.2a5 5 0 1 1 0-2h86.2zm-256-48a5 5 0 1 1 0 2H0v-2h12.1zm185.8 34a5 5 0 1 1 0-2h86.2a5 5 0 1 1 0 2h-86.2zM258 12.1a5 5 0 1 1-2 0V0h2v12.1zm-64 208a5 5 0 1 1-2 0v-54.2a5 5 0 1 1 2 0v54.2zm48-198.2V80h62v2h-64V21.9a5 5 0 1 1 2 0zm16 16V64h46v2h-48V37.9a5 5 0 1 1 2 0zm-128 96V208h16v12.1a5 5 0 1 1-2 0V210h-16v-76.1a5 5 0 1 1 2 0zm-5.9-21.9a5 5 0 1 1 0 2H114v48H85.9a5 5 0 1 1 0-2H112v-48h12.1zm-6.2 130a5 5 0 1 1 0-2H176v-74.1a5 5 0 1 1 2 0V242h-60.1zm-16-64a5 5 0 1 1 0-2H114v48h10.1a5 5 0 1 1 0 2H112v-48h-10.1zM66 284.1a5 5 0 1 1-2 0V274H50v30h-2v-32h18v12.1zM236.1 176a5 5 0 1 1 0 2H226v94h48v32h-2v-30h-48v-98h12.1zm25.8-30a5 5 0 1 1 0-2H274v44.1a5 5 0 1 1-2 0V146h-10.1zm-64 96a5 5 0 1 1 0-2H208v-80h16v-14h-42.1a5 5 0 1 1 0-2H226v18h-16v80h-12.1zm86.2-210a5 5 0 1 1 0 2H272V0h2v32h10.1zM98 101.9V146H53.9a5 5 0 1 1 0-2H96v-42.1a5 5 0 1 1 2 0zM53.9 34a5 5 0 1 1 0-2H80V0h2v34H53.9zm60.1 3.9V66H82v64H69.9a5 5 0 1 1 0-2H80V64h32V37.9a5 5 0 1 1 2 0zM101.9 82a5 5 0 1 1 0-2H128V37.9a5 5 0 1 1 2 0V82h-28.1zm16-64a5 5 0 1 1 0-2H146v44.1a5 5 0 1 1-2 0V18h-26.1zm102.2 270a5 5 0 1 1 0 2H98v14h-2v-16h124.1zM242 149.9V160h16v34h-16v62h48v48h-2v-46h-48v-66h16v-30h-16v-12.1a5 5 0 1 1 2 0zM53.9 18a5 5 0 1 1 0-2H64V2H48V0h18v18H53.9zm112 32a5 5 0 1 1 0-2H192V0h50v2h-48v48h-28.1zm-48-48a5 5 0 0 1-9.8-2h2.07a3 3 0 1 0 5.66 0H178v34h-18V21.9a5 5 0 1 1 2 0V32h14V2h-58.1zm0 96a5 5 0 1 1 0-2H137l32-32h39V21.9a5 5 0 1 1 2 0V66h-40.17l-32 32H117.9zm28.1 90.1a5 5 0 1 1-2 0v-76.51L175.59 80H224V21.9a5 5 0 1 1 2 0V82h-49.59L146 112.41v75.69zm16 32a5 5 0 1 1-2 0v-99.51L184.59 96H300.1a5 5 0 0 1 3.9-3.9v2.07a3 3 0 0 0 0 5.66v2.07a5 5 0 0 1-3.9-3.9H185.41L162 121.41v98.69zm-144-64a5 5 0 1 1-2 0v-3.51l48-48V48h32V0h2v50H66v55.41l-48 48v2.69zM50 53.9v43.51l-48 48V208h26.1a5 5 0 1 1 0 2H0v-65.41l48-48V53.9a5 5 0 1 1 2 0zm-16 16V89.41l-34 34v-2.82l32-32V69.9a5 5 0 1 1 2 0zM12.1 32a5 5 0 1 1 0 2H9.41L0 43.41V40.6L8.59 32h3.51zm265.8 18a5 5 0 1 1 0-2h18.69l7.41-7.41v2.82L297.41 50H277.9zm-16 160a5 5 0 1 1 0-2H288v-71.41l16-16v2.82l-14 14V210h-28.1zm-208 32a5 5 0 1 1 0-2H64v-22.59L40.59 194H21.9a5 5 0 1 1 0-2H41.41L66 216.59V242H53.9zm150.2 14a5 5 0 1 1 0 2H96v-56.6L56.6 162H37.9a5 5 0 1 1 0-2h19.5L98 200.6V256h106.1zm-150.2 2a5 5 0 1 1 0-2H80v-46.59L48.59 178H21.9a5 5 0 1 1 0-2H49.41L82 208.59V258H53.9zM34 39.8v1.61L9.41 66H0v-2h8.59L32 40.59V0h2v39.8zM2 300.1a5 5 0 0 1 3.9 3.9H3.83A3 3 0 0 0 0 302.17V256h18v48h-2v-46H2v42.1zM34 241v63h-2v-62H0v-2h34v1zM17 18H0v-2h16V0h2v18h-1zm273-2h14v2h-16V0h2v16zm-32 273v15h-2v-14h-14v14h-2v-16h18v1zM0 92.1A5.02 5.02 0 0 1 6 97a5 5 0 0 1-6 4.9v-2.07a3 3 0 1 0 0-5.66V92.1zM80 272h2v32h-2v-32zm37.9 32h-2.07a3 3 0 0 0-5.66 0h-2.07a5 5 0 0 1 9.8 0zM5.9 0A5.02 5.02 0 0 1 0 5.9V3.83A3 3 0 0 0 3.83 0H5.9zm294.2 0h2.07A3 3 0 0 0 304 3.83V5.9a5 5 0 0 1-3.9-5.9zm3.9 300.1v2.07a3 3 0 0 0-1.83 1.83h-2.07a5 5 0 0 1 3.9-3.9zM97 100a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0-16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-48 32a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm32 48a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-16 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm32-16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0-32a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16 32a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm32 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0-16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-16-64a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16 0a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16 96a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16-144a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0 32a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16-32a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16-16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-96 0a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16-32a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm96 0a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-16-64a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16-16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-32 0a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0-16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-16 0a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-16 0a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-16 0a3 3 0 1 0 0-6 3 3 0 0 0 0 6zM49 36a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-32 0a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm32 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zM33 68a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16-48a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0 240a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16 32a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-16-64a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-16-32a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm80-176a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16 0a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-16-16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm32 48a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16-16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0-32a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm112 176a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-16 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zM17 180a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0-32a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16 0a3 3 0 1 0 0-6 3 3 0 0 0 0 6zM17 84a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm32 64a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16-16a3 3 0 1 0 0-6 3 3 0 0 0 0 6z'%3E%3C/path%3E%3C/svg%3E");background-size:250px;background-position:0 5px}.ct-freemius-optin-message{position:relative;text-align:center;border-radius:3px;background:#f5f7f9}@media (max-width: 782px){.ct-freemius-optin-message{padding:50px 10% 10% 10%}}@media (min-width: 783px){.ct-freemius-optin-message{padding:60px 50px 50px 50px}}.ct-freemius-optin-message h2{margin-top:0}.ct-freemius-optin-message i{display:flex;align-items:center;justify-content:center;position:absolute;top:-25px;left:0;right:0;margin:0 auto;width:50px;height:50px;background:#fff;border-radius:100%;color:#0591c9;border:2px solid #DEECF3}.ct-freemius-optin-message i svg{-webkit-animation:ring-shake 5s ease-in-out infinite;animation:ring-shake 5s ease-in-out infinite;transform-origin:50% 0%}.ct-freemius-optin-message p{max-width:600px;margin:0 auto 20px auto !important}.ct-freemius-optin-message .ct-button-primary{--buttonHeight: 42px;--buttonPadding: 20px;--buttonFontSize: 14px}.ct-freemius-optin-message+.ct-first-steps-container{margin-top:55px;padding-top:50px;border-top:1px solid rgba(143,163,184,0.15)}@-webkit-keyframes ring-shake{0%{transform:rotate(-15deg)}2%{transform:rotate(15deg)}4%{transform:rotate(-18deg)}6%{transform:rotate(18deg)}8%{transform:rotate(-22deg)}10%{transform:rotate(22deg)}12%{transform:rotate(-18deg)}14%{transform:rotate(18deg)}16%{transform:rotate(-12deg)}18%{transform:rotate(12deg)}20%{transform:rotate(0deg)}100%{transform:rotate(0deg)}}@keyframes ring-shake{0%{transform:rotate(-15deg)}2%{transform:rotate(15deg)}4%{transform:rotate(-18deg)}6%{transform:rotate(18deg)}8%{transform:rotate(-22deg)}10%{transform:rotate(22deg)}12%{transform:rotate(-18deg)}14%{transform:rotate(18deg)}16%{transform:rotate(-12deg)}18%{transform:rotate(12deg)}20%{transform:rotate(0deg)}100%{transform:rotate(0deg)}}.blocksy-fs-optin-dashboard #wpwrap,.blocksy-fs-optin-dashboard #wpcontent,.blocksy-fs-optin-dashboard #wpbody{height:100%;min-height:100%}.blocksy-fs-optin-dashboard #wpbody-content{height:100%;padding-bottom:0}.blocksy-fs-optin-dashboard #wpbody-content #screen-meta,.blocksy-fs-optin-dashboard #wpbody-content .clear{display:none}.blocksy-fs-optin-dashboard .toplevel_page_ct-dashboard.current:after{border-right-color:#f2cf88 !important}.blocksy-fs-optin-wrapper{display:grid;grid-template-columns:repeat(2, 1fr);height:100%}.blocksy-fs-optin-wrapper>*{display:flex;flex-direction:column;justify-content:center;padding:9%;box-sizing:border-box}.blocksy-fs-optin-wrapper .ct-optin-svg{background:#F2CF88}.blocksy-fs-optin-wrapper .ct-optin-svg svg{max-width:750px;margin:0 auto}.blocksy-fs-optin-wrapper #fs_connect{width:100%;max-width:900px;margin:0;box-shadow:none}.blocksy-fs-optin-wrapper #fs_connect .fs-visual{display:none}.blocksy-fs-optin-wrapper #fs_connect .fs-content{padding:0;margin-bottom:30px}.blocksy-fs-optin-wrapper #fs_connect .fs-content>p span{display:block;font-size:25px;font-weight:700;color:#23282d;margin-bottom:20px}.blocksy-fs-optin-wrapper #fs_connect .fs-actions{display:flex;padding:0;margin-bottom:20px;background:transparent}.blocksy-fs-optin-wrapper #fs_connect .fs-actions .button{height:49px;line-height:49px;padding:0 20px !important}.blocksy-fs-optin-wrapper #fs_connect .fs-actions .button-primary{margin-right:15px}.blocksy-fs-optin-wrapper #fs_connect .fs-actions #skip_activation{order:2;float:none;background:transparent;border-color:transparent}.blocksy-fs-optin-wrapper #fs_connect .fs-actions #skip_activation:hover{border-color:#0071a1}.blocksy-fs-optin-wrapper #fs_connect .fs-permissions{padding:0 0 30px 0}.blocksy-fs-optin-wrapper #fs_connect .fs-permissions .fs-trigger{text-align:left;text-decoration:underline}.blocksy-fs-optin-wrapper #fs_connect .fs-permissions .fs-trigger:focus{outline:none;box-shadow:none}.blocksy-fs-optin-wrapper #fs_connect .fs-permissions ul{display:none}.blocksy-fs-optin-wrapper #fs_connect .fs-permissions ul li{margin-bottom:0}.blocksy-fs-optin-wrapper #fs_connect .fs-permissions ul li i.dashicons{font-size:18px;width:18px;height:18px;margin-right:8px;color:#23282d}.blocksy-fs-optin-wrapper #fs_connect .fs-permissions ul li div{margin-left:0}.blocksy-fs-optin-wrapper #fs_connect .fs-permissions ul li div span{text-transform:capitalize}.blocksy-fs-optin-wrapper #fs_connect .fs-permissions ul li div p{margin-top:8px;font-size:12px;opacity:0.7}.blocksy-fs-optin-wrapper #fs_connect .fs-permissions ul li:nth-child(1){order:1}.blocksy-fs-optin-wrapper #fs_connect .fs-permissions ul li:nth-child(2){order:4}.blocksy-fs-optin-wrapper #fs_connect .fs-permissions ul li:nth-child(3){order:3}.blocksy-fs-optin-wrapper #fs_connect .fs-permissions ul li:nth-child(4){order:2}.blocksy-fs-optin-wrapper #fs_connect .fs-permissions.fs-open ul{display:grid;grid-template-columns:repeat(2, minmax(auto, 280px));grid-column-gap:30px;grid-row-gap:30px;margin:20px 0 0 0;padding-top:30px;border-top:1px dashed #ddd}.blocksy-fs-optin-wrapper #fs_connect .fs-permissions .fs-switch{width:25px;height:16px;top:1px;right:20px;padding:0;box-shadow:none;box-sizing:border-box;transition:all 0.1s linear;border:2px solid #555d66}.blocksy-fs-optin-wrapper #fs_connect .fs-permissions .fs-switch .fs-toggle{box-sizing:border-box;border:none;top:1px;width:10px;height:10px;box-shadow:none;transition:all 0.1s linear}.blocksy-fs-optin-wrapper #fs_connect .fs-permissions .fs-switch.fs-off{background:transparent}.blocksy-fs-optin-wrapper #fs_connect .fs-permissions .fs-switch.fs-off .fs-toggle{left:1px;background:#555d66}.blocksy-fs-optin-wrapper #fs_connect .fs-permissions .fs-switch.fs-on{border-color:#0085ba}.blocksy-fs-optin-wrapper #fs_connect .fs-permissions .fs-switch.fs-on .fs-toggle{left:10px}.blocksy-fs-optin-wrapper #fs_connect .fs-terms{display:none}.blocksy-fs-optin-dashboard #fs_connect.require-license-key .fs-license-key-container{width:100%;margin:30px 0 0 0}.blocksy-fs-optin-dashboard #fs_connect.require-license-key .fs-license-key-container input[type=text]{min-height:40px;padding:0 12px}.blocksy-fs-optin-dashboard #fs_connect.require-license-key .fs-license-key-container .dashicons{top:13px;right:10px;font-size:16px;height:16px;width:16px}.blocksy-fs-optin-dashboard #fs_connect.require-license-key .fs-license-key-container .show-license-resend-modal{font-size:0.9em}.blocksy-fs-optin-dashboard #fs_connect.require-license-key .fs-actions form{width:100%}.blocksy-fs-optin-dashboard #fs_connect.require-license-key .fs-license-sync-disclaimer{text-align:left;font-size:0.9em}.blocksy-fs-optin-dashboard #fs_connect #fs_marketing_optin{padding:0;border:none;border-top:1px dashed #ddd;padding-top:30px;margin:30px 0 0 0;box-shadow:none}.blocksy-fs-optin-dashboard #fs_connect #fs_marketing_optin.error{background:transparent}.blocksy-fs-optin-dashboard #fs_connect #fs_marketing_optin .fs-input-label{margin-left:22px}.blocksy-fs-optin-dashboard #fs_connect .fs-freemium-licensing{border-top:1px dashed #ddd;padding:30px 0;background:transparent}.blocksy-fs-optin-dashboard #fs_connect .fs-freemium-licensing p{text-align:left;color:#444}.blocksy-fs-optin-dashboard #fs_connect .fs-freemium-licensing p a{color:#0073aa}
static/bundle/dashboard.js CHANGED
@@ -3,4 +3,4 @@
3
  Copyright (c) 2017 Jed Watson.
4
  Licensed under the MIT License (MIT), see
5
  http://jedwatson.github.io/classnames
6
- */!function(){"use strict";var n={}.hasOwnProperty;function c(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var o=typeof r;if("string"===o||"number"===o)e.push(r);else if(Array.isArray(r)&&r.length){var a=c.apply(null,r);a&&e.push(a)}else if("object"===o)for(var i in r)n.call(r,i)&&r[i]&&e.push(i)}}return e.join(" ")}e.exports?(c.default=c,e.exports=c):void 0===(r=function(){return c}.apply(t,[]))||(e.exports=r)}()},function(e,t){e.exports=window.blocksyOptions},function(e,t){e.exports=ctEvents},function(e,t){e.exports=window.React},function(e,t,n){var r,c,o=n(11),a=n(12),i=(c=[],{activateTrap:function(e){if(c.length>0){var t=c[c.length-1];t!==e&&t.pause()}var n=c.indexOf(e);-1===n||c.splice(n,1),c.push(e)},deactivateTrap:function(e){var t=c.indexOf(e);-1!==t&&c.splice(t,1),c.length>0&&c[c.length-1].unpause()}});function l(e){return setTimeout(e,0)}e.exports=function(e,t){var n=document,c="string"==typeof e?n.querySelector(e):e,u=a({returnFocusOnDeactivate:!0,escapeDeactivates:!0},t),s={firstTabbableNode:null,lastTabbableNode:null,nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1},f={activate:function(e){if(s.active)return;g(),s.active=!0,s.paused=!1,s.nodeFocusedBeforeActivation=n.activeElement;var t=e&&e.onActivate?e.onActivate:u.onActivate;t&&t();return m(),f},deactivate:d,pause:function(){if(s.paused||!s.active)return;s.paused=!0,b()},unpause:function(){if(!s.paused||!s.active)return;s.paused=!1,g(),m()}};return f;function d(e){if(s.active){clearTimeout(r),b(),s.active=!1,s.paused=!1,i.deactivateTrap(f);var t=e&&void 0!==e.onDeactivate?e.onDeactivate:u.onDeactivate;return t&&t(),(e&&void 0!==e.returnFocus?e.returnFocus:u.returnFocusOnDeactivate)&&l((function(){var e;_((e=s.nodeFocusedBeforeActivation,p("setReturnFocus")||e))})),f}}function m(){if(s.active)return i.activateTrap(f),r=l((function(){_(h())})),n.addEventListener("focusin",y,!0),n.addEventListener("mousedown",v,{capture:!0,passive:!1}),n.addEventListener("touchstart",v,{capture:!0,passive:!1}),n.addEventListener("click",j,{capture:!0,passive:!1}),n.addEventListener("keydown",O,{capture:!0,passive:!1}),f}function b(){if(s.active)return n.removeEventListener("focusin",y,!0),n.removeEventListener("mousedown",v,!0),n.removeEventListener("touchstart",v,!0),n.removeEventListener("click",j,!0),n.removeEventListener("keydown",O,!0),f}function p(e){var t=u[e],r=t;if(!t)return null;if("string"==typeof t&&!(r=n.querySelector(t)))throw new Error("`"+e+"` refers to no known node");if("function"==typeof t&&!(r=t()))throw new Error("`"+e+"` did not return a node");return r}function h(){var e;if(!(e=null!==p("initialFocus")?p("initialFocus"):c.contains(n.activeElement)?n.activeElement:s.firstTabbableNode||p("fallbackFocus")))throw new Error("Your focus-trap needs to have at least one focusable element");return e}function v(e){c.contains(e.target)||(u.clickOutsideDeactivates?d({returnFocus:!o.isFocusable(e.target)}):u.allowOutsideClick&&u.allowOutsideClick(e)||e.preventDefault())}function y(e){c.contains(e.target)||e.target instanceof Document||(e.stopImmediatePropagation(),_(s.mostRecentlyFocusedNode||h()))}function O(e){if(!1!==u.escapeDeactivates&&function(e){return"Escape"===e.key||"Esc"===e.key||27===e.keyCode}(e))return e.preventDefault(),void d();(function(e){return"Tab"===e.key||9===e.keyCode})(e)&&function(e){if(g(),e.shiftKey&&e.target===s.firstTabbableNode)return e.preventDefault(),void _(s.lastTabbableNode);if(!e.shiftKey&&e.target===s.lastTabbableNode)e.preventDefault(),_(s.firstTabbableNode)}(e)}function j(e){u.clickOutsideDeactivates||c.contains(e.target)||u.allowOutsideClick&&u.allowOutsideClick(e)||(e.preventDefault(),e.stopImmediatePropagation())}function g(){var e=o(c);s.firstTabbableNode=e[0]||h(),s.lastTabbableNode=e[e.length-1]||h()}function _(e){e!==n.activeElement&&(e&&e.focus?(e.focus(),s.mostRecentlyFocusedNode=e,function(e){return e.tagName&&"input"===e.tagName.toLowerCase()&&"function"==typeof e.select}(e)&&e.select()):_(h()))}}},function(e,t,n){(function(n){var r,c,o;c=[],void 0===(o="function"==typeof(r=function(){"use strict";function t(e,t,n){var r=new XMLHttpRequest;r.open("GET",e),r.responseType="blob",r.onload=function(){a(r.response,t,n)},r.onerror=function(){console.error("could not download file")},r.send()}function r(e){var t=new XMLHttpRequest;t.open("HEAD",e,!1);try{t.send()}catch(e){}return 200<=t.status&&299>=t.status}function c(e){try{e.dispatchEvent(new MouseEvent("click"))}catch(n){var t=document.createEvent("MouseEvents");t.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),e.dispatchEvent(t)}}var o="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof n&&n.global===n?n:void 0,a=o.saveAs||("object"!=typeof window||window!==o?function(){}:"download"in HTMLAnchorElement.prototype?function(e,n,a){var i=o.URL||o.webkitURL,l=document.createElement("a");n=n||e.name||"download",l.download=n,l.rel="noopener","string"==typeof e?(l.href=e,l.origin===location.origin?c(l):r(l.href)?t(e,n,a):c(l,l.target="_blank")):(l.href=i.createObjectURL(e),setTimeout((function(){i.revokeObjectURL(l.href)}),4e4),setTimeout((function(){c(l)}),0))}:"msSaveOrOpenBlob"in navigator?function(e,n,o){if(n=n||e.name||"download","string"!=typeof e)navigator.msSaveOrOpenBlob(function(e,t){return void 0===t?t={autoBom:!1}:"object"!=typeof t&&(console.warn("Deprecated: Expected third argument to be a object"),t={autoBom:!t}),t.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob(["\ufeff",e],{type:e.type}):e}(e,o),n);else if(r(e))t(e,n,o);else{var a=document.createElement("a");a.href=e,a.target="_blank",setTimeout((function(){c(a)}))}}:function(e,n,r,c){if((c=c||open("","_blank"))&&(c.document.title=c.document.body.innerText="downloading..."),"string"==typeof e)return t(e,n,r);var a="application/octet-stream"===e.type,i=/constructor/i.test(o.HTMLElement)||o.safari,l=/CriOS\/[\d]+/.test(navigator.userAgent);if((l||a&&i)&&"object"==typeof FileReader){var u=new FileReader;u.onloadend=function(){var e=u.result;e=l?e:e.replace(/^data:[^;]*;/,"data:attachment/file;"),c?c.location.href=e:location=e,c=null},u.readAsDataURL(e)}else{var s=o.URL||o.webkitURL,f=s.createObjectURL(e);c?c.location=f:location.href=f,c=null,setTimeout((function(){s.revokeObjectURL(f)}),4e4)}});o.saveAs=a.saveAs=a,e.exports=a})?r.apply(t,c):r)||(e.exports=o)}).call(this,n(13))},function(e,t,n){e.exports=n(9)()},function(e,t,n){"use strict";var r=n(10);function c(){}function o(){}o.resetWarningCache=c,e.exports=function(){function e(e,t,n,c,o,a){if(a!==r){var i=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw i.name="Invariant Violation",i}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:c};return n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t){var n=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'],r=n.join(","),c="undefined"==typeof Element?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector;function o(e,t){t=t||{};var n,o,i,l=[],f=[],d=e.querySelectorAll(r);for(t.includeContainer&&c.call(e,r)&&(d=Array.prototype.slice.apply(d)).unshift(e),n=0;n<d.length;n++)a(o=d[n])&&(0===(i=u(o))?l.push(o):f.push({documentOrder:n,tabIndex:i,node:o}));return f.sort(s).map((function(e){return e.node})).concat(l)}function a(e){return!(!i(e)||function(e){return function(e){return f(e)&&"radio"===e.type}(e)&&!function(e){if(!e.name)return!0;var t=function(e){for(var t=0;t<e.length;t++)if(e[t].checked)return e[t]}(e.ownerDocument.querySelectorAll('input[type="radio"][name="'+e.name+'"]'));return!t||t===e}(e)}(e)||u(e)<0)}function i(e){return!(e.disabled||function(e){return f(e)&&"hidden"===e.type}(e)||function(e){return null===e.offsetParent||"hidden"===getComputedStyle(e).visibility}(e))}o.isTabbable=function(e){if(!e)throw new Error("No node provided");return!1!==c.call(e,r)&&a(e)},o.isFocusable=function(e){if(!e)throw new Error("No node provided");return!1!==c.call(e,l)&&i(e)};var l=n.concat("iframe").join(",");function u(e){var t=parseInt(e.getAttribute("tabindex"),10);return isNaN(t)?function(e){return"true"===e.contentEditable}(e)?0:e.tabIndex:t}function s(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex}function f(e){return"INPUT"===e.tagName}e.exports=o},function(e,t){e.exports=function(){for(var e={},t=0;t<arguments.length;t++){var r=arguments[t];for(var c in r)n.call(r,c)&&(e[c]=r[c])}return e};var n=Object.prototype.hasOwnProperty},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";n.r(t);var r=n(0),c=n(4),o=n.n(c),a=n(1),i=n(2),l=n.n(i),u=n(5),s=n.n(u);n(8);function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var m=function(e){e.initialState,e.getInitialState,e.refs,e.getRefs,e.didMount,e.didUpdate,e.willUnmount,e.getSnapshotBeforeUpdate,e.shouldUpdate,e.render;return function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["initialState","getInitialState","refs","getRefs","didMount","didUpdate","willUnmount","getSnapshotBeforeUpdate","shouldUpdate","render"])},b=function(e){function t(){var n,r;f(this,t);for(var c=arguments.length,o=Array(c),a=0;a<c;a++)o[a]=arguments[a];return n=r=d(this,e.call.apply(e,[this].concat(o))),p.call(r),d(r,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.getArgs=function(){var e=this.state,t=this.props,n=this._setState,r=this._forceUpdate,c=this._refs;return{state:e,props:m(t),refs:c,setState:n,forceUpdate:r}},t.prototype.componentDidMount=function(){this.props.didMount&&this.props.didMount(this.getArgs())},t.prototype.shouldComponentUpdate=function(e,t){return!this.props.shouldUpdate||this.props.shouldUpdate({props:this.props,state:this.state,nextProps:m(e),nextState:t})},t.prototype.componentWillUnmount=function(){this.props.willUnmount&&this.props.willUnmount({state:this.state,props:m(this.props),refs:this._refs})},t.prototype.componentDidUpdate=function(e,t,n){this.props.didUpdate&&this.props.didUpdate(Object.assign(this.getArgs(),{prevProps:m(e),prevState:t}),n)},t.prototype.getSnapshotBeforeUpdate=function(e,t){return this.props.getSnapshotBeforeUpdate?this.props.getSnapshotBeforeUpdate(Object.assign(this.getArgs(),{prevProps:m(e),prevState:t})):null},t.prototype.render=function(){var e=this.props,t=e.children,n=e.render;return n?n(this.getArgs()):"function"==typeof t?t(this.getArgs()):t||null},t}(s.a.Component);b.defaultProps={getInitialState:function(){},getRefs:function(){return{}}};var p=function(){var e=this;this.state=this.props.initialState||this.props.getInitialState(this.props),this._refs=this.props.refs||this.props.getRefs(this.getArgs()),this._setState=function(){return e.setState.apply(e,arguments)},this._forceUpdate=function(){return e.forceUpdate.apply(e,arguments)}},h=b,v=function(e){var t=e.children,n=e.container,c=void 0===n?document.body:n,o=e.type,a=void 0===o?"reach-portal":o;return Object(r.createElement)(h,{getRefs:function(){return{node:null}},didMount:function(e){var t=e.refs,n=e.forceUpdate,r=c.hasOwnProperty("current")?c.current:c;t.node=document.createElement(a),r.appendChild(t.node),n()},willUnmount:function(e){var t=e.refs.node,n=c.hasOwnProperty("current")?c.current:c;n&&n.removeChild(t)},render:function(e){var n=e.refs.node;return n?Object(r.createPortal)(t,n):null}})};var y=function(e,t){return function(n){if(e&&e(n),!n.defaultPrevented)return t(n)}},O=n(6),j=n.n(O);function g(){return(g=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function _(e,t){if(null==e)return{};var n,r,c=function(e,t){if(null==e)return{};var n,r,c={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(c[n]=e[n]);return c}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(c[n]=e[n])}return c}var E=function(){},w=function(){},x=function(e,t){var n,r,c;e.disposeAriaHider=(n=e.overlayNode,r=[],c=[],Array.prototype.forEach.call(document.querySelectorAll("body > *"),(function(e){if(e!==n.parentNode){var t=e.getAttribute("aria-hidden");null!==t&&"false"!==t||(r.push(t),c.push(e),e.setAttribute("aria-hidden","true"))}})),function(){c.forEach((function(e,t){var n=r[t];null===n?e.removeAttribute("aria-hidden"):e.setAttribute("aria-hidden",n)}))}),e.trap=j()(e.overlayNode,{initialFocus:t?function(){return t.current}:void 0,fallbackFocus:e.contentNode,escapeDeactivates:!1,clickOutsideDeactivates:!1})},S=function(e){var t=e.refs;t.trap.deactivate(),t.disposeAriaHider()},C=React.createContext(),k=React.forwardRef((function(e,t){var n=e.container,c=e.isOpen,o=void 0===c||c,a=e.onDismiss,i=void 0===a?E:a,l=e.initialFocusRef,u=e.onClick,s=e.onKeyDown,f=_(e,["container","isOpen","onDismiss","initialFocusRef","onClick","onKeyDown"]);return Object(r.createElement)(h,{didMount:w},o?Object(r.createElement)(v,{container:n,"data-reach-dialog-wrapper":!0},Object(r.createElement)(h,{refs:{overlayNode:null,contentNode:null},didMount:function(e){var t=e.refs;x(t,l)},willUnmount:S},(function(e){var n=e.refs;return Object(r.createElement)(C.Provider,{value:function(e){return n.contentNode=e}},Object(r.createElement)("div",g({"data-reach-dialog-overlay":!0,onClick:y(u,(function(e){e.stopPropagation(),i()})),onKeyDown:y(s,(function(e){"Escape"===e.key&&(e.stopPropagation(),i())})),ref:function(e){n.overlayNode=e,t&&t(e)}},f)))}))):null)}));k.propTypes={initialFocusRef:function(){}};var D=function(e){return e.stopPropagation()},z=React.forwardRef((function(e,t){var n=e.onClick,c=(e.onKeyDown,_(e,["onClick","onKeyDown"]));return Object(r.createElement)(C.Consumer,null,(function(e){return Object(r.createElement)("div",g({"aria-modal":"true","data-reach-dialog-content":!0,tabIndex:"-1",onClick:y(n,D),ref:function(n){e(n),t&&t(n)}},c))}))})),A=n(3),P=function(e){return!!e},M=function(e){var t=e.items,n=e.isVisible,c=void 0===n?P:n,o=e.render,a=e.className,i=e.onDismiss;return Object(r.createElement)(A.Transition,{items:t,onStart:function(){return document.body.classList[c(t)?"add":"remove"]("ct-dashboard-overlay-open")},config:{duration:200},from:{opacity:0,y:-10},enter:{opacity:1,y:0},leave:{opacity:0,y:10}},(function(e){return c(e)&&function(t){return Object(r.createElement)(k,{style:{opacity:t.opacity},container:document.querySelector("#wpbody"),onDismiss:function(){return i()}},Object(r.createElement)(z,{className:l()("ct-admin-modal",a),style:{transform:"translate3d(0px, ".concat(t.y,"px, 0px)")}},Object(r.createElement)("button",{className:"close-button",onClick:function(){return i()}},"×"),o(e,t)))}}))};function N(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,c=!1,o=void 0;try{for(var a,i=e[Symbol.iterator]();!(r=(a=i.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){c=!0,o=e}finally{try{r||null==i.return||i.return()}finally{if(c)throw o}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return L(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return L(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function L(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var T=function(e){var t=N(Object(r.useState)(!1),2),n=t[0],c=t[1];return[function(){return c(!0)},Object(r.createElement)(M,{items:n,onDismiss:function(){return c(!1)},render:function(){return Object(r.createElement)("div",{className:"ct-modal-content",dangerouslySetInnerHTML:{__html:e.readme}})}})]};function I(e,t,n,r,c,o,a){try{var i=e[o](a),l=i.value}catch(e){return void n(e)}i.done?t(l):Promise.resolve(l).then(r,c)}function R(e){return function(){var t=this,n=arguments;return new Promise((function(r,c){var o=e.apply(t,n);function a(e){I(o,r,c,a,i,"next",e)}function i(e){I(o,r,c,a,i,"throw",e)}a(void 0)}))}}function U(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,c=!1,o=void 0;try{for(var a,i=e[Symbol.iterator]();!(r=(a=i.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){c=!0,o=e}finally{try{r||null==i.return||i.return()}finally{if(c)throw o}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return F(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return F(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function F(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var B=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){},n=Object(r.useState)(!1),c=U(n,2),o=c[0],i=c[1],l=Object(r.useState)(!1),u=U(l,2),s=u[0],f=u[1],d=ctDashboardLocalizations.plugin_data.is_pro,m=function(){var n=R(regeneratorRuntime.mark((function n(){var r;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(d||!e.config.pro){n.next=3;break}return f(!0),n.abrupt("return");case 3:return(r=new FormData).append("ext",e.name),r.append("action",e.__object?"blocksy_extension_deactivate":"blocksy_extension_activate"),i(!0),n.prev=7,n.next=10,fetch(ctDashboardLocalizations.ajax_url,{method:"POST",body:r});case 10:t(),n.next=15;break;case 13:n.prev=13,n.t0=n.catch(7);case 15:i(!1);case 16:case"end":return n.stop()}}),n,null,[[7,13]])})));return function(){return n.apply(this,arguments)}}();return[o,m,!d&&e.config.pro?Object(r.createElement)(M,{items:s,onDismiss:function(){return f(!1)},render:function(){return Object(r.createElement)("div",{className:"ct-activation-action-modal"},Object(r.createElement)("svg",{viewBox:"0 0 59.99 60"},Object(r.createElement)("path",{d:"M14.41 43.65c0 .13.08.27.11.41a5.91 5.91 0 010 2.37c-1.78 1.14-3.2 1.19-4.34.68-2.83-1.27-3.81-6-3.81-6s.38-.08 1-.15a6.08 6.08 0 012.64.91 4.17 4.17 0 01-.22-1 6.47 6.47 0 013.2 1 8.14 8.14 0 01.35-5 12.74 12.74 0 01.65-1.62s8.51 4.32 3 9.27a5.81 5.81 0 01-2.34-.68 2 2 0 01-.24-.19zM7.17 15.93q.2.22.42.45a5.74 5.74 0 002.68-.74 5.51 5.51 0 00-.28 2.76 6.79 6.79 0 001.47.81c5 1.94 6.91-5.79 6.91-5.79a13.35 13.35 0 00-4.5-.26 5.64 5.64 0 00-2.15.72 4.42 4.42 0 00.23-.81c.51-2.62-.94-5.82-.94-5.82a13.76 13.76 0 00-2.44 1.51c-2 1.51-4 4-1.53 7a.65.65 0 00.13.17zm.93 16.56a6.7 6.7 0 00.84.76c7.28-1.28 2.36-9.46 2.36-9.46a14.28 14.28 0 00-2.18 1.69 7.39 7.39 0 00-2.13 3.35v-1.19a5.49 5.49 0 00-1.27-1.71 12.75 12.75 0 00-3.94-2.44 13.32 13.32 0 00-.39 1.37c-.49 2-.91 5.69 1.85 7a4.83 4.83 0 001.75.46 8.25 8.25 0 00.86 0 6.45 6.45 0 001.14-1.76 4.41 4.41 0 001.11 1.93zM18.79 9.27c6 1.85 8.82-7.61 8.82-7.61a17.44 17.44 0 00-6.1-.58c-2.92.35-5.71 1.92-5.33 6.76a8.42 8.42 0 002.61 1.43zM49.6 40.93a6.08 6.08 0 00-2.64.91 4.21 4.21 0 00.22-1 11.57 11.57 0 00-1.19-5.59 13.88 13.88 0 00-2.36 1.58c-1.87 1.58-3.82 4.16-1.33 7 .06.08.13.15.2.23s.29.3.46.45a5.69 5.69 0 002.65-.86 5.82 5.82 0 00-.14 2.78 6.75 6.75 0 001.34.68c5.16 1.94 6.81-6 6.81-6a13.28 13.28 0 00-4.02-.18zm-6.49-27.77a10.69 10.69 0 00-1.5.26s1.15 4.53 3.91 5.79c1.18.54 2.66.47 4.47-.81a5.88 5.88 0 00-.16-2.47 1.42 1.42 0 00-.1-.29l.23.13a6 6 0 002.45.61c5.24-5.19-3.42-9.13-3.42-9.13a13.57 13.57 0 00-.54 1.51 8.37 8.37 0 00-.17 5.12 6.62 6.62 0 00-3.29-.81 12.09 12.09 0 00-1.88.09zm15.13 10.33a13.53 13.53 0 00-2.61 1.37 7.1 7.1 0 00-2.64 2.78v1.18a6.69 6.69 0 00-1.73-2.89 13.85 13.85 0 00-2.62-2.14 13.17 13.17 0 00-.82 1.69c-.83 2-1.65 5.4 1 7a6.4 6.4 0 002.16.76 7.35 7.35 0 001-.93 4.26 4.26 0 001-1.76 6.06 6.06 0 00.76 1.3 6.25 6.25 0 00.4.5c7.43.09 4.1-8.86 4.1-8.86zM38.19 9.27c1.55.52 3.41.27 5.61-1.43.51-6.56-4.81-7.11-8.33-6.76a19.24 19.24 0 00-3.1.58S34.25 8 38.19 9.27zM41.99 54h-3v-6a2 2 0 00-2-2h-14a2 2 0 00-2 2v6h-3a2 2 0 00-2 2v3h28v-3a2 2 0 00-2-2zM25.76 21.65l-5.77.84a1 1 0 00-.81.68 1 1 0 00.26 1l4.19 4.11a1 1 0 01.28.88l-.92 5.44-.07.4a1 1 0 00.4 1 1 1 0 001.06.07l3.55-1.88 1.6-.85a1 1 0 01.94 0l2.4 1.27 2.75 1.46a1 1 0 001.05-.07 1 1 0 00.4-1l-1-5.81a1 1 0 01.28-.88l4.19-4.11a1 1 0 00.26-1 1 1 0 00-.81-.68l-5.78-.84a1 1 0 01-.75-.55l-2.57-5.3a1 1 0 00-1.8 0l-1.17 2.39-1.41 2.88a1 1 0 01-.75.55z",fill:"#ffa800"}),Object(r.createElement)("path",{d:"M19.99 22.49l5.78-.84a1 1 0 00.75-.55l1.41-2.88 1.41 2.88a1 1 0 00.75.55l5.78.84a1 1 0 01.56 1.71l-4.19 4.11a1 1 0 00-.29.88l.92 5.4-2.4-1.27a1 1 0 00-.94 0l-1.6.85-1.6-.85a1 1 0 00-.93 0l-2.41 1.28.92-5.41a1 1 0 00-.28-.88l-4.2-4.11a1 1 0 01-.26-1 1 1 0 01.82-.71zm-13 8.07a4.41 4.41 0 001.14 1.93c2.67-1.61 1.85-5 1-7a7.39 7.39 0 00-2.14 3.34 3.49 3.49 0 000 1.7zm11.8-21.29c3.94-1.27 5.82-7.61 5.82-7.61a19.24 19.24 0 00-3.1-.58c-2.92.35-5.71 1.92-5.33 6.76a8.42 8.42 0 002.61 1.43zm-7.31 9.94c2.76-1.26 3.91-5.79 3.91-5.79a10.69 10.69 0 00-1.5-.26 12.35 12.35 0 00-1.9-.09 4.42 4.42 0 01-.23.81 3.48 3.48 0 00-1.46 1.75 5.51 5.51 0 00-.31 2.77 6.79 6.79 0 001.49.81zm37.4 13.28a4.41 4.41 0 001.11-1.93 3.57 3.57 0 000-1.72 7.31 7.31 0 00-2.17-3.34c-.83 2.02-1.61 5.38 1.06 6.99zM45.5 19.21a6.79 6.79 0 001.49-.81 5.51 5.51 0 00-.26-2.76 3.53 3.53 0 00-1.46-1.75 5.79 5.79 0 00-2.13-.72 10.69 10.69 0 00-1.5.26s1.1 4.57 3.86 5.78zm-7.31-9.94a8.42 8.42 0 002.61-1.43c.38-4.84-2.41-6.41-5.33-6.76a19.24 19.24 0 00-3.1.58S34.25 8 38.19 9.27zm8.8 32.57l-1.4 1.8a5.82 5.82 0 00-.14 2.78 6.75 6.75 0 001.34.68c2.83-1.27 3.81-6 3.81-6s-.38-.08-1-.15a6.08 6.08 0 00-2.61.89zm1.42-33.08a8.37 8.37 0 00-.17 5.12l1.46 1.75a1.42 1.42 0 01.1.29.65.65 0 00.13-.16c2.48-2.97.44-5.49-1.52-7zm-6.15 35.08a1.92 1.92 0 00.31-.18 3.55 3.55 0 001.42-1.79 8.1 8.1 0 00-.35-5c-1.92 1.54-3.87 4.13-1.38 6.97zm13.37-19a7.1 7.1 0 00-2.64 2.8v2.91a6.06 6.06 0 00.76 1.3c2.79-1.3 2.37-4.98 1.88-6.99zM11.41 43.65l-1.34-1.75a6.08 6.08 0 00-2.64-.91c-.6.07-1 .15-1 .15s1 4.77 3.81 6a6.75 6.75 0 001.34-.68 5.82 5.82 0 00-.14-2.78zM38.99 54h-3v-6a2 2 0 00-2-2h-11a2 2 0 00-2 2v6h-3a2 2 0 00-2 2v3h25v-3a2 2 0 00-2-2zm-25.6-17.17a8.14 8.14 0 00-.35 5 3.45 3.45 0 001.31 1.72h.05c0 .13.08.27.11.41.07-.08.14-.15.2-.23 2.5-2.73.55-5.32-1.32-6.9z",fill:"#fedd0a"}),Object(r.createElement)("path",{d:"M16.18 7.84C15.8 3 18.59 1.43 21.51 1.08a14.84 14.84 0 013 0C21.6 1.44 18.82 3 19.2 7.84a8.42 8.42 0 002.59 1.43 4.81 4.81 0 01-3 0 8.42 8.42 0 01-2.61-1.43zm-7.61.92c-2 1.51-4 4-1.53 7a.65.65 0 00.13.16q.2.22.42.45a5.91 5.91 0 002.4-.61c-2.45-3-.42-5.49 1.54-7a13.57 13.57 0 00-.54-1.51 13.76 13.76 0 00-2.42 1.51zM15.99 56v3h3v-3a2 2 0 012-2h-3a2 2 0 00-2 2zm7-10a2 2 0 00-2 2v6h3v-6a2 2 0 012-2zM4.35 24.86a13.53 13.53 0 00-2.61-1.37 13.32 13.32 0 00-.39 1.37c-.49 2-.91 5.69 1.85 7a4.83 4.83 0 001.79.46 8.25 8.25 0 00.86 0 5.84 5.84 0 00.4-.5c-2.81-1.27-2.39-4.95-1.9-6.96z",fill:"#fff"}),Object(r.createElement)("path",{d:"M59.18 23.14a1 1 0 00-1.29-.59 14.74 14.74 0 00-3.85 2.26 24.35 24.35 0 00-.45-3.4 23.39 23.39 0 00-1.21-4 1 1 0 00.71-.29 5.42 5.42 0 001.9-4.91c-.64-3.56-5.44-5.78-5.65-5.87a1 1 0 00-1.32.5 14.57 14.57 0 00-.85 2.6 26.55 26.55 0 00-2.37-2.12 6.66 6.66 0 00-2.23-5.7C38.99-1.31 32.36.61 32.08.7a1 1 0 00-.59.48 1 1 0 00-.08.76c.08.28 2.09 6.87 6.51 8.3a5.84 5.84 0 001.74.27 7.41 7.41 0 004.15-1.44 22.7 22.7 0 013.1 3 1.48 1.48 0 000 .21 13.38 13.38 0 00-5.58.15 1 1 0 00-.72 1.21c.06.22 1.39 5.34 4.79 6.59a4.42 4.42 0 001.55.28 6.3 6.3 0 003.59-1.31 1.2 1.2 0 00.26-.29 22.46 22.46 0 01.82 2.88 21.37 21.37 0 01.43 3.47 15 15 0 00-2.86-2.35 1 1 0 00-1.38.34c-.11.2-2.81 4.75-1.3 8a5.31 5.31 0 004.07 2.87c-.08.21-.15.42-.24.63a21.75 21.75 0 01-2.25 4 14.51 14.51 0 00-1.26-4 1 1 0 00-.58-.5 1 1 0 00-.76.06c-.2.1-4.9 2.53-5.38 6.11a5.19 5.19 0 001.7 4.37 22.47 22.47 0 01-2.46 1.34A3 3 0 0036.99 45h-6V34.73l4.15 2.2a2.1 2.1 0 00.94.23 2 2 0 002-2.33l-1-5.81 4.2-4.11a2 2 0 00-1.12-3.4l-5.78-.85-2.59-5.26a2 2 0 00-3.6 0l-2.58 5.26-5.77.85a2 2 0 00-1.11 3.4L22.92 29l-1 5.81a2 2 0 00.8 1.94 2 2 0 002.11.15l4.16-2.17V45h-6a3 3 0 00-2.37 1.18 21 21 0 01-2.46-1.35 5.16 5.16 0 001.7-4.36c-.48-3.58-5.18-6-5.38-6.11a1 1 0 00-.76-.06 1 1 0 00-.58.5 14.38 14.38 0 00-1.26 4 21.11 21.11 0 01-2.25-4c-.09-.21-.16-.42-.24-.64a5.26 5.26 0 004.07-2.86c1.51-3.29-1.19-7.84-1.3-8a1 1 0 00-1.38-.34 15 15 0 00-2.86 2.35 21.37 21.37 0 01.43-3.47 22.46 22.46 0 01.82-2.88 1.2 1.2 0 00.26.29 6.3 6.3 0 003.56 1.28 4.42 4.42 0 001.55-.28c3.4-1.25 4.73-6.37 4.79-6.59a1 1 0 00-.72-1.21 13.57 13.57 0 00-5.58-.15 1.48 1.48 0 000-.21 22.7 22.7 0 013.1-3 7.39 7.39 0 004.15 1.44 5.73 5.73 0 001.73-.27c4.43-1.43 6.44-8 6.52-8.3a1 1 0 00-.08-.76 1 1 0 00-.55-.5c-.28-.09-6.89-2-10.51.92a6.66 6.66 0 00-2.23 5.7 26.55 26.55 0 00-2.37 2.12 14.57 14.57 0 00-.8-2.6 1 1 0 00-1.32-.5c-.2.09-5 2.31-5.65 5.87a5.42 5.42 0 001.91 4.88 1 1 0 00.71.29 23.65 23.65 0 00-1.21 4 24.35 24.35 0 00-.44 3.43 14.74 14.74 0 00-3.9-2.26 1 1 0 00-1.29.59c-.08.21-1.89 5.18.19 8.14a5.37 5.37 0 004.71 2.08h.11a1 1 0 00.73-.36c.09-.1.16-.22.25-.33a24.67 24.67 0 001 2.89 23.67 23.67 0 002.4 4.32 14.22 14.22 0 00-4 .19 1 1 0 00-.77 1.18c0 .22 1.15 5.4 4.49 6.8a4.41 4.41 0 001.75.35 6.4 6.4 0 003.43-1.15 1 1 0 00.44-.64 6.59 6.59 0 00.11-1.08l.84.59a23 23 0 003.51 1.97V53h-2a3 3 0 00-3 3v3a1 1 0 001 1h28a1 1 0 001-1v-3a3 3 0 00-3-3h-2v-4.91a23 23 0 003.51-1.94c.29-.19.56-.41.84-.62a7 7 0 00.11 1.11 1 1 0 00.44.64 6.4 6.4 0 003.43 1.15 4.41 4.41 0 001.75-.35c3.34-1.4 4.45-6.58 4.49-6.8a1 1 0 00-.77-1.18 14.22 14.22 0 00-4-.19 23.67 23.67 0 002.4-4.32 24.67 24.67 0 001-2.89c.09.11.16.23.25.33a1 1 0 00.73.33h.11a5.37 5.37 0 004.71-2.08c2.08-2.96.27-7.93.19-8.14zM38.65 6a22.22 22.22 0 013.4 1.82 4.32 4.32 0 01-3.51.53c-2.55-.82-4.18-4.24-4.86-6 1.81-.38 5.57-.88 7.65.81a4.12 4.12 0 011.42 2.71 23.48 23.48 0 00-3.33-1.75 1 1 0 00-1.31.53A1 1 0 0038.65 6zm-20-2.8c2.08-1.71 5.84-1.2 7.65-.83-.68 1.72-2.31 5.14-4.86 6a4.32 4.32 0 01-3.51-.53A22.22 22.22 0 0121.33 6a1 1 0 00.54-1.31 1 1 0 00-1.31-.53 24 24 0 00-3.33 1.75 4.12 4.12 0 011.42-2.73zM5.92 30.41a5.66 5.66 0 01-.58.94 3.27 3.27 0 01-2.71-1.21c-1-1.37-.65-3.75-.26-5.28a8.32 8.32 0 013.62 3.05v.61a4.45 4.45 0 00-.15.9 4.12 4.12 0 00.08.99zm6-15.39c1.25-1.11 3.66-1 5.21-.83-.55 1.47-1.64 3.61-3.21 4.18a3.23 3.23 0 01-2.93-.54 3.27 3.27 0 01.89-2.83zm-4.93-2.45c.29-1.65 2.21-3.11 3.56-3.91a8.35 8.35 0 01.38 4.61 3.81 3.81 0 00-.32.24 4.52 4.52 0 00-1.05 1.37 3.53 3.53 0 01-.56.25h-.01a4.51 4.51 0 01-.95.22 3.26 3.26 0 01-1.05-2.78zm.91 17c.09-1.7 1.78-3.37 3.09-4.32.66 1.42 1.4 3.7.7 5.23a3.23 3.23 0 01-2.43 1.69 3.25 3.25 0 01-1.41-2.63zm5.78 16.29a3.26 3.26 0 01-2.94.41c-1.55-.65-2.55-2.84-3-4.34a8.39 8.39 0 014.58.65 2.92 2.92 0 00.17.36 4.51 4.51 0 001.1 1.32 4.53 4.53 0 01.04 1.57zm3.08-2.36a5 5 0 01-.85-.21h-.08A2.84 2.84 0 0114.16 42c-.8-1.46-.22-3.8.34-5.27 1.32.86 3.16 2.4 3.38 4.06a3.28 3.28 0 01-1.17 2.68zm7.19-8.3l1-5.8a2 2 0 00-.57-1.77l-4.19-4.11 5.77-.85a2 2 0 001.51-1.1l2.52-5.3 2.58 5.27a2 2 0 001.51 1.1l5.77.84-4.19 4.12a2 2 0 00-.57 1.76l1 5.8-5.15-2.73a2 2 0 00-1.88 0zM21.99 48a1 1 0 011-1h14a1 1 0 011 1v5h-16zm20 7a1 1 0 011 1v2h-26v-2a1 1 0 011-1h24zm3.83-13a2.84 2.84 0 01-1.62 1.28h-.07a6.37 6.37 0 01-.86.21 3.28 3.28 0 01-1.17-2.73c.22-1.66 2.06-3.2 3.38-4.06.56 1.45 1.14 3.79.34 5.3zm6.5-.05c-.48 1.5-1.48 3.69-3 4.34a3.26 3.26 0 01-2.94-.41 4.53 4.53 0 01.12-1.6 4.51 4.51 0 001.1-1.32c.07-.12.11-.24.17-.36a8.39 8.39 0 014.55-.7zM46.1 18.37c-1.57-.57-2.66-2.71-3.21-4.18 1.55-.22 4-.28 5.21.83a3.27 3.27 0 01.89 2.81 3.26 3.26 0 01-2.89.54zm4.67 13.8a3.23 3.23 0 01-2.43-1.69c-.7-1.52 0-3.8.71-5.23 1.25.95 3 2.62 3.08 4.29a3.25 3.25 0 01-1.36 2.63zm1.22-16.82a4.75 4.75 0 01-1-.22 3.87 3.87 0 01-.55-.25 4.52 4.52 0 00-1-1.37 3.81 3.81 0 00-.32-.24 8.45 8.45 0 01.38-4.61c1.35.8 3.27 2.25 3.56 3.9a3.27 3.27 0 01-1.07 2.79zm5.36 14.79a3.27 3.27 0 01-2.71 1.21 5.66 5.66 0 01-.58-.94 4.09 4.09 0 00.06-1 5.28 5.28 0 00-.15-.9v-.6a8.37 8.37 0 013.6-3.06c.42 1.54.74 3.92-.22 5.29zM33.99 50a1 1 0 01-1 1h-6a1 1 0 010-2h6a1 1 0 011 1z"})),Object(r.createElement)("h2",null,"Upgrade to Pro"),Object(r.createElement)("p",null,Object(a.__)("Upgrade to the Pro version and get instant full access to all premium extensions and features.","blc")),Object(r.createElement)("button",{className:"ct-button-primary"},Object(a.__)("Upgrade Now","blc")))}}):null]},V=function(){return ctDashboardLocalizations.plugin_data.hide_support_section?null:Object(r.createElement)("div",{className:"ct-support-container"},Object(r.createElement)("h2",null,Object(a.__)("Support","blc")),Object(r.createElement)("p",null,Object(a.__)("Got a question or need some help with the theme? You can always submit a support ticket, and our team will help you out.","blc")),Object(r.createElement)("a",{href:ctDashboardLocalizations.support_url,className:"ct-button","data-hover":"blue",target:"_blank"},Object(a.__)("Submit a Ticket","blc")))};function H(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function q(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?H(Object(n),!0).forEach((function(t){W(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):H(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function W(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function $(e,t,n,r,c,o,a){try{var i=e[o](a),l=i.value}catch(e){return void n(e)}i.done?t(l):Promise.resolve(l).then(r,c)}function Z(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,c=!1,o=void 0;try{for(var a,i=e[Symbol.iterator]();!(r=(a=i.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){c=!0,o=e}finally{try{r||null==i.return||i.return()}finally{if(c)throw o}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return K(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return K(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function K(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var G=null,Y=function(e){var t=e.extension,n=e.onExtsSync,c=Z(T(t),2),o=c[0],i=c[1],u=Z(B(t,(function(){n()})),3),s=u[0],f=u[1],d=u[2];return Object(r.createElement)("li",{className:l()({active:!!t.__object})},Object(r.createElement)("h4",{className:"ct-extension-title"},t.config.name,s&&Object(r.createElement)("svg",{width:"15",height:"15",viewBox:"0 0 100 100"},Object(r.createElement)("g",{transform:"translate(50,50)"},Object(r.createElement)("g",{transform:"scale(1)"},Object(r.createElement)("circle",{cx:"0",cy:"0",r:"50",fill:"#687c93"}),Object(r.createElement)("circle",{cx:"0",cy:"-26",r:"12",fill:"#ffffff",transform:"rotate(161.634)"},Object(r.createElement)("animateTransform",{attributeName:"transform",type:"rotate",calcMode:"linear",values:"0 0 0;360 0 0",keyTimes:"0;1",dur:"1s",begin:"0s",repeatCount:"indefinite"})))))),t.config.description&&Object(r.createElement)("div",{className:"ct-extension-description"},t.config.description),Object(r.createElement)("div",{className:"ct-extension-actions"},Object(r.createElement)("button",{className:l()(t.__object?"ct-button":"ct-button-primary"),"data-hover":"white",disabled:s,onClick:function(){f()}},t.__object?Object(a.__)("Deactivate","blc"):Object(a.__)("Activate","blc")),t.readme&&Object(