Blocksy Companion - Version 1.8.9.5

Version Description

Download this release

Release Info

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

Code changes from version 1.8.9.4 to 1.8.9.5

Files changed (89) hide show
  1. blocksy-companion.php +5 -5
  2. framework/extensions-manager.php +18 -18
  3. framework/extensions/cookies-consent/config.php +2 -2
  4. framework/extensions/cookies-consent/customizer.php +29 -29
  5. framework/extensions/cookies-consent/helpers.php +3 -3
  6. framework/extensions/cookies-consent/readme.php +6 -6
  7. framework/extensions/cookies-consent/static/bundle/main.min.css +1 -1
  8. framework/extensions/newsletter-subscribe/admin-static/bundle/{2.61bd55d629d700145be1.js → 2.b8cdca0a643ec9bd1ed2.js} +1 -1
  9. framework/extensions/newsletter-subscribe/admin-static/bundle/main.js +1 -1
  10. framework/extensions/newsletter-subscribe/admin-static/js/ListPicker.js +1 -1
  11. framework/extensions/newsletter-subscribe/admin-static/js/ListPicker/Implementation.js +3 -3
  12. framework/extensions/newsletter-subscribe/config.php +2 -2
  13. framework/extensions/newsletter-subscribe/ct-newsletter-subscribe/options.php +22 -22
  14. framework/extensions/newsletter-subscribe/ct-newsletter-subscribe/view.php +7 -7
  15. framework/extensions/newsletter-subscribe/ct-newsletter-subscribe/widget.php +2 -2
  16. framework/extensions/newsletter-subscribe/customizer.php +43 -43
  17. framework/extensions/newsletter-subscribe/dashboard-static/bundle/main.js +2 -2
  18. framework/extensions/newsletter-subscribe/dashboard-static/js/EditCredentials.js +12 -12
  19. framework/extensions/newsletter-subscribe/dashboard-static/js/ListPicker.js +3 -3
  20. framework/extensions/newsletter-subscribe/dashboard-static/js/NewsletterSubscribe.js +2 -2
  21. framework/extensions/newsletter-subscribe/dashboard-static/js/hooks/useActivationWithRequirements.js +1 -1
  22. framework/extensions/newsletter-subscribe/extension.php +4 -4
  23. framework/extensions/newsletter-subscribe/global.php +1 -1
  24. framework/extensions/newsletter-subscribe/helpers.php +12 -12
  25. framework/extensions/newsletter-subscribe/includes/BlocksyMailerliteManager.php +1 -1
  26. framework/extensions/newsletter-subscribe/readme.php +9 -9
  27. framework/extensions/newsletter-subscribe/static/bundle/main.min.css +1 -1
  28. framework/extensions/product-reviews/config.php +2 -2
  29. framework/extensions/product-reviews/extension.php +44 -44
  30. framework/extensions/product-reviews/helpers.php +1 -1
  31. framework/extensions/product-reviews/metabox.php +46 -40
  32. framework/extensions/product-reviews/static/bundle/dashboard.js +1 -1
  33. framework/extensions/product-reviews/static/bundle/main-admin.min.css +1 -1
  34. framework/extensions/product-reviews/static/bundle/main.min.css +2 -2
  35. framework/extensions/product-reviews/static/js/EditSettings.js +6 -6
  36. framework/extensions/product-reviews/static/js/ProductReviews.js +2 -2
  37. framework/extensions/product-reviews/static/sass/title.scss +0 -5
  38. framework/extensions/product-reviews/views/single-top.php +27 -12
  39. framework/extensions/trending/config.php +2 -2
  40. framework/extensions/trending/customizer.php +42 -42
  41. framework/extensions/trending/helpers.php +1 -1
  42. framework/extensions/trending/static/bundle/main.min.css +1 -1
  43. framework/extensions/widgets/config.php +1 -1
  44. framework/extensions/widgets/static/bundle/main.min.css +1 -1
  45. framework/extensions/widgets/widgets/ct-about-me/widget.php +2 -2
  46. framework/extensions/widgets/widgets/ct-advertisement/options.php +12 -12
  47. framework/extensions/widgets/widgets/ct-advertisement/view.php +1 -1
  48. framework/extensions/widgets/widgets/ct-advertisement/widget.php +2 -2
  49. framework/extensions/widgets/widgets/ct-contact-info/options.php +55 -55
  50. framework/extensions/widgets/widgets/ct-contact-info/view.php +4 -4
  51. framework/extensions/widgets/widgets/ct-contact-info/widget.php +2 -2
  52. framework/extensions/widgets/widgets/ct-facebook/options.php +7 -7
  53. framework/extensions/widgets/widgets/ct-facebook/view.php +1 -1
  54. framework/extensions/widgets/widgets/ct-facebook/widget.php +2 -2
  55. framework/extensions/widgets/widgets/ct-posts/options.php +45 -45
  56. framework/extensions/widgets/widgets/ct-posts/view.php +2 -2
  57. framework/extensions/widgets/widgets/ct-posts/widget.php +2 -2
  58. framework/extensions/widgets/widgets/ct-quote/options.php +11 -11
  59. framework/extensions/widgets/widgets/ct-quote/view.php +3 -3
  60. framework/extensions/widgets/widgets/ct-quote/widget.php +2 -2
  61. framework/extensions/widgets/widgets/ct-socials/options.php +17 -17
  62. framework/extensions/widgets/widgets/ct-socials/view.php +1 -1
  63. framework/features/conditions-manager.php +47 -47
  64. framework/features/demo-install.php +1 -1
  65. framework/features/dynamic-css.php +4 -4
  66. framework/features/google-analytics.php +6 -6
  67. framework/features/header/account-modal.php +3 -3
  68. framework/features/header/header-options.php +22 -22
  69. framework/features/header/items/account/options.php +119 -119
  70. framework/features/header/items/account/view.php +6 -6
  71. framework/features/header/items/account/views/login.php +1 -1
  72. framework/features/header/items/account/views/logout.php +1 -1
  73. framework/features/header/modal/login.php +5 -5
  74. framework/features/header/modal/lostpassword.php +2 -2
  75. framework/features/header/modal/register.php +4 -4
  76. framework/features/opengraph-meta-data.php +5 -5
  77. framework/helpers/helpers.php +16 -0
  78. framework/theme-integration.php +19 -19
  79. framework/widgets-manager.php +3 -3
  80. languages/blc-hu_HU.mo +0 -0
  81. languages/blc-hu_HU.po +0 -2313
  82. languages/blocksy-companion-ar.mo +0 -0
  83. languages/blocksy-companion-ar.po +5474 -0
  84. languages/blocksy-companion-es_ES.mo +0 -0
  85. languages/blocksy-companion-es_ES.po +5474 -0
  86. languages/blocksy-companion-es_MX.mo +0 -0
  87. languages/blocksy-companion-es_MX.po +5474 -0
  88. languages/blocksy-companion-fr_FR.mo +0 -0
  89. languages/blocksy-companion-fr_FR.po +874 -0
blocksy-companion.php CHANGED
@@ -3,10 +3,10 @@
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.8.9.4
7
  Author: CreativeThemes
8
  Author URI: https://creativethemes.com
9
- Text Domain: blc
10
  Domain Path: /languages/
11
  License: GPLv2 or later
12
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
@@ -91,7 +91,7 @@ if ( function_exists( 'blc_fs' ) ) {
91
  *
92
  * Load gettext translate for Blocksy text domain.
93
  */
94
- load_plugin_textdomain( 'blc', false, dirname( BLOCKSY_PLUGIN_BASE ) . '/languages' );
95
  } );
96
 
97
  if ( !version_compare( PHP_VERSION, '7.0', '>=' ) ) {
@@ -110,7 +110,7 @@ if ( function_exists( 'blc_fs' ) ) {
110
  function blc_fail_php_version()
111
  {
112
  /* translators: %s: PHP version */
113
- $message = sprintf( esc_html__( 'Blocksy requires PHP version %s+, plugin is currently NOT RUNNING.', 'blc' ), '7.0' );
114
  $html_message = sprintf( '<div class="error">%s</div>', wpautop( $message ) );
115
  echo wp_kses_post( $html_message ) ;
116
  }
@@ -123,7 +123,7 @@ if ( function_exists( 'blc_fs' ) ) {
123
  function blc_fail_wp_version()
124
  {
125
  /* translators: %s: WordPress version */
126
- $message = sprintf( esc_html__( 'Blocksy requires WordPress version %s+. Because you are using an earlier version, the plugin is currently NOT RUNNING.', 'blc' ), '5.0' );
127
  $html_message = sprintf( '<div class="error">%s</div>', wpautop( $message ) );
128
  echo wp_kses_post( $html_message ) ;
129
  }
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.8.9.5
7
  Author: CreativeThemes
8
  Author URI: https://creativethemes.com
9
+ Text Domain: blocksy-companion
10
  Domain Path: /languages/
11
  License: GPLv2 or later
12
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
91
  *
92
  * Load gettext translate for Blocksy text domain.
93
  */
94
+ load_plugin_textdomain( 'blocksy-companion', false, dirname( BLOCKSY_PLUGIN_BASE ) . '/languages' );
95
  } );
96
 
97
  if ( !version_compare( PHP_VERSION, '7.0', '>=' ) ) {
110
  function blc_fail_php_version()
111
  {
112
  /* translators: %s: PHP version */
113
+ $message = sprintf( esc_html__( 'Blocksy requires PHP version %s+, plugin is currently NOT RUNNING.', 'blocksy-companion' ), '7.0' );
114
  $html_message = sprintf( '<div class="error">%s</div>', wpautop( $message ) );
115
  echo wp_kses_post( $html_message ) ;
116
  }
123
  function blc_fail_wp_version()
124
  {
125
  /* translators: %s: WordPress version */
126
+ $message = sprintf( esc_html__( 'Blocksy requires WordPress version %s+. Because you are using an earlier version, the plugin is currently NOT RUNNING.', 'blocksy-companion' ), '5.0' );
127
  $html_message = sprintf( '<div class="error">%s</div>', wpautop( $message ) );
128
  echo wp_kses_post( $html_message ) ;
129
  }
framework/extensions-manager.php CHANGED
@@ -185,8 +185,8 @@ class ExtensionsManager
185
  'path' => null,
186
  '__object' => null,
187
  'config' => [
188
- 'name' => __( 'Adobe Typekit', 'blc' ),
189
- 'description' => __( 'Connect your Typekit account and use your fonts in any typography option.', 'blc' ),
190
  'pro' => true,
191
  ],
192
  'readme' => '',
@@ -196,8 +196,8 @@ class ExtensionsManager
196
  'path' => null,
197
  '__object' => null,
198
  'config' => [
199
- 'name' => __( 'Custom Code Snippets', 'blc' ),
200
- 'description' => __( 'Add custom code snippets in your header and footer, globally and per post or page individually.', 'blc' ),
201
  'pro' => true,
202
  ],
203
  'readme' => '',
@@ -207,8 +207,8 @@ class ExtensionsManager
207
  'path' => null,
208
  '__object' => null,
209
  'config' => [
210
- 'name' => __( 'Custom Fonts', 'blc' ),
211
- 'description' => __( 'Upload unlimited number of custom fonts or variable fonts and use them in any typography option.', 'blc' ),
212
  'pro' => true,
213
  ],
214
  'readme' => '',
@@ -218,8 +218,8 @@ class ExtensionsManager
218
  'path' => null,
219
  '__object' => null,
220
  'config' => [
221
- 'name' => __( 'Local Google Fonts', 'blc' ),
222
- 'description' => __( 'Serve Google Fonts from your own server for full GDPR compliancy.', 'blc' ),
223
  'pro' => true,
224
  ],
225
  'readme' => '',
@@ -229,8 +229,8 @@ class ExtensionsManager
229
  'path' => null,
230
  '__object' => null,
231
  'config' => [
232
- 'name' => __( 'Advanced Menu', 'blc' ),
233
- 'description' => __( 'Create beautiful mega menus, assign icons add badges to menu items, and content blocks inside menu items.', 'blc' ),
234
  'pro' => true,
235
  ],
236
  'readme' => '',
@@ -240,8 +240,8 @@ class ExtensionsManager
240
  'path' => null,
241
  '__object' => null,
242
  'config' => [
243
- 'name' => __( 'Shortcuts Bar', 'blc' ),
244
- 'description' => __( 'Transform your website into a app like by displaying a neat shortcuts bar at the bottom of the vieport.', 'blc' ),
245
  'pro' => true,
246
  ],
247
  'readme' => '',
@@ -251,8 +251,8 @@ class ExtensionsManager
251
  'path' => null,
252
  '__object' => null,
253
  'config' => [
254
- 'name' => __( 'Multiple Sidebars', 'blc' ),
255
- 'description' => __( 'Create unlimited number of sidebars and display them conditionaly on any page or post.', 'blc' ),
256
  'pro' => true,
257
  ],
258
  'readme' => '',
@@ -262,8 +262,8 @@ class ExtensionsManager
262
  'path' => null,
263
  '__object' => null,
264
  'config' => [
265
- 'name' => __( 'White Label (Agency Package)', 'blc' ),
266
- 'description' => __( 'Change the theme and companion plugin branding to your own custom one.', 'blc' ),
267
  'pro' => true,
268
  ],
269
  'readme' => '',
@@ -273,8 +273,8 @@ class ExtensionsManager
273
  'path' => null,
274
  '__object' => null,
275
  'config' => [
276
- 'name' => __( 'WooCommerce Extra', 'blc' ),
277
- 'description' => __( 'Increase the conversion rate by adding a product quick view modal, a floating cart. Control the single product gallery/slider and the layout, add a wishlits page.', 'blc' ),
278
  'pro' => true,
279
  ],
280
  'readme' => '',
185
  'path' => null,
186
  '__object' => null,
187
  'config' => [
188
+ 'name' => __( 'Adobe Typekit', 'blocksy-companion' ),
189
+ 'description' => __( 'Connect your Typekit account and use your fonts in any typography option.', 'blocksy-companion' ),
190
  'pro' => true,
191
  ],
192
  'readme' => '',
196
  'path' => null,
197
  '__object' => null,
198
  'config' => [
199
+ 'name' => __( 'Custom Code Snippets', 'blocksy-companion' ),
200
+ 'description' => __( 'Add custom code snippets in your header and footer, globally and per post or page individually.', 'blocksy-companion' ),
201
  'pro' => true,
202
  ],
203
  'readme' => '',
207
  'path' => null,
208
  '__object' => null,
209
  'config' => [
210
+ 'name' => __( 'Custom Fonts', 'blocksy-companion' ),
211
+ 'description' => __( 'Upload unlimited number of custom fonts or variable fonts and use them in any typography option.', 'blocksy-companion' ),
212
  'pro' => true,
213
  ],
214
  'readme' => '',
218
  'path' => null,
219
  '__object' => null,
220
  'config' => [
221
+ 'name' => __( 'Local Google Fonts', 'blocksy-companion' ),
222
+ 'description' => __( 'Serve Google Fonts from your own server for full GDPR compliancy.', 'blocksy-companion' ),
223
  'pro' => true,
224
  ],
225
  'readme' => '',
229
  'path' => null,
230
  '__object' => null,
231
  'config' => [
232
+ 'name' => __( 'Advanced Menu', 'blocksy-companion' ),
233
+ 'description' => __( 'Create beautiful mega menus, assign icons add badges to menu items, and content blocks inside menu items.', 'blocksy-companion' ),
234
  'pro' => true,
235
  ],
236
  'readme' => '',
240
  'path' => null,
241
  '__object' => null,
242
  'config' => [
243
+ 'name' => __( 'Shortcuts Bar', 'blocksy-companion' ),
244
+ 'description' => __( 'Transform your website into a app like by displaying a neat shortcuts bar at the bottom of the vieport.', 'blocksy-companion' ),
245
  'pro' => true,
246
  ],
247
  'readme' => '',
251
  'path' => null,
252
  '__object' => null,
253
  'config' => [
254
+ 'name' => __( 'Multiple Sidebars', 'blocksy-companion' ),
255
+ 'description' => __( 'Create unlimited number of sidebars and display them conditionaly on any page or post.', 'blocksy-companion' ),
256
  'pro' => true,
257
  ],
258
  'readme' => '',
262
  'path' => null,
263
  '__object' => null,
264
  'config' => [
265
+ 'name' => __( 'White Label (Agency Package)', 'blocksy-companion' ),
266
+ 'description' => __( 'Change the theme and companion plugin branding to your own custom one.', 'blocksy-companion' ),
267
  'pro' => true,
268
  ],
269
  'readme' => '',
273
  'path' => null,
274
  '__object' => null,
275
  'config' => [
276
+ 'name' => __( 'WooCommerce Extra', 'blocksy-companion' ),
277
+ 'description' => __( 'Increase the conversion rate by adding a product quick view modal, a floating cart. Control the single product gallery/slider and the layout, add a wishlits page.', 'blocksy-companion' ),
278
  'pro' => true,
279
  ],
280
  'readme' => '',
framework/extensions/cookies-consent/config.php CHANGED
@@ -1,6 +1,6 @@
1
  <?php
2
 
3
  $config = [
4
- 'name' => __('Cookies Consent', 'blc'),
5
- 'description' => __('Display a cookie acceptance box in order to comply with the privacy regulations in your country.', 'blc')
6
  ];
1
  <?php
2
 
3
  $config = [
4
+ 'name' => __('Cookies Consent', 'blocksy-companion'),
5
+ 'description' => __('Display a cookie acceptance box in order to comply with the privacy regulations in your country.', 'blocksy-companion')
6
  ];
framework/extensions/cookies-consent/customizer.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
  $options = [
4
- 'title' => __('Cookie Consent', 'blc'),
5
  'container' => [ 'priority' => 8 ],
6
  'options' => [
7
 
@@ -15,7 +15,7 @@ $options = [
15
  ],
16
 
17
  blocksy_rand_md5() => [
18
- 'title' => __( 'General', 'blc' ),
19
  'type' => 'tab',
20
  'options' => [
21
 
@@ -28,19 +28,19 @@ $options = [
28
 
29
  'type-1' => [
30
  'src' => BLOCKSY_URL . 'framework/extensions/cookies-consent/static/images/type-1.svg',
31
- 'title' => __( 'Type 1', 'blc' ),
32
  ],
33
 
34
  'type-2' => [
35
  'src' => BLOCKSY_URL . 'framework/extensions/cookies-consent/static/images/type-2.svg',
36
- 'title' => __( 'Type 2', 'blc' ),
37
  ],
38
 
39
  ],
40
  ],
41
 
42
  'cookie_consent_period' => [
43
- 'label' => __('Cookie period', 'blc'),
44
  'type' => 'ct-select',
45
  'value' => 'forever',
46
  'design' => 'inline',
@@ -48,23 +48,23 @@ $options = [
48
  'choices' => blocksy_ordered_keys(
49
 
50
  [
51
- 'onehour' => __( 'One hour', 'blc' ),
52
- 'oneday' => __( 'One day', 'blc' ),
53
- 'oneweek' => __( 'One week', 'blc' ),
54
- 'onemonth' => __( 'One month', 'blc' ),
55
- 'threemonths' => __( 'Three months', 'blc' ),
56
- 'sixmonths' => __( 'Six months', 'blc' ),
57
- 'oneyear' => __( 'One year', 'blc' ),
58
- 'forever' => __('Forever', 'blc')
59
  ]
60
 
61
  ),
62
  ],
63
 
64
  'cookie_consent_content' => [
65
- 'label' => __( 'Content', 'blc' ),
66
  'type' => 'wp-editor',
67
- 'value' => __('We use cookies to ensure that we give you the best experience on our website.', 'blc'),
68
  'disableRevertButton' => true,
69
  'setting' => [ 'transport' => 'postMessage' ],
70
 
@@ -76,10 +76,10 @@ $options = [
76
  ],
77
 
78
  'cookie_consent_button_text' => [
79
- 'label' => __( 'Button text', 'blc' ),
80
  'type' => 'text',
81
  'design' => 'block',
82
- 'value' => __('Accept', 'blc'),
83
  'setting' => [ 'transport' => 'postMessage' ],
84
  ],
85
 
@@ -87,12 +87,12 @@ $options = [
87
  ],
88
 
89
  blocksy_rand_md5() => [
90
- 'title' => __( 'Design', 'blc' ),
91
  'type' => 'tab',
92
  'options' => [
93
 
94
  'cookieContentColor' => [
95
- 'label' => __( 'Font Color', 'blc' ),
96
  'type' => 'ct-color-picker',
97
  'design' => 'inline',
98
  'setting' => [ 'transport' => 'postMessage' ],
@@ -109,13 +109,13 @@ $options = [
109
 
110
  'pickers' => [
111
  [
112
- 'title' => __( 'Initial', 'blc' ),
113
  'id' => 'default',
114
  'inherit' => 'var(--color)'
115
  ],
116
 
117
  [
118
- 'title' => __( 'Hover', 'blc' ),
119
  'id' => 'hover',
120
  'inherit' => 'var(--colorHover)'
121
  ],
@@ -123,7 +123,7 @@ $options = [
123
  ],
124
 
125
  'cookieButtonBackground' => [
126
- 'label' => __( 'Button Color', 'blc' ),
127
  'type' => 'ct-color-picker',
128
  'design' => 'inline',
129
  'setting' => [ 'transport' => 'postMessage' ],
@@ -139,19 +139,19 @@ $options = [
139
 
140
  'pickers' => [
141
  [
142
- 'title' => __( 'Initial', 'blc' ),
143
  'id' => 'default',
144
  ],
145
 
146
  [
147
- 'title' => __( 'Hover', 'blc' ),
148
  'id' => 'hover',
149
  ],
150
  ],
151
  ],
152
 
153
  'cookieBackground' => [
154
- 'label' => __( 'Background Color', 'blc' ),
155
  'type' => 'ct-color-picker',
156
  'design' => 'inline',
157
  'setting' => [ 'transport' => 'postMessage' ],
@@ -164,7 +164,7 @@ $options = [
164
 
165
  'pickers' => [
166
  [
167
- 'title' => __( 'Initial', 'blc' ),
168
  'id' => 'default',
169
  ],
170
  ],
@@ -176,7 +176,7 @@ $options = [
176
  'options' => [
177
 
178
  'cookieMaxWidth' => [
179
- 'label' => __( 'Maximum Width', 'blc' ),
180
  'type' => 'ct-slider',
181
  'value' => 400,
182
  'min' => 200,
@@ -199,11 +199,11 @@ $options = [
199
  'label' => false,
200
  'type' => 'wp-editor',
201
  'value' => sprintf(
202
- __('I accept the %sPrivacy Policy%s*', 'blc'),
203
  '<a href="/privacy-policy">',
204
  '</a>'
205
  ),
206
- 'desc' => __( 'This text will appear under each comment form and subscribe form.', 'blc' ),
207
  // 'attr' => [ 'data-height' => 'heading-label' ],
208
  'disableRevertButton' => true,
209
  'setting' => [ 'transport' => 'postMessage' ],
1
  <?php
2
 
3
  $options = [
4
+ 'title' => __('Cookie Consent', 'blocksy-companion'),
5
  'container' => [ 'priority' => 8 ],
6
  'options' => [
7
 
15
  ],
16
 
17
  blocksy_rand_md5() => [
18
+ 'title' => __( 'General', 'blocksy-companion' ),
19
  'type' => 'tab',
20
  'options' => [
21
 
28
 
29
  'type-1' => [
30
  'src' => BLOCKSY_URL . 'framework/extensions/cookies-consent/static/images/type-1.svg',
31
+ 'title' => __( 'Type 1', 'blocksy-companion' ),
32
  ],
33
 
34
  'type-2' => [
35
  'src' => BLOCKSY_URL . 'framework/extensions/cookies-consent/static/images/type-2.svg',
36
+ 'title' => __( 'Type 2', 'blocksy-companion' ),
37
  ],
38
 
39
  ],
40
  ],
41
 
42
  'cookie_consent_period' => [
43
+ 'label' => __('Cookie period', 'blocksy-companion'),
44
  'type' => 'ct-select',
45
  'value' => 'forever',
46
  'design' => 'inline',
48
  'choices' => blocksy_ordered_keys(
49
 
50
  [
51
+ 'onehour' => __( 'One hour', 'blocksy-companion' ),
52
+ 'oneday' => __( 'One day', 'blocksy-companion' ),
53
+ 'oneweek' => __( 'One week', 'blocksy-companion' ),
54
+ 'onemonth' => __( 'One month', 'blocksy-companion' ),
55
+ 'threemonths' => __( 'Three months', 'blocksy-companion' ),
56
+ 'sixmonths' => __( 'Six months', 'blocksy-companion' ),
57
+ 'oneyear' => __( 'One year', 'blocksy-companion' ),
58
+ 'forever' => __('Forever', 'blocksy-companion')
59
  ]
60
 
61
  ),
62
  ],
63
 
64
  'cookie_consent_content' => [
65
+ 'label' => __( 'Content', 'blocksy-companion' ),
66
  'type' => 'wp-editor',
67
+ 'value' => __('We use cookies to ensure that we give you the best experience on our website.', 'blocksy-companion'),
68
  'disableRevertButton' => true,
69
  'setting' => [ 'transport' => 'postMessage' ],
70
 
76
  ],
77
 
78
  'cookie_consent_button_text' => [
79
+ 'label' => __( 'Button text', 'blocksy-companion' ),
80
  'type' => 'text',
81
  'design' => 'block',
82
+ 'value' => __('Accept', 'blocksy-companion'),
83
  'setting' => [ 'transport' => 'postMessage' ],
84
  ],
85
 
87
  ],
88
 
89
  blocksy_rand_md5() => [
90
+ 'title' => __( 'Design', 'blocksy-companion' ),
91
  'type' => 'tab',
92
  'options' => [
93
 
94
  'cookieContentColor' => [
95
+ 'label' => __( 'Font Color', 'blocksy-companion' ),
96
  'type' => 'ct-color-picker',
97
  'design' => 'inline',
98
  'setting' => [ 'transport' => 'postMessage' ],
109
 
110
  'pickers' => [
111
  [
112
+ 'title' => __( 'Initial', 'blocksy-companion' ),
113
  'id' => 'default',
114
  'inherit' => 'var(--color)'
115
  ],
116
 
117
  [
118
+ 'title' => __( 'Hover', 'blocksy-companion' ),
119
  'id' => 'hover',
120
  'inherit' => 'var(--colorHover)'
121
  ],
123
  ],
124
 
125
  'cookieButtonBackground' => [
126
+ 'label' => __( 'Button Color', 'blocksy-companion' ),
127
  'type' => 'ct-color-picker',
128
  'design' => 'inline',
129
  'setting' => [ 'transport' => 'postMessage' ],
139
 
140
  'pickers' => [
141
  [
142
+ 'title' => __( 'Initial', 'blocksy-companion' ),
143
  'id' => 'default',
144
  ],
145
 
146
  [
147
+ 'title' => __( 'Hover', 'blocksy-companion' ),
148
  'id' => 'hover',
149
  ],
150
  ],
151
  ],
152
 
153
  'cookieBackground' => [
154
+ 'label' => __( 'Background Color', 'blocksy-companion' ),
155
  'type' => 'ct-color-picker',
156
  'design' => 'inline',
157
  'setting' => [ 'transport' => 'postMessage' ],
164
 
165
  'pickers' => [
166
  [
167
+ 'title' => __( 'Initial', 'blocksy-companion' ),
168
  'id' => 'default',
169
  ],
170
  ],
176
  'options' => [
177
 
178
  'cookieMaxWidth' => [
179
+ 'label' => __( 'Maximum Width', 'blocksy-companion' ),
180
  'type' => 'ct-slider',
181
  'value' => 400,
182
  'min' => 200,
199
  'label' => false,
200
  'type' => 'wp-editor',
201
  'value' => sprintf(
202
+ __('I accept the %sPrivacy Policy%s*', 'blocksy-companion'),
203
  '<a href="/privacy-policy">',
204
  '</a>'
205
  ),
206
+ 'desc' => __( 'This text will appear under each comment form and subscribe form.', 'blocksy-companion' ),
207
  // 'attr' => [ 'data-height' => 'heading-label' ],
208
  'disableRevertButton' => true,
209
  'setting' => [ 'transport' => 'postMessage' ],
framework/extensions/cookies-consent/helpers.php CHANGED
@@ -27,10 +27,10 @@ function blocksy_ext_cookies_consent_output($forced = false) {
27
 
28
  $content = get_theme_mod(
29
  'cookie_consent_content',
30
- __('We use cookies to ensure that we give you the best experience on our website.', 'blc')
31
  );
32
 
33
- $button_text = get_theme_mod('cookie_consent_button_text', __('Accept', 'blc'));
34
  $period = get_theme_mod('cookie_consent_period', 'forever');
35
  $type = get_theme_mod('cookie_consent_type', 'type-1');
36
 
@@ -75,7 +75,7 @@ function blocksy_ext_cookies_checkbox($prefix = '') {
75
  $message = get_theme_mod(
76
  'forms_cookie_consent_content',
77
  sprintf(
78
- __('I accept the %sPrivacy Policy%s', 'blc'),
79
  '<a href="/privacy-policy">',
80
  '</a>'
81
  )
27
 
28
  $content = get_theme_mod(
29
  'cookie_consent_content',
30
+ __('We use cookies to ensure that we give you the best experience on our website.', 'blocksy-companion')
31
  );
32
 
33
+ $button_text = get_theme_mod('cookie_consent_button_text', __('Accept', 'blocksy-companion'));
34
  $period = get_theme_mod('cookie_consent_period', 'forever');
35
  $type = get_theme_mod('cookie_consent_type', 'type-1');
36
 
75
  $message = get_theme_mod(
76
  'forms_cookie_consent_content',
77
  sprintf(
78
+ __('I accept the %sPrivacy Policy%s', 'blocksy-companion'),
79
  '<a href="/privacy-policy">',
80
  '</a>'
81
  )
framework/extensions/cookies-consent/readme.php CHANGED
@@ -1,22 +1,22 @@
1
- <h2><?php echo __('Instructions', 'blc'); ?></h2>
2
 
3
  <p>
4
- <?php echo __('After installing and activating the Cookies Consent extension you will be able to configure it from this location:', 'blc') ?>
5
  </p>
6
 
7
  <ul class="ct-modal-list">
8
  <li>
9
- <h4><?php echo __('Customizer', 'blc') ?></h4>
10
  <i>
11
  <?php
12
  echo sprintf(
13
- __('Navigate to %s and customize the notification to meet your needs.', 'blc'),
14
  sprintf(
15
  '<code>%s</code>',
16
- __('Customizer ➝ Cookie Consent', 'blc')
17
  )
18
  );
19
  ?>
20
  </i>
21
  </li>
22
- </ul>
1
+ <h2><?php echo __('Instructions', 'blocksy-companion'); ?></h2>
2
 
3
  <p>
4
+ <?php echo __('After installing and activating the Cookies Consent extension you will be able to configure it from this location:', 'blocksy-companion') ?>
5
  </p>
6
 
7
  <ul class="ct-modal-list">
8
  <li>
9
+ <h4><?php echo __('Customizer', 'blocksy-companion') ?></h4>
10
  <i>
11
  <?php
12
  echo sprintf(
13
+ __('Navigate to %s and customize the notification to meet your needs.', 'blocksy-companion'),
14
  sprintf(
15
  '<code>%s</code>',
16
+ __('Customizer ➝ Cookie Consent', 'blocksy-companion')
17
  )
18
  );
19
  ?>
20
  </i>
21
  </li>
22
+ </ul>
framework/extensions/cookies-consent/static/bundle/main.min.css CHANGED
@@ -1,5 +1,5 @@
1
  /**
2
- * - v1.8.9.4
3
  *
4
  * Copyright (c) 2021
5
  * Licensed GPLv2+
1
  /**
2
+ * - v1.8.9.5
3
  *
4
  * Copyright (c) 2021
5
  * Licensed GPLv2+
framework/extensions/newsletter-subscribe/admin-static/bundle/{2.61bd55d629d700145be1.js → 2.b8cdca0a643ec9bd1ed2.js} RENAMED
@@ -1 +1 @@
1
- (window.blocksyNewsletterSubscribeExtJsonp=window.blocksyNewsletterSubscribeExtJsonp||[]).push([[2],{13:function(e,t,n){"use strict";n.r(t);var r=n(0),a=n(12),c=n(2),i=n(6),o=n.n(i);function u(){return(u=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 l(e,t,n,r,a,c,i){try{var o=e[c](i),u=o.value}catch(e){return void n(e)}o.done?t(u):Promise.resolve(u).then(r,a)}function s(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,a=!1,c=void 0;try{for(var i,o=e[Symbol.iterator]();!(r=(i=o.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){a=!0,c=e}finally{try{r||null==o.return||o.return()}finally{if(a)throw c}}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 d=null;t.default=function(e){var t=e.value,n=e.onChange,i=s(Object(r.useState)(d||[]),2),f=i[0],p=i[1],b=s(Object(r.useState)(!d),2),m=b[0],v=b[1],y=function(){var e,t=(e=regeneratorRuntime.mark((function e(){var t,n,r,a=arguments;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return(!(a.length>0&&void 0!==a[0])||a[0])&&v(!0),(t=new FormData).append("action","blocksy_ext_newsletter_subscribe_get_actual_lists"),e.prev=4,e.next=7,fetch(ajaxurl,{method:"POST",body:t});case 7:if(200!==(n=e.sent).status){e.next=18;break}return e.next=11,n.json();case 11:if(!(r=e.sent).success){e.next=18;break}if("api_key_invalid"===r.data.result){e.next=18;break}return v(!1),p(r.data.result),d=r.data.result,e.abrupt("return");case 18:e.next=22;break;case 20:e.prev=20,e.t0=e.catch(4);case 22:v(!1);case 23:case"end":return e.stop()}}),e,null,[[4,20]])})),function(){var t=this,n=arguments;return new Promise((function(r,a){var c=e.apply(t,n);function i(e){l(c,r,a,i,o,"next",e)}function o(e){l(c,r,a,i,o,"throw",e)}i(void 0)}))});return function(){return t.apply(this,arguments)}}();return Object(r.useEffect)((function(){y(!d)}),[]),0===f.length?Object(r.createElement)("div",{className:"ct-select-input"},Object(r.createElement)("input",{disabled:!0,placeholder:m?Object(c.__)("Loading...","blc"):Object(c.__)("Invalid API Key...","blc")})):Object(r.createElement)(a.a,{selectedItem:t||f[0].id,onChange:function(e){return n(e)},itemToString:function(e){return e?(f.find((function(t){return t.id===e}))||{}).name:""}},(function(e){var t=e.getInputProps,n=e.getItemProps,a=(e.getLabelProps,e.getMenuProps),i=e.isOpen,l=(e.inputValue,e.highlightedIndex),s=e.selectedItem,d=e.openMenu;return Object(r.createElement)("div",{className:"ct-select-input"},Object(r.createElement)("input",u({},t({onFocus:function(){return d()},onClick:function(){return d()}}),{placeholder:Object(c.__)("Select list...","blc"),readOnly:!0})),i&&Object(r.createElement)("div",a({className:"ct-select-dropdown"}),f.map((function(e,t){return Object(r.createElement)("div",n({key:e.id,index:t,item:e.id,className:o()("ct-select-dropdown-item",{active:l===t,selected:s===e.id})}),e.name)}))))}))}}}]);
1
+ (window.blocksyNewsletterSubscribeExtJsonp=window.blocksyNewsletterSubscribeExtJsonp||[]).push([[2],{13:function(e,t,n){"use strict";n.r(t);var r=n(0),a=n(12),c=n(2),o=n(6),i=n.n(o);function u(){return(u=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 s(e,t,n,r,a,c,o){try{var i=e[c](o),u=i.value}catch(e){return void n(e)}i.done?t(u):Promise.resolve(u).then(r,a)}function l(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,a=!1,c=void 0;try{for(var o,i=e[Symbol.iterator]();!(r=(o=i.next()).done)&&(n.push(o.value),!t||n.length!==t);r=!0);}catch(e){a=!0,c=e}finally{try{r||null==i.return||i.return()}finally{if(a)throw c}}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 d=null;t.default=function(e){var t=e.value,n=e.onChange,o=l(Object(r.useState)(d||[]),2),f=o[0],p=o[1],b=l(Object(r.useState)(!d),2),m=b[0],v=b[1],y=function(){var e,t=(e=regeneratorRuntime.mark((function e(){var t,n,r,a=arguments;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return(!(a.length>0&&void 0!==a[0])||a[0])&&v(!0),(t=new FormData).append("action","blocksy_ext_newsletter_subscribe_get_actual_lists"),e.prev=4,e.next=7,fetch(ajaxurl,{method:"POST",body:t});case 7:if(200!==(n=e.sent).status){e.next=18;break}return e.next=11,n.json();case 11:if(!(r=e.sent).success){e.next=18;break}if("api_key_invalid"===r.data.result){e.next=18;break}return v(!1),p(r.data.result),d=r.data.result,e.abrupt("return");case 18:e.next=22;break;case 20:e.prev=20,e.t0=e.catch(4);case 22:v(!1);case 23:case"end":return e.stop()}}),e,null,[[4,20]])})),function(){var t=this,n=arguments;return new Promise((function(r,a){var c=e.apply(t,n);function o(e){s(c,r,a,o,i,"next",e)}function i(e){s(c,r,a,o,i,"throw",e)}o(void 0)}))});return function(){return t.apply(this,arguments)}}();return Object(r.useEffect)((function(){y(!d)}),[]),0===f.length?Object(r.createElement)("div",{className:"ct-select-input"},Object(r.createElement)("input",{disabled:!0,placeholder:m?Object(c.__)("Loading...","blocksy-companion"):Object(c.__)("Invalid API Key...","blocksy-companion")})):Object(r.createElement)(a.a,{selectedItem:t||f[0].id,onChange:function(e){return n(e)},itemToString:function(e){return e?(f.find((function(t){return t.id===e}))||{}).name:""}},(function(e){var t=e.getInputProps,n=e.getItemProps,a=(e.getLabelProps,e.getMenuProps),o=e.isOpen,s=(e.inputValue,e.highlightedIndex),l=e.selectedItem,d=e.openMenu;return Object(r.createElement)("div",{className:"ct-select-input"},Object(r.createElement)("input",u({},t({onFocus:function(){return d()},onClick:function(){return d()}}),{placeholder:Object(c.__)("Select list...","blocksy-companion"),readOnly:!0})),o&&Object(r.createElement)("div",a({className:"ct-select-dropdown"}),f.map((function(e,t){return Object(r.createElement)("div",n({key:e.id,index:t,item:e.id,className:i()("ct-select-dropdown-item",{active:s===t,selected:l===e.id})}),e.name)}))))}))}}}]);
framework/extensions/newsletter-subscribe/admin-static/bundle/main.js CHANGED
@@ -1 +1 @@
1
- !function(e){function t(t){for(var n,o,c=t[0],i=t[1],u=0,a=[];u<c.length;u++)o=c[u],Object.prototype.hasOwnProperty.call(r,o)&&r[o]&&a.push(r[o][0]),r[o]=0;for(n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n]);for(l&&l(t);a.length;)a.shift()()}var n={},r={0:0};function o(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,o),r.l=!0,r.exports}o.e=function(e){var t=[],n=r[e];if(0!==n)if(n)t.push(n[2]);else{var c=new Promise((function(t,o){n=r[e]=[t,o]}));t.push(n[2]=c);var i,u=document.createElement("script");u.charset="utf-8",u.timeout=120,o.nc&&u.setAttribute("nonce",o.nc),u.src=function(e){return o.p+""+e+"."+{1:"f588f19f53311c8b6a0a",2:"61bd55d629d700145be1"}[e]+".js"}(e);var l=new Error;i=function(t){u.onerror=u.onload=null,clearTimeout(a);var n=r[e];if(0!==n){if(n){var o=t&&("load"===t.type?"missing":t.type),c=t&&t.target&&t.target.src;l.message="Loading chunk "+e+" failed.\n("+o+": "+c+")",l.name="ChunkLoadError",l.type=o,l.request=c,n[1](l)}r[e]=void 0}};var a=setTimeout((function(){i({type:"timeout",target:u})}),12e4);u.onerror=u.onload=i,document.head.appendChild(u)}return Promise.all(t)},o.m=e,o.c=n,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)o.d(n,r,function(t){return e[t]}.bind(null,r));return n},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o.oe=function(e){throw console.error(e),e};var c=window.blocksyNewsletterSubscribeExtJsonp=window.blocksyNewsletterSubscribeExtJsonp||[],i=c.push.bind(c);c.push=t,c=c.slice();for(var u=0;u<c.length;u++)t(c[u]);var l=i;o(o.s=5)}([function(e,t){e.exports=window.wp.element},function(e,t){e.exports=window.React},function(e,t){e.exports=window.wp.i18n},function(e,t){e.exports=window.ctEvents},function(e,t,n){n.p=blocksy_ext_newsletter_subscribe_localization.public_url},function(e,t,n){"use strict";n.r(t);n(4);var r=n(0),o=n(2),c=n(1),i=Object(c.lazy)((function(){return Promise.all([n.e(1),n.e(2)]).then(n.bind(null,13))})),u=function(e){return Object(r.createElement)("div",null,Object(r.createElement)(c.Suspense,{fallback:Object(r.createElement)("div",{className:"ct-select-input"},Object(r.createElement)("input",{disabled:!0,placeholder:Object(o.__)("Loading...","blc")}))},Object(r.createElement)(i,e)))},l=n(3),a=n.n(l);document.addEventListener("DOMContentLoaded",(function(){return a.a.on("blocksy:options:register",(function(e){e["blocksy-newsletter-subscribe"]=u}))}))}]);
1
+ !function(e){function t(t){for(var n,o,c=t[0],i=t[1],u=0,a=[];u<c.length;u++)o=c[u],Object.prototype.hasOwnProperty.call(r,o)&&r[o]&&a.push(r[o][0]),r[o]=0;for(n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n]);for(l&&l(t);a.length;)a.shift()()}var n={},r={0:0};function o(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,o),r.l=!0,r.exports}o.e=function(e){var t=[],n=r[e];if(0!==n)if(n)t.push(n[2]);else{var c=new Promise((function(t,o){n=r[e]=[t,o]}));t.push(n[2]=c);var i,u=document.createElement("script");u.charset="utf-8",u.timeout=120,o.nc&&u.setAttribute("nonce",o.nc),u.src=function(e){return o.p+""+e+"."+{1:"f588f19f53311c8b6a0a",2:"b8cdca0a643ec9bd1ed2"}[e]+".js"}(e);var l=new Error;i=function(t){u.onerror=u.onload=null,clearTimeout(a);var n=r[e];if(0!==n){if(n){var o=t&&("load"===t.type?"missing":t.type),c=t&&t.target&&t.target.src;l.message="Loading chunk "+e+" failed.\n("+o+": "+c+")",l.name="ChunkLoadError",l.type=o,l.request=c,n[1](l)}r[e]=void 0}};var a=setTimeout((function(){i({type:"timeout",target:u})}),12e4);u.onerror=u.onload=i,document.head.appendChild(u)}return Promise.all(t)},o.m=e,o.c=n,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)o.d(n,r,function(t){return e[t]}.bind(null,r));return n},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o.oe=function(e){throw console.error(e),e};var c=window.blocksyNewsletterSubscribeExtJsonp=window.blocksyNewsletterSubscribeExtJsonp||[],i=c.push.bind(c);c.push=t,c=c.slice();for(var u=0;u<c.length;u++)t(c[u]);var l=i;o(o.s=5)}([function(e,t){e.exports=window.wp.element},function(e,t){e.exports=window.React},function(e,t){e.exports=window.wp.i18n},function(e,t){e.exports=window.ctEvents},function(e,t,n){n.p=blocksy_ext_newsletter_subscribe_localization.public_url},function(e,t,n){"use strict";n.r(t);n(4);var r=n(0),o=n(2),c=n(1),i=Object(c.lazy)((function(){return Promise.all([n.e(1),n.e(2)]).then(n.bind(null,13))})),u=function(e){return Object(r.createElement)("div",null,Object(r.createElement)(c.Suspense,{fallback:Object(r.createElement)("div",{className:"ct-select-input"},Object(r.createElement)("input",{disabled:!0,placeholder:Object(o.__)("Loading...","blocksy-companion")}))},Object(r.createElement)(i,e)))},l=n(3),a=n.n(l);document.addEventListener("DOMContentLoaded",(function(){return a.a.on("blocksy:options:register",(function(e){e["blocksy-newsletter-subscribe"]=u}))}))}]);
framework/extensions/newsletter-subscribe/admin-static/js/ListPicker.js CHANGED
@@ -11,7 +11,7 @@ const ListPicker = (props) => (
11
  <Suspense
12
  fallback={
13
  <div className="ct-select-input">
14
- <input disabled placeholder={__('Loading...', 'blc')} />
15
  </div>
16
  }>
17
  <ListPickerImplementation {...props} />
11
  <Suspense
12
  fallback={
13
  <div className="ct-select-input">
14
+ <input disabled placeholder={__('Loading...', 'blocksy-companion')} />
15
  </div>
16
  }>
17
  <ListPickerImplementation {...props} />
framework/extensions/newsletter-subscribe/admin-static/js/ListPicker/Implementation.js CHANGED
@@ -60,8 +60,8 @@ const ListPickerImplementation = ({ value, onChange }) => {
60
  disabled
61
  placeholder={
62
  isLoadingLists
63
- ? __('Loading...', 'blc')
64
- : __('Invalid API Key...', 'blc')
65
  }
66
  />
67
  </div>
@@ -89,7 +89,7 @@ const ListPickerImplementation = ({ value, onChange }) => {
89
  onFocus: () => openMenu(),
90
  onClick: () => openMenu(),
91
  })}
92
- placeholder={__('Select list...', 'blc')}
93
  readOnly
94
  />
95
 
60
  disabled
61
  placeholder={
62
  isLoadingLists
63
+ ? __('Loading...', 'blocksy-companion')
64
+ : __('Invalid API Key...', 'blocksy-companion')
65
  }
66
  />
67
  </div>
89
  onFocus: () => openMenu(),
90
  onClick: () => openMenu(),
91
  })}
92
+ placeholder={__('Select list...', 'blocksy-companion')}
93
  readOnly
94
  />
95
 
framework/extensions/newsletter-subscribe/config.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
  $config = [
4
- 'name' => __('Newsletter Subscribe', 'blc'),
5
- 'description' => __('Easily capture new leads for your newsletter with the help of a widget, shortcode or even a block inserted on your pages or posts.', 'blc')
6
  ];
7
 
1
  <?php
2
 
3
  $config = [
4
+ 'name' => __('Newsletter Subscribe', 'blocksy-companion'),
5
+ 'description' => __('Easily capture new leads for your newsletter with the help of a widget, shortcode or even a block inserted on your pages or posts.', 'blocksy-companion')
6
  ];
7
 
framework/extensions/newsletter-subscribe/ct-newsletter-subscribe/options.php CHANGED
@@ -11,27 +11,27 @@
11
  $options = [
12
  'title' => [
13
  'type' => 'text',
14
- 'label' => __( 'Title', 'blc' ),
15
  'field_attr' => [ 'id' => 'widget-title' ],
16
  'design' => 'inline',
17
- 'value' => __( 'Newsletter', 'blc' ),
18
  'disableRevertButton' => true,
19
  ],
20
 
21
  // 'newsletter_subscribe_text' => [
22
- // 'label' => __( 'Message', 'blc' ),
23
  // 'type' => 'textarea',
24
- // 'value' => __( 'Enter your email address below to subscribe to our newsletter', 'blc' ),
25
  // 'design' => 'inline',
26
  // 'disableRevertButton' => true,
27
  // ],
28
 
29
  'newsletter_subscribe_text' => [
30
- 'label' => __( 'Text', 'blc' ),
31
  'type' => 'wp-editor',
32
  'design' => 'inline',
33
- 'value' => __( 'Enter your email address below to subscribe to our newsletter', 'blc' ),
34
- 'desc' => __( 'You can add here some arbitrary HTML code.', 'blc' ),
35
  'disableRevertButton' => true,
36
  'setting' => [ 'transport' => 'postMessage' ],
37
 
@@ -43,15 +43,15 @@ $options = [
43
 
44
  'newsletter_subscribe_list_id_source' => [
45
  'type' => 'ct-radio',
46
- 'label' => __( 'List Source', 'blc' ),
47
  'value' => 'default',
48
  'view' => 'radio',
49
  'inline' => true,
50
  'design' => 'inline',
51
  'disableRevertButton' => true,
52
  'choices' => [
53
- 'default' => __('Default', 'blc'),
54
- 'custom' => __('Custom', 'blc'),
55
  ],
56
  ],
57
 
@@ -61,7 +61,7 @@ $options = [
61
  'options' => [
62
 
63
  'newsletter_subscribe_list_id' => [
64
- 'label' => __( 'List ID', 'blc' ),
65
  'type' => 'blocksy-newsletter-subscribe',
66
  'value' => '',
67
  'design' => 'inline',
@@ -73,7 +73,7 @@ $options = [
73
 
74
  'has_newsletter_subscribe_name' => [
75
  'type' => 'ct-switch',
76
- 'label' => __( 'Name Field', 'blc' ),
77
  'value' => 'no',
78
  'disableRevertButton' => true,
79
  ],
@@ -85,9 +85,9 @@ $options = [
85
 
86
  'newsletter_subscribe_name_label' => [
87
  'type' => 'text',
88
- 'label' => __( 'Name Label', 'blc' ),
89
  'design' => 'inline',
90
- 'value' => __( 'Your name', 'blc' ),
91
  'disableRevertButton' => true,
92
  ],
93
 
@@ -96,35 +96,35 @@ $options = [
96
 
97
  'newsletter_subscribe_mail_label' => [
98
  'type' => 'text',
99
- 'label' => __( 'Mail Label', 'blc' ),
100
  'design' => 'inline',
101
- 'value' => __( 'Your email', 'blc' ),
102
  'disableRevertButton' => true,
103
  ],
104
 
105
  'newsletter_subscribe_button_text' => [
106
  'type' => 'text',
107
- 'label' => __( 'Button Label', 'blc' ),
108
  'design' => 'inline',
109
- 'value' => __( 'Subscribe', 'blc' ),
110
  'disableRevertButton' => true,
111
  ],
112
 
113
  'newsletter_subscribe_container' => [
114
- 'label' => __( 'Container Type', 'blc' ),
115
  'type' => 'ct-select',
116
  'value' => 'default',
117
  'design' => 'inline',
118
  'disableRevertButton' => true,
119
  'choices' => [
120
- 'default' => __( 'Default', 'blc' ),
121
- 'boxed' => __( 'Boxed', 'blc' ),
122
  ],
123
  ],
124
 
125
  'newsletter_subscribe_alignment' => [
126
  'type' => 'ct-radio',
127
- 'label' => __( 'Content Alignment', 'blc' ),
128
  'value' => 'left',
129
  'view' => 'text',
130
  'design' => 'inline',
11
  $options = [
12
  'title' => [
13
  'type' => 'text',
14
+ 'label' => __( 'Title', 'blocksy-companion' ),
15
  'field_attr' => [ 'id' => 'widget-title' ],
16
  'design' => 'inline',
17
+ 'value' => __( 'Newsletter', 'blocksy-companion' ),
18
  'disableRevertButton' => true,
19
  ],
20
 
21
  // 'newsletter_subscribe_text' => [
22
+ // 'label' => __( 'Message', 'blocksy-companion' ),
23
  // 'type' => 'textarea',
24
+ // 'value' => __( 'Enter your email address below to subscribe to our newsletter', 'blocksy-companion' ),
25
  // 'design' => 'inline',
26
  // 'disableRevertButton' => true,
27
  // ],
28
 
29
  'newsletter_subscribe_text' => [
30
+ 'label' => __( 'Text', 'blocksy-companion' ),
31
  'type' => 'wp-editor',
32
  'design' => 'inline',
33
+ 'value' => __( 'Enter your email address below to subscribe to our newsletter', 'blocksy-companion' ),
34
+ 'desc' => __( 'You can add here some arbitrary HTML code.', 'blocksy-companion' ),
35
  'disableRevertButton' => true,
36
  'setting' => [ 'transport' => 'postMessage' ],
37
 
43
 
44
  'newsletter_subscribe_list_id_source' => [
45
  'type' => 'ct-radio',
46
+ 'label' => __( 'List Source', 'blocksy-companion' ),
47
  'value' => 'default',
48
  'view' => 'radio',
49
  'inline' => true,
50
  'design' => 'inline',
51
  'disableRevertButton' => true,
52
  'choices' => [
53
+ 'default' => __('Default', 'blocksy-companion'),
54
+ 'custom' => __('Custom', 'blocksy-companion'),
55
  ],
56
  ],
57
 
61
  'options' => [
62
 
63
  'newsletter_subscribe_list_id' => [
64
+ 'label' => __( 'List ID', 'blocksy-companion' ),
65
  'type' => 'blocksy-newsletter-subscribe',
66
  'value' => '',
67
  'design' => 'inline',
73
 
74
  'has_newsletter_subscribe_name' => [
75
  'type' => 'ct-switch',
76
+ 'label' => __( 'Name Field', 'blocksy-companion' ),
77
  'value' => 'no',
78
  'disableRevertButton' => true,
79
  ],
85
 
86
  'newsletter_subscribe_name_label' => [
87
  'type' => 'text',
88
+ 'label' => __( 'Name Label', 'blocksy-companion' ),
89
  'design' => 'inline',
90
+ 'value' => __( 'Your name', 'blocksy-companion' ),
91
  'disableRevertButton' => true,
92
  ],
93
 
96
 
97
  'newsletter_subscribe_mail_label' => [
98
  'type' => 'text',
99
+ 'label' => __( 'Mail Label', 'blocksy-companion' ),
100
  'design' => 'inline',
101
+ 'value' => __( 'Your email', 'blocksy-companion' ),
102
  'disableRevertButton' => true,
103
  ],
104
 
105
  'newsletter_subscribe_button_text' => [
106
  'type' => 'text',
107
+ 'label' => __( 'Button Label', 'blocksy-companion' ),
108
  'design' => 'inline',
109
+ 'value' => __( 'Subscribe', 'blocksy-companion' ),
110
  'disableRevertButton' => true,
111
  ],
112
 
113
  'newsletter_subscribe_container' => [
114
+ 'label' => __( 'Container Type', 'blocksy-companion' ),
115
  'type' => 'ct-select',
116
  'value' => 'default',
117
  'design' => 'inline',
118
  'disableRevertButton' => true,
119
  'choices' => [
120
+ 'default' => __( 'Default', 'blocksy-companion' ),
121
+ 'boxed' => __( 'Boxed', 'blocksy-companion' ),
122
  ],
123
  ],
124
 
125
  'newsletter_subscribe_alignment' => [
126
  'type' => 'ct-radio',
127
+ 'label' => __( 'Content Alignment', 'blocksy-companion' ),
128
  'value' => 'left',
129
  'view' => 'text',
130
  'design' => 'inline',
framework/extensions/newsletter-subscribe/ct-newsletter-subscribe/view.php CHANGED
@@ -9,14 +9,14 @@
9
 
10
 
11
  // Widget title
12
- $title = blocksy_default_akg( 'title', $atts, __( 'Newsletter', 'blc' ) );
13
 
14
 
15
  // Message
16
- $message = do_shortcode(blocksy_default_akg( 'newsletter_subscribe_text', $atts, __( 'Enter your email address below to subscribe to our newsletter', 'blc' )));
17
 
18
  // Button text
19
- $button_text = blocksy_default_akg( 'newsletter_subscribe_button_text', $atts, __( 'Subscribe', 'blc' ) );
20
 
21
  // Form name
22
  $has_name = blocksy_default_akg( 'has_newsletter_subscribe_name', $atts, 'no' ) === 'yes';
@@ -66,8 +66,8 @@ if ( $container !== 'default' ) {
66
  // Content alignment
67
  $alignment = blocksy_default_akg('newsletter_subscribe_alignment', $atts, 'left');
68
 
69
- $name_label = blocksy_default_akg('newsletter_subscribe_name_label', $atts, __('Your name', 'blc'));
70
- $email_label = blocksy_default_akg('newsletter_subscribe_mail_label', $atts, __('Your email', 'blc'));
71
 
72
  $data_alignment = '';
73
 
@@ -101,10 +101,10 @@ echo $before_title . wp_kses_post($title) . $after_title;
101
  <?php } ?>
102
 
103
  <?php if ($has_name) { ?>
104
- <input type="text" name="FNAME" placeholder="<?php esc_attr_e($name_label, 'blc'); ?>" title="<?php echo __('Name', 'blocksy') ?>" />
105
  <?php } ?>
106
 
107
- <input type="email" name="EMAIL" placeholder="<?php esc_attr_e($email_label, 'blc'); ?> *" title="<?php echo __('Email', 'blocksy') ?>" required />
108
 
109
  <button class="button">
110
  <?php echo esc_html($button_text) ?>
9
 
10
 
11
  // Widget title
12
+ $title = blocksy_default_akg( 'title', $atts, __( 'Newsletter', 'blocksy-companion' ) );
13
 
14
 
15
  // Message
16
+ $message = do_shortcode(blocksy_default_akg( 'newsletter_subscribe_text', $atts, __( 'Enter your email address below to subscribe to our newsletter', 'blocksy-companion' )));
17
 
18
  // Button text
19
+ $button_text = blocksy_default_akg( 'newsletter_subscribe_button_text', $atts, __( 'Subscribe', 'blocksy-companion' ) );
20
 
21
  // Form name
22
  $has_name = blocksy_default_akg( 'has_newsletter_subscribe_name', $atts, 'no' ) === 'yes';
66
  // Content alignment
67
  $alignment = blocksy_default_akg('newsletter_subscribe_alignment', $atts, 'left');
68
 
69
+ $name_label = blocksy_default_akg('newsletter_subscribe_name_label', $atts, __('Your name', 'blocksy-companion'));
70
+ $email_label = blocksy_default_akg('newsletter_subscribe_mail_label', $atts, __('Your email', 'blocksy-companion'));
71
 
72
  $data_alignment = '';
73
 
101
  <?php } ?>
102
 
103
  <?php if ($has_name) { ?>
104
+ <input type="text" name="FNAME" placeholder="<?php esc_attr_e($name_label, 'blocksy-companion'); ?>" title="<?php echo __('Name', 'blocksy') ?>" />
105
  <?php } ?>
106
 
107
+ <input type="email" name="EMAIL" placeholder="<?php esc_attr_e($email_label, 'blocksy-companion'); ?> *" title="<?php echo __('Email', 'blocksy') ?>" required />
108
 
109
  <button class="button">
110
  <?php echo esc_html($button_text) ?>
framework/extensions/newsletter-subscribe/ct-newsletter-subscribe/widget.php CHANGED
@@ -10,8 +10,8 @@
10
  class Blocksy_Widget_Ct_Newsletter_Subscribe extends BlocksyWidgetFactory {
11
  protected function get_config() {
12
  return [
13
- 'name' => __('Newsletter Subscribe', 'blc'),
14
- 'description' => __('Newsletter subscribe form', 'blc'),
15
  ];
16
  }
17
 
10
  class Blocksy_Widget_Ct_Newsletter_Subscribe extends BlocksyWidgetFactory {
11
  protected function get_config() {
12
  return [
13
+ 'name' => __('Newsletter Subscribe', 'blocksy-companion'),
14
+ 'description' => __('Newsletter subscribe form', 'blocksy-companion'),
15
  ];
16
  }
17
 
framework/extensions/newsletter-subscribe/customizer.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
  $options = [
4
- 'label' => __( 'Subscribe Form', 'blc' ),
5
  'type' => 'ct-panel',
6
  'switch' => true,
7
  'value' => 'yes',
@@ -9,24 +9,24 @@ $options = [
9
  'inner-options' => [
10
 
11
  blocksy_rand_md5() => [
12
- 'title' => __( 'General', 'blc' ),
13
  'type' => 'tab',
14
  'options' => [
15
 
16
  'newsletter_subscribe_title' => [
17
  'type' => 'text',
18
- 'label' => __( 'Title', 'blc' ),
19
  'field_attr' => [ 'id' => 'widget-title' ],
20
  'design' => 'block',
21
- 'value' => __( 'Newsletter Updates', 'blc' ),
22
  'disableRevertButton' => true,
23
  'setting' => [ 'transport' => 'postMessage' ],
24
  ],
25
 
26
  'newsletter_subscribe_text' => [
27
- 'label' => __( 'Description', 'blc' ),
28
  'type' => 'textarea',
29
- 'value' => __( 'Enter your email address below to subscribe to our newsletter', 'blc' ),
30
  'design' => 'block',
31
  'disableRevertButton' => true,
32
  'setting' => [ 'transport' => 'postMessage' ],
@@ -39,15 +39,15 @@ $options = [
39
 
40
  'newsletter_subscribe_list_id_source' => [
41
  'type' => 'ct-radio',
42
- 'label' => __( 'List Source', 'blc' ),
43
  'value' => 'default',
44
  'view' => 'radio',
45
  'inline' => true,
46
  'design' => 'inline',
47
  'disableRevertButton' => true,
48
  'choices' => [
49
- 'default' => __('Default', 'blc'),
50
- 'custom' => __('Custom', 'blc'),
51
  ],
52
 
53
  'setting' => [ 'transport' => 'postMessage' ],
@@ -59,7 +59,7 @@ $options = [
59
  'options' => [
60
 
61
  'newsletter_subscribe_list_id' => [
62
- 'label' => __( 'List ID', 'blc' ),
63
  'type' => 'blocksy-newsletter-subscribe',
64
  'value' => '',
65
  'design' => 'inline',
@@ -77,7 +77,7 @@ $options = [
77
 
78
  'has_newsletter_subscribe_name' => [
79
  'type' => 'ct-switch',
80
- 'label' => __( 'Name Field', 'blc' ),
81
  'value' => 'no',
82
  'disableRevertButton' => true,
83
  'setting' => [ 'transport' => 'postMessage' ],
@@ -90,9 +90,9 @@ $options = [
90
 
91
  'newsletter_subscribe_name_label' => [
92
  'type' => 'text',
93
- 'label' => __( 'Name Label', 'blc' ),
94
  'design' => 'inline',
95
- 'value' => __( 'Your name', 'blc' ),
96
  'disableRevertButton' => true,
97
  'setting' => [ 'transport' => 'postMessage' ],
98
  ],
@@ -102,18 +102,18 @@ $options = [
102
 
103
  'newsletter_subscribe_mail_label' => [
104
  'type' => 'text',
105
- 'label' => __( 'Mail Label', 'blc' ),
106
  'design' => 'inline',
107
- 'value' => __( 'Your email', 'blc' ),
108
  'disableRevertButton' => true,
109
  'setting' => [ 'transport' => 'postMessage' ],
110
  ],
111
 
112
  'newsletter_subscribe_button_text' => [
113
  'type' => 'text',
114
- 'label' => __( 'Button Label', 'blc' ),
115
  'design' => 'inline',
116
- 'value' => __( 'Subscribe', 'blc' ),
117
  'disableRevertButton' => true,
118
  'setting' => [ 'transport' => 'postMessage' ],
119
  ],
@@ -123,7 +123,7 @@ $options = [
123
  ],
124
 
125
  'newsletter_subscribe_subscribe_visibility' => [
126
- 'label' => __( 'Visibility', 'blc' ),
127
  'type' => 'ct-visibility',
128
  'design' => 'block',
129
  'setting' => [ 'transport' => 'postMessage' ],
@@ -134,9 +134,9 @@ $options = [
134
  ],
135
 
136
  'choices' => blocksy_ordered_keys([
137
- 'desktop' => __( 'Desktop', 'blc' ),
138
- 'tablet' => __( 'Tablet', 'blc' ),
139
- 'mobile' => __( 'Mobile', 'blc' ),
140
  ]),
141
  ],
142
 
@@ -144,12 +144,12 @@ $options = [
144
  ],
145
 
146
  blocksy_rand_md5() => [
147
- 'title' => __( 'Design', 'blc' ),
148
  'type' => 'tab',
149
  'options' => [
150
 
151
  'newsletter_subscribe_title_color' => [
152
- 'label' => __( 'Title Color', 'blc' ),
153
  'type' => 'ct-color-picker',
154
  'design' => 'inline',
155
  'setting' => [ 'transport' => 'postMessage' ],
@@ -162,7 +162,7 @@ $options = [
162
 
163
  'pickers' => [
164
  [
165
- 'title' => __( 'Initial', 'blc' ),
166
  'id' => 'default',
167
  'inherit' => 'var(--heading-color, var(--heading-3-color, var(--headings-color)))'
168
  ],
@@ -170,7 +170,7 @@ $options = [
170
  ],
171
 
172
  'newsletter_subscribe_content' => [
173
- 'label' => __( 'Description Color', 'blc' ),
174
  'type' => 'ct-color-picker',
175
  'design' => 'inline',
176
  'setting' => [ 'transport' => 'postMessage' ],
@@ -187,13 +187,13 @@ $options = [
187
 
188
  'pickers' => [
189
  [
190
- 'title' => __( 'Initial', 'blc' ),
191
  'id' => 'default',
192
  'inherit' => 'var(--color)'
193
  ],
194
 
195
  [
196
- 'title' => __( 'Hover', 'blc' ),
197
  'id' => 'hover',
198
  'inherit' => 'var(--linkHoverColor)'
199
  ],
@@ -201,7 +201,7 @@ $options = [
201
  ],
202
 
203
  'newsletter_subscribe_input_font_color' => [
204
- 'label' => __( 'Input Font Color', 'blc' ),
205
  'type' => 'ct-color-picker',
206
  'design' => 'inline',
207
  'divider' => 'top',
@@ -219,13 +219,13 @@ $options = [
219
 
220
  'pickers' => [
221
  [
222
- 'title' => __( 'Initial', 'blc' ),
223
  'id' => 'default',
224
  'inherit' => 'var(--form-text-initial-color, var(--color))'
225
  ],
226
 
227
  [
228
- 'title' => __( 'Focus', 'blc' ),
229
  'id' => 'focus',
230
  'inherit' => 'var(--form-text-focus-color, var(--color))'
231
  ],
@@ -233,7 +233,7 @@ $options = [
233
  ],
234
 
235
  'newsletter_subscribe_border_color' => [
236
- 'label' => __( 'Input Border Color', 'blc' ),
237
  'type' => 'ct-color-picker',
238
  'design' => 'inline',
239
  'setting' => [ 'transport' => 'postMessage' ],
@@ -250,13 +250,13 @@ $options = [
250
 
251
  'pickers' => [
252
  [
253
- 'title' => __( 'Initial', 'blc' ),
254
  'id' => 'default',
255
  'inherit' => 'var(--form-field-border-initial-color)'
256
  ],
257
 
258
  [
259
- 'title' => __( 'Focus', 'blc' ),
260
  'id' => 'focus',
261
  'inherit' => 'var(--form-field-border-focus-color)'
262
  ],
@@ -270,7 +270,7 @@ $options = [
270
  'options' => [
271
 
272
  'newsletter_subscribe_input_background' => [
273
- 'label' => __( 'Input Background Color', 'blc' ),
274
  'type' => 'ct-color-picker',
275
  'design' => 'inline',
276
  'setting' => [ 'transport' => 'postMessage' ],
@@ -287,12 +287,12 @@ $options = [
287
 
288
  'pickers' => [
289
  [
290
- 'title' => __( 'Initial', 'blc' ),
291
  'id' => 'default',
292
  ],
293
 
294
  [
295
- 'title' => __( 'Focus', 'blc' ),
296
  'id' => 'focus',
297
  ],
298
  ],
@@ -302,7 +302,7 @@ $options = [
302
  ],
303
 
304
  'newsletter_subscribe_button' => [
305
- 'label' => __( 'Button Color', 'blc' ),
306
  'type' => 'ct-color-picker',
307
  'design' => 'inline',
308
  'setting' => [ 'transport' => 'postMessage' ],
@@ -319,19 +319,19 @@ $options = [
319
 
320
  'pickers' => [
321
  [
322
- 'title' => __( 'Initial', 'blc' ),
323
  'id' => 'default',
324
  ],
325
 
326
  [
327
- 'title' => __( 'Hover', 'blc' ),
328
  'id' => 'hover',
329
  ],
330
  ],
331
  ],
332
 
333
  'newsletter_subscribe_container_background' => [
334
- 'label' => __( 'Container Background', 'blc' ),
335
  'type' => 'ct-background',
336
  'design' => 'block:right',
337
  'responsive' => true,
@@ -347,7 +347,7 @@ $options = [
347
  ],
348
 
349
  'newsletter_subscribe_container_border' => [
350
- 'label' => __( 'Container Border', 'blc' ),
351
  'type' => 'ct-border',
352
  'sync' => 'live',
353
  'design' => 'block',
@@ -382,7 +382,7 @@ $options = [
382
  ],
383
 
384
  'newsletter_subscribe_container_spacing' => [
385
- 'label' => __( 'Container Inner Spacing', 'blc' ),
386
  'type' => 'ct-spacing',
387
  'divider' => 'top',
388
  'setting' => [ 'transport' => 'postMessage' ],
@@ -397,7 +397,7 @@ $options = [
397
  ],
398
 
399
  'newsletter_subscribe_container_border_radius' => [
400
- 'label' => __( 'Container Border Radius', 'blc' ),
401
  'type' => 'ct-spacing',
402
  'divider' => 'top',
403
  'setting' => [ 'transport' => 'postMessage' ],
1
  <?php
2
 
3
  $options = [
4
+ 'label' => __( 'Subscribe Form', 'blocksy-companion' ),
5
  'type' => 'ct-panel',
6
  'switch' => true,
7
  'value' => 'yes',
9
  'inner-options' => [
10
 
11
  blocksy_rand_md5() => [
12
+ 'title' => __( 'General', 'blocksy-companion' ),
13
  'type' => 'tab',
14
  'options' => [
15
 
16
  'newsletter_subscribe_title' => [
17
  'type' => 'text',
18
+ 'label' => __( 'Title', 'blocksy-companion' ),
19
  'field_attr' => [ 'id' => 'widget-title' ],
20
  'design' => 'block',
21
+ 'value' => __( 'Newsletter Updates', 'blocksy-companion' ),
22
  'disableRevertButton' => true,
23
  'setting' => [ 'transport' => 'postMessage' ],
24
  ],
25
 
26
  'newsletter_subscribe_text' => [
27
+ 'label' => __( 'Description', 'blocksy-companion' ),
28
  'type' => 'textarea',
29
+ 'value' => __( 'Enter your email address below to subscribe to our newsletter', 'blocksy-companion' ),
30
  'design' => 'block',
31
  'disableRevertButton' => true,
32
  'setting' => [ 'transport' => 'postMessage' ],
39
 
40
  'newsletter_subscribe_list_id_source' => [
41
  'type' => 'ct-radio',
42
+ 'label' => __( 'List Source', 'blocksy-companion' ),
43
  'value' => 'default',
44
  'view' => 'radio',
45
  'inline' => true,
46
  'design' => 'inline',
47
  'disableRevertButton' => true,
48
  'choices' => [
49
+ 'default' => __('Default', 'blocksy-companion'),
50
+ 'custom' => __('Custom', 'blocksy-companion'),
51
  ],
52
 
53
  'setting' => [ 'transport' => 'postMessage' ],
59
  'options' => [
60
 
61
  'newsletter_subscribe_list_id' => [
62
+ 'label' => __( 'List ID', 'blocksy-companion' ),
63
  'type' => 'blocksy-newsletter-subscribe',
64
  'value' => '',
65
  'design' => 'inline',
77
 
78
  'has_newsletter_subscribe_name' => [
79
  'type' => 'ct-switch',
80
+ 'label' => __( 'Name Field', 'blocksy-companion' ),
81
  'value' => 'no',
82
  'disableRevertButton' => true,
83
  'setting' => [ 'transport' => 'postMessage' ],
90
 
91
  'newsletter_subscribe_name_label' => [
92
  'type' => 'text',
93
+ 'label' => __( 'Name Label', 'blocksy-companion' ),
94
  'design' => 'inline',
95
+ 'value' => __( 'Your name', 'blocksy-companion' ),
96
  'disableRevertButton' => true,
97
  'setting' => [ 'transport' => 'postMessage' ],
98
  ],
102
 
103
  'newsletter_subscribe_mail_label' => [
104
  'type' => 'text',
105
+ 'label' => __( 'Mail Label', 'blocksy-companion' ),
106
  'design' => 'inline',
107
+ 'value' => __( 'Your email', 'blocksy-companion' ),
108
  'disableRevertButton' => true,
109
  'setting' => [ 'transport' => 'postMessage' ],
110
  ],
111
 
112
  'newsletter_subscribe_button_text' => [
113
  'type' => 'text',
114
+ 'label' => __( 'Button Label', 'blocksy-companion' ),
115
  'design' => 'inline',
116
+ 'value' => __( 'Subscribe', 'blocksy-companion' ),
117
  'disableRevertButton' => true,
118
  'setting' => [ 'transport' => 'postMessage' ],
119
  ],
123
  ],
124
 
125
  'newsletter_subscribe_subscribe_visibility' => [
126
+ 'label' => __( 'Visibility', 'blocksy-companion' ),
127
  'type' => 'ct-visibility',
128
  'design' => 'block',
129
  'setting' => [ 'transport' => 'postMessage' ],
134
  ],
135
 
136
  'choices' => blocksy_ordered_keys([
137
+ 'desktop' => __( 'Desktop', 'blocksy-companion' ),
138
+ 'tablet' => __( 'Tablet', 'blocksy-companion' ),
139
+ 'mobile' => __( 'Mobile', 'blocksy-companion' ),
140
  ]),
141
  ],
142
 
144
  ],
145
 
146
  blocksy_rand_md5() => [
147
+ 'title' => __( 'Design', 'blocksy-companion' ),
148
  'type' => 'tab',
149
  'options' => [
150
 
151
  'newsletter_subscribe_title_color' => [
152
+ 'label' => __( 'Title Color', 'blocksy-companion' ),
153
  'type' => 'ct-color-picker',
154
  'design' => 'inline',
155
  'setting' => [ 'transport' => 'postMessage' ],
162
 
163
  'pickers' => [
164
  [
165
+ 'title' => __( 'Initial', 'blocksy-companion' ),
166
  'id' => 'default',
167
  'inherit' => 'var(--heading-color, var(--heading-3-color, var(--headings-color)))'
168
  ],
170
  ],
171
 
172
  'newsletter_subscribe_content' => [
173
+ 'label' => __( 'Description Color', 'blocksy-companion' ),
174
  'type' => 'ct-color-picker',
175
  'design' => 'inline',
176
  'setting' => [ 'transport' => 'postMessage' ],
187
 
188
  'pickers' => [
189
  [
190
+ 'title' => __( 'Initial', 'blocksy-companion' ),
191
  'id' => 'default',
192
  'inherit' => 'var(--color)'
193
  ],
194
 
195
  [
196
+ 'title' => __( 'Hover', 'blocksy-companion' ),
197
  'id' => 'hover',
198
  'inherit' => 'var(--linkHoverColor)'
199
  ],
201
  ],
202
 
203
  'newsletter_subscribe_input_font_color' => [
204
+ 'label' => __( 'Input Font Color', 'blocksy-companion' ),
205
  'type' => 'ct-color-picker',
206
  'design' => 'inline',
207
  'divider' => 'top',
219
 
220
  'pickers' => [
221
  [
222
+ 'title' => __( 'Initial', 'blocksy-companion' ),
223
  'id' => 'default',
224
  'inherit' => 'var(--form-text-initial-color, var(--color))'
225
  ],
226
 
227
  [
228
+ 'title' => __( 'Focus', 'blocksy-companion' ),
229
  'id' => 'focus',
230
  'inherit' => 'var(--form-text-focus-color, var(--color))'
231
  ],
233
  ],
234
 
235
  'newsletter_subscribe_border_color' => [
236
+ 'label' => __( 'Input Border Color', 'blocksy-companion' ),
237
  'type' => 'ct-color-picker',
238
  'design' => 'inline',
239
  'setting' => [ 'transport' => 'postMessage' ],
250
 
251
  'pickers' => [
252
  [
253
+ 'title' => __( 'Initial', 'blocksy-companion' ),
254
  'id' => 'default',
255
  'inherit' => 'var(--form-field-border-initial-color)'
256
  ],
257
 
258
  [
259
+ 'title' => __( 'Focus', 'blocksy-companion' ),
260
  'id' => 'focus',
261
  'inherit' => 'var(--form-field-border-focus-color)'
262
  ],
270
  'options' => [
271
 
272
  'newsletter_subscribe_input_background' => [
273
+ 'label' => __( 'Input Background Color', 'blocksy-companion' ),
274
  'type' => 'ct-color-picker',
275
  'design' => 'inline',
276
  'setting' => [ 'transport' => 'postMessage' ],
287
 
288
  'pickers' => [
289
  [
290
+ 'title' => __( 'Initial', 'blocksy-companion' ),
291
  'id' => 'default',
292
  ],
293
 
294
  [
295
+ 'title' => __( 'Focus', 'blocksy-companion' ),
296
  'id' => 'focus',
297
  ],
298
  ],
302
  ],
303
 
304
  'newsletter_subscribe_button' => [
305
+ 'label' => __( 'Button Color', 'blocksy-companion' ),
306
  'type' => 'ct-color-picker',
307
  'design' => 'inline',
308
  'setting' => [ 'transport' => 'postMessage' ],
319
 
320
  'pickers' => [
321
  [
322
+ 'title' => __( 'Initial', 'blocksy-companion' ),
323
  'id' => 'default',
324
  ],
325
 
326
  [
327
+ 'title' => __( 'Hover', 'blocksy-companion' ),
328
  'id' => 'hover',
329
  ],
330
  ],
331
  ],
332
 
333
  'newsletter_subscribe_container_background' => [
334
+ 'label' => __( 'Container Background', 'blocksy-companion' ),
335
  'type' => 'ct-background',
336
  'design' => 'block:right',
337
  'responsive' => true,
347
  ],
348
 
349
  'newsletter_subscribe_container_border' => [
350
+ 'label' => __( 'Container Border', 'blocksy-companion' ),
351
  'type' => 'ct-border',
352
  'sync' => 'live',
353
  'design' => 'block',
382
  ],
383
 
384
  'newsletter_subscribe_container_spacing' => [
385
+ 'label' => __( 'Container Inner Spacing', 'blocksy-companion' ),
386
  'type' => 'ct-spacing',
387
  'divider' => 'top',
388
  'setting' => [ 'transport' => 'postMessage' ],
397
  ],
398
 
399
  'newsletter_subscribe_container_border_radius' => [
400
+ 'label' => __( 'Container Border Radius', 'blocksy-companion' ),
401
  'type' => 'ct-spacing',
402
  'divider' => 'top',
403
  'setting' => [ 'transport' => 'postMessage' ],
framework/extensions/newsletter-subscribe/dashboard-static/bundle/main.js CHANGED
@@ -3,7 +3,7 @@
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 o(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var i=typeof r;if("string"===i||"number"===i)e.push(r);else if(Array.isArray(r)&&r.length){var a=o.apply(null,r);a&&e.push(a)}else if("object"===i)for(var u in r)n.call(r,u)&&r[u]&&e.push(u)}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(r=function(){return o}.apply(t,[]))||(e.exports=r)}()},function(e,t){e.exports=window.blocksyOptions},function(e,t,n){"use strict";e.exports=n(13)},function(e,t){e.exports=window.ctEvents},function(e,t,n){var r,o,i=n(11),a=n(12),u=(o=[],{activateTrap:function(e){if(o.length>0){var t=o[o.length-1];t!==e&&t.pause()}var n=o.indexOf(e);-1===n||o.splice(n,1),o.push(e)},deactivateTrap:function(e){var t=o.indexOf(e);-1!==t&&o.splice(t,1),o.length>0&&o[o.length-1].unpause()}});function c(e){return setTimeout(e,0)}e.exports=function(e,t){var n=document,o="string"==typeof e?n.querySelector(e):e,s=a({returnFocusOnDeactivate:!0,escapeDeactivates:!0},t),l={firstTabbableNode:null,lastTabbableNode:null,nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1},d={activate:function(e){if(l.active)return;O(),l.active=!0,l.paused=!1,l.nodeFocusedBeforeActivation=n.activeElement;var t=e&&e.onActivate?e.onActivate:s.onActivate;t&&t();return f(),d},deactivate:p,pause:function(){if(l.paused||!l.active)return;l.paused=!0,h()},unpause:function(){if(!l.paused||!l.active)return;l.paused=!1,O(),f()}};return d;function p(e){if(l.active){clearTimeout(r),h(),l.active=!1,l.paused=!1,u.deactivateTrap(d);var t=e&&void 0!==e.onDeactivate?e.onDeactivate:s.onDeactivate;return t&&t(),(e&&void 0!==e.returnFocus?e.returnFocus:s.returnFocusOnDeactivate)&&c((function(){var e;w((e=l.nodeFocusedBeforeActivation,m("setReturnFocus")||e))})),d}}function f(){if(l.active)return u.activateTrap(d),r=c((function(){w(v())})),n.addEventListener("focusin",b,!0),n.addEventListener("mousedown",g,{capture:!0,passive:!1}),n.addEventListener("touchstart",g,{capture:!0,passive:!1}),n.addEventListener("click",I,{capture:!0,passive:!1}),n.addEventListener("keydown",y,{capture:!0,passive:!1}),d}function h(){if(l.active)return n.removeEventListener("focusin",b,!0),n.removeEventListener("mousedown",g,!0),n.removeEventListener("touchstart",g,!0),n.removeEventListener("click",I,!0),n.removeEventListener("keydown",y,!0),d}function m(e){var t=s[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 v(){var e;if(!(e=null!==m("initialFocus")?m("initialFocus"):o.contains(n.activeElement)?n.activeElement:l.firstTabbableNode||m("fallbackFocus")))throw new Error("Your focus-trap needs to have at least one focusable element");return e}function g(e){o.contains(e.target)||(s.clickOutsideDeactivates?p({returnFocus:!i.isFocusable(e.target)}):s.allowOutsideClick&&s.allowOutsideClick(e)||e.preventDefault())}function b(e){o.contains(e.target)||e.target instanceof Document||(e.stopImmediatePropagation(),w(l.mostRecentlyFocusedNode||v()))}function y(e){if(!1!==s.escapeDeactivates&&function(e){return"Escape"===e.key||"Esc"===e.key||27===e.keyCode}(e))return e.preventDefault(),void p();(function(e){return"Tab"===e.key||9===e.keyCode})(e)&&function(e){if(O(),e.shiftKey&&e.target===l.firstTabbableNode)return e.preventDefault(),void w(l.lastTabbableNode);if(!e.shiftKey&&e.target===l.lastTabbableNode)e.preventDefault(),w(l.firstTabbableNode)}(e)}function I(e){s.clickOutsideDeactivates||o.contains(e.target)||s.allowOutsideClick&&s.allowOutsideClick(e)||(e.preventDefault(),e.stopImmediatePropagation())}function O(){var e=i(o);l.firstTabbableNode=e[0]||v(),l.lastTabbableNode=e[e.length-1]||v()}function w(e){e!==n.activeElement&&(e&&e.focus?(e.focus(),l.mostRecentlyFocusedNode=e,function(e){return e.tagName&&"input"===e.tagName.toLowerCase()&&"function"==typeof e.select}(e)&&e.select()):w(v()))}}},function(e,t,n){"use strict";var r=n(10);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var u=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 u.name="Invariant Violation",u}}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:i,resetWarningCache:o};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(","),o="undefined"==typeof Element?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector;function i(e,t){t=t||{};var n,i,u,c=[],d=[],p=e.querySelectorAll(r);for(t.includeContainer&&o.call(e,r)&&(p=Array.prototype.slice.apply(p)).unshift(e),n=0;n<p.length;n++)a(i=p[n])&&(0===(u=s(i))?c.push(i):d.push({documentOrder:n,tabIndex:u,node:i}));return d.sort(l).map((function(e){return e.node})).concat(c)}function a(e){return!(!u(e)||function(e){return function(e){return d(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)||s(e)<0)}function u(e){return!(e.disabled||function(e){return d(e)&&"hidden"===e.type}(e)||function(e){return null===e.offsetParent||"hidden"===getComputedStyle(e).visibility}(e))}i.isTabbable=function(e){if(!e)throw new Error("No node provided");return!1!==o.call(e,r)&&a(e)},i.isFocusable=function(e){if(!e)throw new Error("No node provided");return!1!==o.call(e,c)&&u(e)};var c=n.concat("iframe").join(",");function s(e){var t=parseInt(e.getAttribute("tabindex"),10);return isNaN(t)?function(e){return"true"===e.contentEditable}(e)?0:e.tabIndex:t}function l(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex}function d(e){return"INPUT"===e.tagName}e.exports=i},function(e,t){e.exports=function(){for(var e={},t=0;t<arguments.length;t++){var r=arguments[t];for(var o in r)n.call(r,o)&&(e[o]=r[o])}return e};var n=Object.prototype.hasOwnProperty},function(e,t,n){"use strict";
7
  /** @license React v16.13.1
8
  * react-is.production.min.js
9
  *
@@ -11,4 +11,4 @@
11
  *
12
  * This source code is licensed under the MIT license found in the
13
  * LICENSE file in the root directory of this source tree.
14
- */var r="function"==typeof Symbol&&Symbol.for,o=r?Symbol.for("react.element"):60103,i=r?Symbol.for("react.portal"):60106,a=r?Symbol.for("react.fragment"):60107,u=r?Symbol.for("react.strict_mode"):60108,c=r?Symbol.for("react.profiler"):60114,s=r?Symbol.for("react.provider"):60109,l=r?Symbol.for("react.context"):60110,d=r?Symbol.for("react.async_mode"):60111,p=r?Symbol.for("react.concurrent_mode"):60111,f=r?Symbol.for("react.forward_ref"):60112,h=r?Symbol.for("react.suspense"):60113,m=r?Symbol.for("react.suspense_list"):60120,v=r?Symbol.for("react.memo"):60115,g=r?Symbol.for("react.lazy"):60116,b=r?Symbol.for("react.block"):60121,y=r?Symbol.for("react.fundamental"):60117,I=r?Symbol.for("react.responder"):60118,O=r?Symbol.for("react.scope"):60119;function w(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case o:switch(e=e.type){case d:case p:case a:case c:case u:case h:return e;default:switch(e=e&&e.$$typeof){case l:case f:case g:case v:case s:return e;default:return t}}case i:return t}}}function S(e){return w(e)===p}t.AsyncMode=d,t.ConcurrentMode=p,t.ContextConsumer=l,t.ContextProvider=s,t.Element=o,t.ForwardRef=f,t.Fragment=a,t.Lazy=g,t.Memo=v,t.Portal=i,t.Profiler=c,t.StrictMode=u,t.Suspense=h,t.isAsyncMode=function(e){return S(e)||w(e)===d},t.isConcurrentMode=S,t.isContextConsumer=function(e){return w(e)===l},t.isContextProvider=function(e){return w(e)===s},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===o},t.isForwardRef=function(e){return w(e)===f},t.isFragment=function(e){return w(e)===a},t.isLazy=function(e){return w(e)===g},t.isMemo=function(e){return w(e)===v},t.isPortal=function(e){return w(e)===i},t.isProfiler=function(e){return w(e)===c},t.isStrictMode=function(e){return w(e)===u},t.isSuspense=function(e){return w(e)===h},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===p||e===c||e===u||e===h||e===m||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===v||e.$$typeof===s||e.$$typeof===l||e.$$typeof===f||e.$$typeof===y||e.$$typeof===I||e.$$typeof===O||e.$$typeof===b)},t.typeOf=w},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n(7),i=n.n(o),a=n(2),u=n(4),c=n.n(u),s=n(3),l=n.n(s),d=n(1),p=n.n(d);function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(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"])},v=function(e){function t(){var n,r;f(this,t);for(var o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return n=r=h(this,e.call.apply(e,[this].concat(i))),g.call(r),h(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,o=this._refs;return{state:e,props:m(t),refs:o,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}(l.a.Component);v.defaultProps={getInitialState:function(){},getRefs:function(){return{}}};var g=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)}},b=v,y=function(e){var t=e.children,n=e.container,o=void 0===n?document.body:n,i=e.type,a=void 0===i?"reach-portal":i;return Object(r.createElement)(b,{getRefs:function(){return{node:null}},didMount:function(e){var t=e.refs,n=e.forceUpdate,r=o.hasOwnProperty("current")?o.current:o;t.node=document.createElement(a),r.appendChild(t.node),n()},willUnmount:function(e){var t=e.refs.node,n=o.hasOwnProperty("current")?o.current:o;n&&n.removeChild(t)},render:function(e){var n=e.refs.node;return n?Object(r.createPortal)(t,n):null}})};var I=function(e,t){return function(n){if(e&&e(n),!n.defaultPrevented)return t(n)}},O=n(8),w=n.n(O);function S(){return(S=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 x(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var E=function(){},j=function(){},_=function(e,t){var n,r,o;e.disposeAriaHider=(n=e.overlayNode,r=[],o=[],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),o.push(e),e.setAttribute("aria-hidden","true"))}})),function(){o.forEach((function(e,t){var n=r[t];null===n?e.removeAttribute("aria-hidden"):e.setAttribute("aria-hidden",n)}))}),e.trap=w()(e.overlayNode,{initialFocus:t?function(){return t.current}:void 0,fallbackFocus:e.contentNode,escapeDeactivates:!1,clickOutsideDeactivates:!1})},C=function(e){var t=e.refs;t.trap.deactivate(),t.disposeAriaHider()},P=React.createContext(),k=React.forwardRef((function(e,t){var n=e.container,o=e.isOpen,i=void 0===o||o,a=e.onDismiss,u=void 0===a?E:a,c=e.initialFocusRef,s=e.onClick,l=e.onKeyDown,d=x(e,["container","isOpen","onDismiss","initialFocusRef","onClick","onKeyDown"]);return Object(r.createElement)(b,{didMount:j},i?Object(r.createElement)(y,{container:n,"data-reach-dialog-wrapper":!0},Object(r.createElement)(b,{refs:{overlayNode:null,contentNode:null},didMount:function(e){var t=e.refs;_(t,c)},willUnmount:C},(function(e){var n=e.refs;return Object(r.createElement)(P.Provider,{value:function(e){return n.contentNode=e}},Object(r.createElement)("div",S({"data-reach-dialog-overlay":!0,onClick:I(s,(function(e){e.stopPropagation(),u()})),onKeyDown:I(l,(function(e){"Escape"===e.key&&(e.stopPropagation(),u())})),ref:function(e){n.overlayNode=e,t&&t(e)}},d)))}))):null)}));k.propTypes={initialFocusRef:function(){}};var A=function(e){return e.stopPropagation()},D=React.forwardRef((function(e,t){var n=e.onClick,o=(e.onKeyDown,x(e,["onClick","onKeyDown"]));return Object(r.createElement)(P.Consumer,null,(function(e){return Object(r.createElement)("div",S({"aria-modal":"true","data-reach-dialog-content":!0,tabIndex:"-1",onClick:I(n,A),ref:function(n){e(n),t&&t(n)}},o))}))})),M=n(5),T=function(e){return!!e},H=function(e){var t=e.items,n=e.isVisible,o=void 0===n?T:n,i=e.render,a=e.className,u=e.onDismiss;return Object(r.createElement)(M.Transition,{items:t,onStart:function(){return document.body.classList[o(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 o(e)&&function(t){return Object(r.createElement)(k,{style:{opacity:t.opacity},container:document.querySelector("#wpbody"),onDismiss:function(){return u()}},Object(r.createElement)(D,{className:c()("ct-admin-modal",a),style:{transform:"translate3d(0px, ".concat(t.y,"px, 0px)")}},Object(r.createElement)("button",{className:"close-button",onClick:function(){return u()}},"×"),i(e,t)))}}))};function R(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,o=!1,i=void 0;try{for(var a,u=e[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==u.return||u.return()}finally{if(o)throw i}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return N(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 N(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 N(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 L=function(e){var t=R(Object(r.useState)(!1),2),n=t[0],o=t[1];return[function(){return o(!0)},Object(r.createElement)(H,{items:n,onDismiss:function(){return o(!1)},render:function(){return Object(r.createElement)("div",{className:"ct-modal-content",dangerouslySetInnerHTML:{__html:e.readme}})}})]};function U(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}function K(){return(K=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 F(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n(6);function V(e){return null!=e&&"object"==typeof e&&1===e.nodeType}function B(e,t){return(!t||"hidden"!==e)&&("visible"!==e&&"clip"!==e)}function $(e,t){if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){var n=getComputedStyle(e,null);return B(n.overflowY,t)||B(n.overflowX,t)||function(e){var t=function(e){return e.ownerDocument&&e.ownerDocument.defaultView?e.ownerDocument.defaultView.frameElement:null}(e);return!!t&&(t.clientHeight<e.scrollHeight||t.clientWidth<e.scrollWidth)}(e)}return!1}function W(e,t,n,r,o,i,a,u){return i<e&&a>t||i>e&&a<t?0:i<=e&&u<=n||a>=t&&u>=n?i-e-r:a>t&&u<n||i<e&&u>n?a-t+o:0}var z=0;function q(e){return"function"==typeof e?e:Y}function Y(){}function X(e,t){null!==e&&function(e,t){var n=t.scrollMode,r=t.block,o=t.inline,i=t.boundary,a=t.skipOverflowHiddenElements,u="function"==typeof i?i:function(e){return e!==i};if(!V(e))throw new TypeError("Invalid target");for(var c=document.scrollingElement||document.documentElement,s=[],l=e;V(l)&&u(l);){if((l=l.parentNode)===c){s.push(l);break}l===document.body&&$(l)&&!$(document.documentElement)||$(l,a)&&s.push(l)}for(var d=window.visualViewport?visualViewport.width:innerWidth,p=window.visualViewport?visualViewport.height:innerHeight,f=window.scrollX||pageXOffset,h=window.scrollY||pageYOffset,m=e.getBoundingClientRect(),v=m.height,g=m.width,b=m.top,y=m.right,I=m.bottom,O=m.left,w="start"===r||"nearest"===r?b:"end"===r?I:b+v/2,S="center"===o?O+g/2:"end"===o?y:O,x=[],E=0;E<s.length;E++){var j=s[E],_=j.getBoundingClientRect(),C=_.height,P=_.width,k=_.top,A=_.right,D=_.bottom,M=_.left;if("if-needed"===n&&b>=0&&O>=0&&I<=p&&y<=d&&b>=k&&I<=D&&O>=M&&y<=A)return x;var T=getComputedStyle(j),H=parseInt(T.borderLeftWidth,10),R=parseInt(T.borderTopWidth,10),N=parseInt(T.borderRightWidth,10),L=parseInt(T.borderBottomWidth,10),U=0,K=0,F="offsetWidth"in j?j.offsetWidth-j.clientWidth-H-N:0,B="offsetHeight"in j?j.offsetHeight-j.clientHeight-R-L:0;if(c===j)U="start"===r?w:"end"===r?w-p:"nearest"===r?W(h,h+p,p,R,L,h+w,h+w+v,v):w-p/2,K="start"===o?S:"center"===o?S-d/2:"end"===o?S-d:W(f,f+d,d,H,N,f+S,f+S+g,g),U=Math.max(0,U+h),K=Math.max(0,K+f);else{U="start"===r?w-k-R:"end"===r?w-D+L+B:"nearest"===r?W(k,D,C,R,L+B,w,w+v,v):w-(k+C/2)+B/2,K="start"===o?S-M-H:"center"===o?S-(M+P/2)+F/2:"end"===o?S-A+N+F:W(M,A,P,H,N+F,S,S+g,g);var z=j.scrollLeft,q=j.scrollTop;w+=q-(U=Math.max(0,Math.min(q+U,j.scrollHeight-C+B))),S+=z-(K=Math.max(0,Math.min(z+K,j.scrollWidth-P+F)))}x.push({el:j,top:U,left:K})}return x}(e,{boundary:t,block:"nearest",scrollMode:"if-needed"}).forEach((function(e){var t=e.el,n=e.top,r=e.left;t.scrollTop=n,t.scrollLeft=r}))}function G(e,t){return e===t||e.contains&&e.contains(t)}function J(e,t){var n;function r(){n&&clearTimeout(n)}function o(){for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];r(),n=setTimeout((function(){n=null,e.apply(void 0,i)}),t)}return o.cancel=r,o}function Q(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return t.some((function(t){return t&&t.apply(void 0,[e].concat(r)),e.preventDownshiftDefault||e.hasOwnProperty("nativeEvent")&&e.nativeEvent.preventDownshiftDefault}))}}function Z(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){t.forEach((function(t){"function"==typeof t?t(e):t&&(t.current=e)}))}}function ee(e){var t=e.isOpen,n=e.selectedItem,r=e.resultCount,o=e.previousResultCount,i=e.itemToString;return t?r?r!==o?r+" result"+(1===r?" is":"s are")+" available, use up and down arrow keys to navigate. Press Enter key to select.":"":"No results are available.":n?i(n):""}function te(e,t){return!(e=Array.isArray(e)?e[0]:e)&&t?t:e}function ne(e){return"string"==typeof e.type}function re(e){return e.props}var oe=["highlightedIndex","inputValue","isOpen","selectedItem","type"];function ie(e){void 0===e&&(e={});var t={};return oe.forEach((function(n){e.hasOwnProperty(n)&&(t[n]=e[n])})),t}function ae(e){var t=e.key,n=e.keyCode;return n>=37&&n<=40&&0!==t.indexOf("Arrow")?"Arrow"+t:t}function ue(e,t,n){var r=n-1;("number"!=typeof t||t<0||t>=n)&&(t=e>0?-1:r+1);var o=t+e;return o<0?o=r:o>r&&(o=0),o}var ce=J((function(){le().textContent=""}),500);function se(e,t){var n=le(t);e&&(n.textContent=e,ce())}function le(e){void 0===e&&(e=document);var t=e.getElementById("a11y-status-message");return t||((t=e.createElement("div")).setAttribute("id","a11y-status-message"),t.setAttribute("role","status"),t.setAttribute("aria-live","polite"),t.setAttribute("aria-relevant","additions text"),Object.assign(t.style,{border:"0",clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:"0",position:"absolute",width:"1px"}),e.body.appendChild(t),t)}var de=Object.freeze({__proto__:null,unknown:0,mouseUp:1,itemMouseEnter:2,keyDownArrowUp:3,keyDownArrowDown:4,keyDownEscape:5,keyDownEnter:6,keyDownHome:7,keyDownEnd:8,clickItem:9,blurInput:10,changeInput:11,keyDownSpaceButton:12,clickButton:13,blurButton:14,controlledPropUpdatedSelectedItem:15,touchEnd:16}),pe=function(){var e=function(e){var t,n;function r(t){var n=e.call(this,t)||this;n.id=n.props.id||"downshift-"+String(z++),n.menuId=n.props.menuId||n.id+"-menu",n.labelId=n.props.labelId||n.id+"-label",n.inputId=n.props.inputId||n.id+"-input",n.getItemId=n.props.getItemId||function(e){return n.id+"-item-"+e},n.input=null,n.items=[],n.itemCount=null,n.previousResultCount=0,n.timeoutIds=[],n.internalSetTimeout=function(e,t){var r=setTimeout((function(){n.timeoutIds=n.timeoutIds.filter((function(e){return e!==r})),e()}),t);n.timeoutIds.push(r)},n.setItemCount=function(e){n.itemCount=e},n.unsetItemCount=function(){n.itemCount=null},n.setHighlightedIndex=function(e,t){void 0===e&&(e=n.props.defaultHighlightedIndex),void 0===t&&(t={}),t=ie(t),n.internalSetState(K({highlightedIndex:e},t))},n.clearSelection=function(e){n.internalSetState({selectedItem:null,inputValue:"",highlightedIndex:n.props.defaultHighlightedIndex,isOpen:n.props.defaultIsOpen},e)},n.selectItem=function(e,t,r){t=ie(t),n.internalSetState(K({isOpen:n.props.defaultIsOpen,highlightedIndex:n.props.defaultHighlightedIndex,selectedItem:e,inputValue:n.props.itemToString(e)},t),r)},n.selectItemAtIndex=function(e,t,r){var o=n.items[e];null!=o&&n.selectItem(o,t,r)},n.selectHighlightedItem=function(e,t){return n.selectItemAtIndex(n.getState().highlightedIndex,e,t)},n.internalSetState=function(e,t){var r,o,i={},a="function"==typeof e;return!a&&e.hasOwnProperty("inputValue")&&n.props.onInputValueChange(e.inputValue,K({},n.getStateAndHelpers(),{},e)),n.setState((function(t){t=n.getState(t);var u=a?e(t):e;u=n.props.stateReducer(t,u),r=u.hasOwnProperty("selectedItem");var c={},s={};return r&&u.selectedItem!==t.selectedItem&&(o=u.selectedItem),u.type=u.type||0,Object.keys(u).forEach((function(e){t[e]!==u[e]&&(i[e]=u[e]),"type"!==e&&(s[e]=u[e],n.isControlledProp(e)||(c[e]=u[e]))})),a&&u.hasOwnProperty("inputValue")&&n.props.onInputValueChange(u.inputValue,K({},n.getStateAndHelpers(),{},u)),c}),(function(){q(t)(),Object.keys(i).length>1&&n.props.onStateChange(i,n.getStateAndHelpers()),r&&n.props.onSelect(e.selectedItem,n.getStateAndHelpers()),void 0!==o&&n.props.onChange(o,n.getStateAndHelpers()),n.props.onUserAction(i,n.getStateAndHelpers())}))},n.rootRef=function(e){return n._rootNode=e},n.getRootProps=function(e,t){var r,o=void 0===e?{}:e,i=o.refKey,a=void 0===i?"ref":i,u=o.ref,c=U(o,["refKey","ref"]),s=(void 0===t?{}:t).suppressRefError,l=void 0!==s&&s;n.getRootProps.called=!0,n.getRootProps.refKey=a,n.getRootProps.suppressRefError=l;var d=n.getState().isOpen;return K(((r={})[a]=Z(u,n.rootRef),r.role="combobox",r["aria-expanded"]=d,r["aria-haspopup"]="listbox",r["aria-owns"]=d?n.menuId:null,r["aria-labelledby"]=n.labelId,r),c)},n.keyDownHandlers={ArrowDown:function(e){var t=this;if(e.preventDefault(),this.getState().isOpen){var n=e.shiftKey?5:1;this.moveHighlightedIndex(n,{type:4})}else this.internalSetState({isOpen:!0,type:4},(function(){var e=t.getItemCount();e>0&&t.setHighlightedIndex(ue(1,t.getState().highlightedIndex,e),{type:4})}))},ArrowUp:function(e){var t=this;if(e.preventDefault(),this.getState().isOpen){var n=e.shiftKey?-5:-1;this.moveHighlightedIndex(n,{type:3})}else this.internalSetState({isOpen:!0,type:3},(function(){var e=t.getItemCount();e>0&&t.setHighlightedIndex(ue(-1,t.getState().highlightedIndex,e),{type:4})}))},Enter:function(e){var t=this.getState(),n=t.isOpen,r=t.highlightedIndex;if(n&&null!=r){e.preventDefault();var o=this.items[r],i=this.getItemNodeFromIndex(r);if(null==o||i&&i.hasAttribute("disabled"))return;this.selectHighlightedItem({type:6})}},Escape:function(e){e.preventDefault(),this.reset({type:5,selectedItem:null,inputValue:""})}},n.buttonKeyDownHandlers=K({},n.keyDownHandlers,{" ":function(e){e.preventDefault(),this.toggleMenu({type:12})}}),n.inputKeyDownHandlers=K({},n.keyDownHandlers,{Home:function(e){this.highlightFirstOrLastIndex(e,!0,{type:7})},End:function(e){this.highlightFirstOrLastIndex(e,!1,{type:8})}}),n.getToggleButtonProps=function(e){var t=void 0===e?{}:e,r=t.onClick,o=(t.onPress,t.onKeyDown),i=t.onKeyUp,a=t.onBlur,u=U(t,["onClick","onPress","onKeyDown","onKeyUp","onBlur"]),c=n.getState().isOpen,s={onClick:Q(r,n.buttonHandleClick),onKeyDown:Q(o,n.buttonHandleKeyDown),onKeyUp:Q(i,n.buttonHandleKeyUp),onBlur:Q(a,n.buttonHandleBlur)};return K({type:"button",role:"button","aria-label":c?"close menu":"open menu","aria-haspopup":!0,"data-toggle":!0},u.disabled?{}:s,{},u)},n.buttonHandleKeyUp=function(e){e.preventDefault()},n.buttonHandleKeyDown=function(e){var t=ae(e);n.buttonKeyDownHandlers[t]&&n.buttonKeyDownHandlers[t].call(F(n),e)},n.buttonHandleClick=function(e){e.preventDefault(),n.props.environment.document.activeElement===n.props.environment.document.body&&e.target.focus(),n.internalSetTimeout((function(){return n.toggleMenu({type:13})}))},n.buttonHandleBlur=function(e){var t=e.target;n.internalSetTimeout((function(){n.isMouseDown||null!=n.props.environment.document.activeElement&&n.props.environment.document.activeElement.id===n.inputId||n.props.environment.document.activeElement===t||n.reset({type:14})}))},n.getLabelProps=function(e){return K({htmlFor:n.inputId,id:n.labelId},e)},n.getInputProps=function(e){var t=void 0===e?{}:e,r=t.onKeyDown,o=t.onBlur,i=t.onChange,a=t.onInput,u=(t.onChangeText,U(t,["onKeyDown","onBlur","onChange","onInput","onChangeText"])),c={};var s,l=n.getState(),d=l.inputValue,p=l.isOpen,f=l.highlightedIndex;u.disabled||((s={}).onChange=Q(i,a,n.inputHandleChange),s.onKeyDown=Q(r,n.inputHandleKeyDown),s.onBlur=Q(o,n.inputHandleBlur),c=s);return K({"aria-autocomplete":"list","aria-activedescendant":p&&"number"==typeof f&&f>=0?n.getItemId(f):null,"aria-controls":p?n.menuId:null,"aria-labelledby":n.labelId,autoComplete:"off",value:d,id:n.inputId},c,{},u)},n.inputHandleKeyDown=function(e){var t=ae(e);t&&n.inputKeyDownHandlers[t]&&n.inputKeyDownHandlers[t].call(F(n),e)},n.inputHandleChange=function(e){n.internalSetState({type:11,isOpen:!0,inputValue:e.target.value,highlightedIndex:n.props.defaultHighlightedIndex})},n.inputHandleBlur=function(){n.internalSetTimeout((function(){var e=n.props.environment.document&&!!n.props.environment.document.activeElement&&!!n.props.environment.document.activeElement.dataset&&n.props.environment.document.activeElement.dataset.toggle&&n._rootNode&&n._rootNode.contains(n.props.environment.document.activeElement);n.isMouseDown||e||n.reset({type:10})}))},n.menuRef=function(e){n._menuNode=e},n.getMenuProps=function(e,t){var r,o=void 0===e?{}:e,i=o.refKey,a=void 0===i?"ref":i,u=o.ref,c=U(o,["refKey","ref"]),s=(void 0===t?{}:t).suppressRefError,l=void 0!==s&&s;return n.getMenuProps.called=!0,n.getMenuProps.refKey=a,n.getMenuProps.suppressRefError=l,K(((r={})[a]=Z(u,n.menuRef),r.role="listbox",r["aria-labelledby"]=c&&c["aria-label"]?null:n.labelId,r.id=n.menuId,r),c)},n.getItemProps=function(e){var t,r=void 0===e?{}:e,o=r.onMouseMove,i=r.onMouseDown,a=r.onClick,u=(r.onPress,r.index),c=r.item,s=void 0===c?void 0:c,l=U(r,["onMouseMove","onMouseDown","onClick","onPress","index","item"]);void 0===u?(n.items.push(s),u=n.items.indexOf(s)):n.items[u]=s;var d=a,p=((t={onMouseMove:Q(o,(function(){u!==n.getState().highlightedIndex&&(n.setHighlightedIndex(u,{type:2}),n.avoidScrolling=!0,n.internalSetTimeout((function(){return n.avoidScrolling=!1}),250))})),onMouseDown:Q(i,(function(e){e.preventDefault()}))}).onClick=Q(d,(function(){n.selectItemAtIndex(u,{type:9})})),t),f=l.disabled?{onMouseDown:p.onMouseDown}:p;return K({id:n.getItemId(u),role:"option","aria-selected":n.getState().highlightedIndex===u},f,{},l)},n.clearItems=function(){n.items=[]},n.reset=function(e,t){void 0===e&&(e={}),e=ie(e),n.internalSetState((function(t){var r=t.selectedItem;return K({isOpen:n.props.defaultIsOpen,highlightedIndex:n.props.defaultHighlightedIndex,inputValue:n.props.itemToString(r)},e)}),t)},n.toggleMenu=function(e,t){void 0===e&&(e={}),e=ie(e),n.internalSetState((function(t){var r=t.isOpen;return K({isOpen:!r},r&&{highlightedIndex:n.props.defaultHighlightedIndex},{},e)}),(function(){var r=n.getState(),o=r.isOpen,i=r.highlightedIndex;o&&n.getItemCount()>0&&"number"==typeof i&&n.setHighlightedIndex(i,e),q(t)()}))},n.openMenu=function(e){n.internalSetState({isOpen:!0},e)},n.closeMenu=function(e){n.internalSetState({isOpen:!1},e)},n.updateStatus=J((function(){var e=n.getState(),t=n.items[e.highlightedIndex],r=n.getItemCount(),o=n.props.getA11yStatusMessage(K({itemToString:n.props.itemToString,previousResultCount:n.previousResultCount,resultCount:r,highlightedItem:t},e));n.previousResultCount=r,se(o,n.props.environment.document)}),200);var r=n.props,o=r.defaultHighlightedIndex,i=r.initialHighlightedIndex,a=void 0===i?o:i,u=r.defaultIsOpen,c=r.initialIsOpen,s=void 0===c?u:c,l=r.initialInputValue,d=void 0===l?"":l,p=r.initialSelectedItem,f=void 0===p?null:p,h=n.getState({highlightedIndex:a,isOpen:s,inputValue:d,selectedItem:f});return null!=h.selectedItem&&void 0===n.props.initialInputValue&&(h.inputValue=n.props.itemToString(h.selectedItem)),n.state=h,n}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var o=r.prototype;return o.internalClearTimeouts=function(){this.timeoutIds.forEach((function(e){clearTimeout(e)})),this.timeoutIds=[]},o.getState=function(e){var t=this;return void 0===e&&(e=this.state),Object.keys(e).reduce((function(n,r){return n[r]=t.isControlledProp(r)?t.props[r]:e[r],n}),{})},o.isControlledProp=function(e){return void 0!==this.props[e]},o.getItemCount=function(){var e=this.items.length;return null!=this.itemCount?e=this.itemCount:void 0!==this.props.itemCount&&(e=this.props.itemCount),e},o.getItemNodeFromIndex=function(e){return this.props.environment.document.getElementById(this.getItemId(e))},o.scrollHighlightedItemIntoView=function(){var e=this.getItemNodeFromIndex(this.getState().highlightedIndex);this.props.scrollIntoView(e,this._menuNode)},o.moveHighlightedIndex=function(e,t){var n=this.getItemCount();if(n>0){var r=ue(e,this.getState().highlightedIndex,n);this.setHighlightedIndex(r,t)}},o.highlightFirstOrLastIndex=function(e,t,n){var r=this.getItemCount()-1;r<0||!this.getState().isOpen||(e.preventDefault(),this.setHighlightedIndex(t?0:r,n))},o.getStateAndHelpers=function(){var e=this.getState(),t=e.highlightedIndex,n=e.inputValue,r=e.selectedItem,o=e.isOpen,i=this.props.itemToString,a=this.id,u=this.getRootProps,c=this.getToggleButtonProps,s=this.getLabelProps,l=this.getMenuProps,d=this.getInputProps,p=this.getItemProps,f=this.openMenu,h=this.closeMenu,m=this.toggleMenu,v=this.selectItem,g=this.selectItemAtIndex,b=this.selectHighlightedItem,y=this.setHighlightedIndex,I=this.clearSelection,O=this.clearItems;return{getRootProps:u,getToggleButtonProps:c,getLabelProps:s,getMenuProps:l,getInputProps:d,getItemProps:p,reset:this.reset,openMenu:f,closeMenu:h,toggleMenu:m,selectItem:v,selectItemAtIndex:g,selectHighlightedItem:b,setHighlightedIndex:y,clearSelection:I,clearItems:O,setItemCount:this.setItemCount,unsetItemCount:this.unsetItemCount,setState:this.internalSetState,itemToString:i,id:a,highlightedIndex:t,inputValue:n,isOpen:o,selectedItem:r}},o.componentDidMount=function(){var e=this;var t=function(t,n){void 0===n&&(n=!0);var r=e.props.environment.document;return[e._rootNode,e._menuNode].some((function(e){return e&&(G(e,t)||n&&G(e,r.activeElement))}))},n=function(){e.isMouseDown=!0},r=function(n){e.isMouseDown=!1,!t(n.target)&&e.getState().isOpen&&e.reset({type:1},(function(){return e.props.onOuterClick(e.getStateAndHelpers())}))},o=function(){e.isTouchMove=!1},i=function(){e.isTouchMove=!0},a=function(n){var r=t(n.target,!1);e.isTouchMove||r||!e.getState().isOpen||e.reset({type:16},(function(){return e.props.onOuterClick(e.getStateAndHelpers())}))},u=this.props.environment;u.addEventListener("mousedown",n),u.addEventListener("mouseup",r),u.addEventListener("touchstart",o),u.addEventListener("touchmove",i),u.addEventListener("touchend",a),this.cleanup=function(){e.internalClearTimeouts(),e.updateStatus.cancel(),u.removeEventListener("mousedown",n),u.removeEventListener("mouseup",r),u.removeEventListener("touchstart",o),u.removeEventListener("touchmove",i),u.removeEventListener("touchend",a)}},o.shouldScroll=function(e,t){var n=(void 0===this.props.highlightedIndex?this.getState():this.props).highlightedIndex,r=(void 0===t.highlightedIndex?e:t).highlightedIndex;return n&&this.getState().isOpen&&!e.isOpen||n!==r},o.componentDidUpdate=function(e,t){this.isControlledProp("selectedItem")&&this.props.selectedItemChanged(e.selectedItem,this.props.selectedItem)&&this.internalSetState({type:15,inputValue:this.props.itemToString(this.props.selectedItem)}),!this.avoidScrolling&&this.shouldScroll(t,e)&&this.scrollHighlightedItemIntoView(),this.updateStatus()},o.componentWillUnmount=function(){this.cleanup()},o.render=function(){var e=te(this.props.children,Y);this.clearItems(),this.getRootProps.called=!1,this.getRootProps.refKey=void 0,this.getRootProps.suppressRefError=void 0,this.getMenuProps.called=!1,this.getMenuProps.refKey=void 0,this.getMenuProps.suppressRefError=void 0,this.getLabelProps.called=!1,this.getInputProps.called=!1;var t=te(e(this.getStateAndHelpers()));return t?this.getRootProps.called||this.props.suppressRefError?t:ne(t)?Object(s.cloneElement)(t,this.getRootProps(re(t))):void 0:null},r}(s.Component);return e.defaultProps={defaultHighlightedIndex:null,defaultIsOpen:!1,getA11yStatusMessage:ee,itemToString:function(e){return null==e?"":String(e)},onStateChange:Y,onInputValueChange:Y,onUserAction:Y,onChange:Y,onSelect:Y,onOuterClick:Y,selectedItemChanged:function(e,t){return e!==t},environment:"undefined"==typeof window?{}:window,stateReducer:function(e,t){return t},suppressRefError:!1,scrollIntoView:X},e.stateChangeTypes=de,e}();p.a.array.isRequired,p.a.func,p.a.func,p.a.func,p.a.bool,p.a.number,p.a.number,p.a.number,p.a.bool,p.a.bool,p.a.bool,p.a.any,p.a.any,p.a.any,p.a.string,p.a.string,p.a.string,p.a.func,p.a.string,p.a.func,p.a.func,p.a.func,p.a.func,p.a.func,p.a.shape({addEventListener:p.a.func,removeEventListener:p.a.func,document:p.a.shape({getElementById:p.a.func,activeElement:p.a.any,body:p.a.any})});"undefined"==typeof window||window;var fe=pe;function he(){return(he=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 me(e,t,n,r,o,i,a){try{var u=e[i](a),c=u.value}catch(e){return void n(e)}u.done?t(c):Promise.resolve(c).then(r,o)}function ve(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,o=!1,i=void 0;try{for(var a,u=e[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==u.return||u.return()}finally{if(o)throw i}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return ge(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 ge(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 ge(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 be=function(e){var t=e.listId,n=e.provider,o=e.apiKey,i=e.onChange,u=ve(Object(r.useState)([]),2),s=u[0],l=u[1],d=ve(Object(r.useState)(!1),2),p=d[0],f=d[1],h=ve(Object(r.useState)({controller:null}),2),m=h[0].controller,v=h[1],g=function(){var e,t=(e=regeneratorRuntime.mark((function e(){var t,r,i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return m&&m.abort(),f(!0),"AbortController"in window&&(m=new AbortController,v({controller:m})),(t=new FormData).append("api_key",o),t.append("provider",n),t.append("action","blocksy_ext_newsletter_subscribe_maybe_get_lists"),e.prev=7,e.next=10,fetch(ctDashboardLocalizations.ajax_url,{method:"POST",signal:m.signal,body:t});case 10:if(200!==(r=e.sent).status){e.next=20;break}return e.next=14,r.json();case 14:if(!(i=e.sent).success){e.next=20;break}if("api_key_invalid"===i.data.result){e.next=20;break}return f(!1),l(i.data.result),e.abrupt("return");case 20:e.next=24;break;case 22:e.prev=22,e.t0=e.catch(7);case 24:l([]),f(!1);case 26:case"end":return e.stop()}}),e,null,[[7,22]])})),function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){me(i,r,o,a,u,"next",e)}function u(e){me(i,r,o,a,u,"throw",e)}a(void 0)}))});return function(){return t.apply(this,arguments)}}();return Object(r.useEffect)((function(){o?g():l([])}),[n,o]),0===s.length?Object(r.createElement)("div",{className:"ct-select-input"},Object(r.createElement)("input",{disabled:!0,placeholder:p?Object(a.__)("Loading","blc"):Object(a.__)("Invalid API Key...","blc")})):Object(r.createElement)(fe,{selectedItem:t||"",onChange:function(e){return i(e)},itemToString:function(e){return e?(s.find((function(t){return t.id===e}))||{}).name:""}},(function(e){var t=e.getInputProps,n=e.getItemProps,o=(e.getLabelProps,e.getMenuProps),i=e.isOpen,u=(e.inputValue,e.highlightedIndex),l=e.selectedItem,d=e.openMenu;return Object(r.createElement)("div",{className:"ct-select-input"},Object(r.createElement)("input",he({},t({onFocus:function(){return d()},onClick:function(){return d()}}),{placeholder:Object(a.__)("Select list...","blc"),readOnly:!0})),i&&Object(r.createElement)("div",o({className:"ct-select-dropdown"}),s.map((function(e,t){return Object(r.createElement)("div",n({key:e.id,index:t,item:e.id,className:c()("ct-select-dropdown-item",{active:u===t,selected:l===e.id})}),e.name)}))))}))};function ye(e,t,n,r,o,i,a){try{var u=e[i](a),c=u.value}catch(e){return void n(e)}u.done?t(c):Promise.resolve(c).then(r,o)}function Ie(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,o=!1,i=void 0;try{for(var a,u=e[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==u.return||u.return()}finally{if(o)throw i}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Oe(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 Oe(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 Oe(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 we=function(e){var t=e.extension,n=e.isEditingCredentials,o=e.setIsEditingCredentials,i=e.onCredentialsValidated,u=Ie(Object(r.useState)(t.data.provider),2),s=u[0],l=u[1],d=Ie(Object(r.useState)(t.data.api_key),2),p=d[0],f=d[1],h=Ie(Object(r.useState)(t.data.list_id),2),m=h[0],v=h[1],g=Ie(Object(r.useState)(!1),2),b=g[0],y=g[1],I=Ie(Object(r.useState)(!1),2),O=I[0],w=I[1],S=function(){var e,t=(e=regeneratorRuntime.mark((function e(){var t,n,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return(t=new FormData).append("provider",s),t.append("api_key",p),t.append("list_id",m),t.append("action","blocksy_ext_newsletter_subscribe_maybe_save_credentials"),y(!0),e.prev=6,e.next=9,fetch(ctDashboardLocalizations.ajax_url,{method:"POST",body:t});case 9:if(200!==(n=e.sent).status){e.next=15;break}return e.next=13,n.json();case 13:(r=e.sent).success&&"api_key_invalid"!==r.data.result&&(i(),w(!1));case 15:w(!0),e.next=21;break;case 18:e.prev=18,e.t0=e.catch(6),w(!0);case 21:return e.next=23,new Promise((function(e){return setTimeout((function(){return e()}),1e3)}));case 23:y(!1);case 24:case"end":return e.stop()}}),e,null,[[6,18]])})),function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){ye(i,r,o,a,u,"next",e)}function u(e){ye(i,r,o,a,u,"throw",e)}a(void 0)}))});return function(){return t.apply(this,arguments)}}();return Object(r.createElement)(H,{items:n,onDismiss:function(){return o(!1)},className:"ct-mailchimp-modal",render:function(){return Object(r.createElement)("div",{className:c()("ct-modal-content",{"ct-key-invalid":O})},Object(r.createElement)("h2",null,Object(a.__)("API Credentials","blc")),Object(r.createElement)("p",{dangerouslySetInnerHTML:{__html:Object(a.__)("Enter your Newsletter provider API credentials in the form below.","blc")}}),Object(r.createElement)("div",{className:"ct-newsletter-select-provider"},Object(r.createElement)(r.Fragment,null,Object(r.createElement)("h4",null,Object(a.__)("Select Provider","blc")),Object(r.createElement)(M.Select,{onChange:function(e){l(e)},option:{placeholder:Object(a.__)("Pick Mailing Service","blc"),choices:[{key:"mailchimp",value:"Mailchimp"},{key:"mailerlite",value:"Mailerlite"}]},value:s})),!ctDashboardLocalizations.plugin_data.is_pro&&"mailchimp"!==s&&Object(r.createElement)("p",{dangerouslySetInnerHTML:{__html:Object(a.sprintf)(Object(a.__)("This option is available only in Blocksy premium %sversion%s.","blc"),'<a target="_blank" href="https://creativethemes.com/blocksy/pricing/">',"</a>")}}),"mailchimp"===s&&Object(r.createElement)("p",{dangerouslySetInnerHTML:{__html:Object(a.sprintf)(Object(a.__)("More info on how to generate an API key for Mailchimp can be found %shere%s.","blc"),'<a target="_blank" href="https://mailchimp.com/help/about-api-keys/">',"</a>")}}),ctDashboardLocalizations.plugin_data.is_pro&&"mailerlite"===s&&Object(r.createElement)("p",{dangerouslySetInnerHTML:{__html:Object(a.sprintf)(Object(a.__)("More info on how to generate an API key for Mailerlite can be found %shere%s.","blc"),'<a target="_blank" href="https://help.mailerlite.com/article/show/35040-where-to-find-the-mailerlite-api-key-and-api-documentation">',"</a>")}})),("mailchimp"===s||ctDashboardLocalizations.plugin_data.is_pro)&&Object(r.createElement)("div",{className:"mailchimp-credentials"},Object(r.createElement)("section",null,Object(r.createElement)("label",null,Object(a.__)("API Key","blc")),Object(r.createElement)("div",{className:"ct-option-input"},Object(r.createElement)("input",{type:"text",onChange:function(e){var t=e.target.value;return f(t)},value:p||""}))),Object(r.createElement)("section",null,Object(r.createElement)("label",null,Object(a.__)("List ID","blc")),Object(r.createElement)(be,{listId:m,onChange:function(e){return v(e)},provider:s,apiKey:p})),Object(r.createElement)("section",null,Object(r.createElement)("label",null," "),Object(r.createElement)("button",{className:"ct-button","data-button":"blue",disabled:!p||!m||b,onClick:function(){return S()}},b?Object(a.__)("Loading...","blc"):t.__object?Object(a.__)("Save Settings","blc"):Object(a.__)("Activate","blc")))))}})};function Se(e,t,n,r,o,i,a){try{var u=e[i](a),c=u.value}catch(e){return void n(e)}u.done?t(c):Promise.resolve(c).then(r,o)}function xe(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){Se(i,r,o,a,u,"next",e)}function u(e){Se(i,r,o,a,u,"throw",e)}a(void 0)}))}}function Ee(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,o=!1,i=void 0;try{for(var a,u=e[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==u.return||u.return()}finally{if(o)throw i}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return je(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 je(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 je(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 _e=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){},n=Object(r.useState)(!1),o=Ee(n,2),i=o[0],u=o[1],c=Object(r.useState)(!1),s=Ee(c,2),l=s[0],d=s[1],p=function(){var n=xe(regeneratorRuntime.mark((function n(){var r;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return(r=new FormData).append("ext",e.name),r.append("action",e.__object?"blocksy_extension_deactivate":"blocksy_extension_activate"),u(!0),n.prev=4,n.next=7,fetch(ctDashboardLocalizations.ajax_url,{method:"POST",body:r});case 7:t(),n.next=12;break;case 10:n.prev=10,n.t0=n.catch(4);case 12:u(!1);case 13:case"end":return n.stop()}}),n,null,[[4,10]])})));return function(){return n.apply(this,arguments)}}(),f=function(){e.__object||e.data.api_key?p():d(!0)};return[i,f,Object(r.createElement)(r.Fragment,null,e.__object&&e.data.api_key&&Object(r.createElement)("button",{className:"ct-button ct-config-btn","data-button":"white",title:"Edit Credentials",onClick:function(){return d(!0)}},Object(a.__)("Configure","blc")),Object(r.createElement)(we,{isEditingCredentials:l,setIsEditingCredentials:d,extension:e,onCredentialsValidated:function(){e.__object||p(),d(!1)}}))]};function Ce(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,o=!1,i=void 0;try{for(var a,u=e[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==u.return||u.return()}finally{if(o)throw i}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Pe(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 Pe(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 Pe(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 ke=function(e){var t=e.extension,n=e.onExtsSync,o=Ce(_e(t,(function(){n()})),3),i=o[0],u=o[1],s=o[2],l=Ce(L(t),2),d=l[0],p=l[1];return Object(r.createElement)("li",{className:c()({active:!!t.__object})},Object(r.createElement)("h4",{className:"ct-extension-title"},t.config.name,i&&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:c()(t.__object?"ct-button":"ct-button-primary"),"data-button":"white",disabled:i,onClick:function(){return u()}},t.__object?Object(a.__)("Deactivate","blc"):Object(a.__)("Activate","blc")),s,t.readme&&Object(r.createElement)("button",{onClick:function(){return d()},"data-button":"white",className:"ct-minimal-button ct-instruction"},Object(r.createElement)("svg",{width:"16",height:"16",viewBox:"0 0 24 24"},Object(r.createElement)("path",{d:"M12,2C6.477,2,2,6.477,2,12s4.477,10,10,10s10-4.477,10-10S17.523,2,12,2z M12,17L12,17c-0.552,0-1-0.448-1-1v-4 c0-0.552,0.448-1,1-1h0c0.552,0,1,0.448,1,1v4C13,16.552,12.552,17,12,17z M12.5,9h-1C11.224,9,11,8.776,11,8.5v-1 C11,7.224,11.224,7,11.5,7h1C12.776,7,13,7.224,13,7.5v1C13,8.776,12.776,9,12.5,9z"})))),p)};i.a.on("ct:extensions:card",(function(e){var t=e.CustomComponent;"newsletter-subscribe"===e.extension.name&&(t.extension=ke)}))}]);
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 o(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var i=typeof r;if("string"===i||"number"===i)e.push(r);else if(Array.isArray(r)&&r.length){var a=o.apply(null,r);a&&e.push(a)}else if("object"===i)for(var u in r)n.call(r,u)&&r[u]&&e.push(u)}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(r=function(){return o}.apply(t,[]))||(e.exports=r)}()},function(e,t){e.exports=window.blocksyOptions},function(e,t,n){"use strict";e.exports=n(13)},function(e,t){e.exports=window.ctEvents},function(e,t,n){var r,o,i=n(11),a=n(12),u=(o=[],{activateTrap:function(e){if(o.length>0){var t=o[o.length-1];t!==e&&t.pause()}var n=o.indexOf(e);-1===n||o.splice(n,1),o.push(e)},deactivateTrap:function(e){var t=o.indexOf(e);-1!==t&&o.splice(t,1),o.length>0&&o[o.length-1].unpause()}});function c(e){return setTimeout(e,0)}e.exports=function(e,t){var n=document,o="string"==typeof e?n.querySelector(e):e,s=a({returnFocusOnDeactivate:!0,escapeDeactivates:!0},t),l={firstTabbableNode:null,lastTabbableNode:null,nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1},p={activate:function(e){if(l.active)return;O(),l.active=!0,l.paused=!1,l.nodeFocusedBeforeActivation=n.activeElement;var t=e&&e.onActivate?e.onActivate:s.onActivate;t&&t();return f(),p},deactivate:d,pause:function(){if(l.paused||!l.active)return;l.paused=!0,h()},unpause:function(){if(!l.paused||!l.active)return;l.paused=!1,O(),f()}};return p;function d(e){if(l.active){clearTimeout(r),h(),l.active=!1,l.paused=!1,u.deactivateTrap(p);var t=e&&void 0!==e.onDeactivate?e.onDeactivate:s.onDeactivate;return t&&t(),(e&&void 0!==e.returnFocus?e.returnFocus:s.returnFocusOnDeactivate)&&c((function(){var e;w((e=l.nodeFocusedBeforeActivation,m("setReturnFocus")||e))})),p}}function f(){if(l.active)return u.activateTrap(p),r=c((function(){w(v())})),n.addEventListener("focusin",y,!0),n.addEventListener("mousedown",g,{capture:!0,passive:!1}),n.addEventListener("touchstart",g,{capture:!0,passive:!1}),n.addEventListener("click",I,{capture:!0,passive:!1}),n.addEventListener("keydown",b,{capture:!0,passive:!1}),p}function h(){if(l.active)return n.removeEventListener("focusin",y,!0),n.removeEventListener("mousedown",g,!0),n.removeEventListener("touchstart",g,!0),n.removeEventListener("click",I,!0),n.removeEventListener("keydown",b,!0),p}function m(e){var t=s[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 v(){var e;if(!(e=null!==m("initialFocus")?m("initialFocus"):o.contains(n.activeElement)?n.activeElement:l.firstTabbableNode||m("fallbackFocus")))throw new Error("Your focus-trap needs to have at least one focusable element");return e}function g(e){o.contains(e.target)||(s.clickOutsideDeactivates?d({returnFocus:!i.isFocusable(e.target)}):s.allowOutsideClick&&s.allowOutsideClick(e)||e.preventDefault())}function y(e){o.contains(e.target)||e.target instanceof Document||(e.stopImmediatePropagation(),w(l.mostRecentlyFocusedNode||v()))}function b(e){if(!1!==s.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(O(),e.shiftKey&&e.target===l.firstTabbableNode)return e.preventDefault(),void w(l.lastTabbableNode);if(!e.shiftKey&&e.target===l.lastTabbableNode)e.preventDefault(),w(l.firstTabbableNode)}(e)}function I(e){s.clickOutsideDeactivates||o.contains(e.target)||s.allowOutsideClick&&s.allowOutsideClick(e)||(e.preventDefault(),e.stopImmediatePropagation())}function O(){var e=i(o);l.firstTabbableNode=e[0]||v(),l.lastTabbableNode=e[e.length-1]||v()}function w(e){e!==n.activeElement&&(e&&e.focus?(e.focus(),l.mostRecentlyFocusedNode=e,function(e){return e.tagName&&"input"===e.tagName.toLowerCase()&&"function"==typeof e.select}(e)&&e.select()):w(v()))}}},function(e,t,n){"use strict";var r=n(10);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var u=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 u.name="Invariant Violation",u}}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:i,resetWarningCache:o};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(","),o="undefined"==typeof Element?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector;function i(e,t){t=t||{};var n,i,u,c=[],p=[],d=e.querySelectorAll(r);for(t.includeContainer&&o.call(e,r)&&(d=Array.prototype.slice.apply(d)).unshift(e),n=0;n<d.length;n++)a(i=d[n])&&(0===(u=s(i))?c.push(i):p.push({documentOrder:n,tabIndex:u,node:i}));return p.sort(l).map((function(e){return e.node})).concat(c)}function a(e){return!(!u(e)||function(e){return function(e){return p(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)||s(e)<0)}function u(e){return!(e.disabled||function(e){return p(e)&&"hidden"===e.type}(e)||function(e){return null===e.offsetParent||"hidden"===getComputedStyle(e).visibility}(e))}i.isTabbable=function(e){if(!e)throw new Error("No node provided");return!1!==o.call(e,r)&&a(e)},i.isFocusable=function(e){if(!e)throw new Error("No node provided");return!1!==o.call(e,c)&&u(e)};var c=n.concat("iframe").join(",");function s(e){var t=parseInt(e.getAttribute("tabindex"),10);return isNaN(t)?function(e){return"true"===e.contentEditable}(e)?0:e.tabIndex:t}function l(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex}function p(e){return"INPUT"===e.tagName}e.exports=i},function(e,t){e.exports=function(){for(var e={},t=0;t<arguments.length;t++){var r=arguments[t];for(var o in r)n.call(r,o)&&(e[o]=r[o])}return e};var n=Object.prototype.hasOwnProperty},function(e,t,n){"use strict";
7
  /** @license React v16.13.1
8
  * react-is.production.min.js
9
  *
11
  *
12
  * This source code is licensed under the MIT license found in the
13
  * LICENSE file in the root directory of this source tree.
14
+ */var r="function"==typeof Symbol&&Symbol.for,o=r?Symbol.for("react.element"):60103,i=r?Symbol.for("react.portal"):60106,a=r?Symbol.for("react.fragment"):60107,u=r?Symbol.for("react.strict_mode"):60108,c=r?Symbol.for("react.profiler"):60114,s=r?Symbol.for("react.provider"):60109,l=r?Symbol.for("react.context"):60110,p=r?Symbol.for("react.async_mode"):60111,d=r?Symbol.for("react.concurrent_mode"):60111,f=r?Symbol.for("react.forward_ref"):60112,h=r?Symbol.for("react.suspense"):60113,m=r?Symbol.for("react.suspense_list"):60120,v=r?Symbol.for("react.memo"):60115,g=r?Symbol.for("react.lazy"):60116,y=r?Symbol.for("react.block"):60121,b=r?Symbol.for("react.fundamental"):60117,I=r?Symbol.for("react.responder"):60118,O=r?Symbol.for("react.scope"):60119;function w(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case o:switch(e=e.type){case p:case d:case a:case c:case u:case h:return e;default:switch(e=e&&e.$$typeof){case l:case f:case g:case v:case s:return e;default:return t}}case i:return t}}}function S(e){return w(e)===d}t.AsyncMode=p,t.ConcurrentMode=d,t.ContextConsumer=l,t.ContextProvider=s,t.Element=o,t.ForwardRef=f,t.Fragment=a,t.Lazy=g,t.Memo=v,t.Portal=i,t.Profiler=c,t.StrictMode=u,t.Suspense=h,t.isAsyncMode=function(e){return S(e)||w(e)===p},t.isConcurrentMode=S,t.isContextConsumer=function(e){return w(e)===l},t.isContextProvider=function(e){return w(e)===s},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===o},t.isForwardRef=function(e){return w(e)===f},t.isFragment=function(e){return w(e)===a},t.isLazy=function(e){return w(e)===g},t.isMemo=function(e){return w(e)===v},t.isPortal=function(e){return w(e)===i},t.isProfiler=function(e){return w(e)===c},t.isStrictMode=function(e){return w(e)===u},t.isSuspense=function(e){return w(e)===h},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===d||e===c||e===u||e===h||e===m||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===v||e.$$typeof===s||e.$$typeof===l||e.$$typeof===f||e.$$typeof===b||e.$$typeof===I||e.$$typeof===O||e.$$typeof===y)},t.typeOf=w},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n(7),i=n.n(o),a=n(2),u=n(4),c=n.n(u),s=n(3),l=n.n(s),p=n(1),d=n.n(p);function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(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"])},v=function(e){function t(){var n,r;f(this,t);for(var o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return n=r=h(this,e.call.apply(e,[this].concat(i))),g.call(r),h(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,o=this._refs;return{state:e,props:m(t),refs:o,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}(l.a.Component);v.defaultProps={getInitialState:function(){},getRefs:function(){return{}}};var g=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)}},y=v,b=function(e){var t=e.children,n=e.container,o=void 0===n?document.body:n,i=e.type,a=void 0===i?"reach-portal":i;return Object(r.createElement)(y,{getRefs:function(){return{node:null}},didMount:function(e){var t=e.refs,n=e.forceUpdate,r=o.hasOwnProperty("current")?o.current:o;t.node=document.createElement(a),r.appendChild(t.node),n()},willUnmount:function(e){var t=e.refs.node,n=o.hasOwnProperty("current")?o.current:o;n&&n.removeChild(t)},render:function(e){var n=e.refs.node;return n?Object(r.createPortal)(t,n):null}})};var I=function(e,t){return function(n){if(e&&e(n),!n.defaultPrevented)return t(n)}},O=n(8),w=n.n(O);function S(){return(S=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 x(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var E=function(){},j=function(){},_=function(e,t){var n,r,o;e.disposeAriaHider=(n=e.overlayNode,r=[],o=[],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),o.push(e),e.setAttribute("aria-hidden","true"))}})),function(){o.forEach((function(e,t){var n=r[t];null===n?e.removeAttribute("aria-hidden"):e.setAttribute("aria-hidden",n)}))}),e.trap=w()(e.overlayNode,{initialFocus:t?function(){return t.current}:void 0,fallbackFocus:e.contentNode,escapeDeactivates:!1,clickOutsideDeactivates:!1})},C=function(e){var t=e.refs;t.trap.deactivate(),t.disposeAriaHider()},k=React.createContext(),P=React.forwardRef((function(e,t){var n=e.container,o=e.isOpen,i=void 0===o||o,a=e.onDismiss,u=void 0===a?E:a,c=e.initialFocusRef,s=e.onClick,l=e.onKeyDown,p=x(e,["container","isOpen","onDismiss","initialFocusRef","onClick","onKeyDown"]);return Object(r.createElement)(y,{didMount:j},i?Object(r.createElement)(b,{container:n,"data-reach-dialog-wrapper":!0},Object(r.createElement)(y,{refs:{overlayNode:null,contentNode:null},didMount:function(e){var t=e.refs;_(t,c)},willUnmount:C},(function(e){var n=e.refs;return Object(r.createElement)(k.Provider,{value:function(e){return n.contentNode=e}},Object(r.createElement)("div",S({"data-reach-dialog-overlay":!0,onClick:I(s,(function(e){e.stopPropagation(),u()})),onKeyDown:I(l,(function(e){"Escape"===e.key&&(e.stopPropagation(),u())})),ref:function(e){n.overlayNode=e,t&&t(e)}},p)))}))):null)}));P.propTypes={initialFocusRef:function(){}};var A=function(e){return e.stopPropagation()},D=React.forwardRef((function(e,t){var n=e.onClick,o=(e.onKeyDown,x(e,["onClick","onKeyDown"]));return Object(r.createElement)(k.Consumer,null,(function(e){return Object(r.createElement)("div",S({"aria-modal":"true","data-reach-dialog-content":!0,tabIndex:"-1",onClick:I(n,A),ref:function(n){e(n),t&&t(n)}},o))}))})),M=n(5),T=function(e){return!!e},H=function(e){var t=e.items,n=e.isVisible,o=void 0===n?T:n,i=e.render,a=e.className,u=e.onDismiss;return Object(r.createElement)(M.Transition,{items:t,onStart:function(){return document.body.classList[o(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 o(e)&&function(t){return Object(r.createElement)(P,{style:{opacity:t.opacity},container:document.querySelector("#wpbody"),onDismiss:function(){return u()}},Object(r.createElement)(D,{className:c()("ct-admin-modal",a),style:{transform:"translate3d(0px, ".concat(t.y,"px, 0px)")}},Object(r.createElement)("button",{className:"close-button",onClick:function(){return u()}},"×"),i(e,t)))}}))};function R(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,o=!1,i=void 0;try{for(var a,u=e[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==u.return||u.return()}finally{if(o)throw i}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return N(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 N(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 N(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 L=function(e){var t=R(Object(r.useState)(!1),2),n=t[0],o=t[1];return[function(){return o(!0)},Object(r.createElement)(H,{items:n,onDismiss:function(){return o(!1)},render:function(){return Object(r.createElement)("div",{className:"ct-modal-content",dangerouslySetInnerHTML:{__html:e.readme}})}})]};function U(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}function K(){return(K=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 F(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n(6);function V(e){return null!=e&&"object"==typeof e&&1===e.nodeType}function B(e,t){return(!t||"hidden"!==e)&&("visible"!==e&&"clip"!==e)}function $(e,t){if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){var n=getComputedStyle(e,null);return B(n.overflowY,t)||B(n.overflowX,t)||function(e){var t=function(e){return e.ownerDocument&&e.ownerDocument.defaultView?e.ownerDocument.defaultView.frameElement:null}(e);return!!t&&(t.clientHeight<e.scrollHeight||t.clientWidth<e.scrollWidth)}(e)}return!1}function W(e,t,n,r,o,i,a,u){return i<e&&a>t||i>e&&a<t?0:i<=e&&u<=n||a>=t&&u>=n?i-e-r:a>t&&u<n||i<e&&u>n?a-t+o:0}var z=0;function q(e){return"function"==typeof e?e:Y}function Y(){}function X(e,t){null!==e&&function(e,t){var n=t.scrollMode,r=t.block,o=t.inline,i=t.boundary,a=t.skipOverflowHiddenElements,u="function"==typeof i?i:function(e){return e!==i};if(!V(e))throw new TypeError("Invalid target");for(var c=document.scrollingElement||document.documentElement,s=[],l=e;V(l)&&u(l);){if((l=l.parentNode)===c){s.push(l);break}l===document.body&&$(l)&&!$(document.documentElement)||$(l,a)&&s.push(l)}for(var p=window.visualViewport?visualViewport.width:innerWidth,d=window.visualViewport?visualViewport.height:innerHeight,f=window.scrollX||pageXOffset,h=window.scrollY||pageYOffset,m=e.getBoundingClientRect(),v=m.height,g=m.width,y=m.top,b=m.right,I=m.bottom,O=m.left,w="start"===r||"nearest"===r?y:"end"===r?I:y+v/2,S="center"===o?O+g/2:"end"===o?b:O,x=[],E=0;E<s.length;E++){var j=s[E],_=j.getBoundingClientRect(),C=_.height,k=_.width,P=_.top,A=_.right,D=_.bottom,M=_.left;if("if-needed"===n&&y>=0&&O>=0&&I<=d&&b<=p&&y>=P&&I<=D&&O>=M&&b<=A)return x;var T=getComputedStyle(j),H=parseInt(T.borderLeftWidth,10),R=parseInt(T.borderTopWidth,10),N=parseInt(T.borderRightWidth,10),L=parseInt(T.borderBottomWidth,10),U=0,K=0,F="offsetWidth"in j?j.offsetWidth-j.clientWidth-H-N:0,B="offsetHeight"in j?j.offsetHeight-j.clientHeight-R-L:0;if(c===j)U="start"===r?w:"end"===r?w-d:"nearest"===r?W(h,h+d,d,R,L,h+w,h+w+v,v):w-d/2,K="start"===o?S:"center"===o?S-p/2:"end"===o?S-p:W(f,f+p,p,H,N,f+S,f+S+g,g),U=Math.max(0,U+h),K=Math.max(0,K+f);else{U="start"===r?w-P-R:"end"===r?w-D+L+B:"nearest"===r?W(P,D,C,R,L+B,w,w+v,v):w-(P+C/2)+B/2,K="start"===o?S-M-H:"center"===o?S-(M+k/2)+F/2:"end"===o?S-A+N+F:W(M,A,k,H,N+F,S,S+g,g);var z=j.scrollLeft,q=j.scrollTop;w+=q-(U=Math.max(0,Math.min(q+U,j.scrollHeight-C+B))),S+=z-(K=Math.max(0,Math.min(z+K,j.scrollWidth-k+F)))}x.push({el:j,top:U,left:K})}return x}(e,{boundary:t,block:"nearest",scrollMode:"if-needed"}).forEach((function(e){var t=e.el,n=e.top,r=e.left;t.scrollTop=n,t.scrollLeft=r}))}function G(e,t){return e===t||e.contains&&e.contains(t)}function J(e,t){var n;function r(){n&&clearTimeout(n)}function o(){for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];r(),n=setTimeout((function(){n=null,e.apply(void 0,i)}),t)}return o.cancel=r,o}function Q(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return t.some((function(t){return t&&t.apply(void 0,[e].concat(r)),e.preventDownshiftDefault||e.hasOwnProperty("nativeEvent")&&e.nativeEvent.preventDownshiftDefault}))}}function Z(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){t.forEach((function(t){"function"==typeof t?t(e):t&&(t.current=e)}))}}function ee(e){var t=e.isOpen,n=e.selectedItem,r=e.resultCount,o=e.previousResultCount,i=e.itemToString;return t?r?r!==o?r+" result"+(1===r?" is":"s are")+" available, use up and down arrow keys to navigate. Press Enter key to select.":"":"No results are available.":n?i(n):""}function te(e,t){return!(e=Array.isArray(e)?e[0]:e)&&t?t:e}function ne(e){return"string"==typeof e.type}function re(e){return e.props}var oe=["highlightedIndex","inputValue","isOpen","selectedItem","type"];function ie(e){void 0===e&&(e={});var t={};return oe.forEach((function(n){e.hasOwnProperty(n)&&(t[n]=e[n])})),t}function ae(e){var t=e.key,n=e.keyCode;return n>=37&&n<=40&&0!==t.indexOf("Arrow")?"Arrow"+t:t}function ue(e,t,n){var r=n-1;("number"!=typeof t||t<0||t>=n)&&(t=e>0?-1:r+1);var o=t+e;return o<0?o=r:o>r&&(o=0),o}var ce=J((function(){le().textContent=""}),500);function se(e,t){var n=le(t);e&&(n.textContent=e,ce())}function le(e){void 0===e&&(e=document);var t=e.getElementById("a11y-status-message");return t||((t=e.createElement("div")).setAttribute("id","a11y-status-message"),t.setAttribute("role","status"),t.setAttribute("aria-live","polite"),t.setAttribute("aria-relevant","additions text"),Object.assign(t.style,{border:"0",clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:"0",position:"absolute",width:"1px"}),e.body.appendChild(t),t)}var pe=Object.freeze({__proto__:null,unknown:0,mouseUp:1,itemMouseEnter:2,keyDownArrowUp:3,keyDownArrowDown:4,keyDownEscape:5,keyDownEnter:6,keyDownHome:7,keyDownEnd:8,clickItem:9,blurInput:10,changeInput:11,keyDownSpaceButton:12,clickButton:13,blurButton:14,controlledPropUpdatedSelectedItem:15,touchEnd:16}),de=function(){var e=function(e){var t,n;function r(t){var n=e.call(this,t)||this;n.id=n.props.id||"downshift-"+String(z++),n.menuId=n.props.menuId||n.id+"-menu",n.labelId=n.props.labelId||n.id+"-label",n.inputId=n.props.inputId||n.id+"-input",n.getItemId=n.props.getItemId||function(e){return n.id+"-item-"+e},n.input=null,n.items=[],n.itemCount=null,n.previousResultCount=0,n.timeoutIds=[],n.internalSetTimeout=function(e,t){var r=setTimeout((function(){n.timeoutIds=n.timeoutIds.filter((function(e){return e!==r})),e()}),t);n.timeoutIds.push(r)},n.setItemCount=function(e){n.itemCount=e},n.unsetItemCount=function(){n.itemCount=null},n.setHighlightedIndex=function(e,t){void 0===e&&(e=n.props.defaultHighlightedIndex),void 0===t&&(t={}),t=ie(t),n.internalSetState(K({highlightedIndex:e},t))},n.clearSelection=function(e){n.internalSetState({selectedItem:null,inputValue:"",highlightedIndex:n.props.defaultHighlightedIndex,isOpen:n.props.defaultIsOpen},e)},n.selectItem=function(e,t,r){t=ie(t),n.internalSetState(K({isOpen:n.props.defaultIsOpen,highlightedIndex:n.props.defaultHighlightedIndex,selectedItem:e,inputValue:n.props.itemToString(e)},t),r)},n.selectItemAtIndex=function(e,t,r){var o=n.items[e];null!=o&&n.selectItem(o,t,r)},n.selectHighlightedItem=function(e,t){return n.selectItemAtIndex(n.getState().highlightedIndex,e,t)},n.internalSetState=function(e,t){var r,o,i={},a="function"==typeof e;return!a&&e.hasOwnProperty("inputValue")&&n.props.onInputValueChange(e.inputValue,K({},n.getStateAndHelpers(),{},e)),n.setState((function(t){t=n.getState(t);var u=a?e(t):e;u=n.props.stateReducer(t,u),r=u.hasOwnProperty("selectedItem");var c={},s={};return r&&u.selectedItem!==t.selectedItem&&(o=u.selectedItem),u.type=u.type||0,Object.keys(u).forEach((function(e){t[e]!==u[e]&&(i[e]=u[e]),"type"!==e&&(s[e]=u[e],n.isControlledProp(e)||(c[e]=u[e]))})),a&&u.hasOwnProperty("inputValue")&&n.props.onInputValueChange(u.inputValue,K({},n.getStateAndHelpers(),{},u)),c}),(function(){q(t)(),Object.keys(i).length>1&&n.props.onStateChange(i,n.getStateAndHelpers()),r&&n.props.onSelect(e.selectedItem,n.getStateAndHelpers()),void 0!==o&&n.props.onChange(o,n.getStateAndHelpers()),n.props.onUserAction(i,n.getStateAndHelpers())}))},n.rootRef=function(e){return n._rootNode=e},n.getRootProps=function(e,t){var r,o=void 0===e?{}:e,i=o.refKey,a=void 0===i?"ref":i,u=o.ref,c=U(o,["refKey","ref"]),s=(void 0===t?{}:t).suppressRefError,l=void 0!==s&&s;n.getRootProps.called=!0,n.getRootProps.refKey=a,n.getRootProps.suppressRefError=l;var p=n.getState().isOpen;return K(((r={})[a]=Z(u,n.rootRef),r.role="combobox",r["aria-expanded"]=p,r["aria-haspopup"]="listbox",r["aria-owns"]=p?n.menuId:null,r["aria-labelledby"]=n.labelId,r),c)},n.keyDownHandlers={ArrowDown:function(e){var t=this;if(e.preventDefault(),this.getState().isOpen){var n=e.shiftKey?5:1;this.moveHighlightedIndex(n,{type:4})}else this.internalSetState({isOpen:!0,type:4},(function(){var e=t.getItemCount();e>0&&t.setHighlightedIndex(ue(1,t.getState().highlightedIndex,e),{type:4})}))},ArrowUp:function(e){var t=this;if(e.preventDefault(),this.getState().isOpen){var n=e.shiftKey?-5:-1;this.moveHighlightedIndex(n,{type:3})}else this.internalSetState({isOpen:!0,type:3},(function(){var e=t.getItemCount();e>0&&t.setHighlightedIndex(ue(-1,t.getState().highlightedIndex,e),{type:4})}))},Enter:function(e){var t=this.getState(),n=t.isOpen,r=t.highlightedIndex;if(n&&null!=r){e.preventDefault();var o=this.items[r],i=this.getItemNodeFromIndex(r);if(null==o||i&&i.hasAttribute("disabled"))return;this.selectHighlightedItem({type:6})}},Escape:function(e){e.preventDefault(),this.reset({type:5,selectedItem:null,inputValue:""})}},n.buttonKeyDownHandlers=K({},n.keyDownHandlers,{" ":function(e){e.preventDefault(),this.toggleMenu({type:12})}}),n.inputKeyDownHandlers=K({},n.keyDownHandlers,{Home:function(e){this.highlightFirstOrLastIndex(e,!0,{type:7})},End:function(e){this.highlightFirstOrLastIndex(e,!1,{type:8})}}),n.getToggleButtonProps=function(e){var t=void 0===e?{}:e,r=t.onClick,o=(t.onPress,t.onKeyDown),i=t.onKeyUp,a=t.onBlur,u=U(t,["onClick","onPress","onKeyDown","onKeyUp","onBlur"]),c=n.getState().isOpen,s={onClick:Q(r,n.buttonHandleClick),onKeyDown:Q(o,n.buttonHandleKeyDown),onKeyUp:Q(i,n.buttonHandleKeyUp),onBlur:Q(a,n.buttonHandleBlur)};return K({type:"button",role:"button","aria-label":c?"close menu":"open menu","aria-haspopup":!0,"data-toggle":!0},u.disabled?{}:s,{},u)},n.buttonHandleKeyUp=function(e){e.preventDefault()},n.buttonHandleKeyDown=function(e){var t=ae(e);n.buttonKeyDownHandlers[t]&&n.buttonKeyDownHandlers[t].call(F(n),e)},n.buttonHandleClick=function(e){e.preventDefault(),n.props.environment.document.activeElement===n.props.environment.document.body&&e.target.focus(),n.internalSetTimeout((function(){return n.toggleMenu({type:13})}))},n.buttonHandleBlur=function(e){var t=e.target;n.internalSetTimeout((function(){n.isMouseDown||null!=n.props.environment.document.activeElement&&n.props.environment.document.activeElement.id===n.inputId||n.props.environment.document.activeElement===t||n.reset({type:14})}))},n.getLabelProps=function(e){return K({htmlFor:n.inputId,id:n.labelId},e)},n.getInputProps=function(e){var t=void 0===e?{}:e,r=t.onKeyDown,o=t.onBlur,i=t.onChange,a=t.onInput,u=(t.onChangeText,U(t,["onKeyDown","onBlur","onChange","onInput","onChangeText"])),c={};var s,l=n.getState(),p=l.inputValue,d=l.isOpen,f=l.highlightedIndex;u.disabled||((s={}).onChange=Q(i,a,n.inputHandleChange),s.onKeyDown=Q(r,n.inputHandleKeyDown),s.onBlur=Q(o,n.inputHandleBlur),c=s);return K({"aria-autocomplete":"list","aria-activedescendant":d&&"number"==typeof f&&f>=0?n.getItemId(f):null,"aria-controls":d?n.menuId:null,"aria-labelledby":n.labelId,autoComplete:"off",value:p,id:n.inputId},c,{},u)},n.inputHandleKeyDown=function(e){var t=ae(e);t&&n.inputKeyDownHandlers[t]&&n.inputKeyDownHandlers[t].call(F(n),e)},n.inputHandleChange=function(e){n.internalSetState({type:11,isOpen:!0,inputValue:e.target.value,highlightedIndex:n.props.defaultHighlightedIndex})},n.inputHandleBlur=function(){n.internalSetTimeout((function(){var e=n.props.environment.document&&!!n.props.environment.document.activeElement&&!!n.props.environment.document.activeElement.dataset&&n.props.environment.document.activeElement.dataset.toggle&&n._rootNode&&n._rootNode.contains(n.props.environment.document.activeElement);n.isMouseDown||e||n.reset({type:10})}))},n.menuRef=function(e){n._menuNode=e},n.getMenuProps=function(e,t){var r,o=void 0===e?{}:e,i=o.refKey,a=void 0===i?"ref":i,u=o.ref,c=U(o,["refKey","ref"]),s=(void 0===t?{}:t).suppressRefError,l=void 0!==s&&s;return n.getMenuProps.called=!0,n.getMenuProps.refKey=a,n.getMenuProps.suppressRefError=l,K(((r={})[a]=Z(u,n.menuRef),r.role="listbox",r["aria-labelledby"]=c&&c["aria-label"]?null:n.labelId,r.id=n.menuId,r),c)},n.getItemProps=function(e){var t,r=void 0===e?{}:e,o=r.onMouseMove,i=r.onMouseDown,a=r.onClick,u=(r.onPress,r.index),c=r.item,s=void 0===c?void 0:c,l=U(r,["onMouseMove","onMouseDown","onClick","onPress","index","item"]);void 0===u?(n.items.push(s),u=n.items.indexOf(s)):n.items[u]=s;var p=a,d=((t={onMouseMove:Q(o,(function(){u!==n.getState().highlightedIndex&&(n.setHighlightedIndex(u,{type:2}),n.avoidScrolling=!0,n.internalSetTimeout((function(){return n.avoidScrolling=!1}),250))})),onMouseDown:Q(i,(function(e){e.preventDefault()}))}).onClick=Q(p,(function(){n.selectItemAtIndex(u,{type:9})})),t),f=l.disabled?{onMouseDown:d.onMouseDown}:d;return K({id:n.getItemId(u),role:"option","aria-selected":n.getState().highlightedIndex===u},f,{},l)},n.clearItems=function(){n.items=[]},n.reset=function(e,t){void 0===e&&(e={}),e=ie(e),n.internalSetState((function(t){var r=t.selectedItem;return K({isOpen:n.props.defaultIsOpen,highlightedIndex:n.props.defaultHighlightedIndex,inputValue:n.props.itemToString(r)},e)}),t)},n.toggleMenu=function(e,t){void 0===e&&(e={}),e=ie(e),n.internalSetState((function(t){var r=t.isOpen;return K({isOpen:!r},r&&{highlightedIndex:n.props.defaultHighlightedIndex},{},e)}),(function(){var r=n.getState(),o=r.isOpen,i=r.highlightedIndex;o&&n.getItemCount()>0&&"number"==typeof i&&n.setHighlightedIndex(i,e),q(t)()}))},n.openMenu=function(e){n.internalSetState({isOpen:!0},e)},n.closeMenu=function(e){n.internalSetState({isOpen:!1},e)},n.updateStatus=J((function(){var e=n.getState(),t=n.items[e.highlightedIndex],r=n.getItemCount(),o=n.props.getA11yStatusMessage(K({itemToString:n.props.itemToString,previousResultCount:n.previousResultCount,resultCount:r,highlightedItem:t},e));n.previousResultCount=r,se(o,n.props.environment.document)}),200);var r=n.props,o=r.defaultHighlightedIndex,i=r.initialHighlightedIndex,a=void 0===i?o:i,u=r.defaultIsOpen,c=r.initialIsOpen,s=void 0===c?u:c,l=r.initialInputValue,p=void 0===l?"":l,d=r.initialSelectedItem,f=void 0===d?null:d,h=n.getState({highlightedIndex:a,isOpen:s,inputValue:p,selectedItem:f});return null!=h.selectedItem&&void 0===n.props.initialInputValue&&(h.inputValue=n.props.itemToString(h.selectedItem)),n.state=h,n}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var o=r.prototype;return o.internalClearTimeouts=function(){this.timeoutIds.forEach((function(e){clearTimeout(e)})),this.timeoutIds=[]},o.getState=function(e){var t=this;return void 0===e&&(e=this.state),Object.keys(e).reduce((function(n,r){return n[r]=t.isControlledProp(r)?t.props[r]:e[r],n}),{})},o.isControlledProp=function(e){return void 0!==this.props[e]},o.getItemCount=function(){var e=this.items.length;return null!=this.itemCount?e=this.itemCount:void 0!==this.props.itemCount&&(e=this.props.itemCount),e},o.getItemNodeFromIndex=function(e){return this.props.environment.document.getElementById(this.getItemId(e))},o.scrollHighlightedItemIntoView=function(){var e=this.getItemNodeFromIndex(this.getState().highlightedIndex);this.props.scrollIntoView(e,this._menuNode)},o.moveHighlightedIndex=function(e,t){var n=this.getItemCount();if(n>0){var r=ue(e,this.getState().highlightedIndex,n);this.setHighlightedIndex(r,t)}},o.highlightFirstOrLastIndex=function(e,t,n){var r=this.getItemCount()-1;r<0||!this.getState().isOpen||(e.preventDefault(),this.setHighlightedIndex(t?0:r,n))},o.getStateAndHelpers=function(){var e=this.getState(),t=e.highlightedIndex,n=e.inputValue,r=e.selectedItem,o=e.isOpen,i=this.props.itemToString,a=this.id,u=this.getRootProps,c=this.getToggleButtonProps,s=this.getLabelProps,l=this.getMenuProps,p=this.getInputProps,d=this.getItemProps,f=this.openMenu,h=this.closeMenu,m=this.toggleMenu,v=this.selectItem,g=this.selectItemAtIndex,y=this.selectHighlightedItem,b=this.setHighlightedIndex,I=this.clearSelection,O=this.clearItems;return{getRootProps:u,getToggleButtonProps:c,getLabelProps:s,getMenuProps:l,getInputProps:p,getItemProps:d,reset:this.reset,openMenu:f,closeMenu:h,toggleMenu:m,selectItem:v,selectItemAtIndex:g,selectHighlightedItem:y,setHighlightedIndex:b,clearSelection:I,clearItems:O,setItemCount:this.setItemCount,unsetItemCount:this.unsetItemCount,setState:this.internalSetState,itemToString:i,id:a,highlightedIndex:t,inputValue:n,isOpen:o,selectedItem:r}},o.componentDidMount=function(){var e=this;var t=function(t,n){void 0===n&&(n=!0);var r=e.props.environment.document;return[e._rootNode,e._menuNode].some((function(e){return e&&(G(e,t)||n&&G(e,r.activeElement))}))},n=function(){e.isMouseDown=!0},r=function(n){e.isMouseDown=!1,!t(n.target)&&e.getState().isOpen&&e.reset({type:1},(function(){return e.props.onOuterClick(e.getStateAndHelpers())}))},o=function(){e.isTouchMove=!1},i=function(){e.isTouchMove=!0},a=function(n){var r=t(n.target,!1);e.isTouchMove||r||!e.getState().isOpen||e.reset({type:16},(function(){return e.props.onOuterClick(e.getStateAndHelpers())}))},u=this.props.environment;u.addEventListener("mousedown",n),u.addEventListener("mouseup",r),u.addEventListener("touchstart",o),u.addEventListener("touchmove",i),u.addEventListener("touchend",a),this.cleanup=function(){e.internalClearTimeouts(),e.updateStatus.cancel(),u.removeEventListener("mousedown",n),u.removeEventListener("mouseup",r),u.removeEventListener("touchstart",o),u.removeEventListener("touchmove",i),u.removeEventListener("touchend",a)}},o.shouldScroll=function(e,t){var n=(void 0===this.props.highlightedIndex?this.getState():this.props).highlightedIndex,r=(void 0===t.highlightedIndex?e:t).highlightedIndex;return n&&this.getState().isOpen&&!e.isOpen||n!==r},o.componentDidUpdate=function(e,t){this.isControlledProp("selectedItem")&&this.props.selectedItemChanged(e.selectedItem,this.props.selectedItem)&&this.internalSetState({type:15,inputValue:this.props.itemToString(this.props.selectedItem)}),!this.avoidScrolling&&this.shouldScroll(t,e)&&this.scrollHighlightedItemIntoView(),this.updateStatus()},o.componentWillUnmount=function(){this.cleanup()},o.render=function(){var e=te(this.props.children,Y);this.clearItems(),this.getRootProps.called=!1,this.getRootProps.refKey=void 0,this.getRootProps.suppressRefError=void 0,this.getMenuProps.called=!1,this.getMenuProps.refKey=void 0,this.getMenuProps.suppressRefError=void 0,this.getLabelProps.called=!1,this.getInputProps.called=!1;var t=te(e(this.getStateAndHelpers()));return t?this.getRootProps.called||this.props.suppressRefError?t:ne(t)?Object(s.cloneElement)(t,this.getRootProps(re(t))):void 0:null},r}(s.Component);return e.defaultProps={defaultHighlightedIndex:null,defaultIsOpen:!1,getA11yStatusMessage:ee,itemToString:function(e){return null==e?"":String(e)},onStateChange:Y,onInputValueChange:Y,onUserAction:Y,onChange:Y,onSelect:Y,onOuterClick:Y,selectedItemChanged:function(e,t){return e!==t},environment:"undefined"==typeof window?{}:window,stateReducer:function(e,t){return t},suppressRefError:!1,scrollIntoView:X},e.stateChangeTypes=pe,e}();d.a.array.isRequired,d.a.func,d.a.func,d.a.func,d.a.bool,d.a.number,d.a.number,d.a.number,d.a.bool,d.a.bool,d.a.bool,d.a.any,d.a.any,d.a.any,d.a.string,d.a.string,d.a.string,d.a.func,d.a.string,d.a.func,d.a.func,d.a.func,d.a.func,d.a.func,d.a.shape({addEventListener:d.a.func,removeEventListener:d.a.func,document:d.a.shape({getElementById:d.a.func,activeElement:d.a.any,body:d.a.any})});"undefined"==typeof window||window;var fe=de;function he(){return(he=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 me(e,t,n,r,o,i,a){try{var u=e[i](a),c=u.value}catch(e){return void n(e)}u.done?t(c):Promise.resolve(c).then(r,o)}function ve(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,o=!1,i=void 0;try{for(var a,u=e[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==u.return||u.return()}finally{if(o)throw i}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return ge(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 ge(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 ge(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 ye=function(e){var t=e.listId,n=e.provider,o=e.apiKey,i=e.onChange,u=ve(Object(r.useState)([]),2),s=u[0],l=u[1],p=ve(Object(r.useState)(!1),2),d=p[0],f=p[1],h=ve(Object(r.useState)({controller:null}),2),m=h[0].controller,v=h[1],g=function(){var e,t=(e=regeneratorRuntime.mark((function e(){var t,r,i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return m&&m.abort(),f(!0),"AbortController"in window&&(m=new AbortController,v({controller:m})),(t=new FormData).append("api_key",o),t.append("provider",n),t.append("action","blocksy_ext_newsletter_subscribe_maybe_get_lists"),e.prev=7,e.next=10,fetch(ctDashboardLocalizations.ajax_url,{method:"POST",signal:m.signal,body:t});case 10:if(200!==(r=e.sent).status){e.next=20;break}return e.next=14,r.json();case 14:if(!(i=e.sent).success){e.next=20;break}if("api_key_invalid"===i.data.result){e.next=20;break}return f(!1),l(i.data.result),e.abrupt("return");case 20:e.next=24;break;case 22:e.prev=22,e.t0=e.catch(7);case 24:l([]),f(!1);case 26:case"end":return e.stop()}}),e,null,[[7,22]])})),function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){me(i,r,o,a,u,"next",e)}function u(e){me(i,r,o,a,u,"throw",e)}a(void 0)}))});return function(){return t.apply(this,arguments)}}();return Object(r.useEffect)((function(){o?g():l([])}),[n,o]),0===s.length?Object(r.createElement)("div",{className:"ct-select-input"},Object(r.createElement)("input",{disabled:!0,placeholder:d?Object(a.__)("Loading","blocksy-companion"):Object(a.__)("Invalid API Key...","blocksy-companion")})):Object(r.createElement)(fe,{selectedItem:t||"",onChange:function(e){return i(e)},itemToString:function(e){return e?(s.find((function(t){return t.id===e}))||{}).name:""}},(function(e){var t=e.getInputProps,n=e.getItemProps,o=(e.getLabelProps,e.getMenuProps),i=e.isOpen,u=(e.inputValue,e.highlightedIndex),l=e.selectedItem,p=e.openMenu;return Object(r.createElement)("div",{className:"ct-select-input"},Object(r.createElement)("input",he({},t({onFocus:function(){return p()},onClick:function(){return p()}}),{placeholder:Object(a.__)("Select list...","blocksy-companion"),readOnly:!0})),i&&Object(r.createElement)("div",o({className:"ct-select-dropdown"}),s.map((function(e,t){return Object(r.createElement)("div",n({key:e.id,index:t,item:e.id,className:c()("ct-select-dropdown-item",{active:u===t,selected:l===e.id})}),e.name)}))))}))};function be(e,t,n,r,o,i,a){try{var u=e[i](a),c=u.value}catch(e){return void n(e)}u.done?t(c):Promise.resolve(c).then(r,o)}function Ie(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,o=!1,i=void 0;try{for(var a,u=e[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==u.return||u.return()}finally{if(o)throw i}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Oe(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 Oe(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 Oe(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 we=function(e){var t=e.extension,n=e.isEditingCredentials,o=e.setIsEditingCredentials,i=e.onCredentialsValidated,u=Ie(Object(r.useState)(t.data.provider),2),s=u[0],l=u[1],p=Ie(Object(r.useState)(t.data.api_key),2),d=p[0],f=p[1],h=Ie(Object(r.useState)(t.data.list_id),2),m=h[0],v=h[1],g=Ie(Object(r.useState)(!1),2),y=g[0],b=g[1],I=Ie(Object(r.useState)(!1),2),O=I[0],w=I[1],S=function(){var e,t=(e=regeneratorRuntime.mark((function e(){var t,n,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return(t=new FormData).append("provider",s),t.append("api_key",d),t.append("list_id",m),t.append("action","blocksy_ext_newsletter_subscribe_maybe_save_credentials"),b(!0),e.prev=6,e.next=9,fetch(ctDashboardLocalizations.ajax_url,{method:"POST",body:t});case 9:if(200!==(n=e.sent).status){e.next=15;break}return e.next=13,n.json();case 13:(r=e.sent).success&&"api_key_invalid"!==r.data.result&&(i(),w(!1));case 15:w(!0),e.next=21;break;case 18:e.prev=18,e.t0=e.catch(6),w(!0);case 21:return e.next=23,new Promise((function(e){return setTimeout((function(){return e()}),1e3)}));case 23:b(!1);case 24:case"end":return e.stop()}}),e,null,[[6,18]])})),function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){be(i,r,o,a,u,"next",e)}function u(e){be(i,r,o,a,u,"throw",e)}a(void 0)}))});return function(){return t.apply(this,arguments)}}();return Object(r.createElement)(H,{items:n,onDismiss:function(){return o(!1)},className:"ct-mailchimp-modal",render:function(){return Object(r.createElement)("div",{className:c()("ct-modal-content",{"ct-key-invalid":O})},Object(r.createElement)("h2",null,Object(a.__)("API Credentials","blocksy-companion")),Object(r.createElement)("p",{dangerouslySetInnerHTML:{__html:Object(a.__)("Enter your Newsletter provider API credentials in the form below.","blocksy-companion")}}),Object(r.createElement)("div",{className:"ct-newsletter-select-provider"},Object(r.createElement)(r.Fragment,null,Object(r.createElement)("h4",null,Object(a.__)("Select Provider","blocksy-companion")),Object(r.createElement)(M.Select,{onChange:function(e){l(e)},option:{placeholder:Object(a.__)("Pick Mailing Service","blocksy-companion"),choices:[{key:"mailchimp",value:"Mailchimp"},{key:"mailerlite",value:"Mailerlite"}]},value:s})),!ctDashboardLocalizations.plugin_data.is_pro&&"mailchimp"!==s&&Object(r.createElement)("p",{dangerouslySetInnerHTML:{__html:Object(a.sprintf)(Object(a.__)("This option is available only in Blocksy premium %sversion%s.","blocksy-companion"),'<a target="_blank" href="https://creativethemes.com/blocksy/pricing/">',"</a>")}}),"mailchimp"===s&&Object(r.createElement)("p",{dangerouslySetInnerHTML:{__html:Object(a.sprintf)(Object(a.__)("More info on how to generate an API key for Mailchimp can be found %shere%s.","blocksy-companion"),'<a target="_blank" href="https://mailchimp.com/help/about-api-keys/">',"</a>")}}),ctDashboardLocalizations.plugin_data.is_pro&&"mailerlite"===s&&Object(r.createElement)("p",{dangerouslySetInnerHTML:{__html:Object(a.sprintf)(Object(a.__)("More info on how to generate an API key for Mailerlite can be found %shere%s.","blocksy-companion"),'<a target="_blank" href="https://help.mailerlite.com/article/show/35040-where-to-find-the-mailerlite-api-key-and-api-documentation">',"</a>")}})),("mailchimp"===s||ctDashboardLocalizations.plugin_data.is_pro)&&Object(r.createElement)("div",{className:"mailchimp-credentials"},Object(r.createElement)("section",null,Object(r.createElement)("label",null,Object(a.__)("API Key","blocksy-companion")),Object(r.createElement)("div",{className:"ct-option-input"},Object(r.createElement)("input",{type:"text",onChange:function(e){var t=e.target.value;return f(t)},value:d||""}))),Object(r.createElement)("section",null,Object(r.createElement)("label",null,Object(a.__)("List ID","blocksy-companion")),Object(r.createElement)(ye,{listId:m,onChange:function(e){return v(e)},provider:s,apiKey:d})),Object(r.createElement)("section",null,Object(r.createElement)("label",null," "),Object(r.createElement)("button",{className:"ct-button","data-button":"blue",disabled:!d||!m||y,onClick:function(){return S()}},y?Object(a.__)("Loading...","blocksy-companion"):t.__object?Object(a.__)("Save Settings","blocksy-companion"):Object(a.__)("Activate","blocksy-companion")))))}})};function Se(e,t,n,r,o,i,a){try{var u=e[i](a),c=u.value}catch(e){return void n(e)}u.done?t(c):Promise.resolve(c).then(r,o)}function xe(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){Se(i,r,o,a,u,"next",e)}function u(e){Se(i,r,o,a,u,"throw",e)}a(void 0)}))}}function Ee(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,o=!1,i=void 0;try{for(var a,u=e[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==u.return||u.return()}finally{if(o)throw i}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return je(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 je(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 je(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 _e=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){},n=Object(r.useState)(!1),o=Ee(n,2),i=o[0],u=o[1],c=Object(r.useState)(!1),s=Ee(c,2),l=s[0],p=s[1],d=function(){var n=xe(regeneratorRuntime.mark((function n(){var r;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return(r=new FormData).append("ext",e.name),r.append("action",e.__object?"blocksy_extension_deactivate":"blocksy_extension_activate"),u(!0),n.prev=4,n.next=7,fetch(ctDashboardLocalizations.ajax_url,{method:"POST",body:r});case 7:t(),n.next=12;break;case 10:n.prev=10,n.t0=n.catch(4);case 12:u(!1);case 13:case"end":return n.stop()}}),n,null,[[4,10]])})));return function(){return n.apply(this,arguments)}}(),f=function(){e.__object||e.data.api_key?d():p(!0)};return[i,f,Object(r.createElement)(r.Fragment,null,e.__object&&e.data.api_key&&Object(r.createElement)("button",{className:"ct-button ct-config-btn","data-button":"white",title:"Edit Credentials",onClick:function(){return p(!0)}},Object(a.__)("Configure","blocksy-companion")),Object(r.createElement)(we,{isEditingCredentials:l,setIsEditingCredentials:p,extension:e,onCredentialsValidated:function(){e.__object||d(),p(!1)}}))]};function Ce(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,o=!1,i=void 0;try{for(var a,u=e[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==u.return||u.return()}finally{if(o)throw i}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return ke(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 ke(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 ke(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 Pe=function(e){var t=e.extension,n=e.onExtsSync,o=Ce(_e(t,(function(){n()})),3),i=o[0],u=o[1],s=o[2],l=Ce(L(t),2),p=l[0],d=l[1];return Object(r.createElement)("li",{className:c()({active:!!t.__object})},Object(r.createElement)("h4",{className:"ct-extension-title"},t.config.name,i&&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:c()(t.__object?"ct-button":"ct-button-primary"),"data-button":"white",disabled:i,onClick:function(){return u()}},t.__object?Object(a.__)("Deactivate","blocksy-companion"):Object(a.__)("Activate","blocksy-companion")),s,t.readme&&Object(r.createElement)("button",{onClick:function(){return p()},"data-button":"white",className:"ct-minimal-button ct-instruction"},Object(r.createElement)("svg",{width:"16",height:"16",viewBox:"0 0 24 24"},Object(r.createElement)("path",{d:"M12,2C6.477,2,2,6.477,2,12s4.477,10,10,10s10-4.477,10-10S17.523,2,12,2z M12,17L12,17c-0.552,0-1-0.448-1-1v-4 c0-0.552,0.448-1,1-1h0c0.552,0,1,0.448,1,1v4C13,16.552,12.552,17,12,17z M12.5,9h-1C11.224,9,11,8.776,11,8.5v-1 C11,7.224,11.224,7,11.5,7h1C12.776,7,13,7.224,13,7.5v1C13,8.776,12.776,9,12.5,9z"})))),d)};i.a.on("ct:extensions:card",(function(e){var t=e.CustomComponent;"newsletter-subscribe"===e.extension.name&&(t.extension=Pe)}))}]);
framework/extensions/newsletter-subscribe/dashboard-static/js/EditCredentials.js CHANGED
@@ -75,20 +75,20 @@ const EditCredentials = ({
75
  className={classnames('ct-modal-content', {
76
  'ct-key-invalid': isApiKeyInvalid,
77
  })}>
78
- <h2>{__('API Credentials', 'blc')}</h2>
79
 
80
  <p
81
  dangerouslySetInnerHTML={{
82
  __html: __(
83
  'Enter your Newsletter provider API credentials in the form below.',
84
- 'blc'
85
  ),
86
  }}
87
  />
88
 
89
  <div className="ct-newsletter-select-provider">
90
  <Fragment>
91
- <h4>{__('Select Provider', 'blc')}</h4>
92
 
93
  <Select
94
  onChange={(copy) => {
@@ -97,7 +97,7 @@ const EditCredentials = ({
97
  option={{
98
  placeholder: __(
99
  'Pick Mailing Service',
100
- 'blc'
101
  ),
102
  choices: [
103
  {
@@ -122,7 +122,7 @@ const EditCredentials = ({
122
  __html: sprintf(
123
  __(
124
  'This option is available only in Blocksy premium %sversion%s.',
125
- 'blc'
126
  ),
127
 
128
  '<a target="_blank" href="https://creativethemes.com/blocksy/pricing/">',
@@ -138,7 +138,7 @@ const EditCredentials = ({
138
  __html: sprintf(
139
  __(
140
  'More info on how to generate an API key for Mailchimp can be found %shere%s.',
141
- 'blc'
142
  ),
143
 
144
  '<a target="_blank" href="https://mailchimp.com/help/about-api-keys/">',
@@ -155,7 +155,7 @@ const EditCredentials = ({
155
  __html: sprintf(
156
  __(
157
  'More info on how to generate an API key for Mailerlite can be found %shere%s.',
158
- 'blc'
159
  ),
160
 
161
  '<a target="_blank" href="https://help.mailerlite.com/article/show/35040-where-to-find-the-mailerlite-api-key-and-api-documentation">',
@@ -170,7 +170,7 @@ const EditCredentials = ({
170
  ctDashboardLocalizations.plugin_data.is_pro) && (
171
  <div className="mailchimp-credentials">
172
  <section>
173
- <label>{__('API Key', 'blc')}</label>
174
 
175
  <div className="ct-option-input">
176
  <input
@@ -184,7 +184,7 @@ const EditCredentials = ({
184
  </section>
185
 
186
  <section>
187
- <label>{__('List ID', 'blc')}</label>
188
 
189
  <ListPicker
190
  listId={listId}
@@ -202,10 +202,10 @@ const EditCredentials = ({
202
  disabled={!apiKey || !listId || isLoading}
203
  onClick={() => attemptToSaveCredentials()}>
204
  {isLoading
205
- ? __('Loading...', 'blc')
206
  : !extension.__object
207
- ? __('Activate', 'blc')
208
- : __('Save Settings', 'blc')}
209
  </button>
210
  </section>
211
  </div>
75
  className={classnames('ct-modal-content', {
76
  'ct-key-invalid': isApiKeyInvalid,
77
  })}>
78
+ <h2>{__('API Credentials', 'blocksy-companion')}</h2>
79
 
80
  <p
81
  dangerouslySetInnerHTML={{
82
  __html: __(
83
  'Enter your Newsletter provider API credentials in the form below.',
84
+ 'blocksy-companion'
85
  ),
86
  }}
87
  />
88
 
89
  <div className="ct-newsletter-select-provider">
90
  <Fragment>
91
+ <h4>{__('Select Provider', 'blocksy-companion')}</h4>
92
 
93
  <Select
94
  onChange={(copy) => {
97
  option={{
98
  placeholder: __(
99
  'Pick Mailing Service',
100
+ 'blocksy-companion'
101
  ),
102
  choices: [
103
  {
122
  __html: sprintf(
123
  __(
124
  'This option is available only in Blocksy premium %sversion%s.',
125
+ 'blocksy-companion'
126
  ),
127
 
128
  '<a target="_blank" href="https://creativethemes.com/blocksy/pricing/">',
138
  __html: sprintf(
139
  __(
140
  'More info on how to generate an API key for Mailchimp can be found %shere%s.',
141
+ 'blocksy-companion'
142
  ),
143
 
144
  '<a target="_blank" href="https://mailchimp.com/help/about-api-keys/">',
155
  __html: sprintf(
156
  __(
157
  'More info on how to generate an API key for Mailerlite can be found %shere%s.',
158
+ 'blocksy-companion'
159
  ),
160
 
161
  '<a target="_blank" href="https://help.mailerlite.com/article/show/35040-where-to-find-the-mailerlite-api-key-and-api-documentation">',
170
  ctDashboardLocalizations.plugin_data.is_pro) && (
171
  <div className="mailchimp-credentials">
172
  <section>
173
+ <label>{__('API Key', 'blocksy-companion')}</label>
174
 
175
  <div className="ct-option-input">
176
  <input
184
  </section>
185
 
186
  <section>
187
+ <label>{__('List ID', 'blocksy-companion')}</label>
188
 
189
  <ListPicker
190
  listId={listId}
202
  disabled={!apiKey || !listId || isLoading}
203
  onClick={() => attemptToSaveCredentials()}>
204
  {isLoading
205
+ ? __('Loading...', 'blocksy-companion')
206
  : !extension.__object
207
+ ? __('Activate', 'blocksy-companion')
208
+ : __('Save Settings', 'blocksy-companion')}
209
  </button>
210
  </section>
211
  </div>
framework/extensions/newsletter-subscribe/dashboard-static/js/ListPicker.js CHANGED
@@ -81,8 +81,8 @@ const ListPicker = ({ listId, provider, apiKey, onChange }) => {
81
  disabled
82
  placeholder={
83
  isLoadingLists
84
- ? __('Loading', 'blc')
85
- : __('Invalid API Key...', 'blc')
86
  }
87
  />
88
  </div>
@@ -110,7 +110,7 @@ const ListPicker = ({ listId, provider, apiKey, onChange }) => {
110
  onFocus: () => openMenu(),
111
  onClick: () => openMenu(),
112
  })}
113
- placeholder={__('Select list...', 'blc')}
114
  readOnly
115
  />
116
 
81
  disabled
82
  placeholder={
83
  isLoadingLists
84
+ ? __('Loading', 'blocksy-companion')
85
+ : __('Invalid API Key...', 'blocksy-companion')
86
  }
87
  />
88
  </div>
110
  onFocus: () => openMenu(),
111
  onClick: () => openMenu(),
112
  })}
113
+ placeholder={__('Select list...', 'blocksy-companion')}
114
  readOnly
115
  />
116
 
framework/extensions/newsletter-subscribe/dashboard-static/js/NewsletterSubscribe.js CHANGED
@@ -70,8 +70,8 @@ const NewsletterSubscribe = ({ extension, onExtsSync }) => {
70
  disabled={isLoading}
71
  onClick={() => activationAction()}>
72
  {extension.__object
73
- ? __('Deactivate', 'blc')
74
- : __('Activate', 'blc')}
75
  </button>
76
 
77
  {ui}
70
  disabled={isLoading}
71
  onClick={() => activationAction()}>
72
  {extension.__object
73
+ ? __('Deactivate', 'blocksy-companion')
74
+ : __('Activate', 'blocksy-companion')}
75
  </button>
76
 
77
  {ui}
framework/extensions/newsletter-subscribe/dashboard-static/js/hooks/useActivationWithRequirements.js CHANGED
@@ -57,7 +57,7 @@ const useActivationWithRequirements = (extension, cb = () => {}) => {
57
  data-button="white"
58
  title="Edit Credentials"
59
  onClick={() => setIsEditingCredentials(true)}>
60
- {__('Configure', 'blc')}
61
  </button>
62
  )}
63
 
57
  data-button="white"
58
  title="Edit Credentials"
59
  onClick={() => setIsEditingCredentials(true)}>
60
+ {__('Configure', 'blocksy-companion')}
61
  </button>
62
  )}
63
 
framework/extensions/newsletter-subscribe/extension.php CHANGED
@@ -131,7 +131,7 @@ class BlocksyExtensionNewsletterSubscribe {
131
 
132
  add_filter('blocksy_extensions_metabox_post:elements:before', function ($opts) {
133
  $opts['disable_subscribe_form'] = [
134
- 'label' => __( 'Disable Subscribe Form', 'blc' ),
135
  'type' => 'ct-switch',
136
  'value' => 'no',
137
  ];
@@ -178,13 +178,13 @@ class BlocksyExtensionNewsletterSubscribe {
178
  'has_title' => false,
179
  'has_description' => false,
180
 
181
- 'button_text' => __('Subscribe', 'blc'),
182
 
183
  // no | yes
184
  'has_name' => 'no',
185
 
186
- 'name_label' => __('Your name', 'blc'),
187
- 'email_label' => __('Your email', 'blc'),
188
  'list_id' => '',
189
  'class' => ''
190
  ]
131
 
132
  add_filter('blocksy_extensions_metabox_post:elements:before', function ($opts) {
133
  $opts['disable_subscribe_form'] = [
134
+ 'label' => __( 'Disable Subscribe Form', 'blocksy-companion' ),
135
  'type' => 'ct-switch',
136
  'value' => 'no',
137
  ];
178
  'has_title' => false,
179
  'has_description' => false,
180
 
181
+ 'button_text' => __('Subscribe', 'blocksy-companion'),
182
 
183
  // no | yes
184
  'has_name' => 'no',
185
 
186
+ 'name_label' => __('Your name', 'blocksy-companion'),
187
+ 'email_label' => __('Your email', 'blocksy-companion'),
188
  'list_id' => '',
189
  'class' => ''
190
  ]
framework/extensions/newsletter-subscribe/global.php CHANGED
@@ -210,4 +210,4 @@ blc_call_fn(['fn' => 'blocksy_output_spacing'], [
210
  'linked' => true,
211
  ])
212
  )
213
- ]);
210
  'linked' => true,
211
  ])
212
  )
213
+ ]);
framework/extensions/newsletter-subscribe/helpers.php CHANGED
@@ -39,26 +39,26 @@ function blc_ext_newsletter_subscribe_form($forced = false) {
39
  $args = [
40
  'title' => get_theme_mod(
41
  'newsletter_subscribe_title',
42
- __('Newsletter Updates', 'blc')
43
  ),
44
 
45
  'description' => get_theme_mod('newsletter_subscribe_text', __(
46
  'Enter your email address below to subscribe to our newsletter',
47
- 'blc'
48
  )),
49
 
50
  'button_text' => get_theme_mod(
51
  'newsletter_subscribe_button_text',
52
- __('Subscribe', 'blc')
53
  ),
54
  'has_name' => get_theme_mod('has_newsletter_subscribe_name', 'no'),
55
  'name_label' => get_theme_mod(
56
  'newsletter_subscribe_name_label',
57
- __('Your name', 'blc')
58
  ),
59
  'email_label' => get_theme_mod(
60
  'newsletter_subscribe_mail_label',
61
- __('Your email', 'blc')
62
  )
63
  ];
64
 
@@ -93,20 +93,20 @@ function blc_ext_newsletter_subscribe_output_form($args = []) {
93
  'has_title' => true,
94
  'has_description' => true,
95
 
96
- 'title' => __('Newsletter Updates', 'blc'),
97
  'description' => __(
98
  'Enter your email address below to subscribe to our newsletter',
99
- 'blc'
100
  ),
101
  'button_text' => __(
102
- 'Subscribe', 'blc'
103
  ),
104
 
105
  // no | yes
106
  'has_name' => 'no',
107
 
108
- 'name_label' => __('Your name', 'blc'),
109
- 'email_label' => __('Your email', 'blc'),
110
  'list_id' => '',
111
  'class' => ''
112
  ]);
@@ -160,10 +160,10 @@ function blc_ext_newsletter_subscribe_output_form($args = []) {
160
  class="ct-newsletter-subscribe-block-form" <?php echo $skip_submit_output ?>>
161
  <section data-fields="<?php echo $fields_number ?>">
162
  <?php if ($has_name) { ?>
163
- <input type="text" name="FNAME" placeholder="<?php esc_attr_e($args['name_label'], 'blc'); ?>" title="<?php echo __('Name', 'blc') ?>" />
164
  <?php } ?>
165
 
166
- <input type="email" name="EMAIL" placeholder="<?php esc_attr_e($args['email_label'], 'blc'); ?> *" title="<?php echo __('Email', 'blc') ?>" required />
167
 
168
  <button class="button">
169
  <?php echo esc_html($args['button_text']) ?>
39
  $args = [
40
  'title' => get_theme_mod(
41
  'newsletter_subscribe_title',
42
+ __('Newsletter Updates', 'blocksy-companion')
43
  ),
44
 
45
  'description' => get_theme_mod('newsletter_subscribe_text', __(
46
  'Enter your email address below to subscribe to our newsletter',
47
+ 'blocksy-companion'
48
  )),
49
 
50
  'button_text' => get_theme_mod(
51
  'newsletter_subscribe_button_text',
52
+ __('Subscribe', 'blocksy-companion')
53
  ),
54
  'has_name' => get_theme_mod('has_newsletter_subscribe_name', 'no'),
55
  'name_label' => get_theme_mod(
56
  'newsletter_subscribe_name_label',
57
+ __('Your name', 'blocksy-companion')
58
  ),
59
  'email_label' => get_theme_mod(
60
  'newsletter_subscribe_mail_label',
61
+ __('Your email', 'blocksy-companion')
62
  )
63
  ];
64
 
93
  'has_title' => true,
94
  'has_description' => true,
95
 
96
+ 'title' => __('Newsletter Updates', 'blocksy-companion'),
97
  'description' => __(
98
  'Enter your email address below to subscribe to our newsletter',
99
+ 'blocksy-companion'
100
  ),
101
  'button_text' => __(
102
+ 'Subscribe', 'blocksy-companion'
103
  ),
104
 
105
  // no | yes
106
  'has_name' => 'no',
107
 
108
+ 'name_label' => __('Your name', 'blocksy-companion'),
109
+ 'email_label' => __('Your email', 'blocksy-companion'),
110
  'list_id' => '',
111
  'class' => ''
112
  ]);
160
  class="ct-newsletter-subscribe-block-form" <?php echo $skip_submit_output ?>>
161
  <section data-fields="<?php echo $fields_number ?>">
162
  <?php if ($has_name) { ?>
163
+ <input type="text" name="FNAME" placeholder="<?php esc_attr_e($args['name_label'], 'blocksy-companion'); ?>" title="<?php echo __('Name', 'blocksy-companion') ?>" />
164
  <?php } ?>
165
 
166
+ <input type="email" name="EMAIL" placeholder="<?php esc_attr_e($args['email_label'], 'blocksy-companion'); ?> *" title="<?php echo __('Email', 'blocksy-companion') ?>" required />
167
 
168
  <button class="button">
169
  <?php echo esc_html($args['button_text']) ?>
framework/extensions/newsletter-subscribe/includes/BlocksyMailerliteManager.php CHANGED
@@ -96,7 +96,7 @@ class BlocksyMailerliteManager extends BlocksyNewsletterManager {
96
 
97
  return [
98
  'result' => 'yes',
99
- 'message' => __('Thank you for subscribing!', 'blc')
100
  ];
101
  }
102
 
96
 
97
  return [
98
  'result' => 'yes',
99
+ 'message' => __('Thank you for subscribing!', 'blocksy-companion')
100
  ];
101
  }
102
 
framework/extensions/newsletter-subscribe/readme.php CHANGED
@@ -1,20 +1,20 @@
1
- <h2><?php echo __('Instructions', 'blc'); ?></h2>
2
 
3
  <p>
4
  <?php echo __('After installing and activating the Newsletter Subscribe
5
- extension you will have two possibilities to show your subscribe form:', 'blc') ?>
6
  </p>
7
 
8
  <ol class="ct-modal-list">
9
  <li>
10
- <h4><?php echo __('Widget', 'blc') ?></h4>
11
  <i>
12
  <?php
13
  echo sprintf(
14
- __('Navigate to %s and place the widget in any widget area you want.', 'blc'),
15
  sprintf(
16
  '<code>%s</code>',
17
- __('Appearance ➝ Widgets', 'blc')
18
  )
19
  );
20
  ?>
@@ -22,17 +22,17 @@
22
  </li>
23
 
24
  <li>
25
- <h4><?php echo __('Single Page Block', 'blc') ?></h4>
26
  <i>
27
  <?php
28
  echo sprintf(
29
- __('Navigate to %s and customize the form and more.', 'blc'),
30
  sprintf(
31
  '<code>%s</code>',
32
- __('Customizer ➝ Single Posts', 'blc')
33
  )
34
  );
35
  ?>
36
  </i>
37
  </li>
38
- </ol>
1
+ <h2><?php echo __('Instructions', 'blocksy-companion'); ?></h2>
2
 
3
  <p>
4
  <?php echo __('After installing and activating the Newsletter Subscribe
5
+ extension you will have two possibilities to show your subscribe form:', 'blocksy-companion') ?>
6
  </p>
7
 
8
  <ol class="ct-modal-list">
9
  <li>
10
+ <h4><?php echo __('Widget', 'blocksy-companion') ?></h4>
11
  <i>
12
  <?php
13
  echo sprintf(
14
+ __('Navigate to %s and place the widget in any widget area you want.', 'blocksy-companion'),
15
  sprintf(
16
  '<code>%s</code>',
17
+ __('Appearance ➝ Widgets', 'blocksy-companion')
18
  )
19
  );
20
  ?>
22
  </li>
23
 
24
  <li>
25
+ <h4><?php echo __('Single Page Block', 'blocksy-companion') ?></h4>
26
  <i>
27
  <?php
28
  echo sprintf(
29
+ __('Navigate to %s and customize the form and more.', 'blocksy-companion'),
30
  sprintf(
31
  '<code>%s</code>',
32
+ __('Customizer ➝ Single Posts', 'blocksy-companion')
33
  )
34
  );
35
  ?>
36
  </i>
37
  </li>
38
+ </ol>
framework/extensions/newsletter-subscribe/static/bundle/main.min.css CHANGED
@@ -1,5 +1,5 @@
1
  /**
2
- * - v1.8.9.4
3
  *
4
  * Copyright (c) 2021
5
  * Licensed GPLv2+
1
  /**
2
+ * - v1.8.9.5
3
  *
4
  * Copyright (c) 2021
5
  * Licensed GPLv2+
framework/extensions/product-reviews/config.php CHANGED
@@ -1,8 +1,8 @@
1
  <?php
2
 
3
  $config = [
4
- 'name' => __('Product Reviews', 'blc'),
5
- 'description' => __('This extension lets you easily create an affiliate marketing type of website by giving you options to create a personalized product review and use your affiliate links to direct your readers to the purchase page.', 'blc'),
6
  'require_refresh' => true
7
 
8
  // 'hidden' => true
1
  <?php
2
 
3
  $config = [
4
+ 'name' => __('Product Reviews', 'blocksy-companion'),
5
+ 'description' => __('This extension lets you easily create an affiliate marketing type of website by giving you options to create a personalized product review and use your affiliate links to direct your readers to the purchase page.', 'blocksy-companion'),
6
  'require_refresh' => true
7
 
8
  // 'hidden' => true
framework/extensions/product-reviews/extension.php CHANGED
@@ -35,7 +35,7 @@ class BlocksyExtensionProductReviews {
35
  return;
36
  }
37
 
38
- echo '<div class="ct-item-review-meta" ' . $maybe_schema . '>';
39
  echo '<meta itemprop="name" content="' . get_the_title() . '">';
40
  if (get_the_post_thumbnail_url()) {
41
  echo '<meta itemprop="image" content="' . get_the_post_thumbnail_url() . '">';
@@ -230,11 +230,11 @@ class BlocksyExtensionProductReviews {
230
  ];
231
 
232
  $option['settings']['overall_score'] = [
233
- 'label' => __('Overall Score', 'blc'),
234
  /*
235
  'options' => [
236
  'excerpt_length' => [
237
- 'label' => __('Length', 'blc'),
238
  'type' => 'ct-number',
239
  'design' => 'inline',
240
  'value' => 40,
@@ -288,18 +288,18 @@ class BlocksyExtensionProductReviews {
288
  }
289
 
290
  $options[$prefix . '_reviews_summary'] = [
291
- 'label' => __( 'Review Summary', 'blc' ),
292
  'type' => 'ct-panel',
293
  'setting' => [ 'transport' => 'postMessage' ],
294
  'inner-options' => [
295
 
296
  blocksy_rand_md5() => [
297
- 'title' => __( 'General', 'blc' ),
298
  'type' => 'tab',
299
  'options' => [
300
 
301
  $prefix . '_product_scores_width' => [
302
- 'label' => __( 'Scores Box Width', 'blc' ),
303
  'type' => 'ct-slider',
304
  'min' => 0,
305
  'max' => 1200,
@@ -309,7 +309,7 @@ class BlocksyExtensionProductReviews {
309
  ],
310
 
311
  $prefix . '_has_read_more' => [
312
- 'label' => __('Read More Button', 'blc'),
313
  'type' => 'ct-switch',
314
  'value' => 'yes',
315
  'divider' => 'top',
@@ -320,7 +320,7 @@ class BlocksyExtensionProductReviews {
320
  ],
321
 
322
  $prefix . '_has_buy_now' => [
323
- 'label' => __('Buy Now Button', 'blc'),
324
  'type' => 'ct-switch',
325
  'value' => 'yes',
326
  'divider' => 'top',
@@ -334,12 +334,12 @@ class BlocksyExtensionProductReviews {
334
  ],
335
 
336
  blocksy_rand_md5() => [
337
- 'title' => __( 'Design', 'blc' ),
338
  'type' => 'tab',
339
  'options' => [
340
 
341
  $prefix . '_star_rating_color' => [
342
- 'label' => __( 'Star Rating Color', 'blc' ),
343
  'type' => 'ct-color-picker',
344
  'design' => 'inline',
345
  'setting' => [ 'transport' => 'postMessage' ],
@@ -356,13 +356,13 @@ class BlocksyExtensionProductReviews {
356
 
357
  'pickers' => [
358
  [
359
- 'title' => __( 'Active', 'blc' ),
360
  'id' => 'default',
361
  'inherit' => '#FDA256'
362
  ],
363
 
364
  [
365
- 'title' => __( 'Inactive', 'blc' ),
366
  'id' => 'inactive',
367
  'inherit' => '#F9DFCC'
368
  ],
@@ -370,7 +370,7 @@ class BlocksyExtensionProductReviews {
370
  ],
371
 
372
  $prefix . '_overall_score_text' => [
373
- 'label' => __( 'Overll Score Text', 'blc' ),
374
  'type' => 'ct-color-picker',
375
  'design' => 'inline',
376
  'divider' => 'top',
@@ -384,7 +384,7 @@ class BlocksyExtensionProductReviews {
384
 
385
  'pickers' => [
386
  [
387
- 'title' => __( 'Active', 'blc' ),
388
  'id' => 'default',
389
  'inherit' => '#ffffff'
390
  ],
@@ -392,7 +392,7 @@ class BlocksyExtensionProductReviews {
392
  ],
393
 
394
  $prefix . '_overall_score_backgroud' => [
395
- 'label' => __( 'Overll Score Background', 'blc' ),
396
  'type' => 'ct-color-picker',
397
  'design' => 'inline',
398
  'setting' => [ 'transport' => 'postMessage' ],
@@ -405,7 +405,7 @@ class BlocksyExtensionProductReviews {
405
 
406
  'pickers' => [
407
  [
408
- 'title' => __( 'Active', 'blc' ),
409
  'id' => 'default',
410
  'inherit' => '#1A202C'
411
  ],
@@ -431,23 +431,23 @@ class BlocksyExtensionProductReviews {
431
  $settings = $this->get_settings();
432
 
433
  register_post_type('blc-product-review', [
434
- 'label' => __('Product Reviews', 'blc'),
435
- 'description' => __( 'Product Reviews', 'blc'),
436
  'menu_icon' => 'dashicons-star-filled',
437
  'labels' => [
438
- 'name' => __('Product Reviews', 'blc'),
439
- 'singular_name' => __('Product Review', 'blc'),
440
- 'menu_name' => __('Product Reviews', 'blc'),
441
- 'parent_item_colon' => __('Parent Product Review', 'blc'),
442
- 'all_items' => __('All Reviews', 'blc'),
443
- 'view_item' => __('View Product Review', 'blc'),
444
- 'add_new_item' => __('Add New Product Review', 'blc'),
445
- 'add_new' => __('Add New Review', 'blc'),
446
- 'edit_item' => __('Edit Product Review', 'blc'),
447
- 'update_item' => __('Update Product Review', 'blc'),
448
- 'search_items' => __('Search Product Review', 'blc'),
449
- 'not_found' => __('Not Found', 'blc'),
450
- 'not_found_in_trash' => __('Not found in Trash', 'blc')
451
  ],
452
  'supports' => [
453
  'comments',
@@ -481,17 +481,17 @@ class BlocksyExtensionProductReviews {
481
  [
482
  'hierarchical' => true,
483
  'labels' => [
484
- 'name' => __('Categories', 'blc'),
485
- 'singular_name' => __('Category', 'blc'),
486
- 'search_items' => __('Search Category', 'blc'),
487
- 'all_items' => __('All Categories', 'blc'),
488
- 'parent_item' => __('Parent Category', 'blc'),
489
- 'parent_item_colon' => __('Parent Category:', 'blc'),
490
- 'edit_item' => __('Edit Category', 'blc'),
491
- 'update_item' => __('Update Category', 'blc'),
492
- 'add_new_item' => __('Add New Category', 'blc'),
493
- 'new_item_name' => __('New Category Name', 'blc'),
494
- 'menu_name' => __('Categories', 'blc'),
495
  ],
496
  'show_ui' => true,
497
  'show_admin_column' => true,
@@ -509,8 +509,8 @@ class BlocksyExtensionProductReviews {
509
  'blocksy_settings_meta_box',
510
  sprintf(
511
  // Translators: %s is the theme name.
512
- __( '%s Settings', 'blc' ),
513
- __( 'Blocksy', 'blc' )
514
  ),
515
  function ($post) {
516
  $values = get_post_meta($post->ID, 'blocksy_product_review_options');
35
  return;
36
  }
37
 
38
+ echo '<div ' . $maybe_schema . '>';
39
  echo '<meta itemprop="name" content="' . get_the_title() . '">';
40
  if (get_the_post_thumbnail_url()) {
41
  echo '<meta itemprop="image" content="' . get_the_post_thumbnail_url() . '">';
230
  ];
231
 
232
  $option['settings']['overall_score'] = [
233
+ 'label' => __('Overall Score', 'blocksy-companion'),
234
  /*
235
  'options' => [
236
  'excerpt_length' => [
237
+ 'label' => __('Length', 'blocksy-companion'),
238
  'type' => 'ct-number',
239
  'design' => 'inline',
240
  'value' => 40,
288
  }
289
 
290
  $options[$prefix . '_reviews_summary'] = [
291
+ 'label' => __( 'Review Summary', 'blocksy-companion' ),
292
  'type' => 'ct-panel',
293
  'setting' => [ 'transport' => 'postMessage' ],
294
  'inner-options' => [
295
 
296
  blocksy_rand_md5() => [
297
+ 'title' => __( 'General', 'blocksy-companion' ),
298
  'type' => 'tab',
299
  'options' => [
300
 
301
  $prefix . '_product_scores_width' => [
302
+ 'label' => __( 'Scores Box Width', 'blocksy-companion' ),
303
  'type' => 'ct-slider',
304
  'min' => 0,
305
  'max' => 1200,
309
  ],
310
 
311
  $prefix . '_has_read_more' => [
312
+ 'label' => __('Read More Button', 'blocksy-companion'),
313
  'type' => 'ct-switch',
314
  'value' => 'yes',
315
  'divider' => 'top',
320
  ],
321
 
322
  $prefix . '_has_buy_now' => [
323
+ 'label' => __('Buy Now Button', 'blocksy-companion'),
324
  'type' => 'ct-switch',
325
  'value' => 'yes',
326
  'divider' => 'top',
334
  ],
335
 
336
  blocksy_rand_md5() => [
337
+ 'title' => __( 'Design', 'blocksy-companion' ),
338
  'type' => 'tab',
339
  'options' => [
340
 
341
  $prefix . '_star_rating_color' => [
342
+ 'label' => __( 'Star Rating Color', 'blocksy-companion' ),
343
  'type' => 'ct-color-picker',
344
  'design' => 'inline',
345
  'setting' => [ 'transport' => 'postMessage' ],
356
 
357
  'pickers' => [
358
  [
359
+ 'title' => __( 'Active', 'blocksy-companion' ),
360
  'id' => 'default',
361
  'inherit' => '#FDA256'
362
  ],
363
 
364
  [
365
+ 'title' => __( 'Inactive', 'blocksy-companion' ),
366
  'id' => 'inactive',
367
  'inherit' => '#F9DFCC'
368
  ],
370
  ],
371
 
372
  $prefix . '_overall_score_text' => [
373
+ 'label' => __( 'Overll Score Text', 'blocksy-companion' ),
374
  'type' => 'ct-color-picker',
375
  'design' => 'inline',
376
  'divider' => 'top',
384
 
385
  'pickers' => [
386
  [
387
+ 'title' => __( 'Active', 'blocksy-companion' ),
388
  'id' => 'default',
389
  'inherit' => '#ffffff'
390
  ],
392
  ],
393
 
394
  $prefix . '_overall_score_backgroud' => [
395
+ 'label' => __( 'Overll Score Background', 'blocksy-companion' ),
396
  'type' => 'ct-color-picker',
397
  'design' => 'inline',
398
  'setting' => [ 'transport' => 'postMessage' ],
405
 
406
  'pickers' => [
407
  [
408
+ 'title' => __( 'Active', 'blocksy-companion' ),
409
  'id' => 'default',
410
  'inherit' => '#1A202C'
411
  ],
431
  $settings = $this->get_settings();
432
 
433
  register_post_type('blc-product-review', [
434
+ 'label' => __('Product Reviews', 'blocksy-companion'),
435
+ 'description' => __( 'Product Reviews', 'blocksy-companion'),
436
  'menu_icon' => 'dashicons-star-filled',
437
  'labels' => [
438
+ 'name' => __('Product Reviews', 'blocksy-companion'),
439
+ 'singular_name' => __('Product Review', 'blocksy-companion'),
440
+ 'menu_name' => __('Product Reviews', 'blocksy-companion'),
441
+ 'parent_item_colon' => __('Parent Product Review', 'blocksy-companion'),
442
+ 'all_items' => __('All Reviews', 'blocksy-companion'),
443
+ 'view_item' => __('View Product Review', 'blocksy-companion'),
444
+ 'add_new_item' => __('Add New Product Review', 'blocksy-companion'),
445
+ 'add_new' => __('Add New Review', 'blocksy-companion'),
446
+ 'edit_item' => __('Edit Product Review', 'blocksy-companion'),
447
+ 'update_item' => __('Update Product Review', 'blocksy-companion'),
448
+ 'search_items' => __('Search Product Review', 'blocksy-companion'),
449
+ 'not_found' => __('Not Found', 'blocksy-companion'),
450
+ 'not_found_in_trash' => __('Not found in Trash', 'blocksy-companion')
451
  ],
452
  'supports' => [
453
  'comments',
481
  [
482
  'hierarchical' => true,
483
  'labels' => [
484
+ 'name' => __('Categories', 'blocksy-companion'),
485
+ 'singular_name' => __('Category', 'blocksy-companion'),
486
+ 'search_items' => __('Search Category', 'blocksy-companion'),
487
+ 'all_items' => __('All Categories', 'blocksy-companion'),
488
+ 'parent_item' => __('Parent Category', 'blocksy-companion'),
489
+ 'parent_item_colon' => __('Parent Category:', 'blocksy-companion'),
490
+ 'edit_item' => __('Edit Category', 'blocksy-companion'),
491
+ 'update_item' => __('Update Category', 'blocksy-companion'),
492
+ 'add_new_item' => __('Add New Category', 'blocksy-companion'),
493
+ 'new_item_name' => __('New Category Name', 'blocksy-companion'),
494
+ 'menu_name' => __('Categories', 'blocksy-companion'),
495
  ],
496
  'show_ui' => true,
497
  'show_admin_column' => true,
509
  'blocksy_settings_meta_box',
510
  sprintf(
511
  // Translators: %s is the theme name.
512
+ __( '%s Settings', 'blocksy-companion' ),
513
+ __( 'Blocksy', 'blocksy-companion' )
514
  ),
515
  function ($post) {
516
  $values = get_post_meta($post->ID, 'blocksy_product_review_options');
framework/extensions/product-reviews/helpers.php CHANGED
@@ -27,7 +27,7 @@ function blocksy_get_product_review_overall_score($post_id = null) {
27
  );
28
 
29
  $output .= '<span class="ct-score-label">';
30
- $output .= __('Rating', 'blc');
31
  $output .= ':</span>';
32
 
33
  $output .= '<span class="ct-average-score">' . $avg_score . '/5</span>';
27
  );
28
 
29
  $output .= '<span class="ct-score-label">';
30
+ $output .= __('Rating', 'blocksy-companion');
31
  $output .= ':</span>';
32
 
33
  $output .= '<span class="ct-average-score">' . $avg_score . '/5</span>';
framework/extensions/product-reviews/metabox.php CHANGED
@@ -3,41 +3,41 @@
3
  $options = [
4
 
5
  blocksy_rand_md5() => [
6
- 'title' => __( 'General', 'blc' ),
7
  'type' => 'tab',
8
  'options' => [
9
  'product_review_entity' => [
10
- 'label' => __( 'Review Entity', 'blc' ),
11
  'type' => 'ct-select',
12
  'value' => 'Thing',
13
  'view' => 'text',
14
  'design' => 'inline',
15
  'choices' => blocksy_ordered_keys(
16
  [
17
- 'Thing' => __( 'Default', 'blc' ),
18
- 'Product' => __( 'Product', 'blc' ),
19
- 'Book' => __( 'Book', 'blc' ),
20
- // 'Course' => __( 'Course', 'blc' ),
21
- 'CreativeWorkSeason' => __( 'Creative Work Season', 'blc' ),
22
- 'CreativeWorkSeries' => __( 'Creative Work Series', 'blc' ),
23
- 'Episode' => __( 'Episode', 'blc' ),
24
- // 'Event' => __( 'Event', 'blc' ),
25
- 'Game' => __( 'Game', 'blc' ),
26
- // 'HowTo' => __( 'How To', 'blc' ),
27
- 'LocalBusiness' => __( 'Local Business', 'blc' ),
28
- 'MediaObject' => __( 'Media Object', 'blc' ),
29
- 'Movie' => __( 'Movie', 'blc' ),
30
- 'MusicPlaylist' => __( 'Music Playlist', 'blc' ),
31
- 'MusicRecording' => __( 'Music Recording', 'blc' ),
32
- 'Organization' => __( 'Organization', 'blc' ),
33
- // 'Recipe' => __( 'Recipe', 'blc' ),
34
- // 'SoftwareApplication' => __( 'Software Application', 'blc' ),
35
  ]
36
  ),
37
  'desc' => sprintf(
38
  __(
39
  'More info about review entity and how to choose the right one can be found %shere%s.',
40
- 'blc'
41
  ),
42
  '<a href="https://developers.google.com/search/blog/2019/09/making-review-rich-results-more-helpful" target="_blank">',
43
  '</a>'
@@ -50,21 +50,21 @@ $options = [
50
  'options' => [
51
  'product_entity_price' => [
52
  'type' => 'text',
53
- 'label' => __('Product Price', 'blc'),
54
  'design' => 'inline',
55
  'value' => '',
56
  ],
57
 
58
  'product_entity_sku' => [
59
  'type' => 'text',
60
- 'label' => __('Product SKU', 'blc'),
61
  'design' => 'inline',
62
  'value' => ''
63
  ],
64
 
65
  'product_entity_brand' => [
66
  'type' => 'text',
67
- 'label' => __('Product Brand', 'blc'),
68
  'design' => 'inline',
69
  'value' => ''
70
  ],
@@ -77,7 +77,7 @@ $options = [
77
 
78
  'gallery' => [
79
  'type' => 'ct-multi-image-uploader',
80
- 'label' => __('Gallery', 'blc'),
81
  'design' => 'inline',
82
  'value' => []
83
  ],
@@ -88,20 +88,26 @@ $options = [
88
 
89
  'product_button_label' => [
90
  'type' => 'text',
91
- 'label' => __('Affiliate Button Label', 'blc'),
92
  'design' => 'inline',
93
- 'value' => __('Buy Now', 'blc')
94
  ],
95
 
96
  'product_link' => [
97
  'type' => 'text',
98
- 'label' => __('Affiliate Link', 'blc'),
99
  'design' => 'inline',
100
  'value' => '#'
101
  ],
102
 
103
  'product_link_target' => [
104
- 'label' => __( 'Open Link In New Tab', 'blc' ),
 
 
 
 
 
 
105
  'type' => 'ct-switch',
106
  'value' => 'no',
107
  ],
@@ -109,7 +115,7 @@ $options = [
109
  /*
110
  'product_button_icon' => [
111
  'type' => 'icon-picker',
112
- 'label' => __('Button Icon', 'blc'),
113
  'design' => 'inline',
114
  'value' => [
115
  'icon' => 'fas fa-shopping-cart'
@@ -123,15 +129,15 @@ $options = [
123
 
124
  'product_read_content_button_label' => [
125
  'type' => 'text',
126
- 'label' => __('Read More Button Label', 'blc'),
127
  'design' => 'inline',
128
- 'value' => __('Read More', 'blc')
129
  ],
130
 
131
  /*
132
  'product_read_content_button_icon' => [
133
  'type' => 'icon-picker',
134
- 'label' => __('Button Icon', 'blc'),
135
  'design' => 'inline',
136
  'value' => [
137
  'icon' => 'fas fa-arrow-down'
@@ -145,7 +151,7 @@ $options = [
145
 
146
  'product_description' => [
147
  'type' => 'wp-editor',
148
- 'label' => __('Short Description', 'blc'),
149
  'value' => '',
150
  'design' => 'inline',
151
  ],
@@ -154,13 +160,13 @@ $options = [
154
  ],
155
 
156
  blocksy_rand_md5() => [
157
- 'title' => __( 'Rating', 'blc' ),
158
  'type' => 'tab',
159
  'options' => [
160
 
161
  'scores' => [
162
  'type' => 'ct-addable-box',
163
- 'label' => __('Scores', 'blc'),
164
  'design' => 'inline',
165
  'preview-template' => '<%= label %> (<%= score === 1 ? "1 star" : score + " stars" %>)',
166
 
@@ -200,7 +206,7 @@ $options = [
200
 
201
  'product_specs' => [
202
  'type' => 'ct-addable-box',
203
- 'label' => __('Product specs', 'blc'),
204
  'design' => 'inline',
205
  'preview-template' => '<%= label %>',
206
 
@@ -225,7 +231,7 @@ $options = [
225
 
226
  'product_pros' => [
227
  'type' => 'ct-addable-box',
228
- 'label' => __('Pros', 'blc'),
229
  'design' => 'inline',
230
  'preview-template' => '<%= label %>',
231
 
@@ -245,7 +251,7 @@ $options = [
245
 
246
  'product_cons' => [
247
  'type' => 'ct-addable-box',
248
- 'label' => __('Cons', 'blc'),
249
  'design' => 'inline',
250
  'preview-template' => '<%= label %>',
251
 
@@ -263,7 +269,7 @@ $options = [
263
  ],
264
 
265
  // blocksy_rand_md5() => [
266
- // 'title' => __( 'Design', 'blc' ),
267
  // 'type' => 'tab',
268
  // 'options' => [
269
 
3
  $options = [
4
 
5
  blocksy_rand_md5() => [
6
+ 'title' => __( 'General', 'blocksy-companion' ),
7
  'type' => 'tab',
8
  'options' => [
9
  'product_review_entity' => [
10
+ 'label' => __( 'Review Entity', 'blocksy-companion' ),
11
  'type' => 'ct-select',
12
  'value' => 'Thing',
13
  'view' => 'text',
14
  'design' => 'inline',
15
  'choices' => blocksy_ordered_keys(
16
  [
17
+ 'Thing' => __( 'Default', 'blocksy-companion' ),
18
+ 'Product' => __( 'Product', 'blocksy-companion' ),
19
+ 'Book' => __( 'Book', 'blocksy-companion' ),
20
+ // 'Course' => __( 'Course', 'blocksy-companion' ),
21
+ 'CreativeWorkSeason' => __( 'Creative Work Season', 'blocksy-companion' ),
22
+ 'CreativeWorkSeries' => __( 'Creative Work Series', 'blocksy-companion' ),
23
+ 'Episode' => __( 'Episode', 'blocksy-companion' ),
24
+ // 'Event' => __( 'Event', 'blocksy-companion' ),
25
+ 'Game' => __( 'Game', 'blocksy-companion' ),
26
+ // 'HowTo' => __( 'How To', 'blocksy-companion' ),
27
+ 'LocalBusiness' => __( 'Local Business', 'blocksy-companion' ),
28
+ 'MediaObject' => __( 'Media Object', 'blocksy-companion' ),
29
+ 'Movie' => __( 'Movie', 'blocksy-companion' ),
30
+ 'MusicPlaylist' => __( 'Music Playlist', 'blocksy-companion' ),
31
+ 'MusicRecording' => __( 'Music Recording', 'blocksy-companion' ),
32
+ 'Organization' => __( 'Organization', 'blocksy-companion' ),
33
+ // 'Recipe' => __( 'Recipe', 'blocksy-companion' ),
34
+ // 'SoftwareApplication' => __( 'Software Application', 'blocksy-companion' ),
35
  ]
36
  ),
37
  'desc' => sprintf(
38
  __(
39
  'More info about review entity and how to choose the right one can be found %shere%s.',
40
+ 'blocksy-companion'
41
  ),
42
  '<a href="https://developers.google.com/search/blog/2019/09/making-review-rich-results-more-helpful" target="_blank">',
43
  '</a>'
50
  'options' => [
51
  'product_entity_price' => [
52
  'type' => 'text',
53
+ 'label' => __('Product Price', 'blocksy-companion'),
54
  'design' => 'inline',
55
  'value' => '',
56
  ],
57
 
58
  'product_entity_sku' => [
59
  'type' => 'text',
60
+ 'label' => __('Product SKU', 'blocksy-companion'),
61
  'design' => 'inline',
62
  'value' => ''
63
  ],
64
 
65
  'product_entity_brand' => [
66
  'type' => 'text',
67
+ 'label' => __('Product Brand', 'blocksy-companion'),
68
  'design' => 'inline',
69
  'value' => ''
70
  ],
77
 
78
  'gallery' => [
79
  'type' => 'ct-multi-image-uploader',
80
+ 'label' => __('Gallery', 'blocksy-companion'),
81
  'design' => 'inline',
82
  'value' => []
83
  ],
88
 
89
  'product_button_label' => [
90
  'type' => 'text',
91
+ 'label' => __('Affiliate Button Label', 'blocksy-companion'),
92
  'design' => 'inline',
93
+ 'value' => __('Buy Now', 'blocksy-companion')
94
  ],
95
 
96
  'product_link' => [
97
  'type' => 'text',
98
+ 'label' => __('Affiliate Link', 'blocksy-companion'),
99
  'design' => 'inline',
100
  'value' => '#'
101
  ],
102
 
103
  'product_link_target' => [
104
+ 'label' => __( 'Open Link In New Tab', 'blocksy-companion' ),
105
+ 'type' => 'ct-switch',
106
+ 'value' => 'no',
107
+ ],
108
+
109
+ 'product_link_sponsored' => [
110
+ 'label' => __( 'Sponsored Attribute', 'blocksy-companion' ),
111
  'type' => 'ct-switch',
112
  'value' => 'no',
113
  ],
115
  /*
116
  'product_button_icon' => [
117
  'type' => 'icon-picker',
118
+ 'label' => __('Button Icon', 'blocksy-companion'),
119
  'design' => 'inline',
120
  'value' => [
121
  'icon' => 'fas fa-shopping-cart'
129
 
130
  'product_read_content_button_label' => [
131
  'type' => 'text',
132
+ 'label' => __('Read More Button Label', 'blocksy-companion'),
133
  'design' => 'inline',
134
+ 'value' => __('Read More', 'blocksy-companion')
135
  ],
136
 
137
  /*
138
  'product_read_content_button_icon' => [
139
  'type' => 'icon-picker',
140
+ 'label' => __('Button Icon', 'blocksy-companion'),
141
  'design' => 'inline',
142
  'value' => [
143
  'icon' => 'fas fa-arrow-down'
151
 
152
  'product_description' => [
153
  'type' => 'wp-editor',
154
+ 'label' => __('Short Description', 'blocksy-companion'),
155
  'value' => '',
156
  'design' => 'inline',
157
  ],
160
  ],
161
 
162
  blocksy_rand_md5() => [
163
+ 'title' => __( 'Rating', 'blocksy-companion' ),
164
  'type' => 'tab',
165
  'options' => [
166
 
167
  'scores' => [
168
  'type' => 'ct-addable-box',
169
+ 'label' => __('Scores', 'blocksy-companion'),
170
  'design' => 'inline',
171
  'preview-template' => '<%= label %> (<%= score === 1 ? "1 star" : score + " stars" %>)',
172
 
206
 
207
  'product_specs' => [
208
  'type' => 'ct-addable-box',
209
+ 'label' => __('Product specs', 'blocksy-companion'),
210
  'design' => 'inline',
211
  'preview-template' => '<%= label %>',
212
 
231
 
232
  'product_pros' => [
233
  'type' => 'ct-addable-box',
234
+ 'label' => __('Pros', 'blocksy-companion'),
235
  'design' => 'inline',
236
  'preview-template' => '<%= label %>',
237
 
251
 
252
  'product_cons' => [
253
  'type' => 'ct-addable-box',
254
+ 'label' => __('Cons', 'blocksy-companion'),
255
  'design' => 'inline',
256
  'preview-template' => '<%= label %>',
257
 
269
  ],
270
 
271
  // blocksy_rand_md5() => [
272
+ // 'title' => __( 'Design', 'blocksy-companion' ),
273
  // 'type' => 'tab',
274
  // 'options' => [
275
 
framework/extensions/product-reviews/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 o(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var a=typeof r;if("string"===a||"number"===a)e.push(r);else if(Array.isArray(r)&&r.length){var i=o.apply(null,r);i&&e.push(i)}else if("object"===a)for(var c in r)n.call(r,c)&&r[c]&&e.push(c)}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(r=function(){return o}.apply(t,[]))||(e.exports=r)}()},function(e,t){e.exports=window.blocksyOptions},function(e,t){e.exports=window.ctEvents},function(e,t){e.exports=window.React},function(e,t,n){var r,o,a=n(10),i=n(11),c=(o=[],{activateTrap:function(e){if(o.length>0){var t=o[o.length-1];t!==e&&t.pause()}var n=o.indexOf(e);-1===n||o.splice(n,1),o.push(e)},deactivateTrap:function(e){var t=o.indexOf(e);-1!==t&&o.splice(t,1),o.length>0&&o[o.length-1].unpause()}});function u(e){return setTimeout(e,0)}e.exports=function(e,t){var n=document,o="string"==typeof e?n.querySelector(e):e,s=i({returnFocusOnDeactivate:!0,escapeDeactivates:!0},t),l={firstTabbableNode:null,lastTabbableNode:null,nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1},f={activate:function(e){if(l.active)return;j(),l.active=!0,l.paused=!1,l.nodeFocusedBeforeActivation=n.activeElement;var t=e&&e.onActivate?e.onActivate:s.onActivate;t&&t();return d(),f},deactivate:p,pause:function(){if(l.paused||!l.active)return;l.paused=!0,b()},unpause:function(){if(!l.paused||!l.active)return;l.paused=!1,j(),d()}};return f;function p(e){if(l.active){clearTimeout(r),b(),l.active=!1,l.paused=!1,c.deactivateTrap(f);var t=e&&void 0!==e.onDeactivate?e.onDeactivate:s.onDeactivate;return t&&t(),(e&&void 0!==e.returnFocus?e.returnFocus:s.returnFocusOnDeactivate)&&u((function(){var e;w((e=l.nodeFocusedBeforeActivation,m("setReturnFocus")||e))})),f}}function d(){if(l.active)return c.activateTrap(f),r=u((function(){w(v())})),n.addEventListener("focusin",h,!0),n.addEventListener("mousedown",y,{capture:!0,passive:!1}),n.addEventListener("touchstart",y,{capture:!0,passive:!1}),n.addEventListener("click",O,{capture:!0,passive:!1}),n.addEventListener("keydown",g,{capture:!0,passive:!1}),f}function b(){if(l.active)return n.removeEventListener("focusin",h,!0),n.removeEventListener("mousedown",y,!0),n.removeEventListener("touchstart",y,!0),n.removeEventListener("click",O,!0),n.removeEventListener("keydown",g,!0),f}function m(e){var t=s[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 v(){var e;if(!(e=null!==m("initialFocus")?m("initialFocus"):o.contains(n.activeElement)?n.activeElement:l.firstTabbableNode||m("fallbackFocus")))throw new Error("Your focus-trap needs to have at least one focusable element");return e}function y(e){o.contains(e.target)||(s.clickOutsideDeactivates?p({returnFocus:!a.isFocusable(e.target)}):s.allowOutsideClick&&s.allowOutsideClick(e)||e.preventDefault())}function h(e){o.contains(e.target)||e.target instanceof Document||(e.stopImmediatePropagation(),w(l.mostRecentlyFocusedNode||v()))}function g(e){if(!1!==s.escapeDeactivates&&function(e){return"Escape"===e.key||"Esc"===e.key||27===e.keyCode}(e))return e.preventDefault(),void p();(function(e){return"Tab"===e.key||9===e.keyCode})(e)&&function(e){if(j(),e.shiftKey&&e.target===l.firstTabbableNode)return e.preventDefault(),void w(l.lastTabbableNode);if(!e.shiftKey&&e.target===l.lastTabbableNode)e.preventDefault(),w(l.firstTabbableNode)}(e)}function O(e){s.clickOutsideDeactivates||o.contains(e.target)||s.allowOutsideClick&&s.allowOutsideClick(e)||(e.preventDefault(),e.stopImmediatePropagation())}function j(){var e=a(o);l.firstTabbableNode=e[0]||v(),l.lastTabbableNode=e[e.length-1]||v()}function w(e){e!==n.activeElement&&(e&&e.focus?(e.focus(),l.mostRecentlyFocusedNode=e,function(e){return e.tagName&&"input"===e.tagName.toLowerCase()&&"function"==typeof e.select}(e)&&e.select()):w(v()))}}},function(e,t,n){e.exports=n(8)()},function(e,t,n){"use strict";var r=n(9);function o(){}function a(){}a.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,a,i){if(i!==r){var c=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 c.name="Invariant Violation",c}}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:a,resetWarningCache:o};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(","),o="undefined"==typeof Element?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector;function a(e,t){t=t||{};var n,a,c,u=[],f=[],p=e.querySelectorAll(r);for(t.includeContainer&&o.call(e,r)&&(p=Array.prototype.slice.apply(p)).unshift(e),n=0;n<p.length;n++)i(a=p[n])&&(0===(c=s(a))?u.push(a):f.push({documentOrder:n,tabIndex:c,node:a}));return f.sort(l).map((function(e){return e.node})).concat(u)}function i(e){return!(!c(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)||s(e)<0)}function c(e){return!(e.disabled||function(e){return f(e)&&"hidden"===e.type}(e)||function(e){return null===e.offsetParent||"hidden"===getComputedStyle(e).visibility}(e))}a.isTabbable=function(e){if(!e)throw new Error("No node provided");return!1!==o.call(e,r)&&i(e)},a.isFocusable=function(e){if(!e)throw new Error("No node provided");return!1!==o.call(e,u)&&c(e)};var u=n.concat("iframe").join(",");function s(e){var t=parseInt(e.getAttribute("tabindex"),10);return isNaN(t)?function(e){return"true"===e.contentEditable}(e)?0:e.tabIndex:t}function l(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex}function f(e){return"INPUT"===e.tagName}e.exports=a},function(e,t){e.exports=function(){for(var e={},t=0;t<arguments.length;t++){var r=arguments[t];for(var o in r)n.call(r,o)&&(e[o]=r[o])}return e};var n=Object.prototype.hasOwnProperty},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n(1),a=n(2),i=n.n(a),c=n(4),u=n.n(c),s=n(3),l=n(5),f=n.n(l);n(7);function p(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 b=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"])},m=function(e){function t(){var n,r;p(this,t);for(var o=arguments.length,a=Array(o),i=0;i<o;i++)a[i]=arguments[i];return n=r=d(this,e.call.apply(e,[this].concat(a))),v.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,o=this._refs;return{state:e,props:b(t),refs:o,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:b(e),nextState:t})},t.prototype.componentWillUnmount=function(){this.props.willUnmount&&this.props.willUnmount({state:this.state,props:b(this.props),refs:this._refs})},t.prototype.componentDidUpdate=function(e,t,n){this.props.didUpdate&&this.props.didUpdate(Object.assign(this.getArgs(),{prevProps:b(e),prevState:t}),n)},t.prototype.getSnapshotBeforeUpdate=function(e,t){return this.props.getSnapshotBeforeUpdate?this.props.getSnapshotBeforeUpdate(Object.assign(this.getArgs(),{prevProps:b(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}(f.a.Component);m.defaultProps={getInitialState:function(){},getRefs:function(){return{}}};var v=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)}},y=m,h=function(e){var t=e.children,n=e.container,o=void 0===n?document.body:n,a=e.type,i=void 0===a?"reach-portal":a;return Object(r.createElement)(y,{getRefs:function(){return{node:null}},didMount:function(e){var t=e.refs,n=e.forceUpdate,r=o.hasOwnProperty("current")?o.current:o;t.node=document.createElement(i),r.appendChild(t.node),n()},willUnmount:function(e){var t=e.refs.node,n=o.hasOwnProperty("current")?o.current:o;n&&n.removeChild(t)},render:function(e){var n=e.refs.node;return n?Object(r.createPortal)(t,n):null}})};var g=function(e,t){return function(n){if(e&&e(n),!n.defaultPrevented)return t(n)}},O=n(6),j=n.n(O);function w(){return(w=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(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var S=function(){},x=function(){},_=function(e,t){var n,r,o;e.disposeAriaHider=(n=e.overlayNode,r=[],o=[],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),o.push(e),e.setAttribute("aria-hidden","true"))}})),function(){o.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})},C=function(e){var t=e.refs;t.trap.deactivate(),t.disposeAriaHider()},A=React.createContext(),N=React.forwardRef((function(e,t){var n=e.container,o=e.isOpen,a=void 0===o||o,i=e.onDismiss,c=void 0===i?S:i,u=e.initialFocusRef,s=e.onClick,l=e.onKeyDown,f=E(e,["container","isOpen","onDismiss","initialFocusRef","onClick","onKeyDown"]);return Object(r.createElement)(y,{didMount:x},a?Object(r.createElement)(h,{container:n,"data-reach-dialog-wrapper":!0},Object(r.createElement)(y,{refs:{overlayNode:null,contentNode:null},didMount:function(e){var t=e.refs;_(t,u)},willUnmount:C},(function(e){var n=e.refs;return Object(r.createElement)(A.Provider,{value:function(e){return n.contentNode=e}},Object(r.createElement)("div",w({"data-reach-dialog-overlay":!0,onClick:g(s,(function(e){e.stopPropagation(),c()})),onKeyDown:g(l,(function(e){"Escape"===e.key&&(e.stopPropagation(),c())})),ref:function(e){n.overlayNode=e,t&&t(e)}},f)))}))):null)}));N.propTypes={initialFocusRef:function(){}};var P=function(e){return e.stopPropagation()},k=React.forwardRef((function(e,t){var n=e.onClick,o=(e.onKeyDown,E(e,["onClick","onKeyDown"]));return Object(r.createElement)(A.Consumer,null,(function(e){return Object(r.createElement)("div",w({"aria-modal":"true","data-reach-dialog-content":!0,tabIndex:"-1",onClick:g(n,P),ref:function(n){e(n),t&&t(n)}},o))}))})),D=function(e){return!!e},T=function(e){var t=e.items,n=e.isVisible,o=void 0===n?D:n,a=e.render,c=e.className,u=e.onDismiss;return Object(r.createElement)(s.Transition,{items:t,onStart:function(){return document.body.classList[o(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 o(e)&&function(t){return Object(r.createElement)(N,{style:{opacity:t.opacity},container:document.querySelector("#wpbody"),onDismiss:function(){return u()}},Object(r.createElement)(k,{className:i()("ct-admin-modal",c),style:{transform:"translate3d(0px, ".concat(t.y,"px, 0px)")}},Object(r.createElement)("button",{className:"close-button",onClick:function(){return u()}},"×"),a(e,t)))}}))};function U(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 I(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?U(Object(n),!0).forEach((function(t){M(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):U(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function M(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function R(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,o=!1,a=void 0;try{for(var i,c=e[Symbol.iterator]();!(r=(i=c.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{r||null==c.return||c.return()}finally{if(o)throw a}}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 L=function(e){var t=e.extsSyncLoading,n=e.extensionData,a=e.onExtsSync,c=R(Object(r.useState)(!1),2),u=c[0],l=c[1],f=R(Object(r.useState)(null),2),p=f[0],d=f[1];return Object(r.createElement)(r.Fragment,null,Object(r.createElement)("button",{className:"ct-button ct-config-btn","data-button":"white",onClick:function(){l(!0),d(n.settings)}},Object(o.__)("Configure","blc")),Object(r.createElement)(T,{items:u,onDismiss:function(){return l(!1)},className:"ct-product-reviews-settings-modal",render:function(){return Object(r.createElement)("div",{className:i()("ct-modal-content")},Object(r.createElement)("h2",null,Object(o.__)("Product Reviews Settings","blc")),Object(r.createElement)("p",{className:"ct-modal-description"},Object(o.__)("Configure the slugs for single and category pages of the product review custom post type.","blc")),Object(r.createElement)("div",{className:"ct-controls-group"},Object(r.createElement)("section",{"data-columns":"medium:2"},Object(r.createElement)(s.OptionsPanel,{onChange:function(e,t){return d((function(n){return I(I({},n),{},M({},e,t))}))},options:{single_slug:{type:"text",value:"",label:Object(o.__)("Single Slug","blc")},category_slug:{type:"text",value:"",label:Object(o.__)("Category Slug","blc")}},value:p||{},hasRevertButton:!1}))),Object(r.createElement)("div",{className:"ct-modal-actions has-divider"},Object(r.createElement)("button",{className:"button-primary",disabled:t||!p,onClick:function(e){e.preventDefault(),p&&(a({extAction:{type:"persist",settings:p}}),l(!1))}},t?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"}))))):Object(o.__)("Save","blc"))))}}))};function B(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,o=!1,a=void 0;try{for(var i,c=e[Symbol.iterator]();!(r=(i=c.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{r||null==c.return||c.return()}finally{if(o)throw a}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return z(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 z(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 z(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 q=function(e){var t=B(Object(r.useState)(!1),2),n=t[0],o=t[1];return[function(){return o(!0)},Object(r.createElement)(T,{items:n,onDismiss:function(){return o(!1)},render:function(){return Object(r.createElement)("div",{className:"ct-modal-content",dangerouslySetInnerHTML:{__html:e.readme}})}})]},K=window.ctDashboardLocalizations.DashboardContext,H=(K.Provider,K.Consumer,K);function W(e,t,n,r,o,a,i){try{var c=e[a](i),u=c.value}catch(e){return void n(e)}c.done?t(u):Promise.resolve(u).then(r,o)}function $(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var a=e.apply(t,n);function i(e){W(a,r,o,i,c,"next",e)}function c(e){W(a,r,o,i,c,"throw",e)}i(void 0)}))}}function V(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,o=!1,a=void 0;try{for(var i,c=e[Symbol.iterator]();!(r=(i=c.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{r||null==c.return||c.return()}finally{if(o)throw a}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Y(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 Y(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 Y(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=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){},n=Object(r.useState)(!1),a=V(n,2),i=a[0],c=a[1],u=Object(r.useState)(!1),s=V(u,2),l=s[0],f=s[1],p=Object(r.useContext)(H),d=(p.Link,p.history),b=ctDashboardLocalizations.plugin_data.is_pro,m=function(){var n=$(regeneratorRuntime.mark((function n(){var r;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(b||!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"),c(!0),n.prev=7,n.next=10,fetch(ctDashboardLocalizations.ajax_url,{method:"POST",body:r});case 10:e.config.require_refresh&&location.reload(),t(),n.next=16;break;case 14:n.prev=14,n.t0=n.catch(7);case 16:c(!1);case 17:case"end":return n.stop()}}),n,null,[[7,14]])})));return function(){return n.apply(this,arguments)}}();return[i,m,!b&&e.config.pro?Object(r.createElement)(T,{items:l,className:"ct-onboarding-modal",onDismiss:function(){return f(!1)},render:function(){return Object(r.createElement)("div",{className:"ct-modal-content"},Object(r.createElement)("svg",{width:"55",height:"55",viewBox:"0 0 40.5 48.3"},Object(r.createElement)("path",{fill:"#2d82c8",d:"M33.4 29.4l7.1 12.3-7.4.6-4 6-7.3-12.9"}),Object(r.createElement)("path",{d:"M33.5 29.6L26 42.7l-4.2-7.3 11.6-6 .1.2zM0 41.7l7.5.6 3.9 6 7.2-12.4-11-7.3L0 41.7z",fill:"#2271b1"}),Object(r.createElement)("path",{d:"M39.5 18.7c0 1.6-2.4 2.8-2.7 4.3-.4 1.5 1 3.8.2 5.1-.8 1.3-3.4 1.2-4.5 2.3-1.1 1.1-1 3.7-2.3 4.5-1.3.8-3.6-.6-5.1-.2-1.5.4-2.7 2.7-4.3 2.7S18 35 16.5 34.7c-1.5-.4-3.8 1-5.1.2s-1.2-3.4-2.3-4.5-3.7-1-4.5-2.3.6-3.6.2-5.1-2.7-2.7-2.7-4.3 2.4-2.8 2.7-4.3c.4-1.5-1-3.8-.2-5.1C5.4 8 8.1 8.1 9.1 7c1.1-1.1 1-3.7 2.3-4.5s3.6.6 5.1.2C18 2.4 19.2 0 20.8 0c1.6 0 2.8 2.4 4.3 2.7 1.5.4 3.8-1 5.1-.2 1.3.8 1.2 3.4 2.3 4.5 1.1 1.1 3.7 1 4.5 2.3s-.6 3.6-.2 5.1c.3 1.5 2.7 2.7 2.7 4.3z",fill:"#599fd9"}),Object(r.createElement)("path",{d:"M23.6 7c-6.4-1.5-12.9 2.5-14.4 8.9-.7 3.1-.2 6.3 1.5 9.1 1.7 2.7 4.3 4.6 7.4 5.4.9.2 1.9.3 2.8.3 2.2 0 4.4-.6 6.3-1.8 2.7-1.7 4.6-4.3 5.4-7.5C34 15 30 8.5 23.6 7zm7 14c-.6 2.6-2.2 4.8-4.5 6.2-2.3 1.4-5 1.8-7.6 1.2-2.6-.6-4.8-2.2-6.2-4.5-1.4-2.3-1.8-5-1.2-7.6.6-2.6 2.2-4.8 4.5-6.2 1.6-1 3.4-1.5 5.2-1.5.8 0 1.5.1 2.3.3 5.4 1.3 8.7 6.7 7.5 12.1zm-8.2-4.5l3.7.5-2.7 2.7.7 3.7-3.4-1.8-3.3 1.8.6-3.7-2.7-2.7 3.8-.5 1.6-3.4 1.7 3.4z",fill:"#fff"})),Object(r.createElement)("h2",{className:"ct-modal-title"},"This is a Pro extension"),Object(r.createElement)("p",null,Object(o.__)("Upgrade to the Pro version and get instant access to all premium extensions, features and future updates.","blc")),Object(r.createElement)("div",{className:"ct-modal-actions has-divider","data-buttons":"2"},Object(r.createElement)("a",{onClick:function(e){e.preventDefault(),f(!1),setTimeout((function(){d.navigate("/pro")}),300)},className:"button"},Object(o.__)("Free vs Pro","blocksy")),Object(r.createElement)("a",{href:"https://creativethemes.com/blocksy/pricing/",target:"_blank",className:"button button-primary"},Object(o.__)("Upgrade Now","blc"))))}}):null]};function J(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,o=!1,a=void 0;try{for(var i,c=e[Symbol.iterator]();!(r=(i=c.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{r||null==c.return||c.return()}finally{if(o)throw a}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Q(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 Q(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 Q(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 X=function(e){var t=e.extsSyncLoading,n=e.extension,a=e.onExtsSync,c=J(G(n,(function(){return a()})),2),u=c[0],s=c[1],l=J(q(n),2),f=l[0],p=l[1];return Object(r.createElement)("li",{className:i()({active:!!n.__object})},Object(r.createElement)("h4",{className:"ct-extension-title"},n.config.name,u&&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"})))))),n.config.description&&Object(r.createElement)("div",{className:"ct-extension-description"},n.config.description),Object(r.createElement)("div",{className:"ct-extension-actions"},Object(r.createElement)("button",{className:i()(n.__object?"ct-button":"ct-button-primary"),"data-button":"white",disabled:u,onClick:function(){s()}},n.__object?Object(o.__)("Deactivate","blc"):Object(o.__)("Activate","blc")),n.__object&&Object(r.createElement)(L,{extsSyncLoading:t,extensionData:n.data,onExtsSync:a}),n.readme&&Object(r.createElement)("button",{onClick:function(){return f()},"data-button":"white",className:"ct-minimal-button ct-instruction"},Object(r.createElement)("svg",{width:"16",height:"16",viewBox:"0 0 24 24"},Object(r.createElement)("path",{d:"M12,2C6.477,2,2,6.477,2,12s4.477,10,10,10s10-4.477,10-10S17.523,2,12,2z M12,17L12,17c-0.552,0-1-0.448-1-1v-4 c0-0.552,0.448-1,1-1h0c0.552,0,1,0.448,1,1v4C13,16.552,12.552,17,12,17z M12.5,9h-1C11.224,9,11,8.776,11,8.5v-1 C11,7.224,11.224,7,11.5,7h1C12.776,7,13,7.224,13,7.5v1C13,8.776,12.776,9,12.5,9z"})))),p)};u.a.on("ct:extensions:card",(function(e){var t=e.CustomComponent;"product-reviews"===e.extension.name&&(t.extension=X)}))}]);
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 o(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var a=typeof r;if("string"===a||"number"===a)e.push(r);else if(Array.isArray(r)&&r.length){var i=o.apply(null,r);i&&e.push(i)}else if("object"===a)for(var c in r)n.call(r,c)&&r[c]&&e.push(c)}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(r=function(){return o}.apply(t,[]))||(e.exports=r)}()},function(e,t){e.exports=window.blocksyOptions},function(e,t){e.exports=window.ctEvents},function(e,t){e.exports=window.React},function(e,t,n){var r,o,a=n(10),i=n(11),c=(o=[],{activateTrap:function(e){if(o.length>0){var t=o[o.length-1];t!==e&&t.pause()}var n=o.indexOf(e);-1===n||o.splice(n,1),o.push(e)},deactivateTrap:function(e){var t=o.indexOf(e);-1!==t&&o.splice(t,1),o.length>0&&o[o.length-1].unpause()}});function u(e){return setTimeout(e,0)}e.exports=function(e,t){var n=document,o="string"==typeof e?n.querySelector(e):e,s=i({returnFocusOnDeactivate:!0,escapeDeactivates:!0},t),l={firstTabbableNode:null,lastTabbableNode:null,nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1},f={activate:function(e){if(l.active)return;j(),l.active=!0,l.paused=!1,l.nodeFocusedBeforeActivation=n.activeElement;var t=e&&e.onActivate?e.onActivate:s.onActivate;t&&t();return d(),f},deactivate:p,pause:function(){if(l.paused||!l.active)return;l.paused=!0,b()},unpause:function(){if(!l.paused||!l.active)return;l.paused=!1,j(),d()}};return f;function p(e){if(l.active){clearTimeout(r),b(),l.active=!1,l.paused=!1,c.deactivateTrap(f);var t=e&&void 0!==e.onDeactivate?e.onDeactivate:s.onDeactivate;return t&&t(),(e&&void 0!==e.returnFocus?e.returnFocus:s.returnFocusOnDeactivate)&&u((function(){var e;w((e=l.nodeFocusedBeforeActivation,m("setReturnFocus")||e))})),f}}function d(){if(l.active)return c.activateTrap(f),r=u((function(){w(v())})),n.addEventListener("focusin",h,!0),n.addEventListener("mousedown",y,{capture:!0,passive:!1}),n.addEventListener("touchstart",y,{capture:!0,passive:!1}),n.addEventListener("click",O,{capture:!0,passive:!1}),n.addEventListener("keydown",g,{capture:!0,passive:!1}),f}function b(){if(l.active)return n.removeEventListener("focusin",h,!0),n.removeEventListener("mousedown",y,!0),n.removeEventListener("touchstart",y,!0),n.removeEventListener("click",O,!0),n.removeEventListener("keydown",g,!0),f}function m(e){var t=s[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 v(){var e;if(!(e=null!==m("initialFocus")?m("initialFocus"):o.contains(n.activeElement)?n.activeElement:l.firstTabbableNode||m("fallbackFocus")))throw new Error("Your focus-trap needs to have at least one focusable element");return e}function y(e){o.contains(e.target)||(s.clickOutsideDeactivates?p({returnFocus:!a.isFocusable(e.target)}):s.allowOutsideClick&&s.allowOutsideClick(e)||e.preventDefault())}function h(e){o.contains(e.target)||e.target instanceof Document||(e.stopImmediatePropagation(),w(l.mostRecentlyFocusedNode||v()))}function g(e){if(!1!==s.escapeDeactivates&&function(e){return"Escape"===e.key||"Esc"===e.key||27===e.keyCode}(e))return e.preventDefault(),void p();(function(e){return"Tab"===e.key||9===e.keyCode})(e)&&function(e){if(j(),e.shiftKey&&e.target===l.firstTabbableNode)return e.preventDefault(),void w(l.lastTabbableNode);if(!e.shiftKey&&e.target===l.lastTabbableNode)e.preventDefault(),w(l.firstTabbableNode)}(e)}function O(e){s.clickOutsideDeactivates||o.contains(e.target)||s.allowOutsideClick&&s.allowOutsideClick(e)||(e.preventDefault(),e.stopImmediatePropagation())}function j(){var e=a(o);l.firstTabbableNode=e[0]||v(),l.lastTabbableNode=e[e.length-1]||v()}function w(e){e!==n.activeElement&&(e&&e.focus?(e.focus(),l.mostRecentlyFocusedNode=e,function(e){return e.tagName&&"input"===e.tagName.toLowerCase()&&"function"==typeof e.select}(e)&&e.select()):w(v()))}}},function(e,t,n){e.exports=n(8)()},function(e,t,n){"use strict";var r=n(9);function o(){}function a(){}a.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,a,i){if(i!==r){var c=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 c.name="Invariant Violation",c}}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:a,resetWarningCache:o};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(","),o="undefined"==typeof Element?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector;function a(e,t){t=t||{};var n,a,c,u=[],f=[],p=e.querySelectorAll(r);for(t.includeContainer&&o.call(e,r)&&(p=Array.prototype.slice.apply(p)).unshift(e),n=0;n<p.length;n++)i(a=p[n])&&(0===(c=s(a))?u.push(a):f.push({documentOrder:n,tabIndex:c,node:a}));return f.sort(l).map((function(e){return e.node})).concat(u)}function i(e){return!(!c(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)||s(e)<0)}function c(e){return!(e.disabled||function(e){return f(e)&&"hidden"===e.type}(e)||function(e){return null===e.offsetParent||"hidden"===getComputedStyle(e).visibility}(e))}a.isTabbable=function(e){if(!e)throw new Error("No node provided");return!1!==o.call(e,r)&&i(e)},a.isFocusable=function(e){if(!e)throw new Error("No node provided");return!1!==o.call(e,u)&&c(e)};var u=n.concat("iframe").join(",");function s(e){var t=parseInt(e.getAttribute("tabindex"),10);return isNaN(t)?function(e){return"true"===e.contentEditable}(e)?0:e.tabIndex:t}function l(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex}function f(e){return"INPUT"===e.tagName}e.exports=a},function(e,t){e.exports=function(){for(var e={},t=0;t<arguments.length;t++){var r=arguments[t];for(var o in r)n.call(r,o)&&(e[o]=r[o])}return e};var n=Object.prototype.hasOwnProperty},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n(1),a=n(2),i=n.n(a),c=n(4),u=n.n(c),s=n(3),l=n(5),f=n.n(l);n(7);function p(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 b=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"])},m=function(e){function t(){var n,r;p(this,t);for(var o=arguments.length,a=Array(o),i=0;i<o;i++)a[i]=arguments[i];return n=r=d(this,e.call.apply(e,[this].concat(a))),v.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,o=this._refs;return{state:e,props:b(t),refs:o,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:b(e),nextState:t})},t.prototype.componentWillUnmount=function(){this.props.willUnmount&&this.props.willUnmount({state:this.state,props:b(this.props),refs:this._refs})},t.prototype.componentDidUpdate=function(e,t,n){this.props.didUpdate&&this.props.didUpdate(Object.assign(this.getArgs(),{prevProps:b(e),prevState:t}),n)},t.prototype.getSnapshotBeforeUpdate=function(e,t){return this.props.getSnapshotBeforeUpdate?this.props.getSnapshotBeforeUpdate(Object.assign(this.getArgs(),{prevProps:b(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}(f.a.Component);m.defaultProps={getInitialState:function(){},getRefs:function(){return{}}};var v=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)}},y=m,h=function(e){var t=e.children,n=e.container,o=void 0===n?document.body:n,a=e.type,i=void 0===a?"reach-portal":a;return Object(r.createElement)(y,{getRefs:function(){return{node:null}},didMount:function(e){var t=e.refs,n=e.forceUpdate,r=o.hasOwnProperty("current")?o.current:o;t.node=document.createElement(i),r.appendChild(t.node),n()},willUnmount:function(e){var t=e.refs.node,n=o.hasOwnProperty("current")?o.current:o;n&&n.removeChild(t)},render:function(e){var n=e.refs.node;return n?Object(r.createPortal)(t,n):null}})};var g=function(e,t){return function(n){if(e&&e(n),!n.defaultPrevented)return t(n)}},O=n(6),j=n.n(O);function w(){return(w=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(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var S=function(){},x=function(){},_=function(e,t){var n,r,o;e.disposeAriaHider=(n=e.overlayNode,r=[],o=[],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),o.push(e),e.setAttribute("aria-hidden","true"))}})),function(){o.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})},k=function(e){var t=e.refs;t.trap.deactivate(),t.disposeAriaHider()},C=React.createContext(),A=React.forwardRef((function(e,t){var n=e.container,o=e.isOpen,a=void 0===o||o,i=e.onDismiss,c=void 0===i?S:i,u=e.initialFocusRef,s=e.onClick,l=e.onKeyDown,f=E(e,["container","isOpen","onDismiss","initialFocusRef","onClick","onKeyDown"]);return Object(r.createElement)(y,{didMount:x},a?Object(r.createElement)(h,{container:n,"data-reach-dialog-wrapper":!0},Object(r.createElement)(y,{refs:{overlayNode:null,contentNode:null},didMount:function(e){var t=e.refs;_(t,u)},willUnmount:k},(function(e){var n=e.refs;return Object(r.createElement)(C.Provider,{value:function(e){return n.contentNode=e}},Object(r.createElement)("div",w({"data-reach-dialog-overlay":!0,onClick:g(s,(function(e){e.stopPropagation(),c()})),onKeyDown:g(l,(function(e){"Escape"===e.key&&(e.stopPropagation(),c())})),ref:function(e){n.overlayNode=e,t&&t(e)}},f)))}))):null)}));A.propTypes={initialFocusRef:function(){}};var N=function(e){return e.stopPropagation()},P=React.forwardRef((function(e,t){var n=e.onClick,o=(e.onKeyDown,E(e,["onClick","onKeyDown"]));return Object(r.createElement)(C.Consumer,null,(function(e){return Object(r.createElement)("div",w({"aria-modal":"true","data-reach-dialog-content":!0,tabIndex:"-1",onClick:g(n,N),ref:function(n){e(n),t&&t(n)}},o))}))})),D=function(e){return!!e},T=function(e){var t=e.items,n=e.isVisible,o=void 0===n?D:n,a=e.render,c=e.className,u=e.onDismiss;return Object(r.createElement)(s.Transition,{items:t,onStart:function(){return document.body.classList[o(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 o(e)&&function(t){return Object(r.createElement)(A,{style:{opacity:t.opacity},container:document.querySelector("#wpbody"),onDismiss:function(){return u()}},Object(r.createElement)(P,{className:i()("ct-admin-modal",c),style:{transform:"translate3d(0px, ".concat(t.y,"px, 0px)")}},Object(r.createElement)("button",{className:"close-button",onClick:function(){return u()}},"×"),a(e,t)))}}))};function U(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 I(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?U(Object(n),!0).forEach((function(t){M(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):U(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function M(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function R(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,o=!1,a=void 0;try{for(var i,c=e[Symbol.iterator]();!(r=(i=c.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{r||null==c.return||c.return()}finally{if(o)throw a}}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 L=function(e){var t=e.extsSyncLoading,n=e.extensionData,a=e.onExtsSync,c=R(Object(r.useState)(!1),2),u=c[0],l=c[1],f=R(Object(r.useState)(null),2),p=f[0],d=f[1];return Object(r.createElement)(r.Fragment,null,Object(r.createElement)("button",{className:"ct-button ct-config-btn","data-button":"white",onClick:function(){l(!0),d(n.settings)}},Object(o.__)("Configure","blocksy-companion")),Object(r.createElement)(T,{items:u,onDismiss:function(){return l(!1)},className:"ct-product-reviews-settings-modal",render:function(){return Object(r.createElement)("div",{className:i()("ct-modal-content")},Object(r.createElement)("h2",null,Object(o.__)("Product Reviews Settings","blocksy-companion")),Object(r.createElement)("p",{className:"ct-modal-description"},Object(o.__)("Configure the slugs for single and category pages of the product review custom post type.","blocksy-companion")),Object(r.createElement)("div",{className:"ct-controls-group"},Object(r.createElement)("section",{"data-columns":"medium:2"},Object(r.createElement)(s.OptionsPanel,{onChange:function(e,t){return d((function(n){return I(I({},n),{},M({},e,t))}))},options:{single_slug:{type:"text",value:"",label:Object(o.__)("Single Slug","blocksy-companion")},category_slug:{type:"text",value:"",label:Object(o.__)("Category Slug","blocksy-companion")}},value:p||{},hasRevertButton:!1}))),Object(r.createElement)("div",{className:"ct-modal-actions has-divider"},Object(r.createElement)("button",{className:"button-primary",disabled:t||!p,onClick:function(e){e.preventDefault(),p&&(a({extAction:{type:"persist",settings:p}}),l(!1))}},t?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"}))))):Object(o.__)("Save","blocksy-companion"))))}}))};function B(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,o=!1,a=void 0;try{for(var i,c=e[Symbol.iterator]();!(r=(i=c.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{r||null==c.return||c.return()}finally{if(o)throw a}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return z(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 z(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 z(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 q=function(e){var t=B(Object(r.useState)(!1),2),n=t[0],o=t[1];return[function(){return o(!0)},Object(r.createElement)(T,{items:n,onDismiss:function(){return o(!1)},render:function(){return Object(r.createElement)("div",{className:"ct-modal-content",dangerouslySetInnerHTML:{__html:e.readme}})}})]},K=window.ctDashboardLocalizations.DashboardContext,H=(K.Provider,K.Consumer,K);function W(e,t,n,r,o,a,i){try{var c=e[a](i),u=c.value}catch(e){return void n(e)}c.done?t(u):Promise.resolve(u).then(r,o)}function $(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var a=e.apply(t,n);function i(e){W(a,r,o,i,c,"next",e)}function c(e){W(a,r,o,i,c,"throw",e)}i(void 0)}))}}function V(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,o=!1,a=void 0;try{for(var i,c=e[Symbol.iterator]();!(r=(i=c.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{r||null==c.return||c.return()}finally{if(o)throw a}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Y(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 Y(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 Y(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=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){},n=Object(r.useState)(!1),a=V(n,2),i=a[0],c=a[1],u=Object(r.useState)(!1),s=V(u,2),l=s[0],f=s[1],p=Object(r.useContext)(H),d=(p.Link,p.history),b=ctDashboardLocalizations.plugin_data.is_pro,m=function(){var n=$(regeneratorRuntime.mark((function n(){var r;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(b||!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"),c(!0),n.prev=7,n.next=10,fetch(ctDashboardLocalizations.ajax_url,{method:"POST",body:r});case 10:e.config.require_refresh&&location.reload(),t(),n.next=16;break;case 14:n.prev=14,n.t0=n.catch(7);case 16:c(!1);case 17:case"end":return n.stop()}}),n,null,[[7,14]])})));return function(){return n.apply(this,arguments)}}();return[i,m,!b&&e.config.pro?Object(r.createElement)(T,{items:l,className:"ct-onboarding-modal",onDismiss:function(){return f(!1)},render:function(){return Object(r.createElement)("div",{className:"ct-modal-content"},Object(r.createElement)("svg",{width:"55",height:"55",viewBox:"0 0 40.5 48.3"},Object(r.createElement)("path",{fill:"#2d82c8",d:"M33.4 29.4l7.1 12.3-7.4.6-4 6-7.3-12.9"}),Object(r.createElement)("path",{d:"M33.5 29.6L26 42.7l-4.2-7.3 11.6-6 .1.2zM0 41.7l7.5.6 3.9 6 7.2-12.4-11-7.3L0 41.7z",fill:"#2271b1"}),Object(r.createElement)("path",{d:"M39.5 18.7c0 1.6-2.4 2.8-2.7 4.3-.4 1.5 1 3.8.2 5.1-.8 1.3-3.4 1.2-4.5 2.3-1.1 1.1-1 3.7-2.3 4.5-1.3.8-3.6-.6-5.1-.2-1.5.4-2.7 2.7-4.3 2.7S18 35 16.5 34.7c-1.5-.4-3.8 1-5.1.2s-1.2-3.4-2.3-4.5-3.7-1-4.5-2.3.6-3.6.2-5.1-2.7-2.7-2.7-4.3 2.4-2.8 2.7-4.3c.4-1.5-1-3.8-.2-5.1C5.4 8 8.1 8.1 9.1 7c1.1-1.1 1-3.7 2.3-4.5s3.6.6 5.1.2C18 2.4 19.2 0 20.8 0c1.6 0 2.8 2.4 4.3 2.7 1.5.4 3.8-1 5.1-.2 1.3.8 1.2 3.4 2.3 4.5 1.1 1.1 3.7 1 4.5 2.3s-.6 3.6-.2 5.1c.3 1.5 2.7 2.7 2.7 4.3z",fill:"#599fd9"}),Object(r.createElement)("path",{d:"M23.6 7c-6.4-1.5-12.9 2.5-14.4 8.9-.7 3.1-.2 6.3 1.5 9.1 1.7 2.7 4.3 4.6 7.4 5.4.9.2 1.9.3 2.8.3 2.2 0 4.4-.6 6.3-1.8 2.7-1.7 4.6-4.3 5.4-7.5C34 15 30 8.5 23.6 7zm7 14c-.6 2.6-2.2 4.8-4.5 6.2-2.3 1.4-5 1.8-7.6 1.2-2.6-.6-4.8-2.2-6.2-4.5-1.4-2.3-1.8-5-1.2-7.6.6-2.6 2.2-4.8 4.5-6.2 1.6-1 3.4-1.5 5.2-1.5.8 0 1.5.1 2.3.3 5.4 1.3 8.7 6.7 7.5 12.1zm-8.2-4.5l3.7.5-2.7 2.7.7 3.7-3.4-1.8-3.3 1.8.6-3.7-2.7-2.7 3.8-.5 1.6-3.4 1.7 3.4z",fill:"#fff"})),Object(r.createElement)("h2",{className:"ct-modal-title"},"This is a Pro extension"),Object(r.createElement)("p",null,Object(o.__)("Upgrade to the Pro version and get instant access to all premium extensions, features and future updates.","blocksy-companion")),Object(r.createElement)("div",{className:"ct-modal-actions has-divider","data-buttons":"2"},Object(r.createElement)("a",{onClick:function(e){e.preventDefault(),f(!1),setTimeout((function(){d.navigate("/pro")}),300)},className:"button"},Object(o.__)("Free vs Pro","blocksy")),Object(r.createElement)("a",{href:"https://creativethemes.com/blocksy/pricing/",target:"_blank",className:"button button-primary"},Object(o.__)("Upgrade Now","blocksy-companion"))))}}):null]};function J(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,o=!1,a=void 0;try{for(var i,c=e[Symbol.iterator]();!(r=(i=c.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{r||null==c.return||c.return()}finally{if(o)throw a}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Q(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 Q(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 Q(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 X=function(e){var t=e.extsSyncLoading,n=e.extension,a=e.onExtsSync,c=J(G(n,(function(){return a()})),2),u=c[0],s=c[1],l=J(q(n),2),f=l[0],p=l[1];return Object(r.createElement)("li",{className:i()({active:!!n.__object})},Object(r.createElement)("h4",{className:"ct-extension-title"},n.config.name,u&&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"})))))),n.config.description&&Object(r.createElement)("div",{className:"ct-extension-description"},n.config.description),Object(r.createElement)("div",{className:"ct-extension-actions"},Object(r.createElement)("button",{className:i()(n.__object?"ct-button":"ct-button-primary"),"data-button":"white",disabled:u,onClick:function(){s()}},n.__object?Object(o.__)("Deactivate","blocksy-companion"):Object(o.__)("Activate","blocksy-companion")),n.__object&&Object(r.createElement)(L,{extsSyncLoading:t,extensionData:n.data,onExtsSync:a}),n.readme&&Object(r.createElement)("button",{onClick:function(){return f()},"data-button":"white",className:"ct-minimal-button ct-instruction"},Object(r.createElement)("svg",{width:"16",height:"16",viewBox:"0 0 24 24"},Object(r.createElement)("path",{d:"M12,2C6.477,2,2,6.477,2,12s4.477,10,10,10s10-4.477,10-10S17.523,2,12,2z M12,17L12,17c-0.552,0-1-0.448-1-1v-4 c0-0.552,0.448-1,1-1h0c0.552,0,1,0.448,1,1v4C13,16.552,12.552,17,12,17z M12.5,9h-1C11.224,9,11,8.776,11,8.5v-1 C11,7.224,11.224,7,11.5,7h1C12.776,7,13,7.224,13,7.5v1C13,8.776,12.776,9,12.5,9z"})))),p)};u.a.on("ct:extensions:card",(function(e){var t=e.CustomComponent;"product-reviews"===e.extension.name&&(t.extension=X)}))}]);
framework/extensions/product-reviews/static/bundle/main-admin.min.css CHANGED
@@ -1,5 +1,5 @@
1
  /**
2
- * - v1.8.9.4
3
  *
4
  * Copyright (c) 2021
5
  * Licensed GPLv2+
1
  /**
2
+ * - v1.8.9.5
3
  *
4
  * Copyright (c) 2021
5
  * Licensed GPLv2+
framework/extensions/product-reviews/static/bundle/main.min.css CHANGED
@@ -1,8 +1,8 @@
1
  /**
2
- * - v1.8.9.4
3
  *
4
  * Copyright (c) 2021
5
  * Licensed GPLv2+
6
  */
7
 
8
- .ct-product-hero .flexy-container{overflow:hidden}@media (max-width: 999.98px){.ct-product-hero .flexy-pills{--thumbs-spacing: 10px}}@media (min-width: 1000px){.ct-product-hero .flexy-pills{max-width:70%;margin:-8% auto 0 auto;--thumbs-spacing: 20px}}.ct-product-hero .flexy-pills ol{margin:0 calc(var(--thumbs-spacing) * -1)}.ct-product-hero .flexy-pills li{padding-top:var(--thumbs-spacing);padding-left:var(--thumbs-spacing);padding-right:var(--thumbs-spacing)}.ct-product-hero .flexy-pills li img{width:100%;border-radius:3px;border-radius:2px;border:3px solid #fff}.ct-product-hero .hero-section:not(:first-child){margin-top:var(--margin-bottom, 40px)}.ct-product-hero .ct-item-review-meta{display:none;visibility:hidden}.ct-product-scores{display:grid;grid-column-gap:25px;grid-row-gap:25px;margin:0 auto;max-width:var(--product-scores-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:var(--overall-score-text-color, #fff);border-radius:2px;background:var(--overall-score-box-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;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;-webkit-margin-end:auto;margin-inline-end:auto}.ct-overall-score-layer .star-rating{margin:3px 0}.ct-product-actions-group{display:flex;align-items:center;justify-content:center}.ct-product-actions-group:not(:last-child){margin-bottom:60px}.ct-product-actions-group .ct-button:not(:last-child){-webkit-margin-end:25px;margin-inline-end:25px}.ct-product-actions-group .ct-icon-container{color:inherit;-webkit-margin-start:10px;margin-inline-start: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}}.ct-product-info li{position:relative;-webkit-padding-start:22px;padding-inline-start:22px}.ct-product-info .ct-icon-container{position:absolute;left:0;top:0.4em;opacity:0.8;--icon-size: 13px}@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;--content-spacing: 0}
1
  /**
2
+ * - v1.8.9.5
3
  *
4
  * Copyright (c) 2021
5
  * Licensed GPLv2+
6
  */
7
 
8
+ .ct-product-hero .flexy-container{overflow:hidden}@media (max-width: 999.98px){.ct-product-hero .flexy-pills{--thumbs-spacing: 10px}}@media (min-width: 1000px){.ct-product-hero .flexy-pills{max-width:70%;margin:-8% auto 0 auto;--thumbs-spacing: 20px}}.ct-product-hero .flexy-pills ol{margin:0 calc(var(--thumbs-spacing) * -1)}.ct-product-hero .flexy-pills li{padding-top:var(--thumbs-spacing);padding-left:var(--thumbs-spacing);padding-right:var(--thumbs-spacing)}.ct-product-hero .flexy-pills li img{width:100%;border-radius:3px;border-radius:2px;border:3px solid #fff}.ct-product-hero .hero-section:not(:first-child){margin-top:var(--margin-bottom, 40px)}.ct-product-scores{display:grid;grid-column-gap:25px;grid-row-gap:25px;margin:0 auto;max-width:var(--product-scores-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:var(--overall-score-text-color, #fff);border-radius:2px;background:var(--overall-score-box-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;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;-webkit-margin-end:auto;margin-inline-end:auto}.ct-overall-score-layer .star-rating{margin:3px 0}.ct-product-actions-group{display:flex;align-items:center;justify-content:center}.ct-product-actions-group:not(:last-child){margin-bottom:60px}.ct-product-actions-group .ct-button:not(:last-child){-webkit-margin-end:25px;margin-inline-end:25px}.ct-product-actions-group .ct-icon-container{color:inherit;-webkit-margin-start:10px;margin-inline-start: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}}.ct-product-info li{position:relative;-webkit-padding-start:22px;padding-inline-start:22px}.ct-product-info .ct-icon-container{position:absolute;left:0;top:0.4em;opacity:0.8;--icon-size: 13px}@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;--content-spacing: 0}
framework/extensions/product-reviews/static/js/EditSettings.js CHANGED
@@ -27,7 +27,7 @@ const EditSettings = ({ extsSyncLoading, extensionData, onExtsSync }) => {
27
  setIsEditing(true)
28
  setSettings(extensionData.settings)
29
  }}>
30
- {__('Configure', 'blc')}
31
  </button>
32
 
33
  <Overlay
@@ -36,12 +36,12 @@ const EditSettings = ({ extsSyncLoading, extensionData, onExtsSync }) => {
36
  className={'ct-product-reviews-settings-modal'}
37
  render={() => (
38
  <div className={classnames('ct-modal-content')}>
39
- <h2>{__('Product Reviews Settings', 'blc')}</h2>
40
 
41
  <p className="ct-modal-description">
42
  {__(
43
  'Configure the slugs for single and category pages of the product review custom post type.',
44
- 'blc'
45
  )}
46
  </p>
47
 
@@ -58,13 +58,13 @@ const EditSettings = ({ extsSyncLoading, extensionData, onExtsSync }) => {
58
  single_slug: {
59
  type: 'text',
60
  value: '',
61
- label: __('Single Slug', 'blc'),
62
  },
63
 
64
  category_slug: {
65
  type: 'text',
66
  value: '',
67
- label: __('Category Slug', 'blc'),
68
  },
69
  }}
70
  value={settings || {}}
@@ -127,7 +127,7 @@ const EditSettings = ({ extsSyncLoading, extensionData, onExtsSync }) => {
127
  </g>
128
  </svg>
129
  ) : (
130
- __('Save', 'blc')
131
  )}
132
  </button>
133
  </div>
27
  setIsEditing(true)
28
  setSettings(extensionData.settings)
29
  }}>
30
+ {__('Configure', 'blocksy-companion')}
31
  </button>
32
 
33
  <Overlay
36
  className={'ct-product-reviews-settings-modal'}
37
  render={() => (
38
  <div className={classnames('ct-modal-content')}>
39
+ <h2>{__('Product Reviews Settings', 'blocksy-companion')}</h2>
40
 
41
  <p className="ct-modal-description">
42
  {__(
43
  'Configure the slugs for single and category pages of the product review custom post type.',
44
+ 'blocksy-companion'
45
  )}
46
  </p>
47
 
58
  single_slug: {
59
  type: 'text',
60
  value: '',
61
+ label: __('Single Slug', 'blocksy-companion'),
62
  },
63
 
64
  category_slug: {
65
  type: 'text',
66
  value: '',
67
+ label: __('Category Slug', 'blocksy-companion'),
68
  },
69
  }}
70
  value={settings || {}}
127
  </g>
128
  </svg>
129
  ) : (
130
+ __('Save', 'blocksy-companion')
131
  )}
132
  </button>
133
  </div>
framework/extensions/product-reviews/static/js/ProductReviews.js CHANGED
@@ -69,8 +69,8 @@ const ProductReviews = ({ extsSyncLoading, extension, onExtsSync }) => {
69
  activationAction()
70
  }}>
71
  {extension.__object
72
- ? __('Deactivate', 'blc')
73
- : __('Activate', 'blc')}
74
  </button>
75
 
76
  {extension.__object && (
69
  activationAction()
70
  }}>
71
  {extension.__object
72
+ ? __('Deactivate', 'blocksy-companion')
73
+ : __('Activate', 'blocksy-companion')}
74
  </button>
75
 
76
  {extension.__object && (
framework/extensions/product-reviews/static/sass/title.scss CHANGED
@@ -3,9 +3,4 @@
3
  .hero-section:not(:first-child) {
4
  margin-top: var(--margin-bottom, 40px);
5
  }
6
-
7
- .ct-item-review-meta {
8
- display: none;
9
- visibility: hidden;
10
- }
11
  }
3
  .hero-section:not(:first-child) {
4
  margin-top: var(--margin-bottom, 40px);
5
  }
 
 
 
 
 
6
  }
framework/extensions/product-reviews/views/single-top.php CHANGED
@@ -22,10 +22,21 @@ if ($thumb_id) {
22
  $gallery_images = [];
23
  }
24
 
25
- $target_output = '';
 
 
 
 
26
 
27
  if (blocksy_akg('product_link_target', $atts, 'no') === 'yes') {
28
- $target_output = 'target="_blank" rel="noopener noreferrer"';
 
 
 
 
 
 
 
29
  }
30
 
31
  echo '<section class="ct-product-hero">';
@@ -125,7 +136,7 @@ if (! empty($scores)) {
125
  echo '</div>';
126
 
127
  echo '<span class="ct-score-label">';
128
- echo __('Overall Score', 'blc');
129
  echo '</span>';
130
  echo '</div>';
131
 
@@ -142,13 +153,13 @@ if ($has_read_more || $has_buy_now) {
142
  $product_button_label = blocksy_akg(
143
  'product_button_label',
144
  $atts,
145
- __('Buy Now', 'blc')
146
  );
147
 
148
  $product_read_content_button_label = blocksy_akg(
149
  'product_read_content_button_label',
150
  $atts,
151
- __('Read More', 'blc')
152
  );
153
 
154
  if (
@@ -177,8 +188,14 @@ if ($has_read_more || $has_buy_now) {
177
  &&
178
  $has_buy_now
179
  ) {
180
- echo '<a href="' . esc_url($product_link) . '" class="ct-button" ' . wp_kses_post($target_output) . '>';
181
- echo $product_button_label;
 
 
 
 
 
 
182
 
183
  /*
184
  echo blc_get_icon([
@@ -187,8 +204,6 @@ if ($has_read_more || $has_buy_now) {
187
  ]),
188
  ]);
189
  */
190
-
191
- echo '</a>';
192
  }
193
 
194
  echo '</div>';
@@ -220,7 +235,7 @@ if (
220
 
221
  if (! empty($product_specs)) {
222
  echo '<div class="ct-specs">';
223
- echo '<h5>' . __('Specs', 'blc') . '</h5>';
224
 
225
  echo '<ul>';
226
 
@@ -244,7 +259,7 @@ if (
244
 
245
  if (! empty($product_pros)) {
246
  echo '<div class="ct-product-review-pros" ' . blocksy_schema_org_definitions('positiveNotes') . '>';
247
- echo '<h5>' . __('Pros', 'blc') . '</h5>';
248
 
249
  echo '<ul>';
250
 
@@ -267,7 +282,7 @@ if (
267
 
268
  if (! empty($product_cons)) {
269
  echo '<div class="ct-product-review-cons" ' . blocksy_schema_org_definitions('negativeNotes') . '>';
270
- echo '<h5>' . __('Cons', 'blc') . '</h5>';
271
 
272
  echo '<ul>';
273
 
22
  $gallery_images = [];
23
  }
24
 
25
+ $link_atts = [];
26
+
27
+ if (blocksy_akg('product_link_sponsored', $atts, 'no') === 'yes') {
28
+ $link_atts['rel'] = 'sponsored';
29
+ }
30
 
31
  if (blocksy_akg('product_link_target', $atts, 'no') === 'yes') {
32
+ $link_atts['target'] = '_blank';
33
+
34
+ if (! isset($link_atts['rel'])) {
35
+ $link_atts['rel'] = '';
36
+ }
37
+
38
+ $link_atts['rel'] .= ' noopener noreferrer';
39
+ $link_atts['rel'] = trim($link_atts['rel']);
40
  }
41
 
42
  echo '<section class="ct-product-hero">';
136
  echo '</div>';
137
 
138
  echo '<span class="ct-score-label">';
139
+ echo __('Overall Score', 'blocksy-companion');
140
  echo '</span>';
141
  echo '</div>';
142
 
153
  $product_button_label = blocksy_akg(
154
  'product_button_label',
155
  $atts,
156
+ __('Buy Now', 'blocksy-companion')
157
  );
158
 
159
  $product_read_content_button_label = blocksy_akg(
160
  'product_read_content_button_label',
161
  $atts,
162
+ __('Read More', 'blocksy-companion')
163
  );
164
 
165
  if (
188
  &&
189
  $has_buy_now
190
  ) {
191
+ echo blocksy_html_tag(
192
+ 'a',
193
+ array_merge([
194
+ 'href' => esc_url($product_link),
195
+ 'class' => 'ct-button'
196
+ ], $link_atts),
197
+ $product_button_label
198
+ );
199
 
200
  /*
201
  echo blc_get_icon([
204
  ]),
205
  ]);
206
  */
 
 
207
  }
208
 
209
  echo '</div>';
235
 
236
  if (! empty($product_specs)) {
237
  echo '<div class="ct-specs">';
238
+ echo '<h5>' . __('Specs', 'blocksy-companion') . '</h5>';
239
 
240
  echo '<ul>';
241
 
259
 
260
  if (! empty($product_pros)) {
261
  echo '<div class="ct-product-review-pros" ' . blocksy_schema_org_definitions('positiveNotes') . '>';
262
+ echo '<h5>' . __('Pros', 'blocksy-companion') . '</h5>';
263
 
264
  echo '<ul>';
265
 
282
 
283
  if (! empty($product_cons)) {
284
  echo '<div class="ct-product-review-cons" ' . blocksy_schema_org_definitions('negativeNotes') . '>';
285
+ echo '<h5>' . __('Cons', 'blocksy-companion') . '</h5>';
286
 
287
  echo '<ul>';
288
 
framework/extensions/trending/config.php CHANGED
@@ -1,6 +1,6 @@
1
  <?php
2
 
3
  $config = [
4
- 'name' => __('Trending Posts', 'blc'),
5
- 'description' => __('Highlight your most popular posts or products based on the number of comments or reviews they have gotten in the specified period of time.', 'blc')
6
  ];
1
  <?php
2
 
3
  $config = [
4
+ 'name' => __('Trending Posts', 'blocksy-companion'),
5
+ 'description' => __('Highlight your most popular posts or products based on the number of comments or reviews they have gotten in the specified period of time.', 'blocksy-companion')
6
  ];
framework/extensions/trending/customizer.php CHANGED
@@ -1,11 +1,11 @@
1
  <?php
2
 
3
  $all_post_types = [
4
- 'post' => __('Posts', 'blc')
5
  ];
6
 
7
  if (class_exists('WooCommerce')) {
8
- $all_post_types['product'] = __('Products', 'blc');
9
  }
10
 
11
  if (function_exists('blocksy_manager')) {
@@ -32,14 +32,14 @@ foreach ($all_post_types as $custom_post_type => $label) {
32
  }
33
 
34
  $opt_id = 'trending_block_category';
35
- $label = __('Category', 'blc');
36
- $label_multiple = __('All categories', 'blc');
37
  $taxonomy = 'category';
38
 
39
  if ($custom_post_type !== 'post') {
40
  $opt_id = 'trending_block_' . $custom_post_type . '_taxonomy';
41
- $label = __('Taxonomy', 'blc');
42
- $label_multiple = __('All taxonomies', 'blc');
43
 
44
  $taxonomies = get_object_taxonomies($custom_post_type);
45
 
@@ -93,7 +93,7 @@ foreach ($all_post_types as $custom_post_type => $label) {
93
  }
94
 
95
  $options = [
96
- 'title' => __('Trending Posts', 'blc'),
97
  'container' => [ 'priority' => 8 ],
98
  'options' => [
99
  'trending_posts_section_options' => [
@@ -102,24 +102,24 @@ $options = [
102
  'inner-options' => [
103
  blocksy_rand_md5() => [
104
  'type' => 'ct-title',
105
- 'label' => __( 'Trending Posts', 'blc' ),
106
  ],
107
 
108
  blocksy_rand_md5() => [
109
- 'title' => __( 'General', 'blc' ),
110
  'type' => 'tab',
111
  'options' => [
112
  [
113
  'trending_block_label' => [
114
- 'label' => __( 'Module Title', 'blc' ),
115
  'type' => 'text',
116
  'design' => 'inline',
117
- 'value' => __( 'Trending now', 'blc' ),
118
  'sync' => 'live',
119
  ],
120
 
121
  'trending_block_label_tag' => [
122
- 'label' => __( 'Module Title Tag', 'blc' ),
123
  'type' => 'ct-select',
124
  'value' => 'h3',
125
  'view' => 'text',
@@ -144,7 +144,7 @@ $options = [
144
  ],
145
 
146
  'trending_block_post_type' => count($all_post_types) > 1 ? [
147
- 'label' => __( 'Post Type', 'blc' ),
148
  'type' => 'ct-select',
149
  'value' => 'post',
150
  'design' => 'inline',
@@ -157,7 +157,7 @@ $options = [
157
  }
158
  ],
159
  ] : [
160
- 'label' => __('Post Type', 'blc'),
161
  'type' => 'hidden',
162
  'value' => 'post',
163
  'design' => 'none',
@@ -166,13 +166,13 @@ $options = [
166
 
167
  'trending_block_post_source' => [
168
  'type' => 'ct-select',
169
- 'label' => __( 'Source', 'blc' ),
170
  'value' => 'categories',
171
  'design' => 'inline',
172
  'choices' => blocksy_ordered_keys(
173
  [
174
- 'categories' => __('Taxonomies', 'blc'),
175
- 'custom' => __( 'Custom Query', 'blc' ),
176
  ]
177
  ),
178
  'sync' => [
@@ -195,11 +195,11 @@ $options = [
195
  'options' => [
196
 
197
  'trending_block_post_id' => [
198
- 'label' => __( 'Posts ID', 'blc' ),
199
  'type' => 'text',
200
  'design' => 'inline',
201
  'desc' => sprintf(
202
- __('Separate posts ID by comma. How to find the %spost ID%s.', 'blc'),
203
  '<a href="https://www.wpbeginner.com/beginners-guide/how-to-find-post-category-tag-comments-or-user-id-in-wordpress/" target="_blank">',
204
  '</a>'
205
  ),
@@ -215,7 +215,7 @@ $options = [
215
  ],
216
 
217
  'trending_block_filter' => [
218
- 'label' => __( 'Trending From', 'blc' ),
219
  'type' => 'ct-select',
220
  'divider' => 'top',
221
  'value' => 'all_time',
@@ -224,10 +224,10 @@ $options = [
224
  'setting' => [ 'transport' => 'postMessage' ],
225
  'choices' => blocksy_ordered_keys(
226
  [
227
- 'all_time' => __( 'All Time', 'blc' ),
228
- 'last_24_hours' => __( 'Last 24 Hours', 'blc' ),
229
- 'last_7_days' => __( 'Last 7 Days', 'blc' ),
230
- 'last_month' => __( 'Last Month', 'blc' ),
231
  ]
232
  ),
233
 
@@ -244,7 +244,7 @@ $options = [
244
  ],
245
 
246
  'trending_block_visibility' => [
247
- 'label' => __( 'Container Visibility', 'blc' ),
248
  'type' => 'ct-visibility',
249
  'design' => 'block',
250
  'sync' => 'live',
@@ -256,9 +256,9 @@ $options = [
256
  ],
257
 
258
  'choices' => blocksy_ordered_keys([
259
- 'desktop' => __( 'Desktop', 'blc' ),
260
- 'tablet' => __( 'Tablet', 'blc' ),
261
- 'mobile' => __( 'Mobile', 'blc' ),
262
  ]),
263
  ],
264
  ],
@@ -266,7 +266,7 @@ $options = [
266
  blc_fs()->is__premium_only() ? [
267
 
268
  'trending_block_location' => [
269
- 'label' => __('Display Location', 'blc'),
270
  'type' => 'ct-select',
271
  'design' => 'inline',
272
  'divider' => 'top',
@@ -274,23 +274,23 @@ $options = [
274
  'choices' => [
275
  [
276
  'key' => 'blocksy:content:bottom',
277
- 'value' => __('Before Footer', 'blc')
278
  ],
279
 
280
  [
281
  'key' => 'blocksy:footer:after',
282
- 'value' => __('After Footer', 'blc')
283
  ],
284
 
285
  [
286
  'key' => 'blocksy:header:after',
287
- 'value' => __('After Header', 'blc')
288
  ]
289
  ]
290
  ],
291
 
292
  'trending_block_conditions' => [
293
- 'label' => __('Display Conditions', 'blc'),
294
  'type' => 'blocksy-display-condition',
295
  'divider' => 'top',
296
  'value' => [
@@ -301,8 +301,8 @@ $options = [
301
  ],
302
  'display' => 'modal',
303
 
304
- 'modalTitle' => __('Trending Block Display Conditions', 'blc'),
305
- 'modalDescription' => __('Add one or more conditions to display the trending block.', 'blc'),
306
  'design' => 'block',
307
  'sync' => 'live'
308
  ],
@@ -311,13 +311,13 @@ $options = [
311
  ],
312
 
313
  blocksy_rand_md5() => [
314
- 'title' => __( 'Design', 'blc' ),
315
  'type' => 'tab',
316
  'options' => [
317
 
318
  'trendingBlockPostsFont' => [
319
  'type' => 'ct-typography',
320
- 'label' => __( 'Posts Font', 'blc' ),
321
  'value' => blocksy_typography_default_values([
322
  'size' => '15px',
323
  'variation' => 'n5',
@@ -326,7 +326,7 @@ $options = [
326
  ],
327
 
328
  'trendingBlockFontColor' => [
329
- 'label' => __( 'Font Color', 'blc' ),
330
  'type' => 'ct-color-picker',
331
  'design' => 'block:right',
332
  'divider' => 'top',
@@ -344,13 +344,13 @@ $options = [
344
 
345
  'pickers' => [
346
  [
347
- 'title' => __( 'Initial', 'blc' ),
348
  'id' => 'default',
349
  'inherit' => 'var(--color)'
350
  ],
351
 
352
  [
353
- 'title' => __( 'Hover', 'blc' ),
354
  'id' => 'hover',
355
  'inherit' => 'var(--linkHoverColor)'
356
  ],
@@ -358,7 +358,7 @@ $options = [
358
  ],
359
 
360
  'trending_block_background' => [
361
- 'label' => __( 'Container Background', 'blc' ),
362
  'type' => 'ct-background',
363
  'design' => 'block:right',
364
  'responsive' => true,
@@ -374,7 +374,7 @@ $options = [
374
  ],
375
 
376
  'trendingBlockContainerSpacing' => [
377
- 'label' => __( 'Container Inner Spacing', 'blc' ),
378
  'type' => 'ct-slider',
379
  'divider' => 'top',
380
  'value' => '30px',
1
  <?php
2
 
3
  $all_post_types = [
4
+ 'post' => __('Posts', 'blocksy-companion')
5
  ];
6
 
7
  if (class_exists('WooCommerce')) {
8
+ $all_post_types['product'] = __('Products', 'blocksy-companion');
9
  }
10
 
11
  if (function_exists('blocksy_manager')) {
32
  }
33
 
34
  $opt_id = 'trending_block_category';
35
+ $label = __('Category', 'blocksy-companion');
36
+ $label_multiple = __('All categories', 'blocksy-companion');
37
  $taxonomy = 'category';
38
 
39
  if ($custom_post_type !== 'post') {
40
  $opt_id = 'trending_block_' . $custom_post_type . '_taxonomy';
41
+ $label = __('Taxonomy', 'blocksy-companion');
42
+ $label_multiple = __('All taxonomies', 'blocksy-companion');
43
 
44
  $taxonomies = get_object_taxonomies($custom_post_type);
45
 
93
  }
94
 
95
  $options = [
96
+ 'title' => __('Trending Posts', 'blocksy-companion'),
97
  'container' => [ 'priority' => 8 ],
98
  'options' => [
99
  'trending_posts_section_options' => [
102
  'inner-options' => [
103
  blocksy_rand_md5() => [
104
  'type' => 'ct-title',
105
+ 'label' => __( 'Trending Posts', 'blocksy-companion' ),
106
  ],
107
 
108
  blocksy_rand_md5() => [
109
+ 'title' => __( 'General', 'blocksy-companion' ),
110
  'type' => 'tab',
111
  'options' => [
112
  [
113
  'trending_block_label' => [
114
+ 'label' => __( 'Module Title', 'blocksy-companion' ),
115
  'type' => 'text',
116
  'design' => 'inline',
117
+ 'value' => __( 'Trending now', 'blocksy-companion' ),
118
  'sync' => 'live',
119
  ],
120
 
121
  'trending_block_label_tag' => [
122
+ 'label' => __( 'Module Title Tag', 'blocksy-companion' ),
123
  'type' => 'ct-select',
124
  'value' => 'h3',
125
  'view' => 'text',
144
  ],
145
 
146
  'trending_block_post_type' => count($all_post_types) > 1 ? [
147
+ 'label' => __( 'Post Type', 'blocksy-companion' ),
148
  'type' => 'ct-select',
149
  'value' => 'post',
150
  'design' => 'inline',
157
  }
158
  ],
159
  ] : [
160
+ 'label' => __('Post Type', 'blocksy-companion'),
161
  'type' => 'hidden',
162
  'value' => 'post',
163
  'design' => 'none',
166
 
167
  'trending_block_post_source' => [
168
  'type' => 'ct-select',
169
+ 'label' => __( 'Source', 'blocksy-companion' ),
170
  'value' => 'categories',
171
  'design' => 'inline',
172
  'choices' => blocksy_ordered_keys(
173
  [
174
+ 'categories' => __('Taxonomies', 'blocksy-companion'),
175
+ 'custom' => __( 'Custom Query', 'blocksy-companion' ),
176
  ]
177
  ),
178
  'sync' => [
195
  'options' => [
196
 
197
  'trending_block_post_id' => [
198
+ 'label' => __( 'Posts ID', 'blocksy-companion' ),
199
  'type' => 'text',
200
  'design' => 'inline',
201
  'desc' => sprintf(
202
+ __('Separate posts ID by comma. How to find the %spost ID%s.', 'blocksy-companion'),
203
  '<a href="https://www.wpbeginner.com/beginners-guide/how-to-find-post-category-tag-comments-or-user-id-in-wordpress/" target="_blank">',
204
  '</a>'
205
  ),
215
  ],
216
 
217
  'trending_block_filter' => [
218
+ 'label' => __( 'Trending From', 'blocksy-companion' ),
219
  'type' => 'ct-select',
220
  'divider' => 'top',
221
  'value' => 'all_time',
224
  'setting' => [ 'transport' => 'postMessage' ],
225
  'choices' => blocksy_ordered_keys(
226
  [
227
+ 'all_time' => __( 'All Time', 'blocksy-companion' ),
228
+ 'last_24_hours' => __( 'Last 24 Hours', 'blocksy-companion' ),
229
+ 'last_7_days' => __( 'Last 7 Days', 'blocksy-companion' ),
230
+ 'last_month' => __( 'Last Month', 'blocksy-companion' ),
231
  ]
232
  ),
233
 
244
  ],
245
 
246
  'trending_block_visibility' => [
247
+ 'label' => __( 'Container Visibility', 'blocksy-companion' ),
248
  'type' => 'ct-visibility',
249
  'design' => 'block',
250
  'sync' => 'live',
256
  ],
257
 
258
  'choices' => blocksy_ordered_keys([
259
+ 'desktop' => __( 'Desktop', 'blocksy-companion' ),
260
+ 'tablet' => __( 'Tablet', 'blocksy-companion' ),
261
+ 'mobile' => __( 'Mobile', 'blocksy-companion' ),
262
  ]),
263
  ],
264
  ],
266
  blc_fs()->is__premium_only() ? [
267
 
268
  'trending_block_location' => [
269
+ 'label' => __('Display Location', 'blocksy-companion'),
270
  'type' => 'ct-select',
271
  'design' => 'inline',
272
  'divider' => 'top',
274
  'choices' => [
275
  [
276
  'key' => 'blocksy:content:bottom',
277
+ 'value' => __('Before Footer', 'blocksy-companion')
278
  ],
279
 
280
  [
281
  'key' => 'blocksy:footer:after',
282
+ 'value' => __('After Footer', 'blocksy-companion')
283
  ],
284
 
285
  [
286
  'key' => 'blocksy:header:after',
287
+ 'value' => __('After Header', 'blocksy-companion')
288
  ]
289
  ]
290
  ],
291
 
292
  'trending_block_conditions' => [
293
+ 'label' => __('Display Conditions', 'blocksy-companion'),
294
  'type' => 'blocksy-display-condition',
295
  'divider' => 'top',
296
  'value' => [
301
  ],
302
  'display' => 'modal',
303
 
304
+ 'modalTitle' => __('Trending Block Display Conditions', 'blocksy-companion'),
305
+ 'modalDescription' => __('Add one or more conditions to display the trending block.', 'blocksy-companion'),
306
  'design' => 'block',
307
  'sync' => 'live'
308
  ],
311
  ],
312
 
313
  blocksy_rand_md5() => [
314
+ 'title' => __( 'Design', 'blocksy-companion' ),
315
  'type' => 'tab',
316
  'options' => [
317
 
318
  'trendingBlockPostsFont' => [
319
  'type' => 'ct-typography',
320
+ 'label' => __( 'Posts Font', 'blocksy-companion' ),
321
  'value' => blocksy_typography_default_values([
322
  'size' => '15px',
323
  'variation' => 'n5',
326
  ],
327
 
328
  'trendingBlockFontColor' => [
329
+ 'label' => __( 'Font Color', 'blocksy-companion' ),
330
  'type' => 'ct-color-picker',
331
  'design' => 'block:right',
332
  'divider' => 'top',
344
 
345
  'pickers' => [
346
  [
347
+ 'title' => __( 'Initial', 'blocksy-companion' ),
348
  'id' => 'default',
349
  'inherit' => 'var(--color)'
350
  ],
351
 
352
  [
353
+ 'title' => __( 'Hover', 'blocksy-companion' ),
354
  'id' => 'hover',
355
  'inherit' => 'var(--linkHoverColor)'
356
  ],
358
  ],
359
 
360
  'trending_block_background' => [
361
+ 'label' => __( 'Container Background', 'blocksy-companion' ),
362
  'type' => 'ct-background',
363
  'design' => 'block:right',
364
  'responsive' => true,
374
  ],
375
 
376
  'trendingBlockContainerSpacing' => [
377
+ 'label' => __( 'Container Inner Spacing', 'blocksy-companion' ),
378
  'type' => 'ct-slider',
379
  'divider' => 'top',
380
  'value' => '30px',
framework/extensions/trending/helpers.php CHANGED
@@ -215,7 +215,7 @@ function blc_get_trending_block($forced = false) {
215
 
216
  $trending_label = get_theme_mod(
217
  'trending_block_label',
218
- __('Trending now', 'blc')
219
  );
220
 
221
  ?>
215
 
216
  $trending_label = get_theme_mod(
217
  'trending_block_label',
218
+ __('Trending now', 'blocksy-companion')
219
  );
220
 
221
  ?>
framework/extensions/trending/static/bundle/main.min.css CHANGED
@@ -1,5 +1,5 @@
1
  /**
2
- * - v1.8.9.4
3
  *
4
  * Copyright (c) 2021
5
  * Licensed GPLv2+
1
  /**
2
+ * - v1.8.9.5
3
  *
4
  * Copyright (c) 2021
5
  * Licensed GPLv2+
framework/extensions/widgets/config.php CHANGED
@@ -1,5 +1,5 @@
1
  <?php
2
 
3
  $config = [
4
- 'description' => __('Add new handcrafted widgets to your sidebars! Social Network Icons, Newsletter Subscribe, Contact Info, Custom Ads and even a Popular/Recent Posts are the choices available.', 'blc')
5
  ];
1
  <?php
2
 
3
  $config = [
4
+ 'description' => __('Add new handcrafted widgets to your sidebars! Social Network Icons, Newsletter Subscribe, Contact Info, Custom Ads and even a Popular/Recent Posts are the choices available.', 'blocksy-companion')
5
  ];
framework/extensions/widgets/static/bundle/main.min.css CHANGED
@@ -1,5 +1,5 @@
1
  /**
2
- * - v1.8.9.4
3
  *
4
  * Copyright (c) 2021
5
  * Licensed GPLv2+
1
  /**
2
+ * - v1.8.9.5
3
  *
4
  * Copyright (c) 2021
5
  * Licensed GPLv2+
framework/extensions/widgets/widgets/ct-about-me/widget.php CHANGED
@@ -10,8 +10,8 @@
10
  class Blocksy_Widget_Ct_About_Me extends BlocksyWidgetFactory {
11
  protected function get_config() {
12
  return [
13
- 'name' => __('About Me', 'blc'),
14
- 'description' => __('About me', 'blc'),
15
  'customize_selective_refresh' => true
16
  ];
17
  }
10
  class Blocksy_Widget_Ct_About_Me extends BlocksyWidgetFactory {
11
  protected function get_config() {
12
  return [
13
+ 'name' => __('About Me', 'blocksy-companion'),
14
+ 'description' => __('About me', 'blocksy-companion'),
15
  'customize_selective_refresh' => true
16
  ];
17
  }
framework/extensions/widgets/widgets/ct-advertisement/options.php CHANGED
@@ -12,15 +12,15 @@ $options = [
12
 
13
  'title' => [
14
  'type' => 'text',
15
- 'label' => __( 'Title', 'blc' ),
16
  'field_attr' => [ 'id' => 'widget-title' ],
17
  'design' => 'inline',
18
- 'value' => __( 'Advertisement', 'blc' ),
19
  'disableRevertButton' => true,
20
  ],
21
 
22
  'ad_source' => [
23
- 'label' => __( 'Source', 'blc' ),
24
  'type' => 'ct-radio',
25
  'value' => 'code',
26
  'view' => 'radio',
@@ -28,8 +28,8 @@ $options = [
28
  'inline' => true,
29
  'disableRevertButton' => true,
30
  'choices' => [
31
- 'code' => __( 'Code', 'blc' ),
32
- 'upload' => __( 'Image', 'blc' ),
33
  ],
34
  ],
35
 
@@ -39,7 +39,7 @@ $options = [
39
  'options' => [
40
 
41
  'ad_code' => [
42
- 'label' => __( 'Ad Code', 'blc' ),
43
  'type' => 'textarea',
44
  'value' => '',
45
  'design' => 'inline',
@@ -55,16 +55,16 @@ $options = [
55
  'options' => [
56
 
57
  'ad_image' => [
58
- 'label' => __('Upload Image', 'blc'),
59
  'type' => 'ct-image-uploader',
60
  'design' => 'inline',
61
  'value' => [ 'attachment_id' => null ],
62
- 'emptyLabel' => __('Select Image', 'blc'),
63
- 'filledLabel' => __('Change Image', 'blc'),
64
  ],
65
 
66
  'ad_image_ratio' => [
67
- 'label' => __( 'Image Ratio', 'blc' ),
68
  'type' => 'ct-ratio',
69
  'value' => 'original',
70
  'design' => 'inline',
@@ -72,7 +72,7 @@ $options = [
72
 
73
  'ad_link' => [
74
  'type' => 'text',
75
- 'label' => __( 'Ad URL', 'blc' ),
76
  'design' => 'inline',
77
  'value' => 'https://creativethemes.com',
78
  'disableRevertButton' => true,
@@ -80,7 +80,7 @@ $options = [
80
 
81
  'ad_link_target' => [
82
  'type' => 'ct-switch',
83
- 'label' => __( 'Open link in new tab', 'blc' ),
84
  'value' => 'yes',
85
  'disableRevertButton' => true,
86
  ],
12
 
13
  'title' => [
14
  'type' => 'text',
15
+ 'label' => __( 'Title', 'blocksy-companion' ),
16
  'field_attr' => [ 'id' => 'widget-title' ],
17
  'design' => 'inline',
18
+ 'value' => __( 'Advertisement', 'blocksy-companion' ),
19
  'disableRevertButton' => true,
20
  ],
21
 
22
  'ad_source' => [
23
+ 'label' => __( 'Source', 'blocksy-companion' ),
24
  'type' => 'ct-radio',
25
  'value' => 'code',
26
  'view' => 'radio',
28
  'inline' => true,
29
  'disableRevertButton' => true,
30
  'choices' => [
31
+ 'code' => __( 'Code', 'blocksy-companion' ),
32
+ 'upload' => __( 'Image', 'blocksy-companion' ),
33
  ],
34
  ],
35
 
39
  'options' => [
40
 
41
  'ad_code' => [
42
+ 'label' => __( 'Ad Code', 'blocksy-companion' ),
43
  'type' => 'textarea',
44
  'value' => '',
45
  'design' => 'inline',
55
  'options' => [
56
 
57
  'ad_image' => [
58
+ 'label' => __('Upload Image', 'blocksy-companion'),
59
  'type' => 'ct-image-uploader',
60
  'design' => 'inline',
61
  'value' => [ 'attachment_id' => null ],
62
+ 'emptyLabel' => __('Select Image', 'blocksy-companion'),
63
+ 'filledLabel' => __('Change Image', 'blocksy-companion'),
64
  ],
65
 
66
  'ad_image_ratio' => [
67
+ 'label' => __( 'Image Ratio', 'blocksy-companion' ),
68
  'type' => 'ct-ratio',
69
  'value' => 'original',
70
  'design' => 'inline',
72
 
73
  'ad_link' => [
74
  'type' => 'text',
75
+ 'label' => __( 'Ad URL', 'blocksy-companion' ),
76
  'design' => 'inline',
77
  'value' => 'https://creativethemes.com',
78
  'disableRevertButton' => true,
80
 
81
  'ad_link_target' => [
82
  'type' => 'ct-switch',
83
+ 'label' => __( 'Open link in new tab', 'blocksy-companion' ),
84
  'value' => 'yes',
85
  'disableRevertButton' => true,
86
  ],
framework/extensions/widgets/widgets/ct-advertisement/view.php CHANGED
@@ -9,7 +9,7 @@
9
 
10
 
11
  // Widget title
12
- $title = blocksy_default_akg( 'title', $atts, __( 'Advertisement', 'blc' ) );
13
 
14
  // Ad source
15
  $source = blocksy_default_akg( 'ad_source', $atts, 'code' );
9
 
10
 
11
  // Widget title
12
+ $title = blocksy_default_akg( 'title', $atts, __( 'Advertisement', 'blocksy-companion' ) );
13
 
14
  // Ad source
15
  $source = blocksy_default_akg( 'ad_source', $atts, 'code' );
framework/extensions/widgets/widgets/ct-advertisement/widget.php CHANGED
@@ -10,8 +10,8 @@
10
  class Blocksy_Widget_Ct_Advertisement extends BlocksyWidgetFactory {
11
  protected function get_config() {
12
  return [
13
- 'name' => __('Advertisement', 'blc'),
14
- 'description' => __('Advertisement', 'blc'),
15
  'customize_selective_refresh' => true
16
  ];
17
  }
10
  class Blocksy_Widget_Ct_Advertisement extends BlocksyWidgetFactory {
11
  protected function get_config() {
12
  return [
13
+ 'name' => __('Advertisement', 'blocksy-companion'),
14
+ 'description' => __('Advertisement', 'blocksy-companion'),
15
  'customize_selective_refresh' => true
16
  ];
17
  }
framework/extensions/widgets/widgets/ct-contact-info/options.php CHANGED
@@ -12,25 +12,25 @@ $options = [
12
 
13
  'title' => [
14
  'type' => 'text',
15
- 'label' => __( 'Title', 'blc' ),
16
  'field_attr' => [ 'id' => 'widget-title' ],
17
  'design' => 'inline',
18
- 'value' => __( 'Contact Info', 'blc' ),
19
  'disableRevertButton' => true,
20
  ],
21
 
22
  // 'contact_text' => [
23
- // 'label' => __( 'Text', 'blc' ),
24
  // 'type' => 'textarea',
25
  // 'design' => 'inline',
26
  // 'disableRevertButton' => true,
27
  // ],
28
 
29
  'contact_text' => [
30
- 'label' => __( 'Text', 'blc' ),
31
  'type' => 'wp-editor',
32
  'design' => 'inline',
33
- 'desc' => __( 'You can add here some arbitrary HTML code.', 'blc' ),
34
  'disableRevertButton' => true,
35
  'setting' => [ 'transport' => 'postMessage' ],
36
 
@@ -48,14 +48,14 @@ $options = [
48
  [
49
  'id' => 'address',
50
  'enabled' => true,
51
- 'title' => __('Address:', 'blc'),
52
  'content' => 'Street Name, NY 38954',
53
  ],
54
 
55
  [
56
  'id' => 'phone',
57
  'enabled' => true,
58
- 'title' => __('Phone:', 'blc'),
59
  'content' => '578-393-4937',
60
  'link' => 'tel:578-393-4937',
61
  ],
@@ -63,7 +63,7 @@ $options = [
63
  [
64
  'id' => 'mobile',
65
  'enabled' => true,
66
- 'title' => __('Mobile:', 'blc'),
67
  'content' => '578-393-4937',
68
  'link' => 'tel:578-393-4937',
69
  ],
@@ -72,25 +72,25 @@ $options = [
72
 
73
  'settings' => [
74
  'address' => [
75
- 'label' => __( 'Address', 'blc' ),
76
  'options' => [
77
  'title' => [
78
  'type' => 'text',
79
- 'label' => __('Title', 'blc'),
80
- 'value' => __('Address:', 'blc'),
81
  'design' => 'inline',
82
  ],
83
 
84
  'content' => [
85
  'type' => 'text',
86
- 'label' => __('Content', 'blc'),
87
  'value' => 'Street Name, NY 38954',
88
  'design' => 'inline',
89
  ],
90
 
91
  'link' => [
92
  'type' => 'text',
93
- 'label' => __('Link (optional)', 'blc'),
94
  'design' => 'inline',
95
  ]
96
  ],
@@ -99,27 +99,27 @@ $options = [
99
  ],
100
 
101
  'phone' => [
102
- 'label' => __( 'Phone', 'blc' ),
103
  'clone' => true,
104
  'options' => [
105
 
106
  'title' => [
107
  'type' => 'text',
108
- 'label' => __('Title', 'blc'),
109
- 'value' => __('Phone:', 'blc'),
110
  'design' => 'inline',
111
  ],
112
 
113
  'content' => [
114
  'type' => 'text',
115
- 'label' => __('Content', 'blc'),
116
  'value' => '578-393-4937',
117
  'design' => 'inline',
118
  ],
119
 
120
  'link' => [
121
  'type' => 'text',
122
- 'label' => __('Link (optional)', 'blc'),
123
  'value' => 'tel:578-393-4937',
124
  'design' => 'inline',
125
  ]
@@ -128,26 +128,26 @@ $options = [
128
  ],
129
 
130
  'mobile' => [
131
- 'label' => __( 'Mobile', 'blc' ),
132
  'clone' => true,
133
  'options' => [
134
  'title' => [
135
  'type' => 'text',
136
- 'label' => __('Title', 'blc'),
137
- 'value' => __('Mobile:', 'blc'),
138
  'design' => 'inline',
139
  ],
140
 
141
  'content' => [
142
  'type' => 'text',
143
- 'label' => __('Content', 'blc'),
144
  'value' => '578-393-4937',
145
  'design' => 'inline',
146
  ],
147
 
148
  'link' => [
149
  'type' => 'text',
150
- 'label' => __('Link (optional)', 'blc'),
151
  'value' => 'tel:578-393-4937',
152
  'design' => 'inline',
153
  ],
@@ -156,26 +156,26 @@ $options = [
156
  ],
157
 
158
  'hours' => [
159
- 'label' => __( 'Work Hours', 'blc' ),
160
  'clone' => true,
161
  'options' => [
162
  'title' => [
163
  'type' => 'text',
164
- 'label' => __('Title', 'blc'),
165
- 'value' => __('Opening hours', 'blc'),
166
  'design' => 'inline',
167
  ],
168
 
169
  'content' => [
170
  'type' => 'text',
171
- 'label' => __('Content', 'blc'),
172
  'value' => '9AM - 5PM',
173
  'design' => 'inline',
174
  ],
175
 
176
  'link' => [
177
  'type' => 'text',
178
- 'label' => __('Link (optional)', 'blc'),
179
  'value' => '',
180
  'design' => 'inline',
181
  ],
@@ -184,26 +184,26 @@ $options = [
184
  ],
185
 
186
  'fax' => [
187
- 'label' => __( 'Fax', 'blc' ),
188
  'clone' => true,
189
  'options' => [
190
  'title' => [
191
  'type' => 'text',
192
- 'label' => __('Title', 'blc'),
193
- 'value' => __('Fax:', 'blc'),
194
  'design' => 'inline',
195
  ],
196
 
197
  'content' => [
198
  'type' => 'text',
199
- 'label' => __('Content', 'blc'),
200
  'value' => '578-393-4937',
201
  'design' => 'inline',
202
  ],
203
 
204
  'link' => [
205
  'type' => 'text',
206
- 'label' => __('Link (optional)', 'blc'),
207
  'value' => 'tel:578-393-4937',
208
  'design' => 'inline',
209
  ],
@@ -212,26 +212,26 @@ $options = [
212
  ],
213
 
214
  'email' => [
215
- 'label' => __( 'Email', 'blc' ),
216
  'clone' => true,
217
  'options' => [
218
  'title' => [
219
  'type' => 'text',
220
- 'label' => __('Title', 'blc'),
221
- 'value' => __('Email:', 'blc'),
222
  'design' => 'inline',
223
  ],
224
 
225
  'content' => [
226
  'type' => 'text',
227
- 'label' => __('Content', 'blc'),
228
  'value' => 'contact@yourwebsite.com',
229
  'design' => 'inline',
230
  ],
231
 
232
  'link' => [
233
  'type' => 'text',
234
- 'label' => __('Link (optional)', 'blc'),
235
  'value' => 'mailto:contact@yourwebsite.com',
236
  'design' => 'inline',
237
  ],
@@ -240,26 +240,26 @@ $options = [
240
  ],
241
 
242
  'website' => [
243
- 'label' => __( 'Website', 'blc' ),
244
  'clone' => true,
245
  'options' => [
246
  'title' => [
247
  'type' => 'text',
248
- 'label' => __('Title', 'blc'),
249
- 'value' => __('Website:', 'blc'),
250
  'design' => 'inline',
251
  ],
252
 
253
  'content' => [
254
  'type' => 'text',
255
- 'label' => __('Content', 'blc'),
256
  'value' => 'creativethemes.com',
257
  'design' => 'inline',
258
  ],
259
 
260
  'link' => [
261
  'type' => 'text',
262
- 'label' => __('Link (optional)', 'blc'),
263
  'value' => 'https://creativethemes.com',
264
  'design' => 'inline',
265
  ],
@@ -269,30 +269,30 @@ $options = [
269
  ],
270
 
271
  'contacts_icons_size' => [
272
- 'label' => __( 'Icons Size', 'blc' ),
273
  'type' => 'ct-radio',
274
  'value' => 'medium',
275
  'view' => 'text',
276
  'design' => 'block',
277
  'setting' => [ 'transport' => 'postMessage' ],
278
  'choices' => [
279
- 'small' => __( 'Small', 'blc' ),
280
- 'medium' => __( 'Medium', 'blc' ),
281
- 'large' => __( 'Large', 'blc' ),
282
  ],
283
  ],
284
 
285
  'contacts_icon_shape' => [
286
- 'label' => __( 'Icons Shape Type', 'blc' ),
287
  'type' => 'ct-radio',
288
  'value' => 'rounded',
289
  'view' => 'text',
290
  'design' => 'block',
291
  'setting' => [ 'transport' => 'postMessage' ],
292
  'choices' => [
293
- 'simple' => __( 'None', 'blc' ),
294
- 'rounded' => __( 'Rounded', 'blc' ),
295
- 'square' => __( 'Square', 'blc' ),
296
  ],
297
  ],
298
 
@@ -302,15 +302,15 @@ $options = [
302
  'options' => [
303
 
304
  'contacts_icon_fill_type' => [
305
- 'label' => __( 'Shape Fill Type', 'blc' ),
306
  'type' => 'ct-radio',
307
  'value' => 'outline',
308
  'view' => 'text',
309
  'design' => 'block',
310
  'setting' => [ 'transport' => 'postMessage' ],
311
  'choices' => [
312
- 'solid' => __( 'Solid', 'blc' ),
313
- 'outline' => __( 'Outline', 'blc' ),
314
  ],
315
  ],
316
 
@@ -319,7 +319,7 @@ $options = [
319
 
320
  'contact_link_target' => [
321
  'type' => 'ct-switch',
322
- 'label' => __( 'Open link in new tab', 'blc' ),
323
  'value' => 'no',
324
  'design' => 'inline-full',
325
  'disableRevertButton' => true,
12
 
13
  'title' => [
14
  'type' => 'text',
15
+ 'label' => __( 'Title', 'blocksy-companion' ),
16
  'field_attr' => [ 'id' => 'widget-title' ],
17
  'design' => 'inline',
18
+ 'value' => __( 'Contact Info', 'blocksy-companion' ),
19
  'disableRevertButton' => true,
20
  ],
21
 
22
  // 'contact_text' => [
23
+ // 'label' => __( 'Text', 'blocksy-companion' ),
24
  // 'type' => 'textarea',
25
  // 'design' => 'inline',
26
  // 'disableRevertButton' => true,
27
  // ],
28
 
29
  'contact_text' => [
30
+ 'label' => __( 'Text', 'blocksy-companion' ),
31
  'type' => 'wp-editor',
32
  'design' => 'inline',
33
+ 'desc' => __( 'You can add here some arbitrary HTML code.', 'blocksy-companion' ),
34
  'disableRevertButton' => true,
35
  'setting' => [ 'transport' => 'postMessage' ],
36
 
48
  [
49
  'id' => 'address',
50
  'enabled' => true,
51
+ 'title' => __('Address:', 'blocksy-companion'),
52
  'content' => 'Street Name, NY 38954',
53
  ],
54
 
55
  [
56
  'id' => 'phone',
57
  'enabled' => true,
58
+ 'title' => __('Phone:', 'blocksy-companion'),
59
  'content' => '578-393-4937',
60
  'link' => 'tel:578-393-4937',
61
  ],
63
  [
64
  'id' => 'mobile',
65
  'enabled' => true,
66
+ 'title' => __('Mobile:', 'blocksy-companion'),
67
  'content' => '578-393-4937',
68
  'link' => 'tel:578-393-4937',
69
  ],
72
 
73
  'settings' => [
74
  'address' => [
75
+ 'label' => __( 'Address', 'blocksy-companion' ),
76
  'options' => [
77
  'title' => [
78
  'type' => 'text',
79
+ 'label' => __('Title', 'blocksy-companion'),
80
+ 'value' => __('Address:', 'blocksy-companion'),
81
  'design' => 'inline',
82
  ],
83
 
84
  'content' => [
85
  'type' => 'text',
86
+ 'label' => __('Content', 'blocksy-companion'),
87
  'value' => 'Street Name, NY 38954',
88
  'design' => 'inline',
89
  ],
90
 
91
  'link' => [
92
  'type' => 'text',
93
+ 'label' => __('Link (optional)', 'blocksy-companion'),
94
  'design' => 'inline',
95
  ]
96
  ],
99
  ],
100
 
101
  'phone' => [
102
+ 'label' => __( 'Phone', 'blocksy-companion' ),
103
  'clone' => true,
104
  'options' => [
105
 
106
  'title' => [
107
  'type' => 'text',
108
+ 'label' => __('Title', 'blocksy-companion'),
109
+ 'value' => __('Phone:', 'blocksy-companion'),
110
  'design' => 'inline',
111
  ],
112
 
113
  'content' => [
114
  'type' => 'text',
115
+ 'label' => __('Content', 'blocksy-companion'),
116
  'value' => '578-393-4937',
117
  'design' => 'inline',
118
  ],
119
 
120
  'link' => [
121
  'type' => 'text',
122
+ 'label' => __('Link (optional)', 'blocksy-companion'),
123
  'value' => 'tel:578-393-4937',
124
  'design' => 'inline',
125
  ]
128
  ],
129
 
130
  'mobile' => [
131
+ 'label' => __( 'Mobile', 'blocksy-companion' ),
132
  'clone' => true,
133
  'options' => [
134
  'title' => [
135
  'type' => 'text',
136
+ 'label' => __('Title', 'blocksy-companion'),
137
+ 'value' => __('Mobile:', 'blocksy-companion'),
138
  'design' => 'inline',
139
  ],
140
 
141
  'content' => [
142
  'type' => 'text',
143
+ 'label' => __('Content', 'blocksy-companion'),
144
  'value' => '578-393-4937',
145
  'design' => 'inline',
146
  ],
147
 
148
  'link' => [
149
  'type' => 'text',
150
+ 'label' => __('Link (optional)', 'blocksy-companion'),
151
  'value' => 'tel:578-393-4937',
152
  'design' => 'inline',
153
  ],
156
  ],
157
 
158
  'hours' => [
159
+ 'label' => __( 'Work Hours', 'blocksy-companion' ),
160
  'clone' => true,
161
  'options' => [
162
  'title' => [
163
  'type' => 'text',
164
+ 'label' => __('Title', 'blocksy-companion'),
165
+ 'value' => __('Opening hours', 'blocksy-companion'),
166
  'design' => 'inline',
167
  ],
168
 
169
  'content' => [
170
  'type' => 'text',
171
+ 'label' => __('Content', 'blocksy-companion'),
172
  'value' => '9AM - 5PM',
173
  'design' => 'inline',
174
  ],
175
 
176
  'link' => [
177
  'type' => 'text',
178
+ 'label' => __('Link (optional)', 'blocksy-companion'),
179
  'value' => '',
180
  'design' => 'inline',
181
  ],
184
  ],
185
 
186
  'fax' => [
187
+ 'label' => __( 'Fax', 'blocksy-companion' ),
188
  'clone' => true,
189
  'options' => [
190
  'title' => [
191
  'type' => 'text',
192
+ 'label' => __('Title', 'blocksy-companion'),
193
+ 'value' => __('Fax:', 'blocksy-companion'),
194
  'design' => 'inline',
195
  ],
196
 
197
  'content' => [
198
  'type' => 'text',
199
+ 'label' => __('Content', 'blocksy-companion'),
200
  'value' => '578-393-4937',
201
  'design' => 'inline',
202
  ],
203
 
204
  'link' => [
205
  'type' => 'text',
206
+ 'label' => __('Link (optional)', 'blocksy-companion'),
207
  'value' => 'tel:578-393-4937',
208
  'design' => 'inline',
209
  ],
212
  ],
213
 
214
  'email' => [
215
+ 'label' => __( 'Email', 'blocksy-companion' ),
216
  'clone' => true,
217
  'options' => [
218
  'title' => [
219
  'type' => 'text',
220
+ 'label' => __('Title', 'blocksy-companion'),
221
+ 'value' => __('Email:', 'blocksy-companion'),
222
  'design' => 'inline',
223
  ],
224
 
225
  'content' => [
226
  'type' => 'text',
227
+ 'label' => __('Content', 'blocksy-companion'),
228
  'value' => 'contact@yourwebsite.com',
229
  'design' => 'inline',
230
  ],
231
 
232
  'link' => [
233
  'type' => 'text',
234
+ 'label' => __('Link (optional)', 'blocksy-companion'),
235
  'value' => 'mailto:contact@yourwebsite.com',
236
  'design' => 'inline',
237
  ],
240
  ],
241
 
242
  'website' => [
243
+ 'label' => __( 'Website', 'blocksy-companion' ),
244
  'clone' => true,
245
  'options' => [
246
  'title' => [
247
  'type' => 'text',
248
+ 'label' => __('Title', 'blocksy-companion'),
249
+ 'value' => __('Website:', 'blocksy-companion'),
250
  'design' => 'inline',
251
  ],
252
 
253
  'content' => [
254
  'type' => 'text',
255
+ 'label' => __('Content', 'blocksy-companion'),
256
  'value' => 'creativethemes.com',
257
  'design' => 'inline',
258
  ],
259
 
260
  'link' => [
261
  'type' => 'text',
262
+ 'label' => __('Link (optional)', 'blocksy-companion'),
263
  'value' => 'https://creativethemes.com',
264
  'design' => 'inline',
265
  ],
269
  ],
270
 
271
  'contacts_icons_size' => [
272
+ 'label' => __( 'Icons Size', 'blocksy-companion' ),
273
  'type' => 'ct-radio',
274
  'value' => 'medium',
275
  'view' => 'text',
276
  'design' => 'block',
277
  'setting' => [ 'transport' => 'postMessage' ],
278
  'choices' => [
279
+ 'small' => __( 'Small', 'blocksy-companion' ),
280
+ 'medium' => __( 'Medium', 'blocksy-companion' ),
281
+ 'large' => __( 'Large', 'blocksy-companion' ),
282
  ],
283
  ],
284
 
285
  'contacts_icon_shape' => [
286
+ 'label' => __( 'Icons Shape Type', 'blocksy-companion' ),
287
  'type' => 'ct-radio',
288
  'value' => 'rounded',
289
  'view' => 'text',
290
  'design' => 'block',
291
  'setting' => [ 'transport' => 'postMessage' ],
292
  'choices' => [
293
+ 'simple' => __( 'None', 'blocksy-companion' ),
294
+ 'rounded' => __( 'Rounded', 'blocksy-companion' ),
295
+ 'square' => __( 'Square', 'blocksy-companion' ),
296
  ],
297
  ],
298
 
302
  'options' => [
303
 
304
  'contacts_icon_fill_type' => [
305
+ 'label' => __( 'Shape Fill Type', 'blocksy-companion' ),
306
  'type' => 'ct-radio',
307
  'value' => 'outline',
308
  'view' => 'text',
309
  'design' => 'block',
310
  'setting' => [ 'transport' => 'postMessage' ],
311
  'choices' => [
312
+ 'solid' => __( 'Solid', 'blocksy-companion' ),
313
+ 'outline' => __( 'Outline', 'blocksy-companion' ),
314
  ],
315
  ],
316
 
319
 
320
  'contact_link_target' => [
321
  'type' => 'ct-switch',
322
+ 'label' => __( 'Open link in new tab', 'blocksy-companion' ),
323
  'value' => 'no',
324
  'design' => 'inline-full',
325
  'disableRevertButton' => true,
framework/extensions/widgets/widgets/ct-contact-info/view.php CHANGED
@@ -9,7 +9,7 @@
9
 
10
 
11
  // Widget title
12
- $title = blocksy_default_akg( 'title', $atts, __( 'Contact Info', 'blc' ) );
13
 
14
  // Text
15
  $text = do_shortcode(blocksy_default_akg( 'contact_text', $atts, '' ));
@@ -21,14 +21,14 @@ $contact_information = blocksy_default_akg(
21
  [
22
  'id' => 'address',
23
  'enabled' => true,
24
- 'title' => __('Address:', 'blc'),
25
  'content' => 'Street Name, NY 38954',
26
  ],
27
 
28
  [
29
  'id' => 'phone',
30
  'enabled' => true,
31
- 'title' => __('Phone:', 'blc'),
32
  'content' => '578-393-4937',
33
  'link' => 'tel:578-393-4937',
34
  ],
@@ -36,7 +36,7 @@ $contact_information = blocksy_default_akg(
36
  [
37
  'id' => 'mobile',
38
  'enabled' => true,
39
- 'title' => __('Mobile:', 'blc'),
40
  'content' => '578-393-4937',
41
  'link' => 'tel:578-393-4937',
42
  ],
9
 
10
 
11
  // Widget title
12
+ $title = blocksy_default_akg( 'title', $atts, __( 'Contact Info', 'blocksy-companion' ) );
13
 
14
  // Text
15
  $text = do_shortcode(blocksy_default_akg( 'contact_text', $atts, '' ));
21
  [
22
  'id' => 'address',
23
  'enabled' => true,
24
+ 'title' => __('Address:', 'blocksy-companion'),
25
  'content' => 'Street Name, NY 38954',
26
  ],
27
 
28
  [
29
  'id' => 'phone',
30
  'enabled' => true,
31
+ 'title' => __('Phone:', 'blocksy-companion'),
32
  'content' => '578-393-4937',
33
  'link' => 'tel:578-393-4937',
34
  ],
36
  [
37
  'id' => 'mobile',
38
  'enabled' => true,
39
+ 'title' => __('Mobile:', 'blocksy-companion'),
40
  'content' => '578-393-4937',
41
  'link' => 'tel:578-393-4937',
42
  ],
framework/extensions/widgets/widgets/ct-contact-info/widget.php CHANGED
@@ -10,8 +10,8 @@
10
  class Blocksy_Widget_Ct_Contact_Info extends BlocksyWidgetFactory {
11
  protected function get_config() {
12
  return [
13
- 'name' => __('Contact Info', 'blc'),
14
- 'description' => __('Contact info', 'blc'),
15
  'customize_selective_refresh' => true
16
  ];
17
  }
10
  class Blocksy_Widget_Ct_Contact_Info extends BlocksyWidgetFactory {
11
  protected function get_config() {
12
  return [
13
+ 'name' => __('Contact Info', 'blocksy-companion'),
14
+ 'description' => __('Contact info', 'blocksy-companion'),
15
  'customize_selective_refresh' => true
16
  ];
17
  }
framework/extensions/widgets/widgets/ct-facebook/options.php CHANGED
@@ -10,16 +10,16 @@
10
  $options = [
11
  'title' => [
12
  'type' => 'text',
13
- 'label' => __( 'Title', 'blc' ),
14
  'field_attr' => [ 'id' => 'widget-title' ],
15
  'design' => 'inline',
16
- 'value' => __( 'Facebook', 'blc' ),
17
  'disableRevertButton' => true,
18
  ],
19
 
20
  'facebook_page_url' => [
21
  'type' => 'text',
22
- 'label' => __( 'Page URL', 'blc' ),
23
  'field_attr' => [ 'id' => 'widget-title' ],
24
  'design' => 'inline',
25
  'disableRevertButton' => true,
@@ -27,28 +27,28 @@ $options = [
27
 
28
  'facebook_faces' => [
29
  'type' => 'ct-switch',
30
- 'label' => __( 'Profile Photos', 'blc' ),
31
  'value' => 'yes',
32
  'design' => 'inline-full',
33
  ],
34
 
35
  'facebook_timeline' => [
36
  'type' => 'ct-switch',
37
- 'label' => __( 'Timeline', 'blc' ),
38
  'value' => 'no',
39
  'design' => 'inline-full',
40
  ],
41
 
42
  'facebook_cover' => [
43
  'type' => 'ct-switch',
44
- 'label' => __( 'Cover Photo', 'blc' ),
45
  'value' => 'no',
46
  'design' => 'inline-full',
47
  ],
48
 
49
  'facebook_small_header' => [
50
  'type' => 'ct-switch',
51
- 'label' => __( 'Small Header', 'blc' ),
52
  'value' => 'no',
53
  'design' => 'inline-full',
54
  ],
10
  $options = [
11
  'title' => [
12
  'type' => 'text',
13
+ 'label' => __( 'Title', 'blocksy-companion' ),
14
  'field_attr' => [ 'id' => 'widget-title' ],
15
  'design' => 'inline',
16
+ 'value' => __( 'Facebook', 'blocksy-companion' ),
17
  'disableRevertButton' => true,
18
  ],
19
 
20
  'facebook_page_url' => [
21
  'type' => 'text',
22
+ 'label' => __( 'Page URL', 'blocksy-companion' ),
23
  'field_attr' => [ 'id' => 'widget-title' ],
24
  'design' => 'inline',
25
  'disableRevertButton' => true,
27
 
28
  'facebook_faces' => [
29
  'type' => 'ct-switch',
30
+ 'label' => __( 'Profile Photos', 'blocksy-companion' ),
31
  'value' => 'yes',
32
  'design' => 'inline-full',
33
  ],
34
 
35
  'facebook_timeline' => [
36
  'type' => 'ct-switch',
37
+ 'label' => __( 'Timeline', 'blocksy-companion' ),
38
  'value' => 'no',
39
  'design' => 'inline-full',
40
  ],
41
 
42
  'facebook_cover' => [
43
  'type' => 'ct-switch',
44
+ 'label' => __( 'Cover Photo', 'blocksy-companion' ),
45
  'value' => 'no',
46
  'design' => 'inline-full',
47
  ],
48
 
49
  'facebook_small_header' => [
50
  'type' => 'ct-switch',
51
+ 'label' => __( 'Small Header', 'blocksy-companion' ),
52
  'value' => 'no',
53
  'design' => 'inline-full',
54
  ],
framework/extensions/widgets/widgets/ct-facebook/view.php CHANGED
@@ -9,7 +9,7 @@
9
 
10
 
11
  // Widget title
12
- $title = blocksy_default_akg( 'title', $atts, __( 'Facebook', 'blc' ) );
13
 
14
  $url = blocksy_default_akg('facebook_page_url', $atts, '');
15
 
9
 
10
 
11
  // Widget title
12
+ $title = blocksy_default_akg( 'title', $atts, __( 'Facebook', 'blocksy-companion' ) );
13
 
14
  $url = blocksy_default_akg('facebook_page_url', $atts, '');
15
 
framework/extensions/widgets/widgets/ct-facebook/widget.php CHANGED
@@ -10,8 +10,8 @@
10
  class Blocksy_Widget_Ct_Facebook extends BlocksyWidgetFactory {
11
  protected function get_config() {
12
  return [
13
- 'name' => __('Facebook', 'blc'),
14
- 'description' => __('Facebook like box', 'blc'),
15
  'customize_selective_refresh' => true
16
  ];
17
  }
10
  class Blocksy_Widget_Ct_Facebook extends BlocksyWidgetFactory {
11
  protected function get_config() {
12
  return [
13
+ 'name' => __('Facebook', 'blocksy-companion'),
14
+ 'description' => __('Facebook like box', 'blocksy-companion'),
15
  'customize_selective_refresh' => true
16
  ];
17
  }
framework/extensions/widgets/widgets/ct-posts/options.php CHANGED
@@ -8,8 +8,8 @@
8
  */
9
 
10
  $all_post_types = [
11
- 'post' => __('Posts', 'blc'),
12
- 'page' => __('Pages', 'blc'),
13
  ];
14
 
15
  if (function_exists('blocksy_manager')) {
@@ -34,14 +34,14 @@ foreach ($all_post_types as $custom_post_type => $label) {
34
  }
35
 
36
  $opt_id = 'category';
37
- $label = __('Category', 'blc');
38
- $label_multiple = __('All categories', 'blc');
39
  $taxonomy = 'category';
40
 
41
  if ($custom_post_type !== 'post') {
42
  $opt_id = $custom_post_type . '_taxonomy';
43
- $label = __('Taxonomy', 'blc');
44
- $label_multiple = __('All taxonomies', 'blc');
45
 
46
  $taxonomies = get_object_taxonomies($custom_post_type);
47
 
@@ -92,25 +92,25 @@ $options = [
92
  [
93
  'title' => [
94
  'type' => 'text',
95
- 'label' => __('Title', 'blc'),
96
  'field_attr' => ['id' => 'widget-title'],
97
  'design' => 'inline',
98
- 'value' => __('Posts', 'blc'),
99
  ],
100
 
101
  'posts_type' => [
102
  'type' => 'ct-select',
103
- 'label' => __('Widget Design', 'blc'),
104
  'value' => 'small-thumbs',
105
  'design' => 'inline',
106
  'choices' => blocksy_ordered_keys(
107
  [
108
- 'no-thumbs' => __( 'Without Thumbnails', 'blc' ),
109
- 'small-thumbs' => __( 'Small Thumbnails', 'blc' ),
110
- 'large-thumbs' => __( 'Large Thumbnails', 'blc' ),
111
- 'large-small' => __( 'First Thumbnail Large', 'blc' ),
112
- 'rounded' => __( 'Rounded Thumbnails', 'blc' ),
113
- 'numbered' => __( 'Numbered', 'blc' ),
114
  ]
115
  ),
116
  ],
@@ -123,7 +123,7 @@ $options = [
123
  'options' => [
124
 
125
  'post_widget_image_ratio' => [
126
- 'label' => __( 'Image Ratio', 'blc' ),
127
  'type' => 'ct-ratio',
128
  'value' => 'original',
129
  'design' => 'inline',
@@ -134,7 +134,7 @@ $options = [
134
 
135
  'post_type_source' => [
136
  'type' => 'ct-select',
137
- 'label' => __( 'Post Type', 'blc' ),
138
  'value' => 'post',
139
  'design' => 'inline',
140
  'choices' => blocksy_ordered_keys($all_post_types)
@@ -146,13 +146,13 @@ $options = [
146
  'options' => [
147
  'post_source' => [
148
  'type' => 'ct-select',
149
- 'label' => __( 'Source', 'blc' ),
150
  'value' => 'categories',
151
  'design' => 'inline',
152
  'choices' => blocksy_ordered_keys(
153
  [
154
- 'categories' => __('Taxonomies', 'blc'),
155
- 'custom' => __( 'Custom Query', 'blc' ),
156
  ]
157
  ),
158
  ],
@@ -165,13 +165,13 @@ $options = [
165
  'options' => [
166
  'page_source' => [
167
  'type' => 'ct-select',
168
- 'label' => __('Source', 'blc'),
169
  'value' => 'default',
170
  'design' => 'inline',
171
  'choices' => blocksy_ordered_keys(
172
  [
173
- 'default' => __('Default', 'blc'),
174
- 'custom' => __('Custom Query', 'blc'),
175
  ]
176
  ),
177
  ],
@@ -190,39 +190,39 @@ $options = [
190
  'options' => [
191
  'type' => [
192
  'type' => 'ct-select',
193
- 'label' => __('Sort by', 'blc'),
194
  'value' => 'recent',
195
  'design' => 'inline',
196
  'choices' => blocksy_ordered_keys(
197
  [
198
- 'default' => __('Default', 'blc'),
199
- 'recent' => __('Recent', 'blc'),
200
- 'commented' => __('Most Commented', 'blc'),
201
- 'random' => __('Random', 'blc'),
202
  ]
203
  ),
204
  ],
205
 
206
  'days' => [
207
  'type' => 'ct-select',
208
- 'label' => __( 'Order by', 'blc' ),
209
  'value' => 'all_time',
210
  'design' => 'inline',
211
  'choices' => blocksy_ordered_keys(
212
  [
213
- 'all_time' => __( 'All Time', 'blc' ),
214
- '7' => __( '1 Week', 'blc' ),
215
- '30' => __( '1 Month', 'blc' ),
216
- '90' => __( '3 Months', 'blc' ),
217
- '180' => __( '6 Months', 'blc' ),
218
- '360' => __( '1 Year', 'blc' ),
219
  ]
220
  ),
221
  ],
222
 
223
  'posts_number' => [
224
  'type' => 'ct-number',
225
- 'label' => __( 'Posts Count', 'blc' ),
226
  'min' => 1,
227
  'max' => 30,
228
  'value' => 5,
@@ -240,11 +240,11 @@ $options = [
240
  'options' => [
241
 
242
  'post_id' => [
243
- 'label' => __( 'Posts ID', 'blc' ),
244
  'type' => 'text',
245
  'design' => 'inline',
246
  'desc' => sprintf(
247
- __('Separate posts ID by comma. How to find the %spost ID%s.', 'blc'),
248
  '<a href="https://www.wpbeginner.com/beginners-guide/how-to-find-post-category-tag-comments-or-user-id-in-wordpress/" target="_blank">',
249
  '</a>'
250
  ),
@@ -262,11 +262,11 @@ $options = [
262
  'options' => [
263
 
264
  'page_id' => [
265
- 'label' => __( 'Pages ID', 'blc' ),
266
  'type' => 'text',
267
  'design' => 'inline',
268
  'desc' => sprintf(
269
- __('Separate pages ID by comma. More info %shere%s.', 'blc'),
270
  '<a href="https://www.wpbeginner.com/beginners-guide/how-to-find-post-category-tag-comments-or-user-id-in-wordpress/" target="_blank">',
271
  '</a>'
272
  ),
@@ -284,7 +284,7 @@ $options = [
284
  'options' => [
285
  'page_number' => [
286
  'type' => 'ct-number',
287
- 'label' => __( 'Pages Count', 'blc' ),
288
  'min' => 1,
289
  'max' => 30,
290
  'value' => 5,
@@ -295,21 +295,21 @@ $options = [
295
 
296
  'display_date' => [
297
  'type' => 'ct-switch',
298
- 'label' => __( 'Show Date', 'blc' ),
299
  'value' => 'no',
300
  'design' => 'inline-full',
301
  ],
302
 
303
  'display_comments' => [
304
  'type' => 'ct-switch',
305
- 'label' => __( 'Show Comments', 'blc' ),
306
  'value' => 'no',
307
  'design' => 'inline-full',
308
  ],
309
 
310
  'display_excerpt' => [
311
  'type' => 'ct-switch',
312
- 'label' => __( 'Show Excerpt', 'blc' ),
313
  'value' => 'no',
314
  'design' => 'inline-full',
315
  ],
@@ -321,7 +321,7 @@ $options = [
321
 
322
  'excerpt_lenght' => [
323
  'type' => 'ct-number',
324
- 'label' => __( 'Excerpt Lenght', 'blc' ),
325
  'min' => 5,
326
  'max' => 30,
327
  'value' => 10,
8
  */
9
 
10
  $all_post_types = [
11
+ 'post' => __('Posts', 'blocksy-companion'),
12
+ 'page' => __('Pages', 'blocksy-companion'),
13
  ];
14
 
15
  if (function_exists('blocksy_manager')) {
34
  }
35
 
36
  $opt_id = 'category';
37
+ $label = __('Category', 'blocksy-companion');
38
+ $label_multiple = __('All categories', 'blocksy-companion');
39
  $taxonomy = 'category';
40
 
41
  if ($custom_post_type !== 'post') {
42
  $opt_id = $custom_post_type . '_taxonomy';
43
+ $label = __('Taxonomy', 'blocksy-companion');
44
+ $label_multiple = __('All taxonomies', 'blocksy-companion');
45
 
46
  $taxonomies = get_object_taxonomies($custom_post_type);
47
 
92
  [
93
  'title' => [
94
  'type' => 'text',
95
+ 'label' => __('Title', 'blocksy-companion'),
96
  'field_attr' => ['id' => 'widget-title'],
97
  'design' => 'inline',
98
+ 'value' => __('Posts', 'blocksy-companion'),
99
  ],
100
 
101
  'posts_type' => [
102
  'type' => 'ct-select',
103
+ 'label' => __('Widget Design', 'blocksy-companion'),
104
  'value' => 'small-thumbs',
105
  'design' => 'inline',
106
  'choices' => blocksy_ordered_keys(
107
  [
108
+ 'no-thumbs' => __( 'Without Thumbnails', 'blocksy-companion' ),
109
+ 'small-thumbs' => __( 'Small Thumbnails', 'blocksy-companion' ),
110
+ 'large-thumbs' => __( 'Large Thumbnails', 'blocksy-companion' ),
111
+ 'large-small' => __( 'First Thumbnail Large', 'blocksy-companion' ),
112
+ 'rounded' => __( 'Rounded Thumbnails', 'blocksy-companion' ),
113
+ 'numbered' => __( 'Numbered', 'blocksy-companion' ),
114
  ]
115
  ),
116
  ],
123
  'options' => [
124
 
125
  'post_widget_image_ratio' => [
126
+ 'label' => __( 'Image Ratio', 'blocksy-companion' ),
127
  'type' => 'ct-ratio',
128
  'value' => 'original',
129
  'design' => 'inline',
134
 
135
  'post_type_source' => [
136
  'type' => 'ct-select',
137
+ 'label' => __( 'Post Type', 'blocksy-companion' ),
138
  'value' => 'post',
139
  'design' => 'inline',
140
  'choices' => blocksy_ordered_keys($all_post_types)
146
  'options' => [
147
  'post_source' => [
148
  'type' => 'ct-select',
149
+ 'label' => __( 'Source', 'blocksy-companion' ),
150
  'value' => 'categories',
151
  'design' => 'inline',
152
  'choices' => blocksy_ordered_keys(
153
  [
154
+ 'categories' => __('Taxonomies', 'blocksy-companion'),
155
+ 'custom' => __( 'Custom Query', 'blocksy-companion' ),
156
  ]
157
  ),
158
  ],
165
  'options' => [
166
  'page_source' => [
167
  'type' => 'ct-select',
168
+ 'label' => __('Source', 'blocksy-companion'),
169
  'value' => 'default',
170
  'design' => 'inline',
171
  'choices' => blocksy_ordered_keys(
172
  [
173
+ 'default' => __('Default', 'blocksy-companion'),
174
+ 'custom' => __('Custom Query', 'blocksy-companion'),
175
  ]
176
  ),
177
  ],
190
  'options' => [
191
  'type' => [
192
  'type' => 'ct-select',
193
+ 'label' => __('Sort by', 'blocksy-companion'),
194
  'value' => 'recent',
195
  'design' => 'inline',
196
  'choices' => blocksy_ordered_keys(
197
  [
198
+ 'default' => __('Default', 'blocksy-companion'),
199
+ 'recent' => __('Recent', 'blocksy-companion'),
200
+ 'commented' => __('Most Commented', 'blocksy-companion'),
201
+ 'random' => __('Random', 'blocksy-companion'),
202
  ]
203
  ),
204
  ],
205
 
206
  'days' => [
207
  'type' => 'ct-select',
208
+ 'label' => __( 'Order by', 'blocksy-companion' ),
209
  'value' => 'all_time',
210
  'design' => 'inline',
211
  'choices' => blocksy_ordered_keys(
212
  [
213
+ 'all_time' => __( 'All Time', 'blocksy-companion' ),
214
+ '7' => __( '1 Week', 'blocksy-companion' ),
215
+ '30' => __( '1 Month', 'blocksy-companion' ),
216
+ '90' => __( '3 Months', 'blocksy-companion' ),
217
+ '180' => __( '6 Months', 'blocksy-companion' ),
218
+ '360' => __( '1 Year', 'blocksy-companion' ),
219
  ]
220
  ),
221
  ],
222
 
223
  'posts_number' => [
224
  'type' => 'ct-number',
225
+ 'label' => __( 'Posts Count', 'blocksy-companion' ),
226
  'min' => 1,
227
  'max' => 30,
228
  'value' => 5,
240
  'options' => [
241
 
242
  'post_id' => [
243
+ 'label' => __( 'Posts ID', 'blocksy-companion' ),
244
  'type' => 'text',
245
  'design' => 'inline',
246
  'desc' => sprintf(
247
+ __('Separate posts ID by comma. How to find the %spost ID%s.', 'blocksy-companion'),
248
  '<a href="https://www.wpbeginner.com/beginners-guide/how-to-find-post-category-tag-comments-or-user-id-in-wordpress/" target="_blank">',
249
  '</a>'
250
  ),
262
  'options' => [
263
 
264
  'page_id' => [
265
+ 'label' => __( 'Pages ID', 'blocksy-companion' ),
266
  'type' => 'text',
267
  'design' => 'inline',
268
  'desc' => sprintf(
269
+ __('Separate pages ID by comma. More info %shere%s.', 'blocksy-companion'),
270
  '<a href="https://www.wpbeginner.com/beginners-guide/how-to-find-post-category-tag-comments-or-user-id-in-wordpress/" target="_blank">',
271
  '</a>'
272
  ),
284
  'options' => [
285
  'page_number' => [
286
  'type' => 'ct-number',
287
+ 'label' => __( 'Pages Count', 'blocksy-companion' ),
288
  'min' => 1,
289
  'max' => 30,
290
  'value' => 5,
295
 
296
  'display_date' => [
297
  'type' => 'ct-switch',
298
+ 'label' => __( 'Show Date', 'blocksy-companion' ),
299
  'value' => 'no',
300
  'design' => 'inline-full',
301
  ],
302
 
303
  'display_comments' => [
304
  'type' => 'ct-switch',
305
+ 'label' => __( 'Show Comments', 'blocksy-companion' ),
306
  'value' => 'no',
307
  'design' => 'inline-full',
308
  ],
309
 
310
  'display_excerpt' => [
311
  'type' => 'ct-switch',
312
+ 'label' => __( 'Show Excerpt', 'blocksy-companion' ),
313
  'value' => 'no',
314
  'design' => 'inline-full',
315
  ],
321
 
322
  'excerpt_lenght' => [
323
  'type' => 'ct-number',
324
+ 'label' => __( 'Excerpt Lenght', 'blocksy-companion' ),
325
  'min' => 5,
326
  'max' => 30,
327
  'value' => 10,
framework/extensions/widgets/widgets/ct-posts/view.php CHANGED
@@ -136,7 +136,7 @@ $has_meta = blocksy_default_akg( 'display_date', $atts, 'no' ) === 'yes';
136
  $has_comments = blocksy_default_akg( 'display_comments', $atts, 'no' ) === 'yes';
137
 
138
  // Widget title
139
- $title = blocksy_default_akg( 'title', $atts, __( 'Posts', 'blc' ) );
140
 
141
  // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
142
  echo $before_widget;
@@ -217,7 +217,7 @@ echo $before_title . wp_kses_post( $title ) . $after_title;
217
 
218
  <?php if ( $has_comments && get_comments_number() > 0 ) { ?>
219
  <span>
220
- <?php echo wp_kses_post( get_comments_number_text( '', __( '1 Comment', 'blc' ), __( '% Comments', 'blc' ) ) ); ?>
221
  </span>
222
  <?php } ?>
223
  </div>
136
  $has_comments = blocksy_default_akg( 'display_comments', $atts, 'no' ) === 'yes';
137
 
138
  // Widget title
139
+ $title = blocksy_default_akg( 'title', $atts, __( 'Posts', 'blocksy-companion' ) );
140
 
141
  // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
142
  echo $before_widget;
217
 
218
  <?php if ( $has_comments && get_comments_number() > 0 ) { ?>
219
  <span>
220
+ <?php echo wp_kses_post( get_comments_number_text( '', __( '1 Comment', 'blocksy-companion' ), __( '% Comments', 'blocksy-companion' ) ) ); ?>
221
  </span>
222
  <?php } ?>
223
  </div>
framework/extensions/widgets/widgets/ct-posts/widget.php CHANGED
@@ -10,8 +10,8 @@
10
  class Blocksy_Widget_Ct_Posts extends BlocksyWidgetFactory {
11
  protected function get_config() {
12
  return [
13
- 'name' => __('Posts', 'blc'),
14
- 'description' => __('Description', 'blc'),
15
  'customize_selective_refresh' => true
16
  ];
17
  }
10
  class Blocksy_Widget_Ct_Posts extends BlocksyWidgetFactory {
11
  protected function get_config() {
12
  return [
13
+ 'name' => __('Posts', 'blocksy-companion'),
14
+ 'description' => __('Description', 'blocksy-companion'),
15
  'customize_selective_refresh' => true
16
  ];
17
  }
framework/extensions/widgets/widgets/ct-quote/options.php CHANGED
@@ -12,15 +12,15 @@ $options = [
12
 
13
  'title' => [
14
  'type' => 'text',
15
- 'label' => __( 'Title', 'blc' ),
16
  'field_attr' => [ 'id' => 'widget-title' ],
17
  'design' => 'inline',
18
- 'value' => __( 'Quote', 'blc' ),
19
  'disableRevertButton' => true,
20
  ],
21
 
22
  // 'quote_text' => [
23
- // 'label' => __( 'Quote text', 'blc' ),
24
  // 'type' => 'textarea',
25
  // 'value' => '',
26
  // 'design' => 'inline',
@@ -28,10 +28,10 @@ $options = [
28
  // ],
29
 
30
  'quote_text' => [
31
- 'label' => __( 'Text', 'blc' ),
32
  'type' => 'wp-editor',
33
  'design' => 'inline',
34
- 'desc' => __( 'You can add here some arbitrary HTML code.', 'blc' ),
35
  'disableRevertButton' => true,
36
  'setting' => [ 'transport' => 'postMessage' ],
37
 
@@ -43,28 +43,28 @@ $options = [
43
 
44
  'quote_author' => [
45
  'type' => 'text',
46
- 'label' => __( 'Author Name', 'blc' ),
47
  'field_attr' => [ 'id' => 'widget-title' ],
48
  'design' => 'inline',
49
- 'value' => __( 'John Doe', 'blc' ),
50
  'disableRevertButton' => true,
51
  ],
52
 
53
  'quote_has_by_label' => [
54
  'type' => 'ct-switch',
55
- 'label' => __( 'Author Label', 'blc' ),
56
  'value' => 'yes',
57
  'design' => 'inline-full',
58
  'disableRevertButton' => true,
59
  ],
60
 
61
  'quote_avatar' => [
62
- 'label' => __('Author Avatar', 'blc'),
63
  'type' => 'ct-image-uploader',
64
  'design' => 'inline',
65
  'value' => [ 'attachment_id' => null ],
66
- 'emptyLabel' => __('Select Image', 'blc'),
67
- 'filledLabel' => __('Change Image', 'blc'),
68
  ],
69
 
70
  ];
12
 
13
  'title' => [
14
  'type' => 'text',
15
+ 'label' => __( 'Title', 'blocksy-companion' ),
16
  'field_attr' => [ 'id' => 'widget-title' ],
17
  'design' => 'inline',
18
+ 'value' => __( 'Quote', 'blocksy-companion' ),
19
  'disableRevertButton' => true,
20
  ],
21
 
22
  // 'quote_text' => [
23
+ // 'label' => __( 'Quote text', 'blocksy-companion' ),
24
  // 'type' => 'textarea',
25
  // 'value' => '',
26
  // 'design' => 'inline',
28
  // ],
29
 
30
  'quote_text' => [
31
+ 'label' => __( 'Text', 'blocksy-companion' ),
32
  'type' => 'wp-editor',
33
  'design' => 'inline',
34
+ 'desc' => __( 'You can add here some arbitrary HTML code.', 'blocksy-companion' ),
35
  'disableRevertButton' => true,
36
  'setting' => [ 'transport' => 'postMessage' ],
37
 
43
 
44
  'quote_author' => [
45
  'type' => 'text',
46
+ 'label' => __( 'Author Name', 'blocksy-companion' ),
47
  'field_attr' => [ 'id' => 'widget-title' ],
48
  'design' => 'inline',
49
+ 'value' => __( 'John Doe', 'blocksy-companion' ),
50
  'disableRevertButton' => true,
51
  ],
52
 
53
  'quote_has_by_label' => [
54
  'type' => 'ct-switch',
55
+ 'label' => __( 'Author Label', 'blocksy-companion' ),
56
  'value' => 'yes',
57
  'design' => 'inline-full',
58
  'disableRevertButton' => true,
59
  ],
60
 
61
  'quote_avatar' => [
62
+ 'label' => __('Author Avatar', 'blocksy-companion'),
63
  'type' => 'ct-image-uploader',
64
  'design' => 'inline',
65
  'value' => [ 'attachment_id' => null ],
66
+ 'emptyLabel' => __('Select Image', 'blocksy-companion'),
67
+ 'filledLabel' => __('Change Image', 'blocksy-companion'),
68
  ],
69
 
70
  ];
framework/extensions/widgets/widgets/ct-quote/view.php CHANGED
@@ -9,13 +9,13 @@
9
 
10
 
11
  // Widget title
12
- $title = blocksy_default_akg( 'title', $atts, __( 'Quote', 'blc' ) );
13
 
14
  // Quote text
15
  $quote_text = do_shortcode(blocksy_default_akg( 'quote_text', $atts, '' ));
16
 
17
  // Quote author
18
- $quote_author = blocksy_default_akg( 'quote_author', $atts, __( 'John Doe', 'blc' ) );
19
 
20
  // Quote avatar
21
  $image_output = blc_call_fn(['fn' => 'blocksy_image'], [
@@ -46,7 +46,7 @@ if (! empty(trim($title))) {
46
  <?php if (blocksy_default_akg('quote_has_by_label', $atts, 'yes') === 'yes') { ?>
47
  <?php echo sprintf(
48
  // translators: %s here is the author name
49
- __('By %s', 'blc'),
50
  $quote_author
51
  ) ?>
52
  <?php } else { ?>
9
 
10
 
11
  // Widget title
12
+ $title = blocksy_default_akg( 'title', $atts, __( 'Quote', 'blocksy-companion' ) );
13
 
14
  // Quote text
15
  $quote_text = do_shortcode(blocksy_default_akg( 'quote_text', $atts, '' ));
16
 
17
  // Quote author
18
+ $quote_author = blocksy_default_akg( 'quote_author', $atts, __( 'John Doe', 'blocksy-companion' ) );
19
 
20
  // Quote avatar
21
  $image_output = blc_call_fn(['fn' => 'blocksy_image'], [
46
  <?php if (blocksy_default_akg('quote_has_by_label', $atts, 'yes') === 'yes') { ?>
47
  <?php echo sprintf(
48
  // translators: %s here is the author name
49
+ __('By %s', 'blocksy-companion'),
50
  $quote_author
51
  ) ?>
52
  <?php } else { ?>
framework/extensions/widgets/widgets/ct-quote/widget.php CHANGED
@@ -10,8 +10,8 @@
10
  class Blocksy_Widget_Ct_Quote extends BlocksyWidgetFactory {
11
  protected function get_config() {
12
  return [
13
- 'name' => __('Quote', 'blc'),
14
- 'description' => __('Quote', 'blc'),
15
  'customize_selective_refresh' => true
16
  ];
17
  }
10
  class Blocksy_Widget_Ct_Quote extends BlocksyWidgetFactory {
11
  protected function get_config() {
12
  return [
13
+ 'name' => __('Quote', 'blocksy-companion'),
14
+ 'description' => __('Quote', 'blocksy-companion'),
15
  'customize_selective_refresh' => true
16
  ];
17
  }
framework/extensions/widgets/widgets/ct-socials/options.php CHANGED
@@ -12,10 +12,10 @@ $options = [
12
 
13
  'title' => [
14
  'type' => 'text',
15
- 'label' => __( 'Title', 'blc' ),
16
  'field_attr' => [ 'id' => 'widget-title' ],
17
  'design' => 'inline',
18
- 'value' => __( 'Social Icons', 'blc' ),
19
  'disableRevertButton' => true,
20
  ],
21
 
@@ -24,11 +24,11 @@ $options = [
24
  'label' => false,
25
  'manageable' => true,
26
  'desc' => sprintf(
27
- __( 'You can configure social URLs in %s.', 'blc' ),
28
  sprintf(
29
  '<a href="%s" target="_blank">%s</a>',
30
  admin_url('/customize.php?autofocus[section]=social_accounts'),
31
- __('Customizer', 'blc')
32
  )
33
  ),
34
  'value' => [
@@ -56,7 +56,7 @@ $options = [
56
 
57
  'link_target' => [
58
  'type' => 'ct-switch',
59
- 'label' => __( 'Open links in new tab', 'blc' ),
60
  'value' => 'no',
61
  'design' => 'inline-full',
62
  'disableRevertButton' => true,
@@ -64,36 +64,36 @@ $options = [
64
 
65
  'link_nofollow' => [
66
  'type' => 'ct-switch',
67
- 'label' => __( 'Set links to nofollow', 'blc' ),
68
  'value' => 'no',
69
  'design' => 'inline-full',
70
  ],
71
 
72
  'social_icons_size' => [
73
- 'label' => __( 'Icons Size', 'blc' ),
74
  'type' => 'ct-radio',
75
  'value' => 'medium',
76
  'view' => 'text',
77
  'design' => 'block',
78
  'setting' => [ 'transport' => 'postMessage' ],
79
  'choices' => [
80
- 'small' => __( 'Small', 'blc' ),
81
- 'medium' => __( 'Medium', 'blc' ),
82
- 'large' => __( 'Large', 'blc' ),
83
  ],
84
  ],
85
 
86
  'social_type' => [
87
- 'label' => __( 'Icons Shape Type', 'blc' ),
88
  'type' => 'ct-radio',
89
  'value' => 'simple',
90
  'view' => 'text',
91
  'design' => 'block',
92
  'setting' => [ 'transport' => 'postMessage' ],
93
  'choices' => [
94
- 'simple' => __( 'None', 'blc' ),
95
- 'rounded' => __( 'Rounded', 'blc' ),
96
- 'square' => __( 'Square', 'blc' ),
97
  ],
98
  ],
99
 
@@ -103,15 +103,15 @@ $options = [
103
  'options' => [
104
 
105
  'social_icons_fill' => [
106
- 'label' => __( 'Shape Fill Type', 'blc' ),
107
  'type' => 'ct-radio',
108
  'value' => 'outline',
109
  'view' => 'text',
110
  'design' => 'block',
111
  'setting' => [ 'transport' => 'postMessage' ],
112
  'choices' => [
113
- 'solid' => __( 'Solid', 'blc' ),
114
- 'outline' => __( 'Outline', 'blc' ),
115
  ],
116
  ],
117
 
12
 
13
  'title' => [
14
  'type' => 'text',
15
+ 'label' => __( 'Title', 'blocksy-companion' ),
16
  'field_attr' => [ 'id' => 'widget-title' ],
17
  'design' => 'inline',
18
+ 'value' => __( 'Social Icons', 'blocksy-companion' ),
19
  'disableRevertButton' => true,
20
  ],
21
 
24
  'label' => false,
25
  'manageable' => true,
26
  'desc' => sprintf(
27
+ __( 'You can configure social URLs in %s.', 'blocksy-companion' ),
28
  sprintf(
29
  '<a href="%s" target="_blank">%s</a>',
30
  admin_url('/customize.php?autofocus[section]=social_accounts'),
31
+ __('Customizer', 'blocksy-companion')
32
  )
33
  ),
34
  'value' => [
56
 
57
  'link_target' => [
58
  'type' => 'ct-switch',
59
+ 'label' => __( 'Open links in new tab', 'blocksy-companion' ),
60
  'value' => 'no',
61
  'design' => 'inline-full',
62
  'disableRevertButton' => true,
64
 
65
  'link_nofollow' => [
66
  'type' => 'ct-switch',
67
+ 'label' => __( 'Set links to nofollow', 'blocksy-companion' ),
68
  'value' => 'no',
69
  'design' => 'inline-full',
70
  ],
71
 
72
  'social_icons_size' => [
73
+ 'label' => __( 'Icons Size', 'blocksy-companion' ),
74
  'type' => 'ct-radio',
75
  'value' => 'medium',
76
  'view' => 'text',
77
  'design' => 'block',
78
  'setting' => [ 'transport' => 'postMessage' ],
79
  'choices' => [
80
+ 'small' => __( 'Small', 'blocksy-companion' ),
81
+ 'medium' => __( 'Medium', 'blocksy-companion' ),
82
+ 'large' => __( 'Large', 'blocksy-companion' ),
83
  ],
84
  ],
85
 
86
  'social_type' => [
87
+ 'label' => __( 'Icons Shape Type', 'blocksy-companion' ),
88
  'type' => 'ct-radio',
89
  'value' => 'simple',
90
  'view' => 'text',
91
  'design' => 'block',
92
  'setting' => [ 'transport' => 'postMessage' ],
93
  'choices' => [
94
+ 'simple' => __( 'None', 'blocksy-companion' ),
95
+ 'rounded' => __( 'Rounded', 'blocksy-companion' ),
96
+ 'square' => __( 'Square', 'blocksy-companion' ),
97
  ],
98
  ],
99
 
103
  'options' => [
104
 
105
  'social_icons_fill' => [
106
+ 'label' => __( 'Shape Fill Type', 'blocksy-companion' ),
107
  'type' => 'ct-radio',
108
  'value' => 'outline',
109
  'view' => 'text',
110
  'design' => 'block',
111
  'setting' => [ 'transport' => 'postMessage' ],
112
  'choices' => [
113
+ 'solid' => __( 'Solid', 'blocksy-companion' ),
114
+ 'outline' => __( 'Outline', 'blocksy-companion' ),
115
  ],
116
  ],
117
 
framework/extensions/widgets/widgets/ct-socials/view.php CHANGED
@@ -8,7 +8,7 @@
8
  */
9
 
10
  // Widget title.
11
- $title = blocksy_default_akg( 'title', $atts, __('Social Icons', 'blc') );
12
 
13
  echo wp_kses_post($before_widget . $before_title . $title . $after_title);
14
 
8
  */
9
 
10
  // Widget title.
11
+ $title = blocksy_default_akg( 'title', $atts, __('Social Icons', 'blocksy-companion') );
12
 
13
  echo wp_kses_post($before_widget . $before_title . $title . $after_title);
14
 
framework/features/conditions-manager.php CHANGED
@@ -341,7 +341,7 @@ class ConditionsManager {
341
  $cpts[] = [
342
  'id' => 'post_type_single_' . $custom_post_type,
343
  'title' => sprintf(
344
- __('%s Single', 'blc'),
345
  $post_type_object->labels->singular_name
346
  )
347
  ];
@@ -349,7 +349,7 @@ class ConditionsManager {
349
  $cpts[] = [
350
  'id' => 'post_type_archive_' . $custom_post_type,
351
  'title' => sprintf(
352
- __('%s Archive', 'blc'),
353
  $post_type_object->labels->singular_name
354
  )
355
  ];
@@ -360,7 +360,7 @@ class ConditionsManager {
360
  $cpts[] = [
361
  'id' => 'post_type_taxonomy_' . $single_taxonomy,
362
  'title' => sprintf(
363
- __('%s %s Taxonomy', 'blc'),
364
  $post_type_object->labels->singular_name,
365
  get_taxonomy($single_taxonomy)->label
366
  )
@@ -374,57 +374,57 @@ class ConditionsManager {
374
  'rules' => [
375
  [
376
  'id' => 'everywhere',
377
- 'title' => __('Entire Website', 'blc')
378
  ]
379
  ]
380
  ],
381
 
382
  [
383
- 'title' => __('Basic', 'blc'),
384
  'rules' => [
385
  [
386
  'id' => 'singulars',
387
- 'title' => __('Singulars', 'blc')
388
  ],
389
 
390
  [
391
  'id' => 'archives',
392
- 'title' => __('Archives', 'blc')
393
  ]
394
  ]
395
  ],
396
 
397
  [
398
- 'title' => __('Posts', 'blc'),
399
  'rules' => [
400
  [
401
  'id' => 'single_post',
402
- 'title' => __('Single Post', 'blc')
403
  ],
404
 
405
  [
406
  'id' => 'all_post_archives',
407
- 'title' => __('All Post Archives', 'blc')
408
  ],
409
 
410
  [
411
  'id' => 'post_categories',
412
- 'title' => __('Post Categories', 'blc')
413
  ],
414
 
415
  [
416
  'id' => 'post_tags',
417
- 'title' => __('Post Tags', 'blc')
418
  ],
419
  ]
420
  ],
421
 
422
  [
423
- 'title' => __('Pages', 'blc'),
424
  'rules' => [
425
  [
426
  'id' => 'single_page',
427
- 'title' => __('Single Page', 'blc')
428
  ],
429
  ]
430
  ],
@@ -432,31 +432,31 @@ class ConditionsManager {
432
 
433
  $has_woo ? [
434
  [
435
- 'title' => __('WooCommerce', 'blc'),
436
  'rules' => [
437
  [
438
  'id' => 'woo_shop',
439
- 'title' => __('Shop Home', 'blc')
440
  ],
441
 
442
  [
443
  'id' => 'single_product',
444
- 'title' => __('Single Product', 'blc')
445
  ],
446
 
447
  [
448
  'id' => 'all_product_archives',
449
- 'title' => __('Product Archives', 'blc')
450
  ],
451
 
452
  [
453
  'id' => 'all_product_categories',
454
- 'title' => __('Product Categories', 'blc')
455
  ],
456
 
457
  [
458
  'id' => 'all_product_tags',
459
- 'title' => __('Product Tags', 'blc')
460
  ],
461
  ]
462
  ]
@@ -464,105 +464,105 @@ class ConditionsManager {
464
 
465
  count($cpts) > 0 ? [
466
  [
467
- 'title' => __('Custom Post Types', 'blc'),
468
  'rules' => $cpts
469
  ]
470
  ] : [],
471
 
472
  [
473
  [
474
- 'title' => __('Specific', 'blc'),
475
  'rules' => [
476
  [
477
  'id' => 'post_ids',
478
- 'title' => __('Post ID', 'blc')
479
  ],
480
 
481
  [
482
  'id' => 'page_ids',
483
- 'title' => __('Page ID', 'blc')
484
  ],
485
 
486
  [
487
  'id' => 'custom_post_type_ids',
488
- 'title' => __('Custom Post Type ID', 'blc')
489
  ],
490
 
491
  [
492
  'id' => 'taxonomy_ids',
493
- 'title' => __('Taxonomy ID', 'blc')
494
  ],
495
 
496
  [
497
  'id' => 'post_with_taxonomy_ids',
498
- 'title' => __('Post with Taxonomy ID', 'blc')
499
  ],
500
  ]
501
  ],
502
 
503
  [
504
- 'title' => __('Other Pages', 'blc'),
505
  'rules' => [
506
  [
507
  'id' => '404',
508
- 'title' => __('404', 'blc')
509
  ],
510
 
511
  [
512
  'id' => 'search',
513
- 'title' => __('Search', 'blc')
514
  ],
515
 
516
  [
517
  'id' => 'blog',
518
- 'title' => __('Blog', 'blc')
519
  ],
520
 
521
  [
522
  'id' => 'front_page',
523
- 'title' => __('Front Page', 'blc')
524
  ],
525
 
526
  /*
527
  [
528
  'id' => 'date',
529
- 'title' => __('Date', 'blc')
530
  ],
531
  */
532
 
533
  [
534
  'id' => 'author',
535
- 'title' => __('Author', 'blc')
536
  ],
537
  ],
538
  ],
539
 
540
  [
541
- 'title' => __('User Auth', 'blc'),
542
  'rules' => [
543
  [
544
  'id' => 'user_logged_in',
545
- 'title' => __('User Logged In', 'blc')
546
  ],
547
 
548
  [
549
  'id' => 'user_logged_out',
550
- 'title' => __('User Logged Out', 'blc')
551
  ],
552
  ]
553
  ],
554
 
555
  [
556
- 'title' => __('User Roles', 'blc'),
557
  'rules' => $this->get_user_roles_rules()
558
  ],
559
 
560
  [
561
- 'title' => __('Other', 'blc'),
562
  'rules' => [
563
  [
564
  'id' => 'user_post_author_id',
565
- 'title' => __('Post Author', 'blc')
566
  ]
567
  ]
568
  ],
@@ -574,11 +574,11 @@ class ConditionsManager {
574
  blocksy_get_current_language() !== '__NOT_KNOWN__'
575
  ) ? [
576
  [
577
- 'title' => __('Languages', 'blc'),
578
  'rules' => [
579
  [
580
  'id' => 'current_language',
581
- 'title' => __('Current Language', 'blc')
582
  ]
583
  ]
584
  ]
@@ -586,11 +586,11 @@ class ConditionsManager {
586
 
587
  function_exists('bbp_is_single_user_profile') ? [
588
  [
589
- 'title' => __('bbPress', 'blc'),
590
  'rules' => [
591
  [
592
  'id' => 'bbpress_profile',
593
- 'title' => __('Profile', 'blc')
594
  ]
595
  ]
596
  ]
@@ -601,8 +601,8 @@ class ConditionsManager {
601
  $result = [];
602
 
603
  foreach ($conditions as $condition) {
604
- $type = $condition['type'] === 'include' ? __('Include', 'blc') : __(
605
- 'Exclude', 'blc'
606
  );
607
 
608
  $maybe_descriptor = $this->find_rule_descriptor($condition['rule']);
@@ -655,7 +655,7 @@ class ConditionsManager {
655
  foreach (blocksy_get_all_i18n_languages() as $lang) {
656
  if ($lang['id'] === $condition['payload']['language']) {
657
  $to_append = $type . ' ' . $lang['name'] . ' ' . __(
658
- 'Language', 'blc'
659
  );
660
  }
661
  }
341
  $cpts[] = [
342
  'id' => 'post_type_single_' . $custom_post_type,
343
  'title' => sprintf(
344
+ __('%s Single', 'blocksy-companion'),
345
  $post_type_object->labels->singular_name
346
  )
347
  ];
349
  $cpts[] = [
350
  'id' => 'post_type_archive_' . $custom_post_type,
351
  'title' => sprintf(
352
+ __('%s Archive', 'blocksy-companion'),
353
  $post_type_object->labels->singular_name
354
  )
355
  ];
360
  $cpts[] = [
361
  'id' => 'post_type_taxonomy_' . $single_taxonomy,
362
  'title' => sprintf(
363
+ __('%s %s Taxonomy', 'blocksy-companion'),
364
  $post_type_object->labels->singular_name,
365
  get_taxonomy($single_taxonomy)->label
366
  )
374
  'rules' => [
375
  [
376
  'id' => 'everywhere',
377
+ 'title' => __('Entire Website', 'blocksy-companion')
378
  ]
379
  ]
380
  ],
381
 
382
  [
383
+ 'title' => __('Basic', 'blocksy-companion'),
384
  'rules' => [
385
  [
386
  'id' => 'singulars',
387
+ 'title' => __('Singulars', 'blocksy-companion')
388
  ],
389
 
390
  [
391
  'id' => 'archives',
392
+ 'title' => __('Archives', 'blocksy-companion')
393
  ]
394
  ]
395
  ],
396
 
397
  [
398
+ 'title' => __('Posts', 'blocksy-companion'),
399
  'rules' => [
400
  [
401
  'id' => 'single_post',
402
+ 'title' => __('Single Post', 'blocksy-companion')
403
  ],
404
 
405
  [
406
  'id' => 'all_post_archives',
407
+ 'title' => __('All Post Archives', 'blocksy-companion')
408
  ],
409
 
410
  [
411
  'id' => 'post_categories',
412
+ 'title' => __('Post Categories', 'blocksy-companion')
413
  ],
414
 
415
  [
416
  'id' => 'post_tags',
417
+ 'title' => __('Post Tags', 'blocksy-companion')
418
  ],
419
  ]
420
  ],
421
 
422
  [
423
+ 'title' => __('Pages', 'blocksy-companion'),
424
  'rules' => [
425
  [
426
  'id' => 'single_page',
427
+ 'title' => __('Single Page', 'blocksy-companion')
428
  ],
429
  ]
430
  ],
432
 
433
  $has_woo ? [
434
  [
435
+ 'title' => __('WooCommerce', 'blocksy-companion'),
436
  'rules' => [
437
  [
438
  'id' => 'woo_shop',
439
+ 'title' => __('Shop Home', 'blocksy-companion')
440
  ],
441
 
442
  [
443
  'id' => 'single_product',
444
+ 'title' => __('Single Product', 'blocksy-companion')
445
  ],
446
 
447
  [
448
  'id' => 'all_product_archives',
449
+ 'title' => __('Product Archives', 'blocksy-companion')
450
  ],
451
 
452
  [
453
  'id' => 'all_product_categories',
454
+ 'title' => __('Product Categories', 'blocksy-companion')
455
  ],
456
 
457
  [
458
  'id' => 'all_product_tags',
459
+ 'title' => __('Product Tags', 'blocksy-companion')
460
  ],
461
  ]
462
  ]
464
 
465
  count($cpts) > 0 ? [
466
  [
467
+ 'title' => __('Custom Post Types', 'blocksy-companion'),
468
  'rules' => $cpts
469
  ]
470
  ] : [],
471
 
472
  [
473
  [
474
+ 'title' => __('Specific', 'blocksy-companion'),
475
  'rules' => [
476
  [
477
  'id' => 'post_ids',
478
+ 'title' => __('Post ID', 'blocksy-companion')
479
  ],
480
 
481
  [
482
  'id' => 'page_ids',
483
+ 'title' => __('Page ID', 'blocksy-companion')
484
  ],
485
 
486
  [
487
  'id' => 'custom_post_type_ids',
488
+ 'title' => __('Custom Post Type ID', 'blocksy-companion')
489
  ],
490
 
491
  [
492
  'id' => 'taxonomy_ids',
493
+ 'title' => __('Taxonomy ID', 'blocksy-companion')
494
  ],
495
 
496
  [
497
  'id' => 'post_with_taxonomy_ids',
498
+ 'title' => __('Post with Taxonomy ID', 'blocksy-companion')
499
  ],
500
  ]
501
  ],
502
 
503
  [
504
+ 'title' => __('Other Pages', 'blocksy-companion'),
505
  'rules' => [
506
  [
507
  'id' => '404',
508
+ 'title' => __('404', 'blocksy-companion')
509
  ],
510
 
511
  [
512
  'id' => 'search',
513
+ 'title' => __('Search', 'blocksy-companion')
514
  ],
515
 
516
  [
517
  'id' => 'blog',
518
+ 'title' => __('Blog', 'blocksy-companion')
519
  ],
520
 
521
  [
522
  'id' => 'front_page',
523
+ 'title' => __('Front Page', 'blocksy-companion')
524
  ],
525
 
526
  /*
527
  [
528
  'id' => 'date',
529
+ 'title' => __('Date', 'blocksy-companion')
530
  ],
531
  */
532
 
533
  [
534
  'id' => 'author',
535
+ 'title' => __('Author', 'blocksy-companion')
536
  ],
537
  ],
538
  ],
539
 
540
  [
541
+ 'title' => __('User Auth', 'blocksy-companion'),
542
  'rules' => [
543
  [
544
  'id' => 'user_logged_in',
545
+ 'title' => __('User Logged In', 'blocksy-companion')
546
  ],
547
 
548
  [
549
  'id' => 'user_logged_out',
550
+ 'title' => __('User Logged Out', 'blocksy-companion')
551
  ],
552
  ]
553
  ],
554
 
555
  [
556
+ 'title' => __('User Roles', 'blocksy-companion'),
557
  'rules' => $this->get_user_roles_rules()
558
  ],
559
 
560
  [
561
+ 'title' => __('Other', 'blocksy-companion'),
562
  'rules' => [
563
  [
564
  'id' => 'user_post_author_id',
565
+ 'title' => __('Post Author', 'blocksy-companion')
566
  ]
567
  ]
568
  ],
574
  blocksy_get_current_language() !== '__NOT_KNOWN__'
575
  ) ? [
576
  [
577
+ 'title' => __('Languages', 'blocksy-companion'),
578
  'rules' => [
579
  [
580
  'id' => 'current_language',
581
+ 'title' => __('Current Language', 'blocksy-companion')
582
  ]
583
  ]
584
  ]
586
 
587
  function_exists('bbp_is_single_user_profile') ? [
588
  [
589
+ 'title' => __('bbPress', 'blocksy-companion'),
590
  'rules' => [
591
  [
592
  'id' => 'bbpress_profile',
593
+ 'title' => __('Profile', 'blocksy-companion')
594
  ]
595
  ]
596
  ]
601
  $result = [];
602
 
603
  foreach ($conditions as $condition) {
604
+ $type = $condition['type'] === 'include' ? __('Include', 'blocksy-companion') : __(
605
+ 'Exclude', 'blocksy-companion'
606
  );
607
 
608
  $maybe_descriptor = $this->find_rule_descriptor($condition['rule']);
655
  foreach (blocksy_get_all_i18n_languages() as $lang) {
656
  if ($lang['id'] === $condition['payload']['language']) {
657
  $to_append = $type . ' ' . $lang['name'] . ' ' . __(
658
+ 'Language', 'blocksy-companion'
659
  );
660
  }
661
  }
framework/features/demo-install.php CHANGED
@@ -230,7 +230,7 @@ class DemoInstall {
230
  $has_demo_error = false;
231
 
232
  if (! extension_loaded('xml') && ! extension_loaded('simplexml')) {
233
- $has_demo_error = __("Your PHP installation doesn't have support for XML. Please install the <i>xml</i> or <i>simplexml</i> PHP extension in order to be able to install starter sites. You might need to contact your hosting provider to assist you in doing so.", 'blc');
234
  }
235
 
236
  wp_send_json_success([
230
  $has_demo_error = false;
231
 
232
  if (! extension_loaded('xml') && ! extension_loaded('simplexml')) {
233
+ $has_demo_error = __("Your PHP installation doesn't have support for XML. Please install the <i>xml</i> or <i>simplexml</i> PHP extension in order to be able to install starter sites. You might need to contact your hosting provider to assist you in doing so.", 'blocksy-companion');
234
  }
235
 
236
  wp_send_json_success([
framework/features/dynamic-css.php CHANGED
@@ -43,14 +43,14 @@ class DynamicCss {
43
  'blocksy_performance_end_customizer_options',
44
  function ($opts) {
45
  $opts['dynamic_css_file'] = [
46
- 'label' => __( 'Dynamic CSS Output', 'blc' ),
47
  'type' => 'ct-radio',
48
  'value' => 'file',
49
  'view' => 'text',
50
- 'desc' => __( 'The strategy of outputting the dynamic CSS. File - all the CSS code will be placed in a static file, otherwise it will be placed inline in head.', 'blc' ),
51
  'choices' => [
52
- 'file' => __( 'File', 'blc' ),
53
- 'inline' => __( 'Inline', 'blc' ),
54
  ],
55
  ];
56
 
43
  'blocksy_performance_end_customizer_options',
44
  function ($opts) {
45
  $opts['dynamic_css_file'] = [
46
+ 'label' => __( 'Dynamic CSS Output', 'blocksy-companion' ),
47
  'type' => 'ct-radio',
48
  'value' => 'file',
49
  'view' => 'text',
50
+ 'desc' => __( 'The strategy of outputting the dynamic CSS. File - all the CSS code will be placed in a static file, otherwise it will be placed inline in head.', 'blocksy-companion' ),
51
  'choices' => [
52
+ 'file' => __( 'File', 'blocksy-companion' ),
53
+ 'inline' => __( 'Inline', 'blocksy-companion' ),
54
  ],
55
  ];
56
 
framework/features/google-analytics.php CHANGED
@@ -66,18 +66,18 @@ class GoogleAnalytics {
66
  public function generate_google_analytics_opts($options) {
67
  $options[] = [
68
  'analytics_id' => [
69
- 'label' => __( 'Google Analytics v3', 'blc' ),
70
  'type' => 'text',
71
  'design' => 'block',
72
  'divider' => 'bottom',
73
  'value' => '',
74
- 'desc' => __( 'Link your Google Analytics 3 tracking ID.', 'blc' ),
75
  'disableRevertButton' => true,
76
  'setting' => [ 'transport' => 'postMessage' ],
77
  ],
78
 
79
  'analytics_v4_id' => [
80
- 'label' => __( 'Google Analytics v4', 'blc' ),
81
  'type' => 'text',
82
  'design' => 'block',
83
  'divider' => 'bottom',
@@ -85,7 +85,7 @@ class GoogleAnalytics {
85
  'desc' => sprintf(
86
  __(
87
  'Link your Google Analytics 4 tracking ID. More info and instructions can be found %shere%s.',
88
- 'blc'
89
  ),
90
  '<a href="https://support.google.com/analytics/answer/9744165?hl=en">',
91
  '</a>'
@@ -95,13 +95,13 @@ class GoogleAnalytics {
95
  ],
96
 
97
  'ip_anonymization' => [
98
- 'label' => __( 'IP Anonymization', 'blc' ),
99
  'type' => 'ct-switch',
100
  'value' => 'no',
101
  'desc' => sprintf(
102
  __(
103
  'Enable Google Analytics IP Anonymization for enhanced privacy. More info and instructions can be found %shere%s.',
104
- 'blc'
105
  ),
106
  '<a href="https://developers.google.com/analytics/devguides/collection/gtagjs/ip-anonymization">',
107
  '</a>'
66
  public function generate_google_analytics_opts($options) {
67
  $options[] = [
68
  'analytics_id' => [
69
+ 'label' => __( 'Google Analytics v3', 'blocksy-companion' ),
70
  'type' => 'text',
71
  'design' => 'block',
72
  'divider' => 'bottom',
73
  'value' => '',
74
+ 'desc' => __( 'Link your Google Analytics 3 tracking ID.', 'blocksy-companion' ),
75
  'disableRevertButton' => true,
76
  'setting' => [ 'transport' => 'postMessage' ],
77
  ],
78
 
79
  'analytics_v4_id' => [
80
+ 'label' => __( 'Google Analytics v4', 'blocksy-companion' ),
81
  'type' => 'text',
82
  'design' => 'block',
83
  'divider' => 'bottom',
85
  'desc' => sprintf(
86
  __(
87
  'Link your Google Analytics 4 tracking ID. More info and instructions can be found %shere%s.',
88
+ 'blocksy-companion'
89
  ),
90
  '<a href="https://support.google.com/analytics/answer/9744165?hl=en">',
91
  '</a>'
95
  ],
96
 
97
  'ip_anonymization' => [
98
+ 'label' => __( 'IP Anonymization', 'blocksy-companion' ),
99
  'type' => 'ct-switch',
100
  'value' => 'no',
101
  'desc' => sprintf(
102
  __(
103
  'Enable Google Analytics IP Anonymization for enhanced privacy. More info and instructions can be found %shere%s.',
104
+ 'blocksy-companion'
105
  ),
106
  '<a href="https://developers.google.com/analytics/devguides/collection/gtagjs/ip-anonymization">',
107
  '</a>'
framework/features/header/account-modal.php CHANGED
@@ -44,11 +44,11 @@ foreach ($form_views as $form_key => $value) {
44
  <?php if ($users_can_register) { ?>
45
  <ul>
46
  <li class="active ct-login">
47
- <?php echo __('Login', 'blc') ?>
48
  </li>
49
 
50
  <li class="ct-register">
51
- <?php echo __('Sign Up', 'blc') ?>
52
  </li>
53
  </ul>
54
  <?php } ?>
@@ -67,7 +67,7 @@ foreach ($form_views as $form_key => $value) {
67
  <?php echo $form_views['lostpassword'] ?>
68
 
69
  <a href="<?php echo wp_login_url() ?>" class="ct-back-to-login ct-login">
70
- ← <?php echo __('Back to login', 'blc') ?>
71
  </a>
72
  </section>
73
  </div>
44
  <?php if ($users_can_register) { ?>
45
  <ul>
46
  <li class="active ct-login">
47
+ <?php echo __('Login', 'blocksy-companion') ?>
48
  </li>
49
 
50
  <li class="ct-register">
51
+ <?php echo __('Sign Up', 'blocksy-companion') ?>
52
  </li>
53
  </ul>
54
  <?php } ?>
67
  <?php echo $form_views['lostpassword'] ?>
68
 
69
  <a href="<?php echo wp_login_url() ?>" class="ct-back-to-login ct-login">
70
+ ← <?php echo __('Back to login', 'blocksy-companion') ?>
71
  </a>
72
  </section>
73
  </div>
framework/features/header/header-options.php CHANGED
@@ -3,7 +3,7 @@
3
  $options = [
4
 
5
  'has_sticky_header' => [
6
- 'label' => __( 'Sticky Functionality', 'blc' ),
7
  'type' => 'ct-switch',
8
  'value' => 'no',
9
 
@@ -29,38 +29,38 @@ $options = [
29
  'choices' => [
30
  'middle' => [
31
  'src' => blocksy_image_picker_url('sticky-main.svg'),
32
- 'title' => __('Only Main Row', 'blc'),
33
  ],
34
 
35
  'top_middle' => [
36
  'src' => blocksy_image_picker_url('sticky-top-main.svg'),
37
- 'title' => __('Top & Main Row', 'blc'),
38
  ],
39
 
40
  'entire_header' => [
41
  'src' => blocksy_image_picker_url('sticky-all.svg'),
42
- 'title' => __('All Rows', 'blc'),
43
  ],
44
 
45
  'middle_bottom' => [
46
  'src' => blocksy_image_picker_url('sticky-main-bottom.svg'),
47
- 'title' => __('Main & Bottom Row', 'blc'),
48
  ],
49
 
50
  'top' => [
51
  'src' => blocksy_image_picker_url('sticky-top.svg'),
52
- 'title' => __('Only Top Row', 'blc'),
53
  ],
54
 
55
  'bottom' => [
56
  'src' => blocksy_image_picker_url('sticky-bottom.svg'),
57
- 'title' => __('Only Bottom Row', 'blc'),
58
  ],
59
  ],
60
  ],
61
 
62
  'sticky_effect' => [
63
- 'label' => __('Sticky Effect', 'blc' ),
64
  'type' => 'ct-select',
65
  'value' => 'shrink',
66
  'design' => 'block',
@@ -68,15 +68,15 @@ $options = [
68
  'id' => 'header_placements_1'
69
  ],
70
  'choices' => blocksy_ordered_keys([
71
- 'shrink' => __('Default', 'blc'),
72
- 'slide' => __('Slide Down', 'blc'),
73
- 'fade' => __('Fade', 'blc'),
74
- 'auto-hide' => __('Auto Hide/Show', 'blc'),
75
  ]),
76
  ],
77
 
78
  'sticky_behaviour' => [
79
- 'label' => __( 'Enable on', 'blc' ),
80
  'type' => 'ct-visibility',
81
  'design' => 'block',
82
  'value' => [
@@ -86,9 +86,9 @@ $options = [
86
  ],
87
 
88
  'choices' => blocksy_ordered_keys([
89
- 'desktop' => __('Desktop', 'blc'),
90
- // 'tablet' => __('Tablet', 'blc'),
91
- 'mobile' => __('Mobile', 'blc'),
92
  ]),
93
 
94
  'sync' => [
@@ -103,7 +103,7 @@ $options = [
103
  ],
104
 
105
  'has_transparent_header' => [
106
- 'label' => __( 'Transparent Functionality', 'blc' ),
107
  'type' => 'ct-switch',
108
  'value' => 'no',
109
  'sync' => [
@@ -141,7 +141,7 @@ $options = [
141
  'rule' => 'archives'
142
  ]
143
  ],
144
- 'label' => __( 'Display Conditions', 'blc' ),
145
  'display' => 'modal',
146
  'design' => 'block',
147
  // 'divider' => 'top',
@@ -157,7 +157,7 @@ $options = [
157
  'condition' => [ 'has_transparent_header' => 'yes' ],
158
  'options' => [
159
  'transparent_behaviour' => [
160
- 'label' => __( 'Enable on', 'blc' ),
161
  'type' => 'ct-visibility',
162
  'design' => 'block',
163
  'sync' => 'live',
@@ -168,9 +168,9 @@ $options = [
168
  ],
169
 
170
  'choices' => blocksy_ordered_keys([
171
- 'desktop' => __('Desktop', 'blc'),
172
- // 'tablet' => __('Tablet', 'blc'),
173
- 'mobile' => __('Mobile', 'blc'),
174
  ]),
175
  ],
176
 
3
  $options = [
4
 
5
  'has_sticky_header' => [
6
+ 'label' => __( 'Sticky Functionality', 'blocksy-companion' ),
7
  'type' => 'ct-switch',
8
  'value' => 'no',
9
 
29
  'choices' => [
30
  'middle' => [
31
  'src' => blocksy_image_picker_url('sticky-main.svg'),
32
+ 'title' => __('Only Main Row', 'blocksy-companion'),
33
  ],
34
 
35
  'top_middle' => [
36
  'src' => blocksy_image_picker_url('sticky-top-main.svg'),
37
+ 'title' => __('Top & Main Row', 'blocksy-companion'),
38
  ],
39
 
40
  'entire_header' => [
41
  'src' => blocksy_image_picker_url('sticky-all.svg'),
42
+ 'title' => __('All Rows', 'blocksy-companion'),
43
  ],
44
 
45
  'middle_bottom' => [
46
  'src' => blocksy_image_picker_url('sticky-main-bottom.svg'),
47
+ 'title' => __('Main & Bottom Row', 'blocksy-companion'),
48
  ],
49
 
50
  'top' => [
51
  'src' => blocksy_image_picker_url('sticky-top.svg'),
52
+ 'title' => __('Only Top Row', 'blocksy-companion'),
53
  ],
54
 
55
  'bottom' => [
56
  'src' => blocksy_image_picker_url('sticky-bottom.svg'),
57
+ 'title' => __('Only Bottom Row', 'blocksy-companion'),
58
  ],
59
  ],
60
  ],
61
 
62
  'sticky_effect' => [
63
+ 'label' => __('Sticky Effect', 'blocksy-companion' ),
64
  'type' => 'ct-select',
65
  'value' => 'shrink',
66
  'design' => 'block',
68
  'id' => 'header_placements_1'
69
  ],
70
  'choices' => blocksy_ordered_keys([
71
+ 'shrink' => __('Default', 'blocksy-companion'),
72
+ 'slide' => __('Slide Down', 'blocksy-companion'),
73
+ 'fade' => __('Fade', 'blocksy-companion'),
74
+ 'auto-hide' => __('Auto Hide/Show', 'blocksy-companion'),
75
  ]),
76
  ],
77
 
78
  'sticky_behaviour' => [
79
+ 'label' => __( 'Enable on', 'blocksy-companion' ),
80
  'type' => 'ct-visibility',
81
  'design' => 'block',
82
  'value' => [
86
  ],
87
 
88
  'choices' => blocksy_ordered_keys([
89
+ 'desktop' => __('Desktop', 'blocksy-companion'),
90
+ // 'tablet' => __('Tablet', 'blocksy-companion'),
91
+ 'mobile' => __('Mobile', 'blocksy-companion'),
92
  ]),
93
 
94
  'sync' => [
103
  ],
104
 
105
  'has_transparent_header' => [
106
+ 'label' => __( 'Transparent Functionality', 'blocksy-companion' ),
107
  'type' => 'ct-switch',
108
  'value' => 'no',
109
  'sync' => [
141
  'rule' => 'archives'
142
  ]
143
  ],
144
+ 'label' => __( 'Display Conditions', 'blocksy-companion' ),
145
  'display' => 'modal',
146
  'design' => 'block',
147
  // 'divider' => 'top',
157
  'condition' => [ 'has_transparent_header' => 'yes' ],
158
  'options' => [
159
  'transparent_behaviour' => [
160
+ 'label' => __( 'Enable on', 'blocksy-companion' ),
161
  'type' => 'ct-visibility',
162
  'design' => 'block',
163
  'sync' => 'live',
168
  ],
169
 
170
  'choices' => blocksy_ordered_keys([
171
+ 'desktop' => __('Desktop', 'blocksy-companion'),
172
+ // 'tablet' => __('Tablet', 'blocksy-companion'),
173
+ 'mobile' => __('Mobile', 'blocksy-companion'),
174
  ]),
175
  ],
176
 
framework/features/header/items/account/options.php CHANGED
@@ -1,27 +1,27 @@
1
  <?php
2
 
3
  $link_options = [
4
- 'profile' => __( 'Profile Page', 'blc' ),
5
- 'dashboard' => __( 'Dashboard Page', 'blc' ),
6
- // 'menu' => __( 'Menu', 'blc' ),
7
- 'custom' => __( 'Custom Link', 'blc' ),
8
- 'logout' => __( 'Logout', 'blc' ),
9
  ];
10
 
11
  $logout_link_options = [
12
- 'modal' => __( 'Modal', 'blc' ),
13
- 'custom' => __( 'Custom Link', 'blc' ),
14
  ];
15
 
16
  if (class_exists('WooCommerce')) {
17
- $link_options['woocommerce_account'] = __('WooCommerce Account', 'blc');
18
- $logout_link_options['woocommerce_account'] = __('WooCommerce Account', 'blc');
19
  }
20
 
21
  $options = [
22
  blocksy_rand_md5() => [
23
  'type' => 'ct-title',
24
- 'label' => __( 'Customizing: Logged in State', 'blc' ),
25
  ],
26
 
27
  'account_state' => [
@@ -33,12 +33,12 @@ $options = [
33
  'choices' => [
34
  'in' => [
35
  'src' => blocksy_image_picker_url( 'log-in-state.svg' ),
36
- 'title' => __( 'Logged In Options', 'blc' ),
37
  ],
38
 
39
  'out' => [
40
  'src' => blocksy_image_picker_url('log-out-state.svg'),
41
- 'title' => __('Logged Out Options', 'blc'),
42
  ],
43
  ],
44
  ],
@@ -48,7 +48,7 @@ $options = [
48
  ],
49
 
50
  blocksy_rand_md5() => [
51
- 'title' => __( 'General', 'blc' ),
52
  'type' => 'tab',
53
  'options' => [
54
 
@@ -58,7 +58,7 @@ $options = [
58
  'options' => [
59
 
60
  'account_link' => [
61
- 'label' => __( 'Account Action', 'blc' ),
62
  'type' => 'ct-select',
63
  'value' => 'profile',
64
  'view' => 'text',
@@ -71,17 +71,17 @@ $options = [
71
  'condition' => [ 'account_link' => 'menu' ],
72
  'options' => [
73
  'loggedin_account_menu' => [
74
- 'label' => __('Select Menu', 'blc'),
75
  'type' => 'ct-select',
76
  'value' => 'blocksy_location',
77
  'view' => 'text',
78
  'design' => 'inline',
79
  'setting' => ['transport' => 'postMessage'],
80
- 'placeholder' => __('Select menu...', 'blc'),
81
  'choices' => blocksy_ordered_keys(blocksy_get_menus_items()),
82
  'desc' => sprintf(
83
  // translators: placeholder here means the actual URL.
84
- __( 'Manage your menu items in the %sMenus screen%s.', 'blc' ),
85
  sprintf(
86
  '<a href="%s" target="_blank">',
87
  admin_url('/nav-menus.php')
@@ -98,7 +98,7 @@ $options = [
98
  'options' => [
99
 
100
  'account_custom_page' => [
101
- 'label' => __( 'Custom Page Link', 'blc' ),
102
  'type' => 'text',
103
  'design' => 'inline',
104
  'disableRevertButton' => true,
@@ -113,15 +113,15 @@ $options = [
113
  ],
114
 
115
  'loggedin_media' => [
116
- 'label' => __( 'Account Image', 'blc' ),
117
  'type' => 'ct-radio',
118
  'design' => 'block',
119
  'view' => 'text',
120
  'value' => 'avatar',
121
  'choices' => [
122
- 'avatar' => __( 'Avatar', 'blc' ),
123
- 'icon' => __( 'Icon', 'blc' ),
124
- 'none' => __( 'None', 'blc' ),
125
  ],
126
  'setting' => [ 'transport' => 'postMessage' ],
127
  ],
@@ -132,7 +132,7 @@ $options = [
132
  'options' => [
133
 
134
  'accountHeaderAvatarSize' => [
135
- 'label' => __( 'Avatar Size', 'blc' ),
136
  'type' => 'ct-slider',
137
  'min' => 10,
138
  'max' => 40,
@@ -164,38 +164,38 @@ $options = [
164
 
165
  'type-1' => [
166
  'src' => blocksy_image_picker_file( 'account-1' ),
167
- 'title' => __( 'Type 1', 'blc' ),
168
  ],
169
 
170
  'type-2' => [
171
  'src' => blocksy_image_picker_file( 'account-2' ),
172
- 'title' => __( 'Type 2', 'blc' ),
173
  ],
174
 
175
  'type-3' => [
176
  'src' => blocksy_image_picker_file( 'account-3' ),
177
- 'title' => __( 'Type 3', 'blc' ),
178
  ],
179
 
180
  'type-4' => [
181
  'src' => blocksy_image_picker_file( 'account-4' ),
182
- 'title' => __( 'Type 4', 'blc' ),
183
  ],
184
 
185
  'type-5' => [
186
  'src' => blocksy_image_picker_file( 'account-5' ),
187
- 'title' => __( 'Type 5', 'blc' ),
188
  ],
189
 
190
  'type-6' => [
191
  'src' => blocksy_image_picker_file( 'account-6' ),
192
- 'title' => __( 'Type 6', 'blc' ),
193
  ],
194
  ],
195
  ],
196
 
197
  'account_loggedin_icon_size' => [
198
- 'label' => __( 'Icon Size', 'blc' ),
199
  'type' => 'ct-slider',
200
  'min' => 5,
201
  'max' => 50,
@@ -213,7 +213,7 @@ $options = [
213
  ],
214
 
215
  'loggedin_account_label_visibility' => [
216
- 'label' => __( 'Label Visibility', 'blc' ),
217
  'type' => 'ct-visibility',
218
  'design' => 'block',
219
  'allow_empty' => true,
@@ -225,9 +225,9 @@ $options = [
225
  ],
226
 
227
  'choices' => blocksy_ordered_keys([
228
- 'desktop' => __( 'Desktop', 'blc' ),
229
- 'tablet' => __( 'Tablet', 'blc' ),
230
- 'mobile' => __( 'Mobile', 'blc' ),
231
  ]),
232
  ],
233
 
@@ -249,16 +249,16 @@ $options = [
249
 
250
  'loggedin_label_position' => [
251
  'type' => 'ct-radio',
252
- 'label' => __( 'Label Position', 'blc' ),
253
  'value' => 'left',
254
  'view' => 'text',
255
  'design' => 'block',
256
  'divider' => 'top',
257
  'responsive' => [ 'tablet' => 'skip' ],
258
  'choices' => [
259
- 'left' => __( 'Left', 'blc' ),
260
- 'right' => __( 'Right', 'blc' ),
261
- 'bottom' => __( 'Bottom', 'blc' ),
262
  ],
263
  ],
264
 
@@ -266,7 +266,7 @@ $options = [
266
  ],
267
 
268
  'loggedin_text' => [
269
- 'label' => __('Label Type', 'blc'),
270
  'type' => 'ct-radio',
271
  'view' => 'text',
272
  'design' => 'block',
@@ -274,8 +274,8 @@ $options = [
274
  'setting' => ['transport' => 'postMessage'],
275
  'value' => 'label',
276
  'choices' => [
277
- 'label' => __('Text', 'blc'),
278
- 'username' => __('Name', 'blc'),
279
  ],
280
  ],
281
 
@@ -285,12 +285,12 @@ $options = [
285
  'options' => [
286
 
287
  'loggedin_label' => [
288
- 'label' => __('Label Text', 'blc'),
289
  'type' => 'text',
290
  'design' => 'block',
291
  'divider' => 'top',
292
  'setting' => ['transport' => 'postMessage'],
293
- 'value' => __('My Account', 'blc')
294
  ],
295
 
296
  ],
@@ -308,7 +308,7 @@ $options = [
308
  'options' => [
309
 
310
  'login_account_action' => [
311
- 'label' => __( 'Account Action', 'blc' ),
312
  'type' => 'ct-select',
313
  'value' => 'modal',
314
  'view' => 'text',
@@ -323,7 +323,7 @@ $options = [
323
  'options' => [
324
 
325
  'loggedout_account_custom_page' => [
326
- 'label' => __( 'Custom Page Link', 'blc' ),
327
  'type' => 'text',
328
  'design' => 'inline',
329
  'disableRevertButton' => true,
@@ -339,14 +339,14 @@ $options = [
339
  ],
340
 
341
  'logged_out_style' => [
342
- 'label' => __( 'Account Image', 'blc' ),
343
  'type' => 'ct-radio',
344
  'design' => 'block',
345
  'view' => 'text',
346
  'value' => 'icon',
347
  'choices' => [
348
- 'icon' => __( 'Icon', 'blc' ),
349
- 'none' => __( 'None', 'blc' ),
350
  ],
351
  'setting' => [ 'transport' => 'postMessage' ],
352
  ],
@@ -370,38 +370,38 @@ $options = [
370
 
371
  'type-1' => [
372
  'src' => blocksy_image_picker_file( 'account-1' ),
373
- 'title' => __( 'Type 1', 'blc' ),
374
  ],
375
 
376
  'type-2' => [
377
  'src' => blocksy_image_picker_file( 'account-2' ),
378
- 'title' => __( 'Type 2', 'blc' ),
379
  ],
380
 
381
  'type-3' => [
382
  'src' => blocksy_image_picker_file( 'account-3' ),
383
- 'title' => __( 'Type 3', 'blc' ),
384
  ],
385
 
386
  'type-4' => [
387
  'src' => blocksy_image_picker_file( 'account-4' ),
388
- 'title' => __( 'Type 4', 'blc' ),
389
  ],
390
 
391
  'type-5' => [
392
  'src' => blocksy_image_picker_file( 'account-5' ),
393
- 'title' => __( 'Type 5', 'blc' ),
394
  ],
395
 
396
  'type-6' => [
397
  'src' => blocksy_image_picker_file( 'account-6' ),
398
- 'title' => __( 'Type 6', 'blc' ),
399
  ],
400
  ],
401
  ],
402
 
403
  'accountHeaderIconSize' => [
404
- 'label' => __( 'Icon Size', 'blc' ),
405
  'type' => 'ct-slider',
406
  'min' => 5,
407
  'max' => 50,
@@ -419,7 +419,7 @@ $options = [
419
  ],
420
 
421
  'loggedout_account_label_visibility' => [
422
- 'label' => __( 'Label Visibility', 'blc' ),
423
  'type' => 'ct-visibility',
424
  'design' => 'block',
425
  'allow_empty' => true,
@@ -431,9 +431,9 @@ $options = [
431
  ],
432
 
433
  'choices' => blocksy_ordered_keys([
434
- 'desktop' => __( 'Desktop', 'blc' ),
435
- 'tablet' => __( 'Tablet', 'blc' ),
436
- 'mobile' => __( 'Mobile', 'blc' ),
437
  ]),
438
  ],
439
 
@@ -455,16 +455,16 @@ $options = [
455
 
456
  'loggedout_label_position' => [
457
  'type' => 'ct-radio',
458
- 'label' => __( 'Label Position', 'blc' ),
459
  'value' => 'left',
460
  'view' => 'text',
461
  'design' => 'block',
462
  'divider' => 'top',
463
  'responsive' => [ 'tablet' => 'skip' ],
464
  'choices' => [
465
- 'left' => __( 'Left', 'blc' ),
466
- 'right' => __( 'Right', 'blc' ),
467
- 'bottom' => __( 'Bottom', 'blc' ),
468
  ],
469
  ],
470
 
@@ -472,13 +472,13 @@ $options = [
472
  ],
473
 
474
  'login_label' => [
475
- 'label' => __('Label Text', 'blc'),
476
  'type' => 'text',
477
  'design' => 'block',
478
  'divider' => 'top',
479
  'disableRevertButton' => true,
480
  'setting' => [ 'transport' => 'postMessage' ],
481
- 'value' => __('Login', 'blc')
482
  ],
483
 
484
  ],
@@ -494,13 +494,13 @@ $options = [
494
 
495
 
496
  blocksy_rand_md5() => [
497
- 'title' => __( 'Design', 'blc' ),
498
  'type' => 'tab',
499
  'options' => [
500
 
501
  'account_label_font' => [
502
  'type' => 'ct-typography',
503
- 'label' => __( 'Label Font', 'blc' ),
504
  'value' => blocksy_typography_default_values([
505
  'size' => '12px',
506
  'variation' => 'n6',
@@ -511,17 +511,17 @@ $options = [
511
 
512
  blocksy_rand_md5() => [
513
  'type' => 'ct-labeled-group',
514
- 'label' => __( 'Label Color', 'blc' ),
515
  'responsive' => true,
516
  'choices' => [
517
  [
518
  'id' => 'accountHeaderColor',
519
- 'label' => __('Default State', 'blc')
520
  ],
521
 
522
  [
523
  'id' => 'transparentAccountHeaderColor',
524
- 'label' => __('Transparent State', 'blc'),
525
  'condition' => [
526
  'row' => '!offcanvas',
527
  'builderSettings/has_transparent_header' => 'yes',
@@ -530,7 +530,7 @@ $options = [
530
 
531
  [
532
  'id' => 'stickyAccountHeaderColor',
533
- 'label' => __('Sticky State', 'blc'),
534
  'condition' => [
535
  'row' => '!offcanvas',
536
  'builderSettings/has_sticky_header' => 'yes',
@@ -540,7 +540,7 @@ $options = [
540
  'options' => [
541
 
542
  'accountHeaderColor' => [
543
- 'label' => __( 'Label Color', 'blc' ),
544
  'type' => 'ct-color-picker',
545
  'design' => 'block:right',
546
  'responsive' => true,
@@ -558,13 +558,13 @@ $options = [
558
 
559
  'pickers' => [
560
  [
561
- 'title' => __( 'Initial', 'blc' ),
562
  'id' => 'default',
563
  'inherit' => 'var(--color)'
564
  ],
565
 
566
  [
567
- 'title' => __( 'Hover', 'blc' ),
568
  'id' => 'hover',
569
  'inherit' => 'var(--linkHoverColor)'
570
  ],
@@ -572,7 +572,7 @@ $options = [
572
  ],
573
 
574
  'transparentAccountHeaderColor' => [
575
- 'label' => __( 'Label Color', 'blc' ),
576
  'type' => 'ct-color-picker',
577
  'design' => 'block:right',
578
  'responsive' => true,
@@ -590,19 +590,19 @@ $options = [
590
 
591
  'pickers' => [
592
  [
593
- 'title' => __( 'Initial', 'blc' ),
594
  'id' => 'default',
595
  ],
596
 
597
  [
598
- 'title' => __( 'Hover', 'blc' ),
599
  'id' => 'hover',
600
  ],
601
  ],
602
  ],
603
 
604
  'stickyAccountHeaderColor' => [
605
- 'label' => __( 'Label Color', 'blc' ),
606
  'type' => 'ct-color-picker',
607
  'design' => 'block:right',
608
  'responsive' => true,
@@ -620,12 +620,12 @@ $options = [
620
 
621
  'pickers' => [
622
  [
623
- 'title' => __( 'Initial', 'blc' ),
624
  'id' => 'default',
625
  ],
626
 
627
  [
628
- 'title' => __( 'Hover', 'blc' ),
629
  'id' => 'hover',
630
  ],
631
  ],
@@ -657,17 +657,17 @@ $options = [
657
  'options' => [
658
  blocksy_rand_md5() => [
659
  'type' => 'ct-labeled-group',
660
- 'label' => __( 'Icon Color', 'blc' ),
661
  'responsive' => true,
662
  'choices' => [
663
  [
664
  'id' => 'header_account_icon_color',
665
- 'label' => __('Default State', 'blc'),
666
  ],
667
 
668
  [
669
  'id' => 'transparent_header_account_icon_color',
670
- 'label' => __('Transparent State', 'blc'),
671
  'condition' => [
672
  'row' => '!offcanvas',
673
  'builderSettings/has_transparent_header' => 'yes',
@@ -676,7 +676,7 @@ $options = [
676
 
677
  [
678
  'id' => 'sticky_header_account_icon_color',
679
- 'label' => __('Sticky State', 'blc'),
680
  'condition' => [
681
  'row' => '!offcanvas',
682
  'builderSettings/has_sticky_header' => 'yes',
@@ -685,7 +685,7 @@ $options = [
685
  ],
686
  'options' => [
687
  'header_account_icon_color' => [
688
- 'label' => __( 'Icon Color', 'blc' ),
689
  'type' => 'ct-color-picker',
690
  'design' => 'block:right',
691
  'responsive' => true,
@@ -702,13 +702,13 @@ $options = [
702
 
703
  'pickers' => [
704
  [
705
- 'title' => __( 'Initial', 'blc' ),
706
  'id' => 'default',
707
  'inherit' => 'var(--color)',
708
  ],
709
 
710
  [
711
- 'title' => __( 'Hover', 'blc' ),
712
  'id' => 'hover',
713
  'inherit' => 'var(--paletteColor2)',
714
  ],
@@ -716,7 +716,7 @@ $options = [
716
  ],
717
 
718
  'transparent_header_account_icon_color' => [
719
- 'label' => __( 'Icon Color', 'blc' ),
720
  'type' => 'ct-color-picker',
721
  'design' => 'block:right',
722
  'responsive' => true,
@@ -733,19 +733,19 @@ $options = [
733
 
734
  'pickers' => [
735
  [
736
- 'title' => __( 'Initial', 'blc' ),
737
  'id' => 'default',
738
  ],
739
 
740
  [
741
- 'title' => __( 'Hover', 'blc' ),
742
  'id' => 'hover',
743
  ],
744
  ],
745
  ],
746
 
747
  'sticky_header_account_icon_color' => [
748
- 'label' => __( 'Icon Color', 'blc' ),
749
  'type' => 'ct-color-picker',
750
  'design' => 'block:right',
751
  'responsive' => true,
@@ -762,12 +762,12 @@ $options = [
762
 
763
  'pickers' => [
764
  [
765
- 'title' => __( 'Initial', 'blc' ),
766
  'id' => 'default',
767
  ],
768
 
769
  [
770
- 'title' => __( 'Hover', 'blc' ),
771
  'id' => 'hover',
772
  ],
773
  ],
@@ -782,7 +782,7 @@ $options = [
782
  ],
783
 
784
  'accountHeaderMargin' => [
785
- 'label' => __( 'Item Margin', 'blc' ),
786
  'type' => 'ct-spacing',
787
  'setting' => [ 'transport' => 'postMessage' ],
788
  'value' => blocksy_spacing_value([
@@ -801,11 +801,11 @@ $options = [
801
 
802
  blocksy_rand_md5() => [
803
  'type' => 'ct-title',
804
- 'label' => __( 'Modal Options', 'blc' ),
805
  ],
806
 
807
  'account_modal_font_color' => [
808
- 'label' => __( 'Font Color', 'blc' ),
809
  'type' => 'ct-color-picker',
810
  'design' => 'inline',
811
  'divider' => 'bottom',
@@ -823,13 +823,13 @@ $options = [
823
 
824
  'pickers' => [
825
  [
826
- 'title' => __( 'Initial', 'blc' ),
827
  'id' => 'default',
828
  'inherit' => 'var(--color)'
829
  ],
830
 
831
  [
832
- 'title' => __( 'Hover', 'blc' ),
833
  'id' => 'hover',
834
  'inherit' => 'var(--linkHoverColor)'
835
  ],
@@ -837,7 +837,7 @@ $options = [
837
  ],
838
 
839
  'account_modal_form_text_color' => [
840
- 'label' => __( 'Input Font Color', 'blc' ),
841
  'type' => 'ct-color-picker',
842
  'design' => 'inline',
843
  'setting' => [ 'transport' => 'postMessage' ],
@@ -853,13 +853,13 @@ $options = [
853
 
854
  'pickers' => [
855
  [
856
- 'title' => __( 'Initial', 'blc' ),
857
  'id' => 'default',
858
  'inherit' => 'var(--form-text-initial-color, var(--color))'
859
  ],
860
 
861
  [
862
- 'title' => __( 'Focus', 'blc' ),
863
  'id' => 'focus',
864
  'inherit' => 'var(--form-text-focus-color, var(--color))'
865
  ],
@@ -867,7 +867,7 @@ $options = [
867
  ],
868
 
869
  'account_modal_form_border_color' => [
870
- 'label' => __( 'Input Border Color', 'blc' ),
871
  'type' => 'ct-color-picker',
872
  'design' => 'inline',
873
  'setting' => [ 'transport' => 'postMessage' ],
@@ -883,13 +883,13 @@ $options = [
883
 
884
  'pickers' => [
885
  [
886
- 'title' => __( 'Initial', 'blc' ),
887
  'id' => 'default',
888
  'inherit' => 'var(--form-field-border-initial-color)'
889
  ],
890
 
891
  [
892
- 'title' => __( 'Focus', 'blc' ),
893
  'id' => 'focus',
894
  'inherit' => 'var(--form-field-border-focus-color)'
895
  ],
@@ -903,7 +903,7 @@ $options = [
903
  'options' => [
904
 
905
  'account_modal_form_background_color' => [
906
- 'label' => __( 'Input Background Color', 'blc' ),
907
  'type' => 'ct-color-picker',
908
  'design' => 'inline',
909
  'setting' => [ 'transport' => 'postMessage' ],
@@ -919,13 +919,13 @@ $options = [
919
 
920
  'pickers' => [
921
  [
922
- 'title' => __( 'Initial', 'blc' ),
923
  'id' => 'default',
924
  'inherit' => 'var(--form-field-initial-background)'
925
  ],
926
 
927
  [
928
- 'title' => __( 'Focus', 'blc' ),
929
  'id' => 'focus',
930
  'inherit' => 'var(--form-field-focus-background)'
931
  ],
@@ -936,7 +936,7 @@ $options = [
936
  ],
937
 
938
  'account_form_shadow' => [
939
- 'label' => __( 'Modal Shadow', 'blc' ),
940
  'type' => 'ct-box-shadow',
941
  'design' => 'inline',
942
  // 'responsive' => true,
@@ -955,7 +955,7 @@ $options = [
955
  ],
956
 
957
  'account_close_button_color' => [
958
- 'label' => __( 'Close Icon Color', 'blc' ),
959
  'type' => 'ct-color-picker',
960
  'design' => 'inline',
961
  'divider' => 'top',
@@ -973,13 +973,13 @@ $options = [
973
 
974
  'pickers' => [
975
  [
976
- 'title' => __( 'Initial', 'blc' ),
977
  'id' => 'default',
978
  'inherit' => 'rgba(255, 255, 255, 0.7)'
979
  ],
980
 
981
  [
982
- 'title' => __( 'Hover', 'blc' ),
983
  'id' => 'hover',
984
  'inherit' => '#ffffff'
985
  ],
@@ -987,7 +987,7 @@ $options = [
987
  ],
988
 
989
  'account_close_button_shape_color' => [
990
- 'label' => __( 'Close Icon Background', 'blc' ),
991
  'type' => 'ct-color-picker',
992
  'design' => 'inline',
993
  'setting' => [ 'transport' => 'postMessage' ],
@@ -1004,13 +1004,13 @@ $options = [
1004
 
1005
  'pickers' => [
1006
  [
1007
- 'title' => __( 'Initial', 'blc' ),
1008
  'id' => 'default',
1009
  'inherit' => 'rgba(0, 0, 0, 0.5)'
1010
  ],
1011
 
1012
  [
1013
- 'title' => __( 'Hover', 'blc' ),
1014
  'id' => 'hover',
1015
  'inherit' => 'rgba(0, 0, 0, 0.5)'
1016
  ],
@@ -1018,7 +1018,7 @@ $options = [
1018
  ],
1019
 
1020
  'accountHeaderFormBackground' => [
1021
- 'label' => __( 'Modal Background', 'blc' ),
1022
  'type' => 'ct-background',
1023
  'design' => 'inline',
1024
  'divider' => 'top',
@@ -1033,7 +1033,7 @@ $options = [
1033
  ],
1034
 
1035
  'accountHeaderBackground' => [
1036
- 'label' => __( 'Modal Backdrop', 'blc' ),
1037
  'type' => 'ct-background',
1038
  'design' => 'inline',
1039
  'divider' => 'top',
@@ -1063,7 +1063,7 @@ $options = [
1063
  ],
1064
 
1065
  'header_account_visibility' => [
1066
- 'label' => __( 'Element Visibility', 'blc' ),
1067
  'type' => 'ct-visibility',
1068
  'design' => 'block',
1069
  'setting' => [ 'transport' => 'postMessage' ],
@@ -1074,8 +1074,8 @@ $options = [
1074
  ],
1075
 
1076
  'choices' => blocksy_ordered_keys([
1077
- 'tablet' => __( 'Tablet', 'blc' ),
1078
- 'mobile' => __( 'Mobile', 'blc' ),
1079
  ]),
1080
  ],
1081
 
1
  <?php
2
 
3
  $link_options = [
4
+ 'profile' => __( 'Profile Page', 'blocksy-companion' ),
5
+ 'dashboard' => __( 'Dashboard Page', 'blocksy-companion' ),
6
+ // 'menu' => __( 'Menu', 'blocksy-companion' ),
7
+ 'custom' => __( 'Custom Link', 'blocksy-companion' ),
8
+ 'logout' => __( 'Logout', 'blocksy-companion' ),
9
  ];
10
 
11
  $logout_link_options = [
12
+ 'modal' => __( 'Modal', 'blocksy-companion' ),
13
+ 'custom' => __( 'Custom Link', 'blocksy-companion' ),
14
  ];
15
 
16
  if (class_exists('WooCommerce')) {
17
+ $link_options['woocommerce_account'] = __('WooCommerce Account', 'blocksy-companion');
18
+ $logout_link_options['woocommerce_account'] = __('WooCommerce Account', 'blocksy-companion');
19
  }
20
 
21
  $options = [
22
  blocksy_rand_md5() => [
23
  'type' => 'ct-title',
24
+ 'label' => __( 'Customizing: Logged in State', 'blocksy-companion' ),
25
  ],
26
 
27
  'account_state' => [
33
  'choices' => [
34
  'in' => [
35
  'src' => blocksy_image_picker_url( 'log-in-state.svg' ),
36
+ 'title' => __( 'Logged In Options', 'blocksy-companion' ),
37
  ],
38
 
39
  'out' => [
40
  'src' => blocksy_image_picker_url('log-out-state.svg'),
41
+ 'title' => __('Logged Out Options', 'blocksy-companion'),
42
  ],
43
  ],
44
  ],
48
  ],
49
 
50
  blocksy_rand_md5() => [
51
+ 'title' => __( 'General', 'blocksy-companion' ),
52
  'type' => 'tab',
53
  'options' => [
54
 
58
  'options' => [
59
 
60
  'account_link' => [
61
+ 'label' => __( 'Account Action', 'blocksy-companion' ),
62
  'type' => 'ct-select',
63
  'value' => 'profile',
64
  'view' => 'text',
71
  'condition' => [ 'account_link' => 'menu' ],
72
  'options' => [
73
  'loggedin_account_menu' => [
74
+ 'label' => __('Select Menu', 'blocksy-companion'),
75
  'type' => 'ct-select',
76
  'value' => 'blocksy_location',
77
  'view' => 'text',
78
  'design' => 'inline',
79
  'setting' => ['transport' => 'postMessage'],
80
+ 'placeholder' => __('Select menu...', 'blocksy-companion'),
81
  'choices' => blocksy_ordered_keys(blocksy_get_menus_items()),
82
  'desc' => sprintf(
83
  // translators: placeholder here means the actual URL.
84
+ __( 'Manage your menu items in the %sMenus screen%s.', 'blocksy-companion' ),
85
  sprintf(
86
  '<a href="%s" target="_blank">',
87
  admin_url('/nav-menus.php')
98
  'options' => [
99
 
100
  'account_custom_page' => [
101
+ 'label' => __( 'Custom Page Link', 'blocksy-companion' ),
102
  'type' => 'text',
103
  'design' => 'inline',
104
  'disableRevertButton' => true,
113
  ],
114
 
115
  'loggedin_media' => [
116
+ 'label' => __( 'Account Image', 'blocksy-companion' ),
117
  'type' => 'ct-radio',
118
  'design' => 'block',
119
  'view' => 'text',
120
  'value' => 'avatar',
121
  'choices' => [
122
+ 'avatar' => __( 'Avatar', 'blocksy-companion' ),
123
+ 'icon' => __( 'Icon', 'blocksy-companion' ),
124
+ 'none' => __( 'None', 'blocksy-companion' ),
125
  ],
126
  'setting' => [ 'transport' => 'postMessage' ],
127
  ],
132
  'options' => [
133
 
134
  'accountHeaderAvatarSize' => [
135
+ 'label' => __( 'Avatar Size', 'blocksy-companion' ),
136
  'type' => 'ct-slider',
137
  'min' => 10,
138
  'max' => 40,
164
 
165
  'type-1' => [
166
  'src' => blocksy_image_picker_file( 'account-1' ),
167
+ 'title' => __( 'Type 1', 'blocksy-companion' ),
168
  ],
169
 
170
  'type-2' => [
171
  'src' => blocksy_image_picker_file( 'account-2' ),
172
+ 'title' => __( 'Type 2', 'blocksy-companion' ),
173
  ],
174
 
175
  'type-3' => [
176
  'src' => blocksy_image_picker_file( 'account-3' ),
177
+ 'title' => __( 'Type 3', 'blocksy-companion' ),
178
  ],
179
 
180
  'type-4' => [
181
  'src' => blocksy_image_picker_file( 'account-4' ),
182
+ 'title' => __( 'Type 4', 'blocksy-companion' ),
183
  ],
184
 
185
  'type-5' => [
186
  'src' => blocksy_image_picker_file( 'account-5' ),
187
+ 'title' => __( 'Type 5', 'blocksy-companion' ),
188
  ],
189
 
190
  'type-6' => [
191
  'src' => blocksy_image_picker_file( 'account-6' ),
192
+ 'title' => __( 'Type 6', 'blocksy-companion' ),
193
  ],
194
  ],
195
  ],
196
 
197
  'account_loggedin_icon_size' => [
198
+ 'label' => __( 'Icon Size', 'blocksy-companion' ),
199
  'type' => 'ct-slider',
200
  'min' => 5,
201
  'max' => 50,
213
  ],
214
 
215
  'loggedin_account_label_visibility' => [
216
+ 'label' => __( 'Label Visibility', 'blocksy-companion' ),
217
  'type' => 'ct-visibility',
218
  'design' => 'block',
219
  'allow_empty' => true,
225
  ],
226
 
227
  'choices' => blocksy_ordered_keys([
228
+ 'desktop' => __( 'Desktop', 'blocksy-companion' ),
229
+ 'tablet' => __( 'Tablet', 'blocksy-companion' ),
230
+ 'mobile' => __( 'Mobile', 'blocksy-companion' ),
231
  ]),
232
  ],
233
 
249
 
250
  'loggedin_label_position' => [
251
  'type' => 'ct-radio',
252
+ 'label' => __( 'Label Position', 'blocksy-companion' ),
253
  'value' => 'left',
254
  'view' => 'text',
255
  'design' => 'block',
256
  'divider' => 'top',
257
  'responsive' => [ 'tablet' => 'skip' ],
258
  'choices' => [
259
+ 'left' => __( 'Left', 'blocksy-companion' ),
260
+ 'right' => __( 'Right', 'blocksy-companion' ),
261
+ 'bottom' => __( 'Bottom', 'blocksy-companion' ),
262
  ],
263
  ],
264
 
266
  ],
267
 
268
  'loggedin_text' => [
269
+ 'label' => __('Label Type', 'blocksy-companion'),
270
  'type' => 'ct-radio',
271
  'view' => 'text',
272
  'design' => 'block',
274
  'setting' => ['transport' => 'postMessage'],
275
  'value' => 'label',
276
  'choices' => [
277
+ 'label' => __('Text', 'blocksy-companion'),
278
+ 'username' => __('Name', 'blocksy-companion'),
279
  ],
280
  ],
281
 
285
  'options' => [
286
 
287
  'loggedin_label' => [
288
+ 'label' => __('Label Text', 'blocksy-companion'),
289
  'type' => 'text',
290
  'design' => 'block',
291
  'divider' => 'top',
292
  'setting' => ['transport' => 'postMessage'],
293
+ 'value' => __('My Account', 'blocksy-companion')
294
  ],
295
 
296
  ],
308
  'options' => [
309
 
310
  'login_account_action' => [
311
+ 'label' => __( 'Account Action', 'blocksy-companion' ),
312
  'type' => 'ct-select',
313
  'value' => 'modal',
314
  'view' => 'text',
323
  'options' => [
324
 
325
  'loggedout_account_custom_page' => [
326
+ 'label' => __( 'Custom Page Link', 'blocksy-companion' ),
327
  'type' => 'text',
328
  'design' => 'inline',
329
  'disableRevertButton' => true,
339
  ],
340
 
341
  'logged_out_style' => [
342
+ 'label' => __( 'Account Image', 'blocksy-companion' ),
343
  'type' => 'ct-radio',
344
  'design' => 'block',
345
  'view' => 'text',
346
  'value' => 'icon',
347
  'choices' => [
348
+ 'icon' => __( 'Icon', 'blocksy-companion' ),
349
+ 'none' => __( 'None', 'blocksy-companion' ),
350
  ],
351
  'setting' => [ 'transport' => 'postMessage' ],
352
  ],
370
 
371
  'type-1' => [
372
  'src' => blocksy_image_picker_file( 'account-1' ),
373
+ 'title' => __( 'Type 1', 'blocksy-companion' ),
374
  ],
375
 
376
  'type-2' => [
377
  'src' => blocksy_image_picker_file( 'account-2' ),
378
+ 'title' => __( 'Type 2', 'blocksy-companion' ),
379
  ],
380
 
381
  'type-3' => [
382
  'src' => blocksy_image_picker_file( 'account-3' ),
383
+ 'title' => __( 'Type 3', 'blocksy-companion' ),
384
  ],
385
 
386
  'type-4' => [
387
  'src' => blocksy_image_picker_file( 'account-4' ),
388
+ 'title' => __( 'Type 4', 'blocksy-companion' ),
389
  ],
390
 
391
  'type-5' => [
392
  'src' => blocksy_image_picker_file( 'account-5' ),
393
+ 'title' => __( 'Type 5', 'blocksy-companion' ),
394
  ],
395
 
396
  'type-6' => [
397
  'src' => blocksy_image_picker_file( 'account-6' ),
398
+ 'title' => __( 'Type 6', 'blocksy-companion' ),
399
  ],
400
  ],
401
  ],
402
 
403
  'accountHeaderIconSize' => [
404
+ 'label' => __( 'Icon Size', 'blocksy-companion' ),
405
  'type' => 'ct-slider',
406
  'min' => 5,
407
  'max' => 50,
419
  ],
420
 
421
  'loggedout_account_label_visibility' => [
422
+ 'label' => __( 'Label Visibility', 'blocksy-companion' ),
423
  'type' => 'ct-visibility',
424
  'design' => 'block',
425
  'allow_empty' => true,
431
  ],
432
 
433
  'choices' => blocksy_ordered_keys([
434
+ 'desktop' => __( 'Desktop', 'blocksy-companion' ),
435
+ 'tablet' => __( 'Tablet', 'blocksy-companion' ),
436
+ 'mobile' => __( 'Mobile', 'blocksy-companion' ),
437
  ]),
438
  ],
439
 
455
 
456
  'loggedout_label_position' => [
457
  'type' => 'ct-radio',
458
+ 'label' => __( 'Label Position', 'blocksy-companion' ),
459
  'value' => 'left',
460
  'view' => 'text',
461
  'design' => 'block',
462
  'divider' => 'top',
463
  'responsive' => [ 'tablet' => 'skip' ],
464
  'choices' => [
465
+ 'left' => __( 'Left', 'blocksy-companion' ),
466
+ 'right' => __( 'Right', 'blocksy-companion' ),
467
+ 'bottom' => __( 'Bottom', 'blocksy-companion' ),
468
  ],
469
  ],
470
 
472
  ],
473
 
474
  'login_label' => [
475
+ 'label' => __('Label Text', 'blocksy-companion'),
476
  'type' => 'text',
477
  'design' => 'block',
478
  'divider' => 'top',
479
  'disableRevertButton' => true,
480
  'setting' => [ 'transport' => 'postMessage' ],
481
+ 'value' => __('Login', 'blocksy-companion')
482
  ],
483
 
484
  ],
494
 
495
 
496
  blocksy_rand_md5() => [
497
+ 'title' => __( 'Design', 'blocksy-companion' ),
498
  'type' => 'tab',
499
  'options' => [
500
 
501
  'account_label_font' => [
502
  'type' => 'ct-typography',
503
+ 'label' => __( 'Label Font', 'blocksy-companion' ),
504
  'value' => blocksy_typography_default_values([
505
  'size' => '12px',
506
  'variation' => 'n6',
511
 
512
  blocksy_rand_md5() => [
513
  'type' => 'ct-labeled-group',
514
+ 'label' => __( 'Label Color', 'blocksy-companion' ),
515
  'responsive' => true,
516
  'choices' => [
517
  [
518
  'id' => 'accountHeaderColor',
519
+ 'label' => __('Default State', 'blocksy-companion')
520
  ],
521
 
522
  [
523
  'id' => 'transparentAccountHeaderColor',
524
+ 'label' => __('Transparent State', 'blocksy-companion'),
525
  'condition' => [
526
  'row' => '!offcanvas',
527
  'builderSettings/has_transparent_header' => 'yes',
530
 
531
  [
532
  'id' => 'stickyAccountHeaderColor',
533
+ 'label' => __('Sticky State', 'blocksy-companion'),
534
  'condition' => [
535
  'row' => '!offcanvas',
536
  'builderSettings/has_sticky_header' => 'yes',
540
  'options' => [
541
 
542
  'accountHeaderColor' => [
543
+ 'label' => __( 'Label Color', 'blocksy-companion' ),
544
  'type' => 'ct-color-picker',
545
  'design' => 'block:right',
546
  'responsive' => true,
558
 
559
  'pickers' => [
560
  [
561
+ 'title' => __( 'Initial', 'blocksy-companion' ),
562
  'id' => 'default',
563
  'inherit' => 'var(--color)'
564
  ],
565
 
566
  [
567
+ 'title' => __( 'Hover', 'blocksy-companion' ),
568
  'id' => 'hover',
569
  'inherit' => 'var(--linkHoverColor)'
570
  ],
572
  ],
573
 
574
  'transparentAccountHeaderColor' => [
575
+ 'label' => __( 'Label Color', 'blocksy-companion' ),
576
  'type' => 'ct-color-picker',
577
  'design' => 'block:right',
578
  'responsive' => true,
590
 
591
  'pickers' => [
592
  [
593
+ 'title' => __( 'Initial', 'blocksy-companion' ),
594
  'id' => 'default',
595
  ],
596
 
597
  [
598
+ 'title' => __( 'Hover', 'blocksy-companion' ),
599
  'id' => 'hover',
600
  ],
601
  ],
602
  ],
603
 
604
  'stickyAccountHeaderColor' => [
605
+ 'label' => __( 'Label Color', 'blocksy-companion' ),
606
  'type' => 'ct-color-picker',
607
  'design' => 'block:right',
608
  'responsive' => true,
620
 
621
  'pickers' => [
622
  [
623
+ 'title' => __( 'Initial', 'blocksy-companion' ),
624
  'id' => 'default',
625
  ],
626
 
627
  [
628
+ 'title' => __( 'Hover', 'blocksy-companion' ),
629
  'id' => 'hover',
630
  ],
631
  ],
657
  'options' => [
658
  blocksy_rand_md5() => [
659
  'type' => 'ct-labeled-group',
660
+ 'label' => __( 'Icon Color', 'blocksy-companion' ),
661
  'responsive' => true,
662
  'choices' => [
663
  [
664
  'id' => 'header_account_icon_color',
665
+ 'label' => __('Default State', 'blocksy-companion'),
666
  ],
667
 
668
  [
669
  'id' => 'transparent_header_account_icon_color',
670
+ 'label' => __('Transparent State', 'blocksy-companion'),
671
  'condition' => [
672
  'row' => '!offcanvas',
673
  'builderSettings/has_transparent_header' => 'yes',
676
 
677
  [
678
  'id' => 'sticky_header_account_icon_color',
679
+ 'label' => __('Sticky State', 'blocksy-companion'),
680
  'condition' => [
681
  'row' => '!offcanvas',
682
  'builderSettings/has_sticky_header' => 'yes',
685
  ],
686
  'options' => [
687
  'header_account_icon_color' => [
688
+ 'label' => __( 'Icon Color', 'blocksy-companion' ),
689
  'type' => 'ct-color-picker',
690
  'design' => 'block:right',
691
  'responsive' => true,
702
 
703
  'pickers' => [
704
  [
705
+ 'title' => __( 'Initial', 'blocksy-companion' ),
706
  'id' => 'default',
707
  'inherit' => 'var(--color)',
708
  ],
709
 
710
  [
711
+ 'title' => __( 'Hover', 'blocksy-companion' ),
712
  'id' => 'hover',
713
  'inherit' => 'var(--paletteColor2)',
714
  ],
716
  ],
717
 
718
  'transparent_header_account_icon_color' => [
719
+ 'label' => __( 'Icon Color', 'blocksy-companion' ),
720
  'type' => 'ct-color-picker',
721
  'design' => 'block:right',
722
  'responsive' => true,
733
 
734
  'pickers' => [
735
  [
736
+ 'title' => __( 'Initial', 'blocksy-companion' ),
737
  'id' => 'default',
738
  ],
739
 
740
  [
741
+ 'title' => __( 'Hover', 'blocksy-companion' ),
742
  'id' => 'hover',
743
  ],
744
  ],
745
  ],
746
 
747
  'sticky_header_account_icon_color' => [
748
+ 'label' => __( 'Icon Color', 'blocksy-companion' ),
749
  'type' => 'ct-color-picker',
750
  'design' => 'block:right',
751
  'responsive' => true,
762
 
763
  'pickers' => [
764
  [
765
+ 'title' => __( 'Initial', 'blocksy-companion' ),
766
  'id' => 'default',
767
  ],
768
 
769
  [
770
+ 'title' => __( 'Hover', 'blocksy-companion' ),
771
  'id' => 'hover',
772
  ],
773
  ],
782
  ],
783
 
784
  'accountHeaderMargin' => [
785
+ 'label' => __( 'Item Margin', 'blocksy-companion' ),
786
  'type' => 'ct-spacing',
787
  'setting' => [ 'transport' => 'postMessage' ],
788
  'value' => blocksy_spacing_value([
801
 
802
  blocksy_rand_md5() => [
803
  'type' => 'ct-title',
804
+ 'label' => __( 'Modal Options', 'blocksy-companion' ),
805
  ],
806
 
807
  'account_modal_font_color' => [
808
+ 'label' => __( 'Font Color', 'blocksy-companion' ),
809
  'type' => 'ct-color-picker',
810
  'design' => 'inline',
811
  'divider' => 'bottom',
823
 
824
  'pickers' => [
825
  [
826
+ 'title' => __( 'Initial', 'blocksy-companion' ),
827
  'id' => 'default',
828
  'inherit' => 'var(--color)'
829
  ],
830
 
831
  [
832
+ 'title' => __( 'Hover', 'blocksy-companion' ),
833
  'id' => 'hover',
834
  'inherit' => 'var(--linkHoverColor)'
835
  ],
837
  ],
838
 
839
  'account_modal_form_text_color' => [
840
+ 'label' => __( 'Input Font Color', 'blocksy-companion' ),
841
  'type' => 'ct-color-picker',
842
  'design' => 'inline',
843
  'setting' => [ 'transport' => 'postMessage' ],
853
 
854
  'pickers' => [
855
  [
856
+ 'title' => __( 'Initial', 'blocksy-companion' ),
857
  'id' => 'default',
858
  'inherit' => 'var(--form-text-initial-color, var(--color))'
859
  ],
860
 
861
  [
862
+ 'title' => __( 'Focus', 'blocksy-companion' ),
863
  'id' => 'focus',
864
  'inherit' => 'var(--form-text-focus-color, var(--color))'
865
  ],
867
  ],
868
 
869
  'account_modal_form_border_color' => [
870
+ 'label' => __( 'Input Border Color', 'blocksy-companion' ),
871
  'type' => 'ct-color-picker',
872
  'design' => 'inline',
873
  'setting' => [ 'transport' => 'postMessage' ],
883
 
884
  'pickers' => [
885
  [
886
+ 'title' => __( 'Initial', 'blocksy-companion' ),
887
  'id' => 'default',
888
  'inherit' => 'var(--form-field-border-initial-color)'
889
  ],
890
 
891
  [
892
+ 'title' => __( 'Focus', 'blocksy-companion' ),
893
  'id' => 'focus',
894
  'inherit' => 'var(--form-field-border-focus-color)'
895
  ],
903
  'options' => [
904
 
905
  'account_modal_form_background_color' => [
906
+ 'label' => __( 'Input Background Color', 'blocksy-companion' ),
907
  'type' => 'ct-color-picker',
908
  'design' => 'inline',
909
  'setting' => [ 'transport' => 'postMessage' ],
919
 
920
  'pickers' => [
921
  [
922
+ 'title' => __( 'Initial', 'blocksy-companion' ),
923
  'id' => 'default',
924
  'inherit' => 'var(--form-field-initial-background)'
925
  ],
926
 
927
  [
928
+ 'title' => __( 'Focus', 'blocksy-companion' ),
929
  'id' => 'focus',
930
  'inherit' => 'var(--form-field-focus-background)'
931
  ],
936
  ],
937
 
938
  'account_form_shadow' => [
939
+ 'label' => __( 'Modal Shadow', 'blocksy-companion' ),
940
  'type' => 'ct-box-shadow',
941
  'design' => 'inline',
942
  // 'responsive' => true,
955
  ],
956
 
957
  'account_close_button_color' => [
958
+ 'label' => __( 'Close Icon Color', 'blocksy-companion' ),
959
  'type' => 'ct-color-picker',
960
  'design' => 'inline',
961
  'divider' => 'top',
973
 
974
  'pickers' => [
975
  [
976
+ 'title' => __( 'Initial', 'blocksy-companion' ),
977
  'id' => 'default',
978
  'inherit' => 'rgba(255, 255, 255, 0.7)'
979
  ],
980
 
981
  [
982
+ 'title' => __( 'Hover', 'blocksy-companion' ),
983
  'id' => 'hover',
984
  'inherit' => '#ffffff'
985
  ],
987
  ],
988
 
989
  'account_close_button_shape_color' => [
990
+ 'label' => __( 'Close Icon Background', 'blocksy-companion' ),
991
  'type' => 'ct-color-picker',
992
  'design' => 'inline',
993
  'setting' => [ 'transport' => 'postMessage' ],
1004
 
1005
  'pickers' => [
1006
  [
1007
+ 'title' => __( 'Initial', 'blocksy-companion' ),
1008
  'id' => 'default',
1009
  'inherit' => 'rgba(0, 0, 0, 0.5)'
1010
  ],
1011
 
1012
  [
1013
+ 'title' => __( 'Hover', 'blocksy-companion' ),
1014
  'id' => 'hover',
1015
  'inherit' => 'rgba(0, 0, 0, 0.5)'
1016
  ],
1018
  ],
1019
 
1020
  'accountHeaderFormBackground' => [
1021
+ 'label' => __( 'Modal Background', 'blocksy-companion' ),
1022
  'type' => 'ct-background',
1023
  'design' => 'inline',
1024
  'divider' => 'top',
1033
  ],
1034
 
1035
  'accountHeaderBackground' => [
1036
+ 'label' => __( 'Modal Backdrop', 'blocksy-companion' ),
1037
  'type' => 'ct-background',
1038
  'design' => 'inline',
1039
  'divider' => 'top',
1063
  ],
1064
 
1065
  'header_account_visibility' => [
1066
+ 'label' => __( 'Element Visibility', 'blocksy-companion' ),
1067
  'type' => 'ct-visibility',
1068
  'design' => 'block',
1069
  'setting' => [ 'transport' => 'postMessage' ],
1074
  ],
1075
 
1076
  'choices' => blocksy_ordered_keys([
1077
+ 'tablet' => __( 'Tablet', 'blocksy-companion' ),
1078
+ 'mobile' => __( 'Mobile', 'blocksy-companion' ),
1079
  ]),
1080
  ],
1081
 
framework/features/header/items/account/view.php CHANGED
@@ -13,18 +13,18 @@ if (is_customize_preview()) {
13
  }
14
 
15
  $icon = apply_filters('blocksy:header:account:icons', [
16
- 'type-1' => '<svg class="ct-icon" width="15" height="15" viewBox="0 0 15 15" aria-label="' . __('Account header icon', 'blc') . '"><path d="M7.5,0C3.4,0,0,3.4,0,7.5c0,1.7,0.5,3.2,1.5,4.5c1.4,1.9,3.6,3,6,3s4.6-1.1,6-3c1-1.3,1.5-2.9,1.5-4.5C15,3.4,11.6,0,7.5,0zM7.5,13.5c-1.4,0-2.8-0.5-3.8-1.4c1.1-0.9,2.4-1.4,3.8-1.4s2.8,0.5,3.8,1.4C10.3,13,8.9,13.5,7.5,13.5z M12.3,11c-1.3-1.1-3-1.8-4.8-1.8S4,9.9,2.7,11c-0.8-1-1.2-2.2-1.2-3.5c0-3.3,2.7-6,6-6s6,2.7,6,6C13.5,8.8,13.1,10,12.3,11zM7.5,3C6.1,3,5,4.1,5,5.5S6.1,8,7.5,8S10,6.9,10,5.5S8.9,3,7.5,3zM7.5,6.5c-0.5,0-1-0.5-1-1s0.5-1,1-1s1,0.5,1,1S8,6.5,7.5,6.5z"/></svg>',
17
 
18
- 'type-2' => '<svg class="ct-icon" width="15" height="15" viewBox="0 0 15 15" aria-label="' . __('Account header icon', 'blc') . '"><path d="M13,7V6.1h0V3.9c0-1.4-1.1-2.6-2.6-2.6H9.7c0,0-0.6-1.3-3.2-1.3C4.1,0,1.9,2,2,4.5V7C1.4,7.4,1,8.1,1,8.8c0,0.9,0.6,1.8,1.4,2.1c0.8,2.1,2.7,3.7,4.9,4l0.1,0l0.1,0c2.3-0.4,4.1-1.9,5-4c0.8-0.3,1.4-1.2,1.4-2.1C14,8.1,13.6,7.4,13,7zM11.9,9.6l-0.5,0.1l-0.1,0.4c-0.5,1.7-2,3-3.8,3.3c-1.8-0.3-3.2-1.6-3.8-3.4L3.6,9.6L3.1,9.6C2.8,9.5,2.5,9.2,2.5,8.8c0-0.3,0.2-0.6,0.5-0.7L3.5,8V6.5h2.2c1.1,0,2-0.5,2.4-1.3h1.6c0.8,0,1.6,0.5,1.8,1.3V8L12,8.2c0.3,0.1,0.5,0.4,0.5,0.7C12.5,9.3,12.2,9.6,11.9,9.6z"/></svg>',
19
 
20
- 'type-3' => '<svg class="ct-icon" width="15" height="15" viewBox="0 0 15 15" aria-label="' . __('Account header icon', 'blc') . '"><path d="M10.5,9h-6c-2.1,0-3.8,1.7-3.8,3.8v1.5c0,0.4,0.3,0.8,0.8,0.8s0.8-0.3,0.8-0.8v-1.5c0-1.2,1-2.2,2.2-2.2h6c1.2,0,2.2,1,2.2,2.2v1.5c0,0.4,0.3,0.8,0.8,0.8s0.8-0.3,0.8-0.8v-1.5C14.2,10.7,12.6,9,10.5,9zM7.5,7C9.4,7,11,5.4,11,3.5
21
  S9.4,0,7.5,0S4,1.6,4,3.5S5.6,7,7.5,7zM7.5,1.5c1.1,0,2,0.9,2,2s-0.9,2-2,2s-2-0.9-2-2S6.4,1.5,7.5,1.5z"/></svg>',
22
 
23
- 'type-4' => '<svg class="ct-icon" width="15" height="15" viewBox="0 0 15 15" aria-label="' . __('Account header icon', 'blc') . '"><path d="M7.5 0C3.4 0 0 3.4 0 7.5S3.4 15 7.5 15 15 11.6 15 7.5 11.6 0 7.5 0zm0 2.1c1.4 0 2.5 1.1 2.5 2.4S8.9 7 7.5 7 5 5.9 5 4.5s1.1-2.4 2.5-2.4zm0 11.4c-2.1 0-3.9-1-5-2.6C3.4 9.6 6 9 7.5 9s4.1.6 5 1.9c-1.1 1.6-2.9 2.6-5 2.6z"/></svg>',
24
 
25
- 'type-5' => '<svg class="ct-icon" width="15" height="15" viewBox="0 0 15 15" aria-label="' . __('Account header icon', 'blc') . '"><path d="M7.5,0C3.4,0,0,3.4,0,7.5S3.4,15,7.5,15S15,11.6,15,7.5S11.6,0,7.5,0z M11.6,11.9c-0.5-0.6-1.5-1-2.7-1.3c0,0-0.6-0.2-0.4-0.7c0.6-0.6,0.7-1.1,0.7-1.2c0,0,0.6-0.5,0.6-1.1C10,7,9.8,6.9,9.8,6.9c0.2-0.7,0.3-3.3-1.4-3C8.1,3.4,6.4,3,5.7,4.4C5.3,5.1,5.1,6.2,5.5,6.9c0,0-0.1-0.1-0.2,0.3c0,0.4,0.2,0.9,0.4,1.1c0.1,0.1,0.2,0.2,0.3,0.2c0,0,0.1,0.6,0.6,1.2c0.1,0.6-0.4,0.8-0.4,0.8c-1.2,0.2-2.3,0.7-2.7,1.4c-1.2-1.1-1.9-2.6-1.9-4.4c0-3.3,2.7-6,6-6s6,2.7,6,6C13.5,9.2,12.8,10.8,11.6,11.9z"/></svg>',
26
 
27
- 'type-6' => '<svg class="ct-icon" width="15" height="15" viewBox="0 0 15 15" aria-label="' . __('Account header icon', 'blc') . '"><path d="M14.2,5.2l-6.3-5C7.6-0.1,7.2-0.1,7,0.2l-6.2,5C0.6,5.3,0.5,5.5,0.5,5.7v7.5c0,1,0.8,1.8,1.8,1.8h10.5c1,0,1.8-0.8,1.8-1.8V5.7C14.5,5.5,14.4,5.3,14.2,5.2z M8.8,13.5H6.3V9h2.5V13.5zM13,13.2c0,0.1-0.1,0.2-0.2,0.2h-2.5V8.2c0-0.4-0.3-0.8-0.8-0.8h-4c-0.4,0-0.8,0.3-0.8,0.8v5.2H2.3c-0.1,0-0.2-0.1-0.2-0.2V6.1l5.4-4.4L13,6.1V13.2z"/></svg>',
28
  ]);
29
 
30
  $path = 'login';
13
  }
14
 
15
  $icon = apply_filters('blocksy:header:account:icons', [
16
+ 'type-1' => '<svg class="ct-icon" width="15" height="15" viewBox="0 0 15 15" aria-label="' . __('Account header icon', 'blocksy-companion') . '"><path d="M7.5,0C3.4,0,0,3.4,0,7.5c0,1.7,0.5,3.2,1.5,4.5c1.4,1.9,3.6,3,6,3s4.6-1.1,6-3c1-1.3,1.5-2.9,1.5-4.5C15,3.4,11.6,0,7.5,0zM7.5,13.5c-1.4,0-2.8-0.5-3.8-1.4c1.1-0.9,2.4-1.4,3.8-1.4s2.8,0.5,3.8,1.4C10.3,13,8.9,13.5,7.5,13.5z M12.3,11c-1.3-1.1-3-1.8-4.8-1.8S4,9.9,2.7,11c-0.8-1-1.2-2.2-1.2-3.5c0-3.3,2.7-6,6-6s6,2.7,6,6C13.5,8.8,13.1,10,12.3,11zM7.5,3C6.1,3,5,4.1,5,5.5S6.1,8,7.5,8S10,6.9,10,5.5S8.9,3,7.5,3zM7.5,6.5c-0.5,0-1-0.5-1-1s0.5-1,1-1s1,0.5,1,1S8,6.5,7.5,6.5z"/></svg>',
17
 
18
+ 'type-2' => '<svg class="ct-icon" width="15" height="15" viewBox="0 0 15 15" aria-label="' . __('Account header icon', 'blocksy-companion') . '"><path d="M13,7V6.1h0V3.9c0-1.4-1.1-2.6-2.6-2.6H9.7c0,0-0.6-1.3-3.2-1.3C4.1,0,1.9,2,2,4.5V7C1.4,7.4,1,8.1,1,8.8c0,0.9,0.6,1.8,1.4,2.1c0.8,2.1,2.7,3.7,4.9,4l0.1,0l0.1,0c2.3-0.4,4.1-1.9,5-4c0.8-0.3,1.4-1.2,1.4-2.1C14,8.1,13.6,7.4,13,7zM11.9,9.6l-0.5,0.1l-0.1,0.4c-0.5,1.7-2,3-3.8,3.3c-1.8-0.3-3.2-1.6-3.8-3.4L3.6,9.6L3.1,9.6C2.8,9.5,2.5,9.2,2.5,8.8c0-0.3,0.2-0.6,0.5-0.7L3.5,8V6.5h2.2c1.1,0,2-0.5,2.4-1.3h1.6c0.8,0,1.6,0.5,1.8,1.3V8L12,8.2c0.3,0.1,0.5,0.4,0.5,0.7C12.5,9.3,12.2,9.6,11.9,9.6z"/></svg>',
19
 
20
+ 'type-3' => '<svg class="ct-icon" width="15" height="15" viewBox="0 0 15 15" aria-label="' . __('Account header icon', 'blocksy-companion') . '"><path d="M10.5,9h-6c-2.1,0-3.8,1.7-3.8,3.8v1.5c0,0.4,0.3,0.8,0.8,0.8s0.8-0.3,0.8-0.8v-1.5c0-1.2,1-2.2,2.2-2.2h6c1.2,0,2.2,1,2.2,2.2v1.5c0,0.4,0.3,0.8,0.8,0.8s0.8-0.3,0.8-0.8v-1.5C14.2,10.7,12.6,9,10.5,9zM7.5,7C9.4,7,11,5.4,11,3.5
21
  S9.4,0,7.5,0S4,1.6,4,3.5S5.6,7,7.5,7zM7.5,1.5c1.1,0,2,0.9,2,2s-0.9,2-2,2s-2-0.9-2-2S6.4,1.5,7.5,1.5z"/></svg>',
22
 
23
+ 'type-4' => '<svg class="ct-icon" width="15" height="15" viewBox="0 0 15 15" aria-label="' . __('Account header icon', 'blocksy-companion') . '"><path d="M7.5 0C3.4 0 0 3.4 0 7.5S3.4 15 7.5 15 15 11.6 15 7.5 11.6 0 7.5 0zm0 2.1c1.4 0 2.5 1.1 2.5 2.4S8.9 7 7.5 7 5 5.9 5 4.5s1.1-2.4 2.5-2.4zm0 11.4c-2.1 0-3.9-1-5-2.6C3.4 9.6 6 9 7.5 9s4.1.6 5 1.9c-1.1 1.6-2.9 2.6-5 2.6z"/></svg>',
24
 
25
+ 'type-5' => '<svg class="ct-icon" width="15" height="15" viewBox="0 0 15 15" aria-label="' . __('Account header icon', 'blocksy-companion') . '"><path d="M7.5,0C3.4,0,0,3.4,0,7.5S3.4,15,7.5,15S15,11.6,15,7.5S11.6,0,7.5,0z M11.6,11.9c-0.5-0.6-1.5-1-2.7-1.3c0,0-0.6-0.2-0.4-0.7c0.6-0.6,0.7-1.1,0.7-1.2c0,0,0.6-0.5,0.6-1.1C10,7,9.8,6.9,9.8,6.9c0.2-0.7,0.3-3.3-1.4-3C8.1,3.4,6.4,3,5.7,4.4C5.3,5.1,5.1,6.2,5.5,6.9c0,0-0.1-0.1-0.2,0.3c0,0.4,0.2,0.9,0.4,1.1c0.1,0.1,0.2,0.2,0.3,0.2c0,0,0.1,0.6,0.6,1.2c0.1,0.6-0.4,0.8-0.4,0.8c-1.2,0.2-2.3,0.7-2.7,1.4c-1.2-1.1-1.9-2.6-1.9-4.4c0-3.3,2.7-6,6-6s6,2.7,6,6C13.5,9.2,12.8,10.8,11.6,11.9z"/></svg>',
26
 
27
+ 'type-6' => '<svg class="ct-icon" width="15" height="15" viewBox="0 0 15 15" aria-label="' . __('Account header icon', 'blocksy-companion') . '"><path d="M14.2,5.2l-6.3-5C7.6-0.1,7.2-0.1,7,0.2l-6.2,5C0.6,5.3,0.5,5.5,0.5,5.7v7.5c0,1,0.8,1.8,1.8,1.8h10.5c1,0,1.8-0.8,1.8-1.8V5.7C14.5,5.5,14.4,5.3,14.2,5.2z M8.8,13.5H6.3V9h2.5V13.5zM13,13.2c0,0.1-0.1,0.2-0.2,0.2h-2.5V8.2c0-0.4-0.3-0.8-0.8-0.8h-4c-0.4,0-0.8,0.3-0.8,0.8v5.2H2.3c-0.1,0-0.2-0.1-0.2-0.2V6.1l5.4-4.4L13,6.1V13.2z"/></svg>',
28
  ]);
29
 
30
  $path = 'login';
framework/features/header/items/account/views/login.php CHANGED
@@ -64,7 +64,7 @@ if ($loggedin_media === 'icon') {
64
  }
65
 
66
  // Label
67
- $loggedin_label = blocksy_akg('loggedin_label', $atts, __('My Account', 'blc'));
68
 
69
  if (blocksy_akg('loggedin_text', $atts, 'label') === 'username') {
70
  $user = wp_get_current_user();
64
  }
65
 
66
  // Label
67
+ $loggedin_label = blocksy_akg('loggedin_label', $atts, __('My Account', 'blocksy-companion'));
68
 
69
  if (blocksy_akg('loggedin_text', $atts, 'label') === 'username') {
70
  $user = wp_get_current_user();
framework/features/header/items/account/views/logout.php CHANGED
@@ -1,6 +1,6 @@
1
  <?php
2
 
3
- $login_label = blocksy_akg('login_label', $atts, __('Login', 'blc'));
4
 
5
  $loggedout_account_label_visibility = blocksy_akg(
6
  'loggedout_account_label_visibility',
1
  <?php
2
 
3
+ $login_label = blocksy_akg('login_label', $atts, __('Login', 'blocksy-companion'));
4
 
5
  $loggedout_account_label_visibility = blocksy_akg(
6
  'loggedout_account_label_visibility',
framework/features/header/modal/login.php CHANGED
@@ -14,23 +14,23 @@ $redirect_to_url = apply_filters(
14
  <?php do_action('blocksy:account:modal:login:start'); ?>
15
 
16
  <p class="login-username">
17
- <label for="user_login"><?php echo __('Email Address', 'blc') ?></label>
18
  <input type="text" name="log" id="user_login" class="input" value="" size="20">
19
  </p>
20
 
21
  <p class="login-password">
22
- <label for="user_pass"><?php echo __('Password', 'blc') ?></label>
23
  <input type="password" name="pwd" id="user_pass" class="input" value="" size="20">
24
  </p>
25
 
26
  <p class="login-remember col-2">
27
  <label>
28
  <input name="rememberme" type="checkbox" id="rememberme" class="ct-checkbox" value="forever">
29
- <?php echo __('Remember Me', 'blc') ?>
30
  </label>
31
 
32
  <a href="<?php echo wp_lostpassword_url() ?>" class="ct-forgot-password">
33
- <?php echo __('Forgot Password?', 'blc') ?>
34
  </a>
35
  </p>
36
 
@@ -38,7 +38,7 @@ $redirect_to_url = apply_filters(
38
 
39
  <p class="login-submit">
40
  <button name="wp-submit" class="ct-button">
41
- <?php echo __('Log In', 'blc') ?>
42
  </button>
43
 
44
  <input type="hidden" name="redirect_to" value="<?php echo $redirect_to_url ?>">
14
  <?php do_action('blocksy:account:modal:login:start'); ?>
15
 
16
  <p class="login-username">
17
+ <label for="user_login"><?php echo __('Email Address', 'blocksy-companion') ?></label>
18
  <input type="text" name="log" id="user_login" class="input" value="" size="20">
19
  </p>
20
 
21
  <p class="login-password">
22
+ <label for="user_pass"><?php echo __('Password', 'blocksy-companion') ?></label>
23
  <input type="password" name="pwd" id="user_pass" class="input" value="" size="20">
24
  </p>
25
 
26
  <p class="login-remember col-2">
27
  <label>
28
  <input name="rememberme" type="checkbox" id="rememberme" class="ct-checkbox" value="forever">
29
+ <?php echo __('Remember Me', 'blocksy-companion') ?>
30
  </label>
31
 
32
  <a href="<?php echo wp_lostpassword_url() ?>" class="ct-forgot-password">
33
+ <?php echo __('Forgot Password?', 'blocksy-companion') ?>
34
  </a>
35
  </p>
36
 
38
 
39
  <p class="login-submit">
40
  <button name="wp-submit" class="ct-button">
41
+ <?php echo __('Log In', 'blocksy-companion') ?>
42
  </button>
43
 
44
  <input type="hidden" name="redirect_to" value="<?php echo $redirect_to_url ?>">
framework/features/header/modal/lostpassword.php CHANGED
@@ -2,13 +2,13 @@
2
  <?php do_action('blocksy:account:modal:lostpassword:start'); ?>
3
 
4
  <p>
5
- <label for="user_login_forgot"><?php echo __('Username or Email Address', 'blc')?></label>
6
  <input type="text" name="user_login" id="user_login_forgot" class="input" value="" size="20" autocapitalize="off" required>
7
  </p>
8
 
9
  <p>
10
  <button name="wp-submit" class="ct-button">
11
- <?php echo __('Get New Password', 'blc') ?>
12
  </button>
13
 
14
  <!-- <input type="hidden" name="redirect_to" value="<?php echo blocksy_current_url() ?>"> -->
2
  <?php do_action('blocksy:account:modal:lostpassword:start'); ?>
3
 
4
  <p>
5
+ <label for="user_login_forgot"><?php echo __('Username or Email Address', 'blocksy-companion')?></label>
6
  <input type="text" name="user_login" id="user_login_forgot" class="input" value="" size="20" autocapitalize="off" required>
7
  </p>
8
 
9
  <p>
10
  <button name="wp-submit" class="ct-button">
11
+ <?php echo __('Get New Password', 'blocksy-companion') ?>
12
  </button>
13
 
14
  <!-- <input type="hidden" name="redirect_to" value="<?php echo blocksy_current_url() ?>"> -->
framework/features/header/modal/register.php CHANGED
@@ -3,24 +3,24 @@
3
  <?php do_action('blocksy:account:modal:register:start'); ?>
4
 
5
  <p>
6
- <label for="user_login_register"><?php echo __('Username', 'blc') ?></label>
7
  <input type="text" name="user_login" id="user_login_register" class="input" value="" size="20" autocapitalize="off">
8
  </p>
9
 
10
  <p>
11
- <label for="user_email"><?php echo __('Email', 'blc') ?></label>
12
  <input type="email" name="user_email" id="user_email" class="input" value="" size="25">
13
  </p>
14
 
15
  <?php do_action('register_form') ?>
16
 
17
  <p id="reg_passmail">
18
- <?php echo __('Registration confirmation will be emailed to you', 'blc') ?>
19
  </p>
20
 
21
  <p>
22
  <button name="wp-submit" class="ct-button">
23
- <?php echo __('Register', 'blc') ?>
24
  </button>
25
 
26
  <!-- <input type="hidden" name="redirect_to" value="<?php echo blocksy_current_url() ?>"> -->
3
  <?php do_action('blocksy:account:modal:register:start'); ?>
4
 
5
  <p>
6
+ <label for="user_login_register"><?php echo __('Username', 'blocksy-companion') ?></label>
7
  <input type="text" name="user_login" id="user_login_register" class="input" value="" size="20" autocapitalize="off">
8
  </p>
9
 
10
  <p>
11
+ <label for="user_email"><?php echo __('Email', 'blocksy-companion') ?></label>
12
  <input type="email" name="user_email" id="user_email" class="input" value="" size="25">
13
  </p>
14
 
15
  <?php do_action('register_form') ?>
16
 
17
  <p id="reg_passmail">
18
+ <?php echo __('Registration confirmation will be emailed to you', 'blocksy-companion') ?>
19
  </p>
20
 
21
  <p>
22
  <button name="wp-submit" class="ct-button">
23
+ <?php echo __('Register', 'blocksy-companion') ?>
24
  </button>
25
 
26
  <!-- <input type="hidden" name="redirect_to" value="<?php echo blocksy_current_url() ?>"> -->
framework/features/opengraph-meta-data.php CHANGED
@@ -14,10 +14,10 @@ class OpenGraphMetaData {
14
  ],
15
 
16
  'enable_opengraph' => [
17
- 'label' => __( 'OpenGraph Meta Data', 'blc' ),
18
  'type' => 'ct-switch',
19
  'value' => 'no',
20
- 'desc' => __( 'Enable the OpenGraph rich meta data features for your website.', 'blc' ),
21
  ],
22
 
23
  blocksy_rand_md5() => [
@@ -26,21 +26,21 @@ class OpenGraphMetaData {
26
  'options' => [
27
 
28
  'opengraph_facebook_page_url' => [
29
- 'label' => __( 'Facebook Page URL', 'blc' ),
30
  'type' => 'text',
31
  'design' => 'inline',
32
  'value' => ''
33
  ],
34
 
35
  'opengraph_facebook_app_id' => [
36
- 'label' => __( 'Facebook App ID', 'blc' ),
37
  'type' => 'text',
38
  'design' => 'inline',
39
  'value' => ''
40
  ],
41
 
42
  'opengraph_twitter_username' => [
43
- 'label' => __( 'Twitter Username', 'blc' ),
44
  'type' => 'text',
45
  'design' => 'inline',
46
  'value' => ''
14
  ],
15
 
16
  'enable_opengraph' => [
17
+ 'label' => __( 'OpenGraph Meta Data', 'blocksy-companion' ),
18
  'type' => 'ct-switch',
19
  'value' => 'no',
20
+ 'desc' => __( 'Enable the OpenGraph rich meta data features for your website.', 'blocksy-companion' ),
21
  ],
22
 
23
  blocksy_rand_md5() => [
26
  'options' => [
27
 
28
  'opengraph_facebook_page_url' => [
29
+ 'label' => __( 'Facebook Page URL', 'blocksy-companion' ),
30
  'type' => 'text',
31
  'design' => 'inline',
32
  'value' => ''
33
  ],
34
 
35
  'opengraph_facebook_app_id' => [
36
+ 'label' => __( 'Facebook App ID', 'blocksy-companion' ),
37
  'type' => 'text',
38
  'design' => 'inline',
39
  'value' => ''
40
  ],
41
 
42
  'opengraph_twitter_username' => [
43
+ 'label' => __( 'Twitter Username', 'blocksy-companion' ),
44
  'type' => 'text',
45
  'design' => 'inline',
46
  'value' => ''
framework/helpers/helpers.php CHANGED
@@ -1,5 +1,21 @@
1
  <?php
2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  function blc_get_ext($id) {
4
  return \Blocksy\Plugin::instance()->extensions->get($id);
5
  }
1
  <?php
2
 
3
+ function blc_empty_site_host_and_domain_for($url) {
4
+ $parsed_url = parse_url(get_site_url());
5
+
6
+ $to_replace = $parsed_url['scheme'] . '://' . $parsed_url['host'];
7
+
8
+ if (isset($parsed_url['port'])) {
9
+ $to_replace .= ':' . $parsed_url['port'];
10
+ }
11
+
12
+ return str_replace(
13
+ $to_replace,
14
+ '',
15
+ $url
16
+ );
17
+ }
18
+
19
  function blc_get_ext($id) {
20
  return \Blocksy\Plugin::instance()->extensions->get($id);
21
  }
framework/theme-integration.php CHANGED
@@ -273,20 +273,20 @@ class ThemeIntegration {
273
  add_filter(
274
  'user_contactmethods',
275
  function ( $field ) {
276
- $fields['facebook'] = __( 'Facebook', 'blc' );
277
- $fields['twitter'] = __( 'Twitter', 'blc' );
278
- $fields['linkedin'] = __( 'LinkedIn', 'blc' );
279
- $fields['dribbble'] = __( 'Dribbble', 'blc' );
280
- $fields['instagram'] = __( 'Instagram', 'blc' );
281
- $fields['pinterest'] = __( 'Pinterest', 'blc' );
282
- $fields['wordpress'] = __( 'WordPress', 'blc' );
283
- $fields['github'] = __( 'GitHub', 'blc' );
284
- $fields['medium'] = __( 'Medium', 'blc' );
285
- $fields['youtube'] = __( 'YouTube', 'blc' );
286
- $fields['vimeo'] = __( 'Vimeo', 'blc' );
287
- $fields['vkontakte'] = __( 'VKontakte', 'blc' );
288
- $fields['odnoklassniki'] = __( 'Odnoklassniki', 'blc' );
289
- $fields['tiktok'] = __( 'TikTok', 'blc' );
290
 
291
  return $fields;
292
  }
@@ -358,7 +358,7 @@ class ThemeIntegration {
358
 
359
  if (isset($readme[1])) {
360
  $changelogs[] = [
361
- 'title' => __('Companion', 'blc'),
362
  'changelog' => trim($readme[1])
363
  ];
364
  }
@@ -374,7 +374,7 @@ class ThemeIntegration {
374
  );
375
 
376
  $changelogs[] = [
377
- 'title' => __('PRO', 'blc'),
378
  'changelog' => trim($pro_changelog)
379
  ];
380
  }
@@ -503,14 +503,14 @@ class ThemeIntegration {
503
  $redirect_to = admin_url();
504
  $errors = apply_filters('wp_login_errors', $errors, $redirect_to);
505
 
506
- login_header(__('Check your email', 'blc'), '', $errors);
507
 
508
  wp_die();
509
  }
510
 
511
  login_header(
512
- __('Registration Form', 'blc'),
513
- '<p class="message register">' . __('Register For This Site', 'blc') . '</p>',
514
  $errors
515
  );
516
 
273
  add_filter(
274
  'user_contactmethods',
275
  function ( $field ) {
276
+ $fields['facebook'] = __( 'Facebook', 'blocksy-companion' );
277
+ $fields['twitter'] = __( 'Twitter', 'blocksy-companion' );
278
+ $fields['linkedin'] = __( 'LinkedIn', 'blocksy-companion' );
279
+ $fields['dribbble'] = __( 'Dribbble', 'blocksy-companion' );
280
+ $fields['instagram'] = __( 'Instagram', 'blocksy-companion' );
281
+ $fields['pinterest'] = __( 'Pinterest', 'blocksy-companion' );
282
+ $fields['wordpress'] = __( 'WordPress', 'blocksy-companion' );
283
+ $fields['github'] = __( 'GitHub', 'blocksy-companion' );
284
+ $fields['medium'] = __( 'Medium', 'blocksy-companion' );
285
+ $fields['youtube'] = __( 'YouTube', 'blocksy-companion' );
286
+ $fields['vimeo'] = __( 'Vimeo', 'blocksy-companion' );
287
+ $fields['vkontakte'] = __( 'VKontakte', 'blocksy-companion' );
288
+ $fields['odnoklassniki'] = __( 'Odnoklassniki', 'blocksy-companion' );
289
+ $fields['tiktok'] = __( 'TikTok', 'blocksy-companion' );
290
 
291
  return $fields;
292
  }
358
 
359
  if (isset($readme[1])) {
360
  $changelogs[] = [
361
+ 'title' => __('Companion', 'blocksy-companion'),
362
  'changelog' => trim($readme[1])
363
  ];
364
  }
374
  );
375
 
376
  $changelogs[] = [
377
+ 'title' => __('PRO', 'blocksy-companion'),
378
  'changelog' => trim($pro_changelog)
379
  ];
380
  }
503
  $redirect_to = admin_url();
504
  $errors = apply_filters('wp_login_errors', $errors, $redirect_to);
505
 
506
+ login_header(__('Check your email', 'blocksy-companion'), '', $errors);
507
 
508
  wp_die();
509
  }
510
 
511
  login_header(
512
+ __('Registration Form', 'blocksy-companion'),
513
+ '<p class="message register">' . __('Register For This Site', 'blocksy-companion') . '</p>',
514
  $errors
515
  );
516
 
framework/widgets-manager.php CHANGED
@@ -72,13 +72,13 @@ class BlocksyWidgetFactory extends WP_Widget {
72
  $name = blocksy_akg(
73
  'name',
74
  $config,
75
- __('Default widget name', 'blc')
76
  );
77
 
78
  $description = blocksy_akg(
79
  'description',
80
  $config,
81
- __('Display online support infomation', 'blc')
82
  );
83
 
84
  unset($config['name']);
@@ -141,7 +141,7 @@ class BlocksyWidgetFactory extends WP_Widget {
141
  $this->options = [
142
  'title' => [
143
  'type' => 'text',
144
- 'label' => __( 'Widget Title', 'blc' ),
145
  'field_attr' => [ 'id' => 'widget-title' ],
146
  ],
147
  ];
72
  $name = blocksy_akg(
73
  'name',
74
  $config,
75
+ __('Default widget name', 'blocksy-companion')
76
  );
77
 
78
  $description = blocksy_akg(
79
  'description',
80
  $config,
81
+ __('Display online support infomation', 'blocksy-companion')
82
  );
83
 
84
  unset($config['name']);
141
  $this->options = [
142
  'title' => [
143
  'type' => 'text',
144
+ 'label' => __( 'Widget Title', 'blocksy-companion' ),
145
  'field_attr' => [ 'id' => 'widget-title' ],
146
  ],
147
  ];
languages/blc-hu_HU.mo DELETED
Binary file
languages/blc-hu_HU.po DELETED
@@ -1,2313 +0,0 @@
1
- # Copyright (C) 2020 blc
2
- # This file is distributed under the same license as the blc package.
3
- msgid ""
4
- msgstr ""
5
- "Project-Id-Version: blc\n"
6
- "MIME-Version: 1.0\n"
7
- "Content-Type: text/plain; charset=UTF-8\n"
8
- "Content-Transfer-Encoding: 8bit\n"
9
- "X-Poedit-Basepath: ..\n"
10
- "X-Poedit-KeywordsList: __;_e;_ex:1,2c;_n:1,2;_n_noop:1,2;_nx:1,2,4c;"
11
- "_nx_noop:1,2,3c;_x:1,2c;esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;"
12
- "esc_html_e;esc_html_x:1,2c\n"
13
- "X-Poedit-SourceCharset: UTF-8\n"
14
- "Plural-Forms: nplurals=2; plural=(n != 1);\n"
15
- "Content-Type: text/plain; charset=utf-8\n"
16
- "x-generator: babel-plugin-wp-i18n\n"
17
- "POT-Creation-Date: \n"
18
- "PO-Revision-Date: \n"
19
- "Language-Team: \n"
20
- "X-Generator: Poedit 2.4.1\n"
21
- "Last-Translator: \n"
22
- "Language: hu_HU\n"
23
- "X-Poedit-SearchPath-0: .\n"
24
- "X-Poedit-SearchPathExcluded-0: *.js\n"
25
-
26
- #. translators: %s: PHP version
27
- #: blocksy-companion.php:53
28
- msgid "Blocksy requires PHP version %s+, plugin is currently NOT RUNNING."
29
- msgstr ""
30
- "A Blocksy használatához a(z) %s+ PHP verzió szükséges, a bővítmény jelenleg "
31
- "NEM FUT."
32
-
33
- #. translators: %s: WordPress version
34
- #: blocksy-companion.php:65
35
- msgid ""
36
- "Blocksy requires WordPress version %s+. Because you are using an earlier "
37
- "version, the plugin is currently NOT RUNNING."
38
- msgstr ""
39
- "A Blocksy használatához a WordPress %s+ verziója szükséges. Mivel egy "
40
- "korábbi verziót használ, a bővítmény jelenleg nem fut."
41
-
42
- #: framework/extensions-manager.php:222
43
- msgid "Custom Fonts"
44
- msgstr "Egyéni betűtípusok"
45
-
46
- #: framework/extensions-manager.php:223,
47
- #: framework/premium/extensions/adobe-typekit/config.php:5,
48
- #: framework/premium/extensions/custom-fonts/config.php:4
49
- msgid "Upload unlimited number of custom fonts."
50
- msgstr "Töltsön fel korlátlan számú egyéni betűtípust."
51
-
52
- #: framework/extensions-manager.php:234
53
- msgid "Sidebars"
54
- msgstr "Oldalsáv"
55
-
56
- #: framework/extensions-manager.php:235,
57
- #: framework/premium/extensions/sidebars/config.php:4
58
- msgid "Create unlimited number of custom sidebars."
59
- msgstr "Hozzon létre korlátlan számú egyéni oldalsáv."
60
-
61
- #: framework/extensions-manager.php:246
62
- msgid "White Label"
63
- msgstr "Fehér címke"
64
-
65
- #: framework/extensions-manager.php:247,
66
- #: framework/premium/extensions/white-label/config.php:4
67
- msgid "Change theme/companion branding"
68
- msgstr "Téma/kísérő márkajelzésének módosítása"
69
-
70
- #: framework/theme-integration.php:40,
71
- #: framework/extensions/widgets/widgets/ct-facebook/options.php:16,
72
- #: framework/extensions/widgets/widgets/ct-facebook/view.php:12,
73
- #: framework/extensions/widgets/widgets/ct-facebook/widget.php:13
74
- msgid "Facebook"
75
- msgstr "Facebook"
76
-
77
- #: framework/theme-integration.php:41
78
- msgid "Twitter"
79
- msgstr "Twitter"
80
-
81
- #: framework/theme-integration.php:42
82
- msgid "LinkedIn"
83
- msgstr "LinkedIn"
84
-
85
- #: framework/theme-integration.php:43
86
- msgid "Dribbble"
87
- msgstr "Dribbble"
88
-
89
- #: framework/theme-integration.php:44
90
- msgid "Instagram"
91
- msgstr "Instagram"
92
-
93
- #: framework/theme-integration.php:98
94
- msgid "Companion"
95
- msgstr "Kiegészítő"
96
-
97
- #: framework/widgets-manager.php:75
98
- msgid "Default widget name"
99
- msgstr "Alapértelmezett widget név"
100
-
101
- #: framework/widgets-manager.php:81
102
- msgid "Display online support infomation"
103
- msgstr "Online támogatási információk megjelenítése"
104
-
105
- #: framework/widgets-manager.php:142
106
- msgid "Widget Title"
107
- msgstr "Widget címe"
108
-
109
- #: framework/features/conditions-manager.php:208
110
- msgid "Entire Website"
111
- msgstr "A teljes weboldal"
112
-
113
- #: framework/features/conditions-manager.php:213
114
- msgid "Basic"
115
- msgstr "Alap"
116
-
117
- #: framework/features/conditions-manager.php:217
118
- msgid "Singulars"
119
- msgstr "Egyes oldalak"
120
-
121
- #: framework/features/conditions-manager.php:222
122
- msgid "Archives"
123
- msgstr "Archívum"
124
-
125
- #: framework/features/conditions-manager.php:228,
126
- #: framework/extensions/trending/customizer.php:4,
127
- #: framework/extensions/widgets/widgets/ct-posts/options.php:11,
128
- #: framework/extensions/widgets/widgets/ct-posts/options.php:98,
129
- #: framework/extensions/widgets/widgets/ct-posts/view.php:129,
130
- #: framework/extensions/widgets/widgets/ct-posts/widget.php:13
131
- msgid "Posts"
132
- msgstr "Bejegyzések"
133
-
134
- #: framework/features/conditions-manager.php:232
135
- msgid "Single Post"
136
- msgstr "Egyszerű bejegyzés"
137
-
138
- #: framework/features/conditions-manager.php:237
139
- msgid "All Post Archives"
140
- msgstr "Minden Post Archívum"
141
-
142
- #: framework/features/conditions-manager.php:242
143
- msgid "Post Categories"
144
- msgstr "Bejegyzés kategóriák"
145
-
146
- #: framework/features/conditions-manager.php:247
147
- msgid "Post Tags"
148
- msgstr "Címkék"
149
-
150
- #: framework/features/conditions-manager.php:253,
151
- #: framework/extensions/widgets/widgets/ct-posts/options.php:12
152
- msgid "Pages"
153
- msgstr "Oldalak"
154
-
155
- #: framework/features/conditions-manager.php:257
156
- msgid "Single Page"
157
- msgstr "Egy oldal"
158
-
159
- #: framework/features/conditions-manager.php:297
160
- msgid "Specific"
161
- msgstr "Különleges"
162
-
163
- #: framework/features/conditions-manager.php:301
164
- msgid "Post ID"
165
- msgstr "Bejegyzés ID"
166
-
167
- #: framework/features/conditions-manager.php:306
168
- msgid "Page ID"
169
- msgstr "Oldal ID"
170
-
171
- #: framework/features/conditions-manager.php:311
172
- msgid "Taxonomy ID"
173
- msgstr "Taxonómiaazonosító"
174
-
175
- #: framework/features/conditions-manager.php:317
176
- msgid "Other Pages"
177
- msgstr "Más oldalak"
178
-
179
- #: framework/features/conditions-manager.php:321
180
- msgid "404"
181
- msgstr "404"
182
-
183
- #: framework/features/conditions-manager.php:326
184
- msgid "Search"
185
- msgstr "Keresés"
186
-
187
- #: framework/features/conditions-manager.php:331
188
- msgid "Blog"
189
- msgstr "Blog"
190
-
191
- #: framework/features/conditions-manager.php:336
192
- msgid "Front Page"
193
- msgstr "Kezdő oldal"
194
-
195
- #: framework/features/conditions-manager.php:348
196
- msgid "Author"
197
- msgstr "Szerző"
198
-
199
- #: framework/features/dynamic-css.php:46
200
- msgid "Dynamic CSS Output"
201
- msgstr "Dinamikus CSS kimenet"
202
-
203
- #: framework/features/dynamic-css.php:50
204
- msgid ""
205
- "The strategy of outputing the dynamic CSS. File - all the CSS code will be "
206
- "placed in a static file, otherwise it will be placed inline in head."
207
- msgstr ""
208
- "A stratégia kimeneti dinamikus CSS. Fájl - az összes CSS-kód egy statikus "
209
- "fájlba kerül, különben a fejbe kerül."
210
-
211
- #: framework/features/dynamic-css.php:52
212
- msgid "File"
213
- msgstr "Fájl"
214
-
215
- #: framework/features/dynamic-css.php:53
216
- msgid "Inline"
217
- msgstr "Egysorban"
218
-
219
- #: framework/features/dynamic-css.php:63
220
- msgid "Emojis Script"
221
- msgstr "Emojis parancsfájl"
222
-
223
- #: framework/features/dynamic-css.php:67
224
- msgid ""
225
- "Disable WordPress emojis script if you don't use them in order to improve "
226
- "the performance. "
227
- msgstr ""
228
- "Tiltsa wordpress emojis script, ha nem használja őket annak érdekében, hogy "
229
- "javítsa a teljesítményt. "
230
-
231
- #: framework/features/google-analytics.php:50
232
- msgid "Google Analytics"
233
- msgstr "Google Analytics"
234
-
235
- #: framework/features/google-analytics.php:54
236
- msgid "Insert here your Google Analytics tracking ID"
237
- msgstr "Itt szúrhatja be a Google Analytics nyomon követési azonosítóját"
238
-
239
- #: framework/features/google-analytics.php:60
240
- msgid "IP Anonymization"
241
- msgstr "IP névtelenítés"
242
-
243
- #: framework/features/google-analytics.php:63
244
- msgid ""
245
- "Enable Google Analytics IP anonymization feature <a href=\"https://"
246
- "developers.google.com/analytics/devguides/collection/gtagjs/ip-anonymization"
247
- "\">(more info)</a>."
248
- msgstr ""
249
- "Engedélyezze a Google Analytics IP-anonimizálási funkcióját <a href="
250
- "\"https://developers.google.com/analytics/devguides/collection/gtagjs/ip-"
251
- "anonymization\">(további információ).</a>."
252
-
253
- #: framework/features/opengraph-meta-data.php:17
254
- msgid "Opengraph Meta Data"
255
- msgstr "Opengraph Meta adatok"
256
-
257
- #: framework/features/opengraph-meta-data.php:20
258
- msgid ""
259
- "Display a preview image and text excerpt when a link to your site is shared."
260
- msgstr ""
261
- "Előnézeti kép és szöveg részlet megjelenítése a webhelyre mutató hivatkozás "
262
- "megosztásakor."
263
-
264
- #: framework/features/opengraph-meta-data.php:29
265
- msgid "Facebook Page URL"
266
- msgstr "Facebook oldal URL-je"
267
-
268
- #: framework/features/opengraph-meta-data.php:36
269
- msgid "Facebook App ID"
270
- msgstr "Facebook App ID"
271
-
272
- #: framework/features/opengraph-meta-data.php:43
273
- msgid "Twitter Username"
274
- msgstr "Twitter felhasználónév"
275
-
276
- #: framework/extensions/cookies-consent/config.php:4
277
- msgid "Cookies Consent"
278
- msgstr "Cookie-k hozzájárulása"
279
-
280
- #: framework/extensions/cookies-consent/config.php:5
281
- msgid "Enable this extension in order to comply with the GDPR regulations."
282
- msgstr ""
283
- "Engedélyezze ezt a kiterjesztést, hogy megfeleljen a GDPR-előírásoknak."
284
-
285
- #: framework/extensions/cookies-consent/customizer.php:4
286
- msgid "Cookie Consent"
287
- msgstr "Cookie hozzájárulás"
288
-
289
- #: framework/extensions/cookies-consent/customizer.php:18,
290
- #: framework/extensions/mailchimp/customizer.php:12,
291
- #: framework/extensions/trending/customizer.php:39,
292
- #: framework/features/header/items/account/options.php:5
293
- msgid "General"
294
- msgstr "Általános"
295
-
296
- #: framework/extensions/cookies-consent/customizer.php:31
297
- msgid "Type 1"
298
- msgstr "1-es típus"
299
-
300
- #: framework/extensions/cookies-consent/customizer.php:36
301
- msgid "Type 2"
302
- msgstr "2-es típus"
303
-
304
- #: framework/extensions/cookies-consent/customizer.php:43
305
- msgid "Cookie period"
306
- msgstr "Cookie-időszak"
307
-
308
- #: framework/extensions/cookies-consent/customizer.php:51
309
- msgid "One hour"
310
- msgstr "Egy óra"
311
-
312
- #: framework/extensions/cookies-consent/customizer.php:52
313
- msgid "One day"
314
- msgstr "Egy nap"
315
-
316
- #: framework/extensions/cookies-consent/customizer.php:53
317
- msgid "One week"
318
- msgstr "Egy hét"
319
-
320
- #: framework/extensions/cookies-consent/customizer.php:54
321
- msgid "One month"
322
- msgstr "Egy hónap"
323
-
324
- #: framework/extensions/cookies-consent/customizer.php:55
325
- msgid "Three months"
326
- msgstr "Három hónap"
327
-
328
- #: framework/extensions/cookies-consent/customizer.php:56
329
- msgid "Six months"
330
- msgstr "Hat hónap"
331
-
332
- #: framework/extensions/cookies-consent/customizer.php:57
333
- msgid "One year"
334
- msgstr "Egy év"
335
-
336
- #: framework/extensions/cookies-consent/customizer.php:58
337
- msgid "Forever"
338
- msgstr "Örökre"
339
-
340
- #: framework/extensions/cookies-consent/customizer.php:65,
341
- #: framework/premium/features/content-blocks/hooks-manager.php:90,
342
- #: framework/premium/features/content-blocks/hooks-manager.php:96,
343
- #: framework/premium/features/content-blocks/hooks-manager.php:102,
344
- #: framework/premium/features/content-blocks/hooks-manager.php:108,
345
- #: framework/extensions/widgets/widgets/ct-contact-info/options.php:72,
346
- #: framework/extensions/widgets/widgets/ct-contact-info/options.php:98,
347
- #: framework/extensions/widgets/widgets/ct-contact-info/options.php:125,
348
- #: framework/extensions/widgets/widgets/ct-contact-info/options.php:152,
349
- #: framework/extensions/widgets/widgets/ct-contact-info/options.php:179,
350
- #: framework/extensions/widgets/widgets/ct-contact-info/options.php:206
351
- msgid "Content"
352
- msgstr "Tartalom"
353
-
354
- #: framework/extensions/cookies-consent/customizer.php:67,
355
- #: framework/extensions/cookies-consent/helpers.php:28
356
- msgid ""
357
- "We use cookies to ensure that we give you the best experience on our website."
358
- msgstr ""
359
- "Cookie-kat használunk annak érdekében, hogy a legjobb élményt nyújtsuk Önnek "
360
- "a weboldalunkon."
361
-
362
- #: framework/extensions/cookies-consent/customizer.php:79
363
- msgid "Button text"
364
- msgstr "Gomb szöveg"
365
-
366
- #: framework/extensions/cookies-consent/customizer.php:82,
367
- #: framework/extensions/cookies-consent/helpers.php:31
368
- msgid "Accept"
369
- msgstr "Elfogadás"
370
-
371
- #: framework/extensions/cookies-consent/customizer.php:90,
372
- #: framework/extensions/mailchimp/customizer.php:147,
373
- #: framework/extensions/trending/customizer.php:138,
374
- #: framework/features/header/items/account/options.php:164
375
- msgid "Design"
376
- msgstr "Kinézet"
377
-
378
- #: framework/extensions/cookies-consent/customizer.php:95,
379
- #: framework/extensions/trending/customizer.php:143
380
- msgid "Font Color"
381
- msgstr "Betűszín"
382
-
383
- #: framework/extensions/cookies-consent/customizer.php:112,
384
- #: framework/extensions/cookies-consent/customizer.php:142,
385
- #: framework/extensions/cookies-consent/customizer.php:167,
386
- #: framework/extensions/mailchimp/customizer.php:169,
387
- #: framework/extensions/mailchimp/customizer.php:200,
388
- #: framework/extensions/mailchimp/customizer.php:225,
389
- #: framework/extensions/trending/customizer.php:160,
390
- #: framework/features/header/items/account/options.php:188
391
- msgid "Initial"
392
- msgstr "Kezdeti"
393
-
394
- #: framework/extensions/cookies-consent/customizer.php:118,
395
- #: framework/extensions/cookies-consent/customizer.php:147,
396
- #: framework/extensions/mailchimp/customizer.php:175,
397
- #: framework/extensions/mailchimp/customizer.php:205,
398
- #: framework/extensions/trending/customizer.php:166,
399
- #: framework/features/header/items/account/options.php:193
400
- msgid "Hover"
401
- msgstr "Hover"
402
-
403
- #: framework/extensions/cookies-consent/customizer.php:126,
404
- #: framework/extensions/mailchimp/customizer.php:183
405
- msgid "Button Color"
406
- msgstr "Gomb szín"
407
-
408
- #: framework/extensions/cookies-consent/customizer.php:154,
409
- #: framework/extensions/mailchimp/customizer.php:212
410
- msgid "Background Color"
411
- msgstr "Háttérszín"
412
-
413
- #: framework/extensions/cookies-consent/customizer.php:179
414
- msgid "Maximum Width"
415
- msgstr "Maximális szélesség"
416
-
417
- #: framework/extensions/cookies-consent/customizer.php:202,
418
- #: framework/extensions/cookies-consent/helpers.php:76
419
- msgid "I accept the %sPrivacy Policy%s"
420
- msgstr "Elfogadom az %sAdatvédelmi nyilatkozatot%s"
421
-
422
- #: framework/extensions/cookies-consent/customizer.php:206
423
- msgid "This text will appear under each comment form and subscribe form."
424
- msgstr ""
425
- "Ez a szöveg jelenik meg az egyes megjegyzésűrlapok alatt, és előfizetnek."
426
-
427
- #: framework/extensions/cookies-consent/readme.php:1,
428
- #: framework/extensions/mailchimp/readme.php:1,
429
- #: framework/extensions/woocommerce-extra/readme.php:1
430
- msgid "Instructions"
431
- msgstr "Lépések"
432
-
433
- #: framework/extensions/cookies-consent/readme.php:4
434
- msgid ""
435
- "After installing and activating the Cookies Consent extension you will be "
436
- "able to configure it from this location:"
437
- msgstr ""
438
- "A Cookie-k hozzájárulási bővítményének telepítése és aktiválása után ezen a "
439
- "helyen állíthatja be:"
440
-
441
- #: framework/extensions/cookies-consent/readme.php:9,
442
- #: framework/extensions/widgets/widgets/ct-about-me/options.php:160,
443
- #: framework/extensions/widgets/widgets/ct-socials/options.php:31
444
- msgid "Customizer"
445
- msgstr "Testreszabható"
446
-
447
- #: framework/extensions/cookies-consent/readme.php:13
448
- msgid "Navigate to %s and customize the notification to meet your needs."
449
- msgstr ""
450
- "Nyissa meg a következőt: %s, és az igényeknek megfelelően testreszabja az "
451
- "értesítést."
452
-
453
- #: framework/extensions/cookies-consent/readme.php:16
454
- msgid "Customizer ➝ Cookie Consent"
455
- msgstr "Testreszabható , cookie-hozzájárulás"
456
-
457
- #: framework/extensions/cookies-consent/readme.php:25
458
- msgid "W3 Total Cache Support"
459
- msgstr "W3 teljes gyorsítótár-támogatás"
460
-
461
- #: framework/extensions/cookies-consent/readme.php:28
462
- msgid ""
463
- "If you encounter problems with W3 Total Cache plugin, please follow these "
464
- "steps:"
465
- msgstr ""
466
- "Ha problémákba ütközik a W3 Total Cache beépülő modullal, kövesse az alábbi "
467
- "lépéseket:"
468
-
469
- #: framework/extensions/cookies-consent/readme.php:35
470
- msgid ""
471
- "Navigate to %sPerformance ➝ Page Cache%s and scroll to the %sRejected cookies"
472
- "%s option."
473
- msgstr ""
474
- "Keresse meg a(z) %sPerformance • Page Cache% (Oldalgyorsítótár% ) lapot, és "
475
- "görgessen a(z) %sRejected cookies%s beállításhoz."
476
-
477
- #: framework/extensions/cookies-consent/readme.php:45
478
- msgid ""
479
- "In the text field there, insert this value: "
480
- "%sblocksy_cookies_consent_accepted%s."
481
- msgstr ""
482
- "Az ott lévő szövegmezőbe szúrja be ezt az értéket: "
483
- "%sblocksy_cookies_consent_accepted%s."
484
-
485
- #: framework/extensions/cookies-consent/readme.php:53,
486
- #: framework/extensions/cookies-consent/readme.php:88
487
- msgid "Make sure to purge all caches from settings."
488
- msgstr ""
489
- "Győződjön meg arról, hogy törli az összes gyorsítótárat a beállításokból."
490
-
491
- #: framework/extensions/cookies-consent/readme.php:60
492
- msgid "WP Fastest Cache Support"
493
- msgstr "WP Fastest Cache támogatás"
494
-
495
- #: framework/extensions/cookies-consent/readme.php:63
496
- msgid ""
497
- "If you encounter problems with WP Fastest Cache plugin, please follow these "
498
- "steps:"
499
- msgstr ""
500
- "Ha problémákba ütközik a WP Fastest Cache beépülő modul, kérjük, kövesse az "
501
- "alábbi lépéseket:"
502
-
503
- #: framework/extensions/cookies-consent/readme.php:70
504
- msgid "Navigate to %sExclude%s and scroll to the %sExclude Cookies%s option."
505
- msgstr ""
506
- "Keresse meg a következőt: %sExclude%s, és görgessen a(z) %sExclude Cookies%s "
507
- "beállításhoz."
508
-
509
- #: framework/extensions/cookies-consent/readme.php:80
510
- msgid ""
511
- "Click on Add new rule and insert this value: "
512
- "%sblocksy_cookies_consent_accepted%s."
513
- msgstr ""
514
- "Kattintson az Új szabály hozzáadása gombra, és szúrja be ezt az értéket: "
515
- "%sblocksy_cookies_consent_accepted%s."
516
-
517
- #: framework/extensions/mailchimp/config.php:4
518
- msgid "Mailchimp"
519
- msgstr "Mailchimp"
520
-
521
- #: framework/extensions/mailchimp/config.php:5
522
- msgid ""
523
- "Display a Mailchimp subscribe form with the help of a widget or a block."
524
- msgstr ""
525
- "Mailchimp feliratkozási űrlap megjelenítése widget vagy blokk segítségével."
526
-
527
- #: framework/extensions/mailchimp/customizer.php:4
528
- msgid "Subscribe Form"
529
- msgstr "Űrlap feliratkozása"
530
-
531
- #: framework/extensions/mailchimp/customizer.php:18,
532
- #: framework/extensions/mailchimp/ct-mailchimp/options.php:15,
533
- #: framework/extensions/widgets/widgets/ct-about-me/options.php:16,
534
- #: framework/extensions/widgets/widgets/ct-advertisement/options.php:15,
535
- #: framework/extensions/widgets/widgets/ct-contact-info/options.php:15,
536
- #: framework/extensions/widgets/widgets/ct-contact-info/options.php:65,
537
- #: framework/extensions/widgets/widgets/ct-contact-info/options.php:91,
538
- #: framework/extensions/widgets/widgets/ct-contact-info/options.php:118,
539
- #: framework/extensions/widgets/widgets/ct-contact-info/options.php:145,
540
- #: framework/extensions/widgets/widgets/ct-contact-info/options.php:172,
541
- #: framework/extensions/widgets/widgets/ct-contact-info/options.php:199,
542
- #: framework/extensions/widgets/widgets/ct-facebook/options.php:13,
543
- #: framework/extensions/widgets/widgets/ct-posts/options.php:95,
544
- #: framework/extensions/widgets/widgets/ct-quote/options.php:15,
545
- #: framework/extensions/widgets/widgets/ct-socials/options.php:15
546
- msgid "Title"
547
- msgstr "Cím"
548
-
549
- #: framework/extensions/mailchimp/customizer.php:21,
550
- #: framework/extensions/mailchimp/helpers.php:36
551
- msgid "Newsletter Updates"
552
- msgstr "Hírlevél frissítések"
553
-
554
- #: framework/extensions/mailchimp/customizer.php:27,
555
- #: framework/extensions/mailchimp/ct-mailchimp/options.php:23
556
- msgid "Message"
557
- msgstr "Üzenet"
558
-
559
- #: framework/extensions/mailchimp/customizer.php:29,
560
- #: framework/extensions/mailchimp/helpers.php:40,
561
- #: framework/extensions/mailchimp/ct-mailchimp/options.php:25,
562
- #: framework/extensions/mailchimp/ct-mailchimp/view.php:16
563
- msgid "Enter your email address below to subscribe to our newsletter"
564
- msgstr "Adja meg e-mail címét az alábbi feliratkozni hírlevelünkre"
565
-
566
- #: framework/extensions/mailchimp/customizer.php:42,
567
- #: framework/extensions/mailchimp/ct-mailchimp/options.php:32
568
- msgid "List Source"
569
- msgstr "Lista forrása"
570
-
571
- #: framework/extensions/mailchimp/customizer.php:49,
572
- #: framework/extensions/mailchimp/ct-mailchimp/options.php:39,
573
- #: framework/extensions/widgets/widgets/ct-posts/options.php:156
574
- #: framework/premium/static/js/footer/BuilderTemplates.js:41
575
- #: framework/premium/static/js/footer/CreateFooter.js:94
576
- #: framework/premium/static/js/header/CreateHeader.js:94
577
- msgid "Default"
578
- msgstr "Alapértelmezett"
579
-
580
- #: framework/extensions/mailchimp/customizer.php:50,
581
- #: framework/extensions/mailchimp/ct-mailchimp/options.php:40,
582
- #: framework/extensions/widgets/widgets/ct-about-me/options.php:47
583
- msgid "Custom"
584
- msgstr "Egyedi"
585
-
586
- #: framework/extensions/mailchimp/customizer.php:62,
587
- #: framework/extensions/mailchimp/ct-mailchimp/options.php:50
588
- #: framework/extensions/mailchimp/dashboard-static/js/EditCredentials.js:104
589
- msgid "List ID"
590
- msgstr "Lista ID"
591
-
592
- #: framework/extensions/mailchimp/customizer.php:80,
593
- #: framework/extensions/mailchimp/ct-mailchimp/options.php:62
594
- msgid "Name Field"
595
- msgstr "Név mező"
596
-
597
- #: framework/extensions/mailchimp/customizer.php:93,
598
- #: framework/extensions/mailchimp/ct-mailchimp/options.php:74
599
- msgid "Name Label"
600
- msgstr "Név címke"
601
-
602
- #: framework/extensions/mailchimp/customizer.php:95,
603
- #: framework/extensions/mailchimp/helpers.php:51,
604
- #: framework/extensions/mailchimp/ct-mailchimp/options.php:76,
605
- #: framework/extensions/mailchimp/ct-mailchimp/view.php:51
606
- msgid "Your name"
607
- msgstr "Neved"
608
-
609
- #: framework/extensions/mailchimp/customizer.php:105,
610
- #: framework/extensions/mailchimp/ct-mailchimp/options.php:85
611
- msgid "Mail Label"
612
- msgstr "Levelezési címke"
613
-
614
- #: framework/extensions/mailchimp/customizer.php:107,
615
- #: framework/extensions/mailchimp/helpers.php:52,
616
- #: framework/extensions/mailchimp/ct-mailchimp/options.php:87,
617
- #: framework/extensions/mailchimp/ct-mailchimp/view.php:52
618
- msgid "Your email"
619
- msgstr "E-mail cím"
620
-
621
- #: framework/extensions/mailchimp/customizer.php:114,
622
- #: framework/extensions/mailchimp/ct-mailchimp/options.php:93
623
- msgid "Button Label"
624
- msgstr "Gombfelirat"
625
-
626
- #: framework/extensions/mailchimp/customizer.php:116,
627
- #: framework/extensions/mailchimp/helpers.php:45,
628
- #: framework/extensions/mailchimp/ct-mailchimp/options.php:95,
629
- #: framework/extensions/mailchimp/ct-mailchimp/view.php:19
630
- msgid "Subscribe"
631
- msgstr "Feliratkozás"
632
-
633
- #: framework/extensions/mailchimp/customizer.php:126
634
- msgid "Visibility"
635
- msgstr "Láthatóság"
636
-
637
- #: framework/extensions/mailchimp/customizer.php:137,
638
- #: framework/extensions/trending/customizer.php:128
639
- msgid "Desktop"
640
- msgstr "Asztali"
641
-
642
- #: framework/extensions/mailchimp/customizer.php:138,
643
- #: framework/extensions/trending/customizer.php:129
644
- msgid "Tablet"
645
- msgstr "Táblagép"
646
-
647
- #: framework/extensions/mailchimp/customizer.php:139,
648
- #: framework/extensions/trending/customizer.php:130,
649
- #: framework/extensions/widgets/widgets/ct-contact-info/options.php:114
650
- msgid "Mobile"
651
- msgstr "Mobil"
652
-
653
- #: framework/extensions/mailchimp/customizer.php:152,
654
- #: framework/features/header/items/account/options.php:169
655
- msgid "Content Color"
656
- msgstr "Tartalom színe"
657
-
658
- #: framework/extensions/mailchimp/customizer.php:232,
659
- #: framework/extensions/trending/customizer.php:93
660
- msgid "Container Inner Spacing"
661
- msgstr "Konténer belső térköze"
662
-
663
- #: framework/extensions/mailchimp/extension.php:90
664
- msgid "Disable Subscribe Form"
665
- msgstr "Feliratkozási űrlap letiltása"
666
-
667
- #: framework/extensions/mailchimp/helpers.php:111,
668
- #: framework/extensions/widgets/widgets/ct-about-me/options.php:83
669
- #: static/js/screens/SiteExport.js:86
670
- msgid "Name"
671
- msgstr "Név"
672
-
673
- #: framework/extensions/mailchimp/helpers.php:114,
674
- #: framework/features/header/account-modal.php:74,
675
- #: framework/extensions/widgets/widgets/ct-contact-info/options.php:168
676
- msgid "Email"
677
- msgstr "E-mail"
678
-
679
- #: framework/extensions/mailchimp/readme.php:4
680
- msgid ""
681
- "After installing and activating the Mailchimp extension you will have two "
682
- "possibilities to show your subscribe form:"
683
- msgstr ""
684
- "A Mailchimp kiterjesztés telepítése és aktiválása után két lehetősége van az "
685
- "előfizetési űrlap bemutatására:"
686
-
687
- #: framework/extensions/mailchimp/readme.php:9
688
- msgid "Mailchimp Widget"
689
- msgstr "Mailchimp Widget"
690
-
691
- #: framework/extensions/mailchimp/readme.php:13
692
- msgid "Navigate to %s and place the widget in any widget area you want."
693
- msgstr ""
694
- "Keresse meg a következőt: %s, és helyezze el a widgetet a kívánt "
695
- "vezérlőterületre."
696
-
697
- #: framework/extensions/mailchimp/readme.php:16
698
- msgid "Appearance ➝ Widgets"
699
- msgstr "Megjelenés ➝ Widgets"
700
-
701
- #: framework/extensions/mailchimp/readme.php:24
702
- msgid "Mailchimp Block"
703
- msgstr "Mailchimp blokk"
704
-
705
- #: framework/extensions/mailchimp/readme.php:28
706
- msgid "Navigate to %s and customize the form and more."
707
- msgstr ""
708
- "Keresse meg a következőt: %s, és szabja testre az űrlapot és még sok mást."
709
-
710
- #: framework/extensions/mailchimp/readme.php:31
711
- msgid "Customizer ➝ Single Posts"
712
- msgstr "Testreszabás ➝ Single Hozzászólások"
713
-
714
- #: framework/extensions/trending/config.php:4
715
- msgid "Trending Block"
716
- msgstr "Felkapott blokk"
717
-
718
- #: framework/extensions/trending/config.php:5
719
- msgid ""
720
- "Display a trending list of posts, products or custom post types at the "
721
- "bottom of your website."
722
- msgstr ""
723
- "A webhely alján látható bejegyzések, termékek vagy egyéni bejegyzéstípusok "
724
- "felkapott listája."
725
-
726
- #: framework/extensions/trending/customizer.php:8
727
- msgid "Products"
728
- msgstr "Termékek"
729
-
730
- #: framework/extensions/trending/customizer.php:26
731
- msgid "Trending Posts"
732
- msgstr "Felkapott hozzászólások"
733
-
734
- #: framework/extensions/trending/customizer.php:65
735
- msgid "Trending From"
736
- msgstr "Felkapott from"
737
-
738
- #: framework/extensions/trending/customizer.php:73,
739
- #: framework/extensions/widgets/widgets/ct-posts/options.php:194
740
- msgid "All Time"
741
- msgstr "Összes idő"
742
-
743
- #: framework/extensions/trending/customizer.php:74
744
- msgid "Last 24 Hours"
745
- msgstr "Elmúlt 24 óra"
746
-
747
- #: framework/extensions/trending/customizer.php:75
748
- msgid "Last 7 Days"
749
- msgstr "Utolsó 7 nap"
750
-
751
- #: framework/extensions/trending/customizer.php:76
752
- msgid "Last Month"
753
- msgstr "Előző hónap"
754
-
755
- #: framework/extensions/trending/customizer.php:116
756
- msgid "Container Visibility"
757
- msgstr "A konténer láthatósága"
758
-
759
- #: framework/extensions/trending/customizer.php:174
760
- msgid "Container Background"
761
- msgstr "Konténer háttere"
762
-
763
- #: framework/extensions/widgets/config.php:4
764
- msgid ""
765
- "Popular/Recent Posts, Advertisement, Contact Info, Mailchimp Subscribe, "
766
- "Social Icons and more."
767
- msgstr ""
768
- "Népszerű / Legutóbbi hozzászólások, Reklám, Contact Info, Mailchimp "
769
- "Feliratkozás, Szociális ikonok és így tovább."
770
-
771
- #: framework/extensions/woocommerce-extra/config.php:4
772
- msgid "WooCommerce Extra"
773
- msgstr "WooCommerce Extra"
774
-
775
- #: framework/extensions/woocommerce-extra/config.php:5
776
- msgid "WooCommerce extra functionality."
777
- msgstr "WooCommerce extra funkció."
778
-
779
- #: framework/extensions/woocommerce-extra/customizer.php:5
780
- msgid "Quick View"
781
- msgstr "Gyorsnézet"
782
-
783
- #: framework/extensions/woocommerce-extra/helpers.php:65
784
- msgid "Go to product page"
785
- msgstr "Ugrás a terméklapra"
786
-
787
- #: framework/extensions/woocommerce-extra/helpers.php:158
788
- msgid "Select options"
789
- msgstr "Opciók választása"
790
-
791
- #: framework/extensions/woocommerce-extra/readme.php:4
792
- msgid ""
793
- "After installing and activating the WooCommerce Extra extension you will "
794
- "have these features:"
795
- msgstr ""
796
- "A WooCommerce Extra bővítmény telepítése és aktiválása után a következő "
797
- "funkciókkal rendelkezik:"
798
-
799
- #: framework/extensions/woocommerce-extra/readme.php:9
800
- msgid "Product Quick View"
801
- msgstr "Termék gyorsnézet"
802
-
803
- #: framework/extensions/woocommerce-extra/readme.php:13
804
- msgid "Navigate to %s and enable or disable it."
805
- msgstr "Keresse meg a következőt: %s, és engedélyezze vagy tiltsa le."
806
-
807
- #: framework/extensions/woocommerce-extra/readme.php:16
808
- msgid "Customizer ➝ WooCommerce Archives ➝ Card Options"
809
- msgstr "Testreszabás ➝ WooCommerce Archives ➝ Kártya opciók"
810
-
811
- #: framework/features/header/account-modal.php:20,
812
- #: framework/features/header/items/account/options.php:61
813
- msgid "Login"
814
- msgstr "Belépés"
815
-
816
- #: framework/features/header/account-modal.php:24
817
- msgid "Sign Up"
818
- msgstr "Regisztráció"
819
-
820
- #: framework/features/header/account-modal.php:34
821
- msgid "Email Address"
822
- msgstr "E-mail cím"
823
-
824
- #: framework/features/header/account-modal.php:39
825
- msgid "Password"
826
- msgstr "Jelszó"
827
-
828
- #: framework/features/header/account-modal.php:46
829
- msgid "Remember Me"
830
- msgstr "Emlékezz rám"
831
-
832
- #: framework/features/header/account-modal.php:50
833
- msgid "Forgot Password?"
834
- msgstr "Elfelejtette jelszavát?"
835
-
836
- #: framework/features/header/account-modal.php:56
837
- msgid "Log In"
838
- msgstr "Bejelentkezés"
839
-
840
- #: framework/features/header/account-modal.php:69
841
- msgid "Username"
842
- msgstr "Felhasználónév"
843
-
844
- #: framework/features/header/account-modal.php:79
845
- msgid "Registration confirmation will be emailed to you"
846
- msgstr "A regisztráció visszaigazolását e-mailben küldjük el Önnek"
847
-
848
- #: framework/features/header/account-modal.php:84
849
- msgid "Register"
850
- msgstr "Regisztráció"
851
-
852
- #: framework/features/header/account-modal.php:97
853
- msgid "Username or Email Address"
854
- msgstr "Felhasználónév vagy e-mail cím"
855
-
856
- #: framework/features/header/account-modal.php:103
857
- msgid "Get New Password"
858
- msgstr "Új jelszó kérése"
859
-
860
- #: framework/features/header/account-modal.php:111
861
- msgid "Back to login"
862
- msgstr "Vissza a belépéshez"
863
-
864
- #: framework/premium/features/content-blocks.php:32
865
- msgid "Debug Hooks"
866
- msgstr "Hibakeresési horgok"
867
-
868
- #: framework/premium/features/content-blocks.php:189
869
- msgid "Location & Priority"
870
- msgstr "Hely és prioritás"
871
-
872
- #: framework/premium/features/content-blocks.php:201
873
- msgid "Select location"
874
- msgstr "Helyszín kiválasztása"
875
-
876
- #: framework/premium/features/content-blocks.php:217
877
- #: framework/premium/static/js/footer/EditConditions.js:108
878
- #: static/js/header/EditConditions.js:110
879
- msgid "Display Conditions"
880
- msgstr "Megjelenítési feltételek"
881
-
882
- #: framework/premium/features/content-blocks.php:273
883
- msgid "Shortcode"
884
- msgstr "Rövid kód"
885
-
886
- #: framework/premium/features/content-blocks.php:354
887
- msgid "Enable Classic Editor"
888
- msgstr "Klasszikus szerkesztő engedélyezése"
889
-
890
- #: framework/premium/features/content-blocks.php:355
891
- msgid "Enable Code Editor"
892
- msgstr "Kódszerkesztő engedélyezése"
893
-
894
- #: framework/premium/features/content-blocks.php:382,
895
- #: framework/premium/features/content-blocks.php:388
896
- msgid "Content Blocks"
897
- msgstr "Tartalmi blokkok"
898
-
899
- #: framework/premium/features/content-blocks.php:383
900
- msgid "Content Block"
901
- msgstr "Tartalomblokk"
902
-
903
- #: framework/premium/features/content-blocks.php:384
904
- msgid "Add New"
905
- msgstr "Új hozzáadása"
906
-
907
- #: framework/premium/features/content-blocks.php:385
908
- msgid "Add New Content Block"
909
- msgstr "Új tartalomblokk hozzáadása"
910
-
911
- #: framework/premium/features/content-blocks.php:386
912
- msgid "Edit Content Block"
913
- msgstr "Tartalom blokk szerkesztése"
914
-
915
- #: framework/premium/features/content-blocks.php:387
916
- msgid "New Content Block"
917
- msgstr "Új tartalomblokk"
918
-
919
- #: framework/premium/features/content-blocks.php:389
920
- msgid "View Content Block"
921
- msgstr "Tartalomblokk megtekintése"
922
-
923
- #: framework/premium/features/content-blocks.php:390
924
- msgid "Search Content Blocks"
925
- msgstr "Tartalomblokkok keresése"
926
-
927
- #: framework/premium/features/content-blocks.php:391
928
- msgid "Nothing found"
929
- msgstr "Nincs találat"
930
-
931
- #: framework/premium/features/content-blocks.php:392
932
- msgid "Nothing found in Trash"
933
- msgstr "Semmi sem található a Lomtárban"
934
-
935
- #: framework/extensions/mailchimp/ct-mailchimp/options.php:18,
936
- #: framework/extensions/mailchimp/ct-mailchimp/view.php:12
937
- msgid "Newsletter"
938
- msgstr "Hírlevél"
939
-
940
- #: framework/extensions/mailchimp/ct-mailchimp/options.php:101
941
- msgid "Content Alignment"
942
- msgstr "Tartalom igazítása"
943
-
944
- #: framework/extensions/mailchimp/ct-mailchimp/widget.php:13
945
- msgid "Mailchimp Subscribe"
946
- msgstr "Mailchimp feliratkozás"
947
-
948
- #: framework/extensions/mailchimp/ct-mailchimp/widget.php:14
949
- msgid "Mailchimp subscribe form"
950
- msgstr "Mailchimp feliratkozási űrlap"
951
-
952
- #: framework/premium/extensions/adobe-typekit/config.php:4
953
- msgid "Adobe Typekit"
954
- msgstr "Adobe Typekit"
955
-
956
- #: framework/premium/extensions/sidebars/form.php:3
957
- msgid "Create Sidebar/Widget Area"
958
- msgstr "Oldalsáv/widgetterület létrehozása"
959
-
960
- #: framework/premium/extensions/sidebars/form.php:6
961
- msgid ""
962
- "In order to create a new sidebar/widget area simply enter a name in the "
963
- "input below and click the Create Sidebar button."
964
- msgstr ""
965
- "Annak érdekében, hogy hozzon létre egy új oldalsáv / widget terület "
966
- "egyszerűen írja be a nevét a bemeneti alatt, és kattintson a Create Oldalsáv "
967
- "gombra."
968
-
969
- #: framework/premium/extensions/sidebars/form.php:16
970
- msgid "Create Sidebar"
971
- msgstr "Oldalsáv létrehozása"
972
-
973
- #: framework/premium/extensions/sidebars/form.php:20
974
- msgid "Available Sidebars/Widget Areas"
975
- msgstr "Elérhető oldalsávok/widget területek"
976
-
977
- #: framework/premium/features/content-blocks/hooks-manager.php:11,
978
- #: framework/premium/features/content-blocks/hooks-manager.php:20,
979
- #: framework/premium/features/content-blocks/hooks-manager.php:30,
980
- #: framework/premium/features/content-blocks/hooks-manager.php:39,
981
- #: framework/premium/features/content-blocks/hooks-manager.php:48
982
- msgid "In <head>"
983
- msgstr "A(z) <head>"
984
-
985
- #: framework/premium/features/content-blocks/hooks-manager.php:13,
986
- #: framework/premium/features/content-blocks/hooks-manager.php:22,
987
- #: framework/premium/features/content-blocks/hooks-manager.php:32
988
- msgid "Head"
989
- msgstr "Fejléc"
990
-
991
- #: framework/premium/features/content-blocks/hooks-manager.php:41,
992
- #: framework/premium/features/content-blocks/hooks-manager.php:50
993
- msgid "Header"
994
- msgstr "Fejléc"
995
-
996
- #: framework/premium/features/content-blocks/hooks-manager.php:62
997
- msgid "Dynamic Sidebar Before"
998
- msgstr "Dinamikus oldalsáv előtte"
999
-
1000
- #: framework/premium/features/content-blocks/hooks-manager.php:63,
1001
- #: framework/premium/features/content-blocks/hooks-manager.php:70,
1002
- #: framework/premium/features/content-blocks/hooks-manager.php:78
1003
- msgid "Sidebar"
1004
- msgstr "Oldalsáv"
1005
-
1006
- #: framework/premium/features/content-blocks/hooks-manager.php:69
1007
- msgid "Dynamic Sidebar"
1008
- msgstr "Dinamikus oldalsáv"
1009
-
1010
- #: framework/premium/features/content-blocks/hooks-manager.php:77
1011
- msgid "Dynamic Sidebar After"
1012
- msgstr "Dinamikus oldalsáv utána"
1013
-
1014
- #: framework/premium/features/content-blocks/hooks-manager.php:196,
1015
- #: framework/premium/features/content-blocks/hooks-manager.php:203,
1016
- #: framework/premium/features/content-blocks/hooks-manager.php:211
1017
- msgid "WooCommerce"
1018
- msgstr "WooCommerce"
1019
-
1020
- #: framework/premium/features/content-blocks/hooks-manager.php:221,
1021
- #: framework/premium/features/content-blocks/hooks-manager.php:229,
1022
- #: framework/premium/features/content-blocks/hooks-manager.php:237
1023
- msgid "WordPress Footer"
1024
- msgstr "WordPress lábléc"
1025
-
1026
- #: framework/premium/features/content-blocks/hooks-manager.php:222,
1027
- #: framework/premium/features/content-blocks/hooks-manager.php:230,
1028
- #: framework/premium/features/content-blocks/hooks-manager.php:238
1029
- msgid "Footer"
1030
- msgstr "Lábléc"
1031
-
1032
- #: framework/extensions/widgets/widgets/ct-about-me/options.php:19,
1033
- #: framework/extensions/widgets/widgets/ct-about-me/view.php:12,
1034
- #: framework/extensions/widgets/widgets/ct-about-me/widget.php:14
1035
- msgid "About me"
1036
- msgstr "Rólam"
1037
-
1038
- #: framework/extensions/widgets/widgets/ct-about-me/options.php:24
1039
- msgid "Type"
1040
- msgstr "Típus"
1041
-
1042
- #: framework/extensions/widgets/widgets/ct-about-me/options.php:32
1043
- msgid "Simple"
1044
- msgstr "Egyszerű"
1045
-
1046
- #: framework/extensions/widgets/widgets/ct-about-me/options.php:33
1047
- msgid "Boxed"
1048
- msgstr "Boxed"
1049
-
1050
- #: framework/extensions/widgets/widgets/ct-about-me/options.php:38,
1051
- #: framework/extensions/widgets/widgets/ct-advertisement/options.php:23,
1052
- #: framework/extensions/widgets/widgets/ct-posts/options.php:132,
1053
- #: framework/extensions/widgets/widgets/ct-posts/options.php:151
1054
- msgid "Source"
1055
- msgstr "Forrás"
1056
-
1057
- #: framework/extensions/widgets/widgets/ct-about-me/options.php:46
1058
- msgid "From WP"
1059
- msgstr "A WP-től"
1060
-
1061
- #: framework/extensions/widgets/widgets/ct-about-me/options.php:58
1062
- msgid "User"
1063
- msgstr "Felhasználó"
1064
-
1065
- #: framework/extensions/widgets/widgets/ct-about-me/options.php:73
1066
- msgid "Avatar"
1067
- msgstr "Avatar"
1068
-
1069
- #: framework/extensions/widgets/widgets/ct-about-me/options.php:77,
1070
- #: framework/extensions/widgets/widgets/ct-advertisement/options.php:62,
1071
- #: framework/extensions/widgets/widgets/ct-quote/options.php:51
1072
- msgid "Select Image"
1073
- msgstr "Kép választás"
1074
-
1075
- #: framework/extensions/widgets/widgets/ct-about-me/options.php:78,
1076
- #: framework/extensions/widgets/widgets/ct-advertisement/options.php:63,
1077
- #: framework/extensions/widgets/widgets/ct-quote/options.php:52
1078
- msgid "Change Image"
1079
- msgstr "Képcsere"
1080
-
1081
- #: framework/extensions/widgets/widgets/ct-about-me/options.php:86,
1082
- #: framework/extensions/widgets/widgets/ct-about-me/view.php:40,
1083
- #: framework/extensions/widgets/widgets/ct-quote/options.php:35,
1084
- #: framework/extensions/widgets/widgets/ct-quote/view.php:18
1085
- msgid "John Doe"
1086
- msgstr "Kis János"
1087
-
1088
- #: framework/extensions/widgets/widgets/ct-about-me/options.php:91,
1089
- #: framework/extensions/widgets/widgets/ct-posts/widget.php:14
1090
- msgid "Description"
1091
- msgstr "Leírás"
1092
-
1093
- #: framework/extensions/widgets/widgets/ct-about-me/options.php:102,
1094
- #: framework/extensions/widgets/widgets/ct-about-me/options.php:109,
1095
- #: framework/features/header/items/account/options.php:97
1096
- msgid "Avatar Size"
1097
- msgstr "Avatar mérete"
1098
-
1099
- #: framework/extensions/widgets/widgets/ct-about-me/options.php:115,
1100
- #: framework/extensions/widgets/widgets/ct-about-me/options.php:191,
1101
- #: framework/extensions/widgets/widgets/ct-socials/options.php:62
1102
- msgid "Small"
1103
- msgstr "Kicsi"
1104
-
1105
- #: framework/extensions/widgets/widgets/ct-about-me/options.php:116,
1106
- #: framework/extensions/widgets/widgets/ct-about-me/options.php:192,
1107
- #: framework/extensions/widgets/widgets/ct-socials/options.php:63
1108
- msgid "Medium"
1109
- msgstr "Közepes"
1110
-
1111
- #: framework/extensions/widgets/widgets/ct-about-me/options.php:117,
1112
- #: framework/extensions/widgets/widgets/ct-about-me/options.php:193,
1113
- #: framework/extensions/widgets/widgets/ct-socials/options.php:64
1114
- msgid "Large"
1115
- msgstr "Nagy"
1116
-
1117
- #: framework/extensions/widgets/widgets/ct-about-me/options.php:122
1118
- msgid "Avatar Shape"
1119
- msgstr "Avatar alak"
1120
-
1121
- #: framework/extensions/widgets/widgets/ct-about-me/options.php:130,
1122
- #: framework/extensions/widgets/widgets/ct-about-me/options.php:206,
1123
- #: framework/extensions/widgets/widgets/ct-socials/options.php:77
1124
- msgid "Rounded"
1125
- msgstr "Kerekített"
1126
-
1127
- #: framework/extensions/widgets/widgets/ct-about-me/options.php:131,
1128
- #: framework/extensions/widgets/widgets/ct-about-me/options.php:207,
1129
- #: framework/extensions/widgets/widgets/ct-socials/options.php:78
1130
- msgid "Square"
1131
- msgstr "Négyzet"
1132
-
1133
- #: framework/extensions/widgets/widgets/ct-about-me/options.php:153
1134
- msgid "Social Channels"
1135
- msgstr "Közösségi csatornák"
1136
-
1137
- #: framework/extensions/widgets/widgets/ct-about-me/options.php:156,
1138
- #: framework/extensions/widgets/widgets/ct-socials/options.php:27
1139
- msgid "You can configure social URLs in %s."
1140
- msgstr "A közösségi URL-címeket a következőben is konfigurálhatja: %s."
1141
-
1142
- #: framework/extensions/widgets/widgets/ct-about-me/options.php:184,
1143
- #: framework/extensions/widgets/widgets/ct-socials/options.php:55
1144
- msgid "Icons Size"
1145
- msgstr "Ikonok mérete"
1146
-
1147
- #: framework/extensions/widgets/widgets/ct-about-me/options.php:198,
1148
- #: framework/extensions/widgets/widgets/ct-socials/options.php:69
1149
- msgid "Icons Shape Type"
1150
- msgstr "Ikonok alakzattípusa"
1151
-
1152
- #: framework/extensions/widgets/widgets/ct-about-me/options.php:205,
1153
- #: framework/extensions/widgets/widgets/ct-socials/options.php:76
1154
- msgid "None"
1155
- msgstr "Nincs"
1156
-
1157
- #: framework/extensions/widgets/widgets/ct-about-me/options.php:217,
1158
- #: framework/extensions/widgets/widgets/ct-socials/options.php:88
1159
- msgid "Shape Fill Type"
1160
- msgstr "Alakzat kitöltési típusa"
1161
-
1162
- #: framework/extensions/widgets/widgets/ct-about-me/options.php:224,
1163
- #: framework/extensions/widgets/widgets/ct-socials/options.php:95
1164
- msgid "Solid"
1165
- msgstr "Szolíd"
1166
-
1167
- #: framework/extensions/widgets/widgets/ct-about-me/options.php:225,
1168
- #: framework/extensions/widgets/widgets/ct-socials/options.php:96
1169
- msgid "Outline"
1170
- msgstr "Körvonal"
1171
-
1172
- #: framework/extensions/widgets/widgets/ct-about-me/view.php:98
1173
- msgid "View Profile"
1174
- msgstr "Profil Megtekintése"
1175
-
1176
- #: framework/extensions/widgets/widgets/ct-about-me/widget.php:13
1177
- msgid "About Me"
1178
- msgstr "Névjegy"
1179
-
1180
- #: framework/extensions/widgets/widgets/ct-advertisement/options.php:18,
1181
- #: framework/extensions/widgets/widgets/ct-advertisement/view.php:12,
1182
- #: framework/extensions/widgets/widgets/ct-advertisement/widget.php:13,
1183
- #: framework/extensions/widgets/widgets/ct-advertisement/widget.php:14
1184
- msgid "Advertisement"
1185
- msgstr "Reklám (Hirdetés Banner)"
1186
-
1187
- #: framework/extensions/widgets/widgets/ct-advertisement/options.php:31
1188
- msgid "Code"
1189
- msgstr "Kód"
1190
-
1191
- #: framework/extensions/widgets/widgets/ct-advertisement/options.php:32
1192
- msgid "Image"
1193
- msgstr "Obrázek"
1194
-
1195
- #: framework/extensions/widgets/widgets/ct-advertisement/options.php:42
1196
- msgid "Ad Code"
1197
- msgstr "Hirdetéskód"
1198
-
1199
- #: framework/extensions/widgets/widgets/ct-advertisement/options.php:58
1200
- msgid "Upload Image"
1201
- msgstr "Kép feltöltése"
1202
-
1203
- #: framework/extensions/widgets/widgets/ct-advertisement/options.php:68
1204
- msgid "Ad URL"
1205
- msgstr "Hirdetés URL-címe"
1206
-
1207
- #: framework/extensions/widgets/widgets/ct-advertisement/options.php:76,
1208
- #: framework/extensions/widgets/widgets/ct-contact-info/options.php:225
1209
- msgid "Open link in new tab"
1210
- msgstr "Új ablakban"
1211
-
1212
- #: framework/extensions/widgets/widgets/ct-contact-info/options.php:18,
1213
- #: framework/extensions/widgets/widgets/ct-contact-info/view.php:12,
1214
- #: framework/extensions/widgets/widgets/ct-contact-info/widget.php:13
1215
- msgid "Contact Info"
1216
- msgstr "Kapcsolat Infó"
1217
-
1218
- #: framework/extensions/widgets/widgets/ct-contact-info/options.php:23
1219
- msgid "Text"
1220
- msgstr "Szöveg"
1221
-
1222
- #: framework/extensions/widgets/widgets/ct-contact-info/options.php:37,
1223
- #: framework/extensions/widgets/widgets/ct-contact-info/options.php:66,
1224
- #: framework/extensions/widgets/widgets/ct-contact-info/view.php:24
1225
- msgid "Address:"
1226
- msgstr "Cím:"
1227
-
1228
- #: framework/extensions/widgets/widgets/ct-contact-info/options.php:44,
1229
- #: framework/extensions/widgets/widgets/ct-contact-info/options.php:92,
1230
- #: framework/extensions/widgets/widgets/ct-contact-info/view.php:31
1231
- msgid "Phone:"
1232
- msgstr "Telefonszám:"
1233
-
1234
- #: framework/extensions/widgets/widgets/ct-contact-info/options.php:52,
1235
- #: framework/extensions/widgets/widgets/ct-contact-info/options.php:119,
1236
- #: framework/extensions/widgets/widgets/ct-contact-info/view.php:39
1237
- msgid "Mobile:"
1238
- msgstr "Mobil:"
1239
-
1240
- #: framework/extensions/widgets/widgets/ct-contact-info/options.php:61
1241
- msgid "Address"
1242
- msgstr "Cím"
1243
-
1244
- #: framework/extensions/widgets/widgets/ct-contact-info/options.php:79,
1245
- #: framework/extensions/widgets/widgets/ct-contact-info/options.php:105,
1246
- #: framework/extensions/widgets/widgets/ct-contact-info/options.php:132,
1247
- #: framework/extensions/widgets/widgets/ct-contact-info/options.php:159,
1248
- #: framework/extensions/widgets/widgets/ct-contact-info/options.php:186,
1249
- #: framework/extensions/widgets/widgets/ct-contact-info/options.php:213
1250
- msgid "Link (optional)"
1251
- msgstr "Hivatkozás (választható)"
1252
-
1253
- #: framework/extensions/widgets/widgets/ct-contact-info/options.php:86
1254
- msgid "Phone"
1255
- msgstr "Telefon"
1256
-
1257
- #: framework/extensions/widgets/widgets/ct-contact-info/options.php:141
1258
- msgid "Fax"
1259
- msgstr "Fax"
1260
-
1261
- #: framework/extensions/widgets/widgets/ct-contact-info/options.php:146
1262
- msgid "Fax:"
1263
- msgstr "Fax:"
1264
-
1265
- #: framework/extensions/widgets/widgets/ct-contact-info/options.php:173
1266
- msgid "Email:"
1267
- msgstr "Email:"
1268
-
1269
- #: framework/extensions/widgets/widgets/ct-contact-info/options.php:195
1270
- msgid "Website"
1271
- msgstr "Weboldal"
1272
-
1273
- #: framework/extensions/widgets/widgets/ct-contact-info/options.php:200
1274
- msgid "Website:"
1275
- msgstr "Weboldal:"
1276
-
1277
- #: framework/extensions/widgets/widgets/ct-contact-info/widget.php:14
1278
- msgid "Contact info"
1279
- msgstr "Kapcsolat infó"
1280
-
1281
- #: framework/extensions/widgets/widgets/ct-facebook/options.php:22
1282
- msgid "Page URL"
1283
- msgstr "Lap URL-címe"
1284
-
1285
- #: framework/extensions/widgets/widgets/ct-facebook/options.php:30
1286
- msgid "Profile Photos"
1287
- msgstr "Profilfotók"
1288
-
1289
- #: framework/extensions/widgets/widgets/ct-facebook/options.php:36
1290
- msgid "Timeline"
1291
- msgstr "Idővonal"
1292
-
1293
- #: framework/extensions/widgets/widgets/ct-facebook/options.php:42
1294
- msgid "Cover Photo"
1295
- msgstr "Borítókép"
1296
-
1297
- #: framework/extensions/widgets/widgets/ct-facebook/options.php:48
1298
- msgid "Small Header"
1299
- msgstr "Kicsi fejléc"
1300
-
1301
- #: framework/extensions/widgets/widgets/ct-facebook/widget.php:14
1302
- msgid "Facebook like box"
1303
- msgstr "Facebook like doboz"
1304
-
1305
- #: framework/extensions/widgets/widgets/ct-posts/options.php:37
1306
- msgid "Category"
1307
- msgstr "Kategória"
1308
-
1309
- #: framework/extensions/widgets/widgets/ct-posts/options.php:38
1310
- msgid "All categories"
1311
- msgstr "Összes kategória"
1312
-
1313
- #: framework/extensions/widgets/widgets/ct-posts/options.php:43
1314
- msgid "Taxonomy"
1315
- msgstr "Taxonomy"
1316
-
1317
- #: framework/extensions/widgets/widgets/ct-posts/options.php:44
1318
- msgid "All taxonomies"
1319
- msgstr "Minden taxonómia"
1320
-
1321
- #: framework/extensions/widgets/widgets/ct-posts/options.php:103
1322
- msgid "Widget Design"
1323
- msgstr "Widget Kinézet"
1324
-
1325
- #: framework/extensions/widgets/widgets/ct-posts/options.php:108
1326
- msgid "Without Thumbnails"
1327
- msgstr "Bélyegképek nélkül"
1328
-
1329
- #: framework/extensions/widgets/widgets/ct-posts/options.php:109
1330
- msgid "Small Thumbnails"
1331
- msgstr "Kis bélyegképek"
1332
-
1333
- #: framework/extensions/widgets/widgets/ct-posts/options.php:110
1334
- msgid "Large Thumbnails"
1335
- msgstr "Nagy méretű bélyegképek"
1336
-
1337
- #: framework/extensions/widgets/widgets/ct-posts/options.php:111
1338
- msgid "First Thumbnail Large"
1339
- msgstr "Első miniatűr nagy"
1340
-
1341
- #: framework/extensions/widgets/widgets/ct-posts/options.php:112
1342
- msgid "Rounded Thumbnails"
1343
- msgstr "Lekerekített bélyegképek"
1344
-
1345
- #: framework/extensions/widgets/widgets/ct-posts/options.php:113
1346
- msgid "Numbered"
1347
- msgstr "Számozott"
1348
-
1349
- #: framework/extensions/widgets/widgets/ct-posts/options.php:120
1350
- msgid "Post Type"
1351
- msgstr "Bejegyzés típusa"
1352
-
1353
- #: framework/extensions/widgets/widgets/ct-posts/options.php:137
1354
- msgid "Taxonomies"
1355
- msgstr "Taxonómiák"
1356
-
1357
- #: framework/extensions/widgets/widgets/ct-posts/options.php:138,
1358
- #: framework/extensions/widgets/widgets/ct-posts/options.php:157
1359
- msgid "Custom Query"
1360
- msgstr "Egyedi lekérdezés"
1361
-
1362
- #: framework/extensions/widgets/widgets/ct-posts/options.php:176
1363
- msgid "Sort by"
1364
- msgstr "Rendezés"
1365
-
1366
- #: framework/extensions/widgets/widgets/ct-posts/options.php:181
1367
- msgid "Recent"
1368
- msgstr "Legutóbbi"
1369
-
1370
- #: framework/extensions/widgets/widgets/ct-posts/options.php:182
1371
- msgid "Most Commented"
1372
- msgstr "Legtöbb hozzászólással bíró"
1373
-
1374
- #: framework/extensions/widgets/widgets/ct-posts/options.php:189
1375
- msgid "Order by"
1376
- msgstr "Rendezés"
1377
-
1378
- #: framework/extensions/widgets/widgets/ct-posts/options.php:195
1379
- msgid "1 Week"
1380
- msgstr "1 hét"
1381
-
1382
- #: framework/extensions/widgets/widgets/ct-posts/options.php:196
1383
- msgid "1 Month"
1384
- msgstr "1 hónap"
1385
-
1386
- #: framework/extensions/widgets/widgets/ct-posts/options.php:197
1387
- msgid "3 Months"
1388
- msgstr "3 hónap"
1389
-
1390
- #: framework/extensions/widgets/widgets/ct-posts/options.php:198
1391
- msgid "6 Months"
1392
- msgstr "6 hónap"
1393
-
1394
- #: framework/extensions/widgets/widgets/ct-posts/options.php:199
1395
- msgid "1 Year"
1396
- msgstr "1 év"
1397
-
1398
- #: framework/extensions/widgets/widgets/ct-posts/options.php:206
1399
- msgid "Posts Count"
1400
- msgstr "Bejegyzések száma"
1401
-
1402
- #: framework/extensions/widgets/widgets/ct-posts/options.php:268
1403
- msgid "Pages Count"
1404
- msgstr "Oldalak száma"
1405
-
1406
- #: framework/extensions/widgets/widgets/ct-posts/options.php:279
1407
- msgid "Show Date"
1408
- msgstr "Dátum megjelenítése"
1409
-
1410
- #: framework/extensions/widgets/widgets/ct-posts/options.php:285
1411
- msgid "Show Comments"
1412
- msgstr "Mutassuk a hozzászólásokat"
1413
-
1414
- #: framework/extensions/widgets/widgets/ct-posts/options.php:291
1415
- msgid "Show Excerpt"
1416
- msgstr "Mutassa a kivonatot"
1417
-
1418
- #: framework/extensions/widgets/widgets/ct-posts/options.php:302
1419
- msgid "Excerpt Lenght"
1420
- msgstr "Kivonat hossza"
1421
-
1422
- #: framework/extensions/widgets/widgets/ct-quote/options.php:18,
1423
- #: framework/extensions/widgets/widgets/ct-quote/view.php:12,
1424
- #: framework/extensions/widgets/widgets/ct-quote/widget.php:13,
1425
- #: framework/extensions/widgets/widgets/ct-quote/widget.php:14
1426
- msgid "Quote"
1427
- msgstr "Idézet"
1428
-
1429
- #: framework/extensions/widgets/widgets/ct-quote/options.php:23
1430
- msgid "Quote text"
1431
- msgstr "Idézet szövege"
1432
-
1433
- #: framework/extensions/widgets/widgets/ct-quote/options.php:32
1434
- msgid "Author Name"
1435
- msgstr "Szerző neve"
1436
-
1437
- #: framework/extensions/widgets/widgets/ct-quote/options.php:41
1438
- msgid "Author Label"
1439
- msgstr "Szerző címkéje"
1440
-
1441
- #: framework/extensions/widgets/widgets/ct-quote/options.php:47
1442
- msgid "Author Avatar"
1443
- msgstr "Szerző Avatara"
1444
-
1445
- #. translators: %s here is the author name
1446
- #: framework/extensions/widgets/widgets/ct-quote/view.php:49
1447
- msgid "By %s"
1448
- msgstr "Szerző: %s"
1449
-
1450
- #: framework/extensions/widgets/widgets/ct-socials/options.php:18,
1451
- #: framework/extensions/widgets/widgets/ct-socials/view.php:11,
1452
- #: framework/extensions/widgets/widgets/ct-socials/widget.php:14
1453
- msgid "Social Icons"
1454
- msgstr "Közösségi média ikonok"
1455
-
1456
- #: framework/extensions/widgets/widgets/ct-socials/widget.php:15
1457
- msgid "Social channels icons"
1458
- msgstr "Közösségi csatornák ikonjai"
1459
-
1460
- #: framework/features/header/items/account/options.php:38
1461
- msgid "Icon Size"
1462
- msgstr "Ikonméret"
1463
-
1464
- #: framework/features/header/items/account/options.php:56,
1465
- #: framework/features/header/items/account/view.php:39,
1466
- #: framework/features/header/items/account/view.php:40
1467
- msgid "Label"
1468
- msgstr "Címke"
1469
-
1470
- #: framework/features/header/items/account/options.php:119
1471
- msgid "My Account"
1472
- msgstr "Fiókom"
1473
-
1474
- #: framework/features/header/items/account/options.php:126
1475
- msgid "Action"
1476
- msgstr "Művelet"
1477
-
1478
- #: framework/features/header/items/account/options.php:131
1479
- msgid ""
1480
- "Set the action you want to make when clicking on the element whyile you are "
1481
- "logged in."
1482
- msgstr ""
1483
- "Állítsa be a kívánt műveletet, ha rákattint az elem whyile van bejelentkezve."
1484
-
1485
- #: framework/features/header/items/account/options.php:135
1486
- msgid "Profile Page"
1487
- msgstr "Profiloldal"
1488
-
1489
- #: framework/features/header/items/account/options.php:136
1490
- msgid "Dashboard Page"
1491
- msgstr "Vezérlőpult oldal"
1492
-
1493
- #: framework/features/header/items/account/options.php:137
1494
- msgid "Logout"
1495
- msgstr "Kilépés"
1496
-
1497
- #: framework/features/header/items/account/options.php:138
1498
- msgid "Custom Page"
1499
- msgstr "Egyéni lap"
1500
-
1501
- #: framework/features/header/items/account/options.php:149
1502
- msgid "Custom Page Link"
1503
- msgstr "Egyéni laphivatkozás"
1504
-
1505
- #: framework/features/header/items/account/options.php:201
1506
- msgid "Item Margin"
1507
- msgstr "Elem margó"
1508
-
1509
- #: framework/features/header/items/account/options.php:211
1510
- msgid "Background"
1511
- msgstr "Háttér"
1512
-
1513
- #: framework/premium/features/premium-header/items/contacts/config.php:4
1514
- msgid "Contacts"
1515
- msgstr "Kapcsolatok"
1516
-
1517
- #: framework/premium/features/premium-header/items/language-switcher/config.php:5
1518
- msgid "Language Switcher"
1519
- msgstr "Nyelvváltó"
1520
-
1521
- #: framework/premium/features/premium-header/items/search-input/config.php:4
1522
- msgid "Search Input"
1523
- msgstr "Keresési mező"
1524
-
1525
- #: framework/extensions/mailchimp/admin-static/js/ListPicker.js:14
1526
- #: framework/extensions/mailchimp/admin-static/js/ListPicker/Implementation.js:59
1527
- #: framework/extensions/mailchimp/dashboard-static/js/EditCredentials.js:120
1528
- #: static/js/screens/SiteExport.js:146
1529
- msgid "Loading..."
1530
- msgstr "Betöltés..."
1531
-
1532
- #: framework/extensions/mailchimp/admin-static/js/ListPicker/Implementation.js:60
1533
- #: framework/extensions/mailchimp/dashboard-static/js/ListPicker.js:85
1534
- msgid "Invalid API Key..."
1535
- msgstr "Érvénytelen API-kulcs..."
1536
-
1537
- #: framework/extensions/mailchimp/admin-static/js/ListPicker/Implementation.js:88
1538
- #: framework/extensions/mailchimp/dashboard-static/js/ListPicker.js:113
1539
- msgid "Select list..."
1540
- msgstr "Lista kijelölése..."
1541
-
1542
- #: framework/extensions/mailchimp/dashboard-static/js/EditCredentials.js:122
1543
- #: framework/extensions/mailchimp/dashboard-static/js/Mailchimp.js:74
1544
- #: framework/premium/extensions/adobe-typekit/static/js/AdobeTypekit.js:72
1545
- #: framework/premium/extensions/custom-fonts/dashboard-static/js/CustomFonts.js:71
1546
- #: framework/premium/extensions/white-label/dashboard-static/js/WhiteLabel.js:75
1547
- #: static/js/screens/Extensions.js:79
1548
- msgid "Activate"
1549
- msgstr "Aktiválás"
1550
-
1551
- #: framework/extensions/mailchimp/dashboard-static/js/EditCredentials.js:123
1552
- #: framework/premium/extensions/sidebars/static/js/SettingsManager.js:95
1553
- #: framework/premium/extensions/white-label/dashboard-static/js/EditSettings.js:487
1554
- #: framework/premium/static/js/footer/EditConditions.js:157
1555
- msgid "Save Settings"
1556
- msgstr "Beállítások mentése"
1557
-
1558
- #: framework/extensions/mailchimp/dashboard-static/js/EditCredentials.js:74
1559
- msgid "MailChimp Credentials"
1560
- msgstr "MailChimp hitelesítő adatok"
1561
-
1562
- #: framework/extensions/mailchimp/dashboard-static/js/EditCredentials.js:78
1563
- msgid ""
1564
- "Enter your MailChimp credentials in the form below. More info on how to "
1565
- "generate an API key can be found %shere%s."
1566
- msgstr ""
1567
- "Adja meg MailChimp hitelesítő adatait az alábbi űrlapon. További információ "
1568
- "az API-kulcs létrehozásáról: %shere%s."
1569
-
1570
- #: framework/extensions/mailchimp/dashboard-static/js/EditCredentials.js:90
1571
- msgid "API Key"
1572
- msgstr "API kulcs"
1573
-
1574
- #: framework/extensions/mailchimp/dashboard-static/js/ListPicker.js:84
1575
- msgid "Loading"
1576
- msgstr "Betöltés"
1577
-
1578
- #: framework/extensions/mailchimp/dashboard-static/js/Mailchimp.js:73
1579
- #: framework/premium/extensions/adobe-typekit/static/js/AdobeTypekit.js:71
1580
- #: framework/premium/extensions/custom-fonts/dashboard-static/js/CustomFonts.js:70
1581
- #: framework/premium/extensions/white-label/dashboard-static/js/WhiteLabel.js:74
1582
- #: static/js/screens/Extensions.js:78
1583
- msgid "Deactivate"
1584
- msgstr "Kikapcsolás"
1585
-
1586
- #: framework/extensions/mailchimp/dashboard-static/js/hooks/useActivationWithRequirements.js:61
1587
- #: framework/premium/extensions/white-label/dashboard-static/js/EditSettings.js:94
1588
- msgid "Configure"
1589
- msgstr "Beállítás"
1590
-
1591
- #: framework/premium/extensions/adobe-typekit/static/js/EditSettings.js:122
1592
- msgid "Project ID"
1593
- msgstr "Projektazonosító"
1594
-
1595
- #: framework/premium/extensions/adobe-typekit/static/js/EditSettings.js:132
1596
- msgid "Save"
1597
- msgstr "Mentés"
1598
-
1599
- #: framework/premium/extensions/adobe-typekit/static/js/EditSettings.js:144
1600
- #: framework/premium/extensions/custom-fonts/dashboard-static/js/AllFonts.js:38
1601
- msgid "Variations"
1602
- msgstr "Változatok"
1603
-
1604
- #: framework/premium/extensions/adobe-typekit/static/js/EditSettings.js:92
1605
- #: framework/premium/extensions/custom-fonts/dashboard-static/js/EditSettings.js:77
1606
- #: framework/premium/extensions/white-label/dashboard-static/js/EditSettings.js:92
1607
- msgid "Edit Settings"
1608
- msgstr "Beállítások szerkesztése"
1609
-
1610
- #: framework/premium/extensions/adobe-typekit/static/js/EditSettings.js:94
1611
- #: framework/premium/extensions/custom-fonts/dashboard-static/js/EditSettings.js:79
1612
- msgid "Add/Edit Fonts"
1613
- msgstr "Betűtípusok hozzáadása/szerkesztése"
1614
-
1615
- #: framework/premium/extensions/custom-fonts/dashboard-static/js/AllFonts.js:23
1616
- msgid "Custom Fonts Settings"
1617
- msgstr "Egyéni betűtípusok beállításai"
1618
-
1619
- #: framework/premium/extensions/custom-fonts/dashboard-static/js/AllFonts.js:25
1620
- msgid ""
1621
- "Here you can see all your custom fonts that could be used in all typography "
1622
- "options across the theme."
1623
- msgstr ""
1624
- "Itt láthatja az összes egyéni betűtípust, amelyet a téma összes tipográfiai "
1625
- "beállításában használhat."
1626
-
1627
- #: framework/premium/extensions/custom-fonts/dashboard-static/js/AllFonts.js:51
1628
- msgid "Edit Font"
1629
- msgstr "Szerkesztés"
1630
-
1631
- #: framework/premium/extensions/custom-fonts/dashboard-static/js/AllFonts.js:67
1632
- msgid "Remove Font"
1633
- msgstr "Betűtípus eltávolítása"
1634
-
1635
- #: framework/premium/extensions/custom-fonts/dashboard-static/js/AllFonts.js:77
1636
- msgid ""
1637
- "There are no custom fonts at the moment, hit the button below and upload "
1638
- "some."
1639
- msgstr ""
1640
- "Jelenleg nincsenek egyéni betűtípusok, nyomja meg az alábbi gombot, és "
1641
- "töltsön fel néhányat."
1642
-
1643
- #: framework/premium/extensions/custom-fonts/dashboard-static/js/AllFonts.js:89
1644
- msgid "Upload Font"
1645
- msgstr "Betűtípus feltöltése"
1646
-
1647
- #: framework/premium/extensions/custom-fonts/dashboard-static/js/Uploader.js:154
1648
- msgid "Change"
1649
- msgstr "Változtatás"
1650
-
1651
- #: framework/premium/extensions/custom-fonts/dashboard-static/js/Uploader.js:155
1652
- msgid "Choose"
1653
- msgstr "Válassz"
1654
-
1655
- #: framework/premium/extensions/custom-fonts/dashboard-static/js/Uploader.js:164
1656
- #: framework/premium/static/js/options/DisplayCondition.js:95
1657
- #: static/js/options/DisplayCondition.js:93
1658
- msgid "Select variation"
1659
- msgstr "Változat kiválasztása"
1660
-
1661
- #: framework/premium/extensions/custom-fonts/dashboard-static/js/Uploader.js:208
1662
- msgid "Upload Custom Font"
1663
- msgstr "Egyéni betűtípus feltöltése"
1664
-
1665
- #: framework/premium/extensions/custom-fonts/dashboard-static/js/Uploader.js:212
1666
- msgid ""
1667
- "Upload only the %s.woff2%s font file format (see browser coverage %shere%s). "
1668
- "Use %sthis converter tool%s if you don't have this font format."
1669
- msgstr ""
1670
- "Csak a(z) %s.woff2%s betűkészlet fájlformátumot töltse fel (lásd a böngésző "
1671
- "lefedettségét %shere%s). Használja a következő %sthis converter tool%s ha "
1672
- "nem rendelkezik ezzel a betűtípusformátummal."
1673
-
1674
- #: framework/premium/extensions/custom-fonts/dashboard-static/js/Uploader.js:236
1675
- msgid "Font Name"
1676
- msgstr "Betűtípus neve"
1677
-
1678
- #: framework/premium/extensions/custom-fonts/dashboard-static/js/Uploader.js:284
1679
- msgid "Back to All Fonts"
1680
- msgstr "Vissza az összes betűtípushoz"
1681
-
1682
- #: framework/premium/extensions/custom-fonts/dashboard-static/js/Uploader.js:306
1683
- msgid "Save Custom Font"
1684
- msgstr "Egyéni betűtípus mentése"
1685
-
1686
- #: framework/premium/extensions/custom-fonts/dashboard-static/js/Uploader.js:74
1687
- msgid "Add Variation"
1688
- msgstr "Új variáció"
1689
-
1690
- #: framework/premium/extensions/sidebars/static/js/SettingsManager.js:56
1691
- msgid "%s Display Conditions"
1692
- msgstr "%s megjelenítési feltételek"
1693
-
1694
- #: framework/premium/extensions/sidebars/static/js/SettingsManager.js:61
1695
- msgid "Add one or more conditions in order to display your sidebar."
1696
- msgstr "Adjon hozzá egy vagy több feltételt az oldalsáv megjelenítéséhez."
1697
-
1698
- #: framework/premium/extensions/white-label/dashboard-static/js/EditSettings.js:105
1699
- msgid "White Label Settings"
1700
- msgstr "Fehér címke beállításai"
1701
-
1702
- #: framework/premium/extensions/white-label/dashboard-static/js/EditSettings.js:108
1703
- msgid ""
1704
- "Remove any link that points to Blocksy website and change the dashboard "
1705
- "identity. These options are mostly used by agencies and developers who are "
1706
- "building websites for clients."
1707
- msgstr ""
1708
- "Távolítson el minden olyan hivatkozást, amely a Blocksy webhelyre mutat, és "
1709
- "módosítsa az irányítópult identitását. Ezeket a lehetőségeket többnyire "
1710
- "ügynökségek és fejlesztők használják, akik weboldalakat építenek az ügyfelek "
1711
- "számára."
1712
-
1713
- #: framework/premium/extensions/white-label/dashboard-static/js/EditSettings.js:117
1714
- msgid "Agency Details"
1715
- msgstr "Cég adatai"
1716
-
1717
- #: framework/premium/extensions/white-label/dashboard-static/js/EditSettings.js:122
1718
- msgid "Agency Name"
1719
- msgstr "Cég neve"
1720
-
1721
- #: framework/premium/extensions/white-label/dashboard-static/js/EditSettings.js:145
1722
- msgid "Agency URL"
1723
- msgstr "Ügynökség URL-címe"
1724
-
1725
- #: framework/premium/extensions/white-label/dashboard-static/js/EditSettings.js:168
1726
- msgid "Agency Support/Contact Form URL"
1727
- msgstr "Ügynökségi támogatási/kapcsolatfelvételi űrlap URL-címe"
1728
-
1729
- #: framework/premium/extensions/white-label/dashboard-static/js/EditSettings.js:198
1730
- msgid "Theme Details"
1731
- msgstr "Téma részletek"
1732
-
1733
- #: framework/premium/extensions/white-label/dashboard-static/js/EditSettings.js:203
1734
- msgid "Theme Name"
1735
- msgstr "Téma neve"
1736
-
1737
- #: framework/premium/extensions/white-label/dashboard-static/js/EditSettings.js:226
1738
- msgid "Theme Description"
1739
- msgstr "Téma leírása"
1740
-
1741
- #: framework/premium/extensions/white-label/dashboard-static/js/EditSettings.js:251
1742
- msgid "Theme Screenshot URL"
1743
- msgstr "Téma képernyőképe URL-címe"
1744
-
1745
- #: framework/premium/extensions/white-label/dashboard-static/js/EditSettings.js:333
1746
- msgid "Choose File"
1747
- msgstr "Kiválasztás a Fájlkezelőből"
1748
-
1749
- #: framework/premium/extensions/white-label/dashboard-static/js/EditSettings.js:337
1750
- msgid ""
1751
- "You can insert the link to a self hosted image or upload one. The "
1752
- "reccomended image size is 1200px wide by 900px tall."
1753
- msgstr ""
1754
- "Beszúrhatja a hivatkozást egy saját otthont kép vagy feltölteni egyet. A "
1755
- "javasolt kép mérete 1200px széles és 900px magas."
1756
-
1757
- #: framework/premium/extensions/white-label/dashboard-static/js/EditSettings.js:350
1758
- msgid "Plugin Details"
1759
- msgstr "A bővítmény részletei"
1760
-
1761
- #: framework/premium/extensions/white-label/dashboard-static/js/EditSettings.js:355
1762
- msgid "Plugin Name"
1763
- msgstr "Bővítmény neve"
1764
-
1765
- #: framework/premium/extensions/white-label/dashboard-static/js/EditSettings.js:378
1766
- msgid "Plugin Description"
1767
- msgstr "Plugin leírása"
1768
-
1769
- #: framework/premium/extensions/white-label/dashboard-static/js/EditSettings.js:441
1770
- msgid "Hide Starter Sites Tab"
1771
- msgstr "Kezdőhelyek lap elrejtése"
1772
-
1773
- #: framework/premium/extensions/white-label/dashboard-static/js/EditSettings.js:458
1774
- msgid "Hide White Label Extension"
1775
- msgstr "Fehér címkekiterjesztés elrejtése"
1776
-
1777
- #: framework/premium/extensions/white-label/dashboard-static/js/EditSettings.js:470
1778
- msgid ""
1779
- "Please note that the white label extension will be hidden if this option is "
1780
- "enabled. In order to bring it back you have to hit the SHIFT key and click "
1781
- "on the dashboard logo."
1782
- msgstr ""
1783
- "Kérjük, vegye figyelembe, hogy a fehér címke bővítmény el lesz rejtve, ha ez "
1784
- "a beállítás engedélyezve van. Annak érdekében, hogy vissza van, hogy elérje "
1785
- "a SHIFT gombot, és kattintson a műszerfal logóját."
1786
-
1787
- #: framework/premium/static/js/footer/BuilderTemplates.js:34
1788
- msgid "Pick footer"
1789
- msgstr "Válasszon láblécet"
1790
-
1791
- #: framework/premium/static/js/footer/BuilderTemplates.js:42
1792
- #: framework/premium/static/js/footer/CreateFooter.js:98
1793
- #: framework/premium/static/js/header/CreateHeader.js:98
1794
- msgid "Secondary"
1795
- msgstr "Másodlagos"
1796
-
1797
- #: framework/premium/static/js/footer/BuilderTemplates.js:43
1798
- #: framework/premium/static/js/footer/CreateFooter.js:102
1799
- #: framework/premium/static/js/header/CreateHeader.js:102
1800
- msgid "Centered"
1801
- msgstr "Középre igazított"
1802
-
1803
- #: framework/premium/static/js/footer/CreateFooter.js:134
1804
- msgid "Create New Footer"
1805
- msgstr "Új élőláb létrehozása"
1806
-
1807
- #: framework/premium/static/js/footer/CreateFooter.js:34
1808
- msgid "New Footer"
1809
- msgstr "Új lábléc"
1810
-
1811
- #: framework/premium/static/js/footer/CreateFooter.js:45
1812
- msgid "Create Footer"
1813
- msgstr "Élőláb létrehozása"
1814
-
1815
- #: framework/premium/static/js/footer/CreateFooter.js:56
1816
- msgid "Footer name"
1817
- msgstr "Élőláb neve"
1818
-
1819
- #: framework/premium/static/js/footer/CreateFooter.js:72
1820
- #: framework/premium/static/js/header/CreateHeader.js:72
1821
- msgid "Copy data from"
1822
- msgstr "Adatok másolása innen"
1823
-
1824
- #: framework/premium/static/js/footer/CreateFooter.js:84
1825
- msgid "Picker Footer"
1826
- msgstr "Picker lábléc"
1827
-
1828
- #: framework/premium/static/js/footer/EditConditions.js:110
1829
- msgid "Add one or more conditions in order to display your footer."
1830
- msgstr "Adjon hozzá egy vagy több feltételt a lábléc megjelenítéséhez."
1831
-
1832
- #: framework/premium/static/js/footer/EditConditions.js:95
1833
- msgid "Conditions"
1834
- msgstr "Feltételek"
1835
-
1836
- #: framework/premium/static/js/footer/PreviewedFooter.js:23
1837
- msgid "Previewed Footer"
1838
- msgstr "Előnézeti élőláb"
1839
-
1840
- #: framework/premium/static/js/footer/PreviewedFooter.js:32
1841
- msgid "Preview Footers"
1842
- msgstr "Előnézet láblécek"
1843
-
1844
- #: framework/premium/static/js/header/CloneItem.js:67
1845
- msgid "Clone Item"
1846
- msgstr "Cikk másolása"
1847
-
1848
- #: framework/premium/static/js/header/CloneItem.js:93
1849
- msgid "Remove Item"
1850
- msgstr "Tétel eltávolítása"
1851
-
1852
- #: framework/premium/static/js/header/CreateHeader.js:134
1853
- msgid "Create New Header"
1854
- msgstr "Új fej létrehozása"
1855
-
1856
- #: framework/premium/static/js/header/CreateHeader.js:34
1857
- msgid "New Header"
1858
- msgstr "Új fejléc"
1859
-
1860
- #: framework/premium/static/js/header/CreateHeader.js:45
1861
- msgid "Create Header"
1862
- msgstr "Fej létrehozása"
1863
-
1864
- #: framework/premium/static/js/header/CreateHeader.js:56
1865
- msgid "Header name"
1866
- msgstr "Fejléc neve"
1867
-
1868
- #: framework/premium/static/js/header/CreateHeader.js:84
1869
- msgid "Picker header"
1870
- msgstr "Választó fejléce"
1871
-
1872
- #: framework/premium/static/js/options/DisplayCondition.js:118
1873
- #: static/js/options/DisplayCondition.js:116
1874
- msgid "Select rule"
1875
- msgstr "Szabály kijelölése"
1876
-
1877
- #: framework/premium/static/js/options/DisplayCondition.js:141
1878
- #: static/js/options/DisplayCondition.js:142
1879
- msgid "Select post"
1880
- msgstr "Bejegyzés kijelölése"
1881
-
1882
- #: framework/premium/static/js/options/DisplayCondition.js:172
1883
- #: static/js/options/DisplayCondition.js:180
1884
- msgid "Select taxonomy"
1885
- msgstr "A taxonómia kiválasztása"
1886
-
1887
- #: framework/premium/static/js/options/DisplayCondition.js:228
1888
- #: static/js/options/DisplayCondition.js:236
1889
- msgid "Add New Condition"
1890
- msgstr "Új feltétel hozzáadása"
1891
-
1892
- #: framework/premium/static/js/options/DisplayCondition.js:97
1893
- #: static/js/options/DisplayCondition.js:95
1894
- msgid "Include"
1895
- msgstr "Tartalmazza"
1896
-
1897
- #: framework/premium/static/js/options/DisplayCondition.js:98
1898
- #: static/js/options/DisplayCondition.js:96
1899
- msgid "Exclude"
1900
- msgstr "Kizár"
1901
-
1902
- #: static/js/components/BetaConsent.js:45
1903
- msgid "Receive βeta Updates"
1904
- msgstr "Βeta frissítések fogadása"
1905
-
1906
- #: static/js/components/BetaConsent.js:51
1907
- msgid ""
1908
- "Receive beta updates for Blocksy theme and companion and help us test the "
1909
- "new versions. Please note that installing beta versions is not recommended "
1910
- "on production sites."
1911
- msgstr ""
1912
- "Béta frissítések engedélyezése Blocksy témához és kiterjesztéséhez, és segít "
1913
- "tesztelni az új verziók. Kérjük, vegye figyelembe, hogy a bétaverziók "
1914
- "telepítése nem ajánlott az élő oldalakon."
1915
-
1916
- #: static/js/dashboard.js:30
1917
- msgid "Starter Sites"
1918
- msgstr "Kezdő oldalak"
1919
-
1920
- #: static/js/dashboard.js:42
1921
- msgid "Extensions"
1922
- msgstr "Kiterjesztések"
1923
-
1924
- #: static/js/header/EditConditions.js:112
1925
- msgid "Add one or more conditions in order to display your header."
1926
- msgstr "Adjon hozzá egy vagy több feltételt a fejléc megjelenítéséhez."
1927
-
1928
- #: static/js/header/EditConditions.js:151
1929
- msgid "Save Conditions"
1930
- msgstr "Feltételek mentése"
1931
-
1932
- #: static/js/header/PanelsManager.js:42
1933
- msgid "Global Header"
1934
- msgstr "Globális fejléc"
1935
-
1936
- #: static/js/helpers/SubmitSupport.js:13
1937
- msgid "Support"
1938
- msgstr "Támogatás"
1939
-
1940
- #: static/js/helpers/SubmitSupport.js:15
1941
- msgid ""
1942
- "Got a question or need some help with the theme? You can always submit a "
1943
- "support ticket, and our team will help you out."
1944
- msgstr ""
1945
- "Kérdése van, vagy segítségre van szüksége? Bármikor beküldhetsz egy "
1946
- "támogatási jegyet, és csapatunk segít."
1947
-
1948
- #: static/js/helpers/SubmitSupport.js:25
1949
- msgid "Submit a Ticket"
1950
- msgstr "Jegy beküldése"
1951
-
1952
- #: static/js/helpers/useActivationAction.js:81
1953
- msgid ""
1954
- "Upgrade to the Pro version and get instant full access to all premium "
1955
- "extensions and features."
1956
- msgstr ""
1957
- "Frissítsen a Pro verzióra, és azonnali teljes hozzáférést kap az összes "
1958
- "prémium bővítményhez és funkcióhoz."
1959
-
1960
- #: static/js/helpers/useActivationAction.js:88
1961
- msgid "Upgrade Now"
1962
- msgstr "Frissítés most"
1963
-
1964
- #: static/js/options/DisplayCondition.js:143
1965
- msgid "Select page"
1966
- msgstr "Oldal kiválasztása"
1967
-
1968
- #: static/js/screens/DemoInstall.js:112
1969
- msgid "Loading Starter Sites..."
1970
- msgstr "Kezdő weboldalak betöltése..."
1971
-
1972
- #: static/js/screens/DemoInstall.js:124
1973
- msgid ""
1974
- "Connection to <b>demo.creativethemes.com</b> server didn't worked -- this is "
1975
- "required for downloading the starter sites. You need to contact your hosting "
1976
- "provider to figure out why your server can't reach to our server."
1977
- msgstr ""
1978
- "A <b>demo.creativethemes.com</b> kiszolgálóval való kapcsolat nem működött - "
1979
- "ez szükséges az indító webhelyek letöltéséhez. Kapcsolatba kell lépnie a "
1980
- "tárhelyszolgáltatóval, hogy kiderítse, miért nem tudja a szervere elérni a "
1981
- "szerverünket."
1982
-
1983
- #: static/js/screens/DemoInstall/DemoInstaller.js:66
1984
- msgid "Installing"
1985
- msgstr "Telepítés"
1986
-
1987
- #: static/js/screens/DemoInstall/DemoInstaller.js:69
1988
- msgid ""
1989
- "Please be patient and don't refresh this page, the import process may take a "
1990
- "while, this also depends on your server."
1991
- msgstr ""
1992
- "Kérjük, legyen türelemmel, és ne frissítse ezt az oldalt, az importálási "
1993
- "folyamat eltarthat egy ideig, ez is függ a szerver."
1994
-
1995
- #: static/js/screens/DemoInstall/DemoToInstall.js:288
1996
- msgid "Back"
1997
- msgstr "Vissza"
1998
-
1999
- #: static/js/screens/DemoInstall/DemoToInstall.js:328
2000
- msgid "Install"
2001
- msgstr "Telepítés"
2002
-
2003
- #: static/js/screens/DemoInstall/DemoToInstall.js:329
2004
- msgid "Next"
2005
- msgstr "Következő"
2006
-
2007
- #: static/js/screens/DemoInstall/DemosList.js:56
2008
- msgid "Preview"
2009
- msgstr "Előnézet"
2010
-
2011
- #: static/js/screens/DemoInstall/DemosList.js:65
2012
- msgid "Modify"
2013
- msgstr "Módosítás"
2014
-
2015
- #: static/js/screens/DemoInstall/DemosList.js:66
2016
- msgid "Import"
2017
- msgstr "Importálás"
2018
-
2019
- #: static/js/screens/DemoInstall/Installer/InstallCompleted.js:23
2020
- msgid "Starter Site Imported Successfully"
2021
- msgstr "Kezdőoldal importálása sikeresen"
2022
-
2023
- #: static/js/screens/DemoInstall/Installer/InstallCompleted.js:26
2024
- msgid "Now you can view your website or start customizing it"
2025
- msgstr "Most már megtekintheti webhelyét, vagy elkezdheti testre szabni"
2026
-
2027
- #: static/js/screens/DemoInstall/Installer/InstallCompleted.js:34
2028
- msgid "Customize"
2029
- msgstr "Testreszabás"
2030
-
2031
- #: static/js/screens/DemoInstall/Installer/InstallCompleted.js:41
2032
- msgid "View site"
2033
- msgstr "Webhely megtekintése"
2034
-
2035
- #: static/js/screens/DemoInstall/Installer/messages.js:12
2036
- msgid "copying child theme sources"
2037
- msgstr "másolás, gyermektéma-források"
2038
-
2039
- #: static/js/screens/DemoInstall/Installer/messages.js:16
2040
- msgid "activating child theme"
2041
- msgstr "aktiválás, gyermektéma"
2042
-
2043
- #: static/js/screens/DemoInstall/Installer/messages.js:21
2044
- msgid "installing plugin %s"
2045
- msgstr "telepítés: %s"
2046
-
2047
- #: static/js/screens/DemoInstall/Installer/messages.js:28
2048
- msgid "activating plugin %s"
2049
- msgstr "aktiválás: %s"
2050
-
2051
- #: static/js/screens/DemoInstall/Installer/messages.js:34
2052
- msgid "downloading demo widgets"
2053
- msgstr "bemutató widgetek letöltése"
2054
-
2055
- #: static/js/screens/DemoInstall/Installer/messages.js:38
2056
- msgid "installing demo widgets"
2057
- msgstr "demó widget telepítése"
2058
-
2059
- #: static/js/screens/DemoInstall/Installer/messages.js:42
2060
- msgid "downloading demo options"
2061
- msgstr "bemutató beállítások letöltése"
2062
-
2063
- #: static/js/screens/DemoInstall/Installer/messages.js:46
2064
- msgid "importing images from customizer"
2065
- msgstr "képek importálása testreszabottból"
2066
-
2067
- #: static/js/screens/DemoInstall/Installer/messages.js:50
2068
- msgid "import customizer options"
2069
- msgstr "testreszabási beállítások importálása"
2070
-
2071
- #: static/js/screens/DemoInstall/Installer/messages.js:54
2072
- msgid "activating required extensions"
2073
- msgstr "aktiválás, szükséges bővítmények"
2074
-
2075
- #: static/js/screens/DemoInstall/Installer/messages.js:58
2076
- msgid "removing previously installed posts"
2077
- msgstr "eltávolítás, korábban telepített bejegyzések"
2078
-
2079
- #: static/js/screens/DemoInstall/Installer/messages.js:62
2080
- msgid "removing previously installed taxonomies"
2081
- msgstr "eltávolítás, korábban telepített taxonómiák"
2082
-
2083
- #: static/js/screens/DemoInstall/Installer/messages.js:66
2084
- msgid "removing default WordPress pages"
2085
- msgstr "eltávolítás, alapértelmezett WordPress oldalak"
2086
-
2087
- #: static/js/screens/DemoInstall/Installer/messages.js:70
2088
- msgid "resetting customizer options"
2089
- msgstr "testreszabási beállítások visszaállítása"
2090
-
2091
- #: static/js/screens/DemoInstall/Installer/messages.js:74
2092
- msgid "resetting widgets"
2093
- msgstr "alap widgetek visszaállítása"
2094
-
2095
- #: static/js/screens/DemoInstall/Installer/messages.js:89
2096
- msgid "users"
2097
- msgstr "felhasználó"
2098
-
2099
- #: static/js/screens/DemoInstall/Installer/messages.js:90
2100
- msgid "terms"
2101
- msgstr "szerződések"
2102
-
2103
- #: static/js/screens/DemoInstall/Installer/messages.js:91
2104
- msgid "images"
2105
- msgstr "képek"
2106
-
2107
- #: static/js/screens/DemoInstall/Installer/messages.js:92
2108
- msgid "posts"
2109
- msgstr "cikkek"
2110
-
2111
- #: static/js/screens/DemoInstall/Installer/messages.js:93
2112
- msgid "comments"
2113
- msgstr "hozzászólások"
2114
-
2115
- #: static/js/screens/DemoInstall/Installer/useInstaller.js:106
2116
- msgid "Child theme"
2117
- msgstr "Gyereksablon"
2118
-
2119
- #: static/js/screens/DemoInstall/Installer/useInstaller.js:112
2120
- msgid "Required plugins"
2121
- msgstr "Szükséges bővítmények"
2122
-
2123
- #: static/js/screens/DemoInstall/Installer/useInstaller.js:120
2124
- msgid "Fake Required plugins"
2125
- msgstr "Hamis szükséges bővítmények"
2126
-
2127
- #: static/js/screens/DemoInstall/Installer/useInstaller.js:126
2128
- #: static/js/screens/DemoInstall/Wizzard/ModifyDemo.js:49
2129
- msgid "Erase content"
2130
- msgstr "Tartalom törlése"
2131
-
2132
- #: static/js/screens/DemoInstall/Installer/useInstaller.js:132
2133
- msgid "Final touches"
2134
- msgstr "Utolsó simítások"
2135
-
2136
- #: static/js/screens/DemoInstall/Installer/useInstaller.js:138
2137
- msgid "Import options"
2138
- msgstr "Beállítások importálása"
2139
-
2140
- #: static/js/screens/DemoInstall/Installer/useInstaller.js:145
2141
- msgid "Import widgets"
2142
- msgstr "Widgetek importálása"
2143
-
2144
- #: static/js/screens/DemoInstall/Installer/useInstaller.js:152
2145
- msgid "Import content"
2146
- msgstr "Tartalom importálása"
2147
-
2148
- #: static/js/screens/DemoInstall/Installer/useInstaller.js:98
2149
- msgid "Register demo"
2150
- msgstr "Demó regisztrálása"
2151
-
2152
- #: static/js/screens/DemoInstall/Wizzard/ChildTheme.js:100
2153
- msgid ""
2154
- "You already have a child theme properly installed and activated. Move on."
2155
- msgstr ""
2156
- "Már van egy gyermektéma megfelelően telepítve és aktiválva. Lépjünk tovább."
2157
-
2158
- #: static/js/screens/DemoInstall/Wizzard/ChildTheme.js:106
2159
- msgid "Learn more about child themes"
2160
- msgstr "További információ a gyermektémákról"
2161
-
2162
- #: static/js/screens/DemoInstall/Wizzard/ChildTheme.js:70
2163
- msgid ""
2164
- "We strongly recommend to install the child theme, this way you will have "
2165
- "freedom to make changes without breaking the parent theme."
2166
- msgstr ""
2167
- "Javasoljuk, hogy telepítse a gyermek témát, így szabadon módosíthatja "
2168
- "anélkül, hogy megtörné a szülő témát."
2169
-
2170
- #: static/js/screens/DemoInstall/Wizzard/ChildTheme.js:77
2171
- msgid ""
2172
- "We strongly recommend to activate the child theme, this way you will have "
2173
- "freedom to make changes without breaking the parent theme."
2174
- msgstr ""
2175
- "Javasoljuk, hogy aktiválja a gyermek témát, így szabadon módosíthatja "
2176
- "anélkül, hogy megtörné a szülő témát."
2177
-
2178
- #: static/js/screens/DemoInstall/Wizzard/ChildTheme.js:93
2179
- msgid "Install Child Theme"
2180
- msgstr "Gyermektéma telepítése"
2181
-
2182
- #: static/js/screens/DemoInstall/Wizzard/ChildTheme.js:94
2183
- msgid "Activate Child Theme"
2184
- msgstr "Gyermektéma aktiválása"
2185
-
2186
- #: static/js/screens/DemoInstall/Wizzard/Content.js:28
2187
- msgid "Import Content"
2188
- msgstr "Tartalom importálása"
2189
-
2190
- #: static/js/screens/DemoInstall/Wizzard/Content.js:31
2191
- msgid ""
2192
- "This will import posts, pages, comments, navigation menus, custom fields, "
2193
- "terms and custom posts"
2194
- msgstr ""
2195
- "Ez importálja a bejegyzéseket, oldalakat, megjegyzéseket, navigációs "
2196
- "menüket, egyéni mezőket, kifejezéseket és egyéni bejegyzéseket"
2197
-
2198
- #: static/js/screens/DemoInstall/Wizzard/Content.js:71
2199
- msgid "Clean Install"
2200
- msgstr "Tiszta telepítés"
2201
-
2202
- #: static/js/screens/DemoInstall/Wizzard/Content.js:73
2203
- msgid ""
2204
- "This option will remove the previous imported content and will perform a "
2205
- "fresh and clean install."
2206
- msgstr ""
2207
- "Ez a beállítás eltávolítja a korábbi importált tartalmat, és friss és tiszta "
2208
- "telepítést hajt végre."
2209
-
2210
- #: static/js/screens/DemoInstall/Wizzard/ModifyDemo.js:120
2211
- msgid "This starter site is already installed"
2212
- msgstr "Ez az indítówebhely már telepítve van"
2213
-
2214
- #: static/js/screens/DemoInstall/Wizzard/ModifyDemo.js:125
2215
- msgid "Starter Site Removed"
2216
- msgstr "Kezdő oldalak eltávolítva"
2217
-
2218
- #: static/js/screens/DemoInstall/Wizzard/ModifyDemo.js:134
2219
- msgid "Dismiss"
2220
- msgstr "Elutasít"
2221
-
2222
- #: static/js/screens/DemoInstall/Wizzard/ModifyDemo.js:143
2223
- msgid "What steps do you want to perform next?"
2224
- msgstr "Milyen lépéseket szeretne végrehajtani a következő lépésekkel?"
2225
-
2226
- #: static/js/screens/DemoInstall/Wizzard/ModifyDemo.js:155
2227
- msgid "Remove"
2228
- msgstr "Eltávolítás"
2229
-
2230
- #: static/js/screens/DemoInstall/Wizzard/ModifyDemo.js:164
2231
- msgid "Reinstall"
2232
- msgstr "Újratelepítés"
2233
-
2234
- #: static/js/screens/DemoInstall/Wizzard/ModifyDemo.js:42
2235
- msgid "Deactivate demo plugins"
2236
- msgstr "Demóbővítmények inaktiválása"
2237
-
2238
- #: static/js/screens/DemoInstall/Wizzard/PickBuilder.js:66
2239
- msgid "Choose Page Builder"
2240
- msgstr "Oldalszerkesztő kiválasztása"
2241
-
2242
- #: static/js/screens/DemoInstall/Wizzard/PickBuilder.js:69
2243
- msgid ""
2244
- "This demo template was built and is available to be used with one of these "
2245
- "page builders. Please select your prefered one in order to continue."
2246
- msgstr ""
2247
- "Ez a demó sablon készült, és elérhető lehet használni az egyik ilyen oldal "
2248
- "építők. Kérjük, válassza ki a kívánt egyet a folytatáshoz."
2249
-
2250
- #: static/js/screens/DemoInstall/Wizzard/Plugins.js:57
2251
- msgid "Install & Activate Plugins"
2252
- msgstr "Telepítése & Bővítmények aktiválása"
2253
-
2254
- #: static/js/screens/DemoInstall/Wizzard/Plugins.js:59
2255
- msgid ""
2256
- "The following plugins are required for this starter site in order to work "
2257
- "properly."
2258
- msgstr ""
2259
- "A következő bővítmények szükségesek ehhez a kezdő webhelyhez a megfelelő "
2260
- "működéshez."
2261
-
2262
- #: static/js/screens/Extensions.js:198
2263
- msgid "Loading Extensions Status..."
2264
- msgstr "Bővítmények betöltési állapota..."
2265
-
2266
- #: static/js/screens/Extensions.js:220
2267
- msgid "Free Extensions"
2268
- msgstr "Ingyenes bővítmények"
2269
-
2270
- #: static/js/screens/Extensions.js:224
2271
- msgid "Pro Extensions"
2272
- msgstr "Pro bővítmények"
2273
-
2274
- #: static/js/screens/OptIn.js:55
2275
- msgid "Stay Updated"
2276
- msgstr "Legyen naprakész"
2277
-
2278
- #: static/js/screens/OptIn.js:58
2279
- msgid ""
2280
- "Never miss an important update - opt in to our security & feature updates "
2281
- "notifications, and non-sensitive diagnostic tracking."
2282
- msgstr ""
2283
- "Soha ne hagyjon ki egy fontos frissítést - jelentkezzen biztonsági és "
2284
- "funkciófrissítési értesítéseinkre és a nem érzékeny diagnosztikai nyomon "
2285
- "követésre."
2286
-
2287
- #: static/js/screens/OptIn.js:69
2288
- msgid "Allow & Continue"
2289
- msgstr "Engedélyezés és folytatás"
2290
-
2291
- #: static/js/screens/SiteExport.js:107
2292
- msgid "PRO"
2293
- msgstr "Pro"
2294
-
2295
- #: static/js/screens/SiteExport.js:121
2296
- msgid "Builder"
2297
- msgstr "Szerkesztő"
2298
-
2299
- #: static/js/screens/SiteExport.js:132
2300
- msgid "Plugins"
2301
- msgstr "Bővítmények"
2302
-
2303
- #: static/js/screens/SiteExport.js:147
2304
- msgid "Export site"
2305
- msgstr "Webhely exportálása"
2306
-
2307
- #: static/js/screens/SiteExport.js:72
2308
- msgid "Site export"
2309
- msgstr "Weboldal exportálása"
2310
-
2311
- #: static/js/screens/SiteExport.js:98
2312
- msgid "Preview URL"
2313
- msgstr "URL-cím előnézete"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
languages/blocksy-companion-ar.mo ADDED
Binary file
languages/blocksy-companion-ar.po ADDED
@@ -0,0 +1,5474 @@