Brizy – Page Builder - Version 2.4.1

Version Description

  • 2022-06-02 =
  • Improved: Saved blocks lazy load
  • Improved: Performance on columns drag and drop
  • Improved: Performance on videos and images resize
  • Improved: Performance on column resize
  • Improved: Section padding resize
  • Fixed: Column issue when is inside a Tab element
  • Fixed: Featured image on columns hover did not inherit image from normal state
  • Fixed: The right sidebar on Tab element was messed up
  • Fixed: Endless spinning on the Video element
  • Fixed: Block margin in px and %
  • Fixed: Block border radius on color hover
  • Fixed: YouTube header script
  • Fixed: Do not render PRO elements in preview
  • Fixed: Added controls option for Vimeo videos
Download this release

Release Info

Developer themefusecom
Plugin Icon 128x128 Brizy – Page Builder
Version 2.4.1
Comparing to
See all releases

Code changes from version 2.4.0 to 2.4.1

README.md CHANGED
@@ -1,9 +1,9 @@
1
  # Brizy - Page Builder
2
  Contributors: themefuse<br>
3
  Requires at least: 4.5<br>
4
- Tested up to: 5.9.3<br>
5
  Requires PHP: 5.6.20<br>
6
- Stable tag: 2.4.0<br>
7
  License: GPLv3<br>
8
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
9
 
@@ -118,6 +118,22 @@ $bodyHtml = apply_filters( 'brizy_content', $html->get_body(), Brizy_Editor_Proj
118
 
119
  ## Changelog
120
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
121
  ### 2.4.0 - 2022-05-18
122
  * New: Counter width changing the location in color section of toolbar
123
  * New: Possibility to add URL for video like .mp4 URLs
1
  # Brizy - Page Builder
2
  Contributors: themefuse<br>
3
  Requires at least: 4.5<br>
4
+ Tested up to: 6.0<br>
5
  Requires PHP: 5.6.20<br>
6
+ Stable tag: 2.4.1<br>
7
  License: GPLv3<br>
8
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
9
 
118
 
119
  ## Changelog
120
 
121
+ ### 2.4.1 - 2022-06-02
122
+ * Improved: Saved blocks lazy load
123
+ * Improved: Performance on columns drag and drop
124
+ * Improved: Performance on videos and images resize
125
+ * Improved: Performance on column resize
126
+ * Improved: Section padding resize
127
+ * Fixed: Column issue when is inside a Tab element
128
+ * Fixed: Featured image on columns hover did not inherit image from normal state
129
+ * Fixed: The right sidebar on Tab element was messed up
130
+ * Fixed: Endless spinning on the Video element
131
+ * Fixed: Block margin in px and %
132
+ * Fixed: Block border radius on color hover
133
+ * Fixed: YouTube header script
134
+ * Fixed: Do not render PRO elements in preview
135
+ * Fixed: Added controls option for Vimeo videos
136
+
137
  ### 2.4.0 - 2022-05-18
138
  * New: Counter width changing the location in color section of toolbar
139
  * New: Possibility to add URL for video like .mp4 URLs
admin/settings.php CHANGED
@@ -39,9 +39,10 @@ class Brizy_Admin_Settings {
39
  add_action( 'admin_menu', array( $this, 'actionRegisterSettingsPage' ) );
40
 
41
  if ( ! is_network_admin() ) {
42
- add_action( 'admin_menu', array( $this, 'actionRegisterSubMenuSettingsPage' ), 9 );
43
  add_action( 'admin_menu', array( $this, 'actionRegisterSubMenuGetHelpLink' ), 20 );
44
  add_action( 'admin_menu', array( $this, 'actionRegisterSubMenuGoProPage' ), 20 );
 
45
  }
46
 
47
  add_action( 'submenu_file', array( $this, 'submenu_file' ), 10, 2 );
@@ -103,12 +104,24 @@ class Brizy_Admin_Settings {
103
  * @internal
104
  */
105
  function actionRegisterSubMenuSettingsPage() {
106
- add_submenu_page( self::menu_slug(),
 
107
  __( 'Settings', 'brizy' ),
108
  __( 'Settings', 'brizy' ),
109
  'manage_options',
110
  self::menu_slug(),
111
- array( $this, 'render' )
 
 
 
 
 
 
 
 
 
 
 
112
  );
113
  }
114
 
@@ -353,6 +366,17 @@ class Brizy_Admin_Settings {
353
  }
354
  }
355
 
 
 
 
 
 
 
 
 
 
 
 
356
  public function render_tabs() {
357
  $tabs = $this->get_tabs();
358
  foreach ( $tabs as $tab ) {
@@ -511,6 +535,69 @@ class Brizy_Admin_Settings {
511
  </label>
512
  <?php
513
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
514
  }
515
 
516
 
39
  add_action( 'admin_menu', array( $this, 'actionRegisterSettingsPage' ) );
40
 
41
  if ( ! is_network_admin() ) {
42
+ add_action( 'admin_menu', array( $this, 'actionRegisterSubMenuSettingsPage' ), 11 );
43
  add_action( 'admin_menu', array( $this, 'actionRegisterSubMenuGetHelpLink' ), 20 );
44
  add_action( 'admin_menu', array( $this, 'actionRegisterSubMenuGoProPage' ), 20 );
45
+ add_action( 'wp_ajax_brizy_replace_url', [ $this, 'replaceUrl' ] );
46
  }
47
 
48
  add_action( 'submenu_file', array( $this, 'submenu_file' ), 10, 2 );
104
  * @internal
105
  */
106
  function actionRegisterSubMenuSettingsPage() {
107
+ add_submenu_page(
108
+ self::menu_slug(),
109
  __( 'Settings', 'brizy' ),
110
  __( 'Settings', 'brizy' ),
111
  'manage_options',
112
  self::menu_slug(),
113
+ [ $this, 'render' ],
114
+ 0
115
+ );
116
+
117
+ add_submenu_page(
118
+ self::menu_slug(),
119
+ __( 'Tools', 'brizy' ),
120
+ __( 'Tools', 'brizy' ),
121
+ 'manage_options',
122
+ Brizy_Editor::prefix( '-tools' ),
123
+ [ $this, 'renderPageTools' ],
124
+ 6
125
  );
126
  }
127
 
366
  }
367
  }
368
 
369
+ public function renderPageTools() {
370
+
371
+ if ( is_network_admin() ) {
372
+ return;
373
+ }
374
+
375
+ try {
376
+ echo Brizy_Admin_View::render( 'settings/tools', [] );
377
+ } catch ( Exception $e ) {}
378
+ }
379
+
380
  public function render_tabs() {
381
  $tabs = $this->get_tabs();
382
  foreach ( $tabs as $tab ) {
535
  </label>
536
  <?php
537
  }
538
+
539
+ public function replaceUrl() {
540
+ check_ajax_referer( 'brizy-admin-nonce', 'nonce' );
541
+
542
+ if ( ! current_user_can( 'manage_options' ) ) {
543
+ wp_send_json_error( [ 'message' => __( 'You must be an administrator running a replace URL session', 'brizy' ) ] );
544
+ }
545
+
546
+ $from = trim( $_POST['from'] );
547
+ $to = trim( $_POST['to'] );
548
+ $fromEncoded = urlencode( $from );
549
+ $toEncoded = urlencode( $to );
550
+
551
+ if ( $from === $to ) {
552
+ wp_send_json_error( [ 'message' => __( "The old and new URLs must be different", 'brizy' ) ] );
553
+ }
554
+
555
+ if ( ! filter_var( $from, FILTER_VALIDATE_URL ) || ! filter_var( $to, FILTER_VALIDATE_URL ) ) {
556
+ wp_send_json_error( [ 'message' => esc_html__( "The old and new URLs must be valid URLs", 'brizy' ) ] );
557
+ }
558
+
559
+ wp_raise_memory_limit( 'admin' );
560
+
561
+ global $wpdb;
562
+
563
+ $offset = 0;
564
+
565
+ while ( true ) {
566
+
567
+ $rows = $wpdb->get_results( "SELECT meta_value, post_id from {$wpdb->postmeta} WHERE meta_key = 'brizy' LIMIT {$offset}, 100", ARRAY_A );
568
+
569
+ if ( empty( $rows ) ) {
570
+ break;
571
+ }
572
+
573
+ foreach ( $rows as $row ) {
574
+
575
+ if ( ( $data = maybe_unserialize( $row['meta_value'] ) ) === false || empty( $data['brizy-post']['editor_data'] ) ) {
576
+ continue;
577
+ }
578
+
579
+ $json = base64_decode( $data['brizy-post']['editor_data'] );
580
+
581
+ if ( ! $json || ( ! strpos( $json, $from ) && ! strpos( $json, $fromEncoded ) ) ) {
582
+ continue;
583
+ }
584
+
585
+ $json = str_replace( $from, $to, $json );
586
+ $json = str_replace( $fromEncoded, $toEncoded, $json );
587
+
588
+ $data['brizy-post']['editor_data'] = base64_encode( $json );
589
+ $data['brizy-post']['compiled_html'] = '';
590
+
591
+ update_post_meta( $row['post_id'], 'brizy', $data );
592
+ }
593
+
594
+ $offset += 100;
595
+ }
596
+
597
+ Brizy_Editor_Post::mark_all_for_compilation();
598
+
599
+ wp_send_json_success( [ 'message' => __( 'The replacement was successful', 'brizy' ) ] );
600
+ }
601
  }
602
 
603
 
admin/static/css/style.css CHANGED
@@ -813,4 +813,28 @@ box-shadow: 0px 2px 0px 0px #e3e3e3;
813
  visibility: visible;
814
  margin-top: 30px;
815
  }
816
- /* End Demo Import Page */
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
813
  visibility: visible;
814
  margin-top: 30px;
815
  }
816
+ /* End Demo Import Page */
817
+
818
+ /* Replace URL Tab under Brizy -> Tools admin page */
819
+
820
+ .brz-button-spinner:before {
821
+ font: normal 20px/.5 dashicons;
822
+ speak: none;
823
+ display: inline-block;
824
+ padding: 0;
825
+ top: 8px;
826
+ left: -4px;
827
+ position: relative;
828
+ vertical-align: top;
829
+ content: "\f463";
830
+ }
831
+ .brz-button-spinner.loading:before {
832
+ -webkit-animation: rotation 1s infinite linear;
833
+ animation: rotation 1s infinite linear;
834
+ }
835
+ .brz-button-spinner.success:before {
836
+ content: "\f147";
837
+ color: #46b450;
838
+ }
839
+
840
+ /* END Replace URL Tab under Brizy -> Tools admin page */
admin/static/js/script.js CHANGED
@@ -2,7 +2,7 @@ jQuery(document).ready(function ($) {
2
 
3
  $( '.brz-review-deserve, .brz-review-later, .brz-review-done' ).on( 'click', function ( e ) {
4
 
5
- var btn = $( this );
6
  notice = btn.closest( '.brz-notice' );
7
 
8
  if ( ! btn.hasClass( 'brz-review-deserve' ) ) {
@@ -26,6 +26,41 @@ jQuery(document).ready(function ($) {
26
  });
27
  } );
28
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
29
  var BrizyFeedbackDialog = {
30
 
31
  init: function () {
2
 
3
  $( '.brz-review-deserve, .brz-review-later, .brz-review-done' ).on( 'click', function ( e ) {
4
 
5
+ var btn = $( this ),
6
  notice = btn.closest( '.brz-notice' );
7
 
8
  if ( ! btn.hasClass( 'brz-review-deserve' ) ) {
26
  });
27
  } );
28
 
29
+ $( '#brz-replace-url-button' ).on( 'click', function ( e ) {
30
+ e.preventDefault();
31
+
32
+ var self = $( this ),
33
+ tr = self.parents( 'tr' ),
34
+ from = tr.find( '[name="from"]' ),
35
+ to = tr.find( '[name="to"]' );
36
+
37
+ self.removeClass( 'success' ).addClass( 'loading' );
38
+
39
+ if ( ! self.hasClass( 'loading' ) ) {
40
+ return;
41
+ }
42
+
43
+ $.post( Brizy_Admin_Data.url, {
44
+ action: 'brizy_replace_url',
45
+ from: from.val(),
46
+ to: to.val(),
47
+ nonce: Brizy_Admin_Data.nonce
48
+ } ).done( function ( response ) {
49
+ self.removeClass( 'loading' );
50
+
51
+ if ( response.success ) {
52
+ self.addClass( 'success' );
53
+ }
54
+
55
+ alert( response.data.message );
56
+ } ).error( function( response ) {
57
+
58
+ self.removeClass( 'success' ).removeClass( 'loading' );
59
+
60
+ alert( response.responseText );
61
+ } );
62
+ } );
63
+
64
  var BrizyFeedbackDialog = {
65
 
66
  init: function () {
admin/views/settings/tools.php ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php defined( 'ABSPATH' ) or die();
2
+
3
+ $selectedTab = isset( $_REQUEST['tab'] ) ? esc_attr( $_REQUEST['tab'] ) : 'replacer';
4
+ ?>
5
+
6
+ <div class="wrap">
7
+ <h1><?php _e( 'Tools', 'brizy' ); ?></h1>
8
+
9
+ <h2 class="nav-tab-wrapper">
10
+ <a href="<?php echo menu_page_url( Brizy_Editor::prefix( '-tools' ), false ) . '&tab=replacer' ?>" class="nav-tab<?php echo ( $selectedTab == 'replacer' ? ' nav-tab-active' : '' ) ?>">
11
+ <?php _e( 'Replace URL', 'brizy' ); ?>
12
+ </a>
13
+ </h2>
14
+ <?php if ( $selectedTab == 'replacer' ) : ?>
15
+ <div id="tab-replace_url" class="brz-settings-form-page brz-active">
16
+ <h2><?php _e( 'Replace URL', 'brizy' ); ?></h2>
17
+ <div>
18
+ <?php printf( __( '<strong>Important:</strong> It is strongly recommended that you <a target="_blank" href="%s">backup your database</a> before using Replace URL.', 'brizy' ), 'https://wordpress.org/support/article/wordpress-backups/' ); ?>
19
+ </div>
20
+ <table class="form-table">
21
+ <tbody>
22
+ <tr class="brz_replace_url">
23
+ <th scope="row"><?php _e( 'Update Site Address (URL)', 'brizy' ); ?></th>
24
+ <td>
25
+ <div id="brz_replace_url">
26
+ <div>
27
+ <input type="text" name="from" placeholder="http://old-url.com" class="medium-text">
28
+ <input type="text" name="to" placeholder="http://new-url.com" class="medium-text">
29
+ <button class="button brz-button-spinner" id="brz-replace-url-button">
30
+ <?php _e( 'Replace URL', 'brizy' ); ?>
31
+ </button>
32
+ </div>
33
+ <p class="description">
34
+ <?php printf( __( "Enter your old and new URLs for your WordPress installation, to update all %s data (Relevant for domain transfers or move to 'HTTPS').", 'brizy' ), ucfirst( __bt( 'brizy', 'Brizy' ) ) ); ?>
35
+ </p>
36
+ </div>
37
+ </td>
38
+ </tr>
39
+ </tbody>
40
+ </table>
41
+ </div>
42
+ <?php endif; ?>
43
+ </div>
brizy.php CHANGED
@@ -5,7 +5,7 @@
5
  * Plugin URI: https://brizy.io/
6
  * Author: Brizy.io
7
  * Author URI: https://brizy.io/
8
- * Version: 2.4.0
9
  * Text Domain: brizy
10
  * License: GPLv3
11
  * Domain Path: /languages
@@ -19,10 +19,10 @@ if ( isset( $_SERVER['HTTP_X_FORWARDED_PROTO'] ) && stripos( $_SERVER['HTTP_X_FO
19
 
20
  define( 'BRIZY_DEVELOPMENT', false );
21
  define( 'BRIZY_LOG', false );
22
- define( 'BRIZY_VERSION', '2.4.0' );
23
  define( 'BRIZY_MINIMUM_PRO_VERSION', '2.4.0' );
24
- define( 'BRIZY_EDITOR_VERSION', BRIZY_DEVELOPMENT ? 'dev' : '236-wp' );
25
- define( 'BRIZY_SYNC_VERSION', '235' );
26
  define( 'BRIZY_FILE', __FILE__ );
27
  define( 'BRIZY_PLUGIN_BASE', plugin_basename( BRIZY_FILE ) );
28
  define( 'BRIZY_PLUGIN_PATH', dirname( BRIZY_FILE ) );
5
  * Plugin URI: https://brizy.io/
6
  * Author: Brizy.io
7
  * Author URI: https://brizy.io/
8
+ * Version: 2.4.1
9
  * Text Domain: brizy
10
  * License: GPLv3
11
  * Domain Path: /languages
19
 
20
  define( 'BRIZY_DEVELOPMENT', false );
21
  define( 'BRIZY_LOG', false );
22
+ define( 'BRIZY_VERSION', '2.4.1' );
23
  define( 'BRIZY_MINIMUM_PRO_VERSION', '2.4.0' );
24
+ define( 'BRIZY_EDITOR_VERSION', BRIZY_DEVELOPMENT ? 'dev' : '237-wp' );
25
+ define( 'BRIZY_SYNC_VERSION', '237' );
26
  define( 'BRIZY_FILE', __FILE__ );
27
  define( 'BRIZY_PLUGIN_BASE', plugin_basename( BRIZY_FILE ) );
28
  define( 'BRIZY_PLUGIN_PATH', dirname( BRIZY_FILE ) );
import/main.php CHANGED
@@ -34,7 +34,7 @@ class Brizy_Import_Main {
34
  'manage_options',
35
  'starter-templates',
36
  [ $this, 'renderTemplatesPage' ],
37
- 6
38
  );
39
  }
40
 
34
  'manage_options',
35
  'starter-templates',
36
  [ $this, 'renderTemplatesPage' ],
37
+ 8
38
  );
39
  }
40
 
languages/brizy.pot CHANGED
@@ -2,15 +2,16 @@
2
  # This file is distributed under the GPLv3.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Brizy 2.3.33\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/brizy\n"
 
7
  "Language-Team: LANGUAGE <LL@li.org>\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
11
- "POT-Creation-Date: 2022-03-16T08:55:00+00:00\n"
12
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13
- "X-Generator: WP-CLI 2.6.0\n"
14
  "X-Domain: brizy\n"
15
 
16
  #. Plugin Name of the plugin
@@ -34,16 +35,16 @@ msgstr ""
34
  msgid "global block."
35
  msgstr ""
36
 
37
- #: admin/dashboard-widget.php:39
38
  msgid "%s Overview"
39
  msgstr ""
40
 
41
- #: admin/dashboard-widget.php:72
42
  msgid "There is no body in the remote server response."
43
  msgstr ""
44
 
45
- #: admin/dashboard-widget.php:82
46
- msgid "Parsing failed!"
47
  msgstr ""
48
 
49
  #: admin/feedback.php:30
@@ -119,7 +120,7 @@ msgid "Leads details"
119
  msgstr ""
120
 
121
  #: admin/form-entries.php:62
122
- #: public/editor-build/221-wp/texts.php:220
123
  msgid "Date"
124
  msgstr ""
125
 
@@ -164,7 +165,7 @@ msgstr ""
164
  #: admin/form-entries.php:331
165
  #: admin/popups/main.php:115
166
  #: admin/templates.php:247
167
- #: public/editor-build/221-wp/texts.php:47
168
  msgid "Add New"
169
  msgstr ""
170
 
@@ -204,27 +205,28 @@ msgstr ""
204
  msgid "Layout."
205
  msgstr ""
206
 
207
- #: admin/main.php:248
208
- #: admin/settings.php:107
209
- #: admin/settings.php:108
210
- #: public/editor-build/221-wp/texts.php:689
211
  msgid "Settings"
212
  msgstr ""
213
 
214
- #: admin/main.php:256
215
- #: admin/settings.php:146
 
216
  msgid "Go Pro"
217
  msgstr ""
218
 
219
- #: admin/main.php:315
220
  msgid "Submit & Deactivate"
221
  msgstr ""
222
 
223
- #: admin/main.php:316
224
  msgid "Skip & Deactivate"
225
  msgstr ""
226
 
227
- #: admin/main.php:430
228
  #: admin/views/button.php:25
229
  #: admin/views/button.php:44
230
  #: compatibilities/gutenberg.php:98
@@ -232,10 +234,6 @@ msgstr ""
232
  msgid "Edit with %s"
233
  msgstr ""
234
 
235
- #: admin/main.php:541
236
- msgid "Importing Brizy post &#8220;%s&#8221; will be skipped due to incompatible version: %s "
237
- msgstr ""
238
-
239
  #: admin/membership/membership.php:64
240
  #: editor/post.php:592
241
  msgid "Default"
@@ -259,7 +257,7 @@ msgid "View Page As %s"
259
  msgstr ""
260
 
261
  #: admin/network-settings.php:82
262
- #: admin/settings.php:302
263
  msgid "Full Access"
264
  msgstr ""
265
 
@@ -301,7 +299,7 @@ msgstr ""
301
 
302
  #: admin/popups/main.php:120
303
  #: admin/popups/main.php:134
304
- #: public/editor-build/221-wp/texts.php:563
305
  msgid "Popups"
306
  msgstr ""
307
 
@@ -341,22 +339,45 @@ msgstr ""
341
  msgid "Any child of"
342
  msgstr ""
343
 
344
- #: admin/settings.php:129
 
 
 
 
 
 
345
  msgid "Get Help"
346
  msgstr ""
347
 
348
- #: admin/settings.php:158
 
349
  msgid "General"
350
  msgstr ""
351
 
352
- #: admin/settings.php:164
353
  msgid "Role Manager"
354
  msgstr ""
355
 
356
- #: admin/settings.php:170
357
  msgid "Maintenance Mode"
358
  msgstr ""
359
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
360
  #: admin/stories/main.php:39
361
  msgctxt "post type general name"
362
  msgid "Stories"
@@ -395,7 +416,7 @@ msgid "View Story"
395
  msgstr ""
396
 
397
  #: admin/stories/main.php:48
398
- #: public/editor-build/221-wp/texts.php:751
399
  msgid "Stories"
400
  msgstr ""
401
 
@@ -416,7 +437,7 @@ msgid "No Stories found in Trash."
416
  msgstr ""
417
 
418
  #: admin/stories/main.php:60
419
- #: public/editor-build/221-wp/texts.php:902
420
  msgid "stories"
421
  msgstr ""
422
 
@@ -425,12 +446,12 @@ msgid "Single"
425
  msgstr ""
426
 
427
  #: admin/templates.php:128
428
- #: public/editor-build/221-wp/texts.php:76
429
  msgid "Archive"
430
  msgstr ""
431
 
432
  #: admin/templates.php:133
433
- #: public/editor-build/221-wp/texts.php:585
434
  msgid "Product"
435
  msgstr ""
436
 
@@ -537,7 +558,7 @@ msgid "Recently Edited"
537
  msgstr ""
538
 
539
  #: admin/views/dashboard.php:12
540
- #: public/editor-build/221-wp/texts.php:116
541
  msgid "Blog"
542
  msgstr ""
543
 
@@ -580,12 +601,12 @@ msgid "Who Can Access"
580
  msgstr ""
581
 
582
  #: admin/views/settings/maintenance.php:27
583
- #: public/editor-build/221-wp/texts.php:210
584
  msgid "Custom"
585
  msgstr ""
586
 
587
  #: admin/views/settings/maintenance.php:33
588
- #: public/editor-build/221-wp/texts.php:645
589
  msgid "Roles"
590
  msgstr ""
591
 
@@ -605,15 +626,37 @@ msgstr ""
605
  msgid "Whitelisted IP Addresses"
606
  msgstr ""
607
 
608
- #: brizy.php:66
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
609
  #: system-checks.php:37
610
  msgid "%1$s requires PHP version 5.6+, you currently running PHP %2$s. <b>%3$s IS NOT RUNNING.</b>"
611
  msgstr ""
612
 
613
- #: brizy.php:83
614
  msgid "%1$s failed to start. Please contact the support <a href=\"%s\">here</a>."
615
  msgstr ""
616
 
 
 
 
 
617
  #: content/providers/free-provider.php:117
618
  msgid "%s comment"
619
  msgid_plural "%s comments"
@@ -624,11 +667,11 @@ msgstr[1] ""
624
  msgid "Please set a valid product"
625
  msgstr ""
626
 
627
- #: editor.php:279
628
  msgid " Template"
629
  msgstr ""
630
 
631
- #: editor.php:601
632
  msgid "Original"
633
  msgstr ""
634
 
@@ -644,6 +687,164 @@ msgstr ""
644
  msgid "Invalid image content"
645
  msgstr ""
646
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
647
  #: maintenance-mode.php:110
648
  msgid "Maintenance Mode ON"
649
  msgstr ""
@@ -652,3551 +853,3967 @@ msgstr ""
652
  msgid "Edit Page"
653
  msgstr ""
654
 
655
- #: public/editor-build/221-wp/texts.php:6
656
  msgid " Display Conditions"
657
  msgstr ""
658
 
659
- #: public/editor-build/221-wp/texts.php:7
660
  msgid "%s Selected"
661
  msgstr ""
662
 
663
- #: public/editor-build/221-wp/texts.php:8
664
  msgid "+ 10:00 (Sydney, Melbourne)"
665
  msgstr ""
666
 
667
- #: public/editor-build/221-wp/texts.php:9
668
  msgid "+ 11:00 (Ponape)"
669
  msgstr ""
670
 
671
- #: public/editor-build/221-wp/texts.php:10
672
  msgid "+ 12:00 (Auckland)"
673
  msgstr ""
674
 
675
- #: public/editor-build/221-wp/texts.php:11
676
  msgid "+ 1:00 (Berlin, Paris)"
677
  msgstr ""
678
 
679
- #: public/editor-build/221-wp/texts.php:12
680
  msgid "+ 2:00 (Athens, Istanbul)"
681
  msgstr ""
682
 
683
- #: public/editor-build/221-wp/texts.php:13
684
  msgid "+ 3:00 (Moscow, Baghdad)"
685
  msgstr ""
686
 
687
- #: public/editor-build/221-wp/texts.php:14
688
  msgid "+ 4:00 (Dubai, Baku)"
689
  msgstr ""
690
 
691
- #: public/editor-build/221-wp/texts.php:15
692
  msgid "+ 5:00 (Yekaterinburg)"
693
  msgstr ""
694
 
695
- #: public/editor-build/221-wp/texts.php:16
696
  msgid "+ 6:00 (Nur-Sultan)"
697
  msgstr ""
698
 
699
- #: public/editor-build/221-wp/texts.php:17
700
  msgid "+ 7:00 (Bangkok, Jakarta)"
701
  msgstr ""
702
 
703
- #: public/editor-build/221-wp/texts.php:18
704
  msgid "+ 8:00 (Singapore, Beijing)"
705
  msgstr ""
706
 
707
- #: public/editor-build/221-wp/texts.php:19
708
  msgid "+ 9:00 (Tokyo, Seoul)"
709
  msgstr ""
710
 
711
- #: public/editor-build/221-wp/texts.php:20
712
  msgid "- 10:00 (Honolulu, Papeete)"
713
  msgstr ""
714
 
715
- #: public/editor-build/221-wp/texts.php:21
716
  msgid "- 11:00 (Niue)"
717
  msgstr ""
718
 
719
- #: public/editor-build/221-wp/texts.php:22
720
  msgid "- 1:00 (Cape Verde)"
721
  msgstr ""
722
 
723
- #: public/editor-build/221-wp/texts.php:23
724
  msgid "- 2:00 (Noronha)"
725
  msgstr ""
726
 
727
- #: public/editor-build/221-wp/texts.php:24
728
  msgid "- 3:00 (Brasilia, Santiago)"
729
  msgstr ""
730
 
731
- #: public/editor-build/221-wp/texts.php:25
732
  msgid "- 4:00 (Halifax, Manaus)"
733
  msgstr ""
734
 
735
- #: public/editor-build/221-wp/texts.php:26
736
  msgid "- 5:00 (New York, Miami)"
737
  msgstr ""
738
 
739
- #: public/editor-build/221-wp/texts.php:27
740
  msgid "- 6:00 (Chicago, Dallas)"
741
  msgstr ""
742
 
743
- #: public/editor-build/221-wp/texts.php:28
744
  msgid "- 7:00 (Denver, Phoenix)"
745
  msgstr ""
746
 
747
- #: public/editor-build/221-wp/texts.php:29
748
  msgid "- 8:00 (Los Angeles)"
749
  msgstr ""
750
 
751
- #: public/editor-build/221-wp/texts.php:30
752
  msgid "- 9:00 (Anchorage)"
753
  msgstr ""
754
 
755
- #: public/editor-build/221-wp/texts.php:31
 
 
 
 
 
 
 
 
 
 
 
 
756
  msgid "00:00 (London, Dublin)"
757
  msgstr ""
758
 
759
- #: public/editor-build/221-wp/texts.php:32
 
 
 
 
760
  msgid "? (%s)"
761
  msgstr ""
762
 
763
- #: public/editor-build/221-wp/texts.php:33
764
  msgid "ADD FONT VARIATION"
765
  msgstr ""
766
 
767
- #: public/editor-build/221-wp/texts.php:34
768
  msgid "ADD GOOGLE FONT"
769
  msgstr ""
770
 
771
- #: public/editor-build/221-wp/texts.php:35
772
  msgid "APPS"
773
  msgstr ""
774
 
775
- #: public/editor-build/221-wp/texts.php:36
776
  msgid "About us"
777
  msgstr ""
778
 
779
- #: public/editor-build/221-wp/texts.php:37
780
  msgid "Access your Library in any WP install by connecting your Account"
781
  msgstr ""
782
 
783
- #: public/editor-build/221-wp/texts.php:38
784
  msgid "Accordion"
785
  msgstr ""
786
 
787
- #: public/editor-build/221-wp/texts.php:39
788
  msgid "Accordion Items"
789
  msgstr ""
790
 
791
- #: public/editor-build/221-wp/texts.php:40
792
  msgid "Accordion Tags"
793
  msgstr ""
794
 
795
- #: public/editor-build/221-wp/texts.php:41
796
  msgid "Accounts are empty. Please connect a new account and try again."
797
  msgstr ""
798
 
799
- #: public/editor-build/221-wp/texts.php:42
800
  msgid "Action"
801
  msgstr ""
802
 
803
- #: public/editor-build/221-wp/texts.php:43
804
  msgid "Activate Tab"
805
  msgstr ""
806
 
807
- #: public/editor-build/221-wp/texts.php:44
808
  msgid "Active"
809
  msgstr ""
810
 
811
- #: public/editor-build/221-wp/texts.php:45
812
  msgid "Add Elements"
813
  msgstr ""
814
 
815
- #: public/editor-build/221-wp/texts.php:46
816
  msgid "Add Font"
817
  msgstr ""
818
 
819
- #: public/editor-build/221-wp/texts.php:48
820
  msgid "Add New Block / Layout"
821
  msgstr ""
822
 
823
- #: public/editor-build/221-wp/texts.php:49
824
  msgid "Add New Column"
825
  msgstr ""
826
 
827
- #: public/editor-build/221-wp/texts.php:50
828
  msgid "Add New Font"
829
  msgstr ""
830
 
831
- #: public/editor-build/221-wp/texts.php:51
832
  msgid "Add Shopify Elements"
833
  msgstr ""
834
 
835
- #: public/editor-build/221-wp/texts.php:52
836
  msgid "Add To Cart"
837
  msgstr ""
838
 
839
- #: public/editor-build/221-wp/texts.php:53
840
  msgid "Add To Cart Input"
841
  msgstr ""
842
 
843
- #: public/editor-build/221-wp/texts.php:54
844
  msgid "Add a new block"
845
  msgstr ""
846
 
847
- #: public/editor-build/221-wp/texts.php:55
848
  msgid "Add new display condition"
849
  msgstr ""
850
 
851
- #: public/editor-build/221-wp/texts.php:56
852
  msgid "Add new font variation"
853
  msgstr ""
854
 
855
- #: public/editor-build/221-wp/texts.php:57
856
  msgid "Add new option"
857
  msgstr ""
858
 
859
- #: public/editor-build/221-wp/texts.php:58
860
  msgid "Add new trigger condition"
861
  msgstr ""
862
 
863
- #: public/editor-build/221-wp/texts.php:59
864
  msgid "Add to Cart"
865
  msgstr ""
866
 
867
- #: public/editor-build/221-wp/texts.php:60
868
  msgid "Add to cart"
869
  msgstr ""
870
 
871
- #: public/editor-build/221-wp/texts.php:61
872
  msgid "Additionals"
873
  msgstr ""
874
 
875
- #: public/editor-build/221-wp/texts.php:62
876
  msgid "Address"
877
  msgstr ""
878
 
879
- #: public/editor-build/221-wp/texts.php:63
880
  msgid "Advanced"
881
  msgstr ""
882
 
883
- #: public/editor-build/221-wp/texts.php:64
 
 
 
 
884
  msgid "Align"
885
  msgstr ""
886
 
887
- #: public/editor-build/221-wp/texts.php:65
888
  msgid "Aligned Left"
889
  msgstr ""
890
 
891
- #: public/editor-build/221-wp/texts.php:66
892
  msgid "Aligned Right"
893
  msgstr ""
894
 
895
- #: public/editor-build/221-wp/texts.php:67
896
- msgid "All"
897
- msgstr ""
898
-
899
- #: public/editor-build/221-wp/texts.php:68
900
- msgid "All Categories"
901
- msgstr ""
902
-
903
- #: public/editor-build/221-wp/texts.php:69
904
  msgid "All fields cannot be empty"
905
  msgstr ""
906
 
907
- #: public/editor-build/221-wp/texts.php:70
908
  msgid "All fields marked with an asterisk ( * ) must be completed."
909
  msgstr ""
910
 
911
- #: public/editor-build/221-wp/texts.php:71
912
  msgid "All fields marked with an asterisk ( * ) must be mapped."
913
  msgstr ""
914
 
915
- #: public/editor-build/221-wp/texts.php:72
916
  msgid "Allowed File Types"
917
  msgstr ""
918
 
919
- #: public/editor-build/221-wp/texts.php:73
920
  msgid "Alt Title"
921
  msgstr ""
922
 
923
- #: public/editor-build/221-wp/texts.php:74
924
  msgid "An error happened while trying to display this element"
925
  msgstr ""
926
 
927
- #: public/editor-build/221-wp/texts.php:75
928
  msgid "Animated"
929
  msgstr ""
930
 
931
- #: public/editor-build/221-wp/texts.php:77
 
 
 
 
 
 
 
 
932
  msgid "Archives"
933
  msgstr ""
934
 
935
- #: public/editor-build/221-wp/texts.php:78
936
  msgid "Are you want to delete account"
937
  msgstr ""
938
 
939
- #: public/editor-build/221-wp/texts.php:79
940
  msgid "Arrangement"
941
  msgstr ""
942
 
943
- #: public/editor-build/221-wp/texts.php:80
944
  msgid "Arrows"
945
  msgstr ""
946
 
947
- #: public/editor-build/221-wp/texts.php:81
948
  msgid "Arrows Spacing"
949
  msgstr ""
950
 
951
- #: public/editor-build/221-wp/texts.php:82
952
  msgid "Article"
953
  msgstr ""
954
 
955
- #: public/editor-build/221-wp/texts.php:83
 
 
 
 
956
  msgid "Asc"
957
  msgstr ""
958
 
959
- #: public/editor-build/221-wp/texts.php:84
960
  msgid "Aside"
961
  msgstr ""
962
 
963
- #: public/editor-build/221-wp/texts.php:85
 
 
 
 
964
  msgid "Attributes"
965
  msgstr ""
966
 
967
- #: public/editor-build/221-wp/texts.php:86
968
  msgid "Audio"
969
  msgstr ""
970
 
971
- #: public/editor-build/221-wp/texts.php:87
972
  msgid "Authentication"
973
  msgstr ""
974
 
975
- #: public/editor-build/221-wp/texts.php:88
976
  msgid "Author"
977
  msgstr ""
978
 
979
- #: public/editor-build/221-wp/texts.php:89
980
  msgid "Auto"
981
  msgstr ""
982
 
983
- #: public/editor-build/221-wp/texts.php:90
984
  msgid "Auto Play"
985
  msgstr ""
986
 
987
- #: public/editor-build/221-wp/texts.php:91
988
  msgid "Auto play"
989
  msgstr ""
990
 
991
- #: public/editor-build/221-wp/texts.php:92
992
  msgid "Auto-Draft"
993
  msgstr ""
994
 
995
- #: public/editor-build/221-wp/texts.php:93
996
  msgid "AutoPlay"
997
  msgstr ""
998
 
999
- #: public/editor-build/221-wp/texts.php:94
1000
  msgid "Automotive"
1001
  msgstr ""
1002
 
1003
- #: public/editor-build/221-wp/texts.php:95
1004
  msgid "Autoplay"
1005
  msgstr ""
1006
 
1007
- #: public/editor-build/221-wp/texts.php:96
1008
  msgid "Avatar"
1009
  msgstr ""
1010
 
1011
- #: public/editor-build/221-wp/texts.php:97
1012
  msgid "Back"
1013
  msgstr ""
1014
 
1015
- #: public/editor-build/221-wp/texts.php:98
1016
  msgid "Back to Layouts"
1017
  msgstr ""
1018
 
1019
- #: public/editor-build/221-wp/texts.php:99
1020
  msgid "Back to Login"
1021
  msgstr ""
1022
 
1023
- #: public/editor-build/221-wp/texts.php:100
1024
  msgid "Back to Stories"
1025
  msgstr ""
1026
 
1027
- #: public/editor-build/221-wp/texts.php:101
1028
  msgid "Background"
1029
  msgstr ""
1030
 
1031
- #: public/editor-build/221-wp/texts.php:102
1032
  msgid "Bar"
1033
  msgstr ""
1034
 
1035
- #: public/editor-build/221-wp/texts.php:103
 
 
 
 
1036
  msgid "Bcc"
1037
  msgstr ""
1038
 
1039
- #: public/editor-build/221-wp/texts.php:104
1040
  msgid "Between"
1041
  msgstr ""
1042
 
1043
- #: public/editor-build/221-wp/texts.php:105
1044
  msgid "Bg"
1045
  msgstr ""
1046
 
1047
- #: public/editor-build/221-wp/texts.php:106
1048
  msgid "Bg Size"
1049
  msgstr ""
1050
 
1051
- #: public/editor-build/221-wp/texts.php:107
1052
  msgid "Bg Star"
1053
  msgstr ""
1054
 
1055
- #: public/editor-build/221-wp/texts.php:108
 
 
 
 
1056
  msgid "Black"
1057
  msgstr ""
1058
 
1059
- #: public/editor-build/221-wp/texts.php:109
1060
  msgid "Blank"
1061
  msgstr ""
1062
 
1063
- #: public/editor-build/221-wp/texts.php:110
 
 
 
 
1064
  msgid "Block"
1065
  msgstr ""
1066
 
1067
- #: public/editor-build/221-wp/texts.php:111
1068
  msgid "Block Name"
1069
  msgstr ""
1070
 
1071
- #: public/editor-build/221-wp/texts.php:112
1072
  msgid "Block conditions are available only in PRO"
1073
  msgstr ""
1074
 
1075
- #: public/editor-build/221-wp/texts.php:113
1076
  msgid "Block is synchronized"
1077
  msgstr ""
1078
 
1079
- #: public/editor-build/221-wp/texts.php:114
1080
  msgid "Block will be synchronized"
1081
  msgstr ""
1082
 
1083
- #: public/editor-build/221-wp/texts.php:115
1084
  msgid "Blocks"
1085
  msgstr ""
1086
 
1087
- #: public/editor-build/221-wp/texts.php:117
 
 
 
 
 
 
 
 
1088
  msgid "Bold"
1089
  msgstr ""
1090
 
1091
- #: public/editor-build/221-wp/texts.php:118
1092
  msgid "Border"
1093
  msgstr ""
1094
 
1095
- #: public/editor-build/221-wp/texts.php:119
1096
  msgid "Bottom"
1097
  msgstr ""
1098
 
1099
- #: public/editor-build/221-wp/texts.php:120
1100
  msgid "Bounce"
1101
  msgstr ""
1102
 
1103
- #: public/editor-build/221-wp/texts.php:121
1104
  msgid "BounceIn"
1105
  msgstr ""
1106
 
1107
- #: public/editor-build/221-wp/texts.php:122
1108
  msgid "BounceInDown"
1109
  msgstr ""
1110
 
1111
- #: public/editor-build/221-wp/texts.php:123
1112
  msgid "BounceInLeft"
1113
  msgstr ""
1114
 
1115
- #: public/editor-build/221-wp/texts.php:124
1116
  msgid "BounceInRight"
1117
  msgstr ""
1118
 
1119
- #: public/editor-build/221-wp/texts.php:125
1120
  msgid "BounceInUp"
1121
  msgstr ""
1122
 
1123
- #: public/editor-build/221-wp/texts.php:126
1124
  msgid "Boxed"
1125
  msgstr ""
1126
 
1127
- #: public/editor-build/221-wp/texts.php:127
1128
  msgid "Branding"
1129
  msgstr ""
1130
 
1131
- #: public/editor-build/221-wp/texts.php:128
1132
  msgid "Breadcrumbs"
1133
  msgstr ""
1134
 
1135
- #: public/editor-build/221-wp/texts.php:129
1136
  msgid "Btn Bg"
1137
  msgstr ""
1138
 
1139
- #: public/editor-build/221-wp/texts.php:130
1140
  msgid "Btn Color"
1141
  msgstr ""
1142
 
1143
- #: public/editor-build/221-wp/texts.php:131
1144
  msgid "Bub."
1145
  msgstr ""
1146
 
1147
- #: public/editor-build/221-wp/texts.php:132
1148
  msgid "Bub. Bg"
1149
  msgstr ""
1150
 
1151
- #: public/editor-build/221-wp/texts.php:133
1152
  msgid "Bubble"
1153
  msgstr ""
1154
 
1155
- #: public/editor-build/221-wp/texts.php:134
1156
  msgid "Business"
1157
  msgstr ""
1158
 
1159
- #: public/editor-build/221-wp/texts.php:135
1160
  msgid "Business Hour"
1161
  msgstr ""
1162
 
1163
- #: public/editor-build/221-wp/texts.php:136
1164
  msgid "Button"
1165
  msgstr ""
1166
 
1167
- #: public/editor-build/221-wp/texts.php:137
1168
  msgid "Button Size"
1169
  msgstr ""
1170
 
1171
- #: public/editor-build/221-wp/texts.php:138
1172
  msgid "Buttons"
1173
  msgstr ""
1174
 
1175
- #: public/editor-build/221-wp/texts.php:139
 
 
 
 
1176
  msgid "CMS"
1177
  msgstr ""
1178
 
1179
- #: public/editor-build/221-wp/texts.php:140
1180
  msgid "CREATE LIST"
1181
  msgstr ""
1182
 
1183
- #: public/editor-build/221-wp/texts.php:141
1184
  msgid "CSS Class"
1185
  msgstr ""
1186
 
1187
- #: public/editor-build/221-wp/texts.php:142
1188
  msgid "CSS ID"
1189
  msgstr ""
1190
 
1191
- #: public/editor-build/221-wp/texts.php:143
1192
  msgid "CTA"
1193
  msgstr ""
1194
 
1195
- #: public/editor-build/221-wp/texts.php:144
1196
  msgid "Cancel"
1197
  msgstr ""
1198
 
1199
- #: public/editor-build/221-wp/texts.php:145
1200
  msgid "Capitalize"
1201
  msgstr ""
1202
 
1203
- #: public/editor-build/221-wp/texts.php:146
1204
  msgid "Captions"
1205
  msgstr ""
1206
 
1207
- #: public/editor-build/221-wp/texts.php:147
1208
  msgid "Carousel"
1209
  msgstr ""
1210
 
1211
- #: public/editor-build/221-wp/texts.php:148
1212
  msgid "Cart"
1213
  msgstr ""
1214
 
1215
- #: public/editor-build/221-wp/texts.php:149
1216
  msgid "Cart Items"
1217
  msgstr ""
1218
 
1219
- #: public/editor-build/221-wp/texts.php:150
1220
  msgid "Cart Settings"
1221
  msgstr ""
1222
 
1223
- #: public/editor-build/221-wp/texts.php:151
1224
  msgid "Categories"
1225
  msgstr ""
1226
 
1227
- #: public/editor-build/221-wp/texts.php:152
1228
  msgid "Categories Count"
1229
  msgstr ""
1230
 
1231
- #: public/editor-build/221-wp/texts.php:153
1232
  msgid "Categories Pagination"
1233
  msgstr ""
1234
 
1235
- #: public/editor-build/221-wp/texts.php:154
1236
  msgid "Categories Tags"
1237
  msgstr ""
1238
 
1239
- #: public/editor-build/221-wp/texts.php:155
1240
  msgid "Category"
1241
  msgstr ""
1242
 
1243
- #: public/editor-build/221-wp/texts.php:156
1244
  msgid "Cc"
1245
  msgstr ""
1246
 
1247
- #: public/editor-build/221-wp/texts.php:157
 
 
 
 
1248
  msgid "Check your email address"
1249
  msgstr ""
1250
 
1251
- #: public/editor-build/221-wp/texts.php:158
1252
  msgid "Checkbox"
1253
  msgstr ""
1254
 
1255
- #: public/editor-build/221-wp/texts.php:159
1256
  msgid "Checkout"
1257
  msgstr ""
1258
 
1259
- #: public/editor-build/221-wp/texts.php:160
1260
  msgid "Children"
1261
  msgstr ""
1262
 
1263
- #: public/editor-build/221-wp/texts.php:161
1264
  msgid "Circle"
1265
  msgstr ""
1266
 
1267
- #: public/editor-build/221-wp/texts.php:162
1268
  msgid "Classic"
1269
  msgstr ""
1270
 
1271
- #: public/editor-build/221-wp/texts.php:163
1272
  msgid "Clear"
1273
  msgstr ""
1274
 
1275
- #: public/editor-build/221-wp/texts.php:164
1276
  msgid "Clear Layout"
1277
  msgstr ""
1278
 
1279
- #: public/editor-build/221-wp/texts.php:165
1280
  msgid "Click Outside to Close"
1281
  msgstr ""
1282
 
1283
- #: public/editor-build/221-wp/texts.php:166
1284
  msgid "Close"
1285
  msgstr ""
1286
 
1287
- #: public/editor-build/221-wp/texts.php:167
1288
  msgid "Close Popup"
1289
  msgstr ""
1290
 
1291
- #: public/editor-build/221-wp/texts.php:168
1292
  msgid "Cloud"
1293
  msgstr ""
1294
 
1295
- #: public/editor-build/221-wp/texts.php:169
 
 
 
 
1296
  msgid "Collapsible"
1297
  msgstr ""
1298
 
1299
- #: public/editor-build/221-wp/texts.php:170
 
 
 
 
1300
  msgid "Color"
1301
  msgstr ""
1302
 
1303
- #: public/editor-build/221-wp/texts.php:171
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1304
  msgid "Colors"
1305
  msgstr ""
1306
 
1307
- #: public/editor-build/221-wp/texts.php:172
1308
  msgid "Column"
1309
  msgstr ""
1310
 
1311
- #: public/editor-build/221-wp/texts.php:173
1312
  msgid "Columns"
1313
  msgstr ""
1314
 
1315
- #: public/editor-build/221-wp/texts.php:174
1316
  msgid "Comment"
1317
  msgstr ""
1318
 
1319
- #: public/editor-build/221-wp/texts.php:175
1320
  msgid "Comment Count"
1321
  msgstr ""
1322
 
1323
- #: public/editor-build/221-wp/texts.php:176
1324
  msgid "Comments"
1325
  msgstr ""
1326
 
1327
- #: public/editor-build/221-wp/texts.php:177
1328
  msgid "Conditions"
1329
  msgstr ""
1330
 
1331
- #: public/editor-build/221-wp/texts.php:178
1332
  msgid "Connect"
1333
  msgstr ""
1334
 
1335
- #: public/editor-build/221-wp/texts.php:179
1336
  msgid "Connect a new account"
1337
  msgstr ""
1338
 
1339
- #: public/editor-build/221-wp/texts.php:180
1340
  msgid "Contact"
1341
  msgstr ""
1342
 
1343
- #: public/editor-build/221-wp/texts.php:181
 
 
 
 
1344
  msgid "Content"
1345
  msgstr ""
1346
 
1347
- #: public/editor-build/221-wp/texts.php:182
1348
  msgid "Content Gap"
1349
  msgstr ""
1350
 
1351
- #: public/editor-build/221-wp/texts.php:183
 
 
 
 
1352
  msgid "Context"
1353
  msgstr ""
1354
 
1355
- #: public/editor-build/221-wp/texts.php:184
1356
  msgid "Context Type"
1357
  msgstr ""
1358
 
1359
- #: public/editor-build/221-wp/texts.php:185
1360
  msgid "Continue"
1361
  msgstr ""
1362
 
1363
- #: public/editor-build/221-wp/texts.php:186
1364
  msgid "Controls"
1365
  msgstr ""
1366
 
1367
- #: public/editor-build/221-wp/texts.php:187
1368
  msgid "Copy"
1369
  msgstr ""
1370
 
1371
- #: public/editor-build/221-wp/texts.php:188
1372
  msgid "Corner"
1373
  msgstr ""
1374
 
1375
- #: public/editor-build/221-wp/texts.php:189
1376
  msgid "Could not Create Global Block"
1377
  msgstr ""
1378
 
1379
- #: public/editor-build/221-wp/texts.php:190
1380
  msgid "Could not Create Global Popup"
1381
  msgstr ""
1382
 
1383
- #: public/editor-build/221-wp/texts.php:191
1384
  msgid "Could not Create Saved Block"
1385
  msgstr ""
1386
 
1387
- #: public/editor-build/221-wp/texts.php:192
1388
  msgid "Could not Create Saved Popup"
1389
  msgstr ""
1390
 
1391
- #: public/editor-build/221-wp/texts.php:193
1392
  msgid "Could not download Saved Layout"
1393
  msgstr ""
1394
 
1395
- #: public/editor-build/221-wp/texts.php:194
1396
  msgid "Could not download Saved Popup"
1397
  msgstr ""
1398
 
1399
- #: public/editor-build/221-wp/texts.php:195
1400
  msgid "Could not download Saved block"
1401
  msgstr ""
1402
 
1403
- #: public/editor-build/221-wp/texts.php:196
1404
  msgid "Could not find"
1405
  msgstr ""
1406
 
1407
- #: public/editor-build/221-wp/texts.php:197
1408
  msgid "Could not publish or save page"
1409
  msgstr ""
1410
 
1411
- #: public/editor-build/221-wp/texts.php:198
1412
  msgid "Could not save layout"
1413
  msgstr ""
1414
 
1415
- #: public/editor-build/221-wp/texts.php:199
1416
  msgid "Could not switch to draft"
1417
  msgstr ""
1418
 
1419
- #: public/editor-build/221-wp/texts.php:200
1420
  msgid "Count"
1421
  msgstr ""
1422
 
1423
- #: public/editor-build/221-wp/texts.php:201
1424
  msgid "Countdown"
1425
  msgstr ""
1426
 
1427
- #: public/editor-build/221-wp/texts.php:202
1428
  msgid "Counter"
1429
  msgstr ""
1430
 
1431
- #: public/editor-build/221-wp/texts.php:203
 
 
 
 
1432
  msgid "Cover"
1433
  msgstr ""
1434
 
1435
- #: public/editor-build/221-wp/texts.php:204
1436
  msgid "Create"
1437
  msgstr ""
1438
 
1439
- #: public/editor-build/221-wp/texts.php:205
1440
  msgid "Create Account & Connect"
1441
  msgstr ""
1442
 
1443
- #: public/editor-build/221-wp/texts.php:206
1444
  msgid "Create a menu"
1445
  msgstr ""
1446
 
1447
- #: public/editor-build/221-wp/texts.php:207
1448
  msgid "Create a new list"
1449
  msgstr ""
1450
 
1451
- #: public/editor-build/221-wp/texts.php:208
1452
  msgid "Create your own"
1453
  msgstr ""
1454
 
1455
- #: public/editor-build/221-wp/texts.php:209
1456
  msgid "Current Page"
1457
  msgstr ""
1458
 
1459
- #: public/editor-build/221-wp/texts.php:211
 
 
 
 
1460
  msgid "Custom Attributes"
1461
  msgstr ""
1462
 
1463
- #: public/editor-build/221-wp/texts.php:212
1464
  msgid "Custom Attributes asd"
1465
  msgstr ""
1466
 
1467
- #: public/editor-build/221-wp/texts.php:213
1468
  msgid "Custom CSS"
1469
  msgstr ""
1470
 
1471
- #: public/editor-build/221-wp/texts.php:214
1472
  msgid "Custom Page"
1473
  msgstr ""
1474
 
1475
- #: public/editor-build/221-wp/texts.php:215
1476
  msgid "Custom Text"
1477
  msgstr ""
1478
 
1479
- #: public/editor-build/221-wp/texts.php:216
1480
  msgid "Custom Video"
1481
  msgstr ""
1482
 
1483
- #: public/editor-build/221-wp/texts.php:217
1484
  msgid "DELETE"
1485
  msgstr ""
1486
 
1487
- #: public/editor-build/221-wp/texts.php:218
1488
- msgid "DIV"
 
 
 
 
1489
  msgstr ""
1490
 
1491
- #: public/editor-build/221-wp/texts.php:219
1492
- msgid "Dark"
1493
  msgstr ""
1494
 
1495
- #: public/editor-build/221-wp/texts.php:221
1496
  msgid "Days"
1497
  msgstr ""
1498
 
1499
- #: public/editor-build/221-wp/texts.php:222
1500
  msgid "Default Roles"
1501
  msgstr ""
1502
 
1503
- #: public/editor-build/221-wp/texts.php:223
 
 
 
 
1504
  msgid "Delay"
1505
  msgstr ""
1506
 
1507
- #: public/editor-build/221-wp/texts.php:224
1508
  msgid "Delete"
1509
  msgstr ""
1510
 
1511
- #: public/editor-build/221-wp/texts.php:225
1512
  msgid "Desc"
1513
  msgstr ""
1514
 
1515
- #: public/editor-build/221-wp/texts.php:226
1516
  msgid "Description"
1517
  msgstr ""
1518
 
1519
- #: public/editor-build/221-wp/texts.php:227
1520
  msgid "Deselected the “Verify the origin of reCAPTCHA solutions” checkbox within your Google account."
1521
  msgstr ""
1522
 
1523
- #: public/editor-build/221-wp/texts.php:228
1524
  msgid "Desktop"
1525
  msgstr ""
1526
 
1527
- #: public/editor-build/221-wp/texts.php:229
1528
  msgid "Diamond"
1529
  msgstr ""
1530
 
1531
- #: public/editor-build/221-wp/texts.php:230
 
 
 
 
 
 
 
 
 
 
 
 
1532
  msgid "Disable on Mobile"
1533
  msgstr ""
1534
 
1535
- #: public/editor-build/221-wp/texts.php:231
1536
  msgid "Disable on Tablet"
1537
  msgstr ""
1538
 
1539
- #: public/editor-build/221-wp/texts.php:232
1540
  msgid "Disconnect"
1541
  msgstr ""
1542
 
1543
- #: public/editor-build/221-wp/texts.php:233
 
 
 
 
1544
  msgid "Display Close Button"
1545
  msgstr ""
1546
 
1547
- #: public/editor-build/221-wp/texts.php:234
1548
  msgid "Disqus"
1549
  msgstr ""
1550
 
1551
- #: public/editor-build/221-wp/texts.php:235
1552
  msgid "Div"
1553
  msgstr ""
1554
 
1555
- #: public/editor-build/221-wp/texts.php:236
1556
  msgid "Dividers"
1557
  msgstr ""
1558
 
1559
- #: public/editor-build/221-wp/texts.php:237
1560
  msgid "Don't have items"
1561
  msgstr ""
1562
 
1563
- #: public/editor-build/221-wp/texts.php:238
1564
  msgid "Don't have tags"
1565
  msgstr ""
1566
 
1567
- #: public/editor-build/221-wp/texts.php:239
1568
  msgid "Done"
1569
  msgstr ""
1570
 
1571
- #: public/editor-build/221-wp/texts.php:240
1572
  msgid "Done, your library was synced"
1573
  msgstr ""
1574
 
1575
- #: public/editor-build/221-wp/texts.php:241
1576
  msgid "Dots"
1577
  msgstr ""
1578
 
1579
- #: public/editor-build/221-wp/texts.php:242
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1580
  msgid "Download this block"
1581
  msgstr ""
1582
 
1583
- #: public/editor-build/221-wp/texts.php:243
1584
  msgid "Draft"
1585
  msgstr ""
1586
 
1587
- #: public/editor-build/221-wp/texts.php:244
1588
  msgid "Drag to reorder"
1589
  msgstr ""
1590
 
1591
- #: public/editor-build/221-wp/texts.php:245
1592
  msgid "Drawer Position"
1593
  msgstr ""
1594
 
1595
- #: public/editor-build/221-wp/texts.php:246
1596
  msgid "Duplicate"
1597
  msgstr ""
1598
 
1599
- #: public/editor-build/221-wp/texts.php:247
1600
  msgid "Duplicate Account"
1601
  msgstr ""
1602
 
1603
- #: public/editor-build/221-wp/texts.php:248
1604
  msgid "Duration"
1605
  msgstr ""
1606
 
1607
- #: public/editor-build/221-wp/texts.php:249
1608
  msgid "Dutch"
1609
  msgstr ""
1610
 
1611
- #: public/editor-build/221-wp/texts.php:250
1612
  msgid "Dynamic Content"
1613
  msgstr ""
1614
 
1615
- #: public/editor-build/221-wp/texts.php:251
1616
  msgid "EOT File"
1617
  msgstr ""
1618
 
1619
- #: public/editor-build/221-wp/texts.php:252
 
 
 
 
 
 
 
 
1620
  msgid "Edit"
1621
  msgstr ""
1622
 
1623
- #: public/editor-build/221-wp/texts.php:253
1624
  msgid "Editable Text"
1625
  msgstr ""
1626
 
1627
- #: public/editor-build/221-wp/texts.php:254
1628
  msgid "Education"
1629
  msgstr ""
1630
 
1631
- #: public/editor-build/221-wp/texts.php:255
 
 
 
 
1632
  msgid "Elements"
1633
  msgstr ""
1634
 
1635
- #: public/editor-build/221-wp/texts.php:256
1636
  msgid "Email"
1637
  msgstr ""
1638
 
1639
- #: public/editor-build/221-wp/texts.php:257
1640
  msgid "Email To"
1641
  msgstr ""
1642
 
1643
- #: public/editor-build/221-wp/texts.php:258
1644
  msgid "Email confirmation to join the list"
1645
  msgstr ""
1646
 
1647
- #: public/editor-build/221-wp/texts.php:259
1648
  msgid "Email to recover password cannot be empty"
1649
  msgstr ""
1650
 
1651
- #: public/editor-build/221-wp/texts.php:260
1652
  msgid "Embed"
1653
  msgstr ""
1654
 
1655
- #: public/editor-build/221-wp/texts.php:261
1656
  msgid "Enable Tags"
1657
  msgstr ""
1658
 
1659
- #: public/editor-build/221-wp/texts.php:262
1660
  msgid "Enable on Mobile"
1661
  msgstr ""
1662
 
1663
- #: public/editor-build/221-wp/texts.php:263
1664
  msgid "Enable on Tablet"
1665
  msgstr ""
1666
 
1667
- #: public/editor-build/221-wp/texts.php:264
1668
  msgid "Enable tags"
1669
  msgstr ""
1670
 
1671
- #: public/editor-build/221-wp/texts.php:265
1672
  msgid "Encryption"
1673
  msgstr ""
1674
 
1675
- #: public/editor-build/221-wp/texts.php:266
1676
  msgid "End"
1677
  msgstr ""
1678
 
1679
- #: public/editor-build/221-wp/texts.php:267
1680
  msgid "English"
1681
  msgstr ""
1682
 
1683
- #: public/editor-build/221-wp/texts.php:268
1684
  msgid "Enter address"
1685
  msgstr ""
1686
 
1687
- #: public/editor-build/221-wp/texts.php:269
1688
  msgid "Enter the allowed file types, separated by a comma (jpg, gif, pdf, etc)."
1689
  msgstr ""
1690
 
1691
- #: public/editor-build/221-wp/texts.php:270
 
 
 
 
1692
  msgid "Entrance Animation"
1693
  msgstr ""
1694
 
1695
- #: public/editor-build/221-wp/texts.php:271
1696
  msgid "Error"
1697
  msgstr ""
1698
 
1699
- #: public/editor-build/221-wp/texts.php:272
1700
  msgid "Established a stable internet connection"
1701
  msgstr ""
1702
 
1703
- #: public/editor-build/221-wp/texts.php:273
1704
  msgid "Events"
1705
  msgstr ""
1706
 
1707
- #: public/editor-build/221-wp/texts.php:274
 
 
 
 
1708
  msgid "Excerpt"
1709
  msgstr ""
1710
 
1711
- #: public/editor-build/221-wp/texts.php:275
1712
  msgid "Exclude"
1713
  msgstr ""
1714
 
1715
- #: public/editor-build/221-wp/texts.php:276
1716
  msgid "Exclude By"
1717
  msgstr ""
1718
 
1719
- #: public/editor-build/221-wp/texts.php:277
 
 
 
 
1720
  msgid "Export All Blocks"
1721
  msgstr ""
1722
 
1723
- #: public/editor-build/221-wp/texts.php:278
1724
  msgid "Export All Layouts"
1725
  msgstr ""
1726
 
1727
- #: public/editor-build/221-wp/texts.php:279
1728
  msgid "Export All Popups"
1729
  msgstr ""
1730
 
1731
- #: public/editor-build/221-wp/texts.php:280
1732
  msgid "Extra Bold"
1733
  msgstr ""
1734
 
1735
- #: public/editor-build/221-wp/texts.php:281
1736
  msgid "Extra Light"
1737
  msgstr ""
1738
 
1739
- #: public/editor-build/221-wp/texts.php:282
1740
  msgid "FIELDS"
1741
  msgstr ""
1742
 
1743
- #: public/editor-build/221-wp/texts.php:283
1744
  msgid "FONT VARIATION"
1745
  msgstr ""
1746
 
1747
- #: public/editor-build/221-wp/texts.php:284
1748
  msgid "FORM FIELDS"
1749
  msgstr ""
1750
 
1751
- #: public/editor-build/221-wp/texts.php:285
1752
  msgid "Facebook"
1753
  msgstr ""
1754
 
1755
- #: public/editor-build/221-wp/texts.php:286
1756
  msgid "Facebook Button"
1757
  msgstr ""
1758
 
1759
- #: public/editor-build/221-wp/texts.php:287
1760
  msgid "Facebook Embed"
1761
  msgstr ""
1762
 
1763
- #: public/editor-build/221-wp/texts.php:288
1764
  msgid "Facebook Group"
1765
  msgstr ""
1766
 
1767
- #: public/editor-build/221-wp/texts.php:289
1768
  msgid "Facebook Page"
1769
  msgstr ""
1770
 
1771
- #: public/editor-build/221-wp/texts.php:290
 
 
 
 
1772
  msgid "FadeIn"
1773
  msgstr ""
1774
 
1775
- #: public/editor-build/221-wp/texts.php:291
1776
  msgid "FadeInDown"
1777
  msgstr ""
1778
 
1779
- #: public/editor-build/221-wp/texts.php:292
1780
  msgid "FadeInDownBig"
1781
  msgstr ""
1782
 
1783
- #: public/editor-build/221-wp/texts.php:293
1784
  msgid "FadeInLeft"
1785
  msgstr ""
1786
 
1787
- #: public/editor-build/221-wp/texts.php:294
1788
  msgid "FadeInLeftBig"
1789
  msgstr ""
1790
 
1791
- #: public/editor-build/221-wp/texts.php:295
1792
  msgid "FadeInRight"
1793
  msgstr ""
1794
 
1795
- #: public/editor-build/221-wp/texts.php:296
1796
  msgid "FadeInRightBig"
1797
  msgstr ""
1798
 
1799
- #: public/editor-build/221-wp/texts.php:297
1800
  msgid "FadeInUp"
1801
  msgstr ""
1802
 
1803
- #: public/editor-build/221-wp/texts.php:298
1804
  msgid "FadeInUpBig"
1805
  msgstr ""
1806
 
1807
- #: public/editor-build/221-wp/texts.php:299
1808
  msgid "Failed to fetch api data"
1809
  msgstr ""
1810
 
1811
- #: public/editor-build/221-wp/texts.php:300
1812
  msgid "Failed to reset password"
1813
  msgstr ""
1814
 
1815
- #: public/editor-build/221-wp/texts.php:301
1816
  msgid "Failed to update page"
1817
  msgstr ""
1818
 
1819
- #: public/editor-build/221-wp/texts.php:302
1820
  msgid "Failed to upload file. Please upload a valid JPG, PNG, SVG or GIF image."
1821
  msgstr ""
1822
 
1823
- #: public/editor-build/221-wp/texts.php:303
1824
  msgid "Featured Image"
1825
  msgstr ""
1826
 
1827
- #: public/editor-build/221-wp/texts.php:304
1828
  msgid "Features"
1829
  msgstr ""
1830
 
1831
- #: public/editor-build/221-wp/texts.php:305
1832
  msgid "Field"
1833
  msgstr ""
1834
 
1835
- #: public/editor-build/221-wp/texts.php:306
1836
  msgid "Field Type"
1837
  msgstr ""
1838
 
1839
- #: public/editor-build/221-wp/texts.php:307
1840
  msgid "Fields are empty"
1841
  msgstr ""
1842
 
1843
- #: public/editor-build/221-wp/texts.php:308
1844
  msgid "Fields are empty. Please add fields and try again."
1845
  msgstr ""
1846
 
1847
- #: public/editor-build/221-wp/texts.php:309
1848
  msgid "File"
1849
  msgstr ""
1850
 
1851
- #: public/editor-build/221-wp/texts.php:310
 
 
 
 
 
 
 
 
1852
  msgid "Fill"
1853
  msgstr ""
1854
 
1855
- #: public/editor-build/221-wp/texts.php:311
1856
  msgid "Filter"
1857
  msgstr ""
1858
 
1859
- #: public/editor-build/221-wp/texts.php:312
1860
  msgid "Filter By"
1861
  msgstr ""
1862
 
1863
- #: public/editor-build/221-wp/texts.php:313
 
 
 
 
1864
  msgid "Filters"
1865
  msgstr ""
1866
 
1867
- #: public/editor-build/221-wp/texts.php:314
1868
  msgid "First Name"
1869
  msgstr ""
1870
 
1871
- #: public/editor-build/221-wp/texts.php:315
1872
  msgid "Fixed"
1873
  msgstr ""
1874
 
1875
- #: public/editor-build/221-wp/texts.php:316
 
 
 
 
 
 
 
 
1876
  msgid "Flash"
1877
  msgstr ""
1878
 
1879
- #: public/editor-build/221-wp/texts.php:317
1880
  msgid "Flip"
1881
  msgstr ""
1882
 
1883
- #: public/editor-build/221-wp/texts.php:318
1884
  msgid "FlipInX"
1885
  msgstr ""
1886
 
1887
- #: public/editor-build/221-wp/texts.php:319
1888
  msgid "FlipInY"
1889
  msgstr ""
1890
 
1891
- #: public/editor-build/221-wp/texts.php:320
1892
  msgid "Follow"
1893
  msgstr ""
1894
 
1895
- #: public/editor-build/221-wp/texts.php:321
1896
  msgid "Followers"
1897
  msgstr ""
1898
 
1899
- #: public/editor-build/221-wp/texts.php:322
1900
  msgid "Font Family"
1901
  msgstr ""
1902
 
1903
- #: public/editor-build/221-wp/texts.php:323
1904
  msgid "Font Name is Required"
1905
  msgstr ""
1906
 
1907
- #: public/editor-build/221-wp/texts.php:324
1908
  msgid "Font name"
1909
  msgstr ""
1910
 
1911
- #: public/editor-build/221-wp/texts.php:325
1912
  msgid "Font weight"
1913
  msgstr ""
1914
 
1915
- #: public/editor-build/221-wp/texts.php:326
1916
  msgid "Fonts"
1917
  msgstr ""
1918
 
1919
- #: public/editor-build/221-wp/texts.php:327
1920
  msgid "Food"
1921
  msgstr ""
1922
 
1923
- #: public/editor-build/221-wp/texts.php:328
1924
  msgid "Footer"
1925
  msgstr ""
1926
 
1927
- #: public/editor-build/221-wp/texts.php:329
 
 
 
 
1928
  msgid "Footers"
1929
  msgstr ""
1930
 
1931
- #: public/editor-build/221-wp/texts.php:330
1932
  msgid "Form"
1933
  msgstr ""
1934
 
1935
- #: public/editor-build/221-wp/texts.php:331
1936
  msgid "Form Fields"
1937
  msgstr ""
1938
 
1939
- #: public/editor-build/221-wp/texts.php:332
1940
- msgid "Form Labels"
1941
- msgstr ""
1942
-
1943
- #: public/editor-build/221-wp/texts.php:333
1944
- msgid "Form Select Dropdowns"
1945
- msgstr ""
1946
-
1947
- #: public/editor-build/221-wp/texts.php:334
1948
  msgid "Form Submit"
1949
  msgstr ""
1950
 
1951
- #: public/editor-build/221-wp/texts.php:335
1952
  msgid "Forms"
1953
  msgstr ""
1954
 
1955
- #: public/editor-build/221-wp/texts.php:336
1956
- msgid "Free"
1957
- msgstr ""
1958
-
1959
- #: public/editor-build/221-wp/texts.php:337
1960
  msgid "French"
1961
  msgstr ""
1962
 
1963
- #: public/editor-build/221-wp/texts.php:338
1964
  msgid "From Email"
1965
  msgstr ""
1966
 
1967
- #: public/editor-build/221-wp/texts.php:339
1968
  msgid "From Name"
1969
  msgstr ""
1970
 
1971
- #: public/editor-build/221-wp/texts.php:340
1972
  msgid "Full"
1973
  msgstr ""
1974
 
1975
- #: public/editor-build/221-wp/texts.php:341
1976
  msgid "Full Height"
1977
  msgstr ""
1978
 
1979
- #: public/editor-build/221-wp/texts.php:342
 
 
 
 
1980
  msgid "Full Screen"
1981
  msgstr ""
1982
 
1983
- #: public/editor-build/221-wp/texts.php:343
1984
  msgid "Full name"
1985
  msgstr ""
1986
 
1987
- #: public/editor-build/221-wp/texts.php:344
1988
  msgid "Future"
1989
  msgstr ""
1990
 
1991
- #: public/editor-build/221-wp/texts.php:345
1992
  msgid "Gallery"
1993
  msgstr ""
1994
 
1995
- #: public/editor-build/221-wp/texts.php:346
1996
  msgid "Gallery Tags"
1997
  msgstr ""
1998
 
1999
- #: public/editor-build/221-wp/texts.php:347
2000
  msgid "Gaming"
2001
  msgstr ""
2002
 
2003
- #: public/editor-build/221-wp/texts.php:348
 
 
 
 
2004
  msgid "Gap Above"
2005
  msgstr ""
2006
 
2007
- #: public/editor-build/221-wp/texts.php:349
2008
  msgid "Gap Below"
2009
  msgstr ""
2010
 
2011
- #: public/editor-build/221-wp/texts.php:350
2012
  msgid "German"
2013
  msgstr ""
2014
 
2015
- #: public/editor-build/221-wp/texts.php:351
2016
  msgid "Get a PRO plan"
2017
  msgstr ""
2018
 
2019
- #: public/editor-build/221-wp/texts.php:352
2020
  msgid "Global Blocks"
2021
  msgstr ""
2022
 
2023
- #: public/editor-build/221-wp/texts.php:353
2024
  msgid "Global Popups"
2025
  msgstr ""
2026
 
2027
- #: public/editor-build/221-wp/texts.php:354
2028
  msgid "Go Back"
2029
  msgstr ""
2030
 
2031
- #: public/editor-build/221-wp/texts.php:355
2032
  msgid "Go to"
2033
  msgstr ""
2034
 
2035
- #: public/editor-build/221-wp/texts.php:356
2036
  msgid "Go to Dashboard"
2037
  msgstr ""
2038
 
2039
- #: public/editor-build/221-wp/texts.php:357
2040
  msgid "Gradient"
2041
  msgstr ""
2042
 
2043
- #: public/editor-build/221-wp/texts.php:358
2044
  msgid "Group"
2045
  msgstr ""
2046
 
2047
- #: public/editor-build/221-wp/texts.php:359
2048
  msgid "H1"
2049
  msgstr ""
2050
 
2051
- #: public/editor-build/221-wp/texts.php:360
2052
  msgid "H2"
2053
  msgstr ""
2054
 
2055
- #: public/editor-build/221-wp/texts.php:361
2056
  msgid "H3"
2057
  msgstr ""
2058
 
2059
- #: public/editor-build/221-wp/texts.php:362
2060
  msgid "H4"
2061
  msgstr ""
2062
 
2063
- #: public/editor-build/221-wp/texts.php:363
2064
  msgid "H5"
2065
  msgstr ""
2066
 
2067
- #: public/editor-build/221-wp/texts.php:364
2068
  msgid "H6"
2069
  msgstr ""
2070
 
2071
- #: public/editor-build/221-wp/texts.php:365
2072
  msgid "HTML Tag"
2073
  msgstr ""
2074
 
2075
- #: public/editor-build/221-wp/texts.php:366
2076
  msgid "Handle"
2077
  msgstr ""
2078
 
2079
- #: public/editor-build/221-wp/texts.php:367
2080
  msgid "Head"
2081
  msgstr ""
2082
 
2083
- #: public/editor-build/221-wp/texts.php:368
2084
  msgid "Header"
2085
  msgstr ""
2086
 
2087
- #: public/editor-build/221-wp/texts.php:369
2088
  msgid "Health / Beauty"
2089
  msgstr ""
2090
 
2091
- #: public/editor-build/221-wp/texts.php:370
2092
  msgid "Heavy"
2093
  msgstr ""
2094
 
2095
- #: public/editor-build/221-wp/texts.php:371
2096
  msgid "Height"
2097
  msgstr ""
2098
 
2099
- #: public/editor-build/221-wp/texts.php:372
2100
  msgid "Hero"
2101
  msgstr ""
2102
 
2103
- #: public/editor-build/221-wp/texts.php:373
2104
  msgid "Hidden"
2105
  msgstr ""
2106
 
2107
- #: public/editor-build/221-wp/texts.php:374
2108
  msgid "Hide"
2109
  msgstr ""
2110
 
2111
- #: public/editor-build/221-wp/texts.php:375
2112
  msgid "Hide Cover Photo"
2113
  msgstr ""
2114
 
2115
- #: public/editor-build/221-wp/texts.php:376
2116
  msgid "Hide Hidden Elements"
2117
  msgstr ""
2118
 
2119
- #: public/editor-build/221-wp/texts.php:377
 
 
 
 
 
 
 
 
2120
  msgid "Horizontal Align"
2121
  msgstr ""
2122
 
2123
- #: public/editor-build/221-wp/texts.php:378
2124
  msgid "Horizontal Offset"
2125
  msgstr ""
2126
 
2127
- #: public/editor-build/221-wp/texts.php:379
2128
  msgid "Host"
2129
  msgstr ""
2130
 
2131
- #: public/editor-build/221-wp/texts.php:380
2132
  msgid "Hour"
2133
  msgstr ""
2134
 
2135
- #: public/editor-build/221-wp/texts.php:381
2136
  msgid "Hours"
2137
  msgstr ""
2138
 
2139
- #: public/editor-build/221-wp/texts.php:382
2140
  msgid "Hover"
2141
  msgstr ""
2142
 
2143
- #: public/editor-build/221-wp/texts.php:383
2144
  msgid "Hover Transition"
2145
  msgstr ""
2146
 
2147
- #: public/editor-build/221-wp/texts.php:384
 
 
 
 
2148
  msgid "ID"
2149
  msgstr ""
2150
 
2151
- #: public/editor-build/221-wp/texts.php:385
2152
  msgid "Icon"
2153
  msgstr ""
2154
 
2155
- #: public/editor-build/221-wp/texts.php:386
2156
  msgid "Icon Box"
2157
  msgstr ""
2158
 
2159
- #: public/editor-build/221-wp/texts.php:387
 
 
 
 
2160
  msgid "Icons"
2161
  msgstr ""
2162
 
2163
- #: public/editor-build/221-wp/texts.php:388
 
 
 
 
2164
  msgid "If you need to increase max upload size please contact your hosting."
2165
  msgstr ""
2166
 
2167
- #: public/editor-build/221-wp/texts.php:389
2168
  msgid "Image"
2169
  msgstr ""
2170
 
2171
- #: public/editor-build/221-wp/texts.php:390
2172
  msgid "Image Test"
2173
  msgstr ""
2174
 
2175
- #: public/editor-build/221-wp/texts.php:391
2176
  msgid "Image file is too large."
2177
  msgstr ""
2178
 
2179
- #: public/editor-build/221-wp/texts.php:392
2180
  msgid "Import New Block"
2181
  msgstr ""
2182
 
2183
- #: public/editor-build/221-wp/texts.php:393
2184
  msgid "Import New Layout"
2185
  msgstr ""
2186
 
2187
- #: public/editor-build/221-wp/texts.php:394
2188
  msgid "Import New Popup"
2189
  msgstr ""
2190
 
2191
- #: public/editor-build/221-wp/texts.php:395
2192
  msgid "Import This Layout"
2193
  msgstr ""
2194
 
2195
- #: public/editor-build/221-wp/texts.php:396
2196
  msgid "Import This Story"
2197
  msgstr ""
2198
 
2199
- #: public/editor-build/221-wp/texts.php:397
 
 
 
 
 
 
 
 
2200
  msgid "Include"
2201
  msgstr ""
2202
 
2203
- #: public/editor-build/221-wp/texts.php:398
2204
  msgid "Include By"
2205
  msgstr ""
2206
 
2207
- #: public/editor-build/221-wp/texts.php:399
2208
  msgid "Include Full Post"
2209
  msgstr ""
2210
 
2211
- #: public/editor-build/221-wp/texts.php:400
2212
  msgid "Include Share Button"
2213
  msgstr ""
2214
 
2215
- #: public/editor-build/221-wp/texts.php:401
2216
  msgid "Incorrect"
2217
  msgstr ""
2218
 
2219
- #: public/editor-build/221-wp/texts.php:402
2220
  msgid "Incorrect username or password"
2221
  msgstr ""
2222
 
2223
- #: public/editor-build/221-wp/texts.php:403
 
 
 
 
2224
  msgid "Info"
2225
  msgstr ""
2226
 
2227
- #: public/editor-build/221-wp/texts.php:404
2228
  msgid "Inherit"
2229
  msgstr ""
2230
 
2231
- #: public/editor-build/221-wp/texts.php:405
2232
  msgid "Inline"
2233
  msgstr ""
2234
 
2235
- #: public/editor-build/221-wp/texts.php:406
2236
  msgid "Input"
2237
  msgstr ""
2238
 
2239
- #: public/editor-build/221-wp/texts.php:407
2240
  msgid "Inputted a valid site key"
2241
  msgstr ""
2242
 
2243
- #: public/editor-build/221-wp/texts.php:408
2244
  msgid "Inset"
2245
  msgstr ""
2246
 
2247
- #: public/editor-build/221-wp/texts.php:409
2248
  msgid "Intro"
2249
  msgstr ""
2250
 
2251
- #: public/editor-build/221-wp/texts.php:410
2252
  msgid "Invalid api data"
2253
  msgstr ""
2254
 
2255
- #: public/editor-build/221-wp/texts.php:411
2256
  msgid "It's a sample"
2257
  msgstr ""
2258
 
2259
- #: public/editor-build/221-wp/texts.php:412
2260
  msgid "Italian"
2261
  msgstr ""
2262
 
2263
- #: public/editor-build/221-wp/texts.php:413
2264
  msgid "Italic"
2265
  msgstr ""
2266
 
2267
- #: public/editor-build/221-wp/texts.php:414
2268
  msgid "Item"
2269
  msgstr ""
2270
 
2271
- #: public/editor-build/221-wp/texts.php:415
2272
  msgid "JackInTheBox"
2273
  msgstr ""
2274
 
2275
- #: public/editor-build/221-wp/texts.php:416
2276
  msgid "Jello"
2277
  msgstr ""
2278
 
2279
- #: public/editor-build/221-wp/texts.php:417
2280
  msgid "Keyboard Shortcuts"
2281
  msgstr ""
2282
 
2283
- #: public/editor-build/221-wp/texts.php:418
2284
  msgid "Label"
2285
  msgstr ""
2286
 
2287
- #: public/editor-build/221-wp/texts.php:419
 
 
 
 
2288
  msgid "Language"
2289
  msgstr ""
2290
 
2291
- #: public/editor-build/221-wp/texts.php:420
 
 
 
 
2292
  msgid "Last Name"
2293
  msgstr ""
2294
 
2295
- #: public/editor-build/221-wp/texts.php:421
2296
  msgid "Lateral"
2297
  msgstr ""
2298
 
2299
- #: public/editor-build/221-wp/texts.php:422
2300
  msgid "Layout"
2301
  msgstr ""
2302
 
2303
- #: public/editor-build/221-wp/texts.php:423
2304
  msgid "Layouts"
2305
  msgstr ""
2306
 
2307
- #: public/editor-build/221-wp/texts.php:424
2308
  msgid "Left"
2309
  msgstr ""
2310
 
2311
- #: public/editor-build/221-wp/texts.php:425
2312
  msgid "Letter Sp."
2313
  msgstr ""
2314
 
2315
- #: public/editor-build/221-wp/texts.php:426
 
 
 
 
2316
  msgid "Light"
2317
  msgstr ""
2318
 
2319
- #: public/editor-build/221-wp/texts.php:427
2320
  msgid "LightSpeedIn"
2321
  msgstr ""
2322
 
2323
- #: public/editor-build/221-wp/texts.php:428
 
 
 
 
2324
  msgid "Like"
2325
  msgstr ""
2326
 
2327
- #: public/editor-build/221-wp/texts.php:429
 
 
 
 
2328
  msgid "Line"
2329
  msgstr ""
2330
 
2331
- #: public/editor-build/221-wp/texts.php:430
2332
  msgid "Line Hgt."
2333
  msgstr ""
2334
 
2335
- #: public/editor-build/221-wp/texts.php:431
2336
  msgid "Linear"
2337
  msgstr ""
2338
 
2339
- #: public/editor-build/221-wp/texts.php:432
2340
  msgid "Link"
2341
  msgstr ""
2342
 
2343
- #: public/editor-build/221-wp/texts.php:433
2344
  msgid "Link to"
2345
  msgstr ""
2346
 
2347
- #: public/editor-build/221-wp/texts.php:434
2348
  msgid "Links"
2349
  msgstr ""
2350
 
2351
- #: public/editor-build/221-wp/texts.php:435
2352
  msgid "List"
2353
  msgstr ""
2354
 
2355
- #: public/editor-build/221-wp/texts.php:436
2356
  msgid "List are not created please connect the support"
2357
  msgstr ""
2358
 
2359
- #: public/editor-build/221-wp/texts.php:437
2360
  msgid "Lists are empty. Please add a new list and try again."
2361
  msgstr ""
2362
 
2363
- #: public/editor-build/221-wp/texts.php:438
2364
- msgid "Loading..."
2365
- msgstr ""
2366
-
2367
- #: public/editor-build/221-wp/texts.php:439
2368
  msgid "Locked"
2369
  msgstr ""
2370
 
2371
- #: public/editor-build/221-wp/texts.php:440
2372
  msgid "Login"
2373
  msgstr ""
2374
 
2375
- #: public/editor-build/221-wp/texts.php:441
2376
- msgid "Login Submit"
2377
- msgstr ""
2378
-
2379
- #: public/editor-build/221-wp/texts.php:442
2380
  msgid "Logout"
2381
  msgstr ""
2382
 
2383
- #: public/editor-build/221-wp/texts.php:443
2384
  msgid "Loop"
2385
  msgstr ""
2386
 
2387
- #: public/editor-build/221-wp/texts.php:444
2388
  msgid "Lost Password"
2389
  msgstr ""
2390
 
2391
- #: public/editor-build/221-wp/texts.php:445
2392
  msgid "Lottie"
2393
  msgstr ""
2394
 
2395
- #: public/editor-build/221-wp/texts.php:446
2396
  msgid "Lottie File"
2397
  msgstr ""
2398
 
2399
- #: public/editor-build/221-wp/texts.php:447
2400
  msgid "Lottie Link"
2401
  msgstr ""
2402
 
2403
- #: public/editor-build/221-wp/texts.php:448
 
 
 
 
2404
  msgid "Main"
2405
  msgstr ""
2406
 
2407
- #: public/editor-build/221-wp/texts.php:449
2408
  msgid "Make it Global"
2409
  msgstr ""
2410
 
2411
- #: public/editor-build/221-wp/texts.php:450
2412
  msgid "Make it Hamburger"
2413
  msgstr ""
2414
 
2415
- #: public/editor-build/221-wp/texts.php:451
2416
  msgid "Make it Nofollow"
2417
  msgstr ""
2418
 
2419
- #: public/editor-build/221-wp/texts.php:452
2420
  msgid "Make it a Slider"
2421
  msgstr ""
2422
 
2423
- #: public/editor-build/221-wp/texts.php:453
2424
  msgid "Manual"
2425
  msgstr ""
2426
 
2427
- #: public/editor-build/221-wp/texts.php:454
2428
  msgid "Map"
2429
  msgstr ""
2430
 
2431
- #: public/editor-build/221-wp/texts.php:455
2432
  msgid "Margin"
2433
  msgstr ""
2434
 
2435
- #: public/editor-build/221-wp/texts.php:456
2436
  msgid "Mask"
2437
  msgstr ""
2438
 
2439
- #: public/editor-build/221-wp/texts.php:457
2440
  msgid "Max"
2441
  msgstr ""
2442
 
2443
- #: public/editor-build/221-wp/texts.php:458
2444
  msgid "Max Date"
2445
  msgstr ""
2446
 
2447
- #: public/editor-build/221-wp/texts.php:459
2448
  msgid "Max Time"
2449
  msgstr ""
2450
 
2451
- #: public/editor-build/221-wp/texts.php:460
2452
  msgid "Max. File Size"
2453
  msgstr ""
2454
 
2455
- #: public/editor-build/221-wp/texts.php:461
2456
  msgid "Medium"
2457
  msgstr ""
2458
 
2459
- #: public/editor-build/221-wp/texts.php:462
2460
  msgid "Mega Menu"
2461
  msgstr ""
2462
 
2463
- #: public/editor-build/221-wp/texts.php:463
2464
  msgid "Membership"
2465
  msgstr ""
2466
 
2467
- #: public/editor-build/221-wp/texts.php:464
2468
  msgid "Mention"
2469
  msgstr ""
2470
 
2471
- #: public/editor-build/221-wp/texts.php:465
2472
  msgid "Menu"
2473
  msgstr ""
2474
 
2475
- #: public/editor-build/221-wp/texts.php:466
2476
  msgid "Menu Items"
2477
  msgstr ""
2478
 
2479
- #: public/editor-build/221-wp/texts.php:467
2480
  msgid "Menu Order"
2481
  msgstr ""
2482
 
2483
- #: public/editor-build/221-wp/texts.php:468
2484
  msgid "Menu order"
2485
  msgstr ""
2486
 
2487
- #: public/editor-build/221-wp/texts.php:469
2488
  msgid "Message"
2489
  msgstr ""
2490
 
2491
- #: public/editor-build/221-wp/texts.php:470
2492
  msgid "Message not sent"
2493
  msgstr ""
2494
 
2495
- #: public/editor-build/221-wp/texts.php:471
2496
  msgid "Message sent"
2497
  msgstr ""
2498
 
2499
- #: public/editor-build/221-wp/texts.php:472
2500
  msgid "Messages"
2501
  msgstr ""
2502
 
2503
- #: public/editor-build/221-wp/texts.php:473
2504
  msgid "Meta"
2505
  msgstr ""
2506
 
2507
- #: public/editor-build/221-wp/texts.php:474
2508
  msgid "Meta Data"
2509
  msgstr ""
2510
 
2511
- #: public/editor-build/221-wp/texts.php:475
2512
  msgid "Meta Key"
2513
  msgstr ""
2514
 
2515
- #: public/editor-build/221-wp/texts.php:476
2516
  msgid "Meta Value"
2517
  msgstr ""
2518
 
2519
- #: public/editor-build/221-wp/texts.php:477
2520
  msgid "Min"
2521
  msgstr ""
2522
 
2523
- #: public/editor-build/221-wp/texts.php:478
2524
  msgid "Min Date"
2525
  msgstr ""
2526
 
2527
- #: public/editor-build/221-wp/texts.php:479
2528
  msgid "Min Time"
2529
  msgstr ""
2530
 
2531
- #: public/editor-build/221-wp/texts.php:480
2532
  msgid "Minimal"
2533
  msgstr ""
2534
 
2535
- #: public/editor-build/221-wp/texts.php:481
2536
  msgid "Minutes"
2537
  msgstr ""
2538
 
2539
- #: public/editor-build/221-wp/texts.php:482
2540
  msgid "Missing Element"
2541
  msgstr ""
2542
 
2543
- #: public/editor-build/221-wp/texts.php:483
2544
  msgid "Mobile"
2545
  msgstr ""
2546
 
2547
- #: public/editor-build/221-wp/texts.php:484
2548
  msgid "Mobile view"
2549
  msgstr ""
2550
 
2551
- #: public/editor-build/221-wp/texts.php:485
2552
  msgid "Modified"
2553
  msgstr ""
2554
 
2555
- #: public/editor-build/221-wp/texts.php:486
2556
  msgid "More"
2557
  msgstr ""
2558
 
2559
- #: public/editor-build/221-wp/texts.php:487
2560
  msgid "More Settings"
2561
  msgstr ""
2562
 
2563
- #: public/editor-build/221-wp/texts.php:488
 
 
 
 
 
 
 
 
2564
  msgid "Move left"
2565
  msgstr ""
2566
 
2567
- #: public/editor-build/221-wp/texts.php:489
2568
  msgid "Move right"
2569
  msgstr ""
2570
 
2571
- #: public/editor-build/221-wp/texts.php:490
 
 
 
 
 
 
 
 
2572
  msgid "Multiple Selection"
2573
  msgstr ""
2574
 
2575
- #: public/editor-build/221-wp/texts.php:491
 
 
 
 
2576
  msgid "Muted"
2577
  msgstr ""
2578
 
2579
- #: public/editor-build/221-wp/texts.php:492
2580
  msgid "My Account"
2581
  msgstr ""
2582
 
2583
- #: public/editor-build/221-wp/texts.php:493
 
 
 
 
2584
  msgid "N/A"
2585
  msgstr ""
2586
 
2587
- #: public/editor-build/221-wp/texts.php:494
2588
  msgid "Name"
2589
  msgstr ""
2590
 
2591
- #: public/editor-build/221-wp/texts.php:495
2592
  msgid "Native HTML5"
2593
  msgstr ""
2594
 
2595
- #: public/editor-build/221-wp/texts.php:496
2596
  msgid "Nav"
2597
  msgstr ""
2598
 
2599
- #: public/editor-build/221-wp/texts.php:497
2600
  msgid "Navigation"
2601
  msgstr ""
2602
 
2603
- #: public/editor-build/221-wp/texts.php:498
2604
  msgid "Need help"
2605
  msgstr ""
2606
 
2607
- #: public/editor-build/221-wp/texts.php:499
2608
  msgid "New Style #%s"
2609
  msgstr ""
2610
 
2611
- #: public/editor-build/221-wp/texts.php:500
2612
  msgid "No matches found"
2613
  msgstr ""
2614
 
2615
- #: public/editor-build/221-wp/texts.php:501
2616
  msgid "No results"
2617
  msgstr ""
2618
 
2619
- #: public/editor-build/221-wp/texts.php:502
2620
  msgid "Non Profit"
2621
  msgstr ""
2622
 
2623
- #: public/editor-build/221-wp/texts.php:503
2624
  msgid "None"
2625
  msgstr ""
2626
 
2627
- #: public/editor-build/221-wp/texts.php:504
2628
  msgid "Normal"
2629
  msgstr ""
2630
 
2631
- #: public/editor-build/221-wp/texts.php:505
2632
  msgid "Not Required"
2633
  msgstr ""
2634
 
2635
- #: public/editor-build/221-wp/texts.php:506
2636
  msgid "Nothing Found"
2637
  msgstr ""
2638
 
2639
- #: public/editor-build/221-wp/texts.php:507
2640
  msgid "Nothing here yet, make a global block first."
2641
  msgstr ""
2642
 
2643
- #: public/editor-build/221-wp/texts.php:508
2644
  msgid "Nothing here yet, make a global popup first."
2645
  msgstr ""
2646
 
2647
- #: public/editor-build/221-wp/texts.php:509
2648
  msgid "Nothing here yet, save a block first."
2649
  msgstr ""
2650
 
2651
- #: public/editor-build/221-wp/texts.php:510
2652
  msgid "Nothing here yet, save a layout first."
2653
  msgstr ""
2654
 
2655
- #: public/editor-build/221-wp/texts.php:511
2656
  msgid "Nothing here yet, save a popup first."
2657
  msgstr ""
2658
 
2659
- #: public/editor-build/221-wp/texts.php:512
2660
  msgid "Nothing here, please refine your search."
2661
  msgstr ""
2662
 
2663
- #: public/editor-build/221-wp/texts.php:513
2664
  msgid "Nr"
2665
  msgstr ""
2666
 
2667
- #: public/editor-build/221-wp/texts.php:514
2668
  msgid "Number"
2669
  msgstr ""
2670
 
2671
- #: public/editor-build/221-wp/texts.php:515
2672
  msgid "Number of posts"
2673
  msgstr ""
2674
 
2675
- #: public/editor-build/221-wp/texts.php:516
2676
  msgid "Offset"
2677
  msgstr ""
2678
 
2679
- #: public/editor-build/221-wp/texts.php:517
2680
  msgid "On Click"
2681
  msgstr ""
2682
 
2683
- #: public/editor-build/221-wp/texts.php:518
2684
  msgid "On Hover"
2685
  msgstr ""
2686
 
2687
- #: public/editor-build/221-wp/texts.php:519
2688
  msgid "One Page"
2689
  msgstr ""
2690
 
2691
- #: public/editor-build/221-wp/texts.php:520
2692
  msgid "Open In New Tab"
2693
  msgstr ""
2694
 
2695
- #: public/editor-build/221-wp/texts.php:521
2696
  msgid "Open in Lightbox"
2697
  msgstr ""
2698
 
2699
- #: public/editor-build/221-wp/texts.php:522
 
 
 
 
2700
  msgid "Order"
2701
  msgstr ""
2702
 
2703
- #: public/editor-build/221-wp/texts.php:523
2704
  msgid "Order By"
2705
  msgstr ""
2706
 
2707
- #: public/editor-build/221-wp/texts.php:524
2708
  msgid "Order Tracking"
2709
  msgstr ""
2710
 
2711
- #: public/editor-build/221-wp/texts.php:525
2712
  msgid "Orientation"
2713
  msgstr ""
2714
 
2715
- #: public/editor-build/221-wp/texts.php:526
 
 
 
 
 
 
 
 
2716
  msgid "Outline"
2717
  msgstr ""
2718
 
2719
- #: public/editor-build/221-wp/texts.php:527
2720
  msgid "Outset"
2721
  msgstr ""
2722
 
2723
- #: public/editor-build/221-wp/texts.php:528
2724
  msgid "Overlay"
2725
  msgstr ""
2726
 
2727
- #: public/editor-build/221-wp/texts.php:529
2728
  msgid "Overlay "
2729
  msgstr ""
2730
 
2731
- #: public/editor-build/221-wp/texts.php:530
2732
  msgid "P"
2733
  msgstr ""
2734
 
2735
- #: public/editor-build/221-wp/texts.php:531
2736
  msgid "PRE"
2737
  msgstr ""
2738
 
2739
- #: public/editor-build/221-wp/texts.php:532
2740
  msgid "Padding"
2741
  msgstr ""
2742
 
2743
- #: public/editor-build/221-wp/texts.php:533
2744
  msgid "Page"
2745
  msgstr ""
2746
 
2747
- #: public/editor-build/221-wp/texts.php:534
2748
  msgid "Page Layout"
2749
  msgstr ""
2750
 
2751
- #: public/editor-build/221-wp/texts.php:535
2752
  msgid "Page Template"
2753
  msgstr ""
2754
 
2755
- #: public/editor-build/221-wp/texts.php:536
2756
  msgid "Page Title"
2757
  msgstr ""
2758
 
2759
- #: public/editor-build/221-wp/texts.php:537
2760
  msgid "Page title"
2761
  msgstr ""
2762
 
2763
- #: public/editor-build/221-wp/texts.php:538
2764
  msgid "Pages"
2765
  msgstr ""
2766
 
2767
- #: public/editor-build/221-wp/texts.php:539
2768
  msgid "Pagination"
2769
  msgstr ""
2770
 
2771
- #: public/editor-build/221-wp/texts.php:540
2772
  msgid "Paragraph"
2773
  msgstr ""
2774
 
2775
- #: public/editor-build/221-wp/texts.php:541
2776
  msgid "Parallax"
2777
  msgstr ""
2778
 
2779
- #: public/editor-build/221-wp/texts.php:542
2780
  msgid "Parent"
2781
  msgstr ""
2782
 
2783
- #: public/editor-build/221-wp/texts.php:543
2784
  msgid "Password"
2785
  msgstr ""
2786
 
2787
- #: public/editor-build/221-wp/texts.php:544
2788
  msgid "Password and confirm password is not the same"
2789
  msgstr ""
2790
 
2791
- #: public/editor-build/221-wp/texts.php:545
2792
  msgid "Paste"
2793
  msgstr ""
2794
 
2795
- #: public/editor-build/221-wp/texts.php:546
2796
  msgid "Paste Style"
2797
  msgstr ""
2798
 
2799
- #: public/editor-build/221-wp/texts.php:547
2800
  msgid "Paste Styles"
2801
  msgstr ""
2802
 
2803
- #: public/editor-build/221-wp/texts.php:548
2804
- msgid "Paste your WordPress shortcode here ..."
2805
  msgstr ""
2806
 
2807
- #: public/editor-build/221-wp/texts.php:549
2808
- msgid "Paste your code here..."
2809
- msgstr ""
2810
-
2811
- #: public/editor-build/221-wp/texts.php:550
2812
  msgid "Pending"
2813
  msgstr ""
2814
 
2815
- #: public/editor-build/221-wp/texts.php:551
2816
  msgid "Percent"
2817
  msgstr ""
2818
 
2819
- #: public/editor-build/221-wp/texts.php:552
2820
  msgid "Percentage"
2821
  msgstr ""
2822
 
2823
- #: public/editor-build/221-wp/texts.php:553
2824
  msgid "Phone Number"
2825
  msgstr ""
2826
 
2827
- #: public/editor-build/221-wp/texts.php:554
2828
  msgid "Placeholder"
2829
  msgstr ""
2830
 
2831
- #: public/editor-build/221-wp/texts.php:555
2832
  msgid "Plain"
2833
  msgstr ""
2834
 
2835
- #: public/editor-build/221-wp/texts.php:556
2836
  msgid "Play"
2837
  msgstr ""
2838
 
2839
- #: public/editor-build/221-wp/texts.php:557
 
 
 
 
2840
  msgid "Playlist"
2841
  msgstr ""
2842
 
2843
- #: public/editor-build/221-wp/texts.php:558
2844
  msgid "Playlist Items"
2845
  msgstr ""
2846
 
2847
- #: public/editor-build/221-wp/texts.php:559
2848
  msgid "Plugin Settings"
2849
  msgstr ""
2850
 
2851
- #: public/editor-build/221-wp/texts.php:560
 
 
 
 
2852
  msgid "Popularity"
2853
  msgstr ""
2854
 
2855
- #: public/editor-build/221-wp/texts.php:561
2856
  msgid "Popup"
2857
  msgstr ""
2858
 
2859
- #: public/editor-build/221-wp/texts.php:562
2860
  msgid "Popup Close Icon"
2861
  msgstr ""
2862
 
2863
- #: public/editor-build/221-wp/texts.php:564
2864
  msgid "Port"
2865
  msgstr ""
2866
 
2867
- #: public/editor-build/221-wp/texts.php:565
2868
  msgid "Portfolio"
2869
  msgstr ""
2870
 
2871
- #: public/editor-build/221-wp/texts.php:566
2872
  msgid "Position"
2873
  msgstr ""
2874
 
2875
- #: public/editor-build/221-wp/texts.php:567
2876
  msgid "Post"
2877
  msgstr ""
2878
 
2879
- #: public/editor-build/221-wp/texts.php:568
2880
  msgid "Post Content"
2881
  msgstr ""
2882
 
2883
- #: public/editor-build/221-wp/texts.php:569
2884
  msgid "Post Excerpt"
2885
  msgstr ""
2886
 
2887
- #: public/editor-build/221-wp/texts.php:570
2888
  msgid "Post Info"
2889
  msgstr ""
2890
 
2891
- #: public/editor-build/221-wp/texts.php:571
2892
  msgid "Post Navigation"
2893
  msgstr ""
2894
 
2895
- #: public/editor-build/221-wp/texts.php:572
2896
  msgid "Post Title"
2897
  msgstr ""
2898
 
2899
- #: public/editor-build/221-wp/texts.php:573
2900
  msgid "Post Type"
2901
  msgstr ""
2902
 
2903
- #: public/editor-build/221-wp/texts.php:574
2904
  msgid "Post info"
2905
  msgstr ""
2906
 
2907
- #: public/editor-build/221-wp/texts.php:575
2908
  msgid "Posts"
2909
  msgstr ""
2910
 
2911
- #: public/editor-build/221-wp/texts.php:576
2912
  msgid "Posts Pagination"
2913
  msgstr ""
2914
 
2915
- #: public/editor-build/221-wp/texts.php:577
2916
  msgid "Posts Tags"
2917
  msgstr ""
2918
 
2919
- #: public/editor-build/221-wp/texts.php:578
2920
  msgid "Prefix"
2921
  msgstr ""
2922
 
2923
- #: public/editor-build/221-wp/texts.php:579
2924
  msgid "Press the button above to add blocks"
2925
  msgstr ""
2926
 
2927
- #: public/editor-build/221-wp/texts.php:580
2928
  msgid "Press the button above to add popup"
2929
  msgstr ""
2930
 
2931
- #: public/editor-build/221-wp/texts.php:581
2932
  msgid "Press the button to add blocks"
2933
  msgstr ""
2934
 
2935
- #: public/editor-build/221-wp/texts.php:582
2936
  msgid "Price"
2937
  msgstr ""
2938
 
2939
- #: public/editor-build/221-wp/texts.php:583
2940
  msgid "Pricing"
2941
  msgstr ""
2942
 
2943
- #: public/editor-build/221-wp/texts.php:584
2944
  msgid "Private"
2945
  msgstr ""
2946
 
2947
- #: public/editor-build/221-wp/texts.php:586
2948
  msgid "Product Attributes"
2949
  msgstr ""
2950
 
2951
- #: public/editor-build/221-wp/texts.php:587
2952
  msgid "Product Breadcrumbs"
2953
  msgstr ""
2954
 
2955
- #: public/editor-build/221-wp/texts.php:588
2956
  msgid "Product Content"
2957
  msgstr ""
2958
 
2959
- #: public/editor-build/221-wp/texts.php:589
2960
  msgid "Product Excerpt"
2961
  msgstr ""
2962
 
2963
- #: public/editor-build/221-wp/texts.php:590
2964
  msgid "Product Gallery"
2965
  msgstr ""
2966
 
2967
- #: public/editor-build/221-wp/texts.php:591
2968
  msgid "Product ID"
2969
  msgstr ""
2970
 
2971
- #: public/editor-build/221-wp/texts.php:592
2972
  msgid "Product ID or SKU"
2973
  msgstr ""
2974
 
2975
- #: public/editor-build/221-wp/texts.php:593
2976
  msgid "Product Meta"
2977
  msgstr ""
2978
 
2979
- #: public/editor-build/221-wp/texts.php:594
2980
  msgid "Product Price"
2981
  msgstr ""
2982
 
2983
- #: public/editor-build/221-wp/texts.php:595
2984
  msgid "Product Rating"
2985
  msgstr ""
2986
 
2987
- #: public/editor-build/221-wp/texts.php:596
 
 
 
 
2988
  msgid "Product Sku"
2989
  msgstr ""
2990
 
2991
- #: public/editor-build/221-wp/texts.php:597
2992
  msgid "Product Stock"
2993
  msgstr ""
2994
 
2995
- #: public/editor-build/221-wp/texts.php:598
2996
  msgid "Product Thumbnail"
2997
  msgstr ""
2998
 
2999
- #: public/editor-build/221-wp/texts.php:599
3000
  msgid "Product Title"
3001
  msgstr ""
3002
 
3003
- #: public/editor-build/221-wp/texts.php:600
3004
  msgid "Products"
3005
  msgstr ""
3006
 
3007
- #: public/editor-build/221-wp/texts.php:601
3008
  msgid "Products Count"
3009
  msgstr ""
3010
 
3011
- #: public/editor-build/221-wp/texts.php:602
3012
  msgid "Products Pagination"
3013
  msgstr ""
3014
 
3015
- #: public/editor-build/221-wp/texts.php:603
3016
  msgid "Products Tags"
3017
  msgstr ""
3018
 
3019
- #: public/editor-build/221-wp/texts.php:604
3020
  msgid "Progress"
3021
  msgstr ""
3022
 
3023
- #: public/editor-build/221-wp/texts.php:605
3024
  msgid "Protected Form"
3025
  msgstr ""
3026
 
3027
- #: public/editor-build/221-wp/texts.php:606
3028
  msgid "Protected Page"
3029
  msgstr ""
3030
 
3031
- #: public/editor-build/221-wp/texts.php:607
3032
  msgid "Publish"
3033
  msgstr ""
3034
 
3035
- #: public/editor-build/221-wp/texts.php:608
3036
  msgid "Publish Page"
3037
  msgstr ""
3038
 
3039
- #: public/editor-build/221-wp/texts.php:609
3040
  msgid "Pulse"
3041
  msgstr ""
3042
 
3043
- #: public/editor-build/221-wp/texts.php:610
3044
  msgid "Quantity"
3045
  msgstr ""
3046
 
3047
- #: public/editor-build/221-wp/texts.php:611
3048
  msgid "Query"
3049
  msgstr ""
3050
 
3051
- #: public/editor-build/221-wp/texts.php:612
 
 
 
 
3052
  msgid "Radial"
3053
  msgstr ""
3054
 
3055
- #: public/editor-build/221-wp/texts.php:613
3056
  msgid "Radio"
3057
  msgstr ""
3058
 
3059
- #: public/editor-build/221-wp/texts.php:614
3060
  msgid "Random"
3061
  msgstr ""
3062
 
3063
- #: public/editor-build/221-wp/texts.php:615
3064
  msgid "Rating"
3065
  msgstr ""
3066
 
3067
- #: public/editor-build/221-wp/texts.php:616
 
 
 
 
3068
  msgid "Ratio"
3069
  msgstr ""
3070
 
3071
- #: public/editor-build/221-wp/texts.php:617
3072
  msgid "ReCAPTCHA"
3073
  msgstr ""
3074
 
3075
- #: public/editor-build/221-wp/texts.php:618
3076
  msgid "Real-Estate"
3077
  msgstr ""
3078
 
3079
- #: public/editor-build/221-wp/texts.php:619
3080
  msgid "Recommend"
3081
  msgstr ""
3082
 
3083
- #: public/editor-build/221-wp/texts.php:620
3084
  msgid "Redirect"
3085
  msgstr ""
3086
 
3087
- #: public/editor-build/221-wp/texts.php:621
3088
  msgid "Redirect After Login"
3089
  msgstr ""
3090
 
3091
- #: public/editor-build/221-wp/texts.php:622
3092
  msgid "Redirect After Logout"
3093
  msgstr ""
3094
 
3095
- #: public/editor-build/221-wp/texts.php:623
3096
  msgid "Redo"
3097
  msgstr ""
3098
 
3099
- #: public/editor-build/221-wp/texts.php:624
3100
  msgid "Refresh"
3101
  msgstr ""
3102
 
3103
- #: public/editor-build/221-wp/texts.php:625
3104
  msgid "Register"
3105
  msgstr ""
3106
 
3107
- #: public/editor-build/221-wp/texts.php:626
3108
  msgid "Register Info"
3109
  msgstr ""
3110
 
3111
- #: public/editor-build/221-wp/texts.php:627
3112
  msgid "Related Products"
3113
  msgstr ""
3114
 
3115
- #: public/editor-build/221-wp/texts.php:628
3116
  msgid "Related Products Pagination"
3117
  msgstr ""
3118
 
3119
- #: public/editor-build/221-wp/texts.php:629
3120
  msgid "Related Products Tags"
3121
  msgstr ""
3122
 
3123
- #: public/editor-build/221-wp/texts.php:630
3124
  msgid "Religion"
3125
  msgstr ""
3126
 
3127
- #: public/editor-build/221-wp/texts.php:631
3128
  msgid "Remember me"
3129
  msgstr ""
3130
 
3131
- #: public/editor-build/221-wp/texts.php:632
3132
  msgid "Renderer"
3133
  msgstr ""
3134
 
3135
- #: public/editor-build/221-wp/texts.php:633
3136
  msgid "Reorder Blocks"
3137
  msgstr ""
3138
 
3139
- #: public/editor-build/221-wp/texts.php:634
3140
  msgid "Repair"
3141
  msgstr ""
3142
 
3143
- #: public/editor-build/221-wp/texts.php:635
 
 
 
 
3144
  msgid "Replace global styling"
3145
  msgstr ""
3146
 
3147
- #: public/editor-build/221-wp/texts.php:636
 
 
 
 
3148
  msgid "Reply"
3149
  msgstr ""
3150
 
3151
- #: public/editor-build/221-wp/texts.php:637
3152
  msgid "Reply-To"
3153
  msgstr ""
3154
 
3155
- #: public/editor-build/221-wp/texts.php:638
3156
  msgid "Required"
3157
  msgstr ""
3158
 
3159
- #: public/editor-build/221-wp/texts.php:639
3160
  msgid "Reset Password"
3161
  msgstr ""
3162
 
3163
- #: public/editor-build/221-wp/texts.php:640
3164
  msgid "Responsive Zoom In / Out"
3165
  msgstr ""
3166
 
3167
- #: public/editor-build/221-wp/texts.php:641
3168
  msgid "Reverse"
3169
  msgstr ""
3170
 
3171
- #: public/editor-build/221-wp/texts.php:642
3172
  msgid "Reverse Columns"
3173
  msgstr ""
3174
 
3175
- #: public/editor-build/221-wp/texts.php:643
3176
  msgid "Review"
3177
  msgstr ""
3178
 
3179
- #: public/editor-build/221-wp/texts.php:644
3180
  msgid "Right"
3181
  msgstr ""
3182
 
3183
- #: public/editor-build/221-wp/texts.php:646
3184
  msgid "RollIn"
3185
  msgstr ""
3186
 
3187
- #: public/editor-build/221-wp/texts.php:647
3188
  msgid "Rotate"
3189
  msgstr ""
3190
 
3191
- #: public/editor-build/221-wp/texts.php:648
3192
  msgid "RotateIn"
3193
  msgstr ""
3194
 
3195
- #: public/editor-build/221-wp/texts.php:649
3196
  msgid "RotateInDownLeft"
3197
  msgstr ""
3198
 
3199
- #: public/editor-build/221-wp/texts.php:650
3200
  msgid "RotateInDownRight"
3201
  msgstr ""
3202
 
3203
- #: public/editor-build/221-wp/texts.php:651
3204
  msgid "RotateInUpLeft"
3205
  msgstr ""
3206
 
3207
- #: public/editor-build/221-wp/texts.php:652
3208
  msgid "RotateInUpRight"
3209
  msgstr ""
3210
 
3211
- #: public/editor-build/221-wp/texts.php:653
3212
  msgid "Round"
3213
  msgstr ""
3214
 
3215
- #: public/editor-build/221-wp/texts.php:654
3216
  msgid "Row"
3217
  msgstr ""
3218
 
3219
- #: public/editor-build/221-wp/texts.php:655
3220
  msgid "Rows"
3221
  msgstr ""
3222
 
3223
- #: public/editor-build/221-wp/texts.php:656
3224
  msgid "RubberBand"
3225
  msgstr ""
3226
 
3227
- #: public/editor-build/221-wp/texts.php:657
3228
  msgid "Russian"
3229
  msgstr ""
3230
 
3231
- #: public/editor-build/221-wp/texts.php:658
3232
  msgid "SELECT ACCOUNT"
3233
  msgstr ""
3234
 
3235
- #: public/editor-build/221-wp/texts.php:659
3236
  msgid "SELECT FOR WHAT TEMPLATE IS USED"
3237
  msgstr ""
3238
 
3239
- #: public/editor-build/221-wp/texts.php:660
3240
  msgid "SELECT LIST"
3241
  msgstr ""
3242
 
3243
- #: public/editor-build/221-wp/texts.php:661
3244
- msgid "SPAN"
3245
- msgstr ""
3246
-
3247
- #: public/editor-build/221-wp/texts.php:662
3248
  msgid "START BUILDING YOUR PAGE"
3249
  msgstr ""
3250
 
3251
- #: public/editor-build/221-wp/texts.php:663
3252
  msgid "START BUILDING YOUR POPUP"
3253
  msgstr ""
3254
 
3255
- #: public/editor-build/221-wp/texts.php:664
3256
  msgid "SWITCH TO DESKTOP"
3257
  msgstr ""
3258
 
3259
- #: public/editor-build/221-wp/texts.php:665
3260
  msgid "Sale"
3261
  msgstr ""
3262
 
3263
- #: public/editor-build/221-wp/texts.php:666
3264
  msgid "Same Page"
3265
  msgstr ""
3266
 
3267
- #: public/editor-build/221-wp/texts.php:667
 
 
 
 
3268
  msgid "Save"
3269
  msgstr ""
3270
 
3271
- #: public/editor-build/221-wp/texts.php:668
3272
  msgid "Save Draft"
3273
  msgstr ""
3274
 
3275
- #: public/editor-build/221-wp/texts.php:669
3276
  msgid "Save Draft / Update Page"
3277
  msgstr ""
3278
 
3279
- #: public/editor-build/221-wp/texts.php:670
3280
  msgid "Save Layout"
3281
  msgstr ""
3282
 
3283
- #: public/editor-build/221-wp/texts.php:671
3284
  msgid "Saved"
3285
  msgstr ""
3286
 
3287
- #: public/editor-build/221-wp/texts.php:672
3288
  msgid "Saved Library is syncing to your Account"
3289
  msgstr ""
3290
 
3291
- #: public/editor-build/221-wp/texts.php:673
3292
  msgid "Saved Popups"
3293
  msgstr ""
3294
 
3295
- #: public/editor-build/221-wp/texts.php:674
3296
  msgid "Saving"
3297
  msgstr ""
3298
 
3299
- #: public/editor-build/221-wp/texts.php:675
3300
- msgid "Scroll Page Behind"
3301
  msgstr ""
3302
 
3303
- #: public/editor-build/221-wp/texts.php:676
3304
- msgid "Search"
3305
  msgstr ""
3306
 
3307
- #: public/editor-build/221-wp/texts.php:677
3308
- msgid "Search element"
3309
  msgstr ""
3310
 
3311
- #: public/editor-build/221-wp/texts.php:678
3312
- msgid "Searching..."
3313
  msgstr ""
3314
 
3315
- #: public/editor-build/221-wp/texts.php:679
 
 
 
 
3316
  msgid "Seconds"
3317
  msgstr ""
3318
 
3319
- #: public/editor-build/221-wp/texts.php:680
3320
  msgid "Section"
3321
  msgstr ""
3322
 
3323
- #: public/editor-build/221-wp/texts.php:681
3324
  msgid "Select"
3325
  msgstr ""
3326
 
3327
- #: public/editor-build/221-wp/texts.php:682
 
 
 
 
3328
  msgid "Select Parent Element"
3329
  msgstr ""
3330
 
3331
- #: public/editor-build/221-wp/texts.php:683
3332
  msgid "Select a Menu"
3333
  msgstr ""
3334
 
3335
- #: public/editor-build/221-wp/texts.php:684
3336
  msgid "Select a menu from the element options"
3337
  msgstr ""
3338
 
3339
- #: public/editor-build/221-wp/texts.php:685
3340
  msgid "Select an element on the page to display more settings"
3341
  msgstr ""
3342
 
3343
- #: public/editor-build/221-wp/texts.php:686
3344
  msgid "Select tags"
3345
  msgstr ""
3346
 
3347
- #: public/editor-build/221-wp/texts.php:687
3348
  msgid "Semi Bold"
3349
  msgstr ""
3350
 
3351
- #: public/editor-build/221-wp/texts.php:688
3352
  msgid "Separator"
3353
  msgstr ""
3354
 
3355
- #: public/editor-build/221-wp/texts.php:690
3356
  msgid "Shadow"
3357
  msgstr ""
3358
 
3359
- #: public/editor-build/221-wp/texts.php:691
3360
  msgid "Shake"
3361
  msgstr ""
3362
 
3363
- #: public/editor-build/221-wp/texts.php:692
3364
  msgid "Shape"
3365
  msgstr ""
3366
 
3367
- #: public/editor-build/221-wp/texts.php:693
 
 
 
 
3368
  msgid "Shop Cart"
3369
  msgstr ""
3370
 
3371
- #: public/editor-build/221-wp/texts.php:694
3372
  msgid "Shop Categories"
3373
  msgstr ""
3374
 
3375
- #: public/editor-build/221-wp/texts.php:695
3376
  msgid "Shop Pages"
3377
  msgstr ""
3378
 
3379
- #: public/editor-build/221-wp/texts.php:696
3380
  msgid "Shop Products"
3381
  msgstr ""
3382
 
3383
- #: public/editor-build/221-wp/texts.php:697
 
 
 
 
3384
  msgid "Shortcode"
3385
  msgstr ""
3386
 
3387
- #: public/editor-build/221-wp/texts.php:698
3388
  msgid "Shortcuts"
3389
  msgstr ""
3390
 
3391
- #: public/editor-build/221-wp/texts.php:699
3392
  msgid "Shortname"
3393
  msgstr ""
3394
 
3395
- #: public/editor-build/221-wp/texts.php:700
 
 
 
 
3396
  msgid "Show Button Counter"
3397
  msgstr ""
3398
 
3399
- #: public/editor-build/221-wp/texts.php:701
 
 
 
 
3400
  msgid "Show Friend's Faces"
3401
  msgstr ""
3402
 
3403
- #: public/editor-build/221-wp/texts.php:702
3404
  msgid "Show Friends' Faces"
3405
  msgstr ""
3406
 
3407
- #: public/editor-build/221-wp/texts.php:703
3408
  msgid "Show Hidden Elements"
3409
  msgstr ""
3410
 
3411
- #: public/editor-build/221-wp/texts.php:704
 
 
 
 
 
 
 
 
3412
  msgid "Show Meta Data"
3413
  msgstr ""
3414
 
3415
- #: public/editor-build/221-wp/texts.php:705
 
 
 
 
3416
  msgid "Show Social Context"
3417
  msgstr ""
3418
 
3419
- #: public/editor-build/221-wp/texts.php:706
 
 
 
 
3420
  msgid "Show message"
3421
  msgstr ""
3422
 
3423
- #: public/editor-build/221-wp/texts.php:707
3424
  msgid "Show on Desktop"
3425
  msgstr ""
3426
 
3427
- #: public/editor-build/221-wp/texts.php:708
3428
  msgid "Show to"
3429
  msgstr ""
3430
 
3431
- #: public/editor-build/221-wp/texts.php:709
3432
  msgid "Sidebar"
3433
  msgstr ""
3434
 
3435
- #: public/editor-build/221-wp/texts.php:710
 
 
 
 
3436
  msgid "SignUp"
3437
  msgstr ""
3438
 
3439
- #: public/editor-build/221-wp/texts.php:711
3440
  msgid "Size"
3441
  msgstr ""
3442
 
3443
- #: public/editor-build/221-wp/texts.php:712
 
 
 
 
3444
  msgid "Skin"
3445
  msgstr ""
3446
 
3447
- #: public/editor-build/221-wp/texts.php:713
3448
  msgid "Skin 1"
3449
  msgstr ""
3450
 
3451
- #: public/editor-build/221-wp/texts.php:714
3452
  msgid "Skin 2"
3453
  msgstr ""
3454
 
3455
- #: public/editor-build/221-wp/texts.php:715
3456
  msgid "Skin 3"
3457
  msgstr ""
3458
 
3459
- #: public/editor-build/221-wp/texts.php:716
3460
  msgid "Skin 4"
3461
  msgstr ""
3462
 
3463
- #: public/editor-build/221-wp/texts.php:717
3464
  msgid "Skip"
3465
  msgstr ""
3466
 
3467
- #: public/editor-build/221-wp/texts.php:718
3468
  msgid "Sku"
3469
  msgstr ""
3470
 
3471
- #: public/editor-build/221-wp/texts.php:719
3472
  msgid "Slide"
3473
  msgstr ""
3474
 
3475
- #: public/editor-build/221-wp/texts.php:720
3476
  msgid "SlideInDown"
3477
  msgstr ""
3478
 
3479
- #: public/editor-build/221-wp/texts.php:721
3480
  msgid "SlideInLeft"
3481
  msgstr ""
3482
 
3483
- #: public/editor-build/221-wp/texts.php:722
3484
  msgid "SlideInRight"
3485
  msgstr ""
3486
 
3487
- #: public/editor-build/221-wp/texts.php:723
3488
  msgid "SlideInUp"
3489
  msgstr ""
3490
 
3491
- #: public/editor-build/221-wp/texts.php:724
3492
  msgid "Slider"
3493
  msgstr ""
3494
 
3495
- #: public/editor-build/221-wp/texts.php:725
3496
  msgid "Slides"
3497
  msgstr ""
3498
 
3499
- #: public/editor-build/221-wp/texts.php:726
3500
  msgid "Slug"
3501
  msgstr ""
3502
 
3503
- #: public/editor-build/221-wp/texts.php:727
3504
  msgid "Solid"
3505
  msgstr ""
3506
 
3507
- #: public/editor-build/221-wp/texts.php:728
3508
  msgid "Some integrations are available only in PRO"
3509
  msgstr ""
3510
 
3511
- #: public/editor-build/221-wp/texts.php:729
3512
- msgid "Something went wrong"
3513
- msgstr ""
3514
-
3515
- #: public/editor-build/221-wp/texts.php:730
3516
  msgid "SoundCloud"
3517
  msgstr ""
3518
 
3519
- #: public/editor-build/221-wp/texts.php:731
3520
  msgid "SoundCloud Link"
3521
  msgstr ""
3522
 
3523
- #: public/editor-build/221-wp/texts.php:732
3524
  msgid "Source"
3525
  msgstr ""
3526
 
3527
- #: public/editor-build/221-wp/texts.php:733
3528
  msgid "Source ID"
3529
  msgstr ""
3530
 
3531
- #: public/editor-build/221-wp/texts.php:734
3532
  msgid "Source Type"
3533
  msgstr ""
3534
 
3535
- #: public/editor-build/221-wp/texts.php:735
3536
  msgid "Spacer"
3537
  msgstr ""
3538
 
3539
- #: public/editor-build/221-wp/texts.php:736
3540
  msgid "Spacing"
3541
  msgstr ""
3542
 
3543
- #: public/editor-build/221-wp/texts.php:737
3544
  msgid "Span"
3545
  msgstr ""
3546
 
3547
- #: public/editor-build/221-wp/texts.php:738
3548
  msgid "Spanish"
3549
  msgstr ""
3550
 
3551
- #: public/editor-build/221-wp/texts.php:739
 
 
 
 
3552
  msgid "Specify a start time (in seconds)"
3553
  msgstr ""
3554
 
3555
- #: public/editor-build/221-wp/texts.php:740
3556
  msgid "Specify an end time (in seconds)"
3557
  msgstr ""
3558
 
3559
- #: public/editor-build/221-wp/texts.php:741
3560
  msgid "Speed"
3561
  msgstr ""
3562
 
3563
- #: public/editor-build/221-wp/texts.php:742
3564
  msgid "Sport"
3565
  msgstr ""
3566
 
3567
- #: public/editor-build/221-wp/texts.php:743
3568
  msgid "Square"
3569
  msgstr ""
3570
 
3571
- #: public/editor-build/221-wp/texts.php:744
3572
  msgid "Stars"
3573
  msgstr ""
3574
 
3575
- #: public/editor-build/221-wp/texts.php:745
3576
  msgid "Stars Bg"
3577
  msgstr ""
3578
 
3579
- #: public/editor-build/221-wp/texts.php:746
 
 
 
 
3580
  msgid "Start"
3581
  msgstr ""
3582
 
3583
- #: public/editor-build/221-wp/texts.php:747
3584
  msgid "Static"
3585
  msgstr ""
3586
 
3587
- #: public/editor-build/221-wp/texts.php:748
3588
  msgid "Status"
3589
  msgstr ""
3590
 
3591
- #: public/editor-build/221-wp/texts.php:749
 
 
 
 
3592
  msgid "Sticky"
3593
  msgstr ""
3594
 
3595
- #: public/editor-build/221-wp/texts.php:750
3596
  msgid "Stock"
3597
  msgstr ""
3598
 
3599
- #: public/editor-build/221-wp/texts.php:752
3600
  msgid "Story"
3601
  msgstr ""
3602
 
3603
- #: public/editor-build/221-wp/texts.php:753
3604
  msgid "Strike"
3605
  msgstr ""
3606
 
3607
- #: public/editor-build/221-wp/texts.php:754
 
 
 
 
3608
  msgid "Style"
3609
  msgstr ""
3610
 
3611
- #: public/editor-build/221-wp/texts.php:755
3612
  msgid "Styles"
3613
  msgstr ""
3614
 
3615
- #: public/editor-build/221-wp/texts.php:756
3616
  msgid "Styling"
3617
  msgstr ""
3618
 
3619
- #: public/editor-build/221-wp/texts.php:757
3620
  msgid "Sub Title"
3621
  msgstr ""
3622
 
3623
- #: public/editor-build/221-wp/texts.php:758
3624
  msgid "Subject"
3625
  msgstr ""
3626
 
3627
- #: public/editor-build/221-wp/texts.php:759
3628
  msgid "Subtotal"
3629
  msgstr ""
3630
 
3631
- #: public/editor-build/221-wp/texts.php:760
3632
  msgid "Success"
3633
  msgstr ""
3634
 
3635
- #: public/editor-build/221-wp/texts.php:761
3636
  msgid "Suffix"
3637
  msgstr ""
3638
 
3639
- #: public/editor-build/221-wp/texts.php:762
3640
  msgid "Support"
3641
  msgstr ""
3642
 
3643
- #: public/editor-build/221-wp/texts.php:763
3644
  msgid "Swing"
3645
  msgstr ""
3646
 
3647
- #: public/editor-build/221-wp/texts.php:764
3648
  msgid "Switch to Draft"
3649
  msgstr ""
3650
 
3651
- #: public/editor-build/221-wp/texts.php:765
3652
  msgid "Switch to desktop to add blocks"
3653
  msgstr ""
3654
 
3655
- #: public/editor-build/221-wp/texts.php:766
3656
  msgid "Switch to desktop to add popup"
3657
  msgstr ""
3658
 
3659
- #: public/editor-build/221-wp/texts.php:767
3660
  msgid "Switcher"
3661
  msgstr ""
3662
 
3663
- #: public/editor-build/221-wp/texts.php:768
3664
- msgid "Switcher Tabs"
3665
- msgstr ""
3666
-
3667
- #: public/editor-build/221-wp/texts.php:769
3668
  msgid "Sync Now"
3669
  msgstr ""
3670
 
3671
- #: public/editor-build/221-wp/texts.php:770
3672
  msgid "TTF File"
3673
  msgstr ""
3674
 
3675
- #: public/editor-build/221-wp/texts.php:771
3676
  msgid "Tab"
3677
  msgstr ""
3678
 
3679
- #: public/editor-build/221-wp/texts.php:772
3680
  msgid "Table"
3681
  msgstr ""
3682
 
3683
- #: public/editor-build/221-wp/texts.php:773
3684
  msgid "Table Head"
3685
  msgstr ""
3686
 
3687
- #: public/editor-build/221-wp/texts.php:774
3688
  msgid "Table Sidebar"
3689
  msgstr ""
3690
 
3691
- #: public/editor-build/221-wp/texts.php:775
3692
  msgid "Tablet"
3693
  msgstr ""
3694
 
3695
- #: public/editor-build/221-wp/texts.php:776
3696
  msgid "Tabs"
3697
  msgstr ""
3698
 
3699
- #: public/editor-build/221-wp/texts.php:777
3700
- msgid "Tabs Items"
3701
- msgstr ""
3702
-
3703
- #: public/editor-build/221-wp/texts.php:778
3704
  msgid "Tada"
3705
  msgstr ""
3706
 
3707
- #: public/editor-build/221-wp/texts.php:779
3708
  msgid "Tags"
3709
  msgstr ""
3710
 
3711
- #: public/editor-build/221-wp/texts.php:780
3712
  msgid "Tail"
3713
  msgstr ""
3714
 
3715
- #: public/editor-build/221-wp/texts.php:781
3716
  msgid "Take over"
3717
  msgstr ""
3718
 
3719
- #: public/editor-build/221-wp/texts.php:782
3720
  msgid "Take over failed please refresh the page"
3721
  msgstr ""
3722
 
3723
- #: public/editor-build/221-wp/texts.php:783
3724
  msgid "Target URL"
3725
  msgstr ""
3726
 
3727
- #: public/editor-build/221-wp/texts.php:784
 
 
 
 
3728
  msgid "Team"
3729
  msgstr ""
3730
 
3731
- #: public/editor-build/221-wp/texts.php:785
3732
  msgid "Tel"
3733
  msgstr ""
3734
 
3735
- #: public/editor-build/221-wp/texts.php:786
3736
  msgid "Testimonials"
3737
  msgstr ""
3738
 
3739
- #: public/editor-build/221-wp/texts.php:787
3740
  msgid "Text"
3741
  msgstr ""
3742
 
3743
- #: public/editor-build/221-wp/texts.php:788
 
 
 
 
3744
  msgid "The element you have selected doesn't have more settings"
3745
  msgstr ""
3746
 
3747
- #: public/editor-build/221-wp/texts.php:789
3748
  msgid "The email address format is not valid"
3749
  msgstr ""
3750
 
3751
- #: public/editor-build/221-wp/texts.php:790
3752
  msgid "The integration is not responding, please try again or verify the account credentials"
3753
  msgstr ""
3754
 
3755
- #: public/editor-build/221-wp/texts.php:791
3756
  msgid "Theme"
3757
  msgstr ""
3758
 
3759
- #: public/editor-build/221-wp/texts.php:792
3760
  msgid "There are no choices"
3761
  msgstr ""
3762
 
3763
- #: public/editor-build/221-wp/texts.php:793
3764
  msgid "Thin"
3765
  msgstr ""
3766
 
3767
- #: public/editor-build/221-wp/texts.php:794
3768
  msgid "This is Lottie .json URL. Get more from LottieFiles.com."
3769
  msgstr ""
3770
 
3771
- #: public/editor-build/221-wp/texts.php:795
3772
  msgid "This page needs a refresh. You’ve probably updated this page (or another page) in a different tab or browser."
3773
  msgstr ""
3774
 
3775
- #: public/editor-build/221-wp/texts.php:796
3776
  msgid "Thumbs"
3777
  msgstr ""
3778
 
3779
- #: public/editor-build/221-wp/texts.php:797
3780
  msgid "Time"
3781
  msgstr ""
3782
 
3783
- #: public/editor-build/221-wp/texts.php:798
3784
  msgid "Time Zone"
3785
  msgstr ""
3786
 
3787
- #: public/editor-build/221-wp/texts.php:799
3788
  msgid "Timeline"
3789
  msgstr ""
3790
 
3791
- #: public/editor-build/221-wp/texts.php:800
3792
  msgid "Timeline Items"
3793
  msgstr ""
3794
 
3795
- #: public/editor-build/221-wp/texts.php:801
3796
  msgid "Timeline Labels"
3797
  msgstr ""
3798
 
3799
- #: public/editor-build/221-wp/texts.php:802
3800
  msgid "Timer"
3801
  msgstr ""
3802
 
3803
- #: public/editor-build/221-wp/texts.php:803
3804
  msgid "Tip: Use these shortcodes to populate your template"
3805
  msgstr ""
3806
 
3807
- #: public/editor-build/221-wp/texts.php:804
3808
  msgid "Tip: You can browse the Google font library"
3809
  msgstr ""
3810
 
3811
- #: public/editor-build/221-wp/texts.php:805
3812
  msgid "Title"
3813
  msgstr ""
3814
 
3815
- #: public/editor-build/221-wp/texts.php:806
 
 
 
 
3816
  msgid "Titles"
3817
  msgstr ""
3818
 
3819
- #: public/editor-build/221-wp/texts.php:807
3820
  msgid "To Dashboard"
3821
  msgstr ""
3822
 
3823
- #: public/editor-build/221-wp/texts.php:808
3824
  msgid "Toggle Menu"
3825
  msgstr ""
3826
 
3827
- #: public/editor-build/221-wp/texts.php:809
3828
  msgid "Top"
3829
  msgstr ""
3830
 
3831
- #: public/editor-build/221-wp/texts.php:810
3832
  msgid "Total"
3833
  msgstr ""
3834
 
3835
- #: public/editor-build/221-wp/texts.php:811
 
 
 
 
 
 
 
 
3836
  msgid "Trash"
3837
  msgstr ""
3838
 
3839
- #: public/editor-build/221-wp/texts.php:812
3840
  msgid "Travel"
3841
  msgstr ""
3842
 
3843
- #: public/editor-build/221-wp/texts.php:813
3844
  msgid "Trigger Popup Only Once"
3845
  msgstr ""
3846
 
3847
- #: public/editor-build/221-wp/texts.php:814
3848
  msgid "Triggers"
3849
  msgstr ""
3850
 
3851
- #: public/editor-build/221-wp/texts.php:815
3852
  msgid "Try Again"
3853
  msgstr ""
3854
 
3855
- #: public/editor-build/221-wp/texts.php:816
3856
  msgid "Tweet"
3857
  msgstr ""
3858
 
3859
- #: public/editor-build/221-wp/texts.php:817
3860
  msgid "Twitter"
3861
  msgstr ""
3862
 
3863
- #: public/editor-build/221-wp/texts.php:818
3864
  msgid "Type"
3865
  msgstr ""
3866
 
3867
- #: public/editor-build/221-wp/texts.php:819
3868
  msgid "Type to Search ..."
3869
  msgstr ""
3870
 
3871
- #: public/editor-build/221-wp/texts.php:820
3872
  msgid "Type to search"
3873
  msgstr ""
3874
 
3875
- #: public/editor-build/221-wp/texts.php:821
3876
  msgid "Typography"
3877
  msgstr ""
3878
 
3879
- #: public/editor-build/221-wp/texts.php:822
3880
  msgid "UPLOAD"
3881
  msgstr ""
3882
 
3883
- #: public/editor-build/221-wp/texts.php:823
3884
  msgid "UPLOAD FONT"
3885
  msgstr ""
3886
 
3887
- #: public/editor-build/221-wp/texts.php:824
3888
  msgid "URL"
3889
  msgstr ""
3890
 
3891
- #: public/editor-build/221-wp/texts.php:825
3892
  msgid "USE CUSTOM TEMPLATE"
3893
  msgstr ""
3894
 
3895
- #: public/editor-build/221-wp/texts.php:826
3896
  msgid "Unable to insert block. Please try again or contact support"
3897
  msgstr ""
3898
 
3899
- #: public/editor-build/221-wp/texts.php:827
3900
  msgid "Unable to insert layout. Please try again or contact support"
3901
  msgstr ""
3902
 
3903
- #: public/editor-build/221-wp/texts.php:828
3904
  msgid "Unable to insert popup. Please try again or contact support"
3905
  msgstr ""
3906
 
3907
- #: public/editor-build/221-wp/texts.php:829
 
 
 
 
3908
  msgid "Underline"
3909
  msgstr ""
3910
 
3911
- #: public/editor-build/221-wp/texts.php:830
3912
  msgid "Undo"
3913
  msgstr ""
3914
 
3915
- #: public/editor-build/221-wp/texts.php:831
3916
  msgid "Unlocked"
3917
  msgstr ""
3918
 
3919
- #: public/editor-build/221-wp/texts.php:832
3920
  msgid "Unsuccessful sync"
3921
  msgstr ""
3922
 
3923
- #: public/editor-build/221-wp/texts.php:833
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3924
  msgid "Update"
3925
  msgstr ""
3926
 
3927
- #: public/editor-build/221-wp/texts.php:834
 
 
 
 
3928
  msgid "Upgrade to PRO to use this block"
3929
  msgstr ""
3930
 
3931
- #: public/editor-build/221-wp/texts.php:835
3932
  msgid "Upgrade to PRO to use this element"
3933
  msgstr ""
3934
 
3935
- #: public/editor-build/221-wp/texts.php:836
3936
  msgid "Upgrade to PRO to use this integration"
3937
  msgstr ""
3938
 
3939
- #: public/editor-build/221-wp/texts.php:837
3940
  msgid "Upgrade to PRO to use this layout"
3941
  msgstr ""
3942
 
3943
- #: public/editor-build/221-wp/texts.php:838
3944
  msgid "Upgrade to PRO to use this story"
3945
  msgstr ""
3946
 
3947
- #: public/editor-build/221-wp/texts.php:839
3948
  msgid "Upgrade to Pro"
3949
  msgstr ""
3950
 
3951
- #: public/editor-build/221-wp/texts.php:840
3952
  msgid "Upsell"
3953
  msgstr ""
3954
 
3955
- #: public/editor-build/221-wp/texts.php:841
3956
  msgid "Upsell Pagination"
3957
  msgstr ""
3958
 
3959
- #: public/editor-build/221-wp/texts.php:842
3960
  msgid "Upsell Tags"
3961
  msgstr ""
3962
 
3963
- #: public/editor-build/221-wp/texts.php:843
3964
  msgid "Url"
3965
  msgstr ""
3966
 
3967
- #: public/editor-build/221-wp/texts.php:844
3968
  msgid "Use Small Header"
3969
  msgstr ""
3970
 
3971
- #: public/editor-build/221-wp/texts.php:845
3972
  msgid "Username"
3973
  msgstr ""
3974
 
3975
- #: public/editor-build/221-wp/texts.php:846
3976
  msgid "Users"
3977
  msgstr ""
3978
 
3979
- #: public/editor-build/221-wp/texts.php:847
3980
  msgid "Value"
3981
  msgstr ""
3982
 
3983
- #: public/editor-build/221-wp/texts.php:848
 
 
 
 
3984
  msgid "Values"
3985
  msgstr ""
3986
 
3987
- #: public/editor-build/221-wp/texts.php:849
3988
  msgid "Variations"
3989
  msgstr ""
3990
 
3991
- #: public/editor-build/221-wp/texts.php:850
3992
  msgid "Verification process failed, please make sure you have done the following three things and try again in a few minutes."
3993
  msgstr ""
3994
 
3995
- #: public/editor-build/221-wp/texts.php:851
3996
  msgid "Vertical"
3997
  msgstr ""
3998
 
3999
- #: public/editor-build/221-wp/texts.php:852
4000
  msgid "Vertical Align"
4001
  msgstr ""
4002
 
4003
- #: public/editor-build/221-wp/texts.php:853
4004
  msgid "Vertical Offset"
4005
  msgstr ""
4006
 
4007
- #: public/editor-build/221-wp/texts.php:854
4008
  msgid "Video"
4009
  msgstr ""
4010
 
4011
- #: public/editor-build/221-wp/texts.php:855
4012
  msgid "View as"
4013
  msgstr ""
4014
 
4015
- #: public/editor-build/221-wp/texts.php:856
4016
  msgid "Vimeo"
4017
  msgstr ""
4018
 
4019
- #: public/editor-build/221-wp/texts.php:857
4020
  msgid "Volume"
4021
  msgstr ""
4022
 
4023
- #: public/editor-build/221-wp/texts.php:858
4024
  msgid "WHAT WILL TRIGGER THE POPUP TO OPEN"
4025
  msgstr ""
4026
 
4027
- #: public/editor-build/221-wp/texts.php:859
4028
  msgid "WHERE DO YOU WANT TO DISPLAY IT?"
4029
  msgstr ""
4030
 
4031
- #: public/editor-build/221-wp/texts.php:860
4032
  msgid "WOFF File"
4033
  msgstr ""
4034
 
4035
- #: public/editor-build/221-wp/texts.php:861
4036
  msgid "WOFF2 File"
4037
  msgstr ""
4038
 
4039
- #: public/editor-build/221-wp/texts.php:862
4040
  msgid "WOOCart"
4041
  msgstr ""
4042
 
4043
- #: public/editor-build/221-wp/texts.php:863
4044
  msgid "WOORating"
4045
  msgstr ""
4046
 
4047
- #: public/editor-build/221-wp/texts.php:864
4048
  msgid "Weight"
4049
  msgstr ""
4050
 
4051
- #: public/editor-build/221-wp/texts.php:865
4052
  msgid "When Finished"
4053
  msgstr ""
4054
 
4055
- #: public/editor-build/221-wp/texts.php:866
4056
  msgid "Width"
4057
  msgstr ""
4058
 
4059
- #: public/editor-build/221-wp/texts.php:867
 
 
 
 
4060
  msgid "Wobble"
4061
  msgstr ""
4062
 
4063
- #: public/editor-build/221-wp/texts.php:868
4064
  msgid "Woo Product"
4065
  msgstr ""
4066
 
4067
- #: public/editor-build/221-wp/texts.php:869
4068
  msgid "WordPress"
4069
  msgstr ""
4070
 
4071
- #: public/editor-build/221-wp/texts.php:870
 
 
 
 
 
 
 
 
4072
  msgid "YOUR PAGE IS READY TO PUBLISH!"
4073
  msgstr ""
4074
 
4075
- #: public/editor-build/221-wp/texts.php:871
4076
  msgid "You can"
4077
  msgstr ""
4078
 
4079
- #: public/editor-build/221-wp/texts.php:872
 
 
 
 
4080
  msgid "You can't add it again"
4081
  msgstr ""
4082
 
4083
- #: public/editor-build/221-wp/texts.php:873
4084
  msgid "You can’t make changes"
4085
  msgstr ""
4086
 
4087
- #: public/editor-build/221-wp/texts.php:874
4088
  msgid "You have successfully connect the form with"
4089
  msgstr ""
4090
 
4091
- #: public/editor-build/221-wp/texts.php:875
4092
  msgid "You must be have one font added"
4093
  msgstr ""
4094
 
4095
- #: public/editor-build/221-wp/texts.php:876
4096
  msgid "You must be have one selected item"
4097
  msgstr ""
4098
 
4099
- #: public/editor-build/221-wp/texts.php:877
4100
  msgid "You must specify a title"
4101
  msgstr ""
4102
 
4103
- #: public/editor-build/221-wp/texts.php:878
4104
  msgid "YouTube or Vimeo"
4105
  msgstr ""
4106
 
4107
- #: public/editor-build/221-wp/texts.php:879
4108
  msgid "Your Plugin version is incompatible with Account version, please update plugin"
4109
  msgstr ""
4110
 
4111
- #: public/editor-build/221-wp/texts.php:880
4112
  msgid "Your block was saved without screenshot, browser is not compatible"
4113
  msgstr ""
4114
 
4115
- #: public/editor-build/221-wp/texts.php:881
4116
  msgid "Your link is not correct"
4117
  msgstr ""
4118
 
4119
- #: public/editor-build/221-wp/texts.php:882
4120
  msgid "Youtube"
4121
  msgstr ""
4122
 
4123
- #: public/editor-build/221-wp/texts.php:883
4124
  msgid "Z-index"
4125
  msgstr ""
4126
 
4127
- #: public/editor-build/221-wp/texts.php:884
4128
  msgid "Zoom"
4129
  msgstr ""
4130
 
4131
- #: public/editor-build/221-wp/texts.php:885
4132
  msgid "ZoomIn"
4133
  msgstr ""
4134
 
4135
- #: public/editor-build/221-wp/texts.php:886
4136
  msgid "ZoomInDown"
4137
  msgstr ""
4138
 
4139
- #: public/editor-build/221-wp/texts.php:887
4140
  msgid "ZoomInLeft"
4141
  msgstr ""
4142
 
4143
- #: public/editor-build/221-wp/texts.php:888
4144
  msgid "ZoomInRight"
4145
  msgstr ""
4146
 
4147
- #: public/editor-build/221-wp/texts.php:889
4148
  msgid "ZoomInUp"
4149
  msgstr ""
4150
 
4151
- #: public/editor-build/221-wp/texts.php:890
4152
  msgid "block-name"
4153
  msgstr ""
4154
 
4155
- #: public/editor-build/221-wp/texts.php:891
4156
  msgid "component"
4157
  msgstr ""
4158
 
4159
- #: public/editor-build/221-wp/texts.php:892
 
 
 
 
4160
  msgid "here"
4161
  msgstr ""
4162
 
4163
- #: public/editor-build/221-wp/texts.php:893
4164
  msgid "in your WordPress admin"
4165
  msgstr ""
4166
 
4167
- #: public/editor-build/221-wp/texts.php:894
4168
  msgid "is already editing project"
4169
  msgstr ""
4170
 
4171
- #: public/editor-build/221-wp/texts.php:895
4172
  msgid "is currently working on this page. Do you want to take over"
4173
  msgstr ""
4174
 
4175
- #: public/editor-build/221-wp/texts.php:896
4176
  msgid "layout"
4177
  msgstr ""
4178
 
4179
- #: public/editor-build/221-wp/texts.php:897
4180
  msgid "layouts"
4181
  msgstr ""
4182
 
4183
- #: public/editor-build/221-wp/texts.php:898
4184
  msgid "open an issue"
4185
  msgstr ""
4186
 
4187
- #: public/editor-build/221-wp/texts.php:899
4188
  msgid "or"
4189
  msgstr ""
4190
 
4191
- #: public/editor-build/221-wp/texts.php:900
4192
  msgid "remove this element"
4193
  msgstr ""
4194
 
4195
- #: public/editor-build/221-wp/texts.php:901
4196
  msgid "required"
4197
  msgstr ""
4198
 
4199
- #: public/editor-build/221-wp/texts.php:903
4200
  msgid "story"
4201
  msgstr ""
4202
 
2
  # This file is distributed under the GPLv3.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Brizy 2.4.0\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/brizy\n"
7
+ "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
8
  "Language-Team: LANGUAGE <LL@li.org>\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
+ "POT-Creation-Date: 2022-05-23T12:03:50+03:00\n"
13
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
14
+ "X-Generator: WP-CLI 2.5.0\n"
15
  "X-Domain: brizy\n"
16
 
17
  #. Plugin Name of the plugin
35
  msgid "global block."
36
  msgstr ""
37
 
38
+ #: admin/dashboard-widget.php:38
39
  msgid "%s Overview"
40
  msgstr ""
41
 
42
+ #: admin/dashboard-widget.php:76
43
  msgid "There is no body in the remote server response."
44
  msgstr ""
45
 
46
+ #: admin/dashboard-widget.php:94
47
+ msgid "%1$s failed to extract the latest news. Please contact our %2$ssupport%3$s."
48
  msgstr ""
49
 
50
  #: admin/feedback.php:30
120
  msgstr ""
121
 
122
  #: admin/form-entries.php:62
123
+ #: public/editor-build/236-wp/texts.php:247
124
  msgid "Date"
125
  msgstr ""
126
 
165
  #: admin/form-entries.php:331
166
  #: admin/popups/main.php:115
167
  #: admin/templates.php:247
168
+ #: public/editor-build/236-wp/texts.php:51
169
  msgid "Add New"
170
  msgstr ""
171
 
205
  msgid "Layout."
206
  msgstr ""
207
 
208
+ #: admin/main.php:242
209
+ #: admin/settings.php:109
210
+ #: admin/settings.php:110
211
+ #: public/editor-build/236-wp/texts.php:770
212
  msgid "Settings"
213
  msgstr ""
214
 
215
+ #: admin/main.php:250
216
+ #: admin/settings.php:159
217
+ #: import/main.php:52
218
  msgid "Go Pro"
219
  msgstr ""
220
 
221
+ #: admin/main.php:309
222
  msgid "Submit & Deactivate"
223
  msgstr ""
224
 
225
+ #: admin/main.php:310
226
  msgid "Skip & Deactivate"
227
  msgstr ""
228
 
229
+ #: admin/main.php:424
230
  #: admin/views/button.php:25
231
  #: admin/views/button.php:44
232
  #: compatibilities/gutenberg.php:98
234
  msgid "Edit with %s"
235
  msgstr ""
236
 
 
 
 
 
237
  #: admin/membership/membership.php:64
238
  #: editor/post.php:592
239
  msgid "Default"
257
  msgstr ""
258
 
259
  #: admin/network-settings.php:82
260
+ #: admin/settings.php:315
261
  msgid "Full Access"
262
  msgstr ""
263
 
299
 
300
  #: admin/popups/main.php:120
301
  #: admin/popups/main.php:134
302
+ #: public/editor-build/236-wp/texts.php:636
303
  msgid "Popups"
304
  msgstr ""
305
 
339
  msgid "Any child of"
340
  msgstr ""
341
 
342
+ #: admin/settings.php:119
343
+ #: admin/settings.php:120
344
+ #: admin/views/settings/tools.php:7
345
+ msgid "Tools"
346
+ msgstr ""
347
+
348
+ #: admin/settings.php:142
349
  msgid "Get Help"
350
  msgstr ""
351
 
352
+ #: admin/settings.php:171
353
+ #: public/editor-build/236-wp/texts.php:400
354
  msgid "General"
355
  msgstr ""
356
 
357
+ #: admin/settings.php:177
358
  msgid "Role Manager"
359
  msgstr ""
360
 
361
+ #: admin/settings.php:183
362
  msgid "Maintenance Mode"
363
  msgstr ""
364
 
365
+ #: admin/settings.php:543
366
+ msgid "You must be an administrator running a replace URL session"
367
+ msgstr ""
368
+
369
+ #: admin/settings.php:552
370
+ msgid "The old and new URLs must be different"
371
+ msgstr ""
372
+
373
+ #: admin/settings.php:556
374
+ msgid "The old and new URLs must be valid URLs"
375
+ msgstr ""
376
+
377
+ #: admin/settings.php:599
378
+ msgid "The replacement was successful"
379
+ msgstr ""
380
+
381
  #: admin/stories/main.php:39
382
  msgctxt "post type general name"
383
  msgid "Stories"
416
  msgstr ""
417
 
418
  #: admin/stories/main.php:48
419
+ #: public/editor-build/236-wp/texts.php:845
420
  msgid "Stories"
421
  msgstr ""
422
 
437
  msgstr ""
438
 
439
  #: admin/stories/main.php:60
440
+ #: public/editor-build/236-wp/texts.php:1012
441
  msgid "stories"
442
  msgstr ""
443
 
446
  msgstr ""
447
 
448
  #: admin/templates.php:128
449
+ #: public/editor-build/236-wp/texts.php:83
450
  msgid "Archive"
451
  msgstr ""
452
 
453
  #: admin/templates.php:133
454
+ #: public/editor-build/236-wp/texts.php:658
455
  msgid "Product"
456
  msgstr ""
457
 
558
  msgstr ""
559
 
560
  #: admin/views/dashboard.php:12
561
+ #: public/editor-build/236-wp/texts.php:128
562
  msgid "Blog"
563
  msgstr ""
564
 
601
  msgstr ""
602
 
603
  #: admin/views/settings/maintenance.php:27
604
+ #: public/editor-build/236-wp/texts.php:236
605
  msgid "Custom"
606
  msgstr ""
607
 
608
  #: admin/views/settings/maintenance.php:33
609
+ #: public/editor-build/236-wp/texts.php:723
610
  msgid "Roles"
611
  msgstr ""
612
 
626
  msgid "Whitelisted IP Addresses"
627
  msgstr ""
628
 
629
+ #: admin/views/settings/tools.php:11
630
+ #: admin/views/settings/tools.php:16
631
+ #: admin/views/settings/tools.php:30
632
+ msgid "Replace URL"
633
+ msgstr ""
634
+
635
+ #: admin/views/settings/tools.php:18
636
+ msgid "<strong>Important:</strong> It is strongly recommended that you <a target=\"_blank\" href=\"%s\">backup your database</a> before using Replace URL."
637
+ msgstr ""
638
+
639
+ #: admin/views/settings/tools.php:23
640
+ msgid "Update Site Address (URL)"
641
+ msgstr ""
642
+
643
+ #: admin/views/settings/tools.php:34
644
+ msgid "Enter your old and new URLs for your WordPress installation, to update all %s data (Relevant for domain transfers or move to 'HTTPS')."
645
+ msgstr ""
646
+
647
+ #: brizy.php:67
648
  #: system-checks.php:37
649
  msgid "%1$s requires PHP version 5.6+, you currently running PHP %2$s. <b>%3$s IS NOT RUNNING.</b>"
650
  msgstr ""
651
 
652
+ #: brizy.php:84
653
  msgid "%1$s failed to start. Please contact the support <a href=\"%s\">here</a>."
654
  msgstr ""
655
 
656
+ #: compatibilities/wordpress-importer.php:38
657
+ msgid "Importing Brizy post &#8220;%s&#8221; will be skipped due to incompatible version: %s "
658
+ msgstr ""
659
+
660
  #: content/providers/free-provider.php:117
661
  msgid "%s comment"
662
  msgid_plural "%s comments"
667
  msgid "Please set a valid product"
668
  msgstr ""
669
 
670
+ #: editor.php:281
671
  msgid " Template"
672
  msgstr ""
673
 
674
+ #: editor.php:603
675
  msgid "Original"
676
  msgstr ""
677
 
687
  msgid "Invalid image content"
688
  msgstr ""
689
 
690
+ #: import/importer.php:139
691
+ msgid "Failed to import category %s"
692
+ msgstr ""
693
+
694
+ #: import/importer.php:181
695
+ msgid "Failed to import post tag %s"
696
+ msgstr ""
697
+
698
+ #: import/importer.php:233
699
+ msgid "Failed to import %s %s"
700
+ msgstr ""
701
+
702
+ #: import/importer.php:323
703
+ msgid "Failed to import &#8220;%s&#8221;: Invalid post type %s"
704
+ msgstr ""
705
+
706
+ #: import/importer.php:420
707
+ msgid "Failed to import %s \"%s\". Error: %s"
708
+ msgstr ""
709
+
710
+ #: import/importer.php:456
711
+ msgid "Failed to import %s %s. Error: %s"
712
+ msgstr ""
713
+
714
+ #: import/importer.php:598
715
+ msgid "Menu item skipped due to missing menu slug."
716
+ msgstr ""
717
+
718
+ #: import/importer.php:604
719
+ msgid "Menu item skipped due to invalid menu slug: %s"
720
+ msgstr ""
721
+
722
+ #: import/importer.php:675
723
+ msgid "Invalid file type"
724
+ msgstr ""
725
+
726
+ #: import/importer.php:716
727
+ msgid "The uploaded file could not be moved"
728
+ msgstr ""
729
+
730
+ #: import/main.php:32
731
+ #: import/main.php:33
732
+ msgid "Starter Templates"
733
+ msgstr ""
734
+
735
+ #: import/main.php:45
736
+ #: public/editor-build/236-wp/texts.php:72
737
+ msgid "All"
738
+ msgstr ""
739
+
740
+ #: import/main.php:46
741
+ msgid "Live Preview"
742
+ msgstr ""
743
+
744
+ #: import/main.php:47
745
+ msgid "Install"
746
+ msgstr ""
747
+
748
+ #: import/main.php:48
749
+ #: public/editor-build/236-wp/texts.php:384
750
+ msgid "Free"
751
+ msgstr ""
752
+
753
+ #: import/main.php:49
754
+ msgid "Pro"
755
+ msgstr ""
756
+
757
+ #: import/main.php:50
758
+ #: public/editor-build/236-wp/texts.php:757
759
+ msgid "Search"
760
+ msgstr ""
761
+
762
+ #: import/main.php:51
763
+ #: public/editor-build/236-wp/texts.php:73
764
+ msgid "All Categories"
765
+ msgstr ""
766
+
767
+ #: import/main.php:53
768
+ #: public/editor-build/236-wp/texts.php:820
769
+ msgid "Something went wrong"
770
+ msgstr ""
771
+
772
+ #: import/main.php:54
773
+ msgid "Bad news, your starter template was not installed. Something went wrong and we couldn’t do it. Please contact us."
774
+ msgstr ""
775
+
776
+ #: import/main.php:55
777
+ msgid "Ok"
778
+ msgstr ""
779
+
780
+ #: import/main.php:56
781
+ msgid "Template Successfully Installed"
782
+ msgstr ""
783
+
784
+ #: import/main.php:57
785
+ msgid "Good news, your starter template was successfully installed. Time to build your amaizing website fast & easy!"
786
+ msgstr ""
787
+
788
+ #: import/main.php:58
789
+ msgid "Thank You!"
790
+ msgstr ""
791
+
792
+ #: import/main.php:59
793
+ msgid "Installing Starter Template"
794
+ msgstr ""
795
+
796
+ #: import/main.php:60
797
+ msgid "Please don’t close this window until the installation is finished. This might take up to a couple of minutes (five min, usually less)."
798
+ msgstr ""
799
+
800
+ #: import/main.php:61
801
+ msgid "Keep existing content"
802
+ msgstr ""
803
+
804
+ #: import/main.php:62
805
+ msgid "Choose this option if you want to keep your current content. If you are using %s, some of the global options might overlap."
806
+ msgstr ""
807
+
808
+ #: import/main.php:63
809
+ msgid "Install Template"
810
+ msgstr ""
811
+
812
+ #: import/main.php:64
813
+ msgid "Delete existing content"
814
+ msgstr ""
815
+
816
+ #: import/main.php:65
817
+ msgid "Choose this option if you want to start fresh and delete your current content. A backup is advisable, there is no turning back from this."
818
+ msgstr ""
819
+
820
+ #: import/main.php:66
821
+ msgid "Deletes your current content"
822
+ msgstr ""
823
+
824
+ #: import/main.php:88
825
+ msgid "Invalid demo id. Please contact our support."
826
+ msgstr ""
827
+
828
+ #: import/main.php:99
829
+ msgid "Template imported successfully."
830
+ msgstr ""
831
+
832
+ #: import/parser.php:51
833
+ msgid "Details are shown above. The importer will now try again with a different parser..."
834
+ msgstr ""
835
+
836
+ #: import/parsers/regex.php:95
837
+ #: import/parsers/simplexml.php:38
838
+ #: import/parsers/simplexml.php:43
839
+ #: import/parsers/xml.php:69
840
+ msgid "This does not appear to be a WXR file, missing/invalid WXR version number"
841
+ msgstr ""
842
+
843
+ #: import/parsers/simplexml.php:26
844
+ #: import/parsers/simplexml.php:34
845
+ msgid "There was an error when reading this WXR file"
846
+ msgstr ""
847
+
848
  #: maintenance-mode.php:110
849
  msgid "Maintenance Mode ON"
850
  msgstr ""
853
  msgid "Edit Page"
854
  msgstr ""
855
 
856
+ #: public/editor-build/236-wp/texts.php:6
857
  msgid " Display Conditions"
858
  msgstr ""
859
 
860
+ #: public/editor-build/236-wp/texts.php:7
861
  msgid "%s Selected"
862
  msgstr ""
863
 
864
+ #: public/editor-build/236-wp/texts.php:8
865
  msgid "+ 10:00 (Sydney, Melbourne)"
866
  msgstr ""
867
 
868
+ #: public/editor-build/236-wp/texts.php:9
869
  msgid "+ 11:00 (Ponape)"
870
  msgstr ""
871
 
872
+ #: public/editor-build/236-wp/texts.php:10
873
  msgid "+ 12:00 (Auckland)"
874
  msgstr ""
875
 
876
+ #: public/editor-build/236-wp/texts.php:11
877
  msgid "+ 1:00 (Berlin, Paris)"
878
  msgstr ""
879
 
880
+ #: public/editor-build/236-wp/texts.php:12
881
  msgid "+ 2:00 (Athens, Istanbul)"
882
  msgstr ""
883
 
884
+ #: public/editor-build/236-wp/texts.php:13
885
  msgid "+ 3:00 (Moscow, Baghdad)"
886
  msgstr ""
887
 
888
+ #: public/editor-build/236-wp/texts.php:14
889
  msgid "+ 4:00 (Dubai, Baku)"
890
  msgstr ""
891
 
892
+ #: public/editor-build/236-wp/texts.php:15
893
  msgid "+ 5:00 (Yekaterinburg)"
894
  msgstr ""
895
 
896
+ #: public/editor-build/236-wp/texts.php:16
897
  msgid "+ 6:00 (Nur-Sultan)"
898
  msgstr ""
899
 
900
+ #: public/editor-build/236-wp/texts.php:17
901
  msgid "+ 7:00 (Bangkok, Jakarta)"
902
  msgstr ""
903
 
904
+ #: public/editor-build/236-wp/texts.php:18
905
  msgid "+ 8:00 (Singapore, Beijing)"
906
  msgstr ""
907
 
908
+ #: public/editor-build/236-wp/texts.php:19
909
  msgid "+ 9:00 (Tokyo, Seoul)"
910
  msgstr ""
911
 
912
+ #: public/editor-build/236-wp/texts.php:20
913
  msgid "- 10:00 (Honolulu, Papeete)"
914
  msgstr ""
915
 
916
+ #: public/editor-build/236-wp/texts.php:21
917
  msgid "- 11:00 (Niue)"
918
  msgstr ""
919
 
920
+ #: public/editor-build/236-wp/texts.php:22
921
  msgid "- 1:00 (Cape Verde)"
922
  msgstr ""
923
 
924
+ #: public/editor-build/236-wp/texts.php:23
925
  msgid "- 2:00 (Noronha)"
926
  msgstr ""
927
 
928
+ #: public/editor-build/236-wp/texts.php:24
929
  msgid "- 3:00 (Brasilia, Santiago)"
930
  msgstr ""
931
 
932
+ #: public/editor-build/236-wp/texts.php:25
933
  msgid "- 4:00 (Halifax, Manaus)"
934
  msgstr ""
935
 
936
+ #: public/editor-build/236-wp/texts.php:26
937
  msgid "- 5:00 (New York, Miami)"
938
  msgstr ""
939
 
940
+ #: public/editor-build/236-wp/texts.php:27
941
  msgid "- 6:00 (Chicago, Dallas)"
942
  msgstr ""
943
 
944
+ #: public/editor-build/236-wp/texts.php:28
945
  msgid "- 7:00 (Denver, Phoenix)"
946
  msgstr ""
947
 
948
+ #: public/editor-build/236-wp/texts.php:29
949
  msgid "- 8:00 (Los Angeles)"
950
  msgstr ""
951
 
952
+ #: public/editor-build/236-wp/texts.php:30
953
  msgid "- 9:00 (Anchorage)"
954
  msgstr ""
955
 
956
+ #: public/editor-build/236-wp/texts.php:31
957
+ msgid "0 Selected"
958
+ msgstr ""
959
+
960
+ #: public/editor-build/236-wp/texts.php:32
961
+ msgid "0-10"
962
+ msgstr ""
963
+
964
+ #: public/editor-build/236-wp/texts.php:33
965
+ msgid "0-5"
966
+ msgstr ""
967
+
968
+ #: public/editor-build/236-wp/texts.php:34
969
  msgid "00:00 (London, Dublin)"
970
  msgstr ""
971
 
972
+ #: public/editor-build/236-wp/texts.php:35
973
+ msgid "3D Tilt"
974
+ msgstr ""
975
+
976
+ #: public/editor-build/236-wp/texts.php:36
977
  msgid "? (%s)"
978
  msgstr ""
979
 
980
+ #: public/editor-build/236-wp/texts.php:37
981
  msgid "ADD FONT VARIATION"
982
  msgstr ""
983
 
984
+ #: public/editor-build/236-wp/texts.php:38
985
  msgid "ADD GOOGLE FONT"
986
  msgstr ""
987
 
988
+ #: public/editor-build/236-wp/texts.php:39
989
  msgid "APPS"
990
  msgstr ""
991
 
992
+ #: public/editor-build/236-wp/texts.php:40
993
  msgid "About us"
994
  msgstr ""
995
 
996
+ #: public/editor-build/236-wp/texts.php:41
997
  msgid "Access your Library in any WP install by connecting your Account"
998
  msgstr ""
999
 
1000
+ #: public/editor-build/236-wp/texts.php:42
1001
  msgid "Accordion"
1002
  msgstr ""
1003
 
1004
+ #: public/editor-build/236-wp/texts.php:43
1005
  msgid "Accordion Items"
1006
  msgstr ""
1007
 
1008
+ #: public/editor-build/236-wp/texts.php:44
1009
  msgid "Accordion Tags"
1010
  msgstr ""
1011
 
1012
+ #: public/editor-build/236-wp/texts.php:45
1013
  msgid "Accounts are empty. Please connect a new account and try again."
1014
  msgstr ""
1015
 
1016
+ #: public/editor-build/236-wp/texts.php:46
1017
  msgid "Action"
1018
  msgstr ""
1019
 
1020
+ #: public/editor-build/236-wp/texts.php:47
1021
  msgid "Activate Tab"
1022
  msgstr ""
1023
 
1024
+ #: public/editor-build/236-wp/texts.php:48
1025
  msgid "Active"
1026
  msgstr ""
1027
 
1028
+ #: public/editor-build/236-wp/texts.php:49
1029
  msgid "Add Elements"
1030
  msgstr ""
1031
 
1032
+ #: public/editor-build/236-wp/texts.php:50
1033
  msgid "Add Font"
1034
  msgstr ""
1035
 
1036
+ #: public/editor-build/236-wp/texts.php:52
1037
  msgid "Add New Block / Layout"
1038
  msgstr ""
1039
 
1040
+ #: public/editor-build/236-wp/texts.php:53
1041
  msgid "Add New Column"
1042
  msgstr ""
1043
 
1044
+ #: public/editor-build/236-wp/texts.php:54
1045
  msgid "Add New Font"
1046
  msgstr ""
1047
 
1048
+ #: public/editor-build/236-wp/texts.php:55
1049
  msgid "Add Shopify Elements"
1050
  msgstr ""
1051
 
1052
+ #: public/editor-build/236-wp/texts.php:56
1053
  msgid "Add To Cart"
1054
  msgstr ""
1055
 
1056
+ #: public/editor-build/236-wp/texts.php:57
1057
  msgid "Add To Cart Input"
1058
  msgstr ""
1059
 
1060
+ #: public/editor-build/236-wp/texts.php:58
1061
  msgid "Add a new block"
1062
  msgstr ""
1063
 
1064
+ #: public/editor-build/236-wp/texts.php:59
1065
  msgid "Add new display condition"
1066
  msgstr ""
1067
 
1068
+ #: public/editor-build/236-wp/texts.php:60
1069
  msgid "Add new font variation"
1070
  msgstr ""
1071
 
1072
+ #: public/editor-build/236-wp/texts.php:61
1073
  msgid "Add new option"
1074
  msgstr ""
1075
 
1076
+ #: public/editor-build/236-wp/texts.php:62
1077
  msgid "Add new trigger condition"
1078
  msgstr ""
1079
 
1080
+ #: public/editor-build/236-wp/texts.php:63
1081
  msgid "Add to Cart"
1082
  msgstr ""
1083
 
1084
+ #: public/editor-build/236-wp/texts.php:64
1085
  msgid "Add to cart"
1086
  msgstr ""
1087
 
1088
+ #: public/editor-build/236-wp/texts.php:65
1089
  msgid "Additionals"
1090
  msgstr ""
1091
 
1092
+ #: public/editor-build/236-wp/texts.php:66
1093
  msgid "Address"
1094
  msgstr ""
1095
 
1096
+ #: public/editor-build/236-wp/texts.php:67
1097
  msgid "Advanced"
1098
  msgstr ""
1099
 
1100
+ #: public/editor-build/236-wp/texts.php:68
1101
+ msgid "Agreement"
1102
+ msgstr ""
1103
+
1104
+ #: public/editor-build/236-wp/texts.php:69
1105
  msgid "Align"
1106
  msgstr ""
1107
 
1108
+ #: public/editor-build/236-wp/texts.php:70
1109
  msgid "Aligned Left"
1110
  msgstr ""
1111
 
1112
+ #: public/editor-build/236-wp/texts.php:71
1113
  msgid "Aligned Right"
1114
  msgstr ""
1115
 
1116
+ #: public/editor-build/236-wp/texts.php:74
 
 
 
 
 
 
 
 
1117
  msgid "All fields cannot be empty"
1118
  msgstr ""
1119
 
1120
+ #: public/editor-build/236-wp/texts.php:75
1121
  msgid "All fields marked with an asterisk ( * ) must be completed."
1122
  msgstr ""
1123
 
1124
+ #: public/editor-build/236-wp/texts.php:76
1125
  msgid "All fields marked with an asterisk ( * ) must be mapped."
1126
  msgstr ""
1127
 
1128
+ #: public/editor-build/236-wp/texts.php:77
1129
  msgid "Allowed File Types"
1130
  msgstr ""
1131
 
1132
+ #: public/editor-build/236-wp/texts.php:78
1133
  msgid "Alt Title"
1134
  msgstr ""
1135
 
1136
+ #: public/editor-build/236-wp/texts.php:79
1137
  msgid "An error happened while trying to display this element"
1138
  msgstr ""
1139
 
1140
+ #: public/editor-build/236-wp/texts.php:80
1141
  msgid "Animated"
1142
  msgstr ""
1143
 
1144
+ #: public/editor-build/236-wp/texts.php:81
1145
+ msgid "Apply on"
1146
+ msgstr ""
1147
+
1148
+ #: public/editor-build/236-wp/texts.php:82
1149
+ msgid "Apply type"
1150
+ msgstr ""
1151
+
1152
+ #: public/editor-build/236-wp/texts.php:84
1153
  msgid "Archives"
1154
  msgstr ""
1155
 
1156
+ #: public/editor-build/236-wp/texts.php:85
1157
  msgid "Are you want to delete account"
1158
  msgstr ""
1159
 
1160
+ #: public/editor-build/236-wp/texts.php:86
1161
  msgid "Arrangement"
1162
  msgstr ""
1163
 
1164
+ #: public/editor-build/236-wp/texts.php:87
1165
  msgid "Arrows"
1166
  msgstr ""
1167
 
1168
+ #: public/editor-build/236-wp/texts.php:88
1169
  msgid "Arrows Spacing"
1170
  msgstr ""
1171
 
1172
+ #: public/editor-build/236-wp/texts.php:89
1173
  msgid "Article"
1174
  msgstr ""
1175
 
1176
+ #: public/editor-build/236-wp/texts.php:90
1177
+ msgid "Artwork"
1178
+ msgstr ""
1179
+
1180
+ #: public/editor-build/236-wp/texts.php:91
1181
  msgid "Asc"
1182
  msgstr ""
1183
 
1184
+ #: public/editor-build/236-wp/texts.php:92
1185
  msgid "Aside"
1186
  msgstr ""
1187
 
1188
+ #: public/editor-build/236-wp/texts.php:93
1189
+ msgid "Attention"
1190
+ msgstr ""
1191
+
1192
+ #: public/editor-build/236-wp/texts.php:94
1193
  msgid "Attributes"
1194
  msgstr ""
1195
 
1196
+ #: public/editor-build/236-wp/texts.php:95
1197
  msgid "Audio"
1198
  msgstr ""
1199
 
1200
+ #: public/editor-build/236-wp/texts.php:96
1201
  msgid "Authentication"
1202
  msgstr ""
1203
 
1204
+ #: public/editor-build/236-wp/texts.php:97
1205
  msgid "Author"
1206
  msgstr ""
1207
 
1208
+ #: public/editor-build/236-wp/texts.php:98
1209
  msgid "Auto"
1210
  msgstr ""
1211
 
1212
+ #: public/editor-build/236-wp/texts.php:99
1213
  msgid "Auto Play"
1214
  msgstr ""
1215
 
1216
+ #: public/editor-build/236-wp/texts.php:100
1217
  msgid "Auto play"
1218
  msgstr ""
1219
 
1220
+ #: public/editor-build/236-wp/texts.php:101
1221
  msgid "Auto-Draft"
1222
  msgstr ""
1223
 
1224
+ #: public/editor-build/236-wp/texts.php:102
1225
  msgid "AutoPlay"
1226
  msgstr ""
1227
 
1228
+ #: public/editor-build/236-wp/texts.php:103
1229
  msgid "Automotive"
1230
  msgstr ""
1231
 
1232
+ #: public/editor-build/236-wp/texts.php:104
1233
  msgid "Autoplay"
1234
  msgstr ""
1235
 
1236
+ #: public/editor-build/236-wp/texts.php:105
1237
  msgid "Avatar"
1238
  msgstr ""
1239
 
1240
+ #: public/editor-build/236-wp/texts.php:106
1241
  msgid "Back"
1242
  msgstr ""
1243
 
1244
+ #: public/editor-build/236-wp/texts.php:107
1245
  msgid "Back to Layouts"
1246
  msgstr ""
1247
 
1248
+ #: public/editor-build/236-wp/texts.php:108
1249
  msgid "Back to Login"
1250
  msgstr ""
1251
 
1252
+ #: public/editor-build/236-wp/texts.php:109
1253
  msgid "Back to Stories"
1254
  msgstr ""
1255
 
1256
+ #: public/editor-build/236-wp/texts.php:110
1257
  msgid "Background"
1258
  msgstr ""
1259
 
1260
+ #: public/editor-build/236-wp/texts.php:111
1261
  msgid "Bar"
1262
  msgstr ""
1263
 
1264
+ #: public/editor-build/236-wp/texts.php:112
1265
+ msgid "Basic"
1266
+ msgstr ""
1267
+
1268
+ #: public/editor-build/236-wp/texts.php:113
1269
  msgid "Bcc"
1270
  msgstr ""
1271
 
1272
+ #: public/editor-build/236-wp/texts.php:114
1273
  msgid "Between"
1274
  msgstr ""
1275
 
1276
+ #: public/editor-build/236-wp/texts.php:115
1277
  msgid "Bg"
1278
  msgstr ""
1279
 
1280
+ #: public/editor-build/236-wp/texts.php:116
1281
  msgid "Bg Size"
1282
  msgstr ""
1283
 
1284
+ #: public/editor-build/236-wp/texts.php:117
1285
  msgid "Bg Star"
1286
  msgstr ""
1287
 
1288
+ #: public/editor-build/236-wp/texts.php:118
1289
+ msgid "Big"
1290
+ msgstr ""
1291
+
1292
+ #: public/editor-build/236-wp/texts.php:119
1293
  msgid "Black"
1294
  msgstr ""
1295
 
1296
+ #: public/editor-build/236-wp/texts.php:120
1297
  msgid "Blank"
1298
  msgstr ""
1299
 
1300
+ #: public/editor-build/236-wp/texts.php:121
1301
+ msgid "Blending Mode"
1302
+ msgstr ""
1303
+
1304
+ #: public/editor-build/236-wp/texts.php:122
1305
  msgid "Block"
1306
  msgstr ""
1307
 
1308
+ #: public/editor-build/236-wp/texts.php:123
1309
  msgid "Block Name"
1310
  msgstr ""
1311
 
1312
+ #: public/editor-build/236-wp/texts.php:124
1313
  msgid "Block conditions are available only in PRO"
1314
  msgstr ""
1315
 
1316
+ #: public/editor-build/236-wp/texts.php:125
1317
  msgid "Block is synchronized"
1318
  msgstr ""
1319
 
1320
+ #: public/editor-build/236-wp/texts.php:126
1321
  msgid "Block will be synchronized"
1322
  msgstr ""
1323
 
1324
+ #: public/editor-build/236-wp/texts.php:127
1325
  msgid "Blocks"
1326
  msgstr ""
1327
 
1328
+ #: public/editor-build/236-wp/texts.php:129
1329
+ msgid "Blog Title"
1330
+ msgstr ""
1331
+
1332
+ #: public/editor-build/236-wp/texts.php:130
1333
+ msgid "Blur"
1334
+ msgstr ""
1335
+
1336
+ #: public/editor-build/236-wp/texts.php:131
1337
  msgid "Bold"
1338
  msgstr ""
1339
 
1340
+ #: public/editor-build/236-wp/texts.php:132
1341
  msgid "Border"
1342
  msgstr ""
1343
 
1344
+ #: public/editor-build/236-wp/texts.php:133
1345
  msgid "Bottom"
1346
  msgstr ""
1347
 
1348
+ #: public/editor-build/236-wp/texts.php:134
1349
  msgid "Bounce"
1350
  msgstr ""
1351
 
1352
+ #: public/editor-build/236-wp/texts.php:135
1353
  msgid "BounceIn"
1354
  msgstr ""
1355
 
1356
+ #: public/editor-build/236-wp/texts.php:136
1357
  msgid "BounceInDown"
1358
  msgstr ""
1359
 
1360
+ #: public/editor-build/236-wp/texts.php:137
1361
  msgid "BounceInLeft"
1362
  msgstr ""
1363
 
1364
+ #: public/editor-build/236-wp/texts.php:138
1365
  msgid "BounceInRight"
1366
  msgstr ""
1367
 
1368
+ #: public/editor-build/236-wp/texts.php:139
1369
  msgid "BounceInUp"
1370
  msgstr ""
1371
 
1372
+ #: public/editor-build/236-wp/texts.php:140
1373
  msgid "Boxed"
1374
  msgstr ""
1375
 
1376
+ #: public/editor-build/236-wp/texts.php:141
1377
  msgid "Branding"
1378
  msgstr ""
1379
 
1380
+ #: public/editor-build/236-wp/texts.php:142
1381
  msgid "Breadcrumbs"
1382
  msgstr ""
1383
 
1384
+ #: public/editor-build/236-wp/texts.php:143
1385
  msgid "Btn Bg"
1386
  msgstr ""
1387
 
1388
+ #: public/editor-build/236-wp/texts.php:144
1389
  msgid "Btn Color"
1390
  msgstr ""
1391
 
1392
+ #: public/editor-build/236-wp/texts.php:145
1393
  msgid "Bub."
1394
  msgstr ""
1395
 
1396
+ #: public/editor-build/236-wp/texts.php:146
1397
  msgid "Bub. Bg"
1398
  msgstr ""
1399
 
1400
+ #: public/editor-build/236-wp/texts.php:147
1401
  msgid "Bubble"
1402
  msgstr ""
1403
 
1404
+ #: public/editor-build/236-wp/texts.php:148
1405
  msgid "Business"
1406
  msgstr ""
1407
 
1408
+ #: public/editor-build/236-wp/texts.php:149
1409
  msgid "Business Hour"
1410
  msgstr ""
1411
 
1412
+ #: public/editor-build/236-wp/texts.php:150
1413
  msgid "Button"
1414
  msgstr ""
1415
 
1416
+ #: public/editor-build/236-wp/texts.php:151
1417
  msgid "Button Size"
1418
  msgstr ""
1419
 
1420
+ #: public/editor-build/236-wp/texts.php:152
1421
  msgid "Buttons"
1422
  msgstr ""
1423
 
1424
+ #: public/editor-build/236-wp/texts.php:153
1425
+ msgid "Buy Button"
1426
+ msgstr ""
1427
+
1428
+ #: public/editor-build/236-wp/texts.php:154
1429
  msgid "CMS"
1430
  msgstr ""
1431
 
1432
+ #: public/editor-build/236-wp/texts.php:155
1433
  msgid "CREATE LIST"
1434
  msgstr ""
1435
 
1436
+ #: public/editor-build/236-wp/texts.php:156
1437
  msgid "CSS Class"
1438
  msgstr ""
1439
 
1440
+ #: public/editor-build/236-wp/texts.php:157
1441
  msgid "CSS ID"
1442
  msgstr ""
1443
 
1444
+ #: public/editor-build/236-wp/texts.php:158
1445
  msgid "CTA"
1446
  msgstr ""
1447
 
1448
+ #: public/editor-build/236-wp/texts.php:159
1449
  msgid "Cancel"
1450
  msgstr ""
1451
 
1452
+ #: public/editor-build/236-wp/texts.php:160
1453
  msgid "Capitalize"
1454
  msgstr ""
1455
 
1456
+ #: public/editor-build/236-wp/texts.php:161
1457
  msgid "Captions"
1458
  msgstr ""
1459
 
1460
+ #: public/editor-build/236-wp/texts.php:162
1461
  msgid "Carousel"
1462
  msgstr ""
1463
 
1464
+ #: public/editor-build/236-wp/texts.php:163
1465
  msgid "Cart"
1466
  msgstr ""
1467
 
1468
+ #: public/editor-build/236-wp/texts.php:164
1469
  msgid "Cart Items"
1470
  msgstr ""
1471
 
1472
+ #: public/editor-build/236-wp/texts.php:165
1473
  msgid "Cart Settings"
1474
  msgstr ""
1475
 
1476
+ #: public/editor-build/236-wp/texts.php:166
1477
  msgid "Categories"
1478
  msgstr ""
1479
 
1480
+ #: public/editor-build/236-wp/texts.php:167
1481
  msgid "Categories Count"
1482
  msgstr ""
1483
 
1484
+ #: public/editor-build/236-wp/texts.php:168
1485
  msgid "Categories Pagination"
1486
  msgstr ""
1487
 
1488
+ #: public/editor-build/236-wp/texts.php:169
1489
  msgid "Categories Tags"
1490
  msgstr ""
1491
 
1492
+ #: public/editor-build/236-wp/texts.php:170
1493
  msgid "Category"
1494
  msgstr ""
1495
 
1496
+ #: public/editor-build/236-wp/texts.php:171
1497
  msgid "Cc"
1498
  msgstr ""
1499
 
1500
+ #: public/editor-build/236-wp/texts.php:172
1501
+ msgid "Center"
1502
+ msgstr ""
1503
+
1504
+ #: public/editor-build/236-wp/texts.php:173
1505
  msgid "Check your email address"
1506
  msgstr ""
1507
 
1508
+ #: public/editor-build/236-wp/texts.php:174
1509
  msgid "Checkbox"
1510
  msgstr ""
1511
 
1512
+ #: public/editor-build/236-wp/texts.php:175
1513
  msgid "Checkout"
1514
  msgstr ""
1515
 
1516
+ #: public/editor-build/236-wp/texts.php:176
1517
  msgid "Children"
1518
  msgstr ""
1519
 
1520
+ #: public/editor-build/236-wp/texts.php:177
1521
  msgid "Circle"
1522
  msgstr ""
1523
 
1524
+ #: public/editor-build/236-wp/texts.php:178
1525
  msgid "Classic"
1526
  msgstr ""
1527
 
1528
+ #: public/editor-build/236-wp/texts.php:179
1529
  msgid "Clear"
1530
  msgstr ""
1531
 
1532
+ #: public/editor-build/236-wp/texts.php:180
1533
  msgid "Clear Layout"
1534
  msgstr ""
1535
 
1536
+ #: public/editor-build/236-wp/texts.php:181
1537
  msgid "Click Outside to Close"
1538
  msgstr ""
1539
 
1540
+ #: public/editor-build/236-wp/texts.php:182
1541
  msgid "Close"
1542
  msgstr ""
1543
 
1544
+ #: public/editor-build/236-wp/texts.php:183
1545
  msgid "Close Popup"
1546
  msgstr ""
1547
 
1548
+ #: public/editor-build/236-wp/texts.php:184
1549
  msgid "Cloud"
1550
  msgstr ""
1551
 
1552
+ #: public/editor-build/236-wp/texts.php:185
1553
+ msgid "Collaborate"
1554
+ msgstr ""
1555
+
1556
+ #: public/editor-build/236-wp/texts.php:186
1557
  msgid "Collapsible"
1558
  msgstr ""
1559
 
1560
+ #: public/editor-build/236-wp/texts.php:187
1561
+ msgid "Collection Title"
1562
+ msgstr ""
1563
+
1564
+ #: public/editor-build/236-wp/texts.php:188
1565
  msgid "Color"
1566
  msgstr ""
1567
 
1568
+ #: public/editor-build/236-wp/texts.php:189
1569
+ msgid "Color Burn"
1570
+ msgstr ""
1571
+
1572
+ #: public/editor-build/236-wp/texts.php:190
1573
+ msgid "Color Dodge"
1574
+ msgstr ""
1575
+
1576
+ #: public/editor-build/236-wp/texts.php:191
1577
+ msgid "ColorBurn"
1578
+ msgstr ""
1579
+
1580
+ #: public/editor-build/236-wp/texts.php:192
1581
+ msgid "ColorDodge"
1582
+ msgstr ""
1583
+
1584
+ #: public/editor-build/236-wp/texts.php:193
1585
  msgid "Colors"
1586
  msgstr ""
1587
 
1588
+ #: public/editor-build/236-wp/texts.php:194
1589
  msgid "Column"
1590
  msgstr ""
1591
 
1592
+ #: public/editor-build/236-wp/texts.php:195
1593
  msgid "Columns"
1594
  msgstr ""
1595
 
1596
+ #: public/editor-build/236-wp/texts.php:196
1597
  msgid "Comment"
1598
  msgstr ""
1599
 
1600
+ #: public/editor-build/236-wp/texts.php:197
1601
  msgid "Comment Count"
1602
  msgstr ""
1603
 
1604
+ #: public/editor-build/236-wp/texts.php:198
1605
  msgid "Comments"
1606
  msgstr ""
1607
 
1608
+ #: public/editor-build/236-wp/texts.php:199
1609
  msgid "Conditions"
1610
  msgstr ""
1611
 
1612
+ #: public/editor-build/236-wp/texts.php:200
1613
  msgid "Connect"
1614
  msgstr ""
1615
 
1616
+ #: public/editor-build/236-wp/texts.php:201
1617
  msgid "Connect a new account"
1618
  msgstr ""
1619
 
1620
+ #: public/editor-build/236-wp/texts.php:202
1621
  msgid "Contact"
1622
  msgstr ""
1623
 
1624
+ #: public/editor-build/236-wp/texts.php:203
1625
+ msgid "Contain"
1626
+ msgstr ""
1627
+
1628
+ #: public/editor-build/236-wp/texts.php:204
1629
  msgid "Content"
1630
  msgstr ""
1631
 
1632
+ #: public/editor-build/236-wp/texts.php:205
1633
  msgid "Content Gap"
1634
  msgstr ""
1635
 
1636
+ #: public/editor-build/236-wp/texts.php:206
1637
+ msgid "Content Padding"
1638
+ msgstr ""
1639
+
1640
+ #: public/editor-build/236-wp/texts.php:207
1641
  msgid "Context"
1642
  msgstr ""
1643
 
1644
+ #: public/editor-build/236-wp/texts.php:208
1645
  msgid "Context Type"
1646
  msgstr ""
1647
 
1648
+ #: public/editor-build/236-wp/texts.php:209
1649
  msgid "Continue"
1650
  msgstr ""
1651
 
1652
+ #: public/editor-build/236-wp/texts.php:210
1653
  msgid "Controls"
1654
  msgstr ""
1655
 
1656
+ #: public/editor-build/236-wp/texts.php:211
1657
  msgid "Copy"
1658
  msgstr ""
1659
 
1660
+ #: public/editor-build/236-wp/texts.php:212
1661
  msgid "Corner"
1662
  msgstr ""
1663
 
1664
+ #: public/editor-build/236-wp/texts.php:213
1665
  msgid "Could not Create Global Block"
1666
  msgstr ""
1667
 
1668
+ #: public/editor-build/236-wp/texts.php:214
1669
  msgid "Could not Create Global Popup"
1670
  msgstr ""
1671
 
1672
+ #: public/editor-build/236-wp/texts.php:215
1673
  msgid "Could not Create Saved Block"
1674
  msgstr ""
1675
 
1676
+ #: public/editor-build/236-wp/texts.php:216
1677
  msgid "Could not Create Saved Popup"
1678
  msgstr ""
1679
 
1680
+ #: public/editor-build/236-wp/texts.php:217
1681
  msgid "Could not download Saved Layout"
1682
  msgstr ""
1683
 
1684
+ #: public/editor-build/236-wp/texts.php:218
1685
  msgid "Could not download Saved Popup"
1686
  msgstr ""
1687
 
1688
+ #: public/editor-build/236-wp/texts.php:219
1689
  msgid "Could not download Saved block"
1690
  msgstr ""
1691
 
1692
+ #: public/editor-build/236-wp/texts.php:220
1693
  msgid "Could not find"
1694
  msgstr ""
1695
 
1696
+ #: public/editor-build/236-wp/texts.php:221
1697
  msgid "Could not publish or save page"
1698
  msgstr ""
1699
 
1700
+ #: public/editor-build/236-wp/texts.php:222
1701
  msgid "Could not save layout"
1702
  msgstr ""
1703
 
1704
+ #: public/editor-build/236-wp/texts.php:223
1705
  msgid "Could not switch to draft"
1706
  msgstr ""
1707
 
1708
+ #: public/editor-build/236-wp/texts.php:224
1709
  msgid "Count"
1710
  msgstr ""
1711
 
1712
+ #: public/editor-build/236-wp/texts.php:225
1713
  msgid "Countdown"
1714
  msgstr ""
1715
 
1716
+ #: public/editor-build/236-wp/texts.php:226
1717
  msgid "Counter"
1718
  msgstr ""
1719
 
1720
+ #: public/editor-build/236-wp/texts.php:227
1721
+ msgid "Country Code"
1722
+ msgstr ""
1723
+
1724
+ #: public/editor-build/236-wp/texts.php:228
1725
  msgid "Cover"
1726
  msgstr ""
1727
 
1728
+ #: public/editor-build/236-wp/texts.php:229
1729
  msgid "Create"
1730
  msgstr ""
1731
 
1732
+ #: public/editor-build/236-wp/texts.php:230
1733
  msgid "Create Account & Connect"
1734
  msgstr ""
1735
 
1736
+ #: public/editor-build/236-wp/texts.php:231
1737
  msgid "Create a menu"
1738
  msgstr ""
1739
 
1740
+ #: public/editor-build/236-wp/texts.php:232
1741
  msgid "Create a new list"
1742
  msgstr ""
1743
 
1744
+ #: public/editor-build/236-wp/texts.php:233
1745
  msgid "Create your own"
1746
  msgstr ""
1747
 
1748
+ #: public/editor-build/236-wp/texts.php:234
1749
  msgid "Current Page"
1750
  msgstr ""
1751
 
1752
+ #: public/editor-build/236-wp/texts.php:235
1753
+ msgid "Current Query"
1754
+ msgstr ""
1755
+
1756
+ #: public/editor-build/236-wp/texts.php:237
1757
  msgid "Custom Attributes"
1758
  msgstr ""
1759
 
1760
+ #: public/editor-build/236-wp/texts.php:238
1761
  msgid "Custom Attributes asd"
1762
  msgstr ""
1763
 
1764
+ #: public/editor-build/236-wp/texts.php:239
1765
  msgid "Custom CSS"
1766
  msgstr ""
1767
 
1768
+ #: public/editor-build/236-wp/texts.php:240
1769
  msgid "Custom Page"
1770
  msgstr ""
1771
 
1772
+ #: public/editor-build/236-wp/texts.php:241
1773
  msgid "Custom Text"
1774
  msgstr ""
1775
 
1776
+ #: public/editor-build/236-wp/texts.php:242
1777
  msgid "Custom Video"
1778
  msgstr ""
1779
 
1780
+ #: public/editor-build/236-wp/texts.php:243
1781
  msgid "DELETE"
1782
  msgstr ""
1783
 
1784
+ #: public/editor-build/236-wp/texts.php:244
1785
+ msgid "Dark"
1786
+ msgstr ""
1787
+
1788
+ #: public/editor-build/236-wp/texts.php:245
1789
+ msgid "Darken"
1790
  msgstr ""
1791
 
1792
+ #: public/editor-build/236-wp/texts.php:246
1793
+ msgid "Data Source"
1794
  msgstr ""
1795
 
1796
+ #: public/editor-build/236-wp/texts.php:248
1797
  msgid "Days"
1798
  msgstr ""
1799
 
1800
+ #: public/editor-build/236-wp/texts.php:249
1801
  msgid "Default Roles"
1802
  msgstr ""
1803
 
1804
+ #: public/editor-build/236-wp/texts.php:250
1805
+ msgid "Default font (can’t be deleted)"
1806
+ msgstr ""
1807
+
1808
+ #: public/editor-build/236-wp/texts.php:251
1809
  msgid "Delay"
1810
  msgstr ""
1811
 
1812
+ #: public/editor-build/236-wp/texts.php:252
1813
  msgid "Delete"
1814
  msgstr ""
1815
 
1816
+ #: public/editor-build/236-wp/texts.php:253
1817
  msgid "Desc"
1818
  msgstr ""
1819
 
1820
+ #: public/editor-build/236-wp/texts.php:254
1821
  msgid "Description"
1822
  msgstr ""
1823
 
1824
+ #: public/editor-build/236-wp/texts.php:255
1825
  msgid "Deselected the “Verify the origin of reCAPTCHA solutions” checkbox within your Google account."
1826
  msgstr ""
1827
 
1828
+ #: public/editor-build/236-wp/texts.php:256
1829
  msgid "Desktop"
1830
  msgstr ""
1831
 
1832
+ #: public/editor-build/236-wp/texts.php:257
1833
  msgid "Diamond"
1834
  msgstr ""
1835
 
1836
+ #: public/editor-build/236-wp/texts.php:258
1837
+ msgid "Difference"
1838
+ msgstr ""
1839
+
1840
+ #: public/editor-build/236-wp/texts.php:259
1841
+ msgid "Direct"
1842
+ msgstr ""
1843
+
1844
+ #: public/editor-build/236-wp/texts.php:260
1845
+ msgid "Direction"
1846
+ msgstr ""
1847
+
1848
+ #: public/editor-build/236-wp/texts.php:261
1849
  msgid "Disable on Mobile"
1850
  msgstr ""
1851
 
1852
+ #: public/editor-build/236-wp/texts.php:262
1853
  msgid "Disable on Tablet"
1854
  msgstr ""
1855
 
1856
+ #: public/editor-build/236-wp/texts.php:263
1857
  msgid "Disconnect"
1858
  msgstr ""
1859
 
1860
+ #: public/editor-build/236-wp/texts.php:264
1861
+ msgid "Display"
1862
+ msgstr ""
1863
+
1864
+ #: public/editor-build/236-wp/texts.php:265
1865
  msgid "Display Close Button"
1866
  msgstr ""
1867
 
1868
+ #: public/editor-build/236-wp/texts.php:266
1869
  msgid "Disqus"
1870
  msgstr ""
1871
 
1872
+ #: public/editor-build/236-wp/texts.php:267
1873
  msgid "Div"
1874
  msgstr ""
1875
 
1876
+ #: public/editor-build/236-wp/texts.php:268
1877
  msgid "Dividers"
1878
  msgstr ""
1879
 
1880
+ #: public/editor-build/236-wp/texts.php:269
1881
  msgid "Don't have items"
1882
  msgstr ""
1883
 
1884
+ #: public/editor-build/236-wp/texts.php:270
1885
  msgid "Don't have tags"
1886
  msgstr ""
1887
 
1888
+ #: public/editor-build/236-wp/texts.php:271
1889
  msgid "Done"
1890
  msgstr ""
1891
 
1892
+ #: public/editor-build/236-wp/texts.php:272
1893
  msgid "Done, your library was synced"
1894
  msgstr ""
1895
 
1896
+ #: public/editor-build/236-wp/texts.php:273
1897
  msgid "Dots"
1898
  msgstr ""
1899
 
1900
+ #: public/editor-build/236-wp/texts.php:274
1901
+ msgid "Down"
1902
+ msgstr ""
1903
+
1904
+ #: public/editor-build/236-wp/texts.php:275
1905
+ msgid "DownLeft"
1906
+ msgstr ""
1907
+
1908
+ #: public/editor-build/236-wp/texts.php:276
1909
+ msgid "DownRight"
1910
+ msgstr ""
1911
+
1912
+ #: public/editor-build/236-wp/texts.php:277
1913
+ msgid "DownUp"
1914
+ msgstr ""
1915
+
1916
+ #: public/editor-build/236-wp/texts.php:278
1917
+ msgid "Download Button"
1918
+ msgstr ""
1919
+
1920
+ #: public/editor-build/236-wp/texts.php:279
1921
  msgid "Download this block"
1922
  msgstr ""
1923
 
1924
+ #: public/editor-build/236-wp/texts.php:280
1925
  msgid "Draft"
1926
  msgstr ""
1927
 
1928
+ #: public/editor-build/236-wp/texts.php:281
1929
  msgid "Drag to reorder"
1930
  msgstr ""
1931
 
1932
+ #: public/editor-build/236-wp/texts.php:282
1933
  msgid "Drawer Position"
1934
  msgstr ""
1935
 
1936
+ #: public/editor-build/236-wp/texts.php:283
1937
  msgid "Duplicate"
1938
  msgstr ""
1939
 
1940
+ #: public/editor-build/236-wp/texts.php:284
1941
  msgid "Duplicate Account"
1942
  msgstr ""
1943
 
1944
+ #: public/editor-build/236-wp/texts.php:285
1945
  msgid "Duration"
1946
  msgstr ""
1947
 
1948
+ #: public/editor-build/236-wp/texts.php:286
1949
  msgid "Dutch"
1950
  msgstr ""
1951
 
1952
+ #: public/editor-build/236-wp/texts.php:287
1953
  msgid "Dynamic Content"
1954
  msgstr ""
1955
 
1956
+ #: public/editor-build/236-wp/texts.php:288
1957
  msgid "EOT File"
1958
  msgstr ""
1959
 
1960
+ #: public/editor-build/236-wp/texts.php:289
1961
+ msgid "Ecwid Cart"
1962
+ msgstr ""
1963
+
1964
+ #: public/editor-build/236-wp/texts.php:290
1965
+ msgid "Ecwid My Account"
1966
+ msgstr ""
1967
+
1968
+ #: public/editor-build/236-wp/texts.php:291
1969
  msgid "Edit"
1970
  msgstr ""
1971
 
1972
+ #: public/editor-build/236-wp/texts.php:292
1973
  msgid "Editable Text"
1974
  msgstr ""
1975
 
1976
+ #: public/editor-build/236-wp/texts.php:293
1977
  msgid "Education"
1978
  msgstr ""
1979
 
1980
+ #: public/editor-build/236-wp/texts.php:294
1981
+ msgid "Effects"
1982
+ msgstr ""
1983
+
1984
+ #: public/editor-build/236-wp/texts.php:295
1985
  msgid "Elements"
1986
  msgstr ""
1987
 
1988
+ #: public/editor-build/236-wp/texts.php:296
1989
  msgid "Email"
1990
  msgstr ""
1991
 
1992
+ #: public/editor-build/236-wp/texts.php:297
1993
  msgid "Email To"
1994
  msgstr ""
1995
 
1996
+ #: public/editor-build/236-wp/texts.php:298
1997
  msgid "Email confirmation to join the list"
1998
  msgstr ""
1999
 
2000
+ #: public/editor-build/236-wp/texts.php:299
2001
  msgid "Email to recover password cannot be empty"
2002
  msgstr ""
2003
 
2004
+ #: public/editor-build/236-wp/texts.php:300
2005
  msgid "Embed"
2006
  msgstr ""
2007
 
2008
+ #: public/editor-build/236-wp/texts.php:301
2009
  msgid "Enable Tags"
2010
  msgstr ""
2011
 
2012
+ #: public/editor-build/236-wp/texts.php:302
2013
  msgid "Enable on Mobile"
2014
  msgstr ""
2015
 
2016
+ #: public/editor-build/236-wp/texts.php:303
2017
  msgid "Enable on Tablet"
2018
  msgstr ""
2019
 
2020
+ #: public/editor-build/236-wp/texts.php:304
2021
  msgid "Enable tags"
2022
  msgstr ""
2023
 
2024
+ #: public/editor-build/236-wp/texts.php:305
2025
  msgid "Encryption"
2026
  msgstr ""
2027
 
2028
+ #: public/editor-build/236-wp/texts.php:306
2029
  msgid "End"
2030
  msgstr ""
2031
 
2032
+ #: public/editor-build/236-wp/texts.php:307
2033
  msgid "English"
2034
  msgstr ""
2035
 
2036
+ #: public/editor-build/236-wp/texts.php:308
2037
  msgid "Enter address"
2038
  msgstr ""
2039
 
2040
+ #: public/editor-build/236-wp/texts.php:309
2041
  msgid "Enter the allowed file types, separated by a comma (jpg, gif, pdf, etc)."
2042
  msgstr ""
2043
 
2044
+ #: public/editor-build/236-wp/texts.php:310
2045
+ msgid "Entrance"
2046
+ msgstr ""
2047
+
2048
+ #: public/editor-build/236-wp/texts.php:311
2049
  msgid "Entrance Animation"
2050
  msgstr ""
2051
 
2052
+ #: public/editor-build/236-wp/texts.php:312
2053
  msgid "Error"
2054
  msgstr ""
2055
 
2056
+ #: public/editor-build/236-wp/texts.php:313
2057
  msgid "Established a stable internet connection"
2058
  msgstr ""
2059
 
2060
+ #: public/editor-build/236-wp/texts.php:314
2061
  msgid "Events"
2062
  msgstr ""
2063
 
2064
+ #: public/editor-build/236-wp/texts.php:315
2065
+ msgid "Example [gallery id='123' size='medium']"
2066
+ msgstr ""
2067
+
2068
+ #: public/editor-build/236-wp/texts.php:316
2069
  msgid "Excerpt"
2070
  msgstr ""
2071
 
2072
+ #: public/editor-build/236-wp/texts.php:317
2073
  msgid "Exclude"
2074
  msgstr ""
2075
 
2076
+ #: public/editor-build/236-wp/texts.php:318
2077
  msgid "Exclude By"
2078
  msgstr ""
2079
 
2080
+ #: public/editor-build/236-wp/texts.php:319
2081
+ msgid "Exclusion"
2082
+ msgstr ""
2083
+
2084
+ #: public/editor-build/236-wp/texts.php:320
2085
  msgid "Export All Blocks"
2086
  msgstr ""
2087
 
2088
+ #: public/editor-build/236-wp/texts.php:321
2089
  msgid "Export All Layouts"
2090
  msgstr ""
2091
 
2092
+ #: public/editor-build/236-wp/texts.php:322
2093
  msgid "Export All Popups"
2094
  msgstr ""
2095
 
2096
+ #: public/editor-build/236-wp/texts.php:323
2097
  msgid "Extra Bold"
2098
  msgstr ""
2099
 
2100
+ #: public/editor-build/236-wp/texts.php:324
2101
  msgid "Extra Light"
2102
  msgstr ""
2103
 
2104
+ #: public/editor-build/236-wp/texts.php:325
2105
  msgid "FIELDS"
2106
  msgstr ""
2107
 
2108
+ #: public/editor-build/236-wp/texts.php:326
2109
  msgid "FONT VARIATION"
2110
  msgstr ""
2111
 
2112
+ #: public/editor-build/236-wp/texts.php:327
2113
  msgid "FORM FIELDS"
2114
  msgstr ""
2115
 
2116
+ #: public/editor-build/236-wp/texts.php:328
2117
  msgid "Facebook"
2118
  msgstr ""
2119
 
2120
+ #: public/editor-build/236-wp/texts.php:329
2121
  msgid "Facebook Button"
2122
  msgstr ""
2123
 
2124
+ #: public/editor-build/236-wp/texts.php:330
2125
  msgid "Facebook Embed"
2126
  msgstr ""
2127
 
2128
+ #: public/editor-build/236-wp/texts.php:331
2129
  msgid "Facebook Group"
2130
  msgstr ""
2131
 
2132
+ #: public/editor-build/236-wp/texts.php:332
2133
  msgid "Facebook Page"
2134
  msgstr ""
2135
 
2136
+ #: public/editor-build/236-wp/texts.php:333
2137
+ msgid "Fade"
2138
+ msgstr ""
2139
+
2140
+ #: public/editor-build/236-wp/texts.php:334
2141
  msgid "FadeIn"
2142
  msgstr ""
2143
 
2144
+ #: public/editor-build/236-wp/texts.php:335
2145
  msgid "FadeInDown"
2146
  msgstr ""
2147
 
2148
+ #: public/editor-build/236-wp/texts.php:336
2149
  msgid "FadeInDownBig"
2150
  msgstr ""
2151
 
2152
+ #: public/editor-build/236-wp/texts.php:337
2153
  msgid "FadeInLeft"
2154
  msgstr ""
2155
 
2156
+ #: public/editor-build/236-wp/texts.php:338
2157
  msgid "FadeInLeftBig"
2158
  msgstr ""
2159
 
2160
+ #: public/editor-build/236-wp/texts.php:339
2161
  msgid "FadeInRight"
2162
  msgstr ""
2163
 
2164
+ #: public/editor-build/236-wp/texts.php:340
2165
  msgid "FadeInRightBig"
2166
  msgstr ""
2167
 
2168
+ #: public/editor-build/236-wp/texts.php:341
2169
  msgid "FadeInUp"
2170
  msgstr ""
2171
 
2172
+ #: public/editor-build/236-wp/texts.php:342
2173
  msgid "FadeInUpBig"
2174
  msgstr ""
2175
 
2176
+ #: public/editor-build/236-wp/texts.php:343
2177
  msgid "Failed to fetch api data"
2178
  msgstr ""
2179
 
2180
+ #: public/editor-build/236-wp/texts.php:344
2181
  msgid "Failed to reset password"
2182
  msgstr ""
2183
 
2184
+ #: public/editor-build/236-wp/texts.php:345
2185
  msgid "Failed to update page"
2186
  msgstr ""
2187
 
2188
+ #: public/editor-build/236-wp/texts.php:346
2189
  msgid "Failed to upload file. Please upload a valid JPG, PNG, SVG or GIF image."
2190
  msgstr ""
2191
 
2192
+ #: public/editor-build/236-wp/texts.php:347
2193
  msgid "Featured Image"
2194
  msgstr ""
2195
 
2196
+ #: public/editor-build/236-wp/texts.php:348
2197
  msgid "Features"
2198
  msgstr ""
2199
 
2200
+ #: public/editor-build/236-wp/texts.php:349
2201
  msgid "Field"
2202
  msgstr ""
2203
 
2204
+ #: public/editor-build/236-wp/texts.php:350
2205
  msgid "Field Type"
2206
  msgstr ""
2207
 
2208
+ #: public/editor-build/236-wp/texts.php:351
2209
  msgid "Fields are empty"
2210
  msgstr ""
2211
 
2212
+ #: public/editor-build/236-wp/texts.php:352
2213
  msgid "Fields are empty. Please add fields and try again."
2214
  msgstr ""
2215
 
2216
+ #: public/editor-build/236-wp/texts.php:353
2217
  msgid "File"
2218
  msgstr ""
2219
 
2220
+ #: public/editor-build/236-wp/texts.php:354
2221
+ msgid "File too large."
2222
+ msgstr ""
2223
+
2224
+ #: public/editor-build/236-wp/texts.php:355
2225
+ msgid "File upload error"
2226
+ msgstr ""
2227
+
2228
+ #: public/editor-build/236-wp/texts.php:356
2229
  msgid "Fill"
2230
  msgstr ""
2231
 
2232
+ #: public/editor-build/236-wp/texts.php:357
2233
  msgid "Filter"
2234
  msgstr ""
2235
 
2236
+ #: public/editor-build/236-wp/texts.php:358
2237
  msgid "Filter By"
2238
  msgstr ""
2239
 
2240
+ #: public/editor-build/236-wp/texts.php:359
2241
+ msgid "Filter Item"
2242
+ msgstr ""
2243
+
2244
+ #: public/editor-build/236-wp/texts.php:360
2245
  msgid "Filters"
2246
  msgstr ""
2247
 
2248
+ #: public/editor-build/236-wp/texts.php:361
2249
  msgid "First Name"
2250
  msgstr ""
2251
 
2252
+ #: public/editor-build/236-wp/texts.php:362
2253
  msgid "Fixed"
2254
  msgstr ""
2255
 
2256
+ #: public/editor-build/236-wp/texts.php:363
2257
+ msgid "Flag"
2258
+ msgstr ""
2259
+
2260
+ #: public/editor-build/236-wp/texts.php:364
2261
+ msgid "Flags"
2262
+ msgstr ""
2263
+
2264
+ #: public/editor-build/236-wp/texts.php:365
2265
  msgid "Flash"
2266
  msgstr ""
2267
 
2268
+ #: public/editor-build/236-wp/texts.php:366
2269
  msgid "Flip"
2270
  msgstr ""
2271
 
2272
+ #: public/editor-build/236-wp/texts.php:367
2273
  msgid "FlipInX"
2274
  msgstr ""
2275
 
2276
+ #: public/editor-build/236-wp/texts.php:368
2277
  msgid "FlipInY"
2278
  msgstr ""
2279
 
2280
+ #: public/editor-build/236-wp/texts.php:369
2281
  msgid "Follow"
2282
  msgstr ""
2283
 
2284
+ #: public/editor-build/236-wp/texts.php:370
2285
  msgid "Followers"
2286
  msgstr ""
2287
 
2288
+ #: public/editor-build/236-wp/texts.php:371
2289
  msgid "Font Family"
2290
  msgstr ""
2291
 
2292
+ #: public/editor-build/236-wp/texts.php:372
2293
  msgid "Font Name is Required"
2294
  msgstr ""
2295
 
2296
+ #: public/editor-build/236-wp/texts.php:373
2297
  msgid "Font name"
2298
  msgstr ""
2299
 
2300
+ #: public/editor-build/236-wp/texts.php:374
2301
  msgid "Font weight"
2302
  msgstr ""
2303
 
2304
+ #: public/editor-build/236-wp/texts.php:375
2305
  msgid "Fonts"
2306
  msgstr ""
2307
 
2308
+ #: public/editor-build/236-wp/texts.php:376
2309
  msgid "Food"
2310
  msgstr ""
2311
 
2312
+ #: public/editor-build/236-wp/texts.php:377
2313
  msgid "Footer"
2314
  msgstr ""
2315
 
2316
+ #: public/editor-build/236-wp/texts.php:378
2317
+ msgid "Footer Color"
2318
+ msgstr ""
2319
+
2320
+ #: public/editor-build/236-wp/texts.php:379
2321
  msgid "Footers"
2322
  msgstr ""
2323
 
2324
+ #: public/editor-build/236-wp/texts.php:380
2325
  msgid "Form"
2326
  msgstr ""
2327
 
2328
+ #: public/editor-build/236-wp/texts.php:381
2329
  msgid "Form Fields"
2330
  msgstr ""
2331
 
2332
+ #: public/editor-build/236-wp/texts.php:382
 
 
 
 
 
 
 
 
2333
  msgid "Form Submit"
2334
  msgstr ""
2335
 
2336
+ #: public/editor-build/236-wp/texts.php:383
2337
  msgid "Forms"
2338
  msgstr ""
2339
 
2340
+ #: public/editor-build/236-wp/texts.php:385
 
 
 
 
2341
  msgid "French"
2342
  msgstr ""
2343
 
2344
+ #: public/editor-build/236-wp/texts.php:386
2345
  msgid "From Email"
2346
  msgstr ""
2347
 
2348
+ #: public/editor-build/236-wp/texts.php:387
2349
  msgid "From Name"
2350
  msgstr ""
2351
 
2352
+ #: public/editor-build/236-wp/texts.php:388
2353
  msgid "Full"
2354
  msgstr ""
2355
 
2356
+ #: public/editor-build/236-wp/texts.php:389
2357
  msgid "Full Height"
2358
  msgstr ""
2359
 
2360
+ #: public/editor-build/236-wp/texts.php:390
2361
+ msgid "Full Name"
2362
+ msgstr ""
2363
+
2364
+ #: public/editor-build/236-wp/texts.php:391
2365
  msgid "Full Screen"
2366
  msgstr ""
2367
 
2368
+ #: public/editor-build/236-wp/texts.php:392
2369
  msgid "Full name"
2370
  msgstr ""
2371
 
2372
+ #: public/editor-build/236-wp/texts.php:393
2373
  msgid "Future"
2374
  msgstr ""
2375
 
2376
+ #: public/editor-build/236-wp/texts.php:394
2377
  msgid "Gallery"
2378
  msgstr ""
2379
 
2380
+ #: public/editor-build/236-wp/texts.php:395
2381
  msgid "Gallery Tags"
2382
  msgstr ""
2383
 
2384
+ #: public/editor-build/236-wp/texts.php:396
2385
  msgid "Gaming"
2386
  msgstr ""
2387
 
2388
+ #: public/editor-build/236-wp/texts.php:397
2389
+ msgid "Gap"
2390
+ msgstr ""
2391
+
2392
+ #: public/editor-build/236-wp/texts.php:398
2393
  msgid "Gap Above"
2394
  msgstr ""
2395
 
2396
+ #: public/editor-build/236-wp/texts.php:399
2397
  msgid "Gap Below"
2398
  msgstr ""
2399
 
2400
+ #: public/editor-build/236-wp/texts.php:401
2401
  msgid "German"
2402
  msgstr ""
2403
 
2404
+ #: public/editor-build/236-wp/texts.php:402
2405
  msgid "Get a PRO plan"
2406
  msgstr ""
2407
 
2408
+ #: public/editor-build/236-wp/texts.php:403
2409
  msgid "Global Blocks"
2410
  msgstr ""
2411
 
2412
+ #: public/editor-build/236-wp/texts.php:404
2413
  msgid "Global Popups"
2414
  msgstr ""
2415
 
2416
+ #: public/editor-build/236-wp/texts.php:405
2417
  msgid "Go Back"
2418
  msgstr ""
2419
 
2420
+ #: public/editor-build/236-wp/texts.php:406
2421
  msgid "Go to"
2422
  msgstr ""
2423
 
2424
+ #: public/editor-build/236-wp/texts.php:407
2425
  msgid "Go to Dashboard"
2426
  msgstr ""
2427
 
2428
+ #: public/editor-build/236-wp/texts.php:408
2429
  msgid "Gradient"
2430
  msgstr ""
2431
 
2432
+ #: public/editor-build/236-wp/texts.php:409
2433
  msgid "Group"
2434
  msgstr ""
2435
 
2436
+ #: public/editor-build/236-wp/texts.php:410
2437
  msgid "H1"
2438
  msgstr ""
2439
 
2440
+ #: public/editor-build/236-wp/texts.php:411
2441
  msgid "H2"
2442
  msgstr ""
2443
 
2444
+ #: public/editor-build/236-wp/texts.php:412
2445
  msgid "H3"
2446
  msgstr ""
2447
 
2448
+ #: public/editor-build/236-wp/texts.php:413
2449
  msgid "H4"
2450
  msgstr ""
2451
 
2452
+ #: public/editor-build/236-wp/texts.php:414
2453
  msgid "H5"
2454
  msgstr ""
2455
 
2456
+ #: public/editor-build/236-wp/texts.php:415
2457
  msgid "H6"
2458
  msgstr ""
2459
 
2460
+ #: public/editor-build/236-wp/texts.php:416
2461
  msgid "HTML Tag"
2462
  msgstr ""
2463
 
2464
+ #: public/editor-build/236-wp/texts.php:417
2465
  msgid "Handle"
2466
  msgstr ""
2467
 
2468
+ #: public/editor-build/236-wp/texts.php:418
2469
  msgid "Head"
2470
  msgstr ""
2471
 
2472
+ #: public/editor-build/236-wp/texts.php:419
2473
  msgid "Header"
2474
  msgstr ""
2475
 
2476
+ #: public/editor-build/236-wp/texts.php:420
2477
  msgid "Health / Beauty"
2478
  msgstr ""
2479
 
2480
+ #: public/editor-build/236-wp/texts.php:421
2481
  msgid "Heavy"
2482
  msgstr ""
2483
 
2484
+ #: public/editor-build/236-wp/texts.php:422
2485
  msgid "Height"
2486
  msgstr ""
2487
 
2488
+ #: public/editor-build/236-wp/texts.php:423
2489
  msgid "Hero"
2490
  msgstr ""
2491
 
2492
+ #: public/editor-build/236-wp/texts.php:424
2493
  msgid "Hidden"
2494
  msgstr ""
2495
 
2496
+ #: public/editor-build/236-wp/texts.php:425
2497
  msgid "Hide"
2498
  msgstr ""
2499
 
2500
+ #: public/editor-build/236-wp/texts.php:426
2501
  msgid "Hide Cover Photo"
2502
  msgstr ""
2503
 
2504
+ #: public/editor-build/236-wp/texts.php:427
2505
  msgid "Hide Hidden Elements"
2506
  msgstr ""
2507
 
2508
+ #: public/editor-build/236-wp/texts.php:428
2509
+ msgid "Hierarchical"
2510
+ msgstr ""
2511
+
2512
+ #: public/editor-build/236-wp/texts.php:429
2513
+ msgid "Horizontal"
2514
+ msgstr ""
2515
+
2516
+ #: public/editor-build/236-wp/texts.php:430
2517
  msgid "Horizontal Align"
2518
  msgstr ""
2519
 
2520
+ #: public/editor-build/236-wp/texts.php:431
2521
  msgid "Horizontal Offset"
2522
  msgstr ""
2523
 
2524
+ #: public/editor-build/236-wp/texts.php:432
2525
  msgid "Host"
2526
  msgstr ""
2527
 
2528
+ #: public/editor-build/236-wp/texts.php:433
2529
  msgid "Hour"
2530
  msgstr ""
2531
 
2532
+ #: public/editor-build/236-wp/texts.php:434
2533
  msgid "Hours"
2534
  msgstr ""
2535
 
2536
+ #: public/editor-build/236-wp/texts.php:435
2537
  msgid "Hover"
2538
  msgstr ""
2539
 
2540
+ #: public/editor-build/236-wp/texts.php:436
2541
  msgid "Hover Transition"
2542
  msgstr ""
2543
 
2544
+ #: public/editor-build/236-wp/texts.php:437
2545
+ msgid "Hue"
2546
+ msgstr ""
2547
+
2548
+ #: public/editor-build/236-wp/texts.php:438
2549
  msgid "ID"
2550
  msgstr ""
2551
 
2552
+ #: public/editor-build/236-wp/texts.php:439
2553
  msgid "Icon"
2554
  msgstr ""
2555
 
2556
+ #: public/editor-build/236-wp/texts.php:440
2557
  msgid "Icon Box"
2558
  msgstr ""
2559
 
2560
+ #: public/editor-build/236-wp/texts.php:441
2561
+ msgid "Icon Styles"
2562
+ msgstr ""
2563
+
2564
+ #: public/editor-build/236-wp/texts.php:442
2565
  msgid "Icons"
2566
  msgstr ""
2567
 
2568
+ #: public/editor-build/236-wp/texts.php:443
2569
+ msgid "If you need to have multiple emails you can separate them by commas"
2570
+ msgstr ""
2571
+
2572
+ #: public/editor-build/236-wp/texts.php:444
2573
  msgid "If you need to increase max upload size please contact your hosting."
2574
  msgstr ""
2575
 
2576
+ #: public/editor-build/236-wp/texts.php:445
2577
  msgid "Image"
2578
  msgstr ""
2579
 
2580
+ #: public/editor-build/236-wp/texts.php:446
2581
  msgid "Image Test"
2582
  msgstr ""
2583
 
2584
+ #: public/editor-build/236-wp/texts.php:447
2585
  msgid "Image file is too large."
2586
  msgstr ""
2587
 
2588
+ #: public/editor-build/236-wp/texts.php:448
2589
  msgid "Import New Block"
2590
  msgstr ""
2591
 
2592
+ #: public/editor-build/236-wp/texts.php:449
2593
  msgid "Import New Layout"
2594
  msgstr ""
2595
 
2596
+ #: public/editor-build/236-wp/texts.php:450
2597
  msgid "Import New Popup"
2598
  msgstr ""
2599
 
2600
+ #: public/editor-build/236-wp/texts.php:451
2601
  msgid "Import This Layout"
2602
  msgstr ""
2603
 
2604
+ #: public/editor-build/236-wp/texts.php:452
2605
  msgid "Import This Story"
2606
  msgstr ""
2607
 
2608
+ #: public/editor-build/236-wp/texts.php:453
2609
+ msgid "In"
2610
+ msgstr ""
2611
+
2612
+ #: public/editor-build/236-wp/texts.php:454
2613
+ msgid "InOut"
2614
+ msgstr ""
2615
+
2616
+ #: public/editor-build/236-wp/texts.php:455
2617
  msgid "Include"
2618
  msgstr ""
2619
 
2620
+ #: public/editor-build/236-wp/texts.php:456
2621
  msgid "Include By"
2622
  msgstr ""
2623
 
2624
+ #: public/editor-build/236-wp/texts.php:457
2625
  msgid "Include Full Post"
2626
  msgstr ""
2627
 
2628
+ #: public/editor-build/236-wp/texts.php:458
2629
  msgid "Include Share Button"
2630
  msgstr ""
2631
 
2632
+ #: public/editor-build/236-wp/texts.php:459
2633
  msgid "Incorrect"
2634
  msgstr ""
2635
 
2636
+ #: public/editor-build/236-wp/texts.php:460
2637
  msgid "Incorrect username or password"
2638
  msgstr ""
2639
 
2640
+ #: public/editor-build/236-wp/texts.php:461
2641
+ msgid "Inequality operator"
2642
+ msgstr ""
2643
+
2644
+ #: public/editor-build/236-wp/texts.php:462
2645
  msgid "Info"
2646
  msgstr ""
2647
 
2648
+ #: public/editor-build/236-wp/texts.php:463
2649
  msgid "Inherit"
2650
  msgstr ""
2651
 
2652
+ #: public/editor-build/236-wp/texts.php:464
2653
  msgid "Inline"
2654
  msgstr ""
2655
 
2656
+ #: public/editor-build/236-wp/texts.php:465
2657
  msgid "Input"
2658
  msgstr ""
2659
 
2660
+ #: public/editor-build/236-wp/texts.php:466
2661
  msgid "Inputted a valid site key"
2662
  msgstr ""
2663
 
2664
+ #: public/editor-build/236-wp/texts.php:467
2665
  msgid "Inset"
2666
  msgstr ""
2667
 
2668
+ #: public/editor-build/236-wp/texts.php:468
2669
  msgid "Intro"
2670
  msgstr ""
2671
 
2672
+ #: public/editor-build/236-wp/texts.php:469
2673
  msgid "Invalid api data"
2674
  msgstr ""
2675
 
2676
+ #: public/editor-build/236-wp/texts.php:470
2677
  msgid "It's a sample"
2678
  msgstr ""
2679
 
2680
+ #: public/editor-build/236-wp/texts.php:471
2681
  msgid "Italian"
2682
  msgstr ""
2683
 
2684
+ #: public/editor-build/236-wp/texts.php:472
2685
  msgid "Italic"
2686
  msgstr ""
2687
 
2688
+ #: public/editor-build/236-wp/texts.php:473
2689
  msgid "Item"
2690
  msgstr ""
2691
 
2692
+ #: public/editor-build/236-wp/texts.php:474
2693
  msgid "JackInTheBox"
2694
  msgstr ""
2695
 
2696
+ #: public/editor-build/236-wp/texts.php:475
2697
  msgid "Jello"
2698
  msgstr ""
2699
 
2700
+ #: public/editor-build/236-wp/texts.php:476
2701
  msgid "Keyboard Shortcuts"
2702
  msgstr ""
2703
 
2704
+ #: public/editor-build/236-wp/texts.php:477
2705
  msgid "Label"
2706
  msgstr ""
2707
 
2708
+ #: public/editor-build/236-wp/texts.php:478
2709
+ msgid "Label Bg"
2710
+ msgstr ""
2711
+
2712
+ #: public/editor-build/236-wp/texts.php:479
2713
  msgid "Language"
2714
  msgstr ""
2715
 
2716
+ #: public/editor-build/236-wp/texts.php:480
2717
+ msgid "Languages"
2718
+ msgstr ""
2719
+
2720
+ #: public/editor-build/236-wp/texts.php:481
2721
  msgid "Last Name"
2722
  msgstr ""
2723
 
2724
+ #: public/editor-build/236-wp/texts.php:482
2725
  msgid "Lateral"
2726
  msgstr ""
2727
 
2728
+ #: public/editor-build/236-wp/texts.php:483
2729
  msgid "Layout"
2730
  msgstr ""
2731
 
2732
+ #: public/editor-build/236-wp/texts.php:484
2733
  msgid "Layouts"
2734
  msgstr ""
2735
 
2736
+ #: public/editor-build/236-wp/texts.php:485
2737
  msgid "Left"
2738
  msgstr ""
2739
 
2740
+ #: public/editor-build/236-wp/texts.php:486
2741
  msgid "Letter Sp."
2742
  msgstr ""
2743
 
2744
+ #: public/editor-build/236-wp/texts.php:487
2745
+ msgid "Level"
2746
+ msgstr ""
2747
+
2748
+ #: public/editor-build/236-wp/texts.php:488
2749
  msgid "Light"
2750
  msgstr ""
2751
 
2752
+ #: public/editor-build/236-wp/texts.php:489
2753
  msgid "LightSpeedIn"
2754
  msgstr ""
2755
 
2756
+ #: public/editor-build/236-wp/texts.php:490
2757
+ msgid "Lighten"
2758
+ msgstr ""
2759
+
2760
+ #: public/editor-build/236-wp/texts.php:491
2761
  msgid "Like"
2762
  msgstr ""
2763
 
2764
+ #: public/editor-build/236-wp/texts.php:492
2765
+ msgid "Like Button"
2766
+ msgstr ""
2767
+
2768
+ #: public/editor-build/236-wp/texts.php:493
2769
  msgid "Line"
2770
  msgstr ""
2771
 
2772
+ #: public/editor-build/236-wp/texts.php:494
2773
  msgid "Line Hgt."
2774
  msgstr ""
2775
 
2776
+ #: public/editor-build/236-wp/texts.php:495
2777
  msgid "Linear"
2778
  msgstr ""
2779
 
2780
+ #: public/editor-build/236-wp/texts.php:496
2781
  msgid "Link"
2782
  msgstr ""
2783
 
2784
+ #: public/editor-build/236-wp/texts.php:497
2785
  msgid "Link to"
2786
  msgstr ""
2787
 
2788
+ #: public/editor-build/236-wp/texts.php:498
2789
  msgid "Links"
2790
  msgstr ""
2791
 
2792
+ #: public/editor-build/236-wp/texts.php:499
2793
  msgid "List"
2794
  msgstr ""
2795
 
2796
+ #: public/editor-build/236-wp/texts.php:500
2797
  msgid "List are not created please connect the support"
2798
  msgstr ""
2799
 
2800
+ #: public/editor-build/236-wp/texts.php:501
2801
  msgid "Lists are empty. Please add a new list and try again."
2802
  msgstr ""
2803
 
2804
+ #: public/editor-build/236-wp/texts.php:502
 
 
 
 
2805
  msgid "Locked"
2806
  msgstr ""
2807
 
2808
+ #: public/editor-build/236-wp/texts.php:503
2809
  msgid "Login"
2810
  msgstr ""
2811
 
2812
+ #: public/editor-build/236-wp/texts.php:504
 
 
 
 
2813
  msgid "Logout"
2814
  msgstr ""
2815
 
2816
+ #: public/editor-build/236-wp/texts.php:505
2817
  msgid "Loop"
2818
  msgstr ""
2819
 
2820
+ #: public/editor-build/236-wp/texts.php:506
2821
  msgid "Lost Password"
2822
  msgstr ""
2823
 
2824
+ #: public/editor-build/236-wp/texts.php:507
2825
  msgid "Lottie"
2826
  msgstr ""
2827
 
2828
+ #: public/editor-build/236-wp/texts.php:508
2829
  msgid "Lottie File"
2830
  msgstr ""
2831
 
2832
+ #: public/editor-build/236-wp/texts.php:509
2833
  msgid "Lottie Link"
2834
  msgstr ""
2835
 
2836
+ #: public/editor-build/236-wp/texts.php:510
2837
+ msgid "Luminosity"
2838
+ msgstr ""
2839
+
2840
+ #: public/editor-build/236-wp/texts.php:511
2841
  msgid "Main"
2842
  msgstr ""
2843
 
2844
+ #: public/editor-build/236-wp/texts.php:512
2845
  msgid "Make it Global"
2846
  msgstr ""
2847
 
2848
+ #: public/editor-build/236-wp/texts.php:513
2849
  msgid "Make it Hamburger"
2850
  msgstr ""
2851
 
2852
+ #: public/editor-build/236-wp/texts.php:514
2853
  msgid "Make it Nofollow"
2854
  msgstr ""
2855
 
2856
+ #: public/editor-build/236-wp/texts.php:515
2857
  msgid "Make it a Slider"
2858
  msgstr ""
2859
 
2860
+ #: public/editor-build/236-wp/texts.php:516
2861
  msgid "Manual"
2862
  msgstr ""
2863
 
2864
+ #: public/editor-build/236-wp/texts.php:517
2865
  msgid "Map"
2866
  msgstr ""
2867
 
2868
+ #: public/editor-build/236-wp/texts.php:518
2869
  msgid "Margin"
2870
  msgstr ""
2871
 
2872
+ #: public/editor-build/236-wp/texts.php:519
2873
  msgid "Mask"
2874
  msgstr ""
2875
 
2876
+ #: public/editor-build/236-wp/texts.php:520
2877
  msgid "Max"
2878
  msgstr ""
2879
 
2880
+ #: public/editor-build/236-wp/texts.php:521
2881
  msgid "Max Date"
2882
  msgstr ""
2883
 
2884
+ #: public/editor-build/236-wp/texts.php:522
2885
  msgid "Max Time"
2886
  msgstr ""
2887
 
2888
+ #: public/editor-build/236-wp/texts.php:523
2889
  msgid "Max. File Size"
2890
  msgstr ""
2891
 
2892
+ #: public/editor-build/236-wp/texts.php:524
2893
  msgid "Medium"
2894
  msgstr ""
2895
 
2896
+ #: public/editor-build/236-wp/texts.php:525
2897
  msgid "Mega Menu"
2898
  msgstr ""
2899
 
2900
+ #: public/editor-build/236-wp/texts.php:526
2901
  msgid "Membership"
2902
  msgstr ""
2903
 
2904
+ #: public/editor-build/236-wp/texts.php:527
2905
  msgid "Mention"
2906
  msgstr ""
2907
 
2908
+ #: public/editor-build/236-wp/texts.php:528
2909
  msgid "Menu"
2910
  msgstr ""
2911
 
2912
+ #: public/editor-build/236-wp/texts.php:529
2913
  msgid "Menu Items"
2914
  msgstr ""
2915
 
2916
+ #: public/editor-build/236-wp/texts.php:530
2917
  msgid "Menu Order"
2918
  msgstr ""
2919
 
2920
+ #: public/editor-build/236-wp/texts.php:531
2921
  msgid "Menu order"
2922
  msgstr ""
2923
 
2924
+ #: public/editor-build/236-wp/texts.php:532
2925
  msgid "Message"
2926
  msgstr ""
2927
 
2928
+ #: public/editor-build/236-wp/texts.php:533
2929
  msgid "Message not sent"
2930
  msgstr ""
2931
 
2932
+ #: public/editor-build/236-wp/texts.php:534
2933
  msgid "Message sent"
2934
  msgstr ""
2935
 
2936
+ #: public/editor-build/236-wp/texts.php:535
2937
  msgid "Messages"
2938
  msgstr ""
2939
 
2940
+ #: public/editor-build/236-wp/texts.php:536
2941
  msgid "Meta"
2942
  msgstr ""
2943
 
2944
+ #: public/editor-build/236-wp/texts.php:537
2945
  msgid "Meta Data"
2946
  msgstr ""
2947
 
2948
+ #: public/editor-build/236-wp/texts.php:538
2949
  msgid "Meta Key"
2950
  msgstr ""
2951
 
2952
+ #: public/editor-build/236-wp/texts.php:539
2953
  msgid "Meta Value"
2954
  msgstr ""
2955
 
2956
+ #: public/editor-build/236-wp/texts.php:540
2957
  msgid "Min"
2958
  msgstr ""
2959
 
2960
+ #: public/editor-build/236-wp/texts.php:541
2961
  msgid "Min Date"
2962
  msgstr ""
2963
 
2964
+ #: public/editor-build/236-wp/texts.php:542
2965
  msgid "Min Time"
2966
  msgstr ""
2967
 
2968
+ #: public/editor-build/236-wp/texts.php:543
2969
  msgid "Minimal"
2970
  msgstr ""
2971
 
2972
+ #: public/editor-build/236-wp/texts.php:544
2973
  msgid "Minutes"
2974
  msgstr ""
2975
 
2976
+ #: public/editor-build/236-wp/texts.php:545
2977
  msgid "Missing Element"
2978
  msgstr ""
2979
 
2980
+ #: public/editor-build/236-wp/texts.php:546
2981
  msgid "Mobile"
2982
  msgstr ""
2983
 
2984
+ #: public/editor-build/236-wp/texts.php:547
2985
  msgid "Mobile view"
2986
  msgstr ""
2987
 
2988
+ #: public/editor-build/236-wp/texts.php:548
2989
  msgid "Modified"
2990
  msgstr ""
2991
 
2992
+ #: public/editor-build/236-wp/texts.php:549
2993
  msgid "More"
2994
  msgstr ""
2995
 
2996
+ #: public/editor-build/236-wp/texts.php:550
2997
  msgid "More Settings"
2998
  msgstr ""
2999
 
3000
+ #: public/editor-build/236-wp/texts.php:551
3001
+ msgid "MouseTrack"
3002
+ msgstr ""
3003
+
3004
+ #: public/editor-build/236-wp/texts.php:552
3005
+ msgid "Move down"
3006
+ msgstr ""
3007
+
3008
+ #: public/editor-build/236-wp/texts.php:553
3009
  msgid "Move left"
3010
  msgstr ""
3011
 
3012
+ #: public/editor-build/236-wp/texts.php:554
3013
  msgid "Move right"
3014
  msgstr ""
3015
 
3016
+ #: public/editor-build/236-wp/texts.php:555
3017
+ msgid "Move up"
3018
+ msgstr ""
3019
+
3020
+ #: public/editor-build/236-wp/texts.php:556
3021
+ msgid "Multi-Language"
3022
+ msgstr ""
3023
+
3024
+ #: public/editor-build/236-wp/texts.php:557
3025
  msgid "Multiple Selection"
3026
  msgstr ""
3027
 
3028
+ #: public/editor-build/236-wp/texts.php:558
3029
+ msgid "Multiply"
3030
+ msgstr ""
3031
+
3032
+ #: public/editor-build/236-wp/texts.php:559
3033
  msgid "Muted"
3034
  msgstr ""
3035
 
3036
+ #: public/editor-build/236-wp/texts.php:560
3037
  msgid "My Account"
3038
  msgstr ""
3039
 
3040
+ #: public/editor-build/236-wp/texts.php:561
3041
+ msgid "MyAccount"
3042
+ msgstr ""
3043
+
3044
+ #: public/editor-build/236-wp/texts.php:562
3045
  msgid "N/A"
3046
  msgstr ""
3047
 
3048
+ #: public/editor-build/236-wp/texts.php:563
3049
  msgid "Name"
3050
  msgstr ""
3051
 
3052
+ #: public/editor-build/236-wp/texts.php:564
3053
  msgid "Native HTML5"
3054
  msgstr ""
3055
 
3056
+ #: public/editor-build/236-wp/texts.php:565
3057
  msgid "Nav"
3058
  msgstr ""
3059
 
3060
+ #: public/editor-build/236-wp/texts.php:566
3061
  msgid "Navigation"
3062
  msgstr ""
3063
 
3064
+ #: public/editor-build/236-wp/texts.php:567
3065
  msgid "Need help"
3066
  msgstr ""
3067
 
3068
+ #: public/editor-build/236-wp/texts.php:568
3069
  msgid "New Style #%s"
3070
  msgstr ""
3071
 
3072
+ #: public/editor-build/236-wp/texts.php:569
3073
  msgid "No matches found"
3074
  msgstr ""
3075
 
3076
+ #: public/editor-build/236-wp/texts.php:570
3077
  msgid "No results"
3078
  msgstr ""
3079
 
3080
+ #: public/editor-build/236-wp/texts.php:571
3081
  msgid "Non Profit"
3082
  msgstr ""
3083
 
3084
+ #: public/editor-build/236-wp/texts.php:572
3085
  msgid "None"
3086
  msgstr ""
3087
 
3088
+ #: public/editor-build/236-wp/texts.php:573
3089
  msgid "Normal"
3090
  msgstr ""
3091
 
3092
+ #: public/editor-build/236-wp/texts.php:574
3093
  msgid "Not Required"
3094
  msgstr ""
3095
 
3096
+ #: public/editor-build/236-wp/texts.php:575
3097
  msgid "Nothing Found"
3098
  msgstr ""
3099
 
3100
+ #: public/editor-build/236-wp/texts.php:576
3101
  msgid "Nothing here yet, make a global block first."
3102
  msgstr ""
3103
 
3104
+ #: public/editor-build/236-wp/texts.php:577
3105
  msgid "Nothing here yet, make a global popup first."
3106
  msgstr ""
3107
 
3108
+ #: public/editor-build/236-wp/texts.php:578
3109
  msgid "Nothing here yet, save a block first."
3110
  msgstr ""
3111
 
3112
+ #: public/editor-build/236-wp/texts.php:579
3113
  msgid "Nothing here yet, save a layout first."
3114
  msgstr ""
3115
 
3116
+ #: public/editor-build/236-wp/texts.php:580
3117
  msgid "Nothing here yet, save a popup first."
3118
  msgstr ""
3119
 
3120
+ #: public/editor-build/236-wp/texts.php:581
3121
  msgid "Nothing here, please refine your search."
3122
  msgstr ""
3123
 
3124
+ #: public/editor-build/236-wp/texts.php:582
3125
  msgid "Nr"
3126
  msgstr ""
3127
 
3128
+ #: public/editor-build/236-wp/texts.php:583
3129
  msgid "Number"
3130
  msgstr ""
3131
 
3132
+ #: public/editor-build/236-wp/texts.php:584
3133
  msgid "Number of posts"
3134
  msgstr ""
3135
 
3136
+ #: public/editor-build/236-wp/texts.php:585
3137
  msgid "Offset"
3138
  msgstr ""
3139
 
3140
+ #: public/editor-build/236-wp/texts.php:586
3141
  msgid "On Click"
3142
  msgstr ""
3143
 
3144
+ #: public/editor-build/236-wp/texts.php:587
3145
  msgid "On Hover"
3146
  msgstr ""
3147
 
3148
+ #: public/editor-build/236-wp/texts.php:588
3149
  msgid "One Page"
3150
  msgstr ""
3151
 
3152
+ #: public/editor-build/236-wp/texts.php:589
3153
  msgid "Open In New Tab"
3154
  msgstr ""
3155
 
3156
+ #: public/editor-build/236-wp/texts.php:590
3157
  msgid "Open in Lightbox"
3158
  msgstr ""
3159
 
3160
+ #: public/editor-build/236-wp/texts.php:591
3161
+ msgid "Opposite"
3162
+ msgstr ""
3163
+
3164
+ #: public/editor-build/236-wp/texts.php:592
3165
  msgid "Order"
3166
  msgstr ""
3167
 
3168
+ #: public/editor-build/236-wp/texts.php:593
3169
  msgid "Order By"
3170
  msgstr ""
3171
 
3172
+ #: public/editor-build/236-wp/texts.php:594
3173
  msgid "Order Tracking"
3174
  msgstr ""
3175
 
3176
+ #: public/editor-build/236-wp/texts.php:595
3177
  msgid "Orientation"
3178
  msgstr ""
3179
 
3180
+ #: public/editor-build/236-wp/texts.php:596
3181
+ msgid "Out"
3182
+ msgstr ""
3183
+
3184
+ #: public/editor-build/236-wp/texts.php:597
3185
+ msgid "OutIn"
3186
+ msgstr ""
3187
+
3188
+ #: public/editor-build/236-wp/texts.php:598
3189
  msgid "Outline"
3190
  msgstr ""
3191
 
3192
+ #: public/editor-build/236-wp/texts.php:599
3193
  msgid "Outset"
3194
  msgstr ""
3195
 
3196
+ #: public/editor-build/236-wp/texts.php:600
3197
  msgid "Overlay"
3198
  msgstr ""
3199
 
3200
+ #: public/editor-build/236-wp/texts.php:601
3201
  msgid "Overlay "
3202
  msgstr ""
3203
 
3204
+ #: public/editor-build/236-wp/texts.php:602
3205
  msgid "P"
3206
  msgstr ""
3207
 
3208
+ #: public/editor-build/236-wp/texts.php:603
3209
  msgid "PRE"
3210
  msgstr ""
3211
 
3212
+ #: public/editor-build/236-wp/texts.php:604
3213
  msgid "Padding"
3214
  msgstr ""
3215
 
3216
+ #: public/editor-build/236-wp/texts.php:605
3217
  msgid "Page"
3218
  msgstr ""
3219
 
3220
+ #: public/editor-build/236-wp/texts.php:606
3221
  msgid "Page Layout"
3222
  msgstr ""
3223
 
3224
+ #: public/editor-build/236-wp/texts.php:607
3225
  msgid "Page Template"
3226
  msgstr ""
3227
 
3228
+ #: public/editor-build/236-wp/texts.php:608
3229
  msgid "Page Title"
3230
  msgstr ""
3231
 
3232
+ #: public/editor-build/236-wp/texts.php:609
3233
  msgid "Page title"
3234
  msgstr ""
3235
 
3236
+ #: public/editor-build/236-wp/texts.php:610
3237
  msgid "Pages"
3238
  msgstr ""
3239
 
3240
+ #: public/editor-build/236-wp/texts.php:611
3241
  msgid "Pagination"
3242
  msgstr ""
3243
 
3244
+ #: public/editor-build/236-wp/texts.php:612
3245
  msgid "Paragraph"
3246
  msgstr ""
3247
 
3248
+ #: public/editor-build/236-wp/texts.php:613
3249
  msgid "Parallax"
3250
  msgstr ""
3251
 
3252
+ #: public/editor-build/236-wp/texts.php:614
3253
  msgid "Parent"
3254
  msgstr ""
3255
 
3256
+ #: public/editor-build/236-wp/texts.php:615
3257
  msgid "Password"
3258
  msgstr ""
3259
 
3260
+ #: public/editor-build/236-wp/texts.php:616
3261
  msgid "Password and confirm password is not the same"
3262
  msgstr ""
3263
 
3264
+ #: public/editor-build/236-wp/texts.php:617
3265
  msgid "Paste"
3266
  msgstr ""
3267
 
3268
+ #: public/editor-build/236-wp/texts.php:618
3269
  msgid "Paste Style"
3270
  msgstr ""
3271
 
3272
+ #: public/editor-build/236-wp/texts.php:619
3273
  msgid "Paste Styles"
3274
  msgstr ""
3275
 
3276
+ #: public/editor-build/236-wp/texts.php:620
3277
+ msgid "Paste your HTML code here..."
3278
  msgstr ""
3279
 
3280
+ #: public/editor-build/236-wp/texts.php:621
 
 
 
 
3281
  msgid "Pending"
3282
  msgstr ""
3283
 
3284
+ #: public/editor-build/236-wp/texts.php:622
3285
  msgid "Percent"
3286
  msgstr ""
3287
 
3288
+ #: public/editor-build/236-wp/texts.php:623
3289
  msgid "Percentage"
3290
  msgstr ""
3291
 
3292
+ #: public/editor-build/236-wp/texts.php:624
3293
  msgid "Phone Number"
3294
  msgstr ""
3295
 
3296
+ #: public/editor-build/236-wp/texts.php:625
3297
  msgid "Placeholder"
3298
  msgstr ""
3299
 
3300
+ #: public/editor-build/236-wp/texts.php:626
3301
  msgid "Plain"
3302
  msgstr ""
3303
 
3304
+ #: public/editor-build/236-wp/texts.php:627
3305
  msgid "Play"
3306
  msgstr ""
3307
 
3308
+ #: public/editor-build/236-wp/texts.php:628
3309
+ msgid "Play Counts"
3310
+ msgstr ""
3311
+
3312
+ #: public/editor-build/236-wp/texts.php:629
3313
  msgid "Playlist"
3314
  msgstr ""
3315
 
3316
+ #: public/editor-build/236-wp/texts.php:630
3317
  msgid "Playlist Items"
3318
  msgstr ""
3319
 
3320
+ #: public/editor-build/236-wp/texts.php:631
3321
  msgid "Plugin Settings"
3322
  msgstr ""
3323
 
3324
+ #: public/editor-build/236-wp/texts.php:632
3325
+ msgid "Points"
3326
+ msgstr ""
3327
+
3328
+ #: public/editor-build/236-wp/texts.php:633
3329
  msgid "Popularity"
3330
  msgstr ""
3331
 
3332
+ #: public/editor-build/236-wp/texts.php:634
3333
  msgid "Popup"
3334
  msgstr ""
3335
 
3336
+ #: public/editor-build/236-wp/texts.php:635
3337
  msgid "Popup Close Icon"
3338
  msgstr ""
3339
 
3340
+ #: public/editor-build/236-wp/texts.php:637
3341
  msgid "Port"
3342
  msgstr ""
3343
 
3344
+ #: public/editor-build/236-wp/texts.php:638
3345
  msgid "Portfolio"
3346
  msgstr ""
3347
 
3348
+ #: public/editor-build/236-wp/texts.php:639
3349
  msgid "Position"
3350
  msgstr ""
3351
 
3352
+ #: public/editor-build/236-wp/texts.php:640
3353
  msgid "Post"
3354
  msgstr ""
3355
 
3356
+ #: public/editor-build/236-wp/texts.php:641
3357
  msgid "Post Content"
3358
  msgstr ""
3359
 
3360
+ #: public/editor-build/236-wp/texts.php:642
3361
  msgid "Post Excerpt"
3362
  msgstr ""
3363
 
3364
+ #: public/editor-build/236-wp/texts.php:643
3365
  msgid "Post Info"
3366
  msgstr ""
3367
 
3368
+ #: public/editor-build/236-wp/texts.php:644
3369
  msgid "Post Navigation"
3370
  msgstr ""
3371
 
3372
+ #: public/editor-build/236-wp/texts.php:645
3373
  msgid "Post Title"
3374
  msgstr ""
3375
 
3376
+ #: public/editor-build/236-wp/texts.php:646
3377
  msgid "Post Type"
3378
  msgstr ""
3379
 
3380
+ #: public/editor-build/236-wp/texts.php:647
3381
  msgid "Post info"
3382
  msgstr ""
3383
 
3384
+ #: public/editor-build/236-wp/texts.php:648
3385
  msgid "Posts"
3386
  msgstr ""
3387
 
3388
+ #: public/editor-build/236-wp/texts.php:649
3389
  msgid "Posts Pagination"
3390
  msgstr ""
3391
 
3392
+ #: public/editor-build/236-wp/texts.php:650
3393
  msgid "Posts Tags"
3394
  msgstr ""
3395
 
3396
+ #: public/editor-build/236-wp/texts.php:651
3397
  msgid "Prefix"
3398
  msgstr ""
3399
 
3400
+ #: public/editor-build/236-wp/texts.php:652
3401
  msgid "Press the button above to add blocks"
3402
  msgstr ""
3403
 
3404
+ #: public/editor-build/236-wp/texts.php:653
3405
  msgid "Press the button above to add popup"
3406
  msgstr ""
3407
 
3408
+ #: public/editor-build/236-wp/texts.php:654
3409
  msgid "Press the button to add blocks"
3410
  msgstr ""
3411
 
3412
+ #: public/editor-build/236-wp/texts.php:655
3413
  msgid "Price"
3414
  msgstr ""
3415
 
3416
+ #: public/editor-build/236-wp/texts.php:656
3417
  msgid "Pricing"
3418
  msgstr ""
3419
 
3420
+ #: public/editor-build/236-wp/texts.php:657
3421
  msgid "Private"
3422
  msgstr ""
3423
 
3424
+ #: public/editor-build/236-wp/texts.php:659
3425
  msgid "Product Attributes"
3426
  msgstr ""
3427
 
3428
+ #: public/editor-build/236-wp/texts.php:660
3429
  msgid "Product Breadcrumbs"
3430
  msgstr ""
3431
 
3432
+ #: public/editor-build/236-wp/texts.php:661
3433
  msgid "Product Content"
3434
  msgstr ""
3435
 
3436
+ #: public/editor-build/236-wp/texts.php:662
3437
  msgid "Product Excerpt"
3438
  msgstr ""
3439
 
3440
+ #: public/editor-build/236-wp/texts.php:663
3441
  msgid "Product Gallery"
3442
  msgstr ""
3443
 
3444
+ #: public/editor-build/236-wp/texts.php:664
3445
  msgid "Product ID"
3446
  msgstr ""
3447
 
3448
+ #: public/editor-build/236-wp/texts.php:665
3449
  msgid "Product ID or SKU"
3450
  msgstr ""
3451
 
3452
+ #: public/editor-build/236-wp/texts.php:666
3453
  msgid "Product Meta"
3454
  msgstr ""
3455
 
3456
+ #: public/editor-build/236-wp/texts.php:667
3457
  msgid "Product Price"
3458
  msgstr ""
3459
 
3460
+ #: public/editor-build/236-wp/texts.php:668
3461
  msgid "Product Rating"
3462
  msgstr ""
3463
 
3464
+ #: public/editor-build/236-wp/texts.php:669
3465
+ msgid "Product Review"
3466
+ msgstr ""
3467
+
3468
+ #: public/editor-build/236-wp/texts.php:670
3469
  msgid "Product Sku"
3470
  msgstr ""
3471
 
3472
+ #: public/editor-build/236-wp/texts.php:671
3473
  msgid "Product Stock"
3474
  msgstr ""
3475
 
3476
+ #: public/editor-build/236-wp/texts.php:672
3477
  msgid "Product Thumbnail"
3478
  msgstr ""
3479
 
3480
+ #: public/editor-build/236-wp/texts.php:673
3481
  msgid "Product Title"
3482
  msgstr ""
3483
 
3484
+ #: public/editor-build/236-wp/texts.php:674
3485
  msgid "Products"
3486
  msgstr ""
3487
 
3488
+ #: public/editor-build/236-wp/texts.php:675
3489
  msgid "Products Count"
3490
  msgstr ""
3491
 
3492
+ #: public/editor-build/236-wp/texts.php:676
3493
  msgid "Products Pagination"
3494
  msgstr ""
3495
 
3496
+ #: public/editor-build/236-wp/texts.php:677
3497
  msgid "Products Tags"
3498
  msgstr ""
3499
 
3500
+ #: public/editor-build/236-wp/texts.php:678
3501
  msgid "Progress"
3502
  msgstr ""
3503
 
3504
+ #: public/editor-build/236-wp/texts.php:679
3505
  msgid "Protected Form"
3506
  msgstr ""
3507
 
3508
+ #: public/editor-build/236-wp/texts.php:680
3509
  msgid "Protected Page"
3510
  msgstr ""
3511
 
3512
+ #: public/editor-build/236-wp/texts.php:681
3513
  msgid "Publish"
3514
  msgstr ""
3515
 
3516
+ #: public/editor-build/236-wp/texts.php:682
3517
  msgid "Publish Page"
3518
  msgstr ""
3519
 
3520
+ #: public/editor-build/236-wp/texts.php:683
3521
  msgid "Pulse"
3522
  msgstr ""
3523
 
3524
+ #: public/editor-build/236-wp/texts.php:684
3525
  msgid "Quantity"
3526
  msgstr ""
3527
 
3528
+ #: public/editor-build/236-wp/texts.php:685
3529
  msgid "Query"
3530
  msgstr ""
3531
 
3532
+ #: public/editor-build/236-wp/texts.php:686
3533
+ msgid "Query Source"
3534
+ msgstr ""
3535
+
3536
+ #: public/editor-build/236-wp/texts.php:687
3537
  msgid "Radial"
3538
  msgstr ""
3539
 
3540
+ #: public/editor-build/236-wp/texts.php:688
3541
  msgid "Radio"
3542
  msgstr ""
3543
 
3544
+ #: public/editor-build/236-wp/texts.php:689
3545
  msgid "Random"
3546
  msgstr ""
3547
 
3548
+ #: public/editor-build/236-wp/texts.php:690
3549
  msgid "Rating"
3550
  msgstr ""
3551
 
3552
+ #: public/editor-build/236-wp/texts.php:691
3553
+ msgid "Rating scale"
3554
+ msgstr ""
3555
+
3556
+ #: public/editor-build/236-wp/texts.php:692
3557
  msgid "Ratio"
3558
  msgstr ""
3559
 
3560
+ #: public/editor-build/236-wp/texts.php:693
3561
  msgid "ReCAPTCHA"
3562
  msgstr ""
3563
 
3564
+ #: public/editor-build/236-wp/texts.php:694
3565
  msgid "Real-Estate"
3566
  msgstr ""
3567
 
3568
+ #: public/editor-build/236-wp/texts.php:695
3569
  msgid "Recommend"
3570
  msgstr ""
3571
 
3572
+ #: public/editor-build/236-wp/texts.php:696
3573
  msgid "Redirect"
3574
  msgstr ""
3575
 
3576
+ #: public/editor-build/236-wp/texts.php:697
3577
  msgid "Redirect After Login"
3578
  msgstr ""
3579
 
3580
+ #: public/editor-build/236-wp/texts.php:698
3581
  msgid "Redirect After Logout"
3582
  msgstr ""
3583
 
3584
+ #: public/editor-build/236-wp/texts.php:699
3585
  msgid "Redo"
3586
  msgstr ""
3587
 
3588
+ #: public/editor-build/236-wp/texts.php:700
3589
  msgid "Refresh"
3590
  msgstr ""
3591
 
3592
+ #: public/editor-build/236-wp/texts.php:701
3593
  msgid "Register"
3594
  msgstr ""
3595
 
3596
+ #: public/editor-build/236-wp/texts.php:702
3597
  msgid "Register Info"
3598
  msgstr ""
3599
 
3600
+ #: public/editor-build/236-wp/texts.php:703
3601
  msgid "Related Products"
3602
  msgstr ""
3603
 
3604
+ #: public/editor-build/236-wp/texts.php:704
3605
  msgid "Related Products Pagination"
3606
  msgstr ""
3607
 
3608
+ #: public/editor-build/236-wp/texts.php:705
3609
  msgid "Related Products Tags"
3610
  msgstr ""
3611
 
3612
+ #: public/editor-build/236-wp/texts.php:706
3613
  msgid "Religion"
3614
  msgstr ""
3615
 
3616
+ #: public/editor-build/236-wp/texts.php:707
3617
  msgid "Remember me"
3618
  msgstr ""
3619
 
3620
+ #: public/editor-build/236-wp/texts.php:708
3621
  msgid "Renderer"
3622
  msgstr ""
3623
 
3624
+ #: public/editor-build/236-wp/texts.php:709
3625
  msgid "Reorder Blocks"
3626
  msgstr ""
3627
 
3628
+ #: public/editor-build/236-wp/texts.php:710
3629
  msgid "Repair"
3630
  msgstr ""
3631
 
3632
+ #: public/editor-build/236-wp/texts.php:711
3633
+ msgid "Repeat"
3634
+ msgstr ""
3635
+
3636
+ #: public/editor-build/236-wp/texts.php:712
3637
  msgid "Replace global styling"
3638
  msgstr ""
3639
 
3640
+ #: public/editor-build/236-wp/texts.php:713
3641
+ msgid "Replay Animation"
3642
+ msgstr ""
3643
+
3644
+ #: public/editor-build/236-wp/texts.php:714
3645
  msgid "Reply"
3646
  msgstr ""
3647
 
3648
+ #: public/editor-build/236-wp/texts.php:715
3649
  msgid "Reply-To"
3650
  msgstr ""
3651
 
3652
+ #: public/editor-build/236-wp/texts.php:716
3653
  msgid "Required"
3654
  msgstr ""
3655
 
3656
+ #: public/editor-build/236-wp/texts.php:717
3657
  msgid "Reset Password"
3658
  msgstr ""
3659
 
3660
+ #: public/editor-build/236-wp/texts.php:718
3661
  msgid "Responsive Zoom In / Out"
3662
  msgstr ""
3663
 
3664
+ #: public/editor-build/236-wp/texts.php:719
3665
  msgid "Reverse"
3666
  msgstr ""
3667
 
3668
+ #: public/editor-build/236-wp/texts.php:720
3669
  msgid "Reverse Columns"
3670
  msgstr ""
3671
 
3672
+ #: public/editor-build/236-wp/texts.php:721
3673
  msgid "Review"
3674
  msgstr ""
3675
 
3676
+ #: public/editor-build/236-wp/texts.php:722
3677
  msgid "Right"
3678
  msgstr ""
3679
 
3680
+ #: public/editor-build/236-wp/texts.php:724
3681
  msgid "RollIn"
3682
  msgstr ""
3683
 
3684
+ #: public/editor-build/236-wp/texts.php:725
3685
  msgid "Rotate"
3686
  msgstr ""
3687
 
3688
+ #: public/editor-build/236-wp/texts.php:726
3689
  msgid "RotateIn"
3690
  msgstr ""
3691
 
3692
+ #: public/editor-build/236-wp/texts.php:727
3693
  msgid "RotateInDownLeft"
3694
  msgstr ""
3695
 
3696
+ #: public/editor-build/236-wp/texts.php:728
3697
  msgid "RotateInDownRight"
3698
  msgstr ""
3699
 
3700
+ #: public/editor-build/236-wp/texts.php:729
3701
  msgid "RotateInUpLeft"
3702
  msgstr ""
3703
 
3704
+ #: public/editor-build/236-wp/texts.php:730
3705
  msgid "RotateInUpRight"
3706
  msgstr ""
3707
 
3708
+ #: public/editor-build/236-wp/texts.php:731
3709
  msgid "Round"
3710
  msgstr ""
3711
 
3712
+ #: public/editor-build/236-wp/texts.php:732
3713
  msgid "Row"
3714
  msgstr ""
3715
 
3716
+ #: public/editor-build/236-wp/texts.php:733
3717
  msgid "Rows"
3718
  msgstr ""
3719
 
3720
+ #: public/editor-build/236-wp/texts.php:734
3721
  msgid "RubberBand"
3722
  msgstr ""
3723
 
3724
+ #: public/editor-build/236-wp/texts.php:735
3725
  msgid "Russian"
3726
  msgstr ""
3727
 
3728
+ #: public/editor-build/236-wp/texts.php:736
3729
  msgid "SELECT ACCOUNT"
3730
  msgstr ""
3731
 
3732
+ #: public/editor-build/236-wp/texts.php:737
3733
  msgid "SELECT FOR WHAT TEMPLATE IS USED"
3734
  msgstr ""
3735
 
3736
+ #: public/editor-build/236-wp/texts.php:738
3737
  msgid "SELECT LIST"
3738
  msgstr ""
3739
 
3740
+ #: public/editor-build/236-wp/texts.php:739
 
 
 
 
3741
  msgid "START BUILDING YOUR PAGE"
3742
  msgstr ""
3743
 
3744
+ #: public/editor-build/236-wp/texts.php:740
3745
  msgid "START BUILDING YOUR POPUP"
3746
  msgstr ""
3747
 
3748
+ #: public/editor-build/236-wp/texts.php:741
3749
  msgid "SWITCH TO DESKTOP"
3750
  msgstr ""
3751
 
3752
+ #: public/editor-build/236-wp/texts.php:742
3753
  msgid "Sale"
3754
  msgstr ""
3755
 
3756
+ #: public/editor-build/236-wp/texts.php:743
3757
  msgid "Same Page"
3758
  msgstr ""
3759
 
3760
+ #: public/editor-build/236-wp/texts.php:744
3761
+ msgid "Saturation"
3762
+ msgstr ""
3763
+
3764
+ #: public/editor-build/236-wp/texts.php:745
3765
  msgid "Save"
3766
  msgstr ""
3767
 
3768
+ #: public/editor-build/236-wp/texts.php:746
3769
  msgid "Save Draft"
3770
  msgstr ""
3771
 
3772
+ #: public/editor-build/236-wp/texts.php:747
3773
  msgid "Save Draft / Update Page"
3774
  msgstr ""
3775
 
3776
+ #: public/editor-build/236-wp/texts.php:748
3777
  msgid "Save Layout"
3778
  msgstr ""
3779
 
3780
+ #: public/editor-build/236-wp/texts.php:749
3781
  msgid "Saved"
3782
  msgstr ""
3783
 
3784
+ #: public/editor-build/236-wp/texts.php:750
3785
  msgid "Saved Library is syncing to your Account"
3786
  msgstr ""
3787
 
3788
+ #: public/editor-build/236-wp/texts.php:751
3789
  msgid "Saved Popups"
3790
  msgstr ""
3791
 
3792
+ #: public/editor-build/236-wp/texts.php:752
3793
  msgid "Saving"
3794
  msgstr ""
3795
 
3796
+ #: public/editor-build/236-wp/texts.php:753
3797
+ msgid "Scale"
3798
  msgstr ""
3799
 
3800
+ #: public/editor-build/236-wp/texts.php:754
3801
+ msgid "Screen"
3802
  msgstr ""
3803
 
3804
+ #: public/editor-build/236-wp/texts.php:755
3805
+ msgid "Scroll"
3806
  msgstr ""
3807
 
3808
+ #: public/editor-build/236-wp/texts.php:756
3809
+ msgid "Scroll Page Behind"
3810
  msgstr ""
3811
 
3812
+ #: public/editor-build/236-wp/texts.php:758
3813
+ msgid "Search element"
3814
+ msgstr ""
3815
+
3816
+ #: public/editor-build/236-wp/texts.php:759
3817
  msgid "Seconds"
3818
  msgstr ""
3819
 
3820
+ #: public/editor-build/236-wp/texts.php:760
3821
  msgid "Section"
3822
  msgstr ""
3823
 
3824
+ #: public/editor-build/236-wp/texts.php:761
3825
  msgid "Select"
3826
  msgstr ""
3827
 
3828
+ #: public/editor-build/236-wp/texts.php:762
3829
+ msgid "Select Item"
3830
+ msgstr ""
3831
+
3832
+ #: public/editor-build/236-wp/texts.php:763
3833
  msgid "Select Parent Element"
3834
  msgstr ""
3835
 
3836
+ #: public/editor-build/236-wp/texts.php:764
3837
  msgid "Select a Menu"
3838
  msgstr ""
3839
 
3840
+ #: public/editor-build/236-wp/texts.php:765
3841
  msgid "Select a menu from the element options"
3842
  msgstr ""
3843
 
3844
+ #: public/editor-build/236-wp/texts.php:766
3845
  msgid "Select an element on the page to display more settings"
3846
  msgstr ""
3847
 
3848
+ #: public/editor-build/236-wp/texts.php:767
3849
  msgid "Select tags"
3850
  msgstr ""
3851
 
3852
+ #: public/editor-build/236-wp/texts.php:768
3853
  msgid "Semi Bold"
3854
  msgstr ""
3855
 
3856
+ #: public/editor-build/236-wp/texts.php:769
3857
  msgid "Separator"
3858
  msgstr ""
3859
 
3860
+ #: public/editor-build/236-wp/texts.php:771
3861
  msgid "Shadow"
3862
  msgstr ""
3863
 
3864
+ #: public/editor-build/236-wp/texts.php:772
3865
  msgid "Shake"
3866
  msgstr ""
3867
 
3868
+ #: public/editor-build/236-wp/texts.php:773
3869
  msgid "Shape"
3870
  msgstr ""
3871
 
3872
+ #: public/editor-build/236-wp/texts.php:774
3873
+ msgid "Share Button"
3874
+ msgstr ""
3875
+
3876
+ #: public/editor-build/236-wp/texts.php:775
3877
  msgid "Shop Cart"
3878
  msgstr ""
3879
 
3880
+ #: public/editor-build/236-wp/texts.php:776
3881
  msgid "Shop Categories"
3882
  msgstr ""
3883
 
3884
+ #: public/editor-build/236-wp/texts.php:777
3885
  msgid "Shop Pages"
3886
  msgstr ""
3887
 
3888
+ #: public/editor-build/236-wp/texts.php:778
3889
  msgid "Shop Products"
3890
  msgstr ""
3891
 
3892
+ #: public/editor-build/236-wp/texts.php:779
3893
+ msgid "Shopping Bag"
3894
+ msgstr ""
3895
+
3896
+ #: public/editor-build/236-wp/texts.php:780
3897
  msgid "Shortcode"
3898
  msgstr ""
3899
 
3900
+ #: public/editor-build/236-wp/texts.php:781
3901
  msgid "Shortcuts"
3902
  msgstr ""
3903
 
3904
+ #: public/editor-build/236-wp/texts.php:782
3905
  msgid "Shortname"
3906
  msgstr ""
3907
 
3908
+ #: public/editor-build/236-wp/texts.php:783
3909
+ msgid "Show Apply"
3910
+ msgstr ""
3911
+
3912
+ #: public/editor-build/236-wp/texts.php:784
3913
  msgid "Show Button Counter"
3914
  msgstr ""
3915
 
3916
+ #: public/editor-build/236-wp/texts.php:785
3917
+ msgid "Show Counter"
3918
+ msgstr ""
3919
+
3920
+ #: public/editor-build/236-wp/texts.php:786
3921
  msgid "Show Friend's Faces"
3922
  msgstr ""
3923
 
3924
+ #: public/editor-build/236-wp/texts.php:787
3925
  msgid "Show Friends' Faces"
3926
  msgstr ""
3927
 
3928
+ #: public/editor-build/236-wp/texts.php:788
3929
  msgid "Show Hidden Elements"
3930
  msgstr ""
3931
 
3932
+ #: public/editor-build/236-wp/texts.php:789
3933
+ msgid "Show If Language"
3934
+ msgstr ""
3935
+
3936
+ #: public/editor-build/236-wp/texts.php:790
3937
+ msgid "Show Label"
3938
+ msgstr ""
3939
+
3940
+ #: public/editor-build/236-wp/texts.php:791
3941
  msgid "Show Meta Data"
3942
  msgstr ""
3943
 
3944
+ #: public/editor-build/236-wp/texts.php:792
3945
+ msgid "Show Original image"
3946
+ msgstr ""
3947
+
3948
+ #: public/editor-build/236-wp/texts.php:793
3949
  msgid "Show Social Context"
3950
  msgstr ""
3951
 
3952
+ #: public/editor-build/236-wp/texts.php:794
3953
+ msgid "Show Text"
3954
+ msgstr ""
3955
+
3956
+ #: public/editor-build/236-wp/texts.php:795
3957
  msgid "Show message"
3958
  msgstr ""
3959
 
3960
+ #: public/editor-build/236-wp/texts.php:796
3961
  msgid "Show on Desktop"
3962
  msgstr ""
3963
 
3964
+ #: public/editor-build/236-wp/texts.php:797
3965
  msgid "Show to"
3966
  msgstr ""
3967
 
3968
+ #: public/editor-build/236-wp/texts.php:798
3969
  msgid "Sidebar"
3970
  msgstr ""
3971
 
3972
+ #: public/editor-build/236-wp/texts.php:799
3973
+ msgid "Sign-in link"
3974
+ msgstr ""
3975
+
3976
+ #: public/editor-build/236-wp/texts.php:800
3977
  msgid "SignUp"
3978
  msgstr ""
3979
 
3980
+ #: public/editor-build/236-wp/texts.php:801
3981
  msgid "Size"
3982
  msgstr ""
3983
 
3984
+ #: public/editor-build/236-wp/texts.php:802
3985
+ msgid "Size 2"
3986
+ msgstr ""
3987
+
3988
+ #: public/editor-build/236-wp/texts.php:803
3989
  msgid "Skin"
3990
  msgstr ""
3991
 
3992
+ #: public/editor-build/236-wp/texts.php:804
3993
  msgid "Skin 1"
3994
  msgstr ""
3995
 
3996
+ #: public/editor-build/236-wp/texts.php:805
3997
  msgid "Skin 2"
3998
  msgstr ""
3999
 
4000
+ #: public/editor-build/236-wp/texts.php:806
4001
  msgid "Skin 3"
4002
  msgstr ""
4003
 
4004
+ #: public/editor-build/236-wp/texts.php:807
4005
  msgid "Skin 4"
4006
  msgstr ""
4007
 
4008
+ #: public/editor-build/236-wp/texts.php:808
4009
  msgid "Skip"
4010
  msgstr ""
4011
 
4012
+ #: public/editor-build/236-wp/texts.php:809
4013
  msgid "Sku"
4014
  msgstr ""
4015
 
4016
+ #: public/editor-build/236-wp/texts.php:810
4017
  msgid "Slide"
4018
  msgstr ""
4019
 
4020
+ #: public/editor-build/236-wp/texts.php:811
4021
  msgid "SlideInDown"
4022
  msgstr ""
4023
 
4024
+ #: public/editor-build/236-wp/texts.php:812
4025
  msgid "SlideInLeft"
4026
  msgstr ""
4027
 
4028
+ #: public/editor-build/236-wp/texts.php:813
4029
  msgid "SlideInRight"
4030
  msgstr ""
4031
 
4032
+ #: public/editor-build/236-wp/texts.php:814
4033
  msgid "SlideInUp"
4034
  msgstr ""
4035
 
4036
+ #: public/editor-build/236-wp/texts.php:815
4037
  msgid "Slider"
4038
  msgstr ""
4039
 
4040
+ #: public/editor-build/236-wp/texts.php:816
4041
  msgid "Slides"
4042
  msgstr ""
4043
 
4044
+ #: public/editor-build/236-wp/texts.php:817
4045
  msgid "Slug"
4046
  msgstr ""
4047
 
4048
+ #: public/editor-build/236-wp/texts.php:818
4049
  msgid "Solid"
4050
  msgstr ""
4051
 
4052
+ #: public/editor-build/236-wp/texts.php:819
4053
  msgid "Some integrations are available only in PRO"
4054
  msgstr ""
4055
 
4056
+ #: public/editor-build/236-wp/texts.php:821
 
 
 
 
4057
  msgid "SoundCloud"
4058
  msgstr ""
4059
 
4060
+ #: public/editor-build/236-wp/texts.php:822
4061
  msgid "SoundCloud Link"
4062
  msgstr ""
4063
 
4064
+ #: public/editor-build/236-wp/texts.php:823
4065
  msgid "Source"
4066
  msgstr ""
4067
 
4068
+ #: public/editor-build/236-wp/texts.php:824
4069
  msgid "Source ID"
4070
  msgstr ""
4071
 
4072
+ #: public/editor-build/236-wp/texts.php:825
4073
  msgid "Source Type"
4074
  msgstr ""
4075
 
4076
+ #: public/editor-build/236-wp/texts.php:826
4077
  msgid "Spacer"
4078
  msgstr ""
4079
 
4080
+ #: public/editor-build/236-wp/texts.php:827
4081
  msgid "Spacing"
4082
  msgstr ""
4083
 
4084
+ #: public/editor-build/236-wp/texts.php:828
4085
  msgid "Span"
4086
  msgstr ""
4087
 
4088
+ #: public/editor-build/236-wp/texts.php:829
4089
  msgid "Spanish"
4090
  msgstr ""
4091
 
4092
+ #: public/editor-build/236-wp/texts.php:830
4093
+ msgid "Specific User"
4094
+ msgstr ""
4095
+
4096
+ #: public/editor-build/236-wp/texts.php:831
4097
  msgid "Specify a start time (in seconds)"
4098
  msgstr ""
4099
 
4100
+ #: public/editor-build/236-wp/texts.php:832
4101
  msgid "Specify an end time (in seconds)"
4102
  msgstr ""
4103
 
4104
+ #: public/editor-build/236-wp/texts.php:833
4105
  msgid "Speed"
4106
  msgstr ""
4107
 
4108
+ #: public/editor-build/236-wp/texts.php:834
4109
  msgid "Sport"
4110
  msgstr ""
4111
 
4112
+ #: public/editor-build/236-wp/texts.php:835
4113
  msgid "Square"
4114
  msgstr ""
4115
 
4116
+ #: public/editor-build/236-wp/texts.php:836
4117
  msgid "Stars"
4118
  msgstr ""
4119
 
4120
+ #: public/editor-build/236-wp/texts.php:837
4121
  msgid "Stars Bg"
4122
  msgstr ""
4123
 
4124
+ #: public/editor-build/236-wp/texts.php:838
4125
+ msgid "Stars count"
4126
+ msgstr ""
4127
+
4128
+ #: public/editor-build/236-wp/texts.php:839
4129
  msgid "Start"
4130
  msgstr ""
4131
 
4132
+ #: public/editor-build/236-wp/texts.php:840
4133
  msgid "Static"
4134
  msgstr ""
4135
 
4136
+ #: public/editor-build/236-wp/texts.php:841
4137
  msgid "Status"
4138
  msgstr ""
4139
 
4140
+ #: public/editor-build/236-wp/texts.php:842
4141
+ msgid "Step"
4142
+ msgstr ""
4143
+
4144
+ #: public/editor-build/236-wp/texts.php:843
4145
  msgid "Sticky"
4146
  msgstr ""
4147
 
4148
+ #: public/editor-build/236-wp/texts.php:844
4149
  msgid "Stock"
4150
  msgstr ""
4151
 
4152
+ #: public/editor-build/236-wp/texts.php:846
4153
  msgid "Story"
4154
  msgstr ""
4155
 
4156
+ #: public/editor-build/236-wp/texts.php:847
4157
  msgid "Strike"
4158
  msgstr ""
4159
 
4160
+ #: public/editor-build/236-wp/texts.php:848
4161
+ msgid "Stroke"
4162
+ msgstr ""
4163
+
4164
+ #: public/editor-build/236-wp/texts.php:849
4165
  msgid "Style"
4166
  msgstr ""
4167
 
4168
+ #: public/editor-build/236-wp/texts.php:850
4169
  msgid "Styles"
4170
  msgstr ""
4171
 
4172
+ #: public/editor-build/236-wp/texts.php:851
4173
  msgid "Styling"
4174
  msgstr ""
4175
 
4176
+ #: public/editor-build/236-wp/texts.php:852
4177
  msgid "Sub Title"
4178
  msgstr ""
4179
 
4180
+ #: public/editor-build/236-wp/texts.php:853
4181
  msgid "Subject"
4182
  msgstr ""
4183
 
4184
+ #: public/editor-build/236-wp/texts.php:854
4185
  msgid "Subtotal"
4186
  msgstr ""
4187
 
4188
+ #: public/editor-build/236-wp/texts.php:855
4189
  msgid "Success"
4190
  msgstr ""
4191
 
4192
+ #: public/editor-build/236-wp/texts.php:856
4193
  msgid "Suffix"
4194
  msgstr ""
4195
 
4196
+ #: public/editor-build/236-wp/texts.php:857
4197
  msgid "Support"
4198
  msgstr ""
4199
 
4200
+ #: public/editor-build/236-wp/texts.php:858
4201
  msgid "Swing"
4202
  msgstr ""
4203
 
4204
+ #: public/editor-build/236-wp/texts.php:859
4205
  msgid "Switch to Draft"
4206
  msgstr ""
4207
 
4208
+ #: public/editor-build/236-wp/texts.php:860
4209
  msgid "Switch to desktop to add blocks"
4210
  msgstr ""
4211
 
4212
+ #: public/editor-build/236-wp/texts.php:861
4213
  msgid "Switch to desktop to add popup"
4214
  msgstr ""
4215
 
4216
+ #: public/editor-build/236-wp/texts.php:862
4217
  msgid "Switcher"
4218
  msgstr ""
4219
 
4220
+ #: public/editor-build/236-wp/texts.php:863
 
 
 
 
4221
  msgid "Sync Now"
4222
  msgstr ""
4223
 
4224
+ #: public/editor-build/236-wp/texts.php:864
4225
  msgid "TTF File"
4226
  msgstr ""
4227
 
4228
+ #: public/editor-build/236-wp/texts.php:865
4229
  msgid "Tab"
4230
  msgstr ""
4231
 
4232
+ #: public/editor-build/236-wp/texts.php:866
4233
  msgid "Table"
4234
  msgstr ""
4235
 
4236
+ #: public/editor-build/236-wp/texts.php:867
4237
  msgid "Table Head"
4238
  msgstr ""
4239
 
4240
+ #: public/editor-build/236-wp/texts.php:868
4241
  msgid "Table Sidebar"
4242
  msgstr ""
4243
 
4244
+ #: public/editor-build/236-wp/texts.php:869
4245
  msgid "Tablet"
4246
  msgstr ""
4247
 
4248
+ #: public/editor-build/236-wp/texts.php:870
4249
  msgid "Tabs"
4250
  msgstr ""
4251
 
4252
+ #: public/editor-build/236-wp/texts.php:871
 
 
 
 
4253
  msgid "Tada"
4254
  msgstr ""
4255
 
4256
+ #: public/editor-build/236-wp/texts.php:872
4257
  msgid "Tags"
4258
  msgstr ""
4259
 
4260
+ #: public/editor-build/236-wp/texts.php:873
4261
  msgid "Tail"
4262
  msgstr ""
4263
 
4264
+ #: public/editor-build/236-wp/texts.php:874
4265
  msgid "Take over"
4266
  msgstr ""
4267
 
4268
+ #: public/editor-build/236-wp/texts.php:875
4269
  msgid "Take over failed please refresh the page"
4270
  msgstr ""
4271
 
4272
+ #: public/editor-build/236-wp/texts.php:876
4273
  msgid "Target URL"
4274
  msgstr ""
4275
 
4276
+ #: public/editor-build/236-wp/texts.php:877
4277
+ msgid "Taxonomy"
4278
+ msgstr ""
4279
+
4280
+ #: public/editor-build/236-wp/texts.php:878
4281
  msgid "Team"
4282
  msgstr ""
4283
 
4284
+ #: public/editor-build/236-wp/texts.php:879
4285
  msgid "Tel"
4286
  msgstr ""
4287
 
4288
+ #: public/editor-build/236-wp/texts.php:880
4289
  msgid "Testimonials"
4290
  msgstr ""
4291
 
4292
+ #: public/editor-build/236-wp/texts.php:881
4293
  msgid "Text"
4294
  msgstr ""
4295
 
4296
+ #: public/editor-build/236-wp/texts.php:882
4297
+ msgid "Text Shadow"
4298
+ msgstr ""
4299
+
4300
+ #: public/editor-build/236-wp/texts.php:883
4301
  msgid "The element you have selected doesn't have more settings"
4302
  msgstr ""
4303
 
4304
+ #: public/editor-build/236-wp/texts.php:884
4305
  msgid "The email address format is not valid"
4306
  msgstr ""
4307
 
4308
+ #: public/editor-build/236-wp/texts.php:885
4309
  msgid "The integration is not responding, please try again or verify the account credentials"
4310
  msgstr ""
4311
 
4312
+ #: public/editor-build/236-wp/texts.php:886
4313
  msgid "Theme"
4314
  msgstr ""
4315
 
4316
+ #: public/editor-build/236-wp/texts.php:887
4317
  msgid "There are no choices"
4318
  msgstr ""
4319
 
4320
+ #: public/editor-build/236-wp/texts.php:888
4321
  msgid "Thin"
4322
  msgstr ""
4323
 
4324
+ #: public/editor-build/236-wp/texts.php:889
4325
  msgid "This is Lottie .json URL. Get more from LottieFiles.com."
4326
  msgstr ""
4327
 
4328
+ #: public/editor-build/236-wp/texts.php:890
4329
  msgid "This page needs a refresh. You’ve probably updated this page (or another page) in a different tab or browser."
4330
  msgstr ""
4331
 
4332
+ #: public/editor-build/236-wp/texts.php:891
4333
  msgid "Thumbs"
4334
  msgstr ""
4335
 
4336
+ #: public/editor-build/236-wp/texts.php:892
4337
  msgid "Time"
4338
  msgstr ""
4339
 
4340
+ #: public/editor-build/236-wp/texts.php:893
4341
  msgid "Time Zone"
4342
  msgstr ""
4343
 
4344
+ #: public/editor-build/236-wp/texts.php:894
4345
  msgid "Timeline"
4346
  msgstr ""
4347
 
4348
+ #: public/editor-build/236-wp/texts.php:895
4349
  msgid "Timeline Items"
4350
  msgstr ""
4351
 
4352
+ #: public/editor-build/236-wp/texts.php:896
4353
  msgid "Timeline Labels"
4354
  msgstr ""
4355
 
4356
+ #: public/editor-build/236-wp/texts.php:897
4357
  msgid "Timer"
4358
  msgstr ""
4359
 
4360
+ #: public/editor-build/236-wp/texts.php:898
4361
  msgid "Tip: Use these shortcodes to populate your template"
4362
  msgstr ""
4363
 
4364
+ #: public/editor-build/236-wp/texts.php:899
4365
  msgid "Tip: You can browse the Google font library"
4366
  msgstr ""
4367
 
4368
+ #: public/editor-build/236-wp/texts.php:900
4369
  msgid "Title"
4370
  msgstr ""
4371
 
4372
+ #: public/editor-build/236-wp/texts.php:901
4373
+ msgid "Title Padding"
4374
+ msgstr ""
4375
+
4376
+ #: public/editor-build/236-wp/texts.php:902
4377
  msgid "Titles"
4378
  msgstr ""
4379
 
4380
+ #: public/editor-build/236-wp/texts.php:903
4381
  msgid "To Dashboard"
4382
  msgstr ""
4383
 
4384
+ #: public/editor-build/236-wp/texts.php:904
4385
  msgid "Toggle Menu"
4386
  msgstr ""
4387
 
4388
+ #: public/editor-build/236-wp/texts.php:905
4389
  msgid "Top"
4390
  msgstr ""
4391
 
4392
+ #: public/editor-build/236-wp/texts.php:906
4393
  msgid "Total"
4394
  msgstr ""
4395
 
4396
+ #: public/editor-build/236-wp/texts.php:907
4397
+ msgid "Translation"
4398
+ msgstr ""
4399
+
4400
+ #: public/editor-build/236-wp/texts.php:908
4401
+ msgid "Transparency"
4402
+ msgstr ""
4403
+
4404
+ #: public/editor-build/236-wp/texts.php:909
4405
  msgid "Trash"
4406
  msgstr ""
4407
 
4408
+ #: public/editor-build/236-wp/texts.php:910
4409
  msgid "Travel"
4410
  msgstr ""
4411
 
4412
+ #: public/editor-build/236-wp/texts.php:911
4413
  msgid "Trigger Popup Only Once"
4414
  msgstr ""
4415
 
4416
+ #: public/editor-build/236-wp/texts.php:912
4417
  msgid "Triggers"
4418
  msgstr ""
4419
 
4420
+ #: public/editor-build/236-wp/texts.php:913
4421
  msgid "Try Again"
4422
  msgstr ""
4423
 
4424
+ #: public/editor-build/236-wp/texts.php:914
4425
  msgid "Tweet"
4426
  msgstr ""
4427
 
4428
+ #: public/editor-build/236-wp/texts.php:915
4429
  msgid "Twitter"
4430
  msgstr ""
4431
 
4432
+ #: public/editor-build/236-wp/texts.php:916
4433
  msgid "Type"
4434
  msgstr ""
4435
 
4436
+ #: public/editor-build/236-wp/texts.php:917
4437
  msgid "Type to Search ..."
4438
  msgstr ""
4439
 
4440
+ #: public/editor-build/236-wp/texts.php:918
4441
  msgid "Type to search"
4442
  msgstr ""
4443
 
4444
+ #: public/editor-build/236-wp/texts.php:919
4445
  msgid "Typography"
4446
  msgstr ""
4447
 
4448
+ #: public/editor-build/236-wp/texts.php:920
4449
  msgid "UPLOAD"
4450
  msgstr ""
4451
 
4452
+ #: public/editor-build/236-wp/texts.php:921
4453
  msgid "UPLOAD FONT"
4454
  msgstr ""
4455
 
4456
+ #: public/editor-build/236-wp/texts.php:922
4457
  msgid "URL"
4458
  msgstr ""
4459
 
4460
+ #: public/editor-build/236-wp/texts.php:923
4461
  msgid "USE CUSTOM TEMPLATE"
4462
  msgstr ""
4463
 
4464
+ #: public/editor-build/236-wp/texts.php:924
4465
  msgid "Unable to insert block. Please try again or contact support"
4466
  msgstr ""
4467
 
4468
+ #: public/editor-build/236-wp/texts.php:925
4469
  msgid "Unable to insert layout. Please try again or contact support"
4470
  msgstr ""
4471
 
4472
+ #: public/editor-build/236-wp/texts.php:926
4473
  msgid "Unable to insert popup. Please try again or contact support"
4474
  msgstr ""
4475
 
4476
+ #: public/editor-build/236-wp/texts.php:927
4477
+ msgid "Unable to upload"
4478
+ msgstr ""
4479
+
4480
+ #: public/editor-build/236-wp/texts.php:928
4481
  msgid "Underline"
4482
  msgstr ""
4483
 
4484
+ #: public/editor-build/236-wp/texts.php:929
4485
  msgid "Undo"
4486
  msgstr ""
4487
 
4488
+ #: public/editor-build/236-wp/texts.php:930
4489
  msgid "Unlocked"
4490
  msgstr ""
4491
 
4492
+ #: public/editor-build/236-wp/texts.php:931
4493
  msgid "Unsuccessful sync"
4494
  msgstr ""
4495
 
4496
+ #: public/editor-build/236-wp/texts.php:932
4497
+ msgid "Up"
4498
+ msgstr ""
4499
+
4500
+ #: public/editor-build/236-wp/texts.php:933
4501
+ msgid "UpDown"
4502
+ msgstr ""
4503
+
4504
+ #: public/editor-build/236-wp/texts.php:934
4505
+ msgid "UpLeft"
4506
+ msgstr ""
4507
+
4508
+ #: public/editor-build/236-wp/texts.php:935
4509
+ msgid "UpRight"
4510
+ msgstr ""
4511
+
4512
+ #: public/editor-build/236-wp/texts.php:936
4513
  msgid "Update"
4514
  msgstr ""
4515
 
4516
+ #: public/editor-build/236-wp/texts.php:937
4517
+ msgid "Upgrade to PRO to use this"
4518
+ msgstr ""
4519
+
4520
+ #: public/editor-build/236-wp/texts.php:938
4521
  msgid "Upgrade to PRO to use this block"
4522
  msgstr ""
4523
 
4524
+ #: public/editor-build/236-wp/texts.php:939
4525
  msgid "Upgrade to PRO to use this element"
4526
  msgstr ""
4527
 
4528
+ #: public/editor-build/236-wp/texts.php:940
4529
  msgid "Upgrade to PRO to use this integration"
4530
  msgstr ""
4531
 
4532
+ #: public/editor-build/236-wp/texts.php:941
4533
  msgid "Upgrade to PRO to use this layout"
4534
  msgstr ""
4535
 
4536
+ #: public/editor-build/236-wp/texts.php:942
4537
  msgid "Upgrade to PRO to use this story"
4538
  msgstr ""
4539
 
4540
+ #: public/editor-build/236-wp/texts.php:943
4541
  msgid "Upgrade to Pro"
4542
  msgstr ""
4543
 
4544
+ #: public/editor-build/236-wp/texts.php:944
4545
  msgid "Upsell"
4546
  msgstr ""
4547
 
4548
+ #: public/editor-build/236-wp/texts.php:945
4549
  msgid "Upsell Pagination"
4550
  msgstr ""
4551
 
4552
+ #: public/editor-build/236-wp/texts.php:946
4553
  msgid "Upsell Tags"
4554
  msgstr ""
4555
 
4556
+ #: public/editor-build/236-wp/texts.php:947
4557
  msgid "Url"
4558
  msgstr ""
4559
 
4560
+ #: public/editor-build/236-wp/texts.php:948
4561
  msgid "Use Small Header"
4562
  msgstr ""
4563
 
4564
+ #: public/editor-build/236-wp/texts.php:949
4565
  msgid "Username"
4566
  msgstr ""
4567
 
4568
+ #: public/editor-build/236-wp/texts.php:950
4569
  msgid "Users"
4570
  msgstr ""
4571
 
4572
+ #: public/editor-build/236-wp/texts.php:951
4573
  msgid "Value"
4574
  msgstr ""
4575
 
4576
+ #: public/editor-build/236-wp/texts.php:952
4577
+ msgid "Value Bg"
4578
+ msgstr ""
4579
+
4580
+ #: public/editor-build/236-wp/texts.php:953
4581
  msgid "Values"
4582
  msgstr ""
4583
 
4584
+ #: public/editor-build/236-wp/texts.php:954
4585
  msgid "Variations"
4586
  msgstr ""
4587
 
4588
+ #: public/editor-build/236-wp/texts.php:955
4589
  msgid "Verification process failed, please make sure you have done the following three things and try again in a few minutes."
4590
  msgstr ""
4591
 
4592
+ #: public/editor-build/236-wp/texts.php:956
4593
  msgid "Vertical"
4594
  msgstr ""
4595
 
4596
+ #: public/editor-build/236-wp/texts.php:957
4597
  msgid "Vertical Align"
4598
  msgstr ""
4599
 
4600
+ #: public/editor-build/236-wp/texts.php:958
4601
  msgid "Vertical Offset"
4602
  msgstr ""
4603
 
4604
+ #: public/editor-build/236-wp/texts.php:959
4605
  msgid "Video"
4606
  msgstr ""
4607
 
4608
+ #: public/editor-build/236-wp/texts.php:960
4609
  msgid "View as"
4610
  msgstr ""
4611
 
4612
+ #: public/editor-build/236-wp/texts.php:961
4613
  msgid "Vimeo"
4614
  msgstr ""
4615
 
4616
+ #: public/editor-build/236-wp/texts.php:962
4617
  msgid "Volume"
4618
  msgstr ""
4619
 
4620
+ #: public/editor-build/236-wp/texts.php:963
4621
  msgid "WHAT WILL TRIGGER THE POPUP TO OPEN"
4622
  msgstr ""
4623
 
4624
+ #: public/editor-build/236-wp/texts.php:964
4625
  msgid "WHERE DO YOU WANT TO DISPLAY IT?"
4626
  msgstr ""
4627
 
4628
+ #: public/editor-build/236-wp/texts.php:965
4629
  msgid "WOFF File"
4630
  msgstr ""
4631
 
4632
+ #: public/editor-build/236-wp/texts.php:966
4633
  msgid "WOFF2 File"
4634
  msgstr ""
4635
 
4636
+ #: public/editor-build/236-wp/texts.php:967
4637
  msgid "WOOCart"
4638
  msgstr ""
4639
 
4640
+ #: public/editor-build/236-wp/texts.php:968
4641
  msgid "WOORating"
4642
  msgstr ""
4643
 
4644
+ #: public/editor-build/236-wp/texts.php:969
4645
  msgid "Weight"
4646
  msgstr ""
4647
 
4648
+ #: public/editor-build/236-wp/texts.php:970
4649
  msgid "When Finished"
4650
  msgstr ""
4651
 
4652
+ #: public/editor-build/236-wp/texts.php:971
4653
  msgid "Width"
4654
  msgstr ""
4655
 
4656
+ #: public/editor-build/236-wp/texts.php:972
4657
+ msgid "Width Option"
4658
+ msgstr ""
4659
+
4660
+ #: public/editor-build/236-wp/texts.php:973
4661
  msgid "Wobble"
4662
  msgstr ""
4663
 
4664
+ #: public/editor-build/236-wp/texts.php:974
4665
  msgid "Woo Product"
4666
  msgstr ""
4667
 
4668
+ #: public/editor-build/236-wp/texts.php:975
4669
  msgid "WordPress"
4670
  msgstr ""
4671
 
4672
+ #: public/editor-build/236-wp/texts.php:976
4673
+ msgid "X"
4674
+ msgstr ""
4675
+
4676
+ #: public/editor-build/236-wp/texts.php:977
4677
+ msgid "Y"
4678
+ msgstr ""
4679
+
4680
+ #: public/editor-build/236-wp/texts.php:978
4681
  msgid "YOUR PAGE IS READY TO PUBLISH!"
4682
  msgstr ""
4683
 
4684
+ #: public/editor-build/236-wp/texts.php:979
4685
  msgid "You can"
4686
  msgstr ""
4687
 
4688
+ #: public/editor-build/236-wp/texts.php:980
4689
+ msgid "You can use these shortcodes in your email: "
4690
+ msgstr ""
4691
+
4692
+ #: public/editor-build/236-wp/texts.php:981
4693
  msgid "You can't add it again"
4694
  msgstr ""
4695
 
4696
+ #: public/editor-build/236-wp/texts.php:982
4697
  msgid "You can’t make changes"
4698
  msgstr ""
4699
 
4700
+ #: public/editor-build/236-wp/texts.php:983
4701
  msgid "You have successfully connect the form with"
4702
  msgstr ""
4703
 
4704
+ #: public/editor-build/236-wp/texts.php:984
4705
  msgid "You must be have one font added"
4706
  msgstr ""
4707
 
4708
+ #: public/editor-build/236-wp/texts.php:985
4709
  msgid "You must be have one selected item"
4710
  msgstr ""
4711
 
4712
+ #: public/editor-build/236-wp/texts.php:986
4713
  msgid "You must specify a title"
4714
  msgstr ""
4715
 
4716
+ #: public/editor-build/236-wp/texts.php:987
4717
  msgid "YouTube or Vimeo"
4718
  msgstr ""
4719
 
4720
+ #: public/editor-build/236-wp/texts.php:988
4721
  msgid "Your Plugin version is incompatible with Account version, please update plugin"
4722
  msgstr ""
4723
 
4724
+ #: public/editor-build/236-wp/texts.php:989
4725
  msgid "Your block was saved without screenshot, browser is not compatible"
4726
  msgstr ""
4727
 
4728
+ #: public/editor-build/236-wp/texts.php:990
4729
  msgid "Your link is not correct"
4730
  msgstr ""
4731
 
4732
+ #: public/editor-build/236-wp/texts.php:991
4733
  msgid "Youtube"
4734
  msgstr ""
4735
 
4736
+ #: public/editor-build/236-wp/texts.php:992
4737
  msgid "Z-index"
4738
  msgstr ""
4739
 
4740
+ #: public/editor-build/236-wp/texts.php:993
4741
  msgid "Zoom"
4742
  msgstr ""
4743
 
4744
+ #: public/editor-build/236-wp/texts.php:994
4745
  msgid "ZoomIn"
4746
  msgstr ""
4747
 
4748
+ #: public/editor-build/236-wp/texts.php:995
4749
  msgid "ZoomInDown"
4750
  msgstr ""
4751
 
4752
+ #: public/editor-build/236-wp/texts.php:996
4753
  msgid "ZoomInLeft"
4754
  msgstr ""
4755
 
4756
+ #: public/editor-build/236-wp/texts.php:997
4757
  msgid "ZoomInRight"
4758
  msgstr ""
4759
 
4760
+ #: public/editor-build/236-wp/texts.php:998
4761
  msgid "ZoomInUp"
4762
  msgstr ""
4763
 
4764
+ #: public/editor-build/236-wp/texts.php:999
4765
  msgid "block-name"
4766
  msgstr ""
4767
 
4768
+ #: public/editor-build/236-wp/texts.php:1000
4769
  msgid "component"
4770
  msgstr ""
4771
 
4772
+ #: public/editor-build/236-wp/texts.php:1001
4773
+ msgid "element"
4774
+ msgstr ""
4775
+
4776
+ #: public/editor-build/236-wp/texts.php:1002
4777
  msgid "here"
4778
  msgstr ""
4779
 
4780
+ #: public/editor-build/236-wp/texts.php:1003
4781
  msgid "in your WordPress admin"
4782
  msgstr ""
4783
 
4784
+ #: public/editor-build/236-wp/texts.php:1004
4785
  msgid "is already editing project"
4786
  msgstr ""
4787
 
4788
+ #: public/editor-build/236-wp/texts.php:1005
4789
  msgid "is currently working on this page. Do you want to take over"
4790
  msgstr ""
4791
 
4792
+ #: public/editor-build/236-wp/texts.php:1006
4793
  msgid "layout"
4794
  msgstr ""
4795
 
4796
+ #: public/editor-build/236-wp/texts.php:1007
4797
  msgid "layouts"
4798
  msgstr ""
4799
 
4800
+ #: public/editor-build/236-wp/texts.php:1008
4801
  msgid "open an issue"
4802
  msgstr ""
4803
 
4804
+ #: public/editor-build/236-wp/texts.php:1009
4805
  msgid "or"
4806
  msgstr ""
4807
 
4808
+ #: public/editor-build/236-wp/texts.php:1010
4809
  msgid "remove this element"
4810
  msgstr ""
4811
 
4812
+ #: public/editor-build/236-wp/texts.php:1011
4813
  msgid "required"
4814
  msgstr ""
4815
 
4816
+ #: public/editor-build/236-wp/texts.php:1013
4817
  msgid "story"
4818
  msgstr ""
4819
 
public/editor-build/236-wp/editor/js/editor.js DELETED
@@ -1 +0,0 @@
1
- !function(e){function t(t){for(var n,a,l=t[0],s=t[1],c=t[2],p=0,u=[];p<l.length;p++)a=l[p],Object.prototype.hasOwnProperty.call(i,a)&&i[a]&&u.push(i[a][0]),i[a]=0;for(n in s)Object.prototype.hasOwnProperty.call(s,n)&&(e[n]=s[n]);for(d&&d(t);u.length;)u.shift()();return r.push.apply(r,c||[]),o()}function o(){for(var e,t=0;t<r.length;t++){for(var o=r[t],n=!0,l=1;l<o.length;l++){var s=o[l];0!==i[s]&&(n=!1)}n&&(r.splice(t--,1),e=a(a.s=o[0]))}return e}var n={},i={0:0},r=[];function a(t){if(n[t])return n[t].exports;var o=n[t]={i:t,l:!1,exports:{}};return e[t].call(o.exports,o,o.exports,a),o.l=!0,o.exports}a.e=function(e){var t=[],o=i[e];if(0!==o)if(o)t.push(o[2]);else{var n=new Promise((function(t,n){o=i[e]=[t,n]}));t.push(o[2]=n);var r,l=document.createElement("script");l.charset="utf-8",l.timeout=120,a.nc&&l.setAttribute("nonce",a.nc),l.src=function(e){return a.p+""+({}[e]||e)+".js"}(e);var s=new Error;r=function(t){l.onerror=l.onload=null,clearTimeout(c);var o=i[e];if(0!==o){if(o){var n=t&&("load"===t.type?"missing":t.type),r=t&&t.target&&t.target.src;s.message="Loading chunk "+e+" failed.\n("+n+": "+r+")",s.name="ChunkLoadError",s.type=n,s.request=r,o[1](s)}i[e]=void 0}};var c=setTimeout((function(){r({type:"timeout",target:l})}),12e4);l.onerror=l.onload=r,document.head.appendChild(l)}return Promise.all(t)},a.m=e,a.c=n,a.d=function(e,t,o){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(a.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)a.d(o,n,function(t){return e[t]}.bind(null,n));return o},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="",a.oe=function(e){throw console.error(e),e};var l=window.webpackJsonp=window.webpackJsonp||[],s=l.push.bind(l);l.push=t,l=l.slice();for(var c=0;c<l.length;c++)t(l[c]);var d=s;r.push([723,1]),o()}([,function(e,t,o){"use strict";var n=o(301);o.d(t,"a",(function(){return n.a}))},,function(e,t,o){"use strict";o.r(t),o.d(t,"saveOnChanges",(function(){return c})),o.d(t,"defaultValueKey",(function(){return a.a})),o.d(t,"defaultValueValue",(function(){return a.b})),o.d(t,"deviceStateValueByKey",(function(){return a.c})),o.d(t,"makeKeyByStateDevice",(function(){return a.e})),o.d(t,"onChangeBgImage",(function(){return g})),o.d(t,"onChangeBgImageBgOpacity",(function(){return f})),o.d(t,"onChangeBgImageDependencies",(function(){return v})),o.d(t,"onChangeBgImageColumnAndRowSyncMobile",(function(){return y})),o.d(t,"onChangeBorderStyle2",(function(){return x})),o.d(t,"onChangeElementBorderStyleDependencies2",(function(){return C})),o.d(t,"onChangeContainerBorderStyleDependencies2",(function(){return B})),o.d(t,"onChangeBorderColorHexAndOpacity2",(function(){return j})),o.d(t,"onChangeBorderColorHexAndOpacityPalette2",(function(){return P})),o.d(t,"onChangeElementBorderColorHexAndOpacityDependencies2",(function(){return T})),o.d(t,"onChangeContainerBorderColorHexAndOpacityDependencies2",(function(){return w})),o.d(t,"onChangeBorderColorHexAndOpacityColumnAndRowSyncTablet2",(function(){return E})),o.d(t,"onChangeBorderColorHexAndOpacityColumnAndRowSyncMobile2",(function(){return z})),o.d(t,"onChangeBorderColorPalette2",(function(){return k})),o.d(t,"onChangeBorderColorPaletteOpacity2",(function(){return F})),o.d(t,"onChangeBorderWidthType2",(function(){return _})),o.d(t,"onChangeBorderWidthGrouped2",(function(){return R})),o.d(t,"onChangeBorderWidthGroupedDependencies2",(function(){return H})),o.d(t,"onChangeBorderWidthUngrouped2",(function(){return L})),o.d(t,"onChangeBorderWidthUngroupedDependencies2",(function(){return M})),o.d(t,"onChangeColorHexAndOpacity",(function(){return W})),o.d(t,"onChangeColorHexAndOpacityPalette",(function(){return N})),o.d(t,"onChangeColorPalette",(function(){return V})),o.d(t,"onChangeColorPaletteOpacity",(function(){return A})),o.d(t,"onChangeBgColorType2",(function(){return $})),o.d(t,"onChangeGradientRange2",(function(){return G})),o.d(t,"onChangeBgColorHexAndOpacity2",(function(){return U})),o.d(t,"onChangeBgColorHexAndOpacityPalette2",(function(){return K})),o.d(t,"onChangeBgColorHexAndOpacityDependencies2",(function(){return Y})),o.d(t,"onChangeBgColorHexAndOpacityColumnAndRowSyncMobile2",(function(){return q})),o.d(t,"onChangeBgColorPalette2",(function(){return X})),o.d(t,"onChangeBgColorPaletteOpacity2",(function(){return J})),o.d(t,"onChangeBoxShadowHexAndOpacity2",(function(){return te})),o.d(t,"onChangeBoxShadowHexAndOpacityPalette2",(function(){return oe})),o.d(t,"onChangeBoxShadowHexAndOpacityDependencies2",(function(){return ne})),o.d(t,"onChangeBoxShadowPalette2",(function(){return ie})),o.d(t,"onChangeBoxShadowPaletteOpacity2",(function(){return re})),o.d(t,"onChangeBoxShadowType2",(function(){return Q})),o.d(t,"onChangeBoxShadowTypeDependencies2",(function(){return ee})),o.d(t,"onChangeBoxShadowFields2",(function(){return ae})),o.d(t,"onChangeBoxShadowFieldsDependencies2",(function(){return le})),o.d(t,"onChangeBoxShadowOpacity2",(function(){return se})),o.d(t,"onChangeTextShadowType",(function(){return ce})),o.d(t,"onChangeTextShadowHexAndOpacity",(function(){return de})),o.d(t,"onChangeTextShadowHexAndOpacityPalette",(function(){return pe})),o.d(t,"onChangeTextShadowPalette",(function(){return ue})),o.d(t,"onChangeTextShadowPaletteOpacity",(function(){return be})),o.d(t,"onChangeTextShadowFields",(function(){return me})),o.d(t,"onChangePaddingGrouped",(function(){return ve})),o.d(t,"onChangePaddingUngrouped",(function(){return ye})),o.d(t,"onChangeMarginGrouped",(function(){return xe})),o.d(t,"onChangeMarginUngrouped",(function(){return Ce})),o.d(t,"onChangeElementSectionBoxShadowHexAndOpacityDependencies",(function(){return Be})),o.d(t,"onChangeElementRichTextBgColorType2",(function(){return je})),o.d(t,"onChangeElementProgressBarBg2ColorHexAndOpacity",(function(){return Pe})),o.d(t,"onChangeElementProgressBarBg2ColorHexAndOpacityPalette",(function(){return Te})),o.d(t,"onChangeElementProgressBarBg2ColorHexAndOpacityDependencies",(function(){return we})),o.d(t,"onChangeElementProgressBarBg2ColorPalette",(function(){return Ee})),o.d(t,"onChangeElementProgressBarBg2ColorPaletteOpacity",(function(){return ze})),o.d(t,"onChangeElementIconBorderColorHex2",(function(){return Fe})),o.d(t,"onChangeElementIconBorderColorPalette2",(function(){return _e})),o.d(t,"onChangeElementIconBorderColorFields2",(function(){return Re})),o.d(t,"onChangeElementIconBorderHoverColorHex2",(function(){return He})),o.d(t,"onChangeElementIconBorderHoverColorPalette2",(function(){return Le})),o.d(t,"onChangeElementIconBorderHoverColorFields2",(function(){return Me})),o.d(t,"onChangeElementButtonBorderHoverColorHex2",(function(){return Ie})),o.d(t,"onChangeElementButtonBorderHoverColorPalette2",(function(){return We})),o.d(t,"onChangeElementButtonBorderHoverColorFields2",(function(){return Ne})),o.d(t,"onChangeBgColorHexButton2",(function(){return Ve})),o.d(t,"onChangeBgColorPaletteButton2",(function(){return Ae})),o.d(t,"onChangeBgColorFieldsButton2",(function(){return De})),o.d(t,"onChangeHoverBgColorHexButton2",(function(){return $e})),o.d(t,"onChangeHoverBgColorPaletteButton2",(function(){return Ge})),o.d(t,"onChangeHoverBgColorFieldsButton2",(function(){return Ue})),o.d(t,"onChangeColorHexButtonIcon2",(function(){return Ke})),o.d(t,"onChangeColorPaletteButtonIcon2",(function(){return Ye})),o.d(t,"onChangeColorFieldsButtonIcon2",(function(){return qe})),o.d(t,"onChangeHoverColorHexButtonIcon2",(function(){return Xe})),o.d(t,"onChangeHoverColorPaletteButtonIcon2",(function(){return Je})),o.d(t,"onChangeHoverColorFieldsButtonIcon2",(function(){return Ze})),o.d(t,"onChangeMenuColorHex2",(function(){return Qe})),o.d(t,"onChangeMenuColorPalette2",(function(){return et})),o.d(t,"onChangeMenuColorFields2",(function(){return tt})),o.d(t,"onChangeMenuHoverColorHex2",(function(){return ot})),o.d(t,"onChangeMenuHoverColorPalette2",(function(){return nt})),o.d(t,"onChangeMenuHoverColorFields2",(function(){return it})),o.d(t,"onChangeActiveColorHexSubMenu2",(function(){return Nt})),o.d(t,"onChangeActiveColorPaletteSubMenu2",(function(){return Vt})),o.d(t,"onChangeActiveColorFieldsSubMenu2",(function(){return At})),o.d(t,"onChangeBgActiveColorHexSubMenu2",(function(){return Dt})),o.d(t,"onChangeBgActiveColorPaletteSubMenu2",(function(){return $t})),o.d(t,"onChangeBgActiveColorFieldsSubMenu2",(function(){return Gt})),o.d(t,"onChangeColorHexMMenu2",(function(){return rt})),o.d(t,"onChangeColorPaletteMMenu2",(function(){return at})),o.d(t,"onChangeColorFieldsMMenu2",(function(){return lt})),o.d(t,"onChangeHoverColorHexMMenu2",(function(){return st})),o.d(t,"onChangeHoverColorPaletteMMenu2",(function(){return ct})),o.d(t,"onChangeHoverColorFieldsMMenu2",(function(){return dt})),o.d(t,"onChangeColorHexSubMenu2",(function(){return pt})),o.d(t,"onChangeColorPaletteSubMenu2",(function(){return ut})),o.d(t,"onChangeColorFieldsSubMenu2",(function(){return bt})),o.d(t,"onChangeHoverColorHexSubMenu2",(function(){return mt})),o.d(t,"onChangeHoverColorPaletteSubMenu2",(function(){return ht})),o.d(t,"onChangeHoverColorFieldsSubMenu2",(function(){return gt})),o.d(t,"onChangeColorHexIconMenu2",(function(){return ft})),o.d(t,"onChangeColorPaletteIconMenu2",(function(){return vt})),o.d(t,"onChangeColorFieldsIconMenu2",(function(){return yt})),o.d(t,"onChangeTabletColorHexIconMMenu2",(function(){return St})),o.d(t,"onChangeTabletColorPaletteIconMMenu2",(function(){return Ot})),o.d(t,"onChangeTabletColorFieldsIconMMenu2",(function(){return xt})),o.d(t,"onChangeMobileColorHexIconMMenu2",(function(){return Ct})),o.d(t,"onChangeMobileColorPaletteIconMMenu2",(function(){return Bt})),o.d(t,"onChangeMobileColorFieldsIconMMenu2",(function(){return jt})),o.d(t,"onChangeActiveColorHexMMenu2",(function(){return Ut})),o.d(t,"onChangeActiveColorPaletteMMenu2",(function(){return Kt})),o.d(t,"onChangeActiveColorFieldsMMenu2",(function(){return Yt})),o.d(t,"onChangeBgColorHexMMenu2",(function(){return Pt})),o.d(t,"onChangeBgColorPaletteMMenu2",(function(){return Tt})),o.d(t,"onChangeBgColorHexSubMenu2",(function(){return wt})),o.d(t,"onChangeBgColorPaletteSubMenu2",(function(){return Et})),o.d(t,"onChangeBgColorFieldsSubMenu2",(function(){return zt})),o.d(t,"onChangeBgHoverColorHexSubMenu2",(function(){return kt})),o.d(t,"onChangeBgHoverColorPaletteSubMenu2",(function(){return Ft})),o.d(t,"onChangeBgHoverColorFieldsSubMenu2",(function(){return _t})),o.d(t,"onChangeBorderColorHexMMenu2",(function(){return Rt})),o.d(t,"onChangeBorderColorPaletteMMenu2",(function(){return Ht})),o.d(t,"onChangeBorderColorFieldsMMenu2",(function(){return Lt})),o.d(t,"onChangeBorderColorHexSubMenu2",(function(){return Mt})),o.d(t,"onChangeBorderColorPaletteSubMenu2",(function(){return It})),o.d(t,"onChangeBorderColorFieldsSubMenu2",(function(){return Wt})),o.d(t,"onChangeTypography",(function(){return Zt})),o.d(t,"onChangeTypographyTablet",(function(){return Qt})),o.d(t,"onChangeTypographyMobile",(function(){return eo})),o.d(t,"tabletSyncOnChange",(function(){return a.g})),o.d(t,"mobileSyncOnChange",(function(){return a.f})),o.d(t,"keySyncOnChange",(function(){return a.d})),o.d(t,"validateKeyByProperty",(function(){return a.h})),o.d(t,"onChangeTypography2",(function(){return io}));var n={};o.r(n),o.d(n,"saveOnChanges",(function(){return c})),o.d(n,"defaultValueKey",(function(){return a.a})),o.d(n,"defaultValueValue",(function(){return a.b})),o.d(n,"deviceStateValueByKey",(function(){return a.c})),o.d(n,"makeKeyByStateDevice",(function(){return a.e})),o.d(n,"onChangeBgImage",(function(){return g})),o.d(n,"onChangeBgImageBgOpacity",(function(){return f})),o.d(n,"onChangeBgImageDependencies",(function(){return v})),o.d(n,"onChangeBgImageColumnAndRowSyncMobile",(function(){return y})),o.d(n,"onChangeBorderStyle2",(function(){return x})),o.d(n,"onChangeElementBorderStyleDependencies2",(function(){return C})),o.d(n,"onChangeContainerBorderStyleDependencies2",(function(){return B})),o.d(n,"onChangeBorderColorHexAndOpacity2",(function(){return j})),o.d(n,"onChangeBorderColorHexAndOpacityPalette2",(function(){return P})),o.d(n,"onChangeElementBorderColorHexAndOpacityDependencies2",(function(){return T})),o.d(n,"onChangeContainerBorderColorHexAndOpacityDependencies2",(function(){return w})),o.d(n,"onChangeBorderColorHexAndOpacityColumnAndRowSyncTablet2",(function(){return E})),o.d(n,"onChangeBorderColorHexAndOpacityColumnAndRowSyncMobile2",(function(){return z})),o.d(n,"onChangeBorderColorPalette2",(function(){return k})),o.d(n,"onChangeBorderColorPaletteOpacity2",(function(){return F})),o.d(n,"onChangeBorderWidthType2",(function(){return _})),o.d(n,"onChangeBorderWidthGrouped2",(function(){return R})),o.d(n,"onChangeBorderWidthGroupedDependencies2",(function(){return H})),o.d(n,"onChangeBorderWidthUngrouped2",(function(){return L})),o.d(n,"onChangeBorderWidthUngroupedDependencies2",(function(){return M})),o.d(n,"onChangeColorHexAndOpacity",(function(){return W})),o.d(n,"onChangeColorHexAndOpacityPalette",(function(){return N})),o.d(n,"onChangeColorPalette",(function(){return V})),o.d(n,"onChangeColorPaletteOpacity",(function(){return A})),o.d(n,"onChangeBgColorType2",(function(){return $})),o.d(n,"onChangeGradientRange2",(function(){return G})),o.d(n,"onChangeBgColorHexAndOpacity2",(function(){return U})),o.d(n,"onChangeBgColorHexAndOpacityPalette2",(function(){return K})),o.d(n,"onChangeBgColorHexAndOpacityDependencies2",(function(){return Y})),o.d(n,"onChangeBgColorHexAndOpacityColumnAndRowSyncMobile2",(function(){return q})),o.d(n,"onChangeBgColorPalette2",(function(){return X})),o.d(n,"onChangeBgColorPaletteOpacity2",(function(){return J})),o.d(n,"onChangeBoxShadowHexAndOpacity2",(function(){return te})),o.d(n,"onChangeBoxShadowHexAndOpacityPalette2",(function(){return oe})),o.d(n,"onChangeBoxShadowHexAndOpacityDependencies2",(function(){return ne})),o.d(n,"onChangeBoxShadowPalette2",(function(){return ie})),o.d(n,"onChangeBoxShadowPaletteOpacity2",(function(){return re})),o.d(n,"onChangeBoxShadowType2",(function(){return Q})),o.d(n,"onChangeBoxShadowTypeDependencies2",(function(){return ee})),o.d(n,"onChangeBoxShadowFields2",(function(){return ae})),o.d(n,"onChangeBoxShadowFieldsDependencies2",(function(){return le})),o.d(n,"onChangeBoxShadowOpacity2",(function(){return se})),o.d(n,"onChangeTextShadowType",(function(){return ce})),o.d(n,"onChangeTextShadowHexAndOpacity",(function(){return de})),o.d(n,"onChangeTextShadowHexAndOpacityPalette",(function(){return pe})),o.d(n,"onChangeTextShadowPalette",(function(){return ue})),o.d(n,"onChangeTextShadowPaletteOpacity",(function(){return be})),o.d(n,"onChangeTextShadowFields",(function(){return me})),o.d(n,"onChangePaddingGrouped",(function(){return ve})),o.d(n,"onChangePaddingUngrouped",(function(){return ye})),o.d(n,"onChangeMarginGrouped",(function(){return xe})),o.d(n,"onChangeMarginUngrouped",(function(){return Ce})),o.d(n,"onChangeElementSectionBoxShadowHexAndOpacityDependencies",(function(){return Be})),o.d(n,"onChangeElementRichTextBgColorType2",(function(){return je})),o.d(n,"onChangeElementProgressBarBg2ColorHexAndOpacity",(function(){return Pe})),o.d(n,"onChangeElementProgressBarBg2ColorHexAndOpacityPalette",(function(){return Te})),o.d(n,"onChangeElementProgressBarBg2ColorHexAndOpacityDependencies",(function(){return we})),o.d(n,"onChangeElementProgressBarBg2ColorPalette",(function(){return Ee})),o.d(n,"onChangeElementProgressBarBg2ColorPaletteOpacity",(function(){return ze})),o.d(n,"onChangeElementIconBorderColorHex2",(function(){return Fe})),o.d(n,"onChangeElementIconBorderColorPalette2",(function(){return _e})),o.d(n,"onChangeElementIconBorderColorFields2",(function(){return Re})),o.d(n,"onChangeElementIconBorderHoverColorHex2",(function(){return He})),o.d(n,"onChangeElementIconBorderHoverColorPalette2",(function(){return Le})),o.d(n,"onChangeElementIconBorderHoverColorFields2",(function(){return Me})),o.d(n,"onChangeElementButtonBorderHoverColorHex2",(function(){return Ie})),o.d(n,"onChangeElementButtonBorderHoverColorPalette2",(function(){return We})),o.d(n,"onChangeElementButtonBorderHoverColorFields2",(function(){return Ne})),o.d(n,"onChangeBgColorHexButton2",(function(){return Ve})),o.d(n,"onChangeBgColorPaletteButton2",(function(){return Ae})),o.d(n,"onChangeBgColorFieldsButton2",(function(){return De})),o.d(n,"onChangeHoverBgColorHexButton2",(function(){return $e})),o.d(n,"onChangeHoverBgColorPaletteButton2",(function(){return Ge})),o.d(n,"onChangeHoverBgColorFieldsButton2",(function(){return Ue})),o.d(n,"onChangeColorHexButtonIcon2",(function(){return Ke})),o.d(n,"onChangeColorPaletteButtonIcon2",(function(){return Ye})),o.d(n,"onChangeColorFieldsButtonIcon2",(function(){return qe})),o.d(n,"onChangeHoverColorHexButtonIcon2",(function(){return Xe})),o.d(n,"onChangeHoverColorPaletteButtonIcon2",(function(){return Je})),o.d(n,"onChangeHoverColorFieldsButtonIcon2",(function(){return Ze})),o.d(n,"onChangeMenuColorHex2",(function(){return Qe})),o.d(n,"onChangeMenuColorPalette2",(function(){return et})),o.d(n,"onChangeMenuColorFields2",(function(){return tt})),o.d(n,"onChangeMenuHoverColorHex2",(function(){return ot})),o.d(n,"onChangeMenuHoverColorPalette2",(function(){return nt})),o.d(n,"onChangeMenuHoverColorFields2",(function(){return it})),o.d(n,"onChangeActiveColorHexSubMenu2",(function(){return Nt})),o.d(n,"onChangeActiveColorPaletteSubMenu2",(function(){return Vt})),o.d(n,"onChangeActiveColorFieldsSubMenu2",(function(){return At})),o.d(n,"onChangeBgActiveColorHexSubMenu2",(function(){return Dt})),o.d(n,"onChangeBgActiveColorPaletteSubMenu2",(function(){return $t})),o.d(n,"onChangeBgActiveColorFieldsSubMenu2",(function(){return Gt})),o.d(n,"onChangeColorHexMMenu2",(function(){return rt})),o.d(n,"onChangeColorPaletteMMenu2",(function(){return at})),o.d(n,"onChangeColorFieldsMMenu2",(function(){return lt})),o.d(n,"onChangeHoverColorHexMMenu2",(function(){return st})),o.d(n,"onChangeHoverColorPaletteMMenu2",(function(){return ct})),o.d(n,"onChangeHoverColorFieldsMMenu2",(function(){return dt})),o.d(n,"onChangeColorHexSubMenu2",(function(){return pt})),o.d(n,"onChangeColorPaletteSubMenu2",(function(){return ut})),o.d(n,"onChangeColorFieldsSubMenu2",(function(){return bt})),o.d(n,"onChangeHoverColorHexSubMenu2",(function(){return mt})),o.d(n,"onChangeHoverColorPaletteSubMenu2",(function(){return ht})),o.d(n,"onChangeHoverColorFieldsSubMenu2",(function(){return gt})),o.d(n,"onChangeColorHexIconMenu2",(function(){return ft})),o.d(n,"onChangeColorPaletteIconMenu2",(function(){return vt})),o.d(n,"onChangeColorFieldsIconMenu2",(function(){return yt})),o.d(n,"onChangeTabletColorHexIconMMenu2",(function(){return St})),o.d(n,"onChangeTabletColorPaletteIconMMenu2",(function(){return Ot})),o.d(n,"onChangeTabletColorFieldsIconMMenu2",(function(){return xt})),o.d(n,"onChangeMobileColorHexIconMMenu2",(function(){return Ct})),o.d(n,"onChangeMobileColorPaletteIconMMenu2",(function(){return Bt})),o.d(n,"onChangeMobileColorFieldsIconMMenu2",(function(){return jt})),o.d(n,"onChangeActiveColorHexMMenu2",(function(){return Ut})),o.d(n,"onChangeActiveColorPaletteMMenu2",(function(){return Kt})),o.d(n,"onChangeActiveColorFieldsMMenu2",(function(){return Yt})),o.d(n,"onChangeBgColorHexMMenu2",(function(){return Pt})),o.d(n,"onChangeBgColorPaletteMMenu2",(function(){return Tt})),o.d(n,"onChangeBgColorHexSubMenu2",(function(){return wt})),o.d(n,"onChangeBgColorPaletteSubMenu2",(function(){return Et})),o.d(n,"onChangeBgColorFieldsSubMenu2",(function(){return zt})),o.d(n,"onChangeBgHoverColorHexSubMenu2",(function(){return kt})),o.d(n,"onChangeBgHoverColorPaletteSubMenu2",(function(){return Ft})),o.d(n,"onChangeBgHoverColorFieldsSubMenu2",(function(){return _t})),o.d(n,"onChangeBorderColorHexMMenu2",(function(){return Rt})),o.d(n,"onChangeBorderColorPaletteMMenu2",(function(){return Ht})),o.d(n,"onChangeBorderColorFieldsMMenu2",(function(){return Lt})),o.d(n,"onChangeBorderColorHexSubMenu2",(function(){return Mt})),o.d(n,"onChangeBorderColorPaletteSubMenu2",(function(){return It})),o.d(n,"onChangeBorderColorFieldsSubMenu2",(function(){return Wt})),o.d(n,"onChangeTypography",(function(){return Zt})),o.d(n,"onChangeTypographyTablet",(function(){return Qt})),o.d(n,"onChangeTypographyMobile",(function(){return eo})),o.d(n,"tabletSyncOnChange",(function(){return a.g})),o.d(n,"mobileSyncOnChange",(function(){return a.f})),o.d(n,"keySyncOnChange",(function(){return a.d})),o.d(n,"validateKeyByProperty",(function(){return a.h})),o.d(n,"onChangeTypography2",(function(){return io}));var i=o(2),r=o(8),a=o(27);function l(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function s(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?l(Object(o),!0).forEach((function(t){Object(i.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):l(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function c(e){return e.onChange.reduce((t,o)=>{const i=n[o](e);return Object.assign(t,i)},{})}function d({v:e,device:t,state:o,me:n,childs:i,value:l,dragEnd:c=!0,tempZero:d=!1}){const p=e=>Object(a.a)({key:e,device:t,state:o});let u={};var b;return b=n,(Object(a.b)({v:e,key:b,device:t,state:o})!==l||c)&&(u=s(s({[p(n)]:l},i?i.reduce((e,t)=>(e[p(t)]=l,e),{}):{}),c&&(d||!d&&0!==l&&""!==l)?s({[p("temp"+Object(r.c)(n))]:l},i?i.reduce((e,t)=>(e[p("temp"+Object(r.c)(t))]=l,e),{}):{}):{})),u}function p({v:e,device:t,state:o,me:n,childs:i,current:l,value:c,dragEnd:d=!0,tempZero:p=!1}){const u=e=>Object(a.a)({key:e,device:t,state:o});let b={};var m;return m=l,(Object(a.b)({v:e,key:m,device:t,state:o})!==c||d)&&(b=s(s({[u(l)]:c},d&&(p||!p&&0!==c&&""!==c)?{[u("temp"+Object(r.c)(l))]:c}:{}),i.filter(e=>e!==l).every(t=>e[t]===c)?s({[u(n)]:c},d&&(p||!p&&0!==c&&""!==c)?{[u("temp"+Object(r.c)(n))]:c}:{}):{})),b}function u({v:e,device:t,state:o,parent:n,childs:i,value:l,sliderDragEnd:c=!0,temp:d=!1,tempZero:p=!1}){const u=s({[Object(a.a)({key:n,device:t,state:o})]:l},i.reduce((e,n)=>(e[Object(a.a)({key:n,device:t,state:o})]=l,e),{})),b=d&&!p?s({[Object(a.a)({key:"temp"+Object(r.c)(n),device:t,state:o})]:l>0&&c?l:Object(a.b)({v:e,key:"temp"+Object(r.c)(n),device:t,state:o})},i.reduce((n,i)=>(n[Object(a.a)({key:"temp"+Object(r.c)(i),device:t,state:o})]=l>0&&c?l:Object(a.b)({v:e,key:"temp"+Object(r.c)(i),device:t,state:o}),n),{})):d?s({[Object(a.a)({key:"temp"+Object(r.c)(n),device:t,state:o})]:l},i.reduce((e,n)=>(e[Object(a.a)({key:"temp"+Object(r.c)(n),device:t,state:o})]=l,e),{})):{};return Object.assign(u,b)}function b({v:e,device:t,state:o,parent:n,childs:i,current:l,value:s,temp:c=!1,tempZero:d=!1}){const p=i.filter(e=>e!==l).every(t=>e[t]===s)?s:Object(a.b)({v:e,key:n,device:t,state:o}),u=i.filter(e=>e!==l).every(t=>e[t]===s)?s:s>0?Object(a.b)({v:e,key:"temp"+Object(r.c)(n),device:t,state:o}):Object(a.b)({v:e,key:n,device:t,state:o});return c&&d?{[Object(a.a)({key:n,device:t,state:o})]:p,[Object(a.a)({key:"temp"+Object(r.c)(n),device:t,state:o})]:u}:{[Object(a.a)({key:n,device:t,state:o})]:p}}function m({v:e,device:t,state:o,childs:n,current:i,value:l,temp:c=!1}){return c?s({[Object(a.a)({key:i,device:t,state:o})]:l,[Object(a.a)({key:"temp"+Object(r.c)(i),device:t,state:o})]:l},n.filter(e=>e!==i).reduce((n,i)=>(n[Object(a.a)({key:"temp"+Object(r.c)(i),device:t,state:o})]=0===e[i]?0:Object(a.b)({v:e,key:"temp"+Object(r.c)(i),device:t,state:o}),n),{})):{[Object(a.a)({key:i,device:t,state:o})]:l}}function h({v:e,device:t="desktop",state:o="normal",value:n,dependencies:i}){const l=n=>Object(a.b)({v:e,key:n,device:t,state:o});return Object.entries(i).reduce((i,[s,c])=>{const d=!(0!==n&&""!==n||void 0===c.nullValue||!(c.nullValue.length>0&&c.nullValue.every(t=>""===e[t]||0===e[t])||0===c.nullValue.length)),p=!(0===n||""===n||0!==l(s)&&""!==l(s)&&"off"!==l("boxShadow")||!(c.tempValue.length>0&&c.tempValue.every(t=>""===e[t]||0===e[t])||0===c.tempValue.length)),u=null===l(s)||void 0===l(s);return u&&console.log("onChange "+s+" "+l(s)),u||(i[(e=>Object(a.a)({key:e,device:t,state:o}))(s)]=d?"string"===c.type?"":0:l(p?"temp"+Object(r.c)(s):s)),Object.assign(i,c.childs.reduce((i,l)=>(null===e[Object(a.a)({key:l,device:t,state:o})]||void 0===e[Object(a.a)({key:l,device:t,state:o})]||(i[Object(a.a)({key:l,device:t,state:o})]=0!==n&&""!==n||void 0===c.nullValue||!(c.nullValue.length>0&&c.nullValue.every(t=>""===e[t]||0===e[t])||0===c.nullValue.length)?(n>0||""!==n)&&c.childs.every(n=>0===Object(a.b)({v:e,key:"temp"+Object(r.c)(n),device:t,state:o}))?Object(a.b)({v:e,key:"temp"+Object(r.c)(s),device:t,state:o}):(n>0||""!==n)&&(c.tempValue.length>0&&c.tempValue.every(t=>""===e[t]||0===e[t])||0===c.tempValue.length)?Object(a.b)({v:e,key:"temp"+Object(r.c)(l),device:t,state:o}):Object(a.b)({v:e,key:l,device:t,state:o}):"string"===c.type?"":0),i),{}),c.childs.reduce((i,l)=>(null===e[Object(a.a)({key:"temp"+Object(r.c)(l),device:t,state:o})]||void 0===e[Object(a.a)({key:"temp"+Object(r.c)(l),device:t,state:o})]||(i[Object(a.a)({key:"temp"+Object(r.c)(l),device:t,state:o})]=(n>0||""!==n)&&c.childs.every(n=>0===Object(a.b)({v:e,key:"temp"+Object(r.c)(n),device:t,state:o}))?Object(a.b)({v:e,key:s,device:t,state:o}):Object(a.b)({v:e,key:"temp"+Object(r.c)(l),device:t,state:o})),i),{})),i},{})}function g({device:e,state:t,width:o,height:n,extension:i,src:r,x:l,y:s,population:c,isChanged:d}){return"image"===d?{[Object(a.a)({key:"bgImageWidth",device:e,state:t})]:o,[Object(a.a)({key:"bgImageHeight",device:e,state:t})]:n,[Object(a.a)({key:"bgImageExtension",device:e,state:t})]:i,[Object(a.a)({key:"bgImageSrc",device:e,state:t})]:r}:"population"===d?{[Object(a.a)({key:"bgPopulation",device:e,state:t})]:c}:{[Object(a.a)({key:"bgPositionX",device:e,state:t})]:l,[Object(a.a)({key:"bgPositionY",device:e,state:t})]:s}}function f({v:e,device:t,state:o,src:n,isChanged:i}){const r=""!==n&&1===Object(a.b)({v:e,key:"bgColorOpacity",device:t,state:o})?.9:Object(a.b)({v:e,key:"bgColorOpacity",device:t,state:o}),l=""!==n&&1===Object(a.b)({v:e,key:"bgColorOpacity",device:t,state:o})?.9:Object(a.b)({v:e,key:"tempBgColorOpacity",device:t,state:o});return"image"===i?{[Object(a.a)({key:"bgColorOpacity",device:t,state:o})]:r,[Object(a.a)({key:"tempBgColorOpacity",device:t,state:o})]:l}:{}}function v({v:e,device:t,state:o,src:n}){return h({v:e,device:t,state:o,value:n,dependencies:{borderRadius:{childs:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"],nullValue:["bgColorOpacity","borderColorOpacity"],tempValue:[]}}})}function y({v:e,device:t,src:o}){return"desktop"===t||"mobile"===t?{mobilePaddingRight:o?e.tempMobilePaddingRight:0,mobilePaddingLeft:o?e.tempMobilePaddingLeft:0}:{}}function S(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function O(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?S(Object(o),!0).forEach((function(t){Object(i.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):S(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function x({v:e,device:t,state:o,borderStyle:n,prefix:i=""}){const l=e=>Object(a.a)({key:e,device:t,state:o}),s=Object(r.b)(i,"border"),c=Object(r.b)(s,"style"),d=Object(r.b)("temp",c);return{[l(c)]:n,[l(d)]:""!==n?n:(p=d,Object(a.b)({v:e,key:p,device:t,state:o}))};var p}function C({v:e,device:t,state:o,borderStyle:n,prefix:i=""}){const a=Object(r.b)(i,"border");return h({v:e,device:t,state:o,value:n,dependencies:{[Object(r.b)(a,"colorOpacity")]:{childs:[],nullValue:[],tempValue:[]},[Object(r.b)(a,"colorPalette")]:{childs:[],nullValue:[],tempValue:[]},[Object(r.b)(a,"width")]:{childs:[Object(r.b)(a,"topWidth"),Object(r.b)(a,"rightWidth"),Object(r.b)(a,"bottomWidth"),Object(r.b)(a,"leftWidth")],nullValue:[],tempValue:[]}}})}function B({v:e,device:t,state:o,borderStyle:n}){return h({v:e,device:t,state:o,value:n,dependencies:{borderColorOpacity:{childs:[],nullValue:[],tempValue:[]},borderColorPalette:{childs:[],nullValue:[],tempValue:[]},borderWidth:{childs:["borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth"],nullValue:[],tempValue:[]},borderRadius:{childs:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"],nullValue:["bgColorOpacity","bgImageSrc"],tempValue:[]}}})}function j({v:e,device:t,state:o,hex:n,opacity:i,prefix:l="",isChanged:s="hex",opacityDragEnd:c=!1}){const d=e=>Object(a.a)({key:e,device:t,state:o}),p=Object(r.b)(l,"border"),u=Object(r.b)(p,"colorHex"),b=Object(r.b)(p,"colorOpacity"),m=Object(r.b)("temp",b),h=(i=I({v:e,device:t,state:o,opacity:i,prefix:l,isChanged:s}))>0&&c?i:(g=m,Object(a.b)({v:e,key:g,device:t,state:o}));var g;return{[d(u)]:n,[d(b)]:i,[d(m)]:h}}function P({v:e,device:t,state:o,opacity:n,prefix:i="",isChanged:l="hex"}){const s=e=>Object(a.a)({key:e,device:t,state:o}),c=n=>Object(a.b)({v:e,key:n,device:t,state:o}),d=Object(r.b)(i,"border"),p=Object(r.b)(d,"colorPalette"),u=Object(r.b)("temp",p);n=I({v:e,device:t,state:o,opacity:n,prefix:i,isChanged:l});const b="hex"===l||0===n?"":c(n>0?u:p),m="hex"===l?"":c(u);return{[s(p)]:b,[s(u)]:m}}function T({v:e,device:t,state:o,opacity:n,isChanged:i,prefix:a=""}){const l=Object(r.b)(a,"border"),s={[Object(r.b)(l,"style")]:{childs:[],nullValue:[],tempValue:[]},[Object(r.b)(l,"width")]:{childs:[Object(r.b)(l,"topWidth"),Object(r.b)(l,"rightWidth"),Object(r.b)(l,"bottomWidth"),Object(r.b)(l,"leftWidth")],nullValue:[],tempValue:[]}};return h({v:e,device:t,state:o,value:n=I({v:e,device:t,state:o,opacity:n,prefix:a,isChanged:i}),dependencies:s})}function w({v:e,device:t,state:o,opacity:n,isChanged:i}){return h({v:e,device:t,state:o,value:n=I({v:e,device:t,state:o,opacity:n,isChanged:i}),dependencies:{borderStyle:{childs:[],nullValue:[],tempValue:[]},borderWidth:{childs:["borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth"],nullValue:[],tempValue:[]},borderRadius:{childs:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"],nullValue:["bgColorOpacity","bgImageSrc"],tempValue:[]}}})}function E({v:e,device:t,opacity:o,isChanged:n}){if("desktop"===t||"tablet"===t){return{tabletPaddingRight:0===(o=I({v:e,device:t,opacity:o,isChanged:n}))?0:"hex"===n||o>0?e.tempTabletPaddingRight:e.tabletPaddingRight,tabletPaddingLeft:0===o?0:"hex"===n||o>0?e.tempTabletPaddingLeft:e.tabletPaddingLeft}}return{}}function z({v:e,device:t,opacity:o,isChanged:n}){if("desktop"===t||"mobile"===t){return{mobilePaddingRight:0===(o=I({v:e,device:t,opacity:o,isChanged:n}))?0:"hex"===n||o>0?e.tempMobilePaddingRight:e.mobilePaddingRight,mobilePaddingLeft:0===o?0:"hex"===n||o>0?e.tempMobilePaddingLeft:e.mobilePaddingLeft}}return{}}function k({device:e,state:t,palette:o,prefix:n=""}){const i=o=>Object(a.a)({key:o,device:e,state:t}),l=Object(r.b)(n,"border"),s=Object(r.b)(l,"colorPalette"),c=Object(r.b)("temp",s);return{[i(s)]:o,[i(c)]:o}}function F({v:e,device:t,state:o,opacity:n,isChanged:i,prefix:l=""}){const s=Object(r.b)(l,"border"),c=Object(r.b)(s,"colorOpacity");return n=I({v:e,device:t,state:o,opacity:n,prefix:l,isChanged:i}),{[(d=c,Object(a.a)({key:d,device:t,state:o}))]:n};var d}function _({device:e,state:t,type:o,prefix:n=""}){const i=Object(r.b)(n,"border"),l=Object(r.b)(i,"widthType");return{[(s=l,Object(a.a)({key:s,device:e,state:t}))]:o};var s}function R({v:e,device:t,state:o,value:n,sliderDragEnd:i,prefix:a=""}){const l=Object(r.b)(a,"border");return u({v:e,device:t,state:o,parent:Object(r.b)(l,"width"),childs:[Object(r.b)(l,"topWidth"),Object(r.b)(l,"rightWidth"),Object(r.b)(l,"bottomWidth"),Object(r.b)(l,"leftWidth")],value:n,sliderDragEnd:i,temp:!0,tempZero:!1})}function H({v:e,device:t,state:o,value:n,prefix:i=""}){const a=Object(r.b)(i,"border"),l=Object(r.b)(a,"style"),s=Object(r.b)(a,"radius"),c=Object(r.b)(a,"colorOpacity"),d=Object(r.b)(a,"colorPalette");return h({v:e,device:t,state:o,value:n,dependencies:{[l]:{childs:[],nullValue:[],tempValue:[]},[s]:{childs:[Object(r.b)(a,"topLeftRadius"),Object(r.b)(a,"topRightRadius"),Object(r.b)(a,"bottomLeftRadius"),Object(r.b)(a,"bottomRightRadius")],nullValue:["bgColorOpacity","bgImageSrc"],tempValue:[]},[c]:{childs:[],nullValue:[],tempValue:[]},[d]:{childs:[],nullValue:[],tempValue:[]}}})}function L({v:e,device:t,state:o,current:n,value:i,prefix:a=""}){const l=Object(r.b)(a,"border"),s=Object(r.b)(l,"width"),c=[Object(r.b)(l,"topWidth"),Object(r.b)(l,"rightWidth"),Object(r.b)(l,"bottomWidth"),Object(r.b)(l,"leftWidth")];return O(O({},m({v:e,device:t,state:o,childs:c,current:n,value:i,temp:!0})),b({v:e,device:t,state:o,parent:s,childs:c,current:n,value:i,temp:!0}))}function M({v:e,device:t,state:o,current:n,value:i,prefix:l=""}){const s=Object(r.b)(l,"border"),c=Object(r.b)(s,"width"),d=[Object(r.b)(s,"topWidth"),Object(r.b)(s,"rightWidth"),Object(r.b)(s,"bottomWidth"),Object(r.b)(s,"leftWidth")],p=Object(r.b)(s,"style"),u=Object(r.b)(s,"radius"),b=Object(r.b)(s,"colorOpacity"),m=Object(r.b)(s,"colorPalette");return function({v:e,device:t,state:o,childs:n,current:i,value:l,dependencies:s}){return Object.entries(s).reduce((s,[c,d])=>(null===e[c]||(s[Object(a.a)({key:c,device:t,state:o})]=(0===l||""===l)&&(n.length>0&&n.filter(e=>e!==i).every(t=>0===e[t])||0===n.length)&&void 0!==d.nullValue&&(d.nullValue.length>0&&d.nullValue.every(t=>""===e[t]||0===e[t])||0===d.nullValue.length)?"string"===d.type?"":0:(l>0||""!==l)&&(d.tempValue.length>0&&d.tempValue.every(t=>""===e[t]||0===e[t])||0===d.tempValue.length)?Object(a.b)({v:e,key:"temp"+Object(r.c)(c),device:t,state:o}):Object(a.b)({v:e,key:c,device:t,state:o})),Object.assign(s,d.childs.reduce((s,c)=>{var p,u;return null===e[c]||(s[Object(a.a)({key:c,device:t,state:o})]=(0===l||""===l)&&(n.length>0&&n.filter(e=>e!==i).every(t=>0===e[t])||0===n.length)&&((null===(p=d.nullValue)||void 0===p?void 0:p.length)>0&&d.nullValue.every(t=>""===e[t]||0===e[t])||0===(null===(u=d.nullValue)||void 0===u?void 0:u.length))?"string"===d.type?"":0:(l>0||""!==l)&&0===d.tempValue.length?Object(a.b)({v:e,key:"temp"+Object(r.c)(c),device:t,state:o}):Object(a.b)({v:e,key:c,device:t,state:o})),s},{})),s),{})}({v:e,device:t,state:o,parent:c,childs:d,current:n,value:i,dependencies:{[p]:{childs:[],nullValue:[],tempValue:[]},[u]:{childs:[Object(r.b)(s,"topLeftRadius"),Object(r.b)(s,"topRightRadius"),Object(r.b)(s,"bottomLeftRadius"),Object(r.b)(s,"bottomRightRadius")],nullValue:["bgColorOpacity","bgImageSrc"],tempValue:[]},[b]:{childs:[],nullValue:[],tempValue:[]},[m]:{childs:[],nullValue:[],tempValue:[]}}})}function I({v:e,device:t,state:o,prefix:n="",opacity:i,isChanged:l="hex"}){const s=n=>Object(a.b)({v:e,key:n,device:t,state:o}),c=Object(r.b)(n,"border"),d=Object(r.b)(c,"colorOpacity"),p=Object(r.b)("temp",d);return"hex"!==l&&"palette"!==l||0!==s(d)?void 0===i?s(d):i:s(p)}function W({v:e,device:t,state:o,prefix:n="color",hex:i,opacity:l,isChanged:s="hex",opacityDragEnd:c=!1}){const d=e=>Object(a.a)({key:e,device:t,state:o}),p="temp"+Object(r.c)(n),u=(l=D({v:e,device:t,state:o,prefix:n,opacity:l,isChanged:s}))>0&&c?l:(b=Object(r.b)(p,"opacity"),Object(a.b)({v:e,key:b,device:t,state:o}));var b;return{[d(Object(r.b)(n,"hex"))]:i,[d(Object(r.b)(n,"opacity"))]:l,[d(Object(r.b)(p,"opacity"))]:u}}function N({v:e,device:t,state:o,prefix:n="color",opacity:i,isChanged:l="hex"}){const s=e=>Object(a.a)({key:e,device:t,state:o}),c=n=>Object(a.b)({v:e,key:n,device:t,state:o}),d="temp"+Object(r.c)(n);i=D({v:e,device:t,state:o,prefix:n,opacity:i,isChanged:l});const p="hex"===l||0===i?"":c(i>0?Object(r.b)(d,"palette"):Object(r.b)(n,"palette")),u="hex"===l?"":c(Object(r.b)(d,"palette"));return{[s(Object(r.b)(n,"palette"))]:p,[s(Object(r.b)(d,"palette"))]:u}}function V({device:e,state:t,prefix:o="color",palette:n}){const i=o=>Object(a.a)({key:o,device:e,state:t}),l="temp"+Object(r.c)(o);return{[i(Object(r.b)(o,"palette"))]:n,[i(Object(r.b)(l,"palette"))]:n}}function A({v:e,device:t,state:o,prefix:n="color",opacity:i,isChanged:l="hex"}){return i=D({v:e,device:t,state:o,prefix:n,opacity:i,isChanged:l}),{[(s=Object(r.b)(n,"opacity"),Object(a.a)({key:s,device:t,state:o}))]:i};var s}function D({v:e,device:t,state:o,prefix:n="color",opacity:i,isChanged:l="hex"}){const s=n=>Object(a.b)({v:e,key:n,device:t,state:o}),c="temp"+Object(r.c)(n);return"hex"===l&&0===s(Object(r.b)(n,"opacity"))?s(Object(r.b)(c,"opacity")):void 0===i?s(Object(r.b)(n,"opacity")):i}function $({v:e,device:t,state:o,bgColorType:n}){const i=e=>Object(a.a)({key:e,device:t,state:o});return{[i("bgColorType")]:n,[i("gradientActivePointer")]:"solid"===n?"startPointer":(r="gradientActivePointer",Object(a.b)({v:e,key:r,device:t,state:o}))};var r}function G({device:e,state:t,startPointer:o,finishPointer:n,activePointer:i}){const r=o=>Object(a.a)({key:o,device:e,state:t});return{[r("gradientStartPointer")]:o,[r("gradientFinishPointer")]:n,[r("gradientActivePointer")]:i}}function U({v:e,device:t,state:o,prefix:n,hex:i,opacity:l,isChanged:s="hex",opacityDragEnd:c=!1}){const d=e=>Object(a.a)({key:e,device:t,state:o}),p="temp"+Object(r.c)(n),u=(l=Z({v:e,device:t,state:o,prefix:n,opacity:l,isChanged:s}))>0&&c?l:(b=Object(r.b)(p,"colorOpacity"),Object(a.b)({v:e,key:b,device:t,state:o}));var b;return{[d(Object(r.b)(n,"colorHex"))]:i,[d(Object(r.b)(n,"colorOpacity"))]:l,[d(Object(r.b)(p,"colorOpacity"))]:u}}function K({v:e,device:t,state:o,prefix:n,opacity:i,isChanged:l="hex"}){const s=e=>Object(a.a)({key:e,device:t,state:o}),c=n=>Object(a.b)({v:e,key:n,device:t,state:o}),d="temp"+Object(r.c)(n);i=Z({v:e,device:t,state:o,prefix:n,opacity:i,isChanged:l});const p="hex"===l||0===i?"":c(i>0?Object(r.b)(d,"colorPalette"):Object(r.b)(n,"colorPalette")),u="hex"===l?"":c(Object(r.b)(d,"colorPalette"));return{[s(Object(r.b)(n,"colorPalette"))]:p,[s(Object(r.b)(d,"colorPalette"))]:u}}function Y({v:e,device:t,state:o,prefix:n,opacity:i,isChanged:r="hex"}){return h({v:e,device:t,state:o,value:i=Z({v:e,device:t,state:o,prefix:n,opacity:i,isChanged:r}),dependencies:{borderRadius:{childs:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"],nullValue:["bgImageSrc","borderColorOpacity"],tempValue:[]}}})}function q({v:e,device:t,prefix:o,opacity:n,isChanged:i="hex"}){if("desktop"===t||"mobile"===t){return{mobilePaddingRight:0===(n=Z({v:e,device:t,prefix:o,opacity:n,isChanged:i}))?0:"hex"===i||n>0?e.tempMobilePaddingRight:e.mobilePaddingRight,mobilePaddingLeft:0===n?0:"hex"===i||n>0?e.tempMobilePaddingLeft:e.mobilePaddingLeft}}return{}}function X({device:e,state:t,prefix:o,palette:n}){const i=o=>Object(a.a)({key:o,device:e,state:t}),l="temp"+Object(r.c)(o);return{[i(Object(r.b)(o,"colorPalette"))]:n,[i(Object(r.b)(l,"colorPalette"))]:n}}function J({v:e,device:t,state:o,prefix:n,opacity:i,isChanged:l="hex"}){return i=Z({v:e,device:t,state:o,prefix:n,opacity:i,isChanged:l}),{[(s=Object(r.b)(n,"colorOpacity"),Object(a.a)({key:s,device:t,state:o}))]:i};var s}function Z({v:e,device:t,state:o,prefix:n,opacity:i,isChanged:l="hex"}){const s=n=>Object(a.b)({v:e,key:n,device:t,state:o}),c="temp"+Object(r.c)(n);return"hex"!==l&&"palette"!==l||0!==s(Object(r.b)(n,"colorOpacity"))||1!==s(Object(r.b)(c,"colorOpacity"))||""===s("bgImageSrc")?"hex"!==l&&"palette"!==l||0!==s(Object(r.b)(n,"colorOpacity"))?void 0===i?s(Object(r.b)(n,"colorOpacity")):i:s(Object(r.b)(c,"colorOpacity")):.9}function Q({v:e,device:t,state:o,boxShadowType:n,prefix:i=""}){const l=e=>Object(a.a)({key:e,device:t,state:o}),s=Object(r.b)(i,"boxShadow"),c=Object(r.b)("temp",s);return{[l(s)]:n,[l(c)]:""!==n?n:(d=c,Object(a.b)({v:e,key:d,device:t,state:o}))};var d}function ee({v:e,device:t,state:o,boxShadowType:n,prefix:i=""}){const a=Object(r.b)(i,"boxShadow");return h({v:e,device:t,state:o,value:n,dependencies:{[Object(r.b)(a,"colorOpacity")]:{childs:[],nullValue:[],tempValue:[]},[Object(r.b)(a,"colorPalette")]:{childs:[],nullValue:[],tempValue:[]},[Object(r.b)(a,"blur")]:{childs:[],nullValue:[],tempValue:[]},[Object(r.b)(a,"spread")]:{childs:[],nullValue:[],tempValue:[]},[Object(r.b)(a,"vertical")]:{childs:[],nullValue:[],tempValue:[]},[Object(r.b)(a,"horizontal")]:{childs:[],nullValue:[],tempValue:[]}}})}function te({v:e,device:t,state:o,hex:n,opacity:i,prefix:l="",isChanged:s="hex",opacityDragEnd:c=!1}){const d=e=>Object(a.a)({key:e,device:t,state:o}),p=Object(r.b)(l,"boxShadow"),u=Object(r.b)(p,"colorHex"),b=Object(r.b)(p,"colorOpacity"),m=Object(r.b)("temp",b),h=(i=se({v:e,device:t,state:o,opacity:i,prefix:l,isChanged:s}))>0&&c?i:(g=m,Object(a.b)({v:e,key:g,device:t,state:o}));var g;return{[d(u)]:n,[d(b)]:i,[d(m)]:h}}function oe({v:e,device:t,state:o,opacity:n,prefix:i="",isChanged:l="hex"}){const s=e=>Object(a.a)({key:e,device:t,state:o}),c=n=>Object(a.b)({v:e,key:n,device:t,state:o}),d=Object(r.b)(i,"boxShadow"),p=Object(r.b)(d,"colorPalette"),u=Object(r.b)("temp",p);n=se({v:e,device:t,state:o,opacity:n,isChanged:l});const b="hex"===l||0===n?"":c(n>0?u:p),m="hex"===l?"":c(u);return{[s(p)]:b,[s(u)]:m}}function ne({v:e,device:t,state:o,opacity:n,isChanged:i,prefix:a=""}){const l=Object(r.b)(a,"boxShadow"),s={[l]:{childs:[],nullValue:[],tempValue:[]},[Object(r.b)(l,"blur")]:{childs:[],nullValue:[],tempValue:[]},[Object(r.b)(l,"spread")]:{childs:[],nullValue:[],tempValue:[]},[Object(r.b)(l,"vertical")]:{childs:[],nullValue:[],tempValue:[]},[Object(r.b)(l,"horizontal")]:{childs:[],nullValue:[],tempValue:[]}};return h({v:e,device:t,state:o,value:n=se({v:e,device:t,state:o,opacity:n,prefix:a,isChanged:i}),dependencies:s})}function ie({device:e,state:t,palette:o,prefix:n=""}){const i=o=>Object(a.a)({key:o,device:e,state:t}),l=Object(r.b)(n,"boxShadow"),s=Object(r.b)(l,"colorPalette"),c=Object(r.b)("temp",s);return{[i(s)]:o,[i(c)]:o}}function re({v:e,device:t,state:o,opacity:n,isChanged:i,prefix:l=""}){const s=Object(r.b)(l,"boxShadow"),c=Object(r.b)(s,"colorOpacity");return n=se({v:e,device:t,state:o,opacity:n,prefix:l,isChanged:i}),{[(d=c,Object(a.a)({key:d,device:t,state:o}))]:n};var d}function ae({device:e,state:t,boxShadowBlur:o=0,boxShadowSpread:n=0,boxShadowVertical:i=0,boxShadowHorizontal:l=0,prefix:s=""}){const c=o=>Object(a.a)({key:o,device:e,state:t}),d=Object(r.b)(s,"boxShadow"),p=Object(r.b)(d,"blur"),u=Object(r.b)(d,"spread"),b=Object(r.b)(d,"vertical"),m=Object(r.b)(d,"horizontal"),h=Object(r.b)("temp",p),g=Object(r.b)("temp",u),f=Object(r.b)("temp",b),v=Object(r.b)("temp",m);return{[c(p)]:o,[c(h)]:o,[c(u)]:n,[c(g)]:n,[c(b)]:i,[c(f)]:i,[c(m)]:l,[c(v)]:l}}function le({v:e,device:t,state:o,boxShadowBlur:n=0,boxShadowSpread:i=0,boxShadowVertical:a=0,boxShadowHorizontal:l=0,prefix:s=""}){const c=Math.max(n,i,a,l),d=Object(r.b)(s,"boxShadow");return h({v:e,device:t,state:o,value:c,dependencies:{[d]:{childs:[],nullValue:[],tempValue:[]},[Object(r.b)(d,"colorOpacity")]:{childs:[],nullValue:[],tempValue:[]},[Object(r.b)(d,"colorPalette")]:{childs:[],nullValue:[],tempValue:[]}}})}function se({v:e,device:t,state:o,prefix:n="",opacity:i,isChanged:l="hex"}){const s=n=>Object(a.b)({v:e,key:n,device:t,state:o}),c=Object(r.b)(n,"boxShadow"),d=Object(r.b)(c,"colorOpacity"),p=Object(r.b)("temp",d);return"hex"!==l&&"palette"!==l||0!==s(d)?void 0===i?s(d):i:s(p)}function ce({v:e,device:t,state:o,textShadowType:n,prefix:i=""}){const l=e=>Object(a.a)({key:e,device:t,state:o}),s=Object(r.b)(i,"textShadow"),c=Object(r.b)("temp",s);return{[l(s)]:n,[l(c)]:""!==n?n:(d=c,Object(a.b)({v:e,key:d,device:t,state:o}))};var d}function de({v:e,device:t,state:o,hex:n,opacity:i,prefix:l="",isChanged:s="hex",opacityDragEnd:c=!1}){const d=e=>Object(a.a)({key:e,device:t,state:o}),p=Object(r.b)(l,"textShadow"),u=Object(r.b)(p,"colorHex"),b=Object(r.b)(p,"colorOpacity"),m=Object(r.b)("temp",b),h=(i=he({v:e,device:t,state:o,opacity:i,prefix:l,isChanged:s}))>0&&c?i:(g=m,Object(a.b)({v:e,key:g,device:t,state:o}));var g;return{[d(p)]:"shadow",[d(u)]:n,[d(b)]:i,[d(m)]:h}}function pe({v:e,device:t,state:o,opacity:n,prefix:i="",isChanged:l="hex"}){const s=e=>Object(a.a)({key:e,device:t,state:o}),c=n=>Object(a.b)({v:e,key:n,device:t,state:o}),d=Object(r.b)(i,"textShadow"),p=Object(r.b)(d,"colorPalette"),u=Object(r.b)("temp",p);n=he({v:e,device:t,state:o,opacity:n,isChanged:l});const b="hex"===l||0===n?"":c(n>0?u:p),m="hex"===l?"":c(u);return{[s(d)]:"shadow",[s(p)]:b,[s(u)]:m}}function ue({device:e,state:t,palette:o,prefix:n=""}){const i=o=>Object(a.a)({key:o,device:e,state:t}),l=Object(r.b)(n,"textShadow"),s=Object(r.b)(l,"colorPalette"),c=Object(r.b)("temp",s);return{[i(l)]:"shadow",[i(s)]:o,[i(c)]:o}}function be({v:e,device:t,state:o,opacity:n,isChanged:i,prefix:l=""}){const s=e=>Object(a.a)({key:e,device:t,state:o}),c=Object(r.b)(l,"textShadow"),d=Object(r.b)(c,"colorOpacity");return n=he({v:e,device:t,state:o,opacity:n,prefix:l,isChanged:i}),{[s(c)]:"shadow",[s(d)]:n}}function me({device:e,state:t,textShadowBlur:o=0,textShadowVertical:n=0,textShadowHorizontal:i=0,prefix:l=""}){const s=o=>Object(a.a)({key:o,device:e,state:t}),c=Object(r.b)(l,"textShadow"),d=Object(r.b)(c,"blur"),p=Object(r.b)(c,"vertical"),u=Object(r.b)(c,"horizontal"),b=Object(r.b)("temp",d),m=Object(r.b)("temp",p),h=Object(r.b)("temp",u);return{[s(c)]:"shadow",[s(d)]:o,[s(b)]:o,[s(p)]:n,[s(m)]:n,[s(u)]:i,[s(h)]:i}}function he({v:e,device:t,state:o,prefix:n="",opacity:i,isChanged:l="hex"}){const s=n=>Object(a.b)({v:e,key:n,device:t,state:o}),c=Object(r.b)(n,"textShadow"),d=Object(r.b)(c,"colorOpacity"),p=Object(r.b)("temp",d);return"hex"!==l&&"palette"!==l||0!==s(d)?void 0===i?s(d):i:s(p)}function ge(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function fe(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?ge(Object(o),!0).forEach((function(t){Object(i.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):ge(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function ve({v:e,device:t,state:o,me:n="padding",childs:i,value:a,suffix:l,sliderDragEnd:s,prefix:c=""}){const p=[],u=[],b=Object(r.b)(c,n);return i.forEach(e=>{const t=Object(r.b)(c,e);p.push(t),u.push(Object(r.b)(t,"suffix"))}),fe(fe({},d({v:e,device:t,state:o,me:b+"Suffix",childs:u,value:l,dragEnd:s})),d({v:e,device:t,state:o,childs:p,value:a,me:b,dragEnd:s}))}function ye({v:e,device:t,state:o,value:n,suffix:i,sliderDragEnd:a,childs:l,current:s,me:c="padding",prefix:d=""}){const u=[],b=[],m=Object(r.b)(d,c),h=Object(r.b)(d,s);return l.forEach(e=>{const t=Object(r.b)(d,e);u.push(t),b.push(Object(r.b)(t,"suffix"))}),fe(fe({},p({v:e,device:t,state:o,me:m+"Suffix",childs:b,current:h+"Suffix",value:i,dragEnd:a})),p({v:e,device:t,state:o,childs:u,current:h,value:n,me:m,dragEnd:a}))}function Se(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Oe(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Se(Object(o),!0).forEach((function(t){Object(i.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Se(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function xe({v:e,device:t,state:o,value:n,suffix:i}){const r=["marginTop","marginRight","marginBottom","marginLeft"],a=[];for(var l=0;l<r.length;l++)a[l]=r[l]+"Suffix";return Oe(Oe({},u({v:e,device:t,state:o,parent:"marginSuffix",childs:a,value:i})),u({v:e,device:t,state:o,parent:"margin",childs:r,value:n}))}function Ce({v:e,device:t,state:o,current:n,value:i,suffix:r}){const l=["marginTop","marginRight","marginBottom","marginLeft"],s=[];for(var c=0;c<l.length;c++)s[c]=l[c]+"Suffix";return Oe(Oe(Oe({[""+Object(a.a)({key:n+"Suffix",device:t,state:o})]:r},m({v:e,device:t,state:o,childs:l,current:n,value:i})),b({v:e,device:t,state:o,parent:"margin",childs:l,current:n,value:i})),b({v:e,device:t,state:o,parent:"marginSuffix",childs:s,current:n+"Suffix",value:r}))}function Be({v:e,device:t,state:o,opacity:n,isChanged:i="hex"}){return h({v:e,device:t,state:o,value:n=function({v:e,device:t,state:o,opacity:n,isChanged:i}){return"hex"===i&&0===Object(a.b)({v:e,key:"boxShadowColorOpacity",device:t,state:o})?Object(a.b)({v:e,key:"tempBoxShadowColorOpacity",device:t,state:o}):void 0===n?Object(a.b)({v:e,key:"boxShadowColorOpacity",device:t,state:o}):n}({v:e,device:t,state:o,opacity:n,isChanged:i}),dependencies:{boxShadowBlur:{childs:[],nullValue:[],tempValue:[]},boxShadowVertical:{childs:[],nullValue:[],tempValue:[]}}})}function je({v:e,device:t,state:o,colorType:n}){const i=e=>Object(a.a)({key:e,device:t,state:o});return{[i("colorType")]:n,[i("gradientActivePointer")]:"solid"===n?"startPointer":(r="gradientActivePointer",Object(a.b)({v:e,key:r,device:t,state:o}))};var r}function Pe({v:e,device:t,state:o,hex:n,opacity:i,isChanged:r="hex",opacityDragEnd:l=!1}){const s=(i=ke({v:e,device:t,state:o,opacity:i,isChanged:r}))>0&&l?i:Object(a.b)({v:e,key:"tempBg2ColorOpacity",device:t,state:o});return{[Object(a.a)({key:"bg2ColorHex",device:t,state:o})]:n,[Object(a.a)({key:"bg2ColorOpacity",device:t,state:o})]:i,[Object(a.a)({key:"tempBg2ColorOpacity",device:t,state:o})]:s}}function Te({v:e,device:t,state:o,opacity:n,isChanged:i="hex"}){n=ke({v:e,device:t,state:o,opacity:n,isChanged:i});const r="hex"===i||0===n?"":n>0?Object(a.b)({v:e,key:"tempBg2ColorPalette",device:t,state:o}):Object(a.b)({v:e,key:"bg2ColorPalette",device:t,state:o}),l="hex"===i?"":Object(a.b)({v:e,key:"tempBg2ColorPalette",device:t,state:o});return{[Object(a.a)({key:"bg2ColorPalette",device:t,state:o})]:r,[Object(a.a)({key:"tempBg2ColorPalette",device:t,state:o})]:l}}function we({v:e,device:t,state:o,opacity:n,isChanged:i="hex"}){return h({v:e,device:t,state:o,value:n=ke({v:e,device:t,state:o,opacity:n,isChanged:i}),dependencies:{borderRadius:{childs:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"],nullValue:["bg2ImageSrc","borderColorOpacity"],tempValue:[]}}})}function Ee({device:e,state:t,palette:o}){return{[Object(a.a)({key:"bg2ColorPalette",device:e,state:t})]:o,[Object(a.a)({key:"tempBg2ColorPalette",device:e,state:t})]:o}}function ze({v:e,device:t,state:o,opacity:n,isChanged:i="hex"}){return n=ke({v:e,device:t,state:o,opacity:n,isChanged:i}),{[Object(a.a)({key:"bg2ColorOpacity",device:t,state:o})]:n}}function ke({v:e,device:t,state:o,opacity:n,isChanged:i}){return"hex"===i&&0===Object(a.b)({v:e,key:"bg2ColorOpacity",device:t,state:o})&&1===Object(a.b)({v:e,key:"tempBg2ColorOpacity",device:t,state:o})&&""!==Object(a.b)({v:e,key:"bg2ImageSrc",device:t,state:o})?.9:"hex"===i&&0===Object(a.b)({v:e,key:"bg2ColorOpacity",device:t,state:o})?Object(a.b)({v:e,key:"tempBg2ColorOpacity",device:t,state:o}):void 0===n?Object(a.b)({v:e,key:"bg2ColorOpacity",device:t,state:o}):n}function Fe({v:e,hex:t,opacity:o,isChanged:n="hex"}){return{borderColorHex:t,borderColorOpacity:o=t!==e.borderColorHex&&0===e.borderColorOpacity?e.tempBorderColorOpacity:o,borderColorPalette:"hex"===n?"":e.borderColorPalette,tempBorderColorOpacity:o>0?o:e.tempBorderColorOpacity,tempBorderColorPalette:"hex"===n?"":e.tempBorderColorPalette,padding:0===o&&0===e.bgColorOpacity?0:o>0?e.tempPadding:e.padding,borderRadiusType:0===o&&0===e.bgColorOpacity?"":o>0?e.tempBorderRadiusType:e.borderRadiusType,fillType:0===o&&0===e.bgColorOpacity?"default":o>0&&0===e.bgColorOpacity?"outline":e.fillType,borderWidth:0===o?0:o>0?e.tempBorderWidth:e.borderWidth,bgColorOpacity:o>0&&e.bgColorOpacity>0?e.tempBgColorOpacity:e.bgColorOpacity,hoverBgColorHex:e.bgColorHex===e.hoverBgColorHex?t:e.hoverBgColorHex,hoverBgColorOpacity:0===o&&0===e.bgColorOpacity?0:e.bgColorOpacity===e.hoverBgColorOpacity?o:e.hoverBgColorOpacity}}function _e({v:e,palette:t}){return{borderColorPalette:t,tempBorderColorPalette:t,borderColorOpacity:0===e.borderColorOpacity?e.tempBorderColorOpacity:e.borderColorOpacity,padding:e.tempPadding,borderRadiusType:e.tempBorderRadiusType,fillType:0===e.bgColorOpacity?"outline":e.bgColorOpacity>0?"filled":e.fillType,borderWidth:e.tempBorderWidth}}function Re({v:e,hex:t,opacity:o,isChanged:n}){return{borderColorPalette:"hex"===n?"":e.borderColorPalette,borderColorHex:t,borderColorOpacity:o}}function He({v:e,hex:t,opacity:o,isChanged:n="hex"}){return{hoverBorderColorHex:t,hoverBorderColorOpacity:t!==e.hoverBorderColorHex&&0==e.hoverBorderColorOpacity?e.tempHoverBorderColorOpacity:o,hoverBorderColorPalette:"hex"===n?"":e.hoverBorderColorPalette}}function Le({v:e,palette:t}){return{hoverBorderColorPalette:t,hoverBorderColorOpacity:0===e.hoverBorderColorOpacity?e.tempHoverBorderColorOpacity:e.hoverBorderColorOpacity}}function Me({v:e,hex:t,opacity:o,isChanged:n}){return{hoverBorderColorPalette:"hex"===n?"":e.hoverBorderColorPalette,hoverBorderColorHex:t,hoverBorderColorOpacity:o}}function Ie({v:e,hex:t,opacity:o,isChanged:n="hex"}){return{hoverBorderColorHex:t,hoverBorderColorOpacity:t!==e.hoverBorderColorHex&&0==e.hoverBorderColorOpacity?e.tempHoverBorderColorOpacity:o,hoverBorderColorPalette:"hex"===n?"":e.hoverBorderColorPalette}}function We({v:e,palette:t}){return{hoverBorderColorPalette:t,hoverBorderColorOpacity:0===e.hoverBorderColorOpacity?e.tempHoverBorderColorOpacity:e.hoverBorderColorOpacity}}function Ne({v:e,hex:t,opacity:o,isChanged:n="hex"}){return{hoverBorderColorPalette:"hex"===n?"":e.hoverBorderColorPalette,hoverBorderColorHex:t,hoverBorderColorOpacity:o}}function Ve({v:e,hex:t,opacity:o,isChanged:n="hex",opacityDragEnd:i=!1}){return{bgColorHex:t,bgColorOpacity:o=t!==e.bgColorHex&&0===e.bgColorOpacity?e.tempBgColorOpacity:o,bgColorPalette:"hex"===n?"":e.bgColorPalette,tempBgColorPalette:"hex"===n?"":e.tempBgColorPalette,tempBgColorOpacity:o>0&&i?o:e.tempBgColorOpacity,borderRadiusType:0===o&&0===e.borderColorOpacity?"":o>0?e.tempBorderRadiusType:e.borderRadiusType,fillType:0===o&&0===e.borderColorOpacity?"default":0===o&&e.borderColorOpacity>0?"outline":o>0?"filled":e.fillType,borderWidth:0===o&&0===e.borderColorOpacity?0:e.borderWidth,borderColorHex:""!==e.bgColorPalette&&e.bgColorPalette===e.borderColorPalette&&"filled"===e.fillType||""===e.bgColorPalette&&e.bgColorHex===e.borderColorHex&&"filled"===e.fillType?t:e.borderColorHex,borderColorPalette:""!==e.bgColorPalette&&e.bgColorPalette===e.borderColorPalette&&"filled"===e.fillType?"":e.borderColorPalette,tempBorderColorPalette:""!==e.bgColorPalette&&e.bgColorPalette===e.borderColorPalette&&"filled"===e.fillType?"":e.tempBorderColorPalette,borderColorOpacity:""===e.bgColorPalette&&e.bgColorHex===e.borderColorHex&&e.bgColorOpacity===e.tempBorderColorOpacity&&"filled"===e.fillType||0===o&&0===e.borderColorOpacity?0:e.borderColorOpacity,hoverBgColorOpacity:0===o&&0===e.borderColorOpacity?0:o>0?e.tempHoverBgColorOpacity:e.hoverBgColorOpacity,hoverBorderColorHex:e.borderColorHex===e.hoverBorderColorHex?t:e.hoverBorderColorHex,hoverBorderColorOpacity:0===o&&0===e.bgColorOpacity?0:e.hoverBorderColorOpacity}}function Ae({v:e,palette:t}){return{bgColorPalette:t,tempBgColorPalette:t,bgColorOpacity:0===e.bgColorOpacity?e.tempBgColorOpacity:e.bgColorOpacity,borderRadiusType:e.tempBorderRadiusType,fillType:"filled",borderColorPalette:""!==e.bgColorPalette&&e.bgColorPalette===e.borderColorPalette&&"filled"===e.fillType||""===e.bgColorPalette&&e.bgColorHex===e.borderColorHex&&"filled"===e.fillType?t:e.borderColorPalette,tempBorderColorPalette:""!==e.bgColorPalette&&e.bgColorPalette===e.borderColorPalette&&"filled"===e.fillType||""===e.bgColorPalette&&e.bgColorHex===e.borderColorHex&&"filled"===e.fillType?t:e.borderColorPalette,hoverBgColorOpacity:e.tempHoverBgColorOpacity}}function De({v:e,hex:t,opacity:o,isChanged:n="hex"}){return"startPointer"===e.gradientActivePointer?{bgColorPalette:"hex"===n?"":e.bgColorPalette,tempBgColorPalette:"hex"===n?"":e.tempBgColorPalette,bgColorHex:t,bgColorOpacity:o}:{gradientColorPalette:"hex"===n?"":e.gradientColorPalette,tempGradientColorPalette:"hex"===n?"":e.tempGradientColorPalette,gradientColorHex:t,gradientColorOpacity:o}}function $e({v:e,hex:t,opacity:o,isChanged:n="hex",opacityDragEnd:i=!1}){return{hoverBgColorHex:t,hoverBgColorOpacity:o=t!==e.hoverBgColorHex&&0===e.hoverBgColorOpacity?e.tempHoverBgColorOpacity:o,tempHoverBgColorOpacity:o>0&&i?o:e.tempHoverBgColorOpacity,hoverBgColorPalette:"hex"===n?"":e.hoverBgColorPalette,tempHoverBgColorPalette:"hex"===n?"":e.tempHoverBgColorPalette,hoverBorderColorHex:""!==e.hoverBgColorPalette&&e.hoverBgColorPalette===e.hoverBorderColorPalette&&"filled"===e.fillType||""===e.hoverBgColorPalette&&e.hoverBgColorHex===e.hoverBorderColorHex&&"filled"===e.fillType?t:e.hoverBorderColorHex,hoverBorderColorPalette:""!==e.hoverBgColorPalette&&e.hoverBgColorPalette===e.hoverBorderColorPalette&&"filled"===e.fillType?"":e.hoverBorderColorPalette,tempHoverBorderColorPalette:""!==e.hoverBgColorPalette&&e.hoverBgColorPalette===e.hoverBorderColorPalette&&"filled"===e.fillType?"":e.tempHoverBorderColorPalette,hoverBorderColorOpacity:""===e.hoverBgColorPalette&&e.hoverBgColorHex===e.hoverBorderColorHex&&e.hoverBgColorOpacity===e.tempHoverBorderColorOpacity&&"filled"===e.fillType?0:e.hoverBorderColorOpacity}}function Ge({v:e,palette:t}){return{hoverBgColorPalette:t,hoverBgColorOpacity:0===e.hoverBgColorOpacity?e.tempHoverBgColorOpacity:e.hoverBgColorOpacity,hoverBorderColorPalette:""!==e.hoverBgColorPalette&&e.hoverBgColorPalette===e.hoverBorderColorPalette&&"filled"===e.fillType||""===e.hoverBgColorPalette&&e.hoverBgColorHex===e.hoverBorderColorHex&&"filled"===e.fillType?t:e.hoverBorderColorPalette,tempHoverBorderColorPalette:""!==e.hoverBgColorPalette&&e.hoverBgColorPalette===e.hoverBorderColorPalette&&"filled"===e.fillType||""===e.hoverBgColorPalette&&e.hoverBgColorHex===e.hoverBorderColorHex&&"filled"===e.fillType?t:e.hoverBorderColorPalette}}function Ue({v:e,hex:t,opacity:o,isChanged:n="hex"}){return"startPointer"===e.hoverGradientActivePointer?{hoverBgColorPalette:"hex"===n?"":e.hoverBgColorPalette,tempHoverBgColorPalette:"hex"===n?"":e.tempHoverBgColorPalette,hoverBgColorHex:t,hoverBgColorOpacity:o}:{hoverGradientColorPalette:"hex"===n?"":e.hoverGradientColorPalette,tempHoverGradientColorPalette:"hex"===n?"":e.tempHoverGradientColorPalette,hoverGradientColorHex:t,hoverGradientColorOpacity:o}}function Ke({v:e,hex:t,opacity:o,isChanged:n,opacityDragEnd:i}){return{colorHex:t,colorOpacity:o=t!==e.colorHex&&0==e.colorOpacity?e.tempColorOpacity:o,colorPalette:"hex"===n?"":e.colorPalette,tempColorOpacity:o>0&&i?o:e.tempColorOpacity,hoverColorHex:e.colorHex===e.hoverColorHex?t:e.hoverColorHex,hoverColorOpacity:e.colorOpacity===e.hoverColorOpacity?o:e.hoverColorOpacity}}function Ye({v:e,palette:t}){return{colorPalette:t,colorOpacity:0===e.colorOpacity?e.tempColorOpacity:e.colorOpacity}}function qe({v:e,hex:t,opacity:o,isChanged:n="hex"}){return{colorPalette:"hex"===n?"":e.colorPalette,colorHex:t,colorOpacity:o}}function Xe({v:e,hex:t,opacity:o,isChanged:n="hex"}){return{hoverColorHex:t,hoverColorOpacity:t!==e.hoverColorHex&&0==e.hoverColorOpacity?e.tempHoverColorOpacity:o,hoverColorPalette:"hex"===n?"":e.hoverColorPalette}}function Je({v:e,palette:t}){return{hoverColorPalette:t,hoverColorOpacity:0===e.hoverColorOpacity?e.tempHoverColorOpacity:e.hoverColorOpacity}}function Ze({v:e,hex:t,opacity:o,isChanged:n="hex"}){return{hoverColorPalette:"hex"===n?"":e.hoverColorPalette,hoverColorHex:t,hoverColorOpacity:o}}function Qe({v:e,hex:t,opacity:o,isChanged:n,opacityDragEnd:i}){return{colorHex:t,colorOpacity:o=t!==e.colorHex&&0===e.colorOpacity?e.tempColorOpacity:o,colorPalette:"hex"===n?"":e.colorPalette,tempColorOpacity:o>0&&i?o:e.tempColorOpacity,hoverColorHex:e.colorHex===e.hoverColorHex?t:e.hoverColorHex,hoverColorOpacity:e.colorOpacity===e.hoverColorOpacity?o:e.hoverColorOpacity}}function et({v:e,palette:t}){return{colorPalette:t,colorOpacity:0===e.colorOpacity?e.tempColorOpacity:e.colorOpacity,hoverColorPalette:e.colorPalette===e.hoverColorPalette?t:e.hoverColorPalette}}function tt({v:e,hex:t,opacity:o,isChanged:n}){return{colorPalette:"hex"===n?"":e.colorPalette,colorHex:t,colorOpacity:o,hoverColorHex:e.colorHex===e.hoverColorHex?t:e.hoverColorHex,hoverColorOpacity:e.colorOpacity===e.hoverColorOpacity?o:e.hoverColorOpacity}}function ot({v:e,hex:t,opacity:o,isChanged:n}){return o=t!==e.colorHex&&0===e.colorOpacity?e.tempColorOpacity:o,{hoverColorHex:t,hoverColorOpacity:t!==e.hoverColorHex&&0===e.hoverColorOpacity?e.tempHoverColorOpacity:o,hoverColorPalette:"hex"===n?"":e.hoverColorPalette}}function nt({v:e,palette:t}){return{hoverColorPalette:t,hoverColorOpacity:0===e.hoverColorOpacity?e.tempHoverColorOpacity:e.hoverColorOpacity}}function it({v:e,hex:t,opacity:o,isChanged:n}){return{hoverColorPalette:"hex"===n?"":e.hoverColorPalette,hoverColorHex:t,hoverColorOpacity:o}}function rt({v:e,hex:t,opacity:o,isChanged:n,opacityDragEnd:i}){return{mMenuColorHex:t,mMenuColorOpacity:o=t!==e.mMenuColorHex&&0==e.mMenuColorOpacity?e.mMenuTempColorOpacity:o,mMenuColorPalette:"hex"===n?"":e.mMenuColorPalette,mMenuTempColorOpacity:o>0&&i?o:e.mMenuTempColorOpacity,mMenuHoverColorHex:e.mMenuColorHex===e.mMenuHoverColorHex?t:e.mMenuHoverColorHex,mMenuHoverColorOpacity:e.mMenuColorOpacity===e.mMenuHoverColorOpacity?o:e.mMenuHoverColorOpacity}}function at({v:e,palette:t}){return{mMenuColorPalette:t,mMenuColorOpacity:0===e.mMenuColorOpacity?e.mMenuTempColorOpacity:e.mMenuColorOpacity}}function lt({v:e,hex:t,opacity:o,isChanged:n}){return{mMenuColorPalette:"hex"===n?"":e.mMenuColorPalette,mMenuColorHex:t,mMenuColorOpacity:o}}function st({v:e,hex:t,opacity:o,isChanged:n}){return{mMenuHoverColorHex:t,mMenuHoverColorOpacity:t!==e.mMenuHoverColorHex&&0==e.mMenuHoverColorOpacity?e.mMenuTempHoverColorOpacity:o,mMenuHoverColorPalette:"hex"===n?"":e.mMenuHoverColorPalette}}function ct({v:e,palette:t}){return{mMenuHoverColorPalette:t,mMenuHoverColorOpacity:0===e.mMenuHoverColorOpacity?e.mMenuTempHoverColorOpacity:e.mMenuHoverColorOpacity}}function dt({v:e,hex:t,opacity:o,isChanged:n}){return{mMenuHoverColorPalette:"hex"===n?"":e.mMenuHoverColorPalette,mMenuHoverColorHex:t,mMenuHoverColorOpacity:o}}function pt({v:e,hex:t,opacity:o,isChanged:n,opacityDragEnd:i}){return{subMenuColorHex:t,subMenuColorOpacity:o=t!==e.subMenuColorHex&&0===e.subMenuColorOpacity?e.subMenuTempColorOpacity:o,subMenuColorPalette:"hex"===n?"":e.subMenuColorPalette,subMenuTempColorOpacity:o>0&&i?o:e.subMenuTempColorOpacity,subMenuHoverColorHex:e.subMenuColorHex===e.subMenuHoverColorHex?t:e.subMenuHoverColorHex,subMenuHoverColorOpacity:e.subMenuColorOpacity===e.subMenuHoverColorOpacity?o:e.subMenuHoverColorOpacity,mMenuColorHex:e.subMenuColorHex===e.mMenuColorHex?t:e.mMenuColorHex,mMenuColorOpacity:e.subMenuColorOpacity===e.mMenuColorOpacity?o:e.mMenuColorOpacity,mMenuHoverColorHex:e.subMenuColorHex===e.mMenuHoverColorHex?t:e.mMenuHoverColorHex,mMenuHoverColorOpacity:e.subMenuColorOpacity===e.mMenuHoverColorOpacity?o:e.mMenuHoverColorOpacity}}function ut({v:e,palette:t}){return{subMenuColorPalette:t,subMenuColorOpacity:0===e.subMenuColorOpacity?e.subMenuTempColorOpacity:e.subMenuColorOpacity,subMenuHoverColorPalette:e.subMenuColorPalette===e.subMenuHoverColorPalette?t:e.subMenuHoverColorPalette,mMenuColorPalette:e.subMenuColorPalette===e.mMenuColorPalette?t:e.mMenuColorPalette,mMenuHoverColorPalette:e.subMenuColorPalette===e.mMenuHoverColorPalette?t:e.mMenuHoverColorPalette}}function bt({v:e,hex:t,opacity:o,isChanged:n}){return{subMenuColorPalette:"hex"===n?"":e.subMenuColorPalette,subMenuColorHex:t,subMenuColorOpacity:o,subMenuHoverColorHex:e.subMenuColorHex===e.subMenuHoverColorHex?t:e.subMenuHoverColorHex,subMenuHoverColorOpacity:e.subMenuColorOpacity===e.subMenuHoverColorOpacity?t:e.subMenuHoverColorOpacity,mMenuColorHex:e.subMenuColorHex===e.mMenuColorHex?t:e.mMenuBgColorHex,mMenuColorOpacity:e.subMenuColorOpacity===e.mMenuColorOpacity?o:e.mMenuColorOpacity,mMenuHoverColorHex:e.subMenuColorHex===e.mMenuHoverColorHex?t:e.mMenuHoverColorHex,mMenuHoverColorOpacity:e.subMenuColorOpacity===e.mMenuHoverColorOpacity?o:e.mMenuHoverColorOpacity}}function mt({v:e,hex:t,opacity:o,isChanged:n}){return{subMenuHoverColorHex:t,subMenuHoverColorOpacity:t!==e.subMenuHoverColorHex&&0===e.subMenuHoverColorOpacity?e.subMenuTempHoverColorOpacity:o,subMenuHoverColorPalette:"hex"===n?"":e.subMenuHoverColorPalette,mMenuHoverColorHex:e.subMenuHoverColorHex===e.mMenuHoverColorHex?t:e.mMenuHoverColorHex,mMenuHoverColorOpacity:e.subMenuHoverColorOpacity===e.mMenuHoverColorOpacity?o:e.mMenuHoverColorOpacity}}function ht({v:e,palette:t}){return{subMenuHoverColorPalette:t,subMenuHoverColorOpacity:0===e.subMenuHoverColorOpacity?e.subMenuTempHoverColorOpacity:e.subMenuHoverColorOpacity,mMenuHoverColorPalette:e.subMenuHoverColorPalette===e.mMenuHoverColorPalette?t:e.mMenuHoverColorPalette}}function gt({v:e,hex:t,opacity:o,isChanged:n}){return{subMenuHoverColorPalette:"hex"===n?"":e.subMenuHoverColorPalette,subMenuHoverColorHex:t,subMenuHoverColorOpacity:o,mMenuHoverColorHex:e.subMenuHoverColorHex===e.mMenuHoverColorHex?t:e.mMenuHoverColorHex,mMenuHoverColorOpacity:e.subMenuHoverColorOpacity===e.mMenuHoverColorOpacity?o:e.mMenuHoverColorOpacity}}function ft({v:e,hex:t,opacity:o,isChanged:n}){return{mMenuIconColorHex:t,mMenuIconColorOpacity:t!==e.mMenuIconColorHex&&0===e.mMenuIconColorOpacity?e.mMenuTempIconColorOpacity:o,mMenuIconColorPalette:"hex"===n?"":e.mMenuIconColorPalette}}function vt({v:e,palette:t}){return{mMenuIconColorPalette:t,mMenuIconColorHex:"",mMenuIconColorOpacity:0===e.mMenuIconColorOpacity?e.mMenuTempIconColorOpacity:e.mMenuIconColorOpacity}}function yt({v:e,hex:t,opacity:o,isChanged:n}){const i=t!==e.mMenuIconColorHex&&0===e.mMenuIconColorOpacity?e.mMenuTempIconColorOpacity:o;return{mMenuIconColorPalette:"hex"===n?"":e.mMenuIconColorPalette,mMenuIconColorHex:t,mMenuIconColorOpacity:i}}function St({v:e,hex:t,opacity:o,isChanged:n}){return{tabletMMenuIconColorHex:t,tabletMMenuIconColorOpacity:t!==e.tabletMMenuIconColorHex&&0===e.tabletMMenuIconColorOpacity?e.mMenuTempIconColorOpacity:o,tabletMMenuIconColorPalette:"hex"===n?"":e.tabletMMenuIconColorPalette}}function Ot({v:e,palette:t}){return{tabletMMenuIconColorPalette:t,tabletMMenuIconColorHex:"",tabletMMenuIconColorOpacity:0===e.tabletMMenuIconColorOpacity?e.mMenuTempIconColorOpacity:e.tabletMMenuIconColorOpacity}}function xt({v:e,hex:t,opacity:o,isChanged:n}){const i=t!==e.tabletMMenuIconColorHex&&0===e.tabletMMenuIconColorOpacity?e.mMenuTempIconColorOpacity:o;return{tabletMMenuIconColorPalette:"hex"===n?"":e.tabletMMenuIconColorPalette,tabletMMenuIconColorHex:t,tabletMMenuIconColorOpacity:i}}function Ct({v:e,hex:t,opacity:o,isChanged:n}){return{mobileMMenuIconColorHex:t,mobileMMenuIconColorOpacity:t!==e.mobileMMenuIconColorHex&&0===e.mobileMMenuIconColorOpacity?e.mMenuTempIconColorOpacity:o,mobileMMenuIconColorPalette:"hex"===n?"":e.mobileMMenuIconColorPalette}}function Bt({v:e,palette:t}){return{mobileMMenuIconColorPalette:t,mobileMMenuIconColorHex:"",mobileMMenuIconColorOpacity:0===e.mobileMMenuIconColorOpacity?e.mMenuTempIconColorOpacity:e.mobileMMenuIconColorOpacity}}function jt({v:e,hex:t,opacity:o,isChanged:n}){const i=t!==e.mobileMMenuIconColorHex&&0===e.mobileMMenuIconColorOpacity?e.mMenuTempIconColorOpacity:o;return{mobileMMenuIconColorPalette:"hex"===n?"":e.mobileMMenuIconColorPalette,mobileMMenuIconColorHex:t,mobileMMenuIconColorOpacity:i}}function Pt({v:e,hex:t,opacity:o,isChanged:n,opacityDragEnd:i}){return{mMenuBgColorHex:t,mMenuBgColorOpacity:o=t!==e.mMenuBgColorHex&&0==e.mMenuBgColorOpacity?e.mMenuTempBgColorOpacity:o,mMenuBgColorPalette:"hex"===n?"":e.mMenuBgColorPalette,mMenuTempBgColorOpacity:o>0&&i?o:e.mMenuTempBgColorOpacity}}function Tt({v:e,palette:t}){return{mMenuBgColorPalette:t,mMenuBgColorOpacity:0===e.mMenuBgColorOpacity?e.mMenuTempBgColorOpacity:e.mMenuBgColorOpacity}}function wt({v:e,hex:t,opacity:o,isChanged:n,opacityDragEnd:i=!1}){return{subMenuBgColorHex:t,subMenuBgColorOpacity:o=t!==e.subMenuBgColorHex&&0===e.subMenuBgColorOpacity?e.subMenuTempBgColorOpacity:o,subMenuBgColorPalette:"hex"===n?"":e.subMenuBgColorPalette,subMenuTempBgColorOpacity:o>0&&i?o:e.subMenuTempBgColorOpacity,subMenuHoverBgColorHex:e.subMenuBgColorHex===e.subMenuHoverBgColorHex?t:e.subMenuHoverBgColorHex,subMenuHoverBgColorOpacity:e.subMenuBgColorOpacity===e.subMenuHoverBgColorOpacity?t:e.subMenuHoverBgColorOpacity,mMenuBgColorHex:e.subMenuBgColorHex===e.mMenuBgColorHex?t:e.mMenuBgColorHex,mMenuBgColorOpacity:e.subMenuBgColorOpacity===e.mMenuBgColorOpacity?o:e.mMenuBgColorOpacity}}function Et({v:e,palette:t}){return{subMenuBgColorPalette:t,subMenuBgColorOpacity:0===e.subMenuBgColorOpacity?e.subMenuTempBgColorOpacity:e.subMenuBgColorOpacity,subMenuHoverBgColorPalette:e.subMenuBgColorPalette===e.subMenuHoverBgColorPalette?t:e.subMenuHoverBgColorPalette,mMenuBgColorPalette:e.subMenuBgColorPalette===e.mMenuBgColorPalette?t:e.mMenuBgColorPalette}}function zt({v:e,hex:t,opacity:o,isChanged:n}){return{subMenuBgColorPalette:"hex"===n?"":e.subMenuBgColorPalette,subMenuBgColorHex:t,subMenuBgColorOpacity:o,subMenuHoverBgColorHex:e.subMenuBgColorHex===e.subMenuHoverBgColorHex?t:e.subMenuHoverBgColorHex,subMenuHoverBgColorOpacity:e.subMenuBgColorOpacity===e.subMenuHoverBgColorOpacity?t:e.subMenuHoverBgColorOpacity,mMenuBgColorHex:e.subMenuBgColorHex===e.mMenuBgColorHex?t:e.mMenuBgColorHex,mMenuBgColorOpacity:e.subMenuBgColorOpacity===e.mMenuBgColorOpacity?o:e.mMenuBgColorOpacity}}function kt({v:e,hex:t,opacity:o,isChanged:n}){return{subMenuHoverBgColorHex:t,subMenuHoverBgColorOpacity:t!==e.subMenuHoverBgColorHex&&0===e.subMenuHoverBgColorOpacity?e.subMenuTempHoverBgColorOpacity:o,subMenuHoverBgColorPalette:"hex"===n?"":e.subMenuHoverBgColorPalette}}function Ft({v:e,palette:t}){return{subMenuHoverBgColorPalette:t,subMenuHoverBgColorOpacity:0===e.subMenuHoverBgColorOpacity?e.subMenuTempHoverBgColorOpacity:e.subMenuHoverBgColorOpacity}}function _t({v:e,hex:t,opacity:o,isChanged:n}){return{subMenuHoverBgColorPalette:"hex"===n?"":e.subMenuHoverBgColorPalette,subMenuHoverBgColorHex:t,subMenuHoverBgColorOpacity:o}}function Rt({v:e,hex:t,opacity:o,isChanged:n,opacityDragEnd:i}){return{mMenuBorderColorHex:t,mMenuBorderColorOpacity:o=t!==e.mMenuBorderColorHex&&0==e.mMenuBorderColorOpacity?e.mMenuTempBorderColorOpacity:o,mMenuBorderColorPalette:"hex"===n?"":e.mMenuBorderColorPalette,mMenuTempBorderColorOpacity:o>0&&i?o:e.mMenuTempBorderColorOpacity}}function Ht({v:e,palette:t}){return{mMenuBorderColorPalette:t,mMenuBorderColorOpacity:0===e.mMenuBorderColorOpacity?e.mMenuTempBorderColorOpacity:e.mMenuBorderColorOpacity}}function Lt({v:e,hex:t,opacity:o,isChanged:n}){return{mMenuBorderColorPalette:"hex"===n?"":e.mMenuBorderColorPalette,mMenuBorderColorHex:t,mMenuBorderColorOpacity:o}}function Mt({v:e,hex:t,opacity:o,isChanged:n,opacityDragEnd:i}){return{subMenuBorderColorHex:t,subMenuBorderColorOpacity:o=t!==e.subMenuBorderColorHex&&0===e.subMenuBorderColorOpacity?e.subMenuTempBorderColorOpacity:o,subMenuBorderColorPalette:"hex"===n?"":e.subMenuBorderColorPalette,subMenuTempBorderColorOpacity:o>0&&i?o:e.subMenuTempBorderColorOpacity,mMenuBorderColorHex:e.subMenuBorderColorHex===e.mMenuBorderColorHex?t:e.mMenuBorderColorHex,mMenuBorderColorOpacity:e.subMenuBorderColorOpacity===e.mMenuBorderColorOpacity?o:e.mMenuBorderColorOpacity}}function It({v:e,palette:t}){return{subMenuBorderColorPalette:t,subMenuBorderColorOpacity:0===e.subMenuBorderColorOpacity?e.subMenuTempBorderColorOpacity:e.subMenuBorderColorOpacity,mMenuBorderColorPalette:e.subMenuBorderColorPalette===e.mMenuBorderColorPalette?t:e.mMenuBorderColorPalette}}function Wt({v:e,hex:t,opacity:o,isChanged:n}){return{subMenuBorderColorPalette:"hex"===n?"":e.subMenuBorderColorPalette,subMenuBorderColorHex:t,subMenuBorderColorOpacity:o,mMenuBorderColorHex:e.subMenuBorderColorHex===e.mMenuBorderColorHex?t:e.mMenuBorderColorHex,mMenuBorderColorOpacity:e.subMenuBorderColorOpacity===e.mMenuBorderColorOpacity?o:e.mMenuBorderColorOpacity}}function Nt({v:e,hex:t,opacity:o,isChanged:n}){return{activeSubMenuColorHex:t,activeSubMenuColorOpacity:t!==e.activeSubMenuColorHex&&0===e.activeSubMenuColorOpacity?e.tempActiveSubMenuColorOpacity:o,activeSubMenuColorPalette:"hex"===n?"":e.activeSubMenuColorPalette,activeMMenuColorHex:e.activeSubMenuColorHex===e.activeMMenuColorHex?t:e.activeMMenuColorHex,activeMMenuColorOpacity:e.activeSubMenuColorOpacity===e.activeMMenuColorOpacity?o:e.activeMMenuColorOpacity}}function Vt({v:e,palette:t}){return{activeSubMenuColorPalette:t,activeSubMenuColorOpacity:0===e.activeSubMenuColorOpacity?e.tempActiveSubMenuColorOpacity:e.activeSubMenuColorOpacity,activeMMenuColorPalette:e.activeSubMenuColorPalette===e.activeMMenuColorPalette?t:e.activeMMenuColorPalette}}function At({v:e,hex:t,opacity:o,isChanged:n}){return{activeSubMenuColorPalette:"hex"===n?"":e.activeSubMenuColorPalette,activeSubMenuColorHex:t,activeSubMenuColorOpacity:o,activeMMenuColorHex:e.activeSubMenuColorHex===e.activeMMenuColorHex?t:e.activeMMenuColorHex,activeMMenuColorOpacity:e.activeSubMenuColorOpacity===e.activeMMenuColorOpacity?o:e.activeMMenuColorOpacity}}function Dt({v:e,hex:t,opacity:o,isChanged:n}){return{activeSubMenuBgColorHex:t,activeSubMenuBgColorOpacity:t!==e.activeSubMenuBgColorHex&&0===e.activeSubMenuBgColorOpacity?e.tempActiveSubMenuBgColorOpacity:o,activeSubMenuBgColorPalette:"hex"===n?"":e.activeSubMenuBgColorPalette}}function $t({v:e,palette:t}){return{activeSubMenuBgColorPalette:t,activeSubMenuBgColorOpacity:0===e.activeSubMenuBgColorOpacity?e.tempActiveSubMenuBgColorOpacity:e.activeSubMenuBgColorOpacity}}function Gt({v:e,hex:t,opacity:o,isChanged:n}){return{activeSubMenuBgColorPalette:"hex"===n?"":e.activeSubMenuBgColorPalette,activeSubMenuBgColorHex:t,activeSubMenuBgColorOpacity:o}}function Ut({v:e,hex:t,opacity:o,isChanged:n}){return{activeMMenuColorHex:t,activeMMenuColorOpacity:t!==e.activeMMenuColorHex&&0==e.activeMMenuColorOpacity?e.tempActiveMMenuHoverColorOpacity:o,activeMMenuColorPalette:"hex"===n?"":e.activeMMenuColorPalette}}function Kt({v:e,palette:t}){return{activeMMenuColorPalette:t,activeMMenuColorOpacity:0===e.activeMMenuColorOpacity?e.tempActiveMMenuHoverColorOpacity:e.activeMMenuColorOpacity}}function Yt({v:e,hex:t,opacity:o,isChanged:n}){return{activeMMenuColorPalette:"hex"===n?"":e.activeMMenuColorPalette,activeMMenuColorHex:t,activeMMenuColorOpacity:o}}var qt=o(40);function Xt(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Jt(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Xt(Object(o),!0).forEach((function(t){Object(i.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Xt(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function Zt(e,t){const{fontSize:o,fontFamily:n,fontFamilyType:i,lineHeight:r,letterSpacing:a,fontWeight:l}=""===t.fontStyle?t:Object(qt.f)(t.fontStyle);return Jt({fontSize:o,fontFamily:n,fontFamilyType:i,lineHeight:r,letterSpacing:a,fontWeight:l,fontStyle:""},e)}function Qt(e,t){const{tabletFontSize:o,tabletLineHeight:n,tabletLetterSpacing:i,tabletFontWeight:r}=""===t.tabletFontStyle?t:Object(qt.f)(t.tabletFontStyle);return Jt({tabletFontSize:o,tabletLineHeight:n,tabletLetterSpacing:i,tabletFontWeight:r,tabletFontStyle:""},e)}function eo(e,t){const{mobileFontSize:o,mobileLineHeight:n,mobileLetterSpacing:i,mobileFontWeight:r}=""===t.mobileFontStyle?t:Object(qt.f)(t.mobileFontStyle);return Jt({mobileFontSize:o,mobileLineHeight:n,mobileLetterSpacing:i,mobileFontWeight:r,mobileFontStyle:""},e)}var to=o(10);function oo(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function no(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?oo(Object(o),!0).forEach((function(t){Object(i.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):oo(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function io({v:e,prefix:t="",current:o,value:n,weights:i,type:l,device:s,state:c}){const d=Object(a.a)({key:Object(r.b)(t,"fontStyle"),device:s,state:c}),p=Object(a.a)({key:Object(r.b)(t,"fontFamily"),device:s,state:c}),u=Object(a.a)({key:Object(r.b)(t,"fontFamilyType"),device:s,state:c}),b=Object(a.a)({key:Object(r.b)(t,"fontSize"),device:s,state:c}),m=Object(a.a)({key:Object(r.b)(t,"lineHeight"),device:s,state:c}),h=Object(a.a)({key:Object(r.b)(t,"letterSpacing"),device:s,state:c}),g=Object(a.a)({key:Object(r.b)(t,"fontWeight"),device:s,state:c}),f=Object(to.e)("fontFamilyType",Object(a.b)({v:e,key:Object(r.b)(t,"fontFamilyType"),device:s,state:c}),Object(a.b)({v:e,key:Object(r.b)(t,"fontStyle"),device:s,state:c})),v=Object(to.e)("fontFamily",Object(a.b)({v:e,key:Object(r.b)(t,"fontFamily"),device:s,state:c}),Object(a.b)({v:e,key:Object(r.b)(t,"fontStyle"),device:s,state:c})),y=Object(to.e)("fontSize",Object(a.b)({v:e,key:Object(r.b)(t,"fontSize"),device:s,state:c}),Object(a.b)({v:e,key:Object(r.b)(t,"fontStyle"),device:s,state:c})),S=Object(to.e)("lineHeight",Object(a.b)({v:e,key:Object(r.b)(t,"lineHeight"),device:s,state:c}),Object(a.b)({v:e,key:Object(r.b)(t,"fontStyle"),device:s,state:c})),O=Object(to.e)("letterSpacing",Object(a.b)({v:e,key:Object(r.b)(t,"letterSpacing"),device:s,state:c}),Object(a.b)({v:e,key:Object(r.b)(t,"fontStyle"),device:s,state:c})),x=Object(to.e)("fontWeight",Object(a.b)({v:e,key:Object(r.b)(t,"fontWeight"),device:s,state:c}),Object(a.b)({v:e,key:Object(r.b)(t,"fontStyle"),device:s,state:c}));return no(no(no(no(no({[d]:""},o===p?{[p]:n,[u]:l}:{[p]:v,[u]:f}),o===b?{[b]:n}:{[b]:y}),o===m?{[m]:n}:{[m]:S}),o===h?{[h]:n}:{[h]:O}),o===g?{[g]:n}:o===p?{[g]:Object(qt.m)(x,i)}:{[g]:x})}},,function(e,t,o){"use strict";o.d(t,"c",(function(){return l})),o.d(t,"b",(function(){return s})),o.d(t,"a",(function(){return c})),o.d(t,"g",(function(){return d})),o.d(t,"e",(function(){return p})),o.d(t,"d",(function(){return u})),o.d(t,"f",(function(){return b}));var n=o(11),i=o(20),r=o(23),a=o(19);const l="normal",s="hover",c="active",d=()=>[l,s,c],p=Object(n.c)(e=>d().includes(e)),u=l,b=Object(n.d)(r.d,Object(a.mPipe)(p),Object(i.g)(u))},,,function(e,t,o){"use strict";o.d(t,"g",(function(){return n})),o.d(t,"c",(function(){return i})),o.d(t,"b",(function(){return r})),o.d(t,"a",(function(){return a})),o.d(t,"f",(function(){return l})),o.d(t,"e",(function(){return s})),o.d(t,"d",(function(){return c}));o(70);const n=(e,t)=>"string"==typeof e?e:t,i=e=>e&&e[0].toUpperCase()+e.slice(1),r=(e,t)=>""===e?t:e+i(t),a=e=>e.reduce(r,""),l=(e,...t)=>{let o=0;return e.replace(/%s/g,()=>t[o++])},s=e=>encodeURIComponent(JSON.stringify(e)),c=e=>JSON.parse(decodeURIComponent(e))},,function(e,t,o){"use strict";o.d(t,"d",(function(){return i})),o.d(t,"e",(function(){return a})),o.d(t,"a",(function(){return l.a})),o.d(t,"c",(function(){return p})),o.d(t,"b",(function(){return b})),o.d(t,"f",(function(){return m})),o.d(t,"g",(function(){return g})),o.d(t,"h",(function(){return f})),o.d(t,"i",(function(){return v})),o.d(t,"j",(function(){return y}));var n=o(12);function i(e,t){if(t){e=Object(n.b)(t).hex}return{hex:e}}var r=o(40);function a(e,t,o){if(o){const t=Object(r.f)(o);if(t)return t[e]}return t}var l=o(296),s=o(6);const c=e=>(e=>"optgroup"in e)(e)?{title:e.label,optgroup:e.optgroup.map(c)}:{title:e.label,value:e.alias||e.placeholder},d=e=>s.default.flatten(s.default.values(e),!0).map(c),p=(e,t)=>{if(!e)return[];const o=d(e[t]),n=[];if((e=>"reference"in e&&"multiReference"in e)(e)){const{reference:o,multiReference:i}=e;[...null!=o?o:[],...null!=i?i:[]].forEach(({title:e,dynamicContent:o})=>{const i=d(o[t]);i.length&&n.push({optgroup:i,title:e})})}return[...o,...n]};var u=o(59);const b=(e,t)=>{const o=Object(u.a)(e,e=>e.placeholder===t||e.alias===t);if(null!=o&&o.obj)return o.obj},m=()=>[{title:"None",value:"none"},{icon:{className:"brz-ed-shape--1"},value:"1"},{icon:{className:"brz-ed-shape--2"},value:"2"},{icon:{className:"brz-ed-shape--3"},value:"3"},{icon:{className:"brz-ed-shape--4"},value:"4"},{icon:{className:"brz-ed-shape--5"},value:"5"},{icon:{className:"brz-ed-shape--6"},value:"6"},{icon:{className:"brz-ed-shape--7"},value:"7"},{icon:{className:"brz-ed-shape--8"},value:"8"},{icon:{className:"brz-ed-shape--9"},value:"9"},{icon:{className:"brz-ed-shape--10"},value:"10"},{icon:{className:"brz-ed-shape--11"},value:"11"},{icon:{className:"brz-ed-shape--12"},value:"12"},{icon:{className:"brz-ed-shape--13"},value:"13"},{icon:{className:"brz-ed-shape--14"},value:"14"},{icon:{className:"brz-ed-shape--15"},value:"15"},{icon:{className:"brz-ed-shape--16"},value:"16"},{icon:{className:"brz-ed-shape--17"},value:"17"},{icon:{className:"brz-ed-shape--18"},value:"18"},{icon:{className:"brz-ed-shape--19"},value:"19"},{icon:{className:"brz-ed-shape--20"},value:"20"},{icon:{className:"brz-ed-shape--21"},value:"21"},{icon:{className:"brz-ed-shape--22"},value:"22"},{icon:{className:"brz-ed-shape--23"},value:"23"},{icon:{className:"brz-ed-shape--24"},value:"24"},{icon:{className:"brz-ed-shape--25"},value:"25"},{icon:{className:"brz-ed-shape--26"},value:"26"},{icon:{className:"brz-ed-shape--27"},value:"27"},{icon:{className:"brz-ed-shape--28"},value:"28"},{icon:{className:"brz-ed-shape--29"},value:"29"},{icon:{className:"brz-ed-shape--30"},value:"30"},{icon:{className:"brz-ed-shape--31"},value:"31"},{icon:{className:"brz-ed-shape--32"},value:"32"},{icon:{className:"brz-ed-shape--33"},value:"33"},{icon:{className:"brz-ed-shape--34"},value:"34"},{icon:{className:"brz-ed-shape--35"},value:"35"},{icon:{className:"brz-ed-shape--36"},value:"36"},{icon:{className:"brz-ed-shape--37"},value:"37"},{icon:{className:"brz-ed-shape--38"},value:"38"},{icon:{className:"brz-ed-shape--39"},value:"39"},{icon:{className:"brz-ed-shape--40"},value:"40"},{icon:{className:"brz-ed-shape--41"},value:"41"},{icon:{className:"brz-ed-shape--42"},value:"42"}];var h=o(14);const g=(e=h.a.getAll().taxonomies)=>e?e.map(e=>{const{id:t="",label:o="",name:n="",terms:i=[]}=e;return t||o||n?i&&i.length?{title:o,optgroup:i.map(e=>({title:e.name,value:`${n}|${e.id}`}))}:{title:o,value:`${n}|${t}`}:{title:"-",value:""}}):[{title:"-",value:""}],f=(e="")=>{const t=h.a.getAll().taxonomies.filter(t=>{const{name:o}=t;return"products"===e?o.indexOf("product")>-1:"posts"===e?o.indexOf("product")<0:t});return g(t)},v=()=>{const e=h.a.getAll().postTypesTaxs;return e?e.map(e=>({value:e.name,title:e.label})):[{title:"-",value:""}]},y=e=>{const t=h.a.getAll().postTypesTaxs;return e&&t?t.filter(t=>t.taxonomies&&t.taxonomies.length&&t.name===e).reduce((e,t)=>{if(t.taxonomies){const o=t.taxonomies.map(e=>({value:e.id,title:e.name}));return e.concat(o)}return e},[]):[{title:"-",value:""}]}},function(e,t,o){"use strict";o.d(t,"c",(function(){return r})),o.d(t,"a",(function(){return a}));var n=o(117);o.d(t,"d",(function(){return n.a}));var i=o(77);function r(e){return t=>e(t)?t:void 0}o.d(t,"b",(function(){return i.a}));const a=e=>()=>e},function(e,t,o){"use strict";o.d(t,"f",(function(){return d})),o.d(t,"e",(function(){return p})),o.d(t,"d",(function(){return u})),o.d(t,"a",(function(){return b})),o.d(t,"c",(function(){return a})),o.d(t,"b",(function(){return l})),o.d(t,"h",(function(){return s})),o.d(t,"g",(function(){return c}));o(70);var n=o(83),i=o(29),r=o(17);function a(){return Object(r.i)(Object(i.b)().getState()).colorPalette}function l(e){return a().find(t=>t.id===e)}const s=(e,t)=>e.map(({id:e,hex:o})=>{let n=".brz-cp-"+e.toLowerCase(),i=".brz-bcp-"+e.toLowerCase();return"function"==typeof t&&(n=t(n),i=t(i)),`.brz ${n}, .brz ${i}{color: ${o};}`}).join(""),c=e=>`:root{${e.map(({id:e,hex:t})=>`--brz-global-${e}:${u(t)};`).join("")}}`;const d=e=>Object(n.c)(null!=e?e:"");function p(e,t){if(d(e)){e=e.replace("#",""),t=isNaN(t)?1:t;return`rgba(${parseInt(e.substring(0,2),16)}, ${parseInt(e.substring(2,4),16)}, ${parseInt(e.substring(4,6),16)}, ${t})`}}function u(e){if(d(e)){e=e.replace("#","");return`${parseInt(e.substring(0,2),16)}, ${parseInt(e.substring(2,4),16)}, ${parseInt(e.substring(4,6),16)}`}}function b(e,t,o){return e?`rgba(var(--brz-global-${e}),${o})`:p(t,o)}},function(e,t,o){"use strict";o.d(t,"a",(function(){return U})),o.d(t,"b",(function(){return h})),o.d(t,"d",(function(){return K})),o.d(t,"e",(function(){return Y}));var n=o(9),i=o(2),r=o(0),a=o.n(r),l=o(32),s=o(19),c=o(42),d=o.n(c),p=o(80),u=o(60),b=o(6);const m=a.a.createContext(void 0),h=({children:e,position:t,onEscape:o})=>{const n=Object(r.useContext)(m),i=Object(r.useMemo)(()=>b.default.defaults({position:t,onEscape:o},n),[t,o,n]);return a.a.createElement(m.Provider,{value:i},e)};var g=o(236);const f=({data:e,toolbar:t})=>a.a.createElement("div",{className:"brz-ed-toolbar__item"},a.a.createElement(g.a,{className:"brz-ed-toolbar__option",data:e,toolbar:t,location:"toolbar"}));function v(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function y(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?v(Object(o),!0).forEach((function(t){Object(i.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):v(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}class S extends a.a.Component{constructor(...e){super(...e),Object(i.a)(this,"state",{itemsRenderer:void 0}),Object(i.a)(this,"containerRef",a.a.createRef()),Object(i.a)(this,"arrowRef",a.a.createRef()),Object(i.a)(this,"setItemsRenderer",e=>{this.setState({itemsRenderer:e},this.props.onContentChange)}),Object(i.a)(this,"resetItemsRenderer",()=>{this.setState({itemsRenderer:void 0},this.props.onContentChange)}),Object(i.a)(this,"renderItems",e=>{const{position:t,containerRef:o}=this.props,n=e.map((n,i)=>a.a.createElement(f,{key:n.id,data:n,toolbar:y(y({},this),{},{toolbarRef:null!=o?o:this.containerRef,toolbarCSSPosition:t,toolbarItemIndex:i+1,toolbarItemsLength:e.length})}));return a.a.createElement("div",{className:"brz-ed-toolbar__items brz-d-xs-flex brz-align-items-center"},n)})}render(){const{containerRef:e,arrowRef:t,arrow:o,items:n,onClick:i,onMouseEnter:r,onMouseLeave:l}=this.props,{itemsRenderer:s}=this.state;return n.length?a.a.createElement("div",{ref:null!=e?e:this.containerRef,className:"brz-ed-toolbar",onClick:i,onMouseEnter:r,onMouseLeave:l},void 0!==s?s(n):this.renderItems(n),o&&a.a.createElement("div",{ref:null!=t?t:this.arrowRef,className:"brz-ed-arrow brz-ed-arrow--top-center brz-ed-toolbar__arrow"})):null}}Object(i.a)(S,"defaultProps",{arrow:!0,items:[]});var O=o(43),x=o(209);class C extends a.a.Component{constructor(...e){super(...e),Object(i.a)(this,"toolbarItemsContainerRef",a.a.createRef()),Object(i.a)(this,"toolbarItemsArrowRef",a.a.createRef()),Object(i.a)(this,"reposition",()=>{const{node:e,offsetTop:t,offsetBottom:o,offsetLeft:n,position:i}=this.props,r=this.toolbarItemsContainerRef.current,a=this.toolbarItemsArrowRef.current,l=e.ownerDocument.defaultView,s=document.documentElement.clientWidth;if(!r)return;const c=r.getBoundingClientRect(),d=e.getBoundingClientRect();let p,u;const b="fixed"===i?0:l.scrollY;b+d.top-(c.height+300)>=l.scrollY?(p=!1,u=b+d.top-c.height-Number(t),Object(x.b)("above")):(p=!0,u=b+d.top+d.height+Number(o),Object(x.b)("below"));const m=d.left+d.width/2-c.width/2+Number(n),h=e.ownerDocument.defaultView===l.parent?58:0,g=s-c.width,f=Object(O.b)(m,h,g),v=m-f;r.style.top=u+"px",r.style.left=f+"px","fixed"===i&&(r.style.position="fixed"),r.classList.add("brz-ed-animated","brz-ed-animated--fadeInDown"),p?r.classList.add("brz-ed-toolbar--bottom"):r.classList.remove("brz-ed-toolbar--bottom"),a&&(c.width/2-Math.abs(v)<23?a.classList.add("brz-hidden"):a.classList.remove("brz-hidden"),p?(a.classList.remove("brz-ed-arrow--top-center"),a.classList.add("brz-ed-arrow--bottom-center")):(a.classList.remove("brz-ed-arrow--bottom-center"),a.classList.add("brz-ed-arrow--top-center")),a.style.left=`calc(50% + ${v}px)`)})}componentDidMount(){this.reposition()}componentDidUpdate(){this.props.repositionOnUpdates&&this.reposition()}render(){return a.a.createElement(S,Object(n.a)({},this.props,{containerRef:this.toolbarItemsContainerRef,arrowRef:this.toolbarItemsArrowRef,arrow:!0,onContentChange:this.reposition}))}}Object(i.a)(C,"defaultProps",{offsetTop:14,offsetBottom:14,offsetLeft:0});var B=o(218);const j=({getItems:e,getTitle:t})=>e?(Object(r.useEffect)(()=>{B.b&&B.b.setItems(e,t)}),Object(r.useEffect)(()=>()=>{B.b&&B.b.clearItems()},[]),null):null;let P=null,T=null;const w={getActive:()=>T,setActive(e){this.unsetActive(),T=e},unsetIfActive(e){e===T&&this.unsetActive()},unsetActive(e){null!==T&&(P=T,T=null,P.handleMonitorDeactivationRequest(e))},activateLastActive(){P&&P.handleMonitorActivationRequest()}};var E=o(66),z=o(238),k=o(103);function F(e,t,o){let n=o.target;for(;n&&n!==e;){if(n.matches(t))return n;n=n.parentElement}return n}function _(e,t,o){if(e.matches(t)&&Object(E.g)(o.clientX,o.clientY,e.getBoundingClientRect()))return e;const n=e.querySelectorAll(t);for(let e=0;e<n.length;e++){const t=n[e];if(t&&Object(E.g)(o.clientX,o.clientY,t.getBoundingClientRect()))return t}return null}const R=(e,t)=>Object(z.a)(Object(k.b)(e,t));var H=o(55);function L(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function M(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?L(Object(o),!0).forEach((function(t){Object(i.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):L(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const I=new Map;class W extends a.a.Component{constructor(...e){super(...e),Object(i.a)(this,"context",void 0),Object(i.a)(this,"state",{opened:!1}),Object(i.a)(this,"node",null),Object(i.a)(this,"selectorNode",null),Object(i.a)(this,"makeComponentUnControlled",()=>{null!==this.node&&this.node.removeEventListener("click",this.handleNodeClick)}),Object(i.a)(this,"makeComponentControlled",()=>{null!==this.node&&this.node.addEventListener("click",this.handleNodeClick,!1)}),Object(i.a)(this,"handleNodeClick",e=>{if(null!==this.node&&!e.brzToolbarHandled)if(void 0===this.props.selector){if(w.getActive()===this)return;e.brzToolbarHandled=!0,this.show()}else{const t=("dom-tree"===this.props.selectorSearchStrategy?F:_)(this.node,this.props.selector,e);t?(e.brzToolbarHandled=!0,!1===this.state.opened?(this.selectorNode=t,this.show()):t!==this.selectorNode&&this.hide({onComplete:()=>{this.selectorNode=t,this.show()}})):this.hide()}}),Object(i.a)(this,"handleClick",e=>{e.stopPropagation();const{onClick:t}=this.props;t&&t(e)}),Object(i.a)(this,"handleMouseEnter",e=>{e.stopPropagation();const{onMouseEnter:t}=this.props;if(t&&t(e),null!==this.node){const e=new CustomEvent("brz.toolbar.mouseenter",{bubbles:!0});this.node.dispatchEvent(e)}}),Object(i.a)(this,"handleMouseLeave",e=>{e.stopPropagation();const{onMouseLeave:t}=this.props;if(void 0!==t&&t(e),this.node){const e=new CustomEvent("brz.toolbar.mouseleave",{bubbles:!0});this.node.dispatchEvent(e)}}),Object(i.a)(this,"handleEscape",()=>{const e=this.props,t=M(M({},this.context),e);t.onEscape?t.onEscape():this.hide()}),Object(i.a)(this,"handleClickOutside",()=>{w.unsetActive()}),Object(i.a)(this,"clickOutsideException",e=>{try{const t=d.a.findDOMNode(this);return null!==t&&t.contains(e)}catch(e){return!1}}),Object(i.a)(this,"getOutSideExceptions",()=>[".brz-ed-sidebar__right",".brz-ed-tooltip__content-portal",".brz-ed-fixed",".brz-ed-box__resizer--point",".media-modal",".media-modal-backdrop",this.clickOutsideException]),Object(i.a)(this,"getItems",()=>{const e=this.props.device,t=Object(H.b)();return this.props.getItems().map(R(e,t)).filter(s.isT)}),Object(i.a)(this,"getSidebarItems",()=>{const e=this.props.device,t=Object(H.b)();return this.props.getSidebarItems?this.props.getSidebarItems().map(R(e,t)).filter(s.isT):[]})}componentDidMount(){if(this.node=d.a.findDOMNode(this),null!==this.node&&null!==this.node.ownerDocument){if(!I.get(this.node.ownerDocument)){const e=this.node.ownerDocument.createElement("div");e.id="brz-toolbar-portal",this.node.ownerDocument.body.appendChild(e),I.set(this.node.ownerDocument,e)}this.props.manualControl||this.makeComponentControlled()}}componentDidUpdate({manualControl:e=!1}){e!==this.props.manualControl&&(!0===e?this.makeComponentControlled():this.makeComponentUnControlled())}componentWillUnmount(){w.unsetIfActive(this),this.node=null,this.selectorNode=null}handleMonitorActivationRequest(){this.show()}handleMonitorDeactivationRequest(e){this.hide({eventDetail:e})}show(){if(!this.state.opened){const{onBeforeOpen:e,onOpen:t}=this.props;w.setActive(this),e&&e(),this.setState({opened:!0},()=>{if(t&&t(),null!==this.node){const e=new CustomEvent("brz.toolbar.open",{bubbles:!0});this.node.dispatchEvent(e)}})}}hide(e){if(this.state.opened){const{onBeforeClose:t,onClose:o}=this.props;t&&t(),this.setState({opened:!1},()=>{var t;if(o&&o(),null!==this.node){const t=new CustomEvent("brz.toolbar.close",{bubbles:!0,detail:null==e?void 0:e.eventDetail});this.node.dispatchEvent(t)}null==e||null===(t=e.onComplete)||void 0===t||t.call(e)})}}renderToolbar(){var e;if(null===this.node)return;if(null===this.node.ownerDocument)return;const t=this.getItems();if(!t||0===t.length)return;const o=this.props,i=this.context,r=this.node.ownerDocument,l=I.get(r);return l&&d.a.createPortal(a.a.createElement(a.a.Fragment,null,a.a.createElement(p.a,{exceptions:this.getOutSideExceptions(),onClickOutside:this.handleClickOutside},a.a.createElement(C,Object(n.a)({},i,o,{items:t,node:null!==(e=this.selectorNode)&&void 0!==e?e:this.node,onClick:this.handleClick,onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave}))),o.getSidebarItems&&a.a.createElement(j,{getItems:this.getSidebarItems,getTitle:o.getSidebarTitle}),a.a.createElement(u.a,{id:"key-helper-toolbar-escape",keyNames:["esc"],onKeyUp:this.handleEscape})),l)}render(){const{children:e}=this.props,{opened:t}=this.state;return a.a.createElement(a.a.Fragment,null,e,t&&this.renderToolbar())}}Object(i.a)(W,"contextType",m),Object(i.a)(W,"defaultProps",{manualControl:!1});var N=Object(l.b)(e=>({device:e.ui.deviceMode}),null,null,{forwardRef:!0})(W),V=o(4),A=o.n(V),D=o(134),$=o(15);class G extends a.a.Component{constructor(...e){super(...e),Object(i.a)(this,"state",{opened:!1}),Object(i.a)(this,"onClickOutside",()=>{this.close()}),Object(i.a)(this,"handleClick",()=>{!this.state.opened?this.open():this.close()}),Object(i.a)(this,"handleEscape",()=>{this.close()}),Object(i.a)(this,"getItems",()=>{const e=this.props.device,t=Object(H.b)();return this.props.getItems().map(R(e,t)).filter(s.isT)}),Object(i.a)(this,"getSidebarItems",()=>{const e=this.props.device,t=Object(H.b)();return this.props.getSidebarItems?this.props.getSidebarItems().map(R(e,t)).filter(s.isT):[]})}componentWillUnmount(){w.unsetIfActive(this)}getClickOutSideExceptions(){return[".brz-ed-collapsible__toolbar",".brz-ed-sidebar__right",".brz-ed-tooltip__content-portal",".brz-ed-popup-integrations",".brz-ed-popup-authorization",".media-modal",".media-modal-backdrop"]}handleMonitorActivationRequest(){this.open()}handleMonitorDeactivationRequest(){this.close()}open(){if(this.state.opened)return;Object(x.b)("below");const{onBeforeOpen:e,onOpen:t}=this.props;w.setActive(this),e&&e(),this.setState({opened:!0},()=>{t&&t()})}close(){if(!this.state.opened)return;const{onBeforeClose:e,onClose:t}=this.props;w.unsetIfActive(this),e&&e(),this.setState({opened:!1},()=>{t&&t()})}renderBadge(){const{membership:e,global:t}=this.props;return e||t?a.a.createElement(D.CSSTransition,{key:"badge",timeout:0},a.a.createElement("div",{className:"brz-ed-collapsible__badge"},t&&a.a.createElement($.b,{icon:"nc-global"}),e&&a.a.createElement($.b,{icon:"nc-user"}))):null}renderIcon(){return a.a.createElement(D.CSSTransition,{key:"icon",classNames:"fadeCollapsibleIcon",timeout:200},a.a.createElement("div",{className:"brz-ed-collapsible__icon",onClick:this.handleClick},a.a.createElement($.b,{icon:"nc-settings"})))}renderToolbar(){const{animation:e}=this.props,t="leftToRight"===e?"animation-left-right":"animation-right-left",o=this.getItems();return a.a.createElement(D.CSSTransition,{key:"toolbar",classNames:t,timeout:200},a.a.createElement("div",{className:"brz-ed-collapsible__toolbar"},a.a.createElement(S,{items:o,arrow:!1})))}render(){const{className:e,getSidebarItems:t,getSidebarTitle:o}=this.props,{opened:n}=this.state,i=A()("brz-ed-collapsible",{"brz-ed-collapsible--opened":n},e);return a.a.createElement(a.a.Fragment,null,a.a.createElement(p.a,{onClickOutside:this.onClickOutside,exceptions:this.getClickOutSideExceptions()},a.a.createElement(D.TransitionGroup,{className:i},this.renderBadge(),n?this.renderToolbar():this.renderIcon())),n&&t&&a.a.createElement(j,{getItems:this.getSidebarItems,getTitle:o}),n&&a.a.createElement(u.a,{keyNames:["esc"],id:"key-helper-toolbar-escape",onKeyUp:this.handleEscape}))}}Object(i.a)(G,"defaultProps",{animation:"leftToRight",global:!1,membership:!1});var U=Object(l.b)(e=>({device:e.ui.deviceMode}),null,null,{forwardRef:!0})(G);t.c=N;const K=e=>w.unsetActive(e),Y=()=>w.activateLastActive()},function(e,t,o){"use strict";var n=o(121);let i={};t.a={init(e){i=e},load(e){i=Object(n.a)(i,e)},get:e=>i[e],getAll:()=>i}},function(e,t,o){"use strict";o.d(t,"a",(function(){return d}));var n=o(0),i=o.n(n),r=o(6),a=o(4),l=o.n(a),s=o(180);const c=(e,t)=>{const{className:o="",icon:n="nc-circle-add",style:a={},onClick:c=r.default.noop}=e,d=l()("brz-icon-svg brz-ed-icon-svg",o);return i.a.createElement("svg",{ref:t,className:d,onClick:c,style:a},i.a.createElement("use",{xlinkHref:Object(s.a)(n)}))},d=i.a.forwardRef(c);t.b=d},function(e,t,o){"use strict";o.d(t,"p",(function(){return l})),o.d(t,"r",(function(){return h})),o.d(t,"j",(function(){return u})),o.d(t,"i",(function(){return m})),o.d(t,"k",(function(){return b})),o.d(t,"s",(function(){return f.a})),o.d(t,"l",(function(){return S})),o.d(t,"f",(function(){return y})),o.d(t,"q",(function(){return H})),o.d(t,"o",(function(){return A})),o.d(t,"n",(function(){return V})),o.d(t,"e",(function(){return P})),o.d(t,"c",(function(){return T})),o.d(t,"a",(function(){return w})),o.d(t,"b",(function(){return E})),o.d(t,"d",(function(){return j})),o.d(t,"m",(function(){return z})),o.d(t,"h",(function(){return L})),o.d(t,"g",(function(){return N}));var n=o(59),i=o(74),r=o(63);const a=(e,t,o,n)=>{if("type"===e&&null!=i.a.getComponent(t)){if(o.value=o.value||{},void 0!==o.value._id&&n.keepExistingIds)return;if("GlobalBlock"===o.type)return;o.value._id=Object(r.a)()}};function l(e,t={}){const o=JSON.parse(JSON.stringify(e));return Object(n.e)(o,a,t),o}var s=o(2),c=o(26);function d(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function p(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?d(Object(o),!0).forEach((function(t){Object(s.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):d(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function u(e,t,o){let n=e.findIndex(e=>e===t),i="increase"===o?++n:--n;return i===e.length?i=0:i<0&&(i=e.length-1),e[i]}function b(e,t,o){return m(e,t,e=>{if(e.type){const{defaultValue:t}=i.a.getComponent(e.type)||{};return!(!t||!t.style)&&t.style[o]}})}function m(e,t,o){const n=[...e];let i=[];for(let r=0;r<=e.length;r++){const e=Object(c.getIn)(t,n),r=o(e);if(r||null===r)return{value:e,path:n};i.unshift(n.pop())}return{value:null,path:null}}function h(e,t=0,o=0){const n=function(e){const{defaultValue:t}=i.a.getComponent(e.type);return t.style}(e);let r=Object(c.setIn)(e,["value"],g(e.value,n));if(o++,e.value.items&&o<=t){const n=e.value.items.map((e,n)=>{let i={};return r.value&&r.value.items&&r.value.items[n]&&(i=r.value.items[n]),h(p(p({},e),{},{value:p(p({},i.value),e.value)}),t,o)});r=Object(c.setIn)(r,["value","items"],n)}return r}const g=(e,t={})=>Object.entries(t).reduce((o,[n,i])=>(o[n]=n in e?e[n]:i,o[n]="items"===n?e.items.map((e,o)=>p(p({},e),{},{value:p(p({},g(e.value,t.items[o].value)),e.value)})):n in e?e[n]:i,o),{});var f=o(233),v=o(206);const y=(e,t,o=t+1)=>{if(!e[t])throw new Error("Can't clone invalid item at index "+t);return Object(v.a)(e,o,e[t])},S=(e,t,o)=>o.reduce((e,o,n)=>{const i=l(Object(f.a)(o));return Object(c.insert)(e,t+n,i)},e);var O=o(14);const x=()=>O.a.get("mode")||"page",C="internal_story"===x(),B="external_story"===x(),j=C||B,P="template"===x(),T="internal_popup"===x(),w="external_popup"===x(),E=T||w,z=e=>"internal_popup"===e||"external_popup"===e;var k=o(39),F=o(25),_=o(29),R=o(17);function H(e,t=5){const o=e.value.items[0].value,n=o._styles;let{offsetX:i=0,offsetY:r=0}=o;const a=Object(R.J)(Object(_.b)().getState());if(!(F.a.read(i)&&F.a.read(r))&&n&&a){const e=n.reduce((e,t)=>a[t]?Object.assign(e,a[t]):e,{offsetX:0,offsetY:0});i=e.offsetX,r=e.offsetY}return Object(k.a)(e,e=>{e.value.items[0].value.offsetX=i+t,e.value.items[0].value.offsetY=r+t})}const L=(e,t)=>Object(n.a)(e,({value:e})=>e&&e._id===t).obj;function M(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function I(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?M(Object(o),!0).forEach((function(t){Object(s.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):M(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function W(e,t){const o=t(e);let n;for(let r in e)if(e.hasOwnProperty(r)&&"object"==typeof e[r]&&null!==e[r]){const a=W(o[r],t);var i;if(a!==e[r])n=null!==(i=n)&&void 0!==i?i:{},n[r]=a}return n?function(e,t){if(Array.isArray(t)){let o,n=!1;for(const i in e){if(!e.hasOwnProperty(i))continue;const r=Number(i);r>=0&&r<=t.length-1&&(n||(o=t.slice(0),n=!0),o[i]=e[i])}return o||t}return I(I({},t),e)}(n,o):o}const N=(e,t)=>{const[o,...i]=t,r=Object(n.a)(e,({value:e})=>e&&e._id===o);return r.path?[...r.path,"value",...i]:t},V=e=>Object(n.b)(["type","value"],e),A=(e,t)=>W(t,t=>V(t)?e(t):t)},function(e,t,o){"use strict";o.d(t,"H",(function(){return p.j})),o.d(t,"F",(function(){return p.i})),o.d(t,"a",(function(){return p.a})),o.d(t,"O",(function(){return p.l})),o.d(t,"o",(function(){return p.f})),o.d(t,"n",(function(){return p.e})),o.d(t,"R",(function(){return p.m})),o.d(t,"M",(function(){return p.k})),o.d(t,"S",(function(){return p.n})),o.d(t,"j",(function(){return p.d})),o.d(t,"p",(function(){return p.g})),o.d(t,"h",(function(){return p.c})),o.d(t,"g",(function(){return p.b})),o.d(t,"v",(function(){return p.h})),o.d(t,"K",(function(){return m})),o.d(t,"u",(function(){return h})),o.d(t,"e",(function(){return g})),o.d(t,"b",(function(){return f})),o.d(t,"d",(function(){return v})),o.d(t,"N",(function(){return y})),o.d(t,"i",(function(){return S})),o.d(t,"m",(function(){return O})),o.d(t,"l",(function(){return x})),o.d(t,"Q",(function(){return B})),o.d(t,"P",(function(){return j})),o.d(t,"I",(function(){return P})),o.d(t,"k",(function(){return T})),o.d(t,"L",(function(){return w})),o.d(t,"c",(function(){return E})),o.d(t,"t",(function(){return k})),o.d(t,"r",(function(){return F})),o.d(t,"q",(function(){return _})),o.d(t,"s",(function(){return R})),o.d(t,"J",(function(){return H})),o.d(t,"f",(function(){return L})),o.d(t,"C",(function(){return M})),o.d(t,"B",(function(){return I})),o.d(t,"G",(function(){return W})),o.d(t,"D",(function(){return N})),o.d(t,"E",(function(){return V})),o.d(t,"A",(function(){return A})),o.d(t,"w",(function(){return D})),o.d(t,"x",(function(){return $})),o.d(t,"z",(function(){return G})),o.d(t,"y",(function(){return U}));var n=o(2),i=o(78),r=o(39),a={"wrapper--iconText":{showToolbar:"on"},"wrapper--form2":{showToolbar:"on"},"wrapper--login":{showToolbar:"on"},"wrapper--reset--psw":{showToolbar:"on"},"wrapper--tabs":{showToolbar:"on"},"wrapper--timeline":{showToolbar:"on"},"wrapper--table":{showToolbar:"on"},"wrapper--protected-page":{showToolbar:"on"},"wrapper--accordion":{showToolbar:"on"},"wrapper--imageGallery":{showToolbar:"on"},"wrapper--menu":{showToolbar:"on"},"wrapper--video-playlist":{showToolbar:"on"},"wrapper--switcher":{showToolbar:"on"},"wrapper--filters":{showToolbar:"on"},"wrapper--spacer":{marginTop:0,marginBottom:0,tabletMarginTop:0,tabletMarginBottom:0,mobileMarginTop:0,mobileMarginBottom:0},"wrapper--carousel":{showToolbar:"on"},"wrapper--posts":{showToolbar:"on",paddingType:"ungrouped",paddingTop:10,paddingBottom:10,paddingLeft:15,paddingRight:15},"wrapper-ecwid-my-account":{showToolbar:"on"},"wrapper-ecwid-cart":{showToolbar:"on"},"column--carousel":{width:100},"richText--carousel":{text:"<p class='brz-tp-paragraph brz-text-lg-center'><span class='brz-cp-color7'>The point of using dummy text for your paragraph is that it has a more-or-less normal distribution of letters. making it look like readable English.</span></p>"},"hide-row-borders":{showToolbar:"off"},"padding-0":{padding:0},submit:{type:"submit"},search:{type:"search"},"image--dynamic":{imagePopulation:"{{brizy_dc_img_featured_image}}"},"button--dynamic":{linkExternalType:"linkPopulation",linkPopulation:"{{brizy_dc_url_post}}",text:"READ MORE",borderRadius:2,borderWidth:2,fontSize:11,paddingBottom:11,paddingLeft:26,paddingRL:26,paddingRight:26,paddingTB:11,paddingTop:11,size:"small",tempPaddingBottom:11,tempPaddingLeft:26,tempPaddingRL:26,tempPaddingRight:26,tempPaddingTB:11,tempPaddingTop:11,mobileBorderRadius:2,mobilePaddingBottom:11,mobilePaddingLeft:26,mobilePaddingRight:26,mobilePaddingTop:11,mobileSize:"small"},"richText-title--dynamic":{text:"<p class='brz-text-lg-center brz-tp-heading4'><span class='brz-cp-color2'><span class='text-population' data-population='brizy_dc_post_title'>#Post Title</span>&nbsp;</span></p>"},"richText-desc--dynamic":{text:"<p class='brz-text-lg-center brz-tp-paragraph'><span class='brz-cp-color7'><span class='text-population' data-population='brizy_dc_post_excerpt'>#Post Excerpt</span></span></p>"},"wrapper--facebookComments":{showToolbar:"on"},"story-map":{size:90,height:70,heightSuffix:"%",elementPosition:"fixed",offsetX:5,offsetXSuffix:"%",offsetXAlignment:"left",offsetY:31,offsetYSuffix:"%",offsetYAlignment:"top"},"story-progressBar":{width:90,elementPosition:"fixed",offsetX:5,offsetXSuffix:"%",offsetXAlignment:"left",offsetY:48,offsetYSuffix:"%",offsetYAlignment:"top"},"story-line":{width:90,elementPosition:"fixed",offsetX:5,offsetXSuffix:"%",offsetXAlignment:"left",offsetY:49,offsetYSuffix:"%",offsetYAlignment:"top"},"story-countdown2":{width:90,height:10,heightSuffix:"%",elementPosition:"fixed",offsetX:5,offsetXSuffix:"%",offsetXAlignment:"left",offsetY:45,offsetYSuffix:"%",offsetYAlignment:"top"},"story-counter":{width:50,elementPosition:"fixed",offsetX:39,offsetXSuffix:"%",offsetXAlignment:"left",offsetY:45,offsetYSuffix:"%",offsetYAlignment:"top"},"story-embedCode":{width:90,elementPosition:"fixed",offsetX:5,offsetXSuffix:"%",offsetXAlignment:"left",offsetY:33,offsetYSuffix:"%",offsetYAlignment:"top"},"story-image":{width:90,height:70,elementPosition:"fixed",offsetX:5,offsetXSuffix:"%",offsetXAlignment:"left",offsetY:36,offsetYSuffix:"%",offsetYAlignment:"top"},"story-starRating":{elementPosition:"fixed",offsetX:33,offsetXSuffix:"%",offsetXAlignment:"left",offsetY:49,offsetYSuffix:"%",offsetYAlignment:"top"},"story-icon":{elementPosition:"fixed",customSize:20,offsetX:40,offsetXSuffix:"%",offsetXAlignment:"left",offsetY:44,offsetYSuffix:"%",offsetYAlignment:"top",customSizeSuffix:"%",hoverColorHex:null,hoverColorOpacity:null,hoverColorPalette:null,tempHoverColorOpacity:null,tempHoverColorPalette:null,hoverGradientActivePointer:null,hoverGradientStartPointer:null,hoverGradientFinishPointer:null,hoverGradientType:null,hoverGradientLinearDegree:null,hoverGradientRadialDegree:null,hoverBgColorType:null,hoverBgColorHex:null,hoverBgColorOpacity:null,hoverBgColorPalette:null,tempHoverBgColorOpacity:null,tempHoverBgColorPalette:null,hoverGradientColorHex:null,hoverGradientColorOpacity:null,hoverGradientColorPalette:null,tempHoverGradientColorOpacity:null,tempHoverGradientColorPalette:null,hoverBorderColorHex:null,hoverBorderColorOpacity:null,hoverBorderColorPalette:null,tempHoverBorderColorOpacity:null,tempHoverBorderColorPalette:null},"story-video":{size:90,elementPosition:"fixed",offsetX:5,offsetXSuffix:"%",offsetXAlignment:"left",offsetY:34,offsetYSuffix:"%",offsetYAlignment:"top"},"story-richText":{width:90,elementPosition:"fixed",offsetX:5,offsetXSuffix:"%",offsetXAlignment:"left",offsetY:46,offsetYSuffix:"%",offsetYAlignment:"top"},"story-button":{paddingTop:0,paddingRight:0,paddingBottom:0,paddingLeft:0,elementPosition:"fixed",offsetX:30,offsetXSuffix:"%",offsetXAlignment:"left",offsetY:46,offsetYSuffix:"%",offsetYAlignment:"top",width:40,widthSuffix:"%",height:30,heightSuffix:"%"},"wrapper--story-form2":{showToolbar:"on"},"story-form2":{width:80,widthSuffix:"%",elementPosition:"fixed",offsetX:10,offsetXSuffix:"%",offsetXAlignment:"left",offsetY:20,offsetYSuffix:"%",offsetYAlignment:"top"},"story-lottie":{width:60,widthSuffix:"%",elementPosition:"fixed",offsetX:20,offsetXSuffix:"%",offsetXAlignment:"left",offsetY:34,offsetYSuffix:"%",offsetYAlignment:"top"},"posts--column":{width:100},"postTitle-posts":{fontStyle:"custom",fontSize:20,tabletFontStyle:"custom",tabletFontSize:16,mobileFontStyle:"custom",mobileFontSize:16,contentHorizontalAlign:"center"},"postExcerpt-posts":{contentHorizontalAlign:"center"},"posts-archive":{pagination:"on"},"posts-productArchive":{pagination:"on"}},l=o(59),s=o(16),c=o(53),d=o(97),p=o(73);function u(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function b(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?u(Object(o),!0).forEach((function(t){Object(n.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):u(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const m=e=>e.screenshots||{},h=e=>e.globalBlocks||{},g=e=>e.changedGBIds||{},f=e=>e.blocksData||{},v=e=>e.blocksOrder||[],y=e=>e.styles||[],S=e=>e.currentStyle,O=e=>e.error,x=Object(i.createSelector)(p.j,e=>e.data.disabledElements||[]),C=Object(i.createSelector)(p.i,e=>e.data||{}),B=(Object(i.createSelector)(p.i,e=>e.slug),Object(i.createSelector)(C,e=>e.triggers||[])),j=Object(i.createSelector)(C,e=>e.triggers?e.triggers.length:null),P=Object(i.createSelector)(C,e=>Number.isInteger(e.rulesAmount)?e.rulesAmount:null),T=Object(i.createSelector)(p.m,e=>e.deviceMode),w=Object(i.createSelector)(p.m,e=>e.showHiddenElements),E=Object(i.createSelector)(v,h,(e,t)=>{const{top:o,bottom:n}=Object(d.j)(e,t);return e.filter(e=>!o.includes(e)&&!n.includes(e))}),z=Object(i.createSelector)(h,f,(e,t)=>Object.entries(e).reduce((e,[o,n])=>{if(!t[o])return e;return"SectionPopup"===t[o].type||"SectionPopup2"===t[o].type||(e[o]=n),e},{})),k=Object(i.createSelector)(p.i,h,v,z,(e,t,o,n)=>{const i=o.filter(o=>!t[o]||Object(c.c)(t[o],e));return Object(d.i)(i,n)}),F=Object(i.createSelector)(h,f,m,(e,t,o)=>Object(l.d)(Object.entries(e).map(e=>{const[n,i]=e,a=t[n],s=o[n];return[n,Object(r.a)(i,e=>{e.data=b(b({},e.data),a),s&&(Object.assign(e.data.value,s),Object.assign(e.meta,s)),Object(l.f)(e.data.value,e=>{e.type&&"GlobalBlock"!==e.type&&e.value&&e.value._id&&o[e.value._id]&&(e.meta=e.meta||{},Object.assign(e.value,o[e.value._id]),Object.assign(e.meta,o[e.value._id]))})})]}))),_=Object(i.createSelector)(h,f,(e,t)=>Object(l.d)(Object.entries(e).map(e=>{const[o,n]=e,i=t[o];if(!i)return e;return[o,Object(r.a)(n,e=>{e.data=i})]}))),R=Object(i.createSelector)(p.i,v,h,(e,t,o)=>t.reduce((t,n)=>(o[n]&&Object(c.c)(o[n],e)&&(t[n]=o[n]),t),{})),H=Object(i.createSelector)(S,p.e,(e,t)=>{const{colorPalette:o,fontStyles:n}=e,i=n.concat(t),r=o.reduce((e,t)=>b(b({},e),{},{[t.id+"__color"]:{colorHex:t.hex},[t.id+"__hoverColor"]:{hoverColorHex:t.hex},[t.id+"__bg"]:{bgColorHex:t.hex},[t.id+"__hoverBg"]:{hoverBgColorHex:t.hex},[t.id+"__gradient"]:{gradientColorHex:t.hex},[t.id+"__hoverGradient"]:{hoverGradientColorHex:t.hex},[t.id+"__bg2"]:{bg2ColorHex:t.hex},[t.id+"__border"]:{borderColorHex:t.hex},[t.id+"__hoverBorder"]:{hoverBorderColorHex:t.hex},[t.id+"__arrowsColor"]:{sliderArrowsColorHex:t.hex},[t.id+"__dotsColor"]:{sliderDotsColorHex:t.hex},[t.id+"__boxShadow"]:{boxShadowColorHex:t.hex},[t.id+"__shapeTopColor"]:{shapeTopColorHex:t.hex},[t.id+"__shapeBottomColor"]:{shapeBottomColorHex:t.hex},[t.id+"__paginationColor"]:{paginationColorHex:t.hex},[t.id+"__tabletBg"]:{tabletBgColorHex:t.hex},[t.id+"__tabletBorder"]:{tabletBorderColorHex:t.hex},[t.id+"__mobileBg"]:{mobileBgColorHex:t.hex},[t.id+"__mobileBorder"]:{mobileBorderColorHex:t.hex},[t.id+"__subMenuColor"]:{subMenuColorHex:t.hex},[t.id+"__subMenuHoverColor"]:{subMenuHoverColorHex:t.hex},[t.id+"__subMenuBgColor"]:{subMenuBgColorHex:t.hex},[t.id+"__subMenuHoverBgColor"]:{subMenuHoverBgColorHex:t.hex},[t.id+"__subMenuBorderColor"]:{subMenuBorderColorHex:t.hex},[t.id+"__mMenuColor"]:{mMenuColorHex:t.hex},[t.id+"__mMenuHoverColor"]:{mMenuHoverColorHex:t.hex},[t.id+"__mMenuBgColor"]:{mMenuBgColorHex:t.hex},[t.id+"__mMenuBorderColor"]:{mMenuBorderColorHex:t.hex},[t.id+"__mMenuIconColor"]:{mMenuIconColorHex:t.hex},[t.id+"__tabletMMenuIconColor"]:{tabletMMenuIconColorHex:t.hex},[t.id+"__mobileMMenuIconColor"]:{mobileMMenuIconColorHex:t.hex},[t.id+"__labelColor"]:{labelColorHex:t.hex},[t.id+"__checkboxColor"]:{checkboxColorHex:t.hex},[t.id+"__selectColor"]:{selectColorHex:t.hex},[t.id+"__hoverSelectColor"]:{hoverSelectColorHex:t.hex},[t.id+"__selectBg"]:{selectBgColorHex:t.hex},[t.id+"__hoverSelectBg"]:{hoverSelectBgColorHex:t.hex},[t.id+"__selectBorderColor"]:{selectBorderColorHex:t.hex},[t.id+"__hoverSelectBorderColor"]:{hoverSelectBorderColorHex:t.hex},[t.id+"__selectBoxShadow"]:{selectBoxShadowColorHex:t.hex},[t.id+"__hoverSelectBoxShadow"]:{hoverSelectBoxShadowColorHex:t.hex}}),{}),l=i.reduce((e,t)=>{var o,n,i,r,a,l,s,c,d;return b(b({},e),{},{[t.id+"__fsDesktop"]:{fontFamily:t.fontFamily,fontFamilyType:t.fontFamilyType,fontSize:t.fontSize,fontSizeSuffix:null!==(o=t.fontSizeSuffix)&&void 0!==o?o:"px",fontWeight:t.fontWeight,lineHeight:t.lineHeight,letterSpacing:t.letterSpacing},[t.id+"__fsTablet"]:{tabletFontSize:t.tabletFontSize,tabletFontSizeSuffix:null!==(n=t.tabletFontSizeSuffix)&&void 0!==n?n:"px",tabletFontWeight:t.tabletFontWeight,tabletLineHeight:t.tabletLineHeight,tabletLetterSpacing:t.tabletLetterSpacing},[t.id+"__fsMobile"]:{mobileFontSize:t.mobileFontSize,mobileFontSizeSuffix:null!==(i=t.mobileFontSizeSuffix)&&void 0!==i?i:"px",mobileFontWeight:t.mobileFontWeight,mobileLineHeight:t.mobileLineHeight,mobileLetterSpacing:t.mobileLetterSpacing},[t.id+"__subMenuFsDesktop"]:{subMenuFontFamily:t.fontFamily,subMenuFontFamilyType:t.fontFamilyType,subMenuFontSize:t.fontSize,subMenuFontSizeSuffix:null!==(r=t.fontSizeSuffix)&&void 0!==r?r:"px",subMenuFontWeight:t.fontWeight,subMenuLineHeight:t.lineHeight,subMenuLetterSpacing:t.letterSpacing},[t.id+"__subMenuFsTablet"]:{tabletSubMenuFontSize:t.tabletFontSize,tabletSubMenuFontSizeSuffix:null!==(a=t.tabletFontSizeSuffix)&&void 0!==a?a:"px",tabletSubMenuFontWeight:t.tabletFontWeight,tabletSubMenuLineHeight:t.tabletLineHeight,tabletSubMenuLetterSpacing:t.tabletLetterSpacing},[t.id+"__subMenuFsMobile"]:{mobileSubMenuFontSize:t.mobileFontSize,mobileSubMenuFontSizeSuffix:null!==(l=t.mobileFontSizeSuffix)&&void 0!==l?l:"px",mobileSubMenuFontWeight:t.mobileFontWeight,mobileSubMenuLineHeight:t.mobileLineHeight,mobileSubMenuLetterSpacing:t.mobileLetterSpacing},[t.id+"__mMenuFsDesktop"]:{mMenuFontFamily:t.fontFamily,mMenuFontFamilyType:t.fontFamilyType,mMenuFontSize:t.fontSize,mMenuFontSizeSuffix:null!==(s=t.fontSizeSuffix)&&void 0!==s?s:"px",mMenuFontWeight:t.fontWeight,mMenuLineHeight:t.lineHeight,mMenuLetterSpacing:t.letterSpacing},[t.id+"__mMenuFsTablet"]:{tabletMMenuFontSize:t.tabletFontSize,tabletMMenuFontSizeSuffix:null!==(c=t.tabletFontSizeSuffix)&&void 0!==c?c:"px",tabletMMenuFontWeight:t.tabletFontWeight,tabletMMenuLineHeight:t.tabletLineHeight,tabletMMenuLetterSpacing:t.tabletLetterSpacing},[t.id+"__mMenuFsMobile"]:{mobileMMenuFontSize:t.mobileFontSize,mobileMMenuFontSizeSuffix:null!==(d=t.mobileFontSizeSuffix)&&void 0!==d?d:"px",mobileMMenuFontWeight:t.mobileFontWeight,mobileMMenuLineHeight:t.mobileLineHeight,mobileMMenuLetterSpacing:t.mobileLetterSpacing}})},{});return b(b(b({},a),r),l)}),L=Object(i.createSelector)(e=>e.copiedElement,_,(e,t)=>Object(r.a)(e,e=>{Object(l.f)(e,e=>{if(e.type&&"GlobalBlock"===e.type&&e.value){const{_id:o}=e.value;t[o]&&Object.assign(e,t[o].data)}})})),M=Object(i.createSelector)(v,h,f,(e,t,o)=>{const n=Object.keys(t);return e.map(e=>n.includes(e)?{type:"GlobalBlock",value:{_id:e}}:o[e])}),I=Object(i.createSelector)(E,h,f,(e,t,o)=>{const n=Object.keys(t);return e.map(e=>n.includes(e)?{type:"GlobalBlock",value:{_id:e}}:o[e])}),W=Object(i.createSelector)(p.j,p.f,y,e=>e.currentStyleId,S,p.e,(e,t,o,n,i,a)=>Object(r.a)(e,e=>{e.data.fonts=t,e.data.styles=o,e.data.selectedStyle=n,e.data.extraFontStyles=a;for(let t=0;t<e.data.styles.length;t++)e.data.styles[t].id===i.id&&(e.data.styles[t]=i)})),N=Object(i.createSelector)(C,M,(e,t)=>Object(r.a)(e,e=>{e.items=t})),V=Object(i.createSelector)(N,_,(e,t)=>{return o=e,Object(s.o)(e=>{if("GlobalBlock"===e.type){const{_id:o}=e.value;if(t[o]&&t[o].data)return t[o].data}return e},o);var o}),A=Object(i.createSelector)(V,e=>e.items||[]),D=(Object(i.createSelector)(A,e=>{const t=[];return Object(l.f)(e,e=>{e.popups&&t.push(...e.popups)}),t}),Object(i.createSelector)(p.i,I,m,(e,t,o)=>Object(r.a)(e,e=>{e.data.items=t,Object.keys(o).length>0&&Object(l.f)(e,e=>{e.type&&"GlobalBlock"!==e.type&&e.value&&e.value._id&&o[e.value._id]&&Object.assign(e.value,o[e.value._id])})}))),$=Object(i.createSelector)(p.i,M,m,(e,t,o)=>Object(r.a)(e,e=>{e.data.items=t,Object.keys(o).length>0&&Object(l.f)(e,e=>{e.type&&"GlobalBlock"!==e.type&&e.value&&e.value._id&&o[e.value._id]&&Object.assign(e.value,o[e.value._id])})})),G=Object(i.createSelector)(M,m,(e,t)=>Object(r.a)(e,e=>{Object.keys(t).length>0&&Object(l.f)(e,e=>{e.type&&"GlobalBlock"!==e.type&&e.value&&e.value._id&&t[e.value._id]&&Object.assign(e.value,t[e.value._id])})})),U=Object(i.createSelector)(p.i,M,h,m,(e,t,o,n)=>{const i=t.filter(t=>{if("GlobalBlock"===t.type){var n;const{_id:i}=t.value;if(null!==(n=o[i])&&void 0!==n&&n.data)return Object(c.c)(o[i],e)}return!0});return Object(r.a)(i,e=>{Object.keys(n).length>0&&Object(l.f)(e,e=>{e.type&&"GlobalBlock"!==e.type&&e.value&&e.value._id&&n[e.value._id]&&Object.assign(e.value,n[e.value._id])})})})},function(e,t,o){"use strict";(function(e){var n=o(37),i=o(2),r=o(0),a=o.n(r),l=o(6),s=o(4),c=o.n(s),d=o(140),p=o(63),u=o(29),b=o(17),m=o(135),h=o(586),g=o(27),f=o(5),v=o(30),y=o(103),S=o(179),O=o(587),x=o(57),C=o(72),B=o(588),j=o(242),P=o(99),T=o(589);function w(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function E(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?w(Object(o),!0).forEach((function(t){Object(i.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):w(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}class z extends a.a.Component{constructor(...e){super(...e),Object(i.a)(this,"_defaultValueProcessedCache",void 0),Object(i.a)(this,"_dc",{}),Object(i.a)(this,"childToolbarExtend",void 0),Object(i.a)(this,"bindPatchValue",e=>this.patchValue(e)),Object(i.a)(this,"makeWrapperProps",e=>{var t;const o=null!==(t=this.props.wrapperExtend)&&void 0!==t?t:{},n=c()(o.className,e.className),i=E(E({},o.attributes||{}),e.attributes||{});return E(E(E(E({},o),e),{},{className:n,attributes:i,id:this.getId(),componentId:this.getComponentId(),meta:this.props.meta},this.getValue2()),{},{onChange:this.bindPatchValue,ref:t=>{Object(C.a)(t,o.ref||null),Object(C.a)(t,e.ref||null)}})})}static get componentId(){throw new Error(this.name+" must implement `static get componentId()`")}getComponentId(){return this.constructor.componentId}optionalSCU(e){const t=this.props;return t.dbValue!==e.dbValue||(t.reduxState.fonts!==e.reduxState.fonts||t.reduxState.project.data.font!==e.reduxState.project.data.font)}getId(){return this.props._id||x.a(this.getDBValue()._id)||(()=>{throw new Error("This should never happen. An initialized component must have a preset id")})()}getReduxState(){return this.props.reduxState}getReduxDispatch(){return this.props.reduxDispatch}getDefaultValue(){const e=this.getDefaultValueProcessed().defaultValueFlat;return this.props.defaultValue?E(E({},e),this.props.defaultValue):e}getDefaultValueProcessed(){if(this._defaultValueProcessedCache)return this._defaultValueProcessedCache;const e=this.constructor.defaultValue,t=Object(y.c)(e),o=Object.keys(t).reduce((e,t)=>(Object(P.c)(t)&&e.push(Object(P.a)(t)),e),[]);return this._defaultValueProcessedCache={defaultValueFlat:t,dynamicContentKeys:o},this._defaultValueProcessedCache}getDBValue(){return this.props.dbValue}getStylesValue(){const{_styles:e}=this.getDBValue()||{},t=Object(b.J)(this.getReduxState());return e&&t?e.reduce((e,o)=>t[o]?Object.assign(e,t[o]):e,{}):null}getDCValue(e){var t;const o=this.getDefaultValueProcessed().dynamicContentKeys,n=[];for(const t of o){const o=Object(P.e)(e,t);o.hasDC&&n.push(o)}const i=this.getDCValueHook(n,e);if(null===(t=this._dc.pendingDCObjIncomplete)||void 0===t||t.abortGetComplete(),this._dc.pendingDCObjIncomplete=void 0,0===i.length)return this._dc.keys=void 0,this._dc.lastCache=void 0,{};{const e=Object(T.a)(i,this.context);if("complete"===e.type)return this._dc.keys=e.details,this._dc.lastCache=e.value,e.value;{this._dc.pendingDCObjIncomplete=e,this._dc.keys=e.details,e.getComplete().then(()=>{this.forceUpdate()}).catch(()=>{});const t={};let o=!1;if(this._dc.lastCache)for(const e of i)e.key in this._dc.lastCache&&(t[e.key]=this._dc.lastCache[e.key],o=!0);return o?E(E({},e.partialValue),t):e.partialValue}}}getDCValueHook(e,t){return e}getValue(){return this.getValue2().v}getValue2(){const e=this.getDefaultValue(),t=this.getStylesValue(),o=this.getDBValue(),n=E(E(E({},e),t),o);return{v:this.constructor.experimentalDynamicContent?Object.assign(n,this.getDCValue(n)):n,vs:E(E({},e),t),vd:e}}patchValue(e,t={}){const o=E(E({},this.getDBValue()),e);this.handleValueChange(o,E(E({},t),{},{patch:e}))}validateValue(e){const t=this.getDefaultValue(),o=Object.keys(e).filter(e=>{const o=e in t,n="_"===e[0]||["tabsState"].includes(e),i=["tabsCurrentElement"].includes(e);return!o&&!n&&!i});if(o.length){const t=this.constructor.componentId,n=JSON.stringify(o,null,2),i=JSON.stringify(e,(e,t)=>Array.isArray(t)?"[...]":t,2);console.error(`${t} element\n\nKeys not in defaultValue:\n${n}\nTried to update with:\n${i}`)}}handleValueChange(e,t){this.props.onChange(e,t)}selfDestruct(){this.props.onChange(null,{intent:"remove_all"})}makeSubcomponentProps(e){let{bindWithKey:t}=e,o=Object(n.a)(e,["bindWithKey"]);const i=this.getDefaultValue(),r=this.getDBValue();return E(E({},o),{},{_id:`${this.getId()}-${t}`,defaultValue:i&&i[t],dbValue:r&&r[t],reduxState:this.getReduxState(),reduxDispatch:this.getReduxDispatch(),onChange:(e,o)=>this.patchValue({[t]:e},o)})}makeContextMenuProps(e,t={}){const o=this.getComponentId(),n=this.getValue();return E({id:Object(p.a)(3),componentId:o,getItems:e.getItems.bind(null,n,this)},t)}makeToolbarPropsFromConfig(t,o,n={}){const{onToolbarOpen:i,onToolbarClose:r,onToolbarEnter:a,onToolbarLeave:l}=this.props,{allowExtendFromParent:s,parentItemsFilter:c,allowExtendFromChild:p,allowExtendFromThirdParty:h,thirdPartyExtendId:g=this.getComponentId(),allowSidebarExtendFromParent:v,allowSidebarExtendFromChild:S,allowSidebarExtendFromThirdParty:O,sidebarThirdPartyExtendId:x=g}=Object(y.f)(n);return{getItems:(e=Object(b.k)(Object(u.b)().getState()))=>{var o;const n="getItemsFor"+(([e,...t],o=!1)=>e.toUpperCase()+(o?t.join("").toLowerCase():t.join("")))(e,!0);const i=t[n],r=this.getValue(),a=f.f(r.tabsState);let l=this.bindToolbarItems(r,e,a,null!==(o=null==i?void 0:i(r,this))&&void 0!==o?o:[]);if(s&&this.props.toolbarExtend){const{getItems:t}=this.props.toolbarExtend;let o=t(e);"function"==typeof c&&(o=c(o)),l=Object(d.b)(l,o)}if(p&&this.childToolbarExtend){const{getItems:t}=this.childToolbarExtend,o=t(e);l=Object(d.b)(o,l)}if(h){const t=Object(m.b)("toolbarItemsExtend_"+g,null);if(null!=t&&t[n]){const o=this.bindToolbarItems(r,e,a,t[n](r,this));l=Object(d.b)(l,o)}}return l},getSidebarItems:(e=Object(b.k)(Object(u.b)().getState()))=>{var t,n;const i=this.getValue(),r=f.f(i.tabsState);let a=this.bindToolbarItems(i,e,r,(null==o||null===(t=o.getItems)||void 0===t?void 0:t.call(o,{v:i,component:this,device:e,state:r,context:this.context}))||[]);if(v&&null!==(n=this.props.toolbarExtend)&&void 0!==n&&n.getSidebarItems){const{getSidebarItems:t}=this.props.toolbarExtend,o=t(e);a=Object(d.b)(a,o)}if(S&&this.childToolbarExtend){const{getSidebarItems:t}=this.childToolbarExtend,o=t(e);a=Object(d.b)(o,a)}if(O){const t=Object(m.b)("sidebarItemsExtend_"+x,null);if(null!=t&&t.getItems){const o=this.bindToolbarItems(i,e,r,t.getItems({v:i,component:this,device:e,state:r}));a=Object(d.b)(a,o)}}return a},getSidebarTitle:()=>{let e=null==o?void 0:o.title;if("function"==typeof e){e=e({v:this.getValue()})}if(v&&this.props.toolbarExtend){const{getSidebarTitle:t}=this.props.toolbarExtend;e=t()||e}if(S&&this.childToolbarExtend){const{getSidebarTitle:t}=this.childToolbarExtend;e=t()||e}return e||""},onBeforeOpen:()=>{e.Brizy.activeEditorComponent=this},onBeforeClose:()=>{e.Brizy.activeEditorComponent=null},onOpen:i,onClose:r,onMouseEnter:a,onMouseLeave:l}}bindToolbarItems(e,t,o,n){const i=(e,n,i)=>"tabsState"!==e&&i?Object(g.a)({key:Object(y.a)(e,n),device:t,state:o}):e;return Object(d.c)(n=>{const{id:r,type:a,onChange:s}=n;v.d===t&&(n=Object(h.a)(B.a,n));const c=Object(y.e)(a),d=n.dependencies||l.default.identity;c&&(n.value=Object(S.b)(a)(n=>Object(g.b)({v:e,key:Object(y.a)(r,n),device:t,state:o})));const p=Object(S.c)(a,e=>i(r,e,c));return n.onChange=(e,t)=>{const o=i(n.id,"",c),r=c?d(p(e)):s?s(e,t):((e,t)=>void 0!==t?{[e]:t}:null)(o,e);r&&this.patchValue(r)},n},Object(d.c)(O.a,n))}makeToolbarPropsFromConfig2(t,o,n={}){const{onToolbarOpen:i,onToolbarClose:r,onToolbarEnter:a,onToolbarLeave:l}=this.props,{allowExtendFromParent:s,parentItemsFilter:c,parentExtendProp:p="toolbarExtend",allowExtendFromChild:h,allowExtendFromThirdParty:g,thirdPartyExtendId:v=this.getComponentId(),allowSidebarExtendFromParent:S,allowSidebarExtendFromChild:O,allowSidebarExtendFromThirdParty:x,sidebarThirdPartyExtendId:C=v}=Object(y.f)(n);return{getItems:(e=Object(b.k)(Object(u.b)().getState()))=>{var o;const n=this.getValue(),i=f.f(n.tabsState);let r=this.bindToolbarItems(n,e,i,null!==(o=null==t?void 0:t.getItems({v:n,component:this,device:e,state:i,context:this.context}))&&void 0!==o?o:[]);if(s&&this.props[p]){const{getItems:t}=this.props[p];let o=t(e);"function"==typeof c&&(o=c(o)),r=Object(d.b)(r,o)}if(h&&this.childToolbarExtend){const{getItems:t}=this.childToolbarExtend,o=t(e);r=Object(d.b)(o,r)}if(g){const t=Object(m.b)("toolbarItemsExtend_"+v,null);if(null!=t&&t.getItems){const o=this.bindToolbarItems(n,e,i,t.getItems({v:n,component:this,device:e,state:i,context:this.context}));r=Object(d.b)(r,o)}}return r},getSidebarItems:(e=Object(b.k)(Object(u.b)().getState()))=>{var t,n;const i=this.getValue(),r=f.f(i.tabsState);let a=this.bindToolbarItems(i,e,r,(null==o||null===(t=o.getItems)||void 0===t?void 0:t.call(o,{v:i,component:this,device:e,state:r,context:this.context}))||[]);if(S&&null!==(n=this.props[p])&&void 0!==n&&n.getSidebarItems){const{getSidebarItems:t}=this.props[p],o=t(e);a=Object(d.b)(a,o)}if(O&&this.childToolbarExtend){const{getSidebarItems:t}=this.childToolbarExtend,o=t(e);a=Object(d.b)(o,a)}if(x){const t=Object(m.b)("sidebarItemsExtend_"+C,null);if(null!=t&&t.getItems){const o=this.bindToolbarItems(i,e,r,t.getItems({v:i,component:this,device:e,state:r,context:this.context}));a=Object(d.b)(a,o)}}return a},getSidebarTitle:()=>{let e=null==o?void 0:o.title;if("function"==typeof e){e=e({v:this.getValue()})}if(S&&this.props.toolbarExtend){const{getSidebarTitle:t}=this.props.toolbarExtend;e=t()||e}if(O&&this.childToolbarExtend){const{getSidebarTitle:t}=this.childToolbarExtend;e=t()||e}return e||""},onBeforeOpen:()=>{e.Brizy.activeEditorComponent=this},onBeforeClose:()=>{e.Brizy.activeEditorComponent=null},onOpen:i,onClose:r,onMouseEnter:a,onMouseLeave:l}}render(){const{v:e,vs:t,vd:o}=this.getValue2();return this.renderForEdit(e,t,o)}renderForEdit(e,t,o){throw new Error("renderForEdit: Not Implemented"+e+t+o)}renderForView(e,t,o){return this.renderForEdit(e,t,o)}applyRulesToValue(e,t){const o=t.filter(Boolean);if(0===o.length)return e;const n=this.getRulesValue(o);return l.default.defaults(n,e)}getRulesValue(e){const t=Object(b.J)(this.getReduxState());if(t)return e.reduce((e,o)=>{let n;switch(typeof o){case"object":{const{rule:e,mapper:i}=o;n=t[e]&&i(t[e]);break}case"string":n=t[o];break;default:throw new Error("Invalid rule type")}return n?Object.assign(e,n):e},{})}}Object(i.a)(z,"defaultProps",{meta:{},onToolbarOpen:l.default.noop,onToolbarClose:l.default.noop,onToolbarEnter:l.default.noop,onToolbarLeave:l.default.noop}),Object(i.a)(z,"defaultValue",{}),Object(i.a)(z,"experimentalDynamicContent",!1),Object(i.a)(z,"contextType",j.a),t.a=z}).call(this,o(110))},,function(e,t,o){"use strict";function n(e,t){return void 0===e?t:e}o.d(t,"h",(function(){return n})),o.d(t,"b",(function(){return i})),o.d(t,"g",(function(){return r})),o.d(t,"i",(function(){return a})),o.d(t,"f",(function(){return l})),o.d(t,"d",(function(){return s})),o.d(t,"e",(function(){return c})),o.d(t,"c",(function(){return d})),o.d(t,"a",(function(){return p}));const i=e=>null==e||"number"==typeof e&&Number.isNaN(e);function r(...e){return 1===e.length?t=>i(t)?e[0]:t:i(e[1])?e[0]:e[1]}const a=e=>t=>{if(i(t))throw new Error(e);return t};function l(e,t,o){return i(t)||t===e?o:t}function s(e,t){if(!i(t))return e(t)}function c(...e){return t=>e.reduceRight((e,t)=>i(e)?void 0:t(e),t)}const d=e=>!i(e),p=e=>t=>e===t},function(e,t,o){"use strict";o.d(t,"c",(function(){return d})),o.d(t,"d",(function(){return p})),o.d(t,"k",(function(){return h})),o.d(t,"l",(function(){return g})),o.d(t,"R",(function(){return f})),o.d(t,"P",(function(){return v})),o.d(t,"Q",(function(){return y})),o.d(t,"a",(function(){return x})),o.d(t,"b",(function(){return C})),o.d(t,"e",(function(){return T})),o.d(t,"f",(function(){return w})),o.d(t,"g",(function(){return E})),o.d(t,"h",(function(){return F})),o.d(t,"j",(function(){return _})),o.d(t,"i",(function(){return R})),o.d(t,"U",(function(){return H})),o.d(t,"V",(function(){return I})),o.d(t,"gb",(function(){return L})),o.d(t,"W",(function(){return W})),o.d(t,"X",(function(){return N})),o.d(t,"Y",(function(){return V})),o.d(t,"Z",(function(){return M})),o.d(t,"ab",(function(){return $})),o.d(t,"fb",(function(){return G})),o.d(t,"m",(function(){return U})),o.d(t,"N",(function(){return K})),o.d(t,"O",(function(){return Y})),o.d(t,"L",(function(){return q})),o.d(t,"M",(function(){return X})),o.d(t,"q",(function(){return ee})),o.d(t,"s",(function(){return J})),o.d(t,"r",(function(){return Z})),o.d(t,"p",(function(){return Q})),o.d(t,"o",(function(){return te})),o.d(t,"n",(function(){return oe})),o.d(t,"y",(function(){return ne})),o.d(t,"G",(function(){return ae})),o.d(t,"F",(function(){return se})),o.d(t,"K",(function(){return de})),o.d(t,"J",(function(){return ce})),o.d(t,"H",(function(){return pe})),o.d(t,"x",(function(){return ue})),o.d(t,"S",(function(){return be})),o.d(t,"T",(function(){return me})),o.d(t,"B",(function(){return ge})),o.d(t,"z",(function(){return fe})),o.d(t,"A",(function(){return ve})),o.d(t,"C",(function(){return ye})),o.d(t,"eb",(function(){return Se})),o.d(t,"db",(function(){return Oe})),o.d(t,"cb",(function(){return xe})),o.d(t,"bb",(function(){return Ce})),o.d(t,"u",(function(){return Be})),o.d(t,"t",(function(){return je})),o.d(t,"D",(function(){return Pe})),o.d(t,"E",(function(){return Te})),o.d(t,"w",(function(){return we})),o.d(t,"v",(function(){return Ee})),o.d(t,"I",(function(){return ze}));var n=o(2),i=o(1),r=o(3),a=o(10),l=o(45);function s(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function c(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?s(Object(o),!0).forEach((function(t){Object(n.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):s(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function d({v:e,device:t,state:o,states:n,devices:s="all",disabled:d=!1,config:p,onChange:u}){const b=n=>Object(r.defaultValueValue)({v:e,key:n,device:t,state:o}),m=Object(a.c)(p,l.a.image);return{id:(h="bgImage",Object(r.defaultValueKey)({key:h,device:t,state:o})),label:Object(i.a)("Image"),type:"imageSetter",devices:s,states:n,disabled:d,population:{show:m.length>0,choices:m},value:{width:b("bgImageWidth"),height:b("bgImageHeight"),src:b("bgImageSrc"),x:b("bgPositionX"),y:b("bgPositionY"),extension:b("bgImageExtension"),population:b("bgPopulation")},onChange:({width:n,height:i,src:a,x:l,y:s,population:d,extension:p},{isChanged:b})=>{const m=c(c({},{v:e,device:t,state:o,onChange:u}),{width:n,height:i,src:a,x:l,y:s,population:d,extension:p,isChanged:b});return Object(r.saveOnChanges)(m)}};var h}function p({v:e,device:t,devices:o="all",state:n,states:a,disabled:l=!1}){const s=o=>Object(r.defaultValueValue)({v:e,key:o,device:t,state:n});return{id:(c="bgVideo",Object(r.defaultValueKey)({key:c,device:t,state:n})),label:Object(i.a)("URL"),type:"input",inputType:"video",placeholder:Object(i.a)("YouTube or Vimeo"),disabled:l,devices:o,states:a,value:{value:s("bgVideo")},onChange:({value:e})=>({bgVideo:e,bgColorOpacity:""!==e&&1===s("bgColorOpacity")?.8:s("bgColorOpacity"),tempBgColorOpacity:""!==e&&1===s("bgColorOpacity")?.8:s("tempBgColorOpacity")})};var c}var u=o(8);function b(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function m(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?b(Object(o),!0).forEach((function(t){Object(n.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):b(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function h({v:e,device:t,state:o,states:n,disabled:i=!1,prefix:l="color",devices:s="all",onChangeHex:c,onChangePalette:d}){const p=n=>Object(r.defaultValueValue)({v:e,key:n,device:t,state:o}),{hex:b}=Object(a.d)(p(Object(u.b)(l,"hex")),p(Object(u.b)(l,"palette")));return{id:(h=l,Object(r.defaultValueKey)({key:h,device:t,state:o})),type:"colorPicker2",disabled:i,devices:s,states:n,select:{show:!1},value:{hex:b,opacity:p(Object(u.b)(l,"opacity")),palette:p(Object(u.b)(l,"palette"))},onChange:({hex:n,opacity:i,palette:a,isChanged:s,opacityDragEnd:p})=>{const u=m(m({},{v:e,device:t,state:o,prefix:l,onChange:c}),{hex:n,opacity:i,isChanged:s,opacityDragEnd:p}),b=m(m({},{v:e,device:t,state:o,prefix:l,onChange:d}),{opacity:i,palette:a});return"hex"===s||"opacity"===s?Object(r.saveOnChanges)(u):Object(r.saveOnChanges)(b)}};var h}function g({v:e,device:t,state:o,disabled:n=!1,states:i,devices:l="all",prefix:s="color",onChange:c}){const d=n=>Object(r.defaultValueValue)({v:e,key:n,device:t,state:o}),{hex:p}=Object(a.d)(d(Object(u.b)(s,"hex")),d(Object(u.b)(s,"palette")));return{id:(b=Object(u.b)(s,"field"),Object(r.defaultValueKey)({key:b,device:t,state:o})),type:"colorFields",devices:l,disabled:n,states:i,value:{hex:p,opacity:d(Object(u.b)(s,"opacity"))},onChange:({hex:n})=>{const i=m(m({},{v:e,device:t,state:o,prefix:s,onChange:c}),{hex:n});return Object(r.saveOnChanges)(i)}};var b}function f({v:e,device:t,state:o,states:n,devices:a="all",className:l,disabled:s}){return{id:(c="gradientType",Object(r.defaultValueKey)({key:c,device:t,state:o})),type:"select",devices:a,states:n,disabled:s,className:l,choices:[{title:Object(i.a)("Linear"),value:"linear"},{title:Object(i.a)("Radial"),value:"radial"}],value:(n=>Object(r.defaultValueValue)({v:e,key:n,device:t,state:o}))("gradientType")};var c}function v({v:e,device:t,state:o,states:n,devices:i="all",disabled:a}){return{id:(l="gradientLinearDegree",Object(r.defaultValueKey)({key:l,device:t,state:o})),type:"inputNumber",className:"brz-ed-grid__gradient__size",devices:i,states:n,disabled:a,min:0,max:360,value:(n=>Object(r.defaultValueValue)({v:e,key:n,device:t,state:o}))("gradientLinearDegree")};var l}function y({v:e,device:t,state:o,states:n,devices:i="all",disabled:a}){return{id:(l="gradientRadialDegree",Object(r.defaultValueKey)({key:l,device:t,state:o})),type:"inputNumber",className:"brz-ed-grid__gradient__degree",devices:i,states:n,disabled:a,min:0,max:1e3,value:(n=>Object(r.defaultValueValue)({v:e,key:n,device:t,state:o}))("gradientRadialDegree")};var l}function S(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function O(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?S(Object(o),!0).forEach((function(t){Object(n.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):S(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function x({v:e,device:t,state:o,states:n,devices:l="all",disabled:s=!1,prefix:c="bg",showSelect:d=!0,onChangeType:p,onChangeHex:b,onChangePalette:m,onChangeGradientHex:h,onChangeGradientPalette:g,onChangeGradient:f}){const v=n=>Object(r.defaultValueValue)({v:e,key:n,device:t,state:o}),y=v(Object(u.b)(c,"colorType")),{hex:S}=Object(a.d)(v(Object(u.b)(c,"colorHex")),v(Object(u.b)(c,"colorPalette"))),{hex:x}=Object(a.d)(v("gradientColorHex"),v("gradientColorPalette")),C=v("gradientActivePointer");return{id:(B=Object(u.b)(c,"color"),Object(r.defaultValueKey)({key:B,device:t,state:o})),type:"colorPicker2",disabled:s,devices:l,states:n,select:{show:d,choices:[{title:Object(i.a)("Solid"),value:"solid"},{title:Object(i.a)("Gradient"),value:"gradient"}]},gradient:{show:"gradient"===y},value:{hex:S,opacity:v(Object(u.b)(c,"colorOpacity")),palette:v(Object(u.b)(c,"colorPalette")),select:y,gradientColorHex:x,gradientColorOpacity:v("gradientColorOpacity"),gradientColorPalette:v("gradientColorPalette"),startPointer:v("gradientStartPointer"),finishPointer:v("gradientFinishPointer"),activePointer:C},onChange:({hex:n,opacity:i,palette:a,select:l,opacityDragEnd:s,startPointer:d,finishPointer:v,activePointer:S,isChanged:x})=>{const C=O(O({},{v:e,device:t,state:o,prefix:c,onChange:p}),{[Object(u.b)(c,"colorType")]:l}),B=O(O({},{v:e,device:t,state:o,prefix:"startPointer"===S||"solid"===y?c:"gradient",onChange:"startPointer"===S||"solid"===y?b:h}),{hex:n,opacity:i,isChanged:x,opacityDragEnd:s}),j=O(O({},{v:e,device:t,state:o,prefix:"startPointer"===S||"solid"===y?c:"gradient",onChange:"startPointer"===S||"solid"===y?m:g}),{opacity:i,palette:a}),P=O(O({},{v:e,device:t,state:o,prefix:c,onChange:f}),{startPointer:d,finishPointer:v,activePointer:S});return"select"===x?Object(r.saveOnChanges)(C):"hex"===x||"opacity"===x?Object(r.saveOnChanges)(B):"palette"===x?Object(r.saveOnChanges)(j):Object(r.saveOnChanges)(P)}};var B}function C({v:e,device:t,state:o,states:n,devices:i="all",prefix:l="bg",className:s="",disabled:c=!1,onChange:d}){const p=n=>Object(r.defaultValueValue)({v:e,key:n,device:t,state:o}),{hex:b}=Object(a.d)(p(Object(u.b)(l,"colorHex")),p(Object(u.b)(l,"colorPalette")));return{id:(m=Object(u.b)(l,"colorField"),Object(r.defaultValueKey)({key:m,device:t,state:o})),type:"colorFields",devices:i,states:n,disabled:c,className:s,value:{hex:b,opacity:p(Object(u.b)(l,"colorOpacity"))},onChange:({hex:n})=>{const i=O(O({},{v:e,device:t,state:o,prefix:l,onChange:d}),{hex:n});return Object(r.saveOnChanges)(i)}};var m}var B=o(37);function j(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function P(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?j(Object(o),!0).forEach((function(t){Object(n.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):j(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function T({v:e,device:t,state:o,states:n,onChangeStyle:l,onChangeHex:s,onChangePalette:c,devices:d="all",prefix:p="",showSelect:b=!0,choices:m=[{title:Object(i.a)("None"),value:""},{value:"solid",icon:"nc-solid"},{value:"dashed",icon:"nc-dashed"},{value:"dotted",icon:"nc-dotted"}]}){const h=n=>Object(r.defaultValueValue)({v:e,key:n,device:t,state:o}),g=Object(u.b)(p,"border"),f=Object(u.b)(g,"color"),v=Object(u.b)(g,"colorHex"),y=Object(u.b)(g,"colorOpacity"),S=Object(u.b)(g,"colorPalette"),O=Object(u.b)(g,"style"),{hex:x}=Object(a.d)(h(v),h(S));return{devices:d,id:(C=f,Object(r.defaultValueKey)({key:C,device:t,state:o})),type:"colorPicker2",states:n,select:{show:b,choices:m},value:{hex:x,opacity:h(y),palette:h(S),select:h(O)},onChange:({hex:n,opacity:i,palette:a,select:d,isChanged:u,opacityDragEnd:b})=>{const m=P(P({},{v:e,device:t,state:o,prefix:p,onChange:l}),{borderStyle:d,isChanged:u}),h=P(P({},{v:e,device:t,state:o,prefix:p,onChange:s}),{hex:n,opacity:i,isChanged:u,opacityDragEnd:b}),g=P(P({},{v:e,device:t,state:o,prefix:p,onChange:c}),{opacity:i,palette:a});return"select"===u?Object(r.saveOnChanges)(m):"hex"===u||"opacity"===u?Object(r.saveOnChanges)(h):Object(r.saveOnChanges)(g)}};var C}function w({v:e,device:t,state:o,states:n,onChange:i,devices:l="all",prefix:s=""}){const c=n=>Object(r.defaultValueValue)({v:e,key:n,device:t,state:o}),d=Object(u.b)(s,"border"),p=Object(u.b)(d,"colorHex"),b=Object(u.b)(d,"colorOpacity"),m=Object(u.b)(d,"colorPalette"),{hex:h}=Object(a.d)(c(p),c(m));return{devices:l,id:(g=Object(u.b)(d,"colorField"),Object(r.defaultValueKey)({key:g,device:t,state:o})),type:"colorFields",states:n,value:{hex:h,opacity:c(b)},onChange:({hex:n})=>{const a=P(P({},{v:e,device:t,state:o,prefix:s,onChange:i}),{hex:n});return Object(r.saveOnChanges)(a)}};var g}function E({v:e,device:t,state:o,states:n,onChangeType:a,onChangeGrouped:l,onChangeUngrouped:s,devices:c="all",prefix:d=""}){const p=n=>Object(r.defaultValueValue)({v:e,key:n,device:t,state:o}),b=Object(u.b)(d,"border"),m=Object(u.b)(b,"width"),h=Object(u.b)(m,"type"),g=Object(u.b)(b,"topWidth"),f=Object(u.b)(b,"rightWidth"),v=Object(u.b)(b,"bottomWidth"),y=Object(u.b)(b,"leftWidth"),S={grouped:[m],ungrouped:[g,f,v,y]};return{devices:c,id:(O=m,Object(r.defaultValueKey)({key:O,device:t,state:o})),type:"multiInputPicker",states:n,label:"grouped"===p(h)&&Object(i.a)("Size"),value:{type:p(h),grouped:[p(m)],ungrouped:[p(g),p(f),p(v),p(y)]},onChange:n=>{let{type:i,isChanged:c,isChangedIndex:p}=n,u=Object(B.a)(n,["type","isChanged","isChangedIndex"]);const b=P(P({},{v:e,device:t,state:o,prefix:d,onChange:a}),{type:i}),m=P(P({},{v:e,device:t,state:o,prefix:d,onChange:"grouped"===i?l:s}),{current:S[i][p],value:u[i][p]});return"type"===c?Object(r.saveOnChanges)(b):Object(r.saveOnChanges)(m)}};var O}function z(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function k(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?z(Object(o),!0).forEach((function(t){Object(n.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):z(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function F({v:e,device:t,disabled:o=!1,state:n,states:l,onChangeType:s,onChangeHex:c,onChangePalette:d,prefix:p="",devices:b="all",choices:m="all"}){const h=o=>Object(r.defaultValueValue)({v:e,key:o,device:t,state:n}),g=Object(u.b)(p,"boxShadow"),f=Object(u.b)(g,"colorHex"),v=Object(u.b)(g,"colorOpacity"),y=Object(u.b)(g,"colorPalette"),{hex:S}=Object(a.d)(h(f),h(y)),O=[{title:Object(i.a)("None"),value:""},{title:Object(i.a)("Inset"),value:"inset"},{title:Object(i.a)("Outset"),value:"on"}],x=[{title:Object(i.a)("None"),value:""},{title:Object(i.a)("Inset"),value:"inset"}],C=[{title:Object(i.a)("None"),value:""},{title:Object(i.a)("Outset"),value:"on"}];return{devices:b,states:l,disabled:o,id:(B=g,Object(r.defaultValueKey)({key:B,device:t,state:n})),type:"colorPicker2",select:{choices:"all"===m?O:"inset"===m?x:C},value:{hex:S,opacity:h(v),palette:h(y),select:h(g)},onChange:({hex:o,opacity:i,palette:a,select:l,isChanged:u,opacityDragEnd:b})=>{const m=k(k({},{v:e,device:t,state:n,prefix:p,onChange:s}),{boxShadowType:l,isChanged:u}),h=k(k({},{v:e,device:t,state:n,prefix:p,onChange:c}),{hex:o,opacity:i,isChanged:u,opacityDragEnd:b}),g=k(k({},{v:e,device:t,state:n,prefix:p,onChange:d}),{opacity:i,palette:a});return"select"===u?Object(r.saveOnChanges)(m):"hex"===u||"opacity"===u?Object(r.saveOnChanges)(h):Object(r.saveOnChanges)(g)}};var B}function _({v:e,device:t,disabled:o=!1,state:n,states:i,onChange:l,prefix:s="",devices:c="all"}){const d=o=>Object(r.defaultValueValue)({v:e,key:o,device:t,state:n}),p=Object(u.b)(s,"boxShadow"),b=Object(u.b)(p,"field"),m=Object(u.b)(p,"colorHex"),h=Object(u.b)(p,"colorPalette"),g=Object(u.b)(p,"colorOpacity"),{hex:f}=Object(a.d)(d(m),d(h));return{devices:c,disabled:o,id:(v=b,Object(r.defaultValueKey)({key:v,device:t,state:n})),type:"colorFields",states:i,value:{hex:f,opacity:d(g)},onChange:({hex:o})=>{const i=k(k({},{v:e,device:t,state:n,prefix:s,onChange:l}),{hex:o});return Object(r.saveOnChanges)(i)}};var v}function R({v:e,device:t,disabled:o=!1,state:n,states:i,onChange:a,prefix:l="",devices:s="all"}){const c=o=>Object(r.defaultValueValue)({v:e,key:o,device:t,state:n}),d=Object(u.b)(l,"boxShadow"),p=Object(u.b)(d,"fields"),b=Object(u.b)(d,"blur"),m=Object(u.b)(d,"spread"),h=Object(u.b)(d,"vertical"),g=Object(u.b)(d,"horizontal");return{devices:s,disabled:o,states:i,id:(f=p,Object(r.defaultValueKey)({key:f,device:t,state:n})),type:"multiInput",config:{defaultIcon:["nc-shadow"],icons:["nc-blur","nc-size","nc-vertical","nc-horizontal"]},value:[c(b),c(m),c(h),c(g)],onChange:([o,i,s,c])=>{const d=k(k({},{v:e,device:t,state:n,prefix:l,onChange:a}),{boxShadowBlur:o,boxShadowSpread:i,boxShadowVertical:s,boxShadowHorizontal:c});return Object(r.saveOnChanges)(d)}};var f}function H({v:e,device:t,state:o,devices:n="all",disabled:a=!1}){return{id:(l="linkAnchor",Object(r.defaultValueKey)({key:l,device:t,state:o})),label:Object(i.a)("Block"),type:"blockThumbnail",devices:n,disabled:a,value:(n=>Object(r.defaultValueValue)({v:e,key:n,device:t,state:o}))("linkAnchor")};var l}function L({disabled:e=!1,devices:t="all"}){return{id:"linkToSlide",type:"number-dev",label:Object(i.a)("Slide"),disabled:e,devices:t,config:{min:1,max:1e6}}}function M({v:e,device:t,state:o,disabled:n=!1,devices:a="all"}){return{id:Object(r.defaultValueKey)({key:"linkUpload",device:t,state:o}),label:Object(i.a)("File"),type:"fileUpload",disabled:n,devices:a,value:Object(r.defaultValueValue)({v:e,key:"linkUpload",device:t,state:o})}}function I({v:e,config:t,devices:o="all"}){const n=Object(a.c)(t,l.a.link);return{id:"linkExternal",type:"input",devices:o,label:Object(i.a)("Link to"),placeholder:"http://",population:{show:n.length>0,choices:n},value:{value:e.linkExternal,population:e.linkPopulation},onChange:({value:e,population:t},{changed:o})=>({linkExternal:e,linkPopulation:t,linkExternalType:"value"===o||""===t?"linkExternal":"linkPopulation"})}}function W({v:e,device:t,state:o,devices:n="all"}){return{id:(a="linkExternalBlank",Object(r.defaultValueKey)({key:a,device:t,state:o})),type:"switch",label:Object(i.a)("Open In New Tab"),devices:n,value:(n=>Object(r.defaultValueValue)({v:e,key:n,device:t,state:o}))("linkExternalBlank")};var a}function N({v:e,device:t,state:o,devices:n="all"}){return{id:(a="linkExternalRel",Object(r.defaultValueKey)({key:a,device:t,state:o})),type:"switch",label:Object(i.a)("Make it Nofollow"),devices:n,value:(n=>Object(r.defaultValueValue)({v:e,key:n,device:t,state:o}))("linkExternalRel")};var a}function V({v:e,device:t,state:o,canDelete:n=!0,disabled:a=!1,component:l,devices:s="all"}){const c=e=>Object(r.defaultValueKey)({key:e,device:t,state:o}),d=n=>Object(r.defaultValueValue)({v:e,key:n,device:t,state:o});return{id:c("linkPopup"),type:"promptAddPopup",label:Object(i.a)("Popup"),canDelete:n,disabled:a,popupKey:`${l.getId()}_${d("linkPopup")}`,devices:s,value:{value:d("linkPopup"),popups:d("popups")},onChange:({value:e,popups:t})=>({[c("linkPopup")]:e,[c("popups")]:t})}}function A(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function D(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?A(Object(o),!0).forEach((function(t){Object(n.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):A(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function $({v:e,device:t,state:o,devices:n="all",disabled:a=!1,position:l=60,marginType:s,onChangeGrouped:c,onChangeUngrouped:d}){const p=e=>Object(r.defaultValueKey)({key:e,device:t,state:o}),u=n=>Object(r.defaultValueValue)({v:e,key:n,device:t,state:o});return{id:"margin",type:"group-dev",position:l,devices:n,disabled:a,options:[{id:"marginType",label:Object(i.a)("Margin"),type:"radioGroup-dev",choices:[{value:"grouped",icon:"nc-styling-all"},{value:"ungrouped",icon:"nc-styling-individual"}]},{id:p("margin"),type:"slider",disabled:"grouped"!==u("marginType"),slider:{min:-100,max:100},input:{show:!0},suffix:{show:!0,choices:[{title:"px",value:"px"},{title:"%",value:"%"}]},value:{value:u("margin"),suffix:u("marginSuffix")},onChange:({value:n,suffix:i})=>{const a=D(D({},{v:e,device:t,state:o,marginType:s,onChange:c}),{value:n,suffix:i});return Object(r.saveOnChanges)(a)}},{id:p("marginTop"),icon:"nc-styling-top",type:"slider",disabled:"ungrouped"!==u("marginType"),slider:{min:-100,max:100},input:{show:!0},suffix:{show:!0,choices:[{title:"px",value:"px"},{title:"%",value:"%"}]},value:{value:u("marginTop"),suffix:u("marginTopSuffix")},onChange:({value:n,suffix:i})=>{const a=D(D({},{v:e,device:t,state:o,onChange:d}),{current:"marginTop",value:n,suffix:i});return Object(r.saveOnChanges)(a)}},{id:p("marginRight"),icon:"nc-styling-right",type:"slider",disabled:"ungrouped"!==u("marginType"),slider:{min:-100,max:100},input:{show:!0},suffix:{show:!0,choices:[{title:"px",value:"px"},{title:"%",value:"%"}]},value:{value:u("marginRight"),suffix:u("marginRightSuffix")},onChange:({value:n,suffix:i})=>{const a=D(D({},{v:e,device:t,state:o,onChange:d}),{current:"marginRight",value:n,suffix:i});return Object(r.saveOnChanges)(a)}},{id:p("marginBottom"),icon:"nc-styling-bottom",type:"slider",disabled:"ungrouped"!==u("marginType"),slider:{min:-100,max:100},input:{show:!0},suffix:{show:!0,choices:[{title:"px",value:"px"},{title:"%",value:"%"}]},value:{value:u("marginBottom"),suffix:u("marginBottomSuffix")},onChange:({value:n,suffix:i})=>{const a=D(D({},{v:e,device:t,state:o,onChange:d}),{current:"marginBottom",value:n,suffix:i});return Object(r.saveOnChanges)(a)}},{id:p("marginLeft"),icon:"nc-styling-left",type:"slider",disabled:"ungrouped"!==u("marginType"),slider:{min:-100,max:100},input:{show:!0},suffix:{show:!0,choices:[{title:"px",value:"px"},{title:"%",value:"%"}]},value:{value:u("marginLeft"),suffix:u("marginLeftSuffix")},onChange:({value:n,suffix:i})=>{const a=D(D({},{v:e,device:t,state:o,onChange:d}),{current:"marginLeft",value:n,suffix:i});return Object(r.saveOnChanges)(a)}}]}}function G({v:e,device:t,devices:o="all",position:n=10,closeTooltip:r=!0}){return"tablet"===t?function({v:e,position:t=10,devices:o="all",closeTooltip:n=!0}){return{id:"showOnTablet",type:"toggle",devices:o,position:t,closeTooltip:n,choices:[{icon:"nc-eye-17",title:Object(i.a)("Disable on Tablet"),value:"on"},{icon:"nc-eye-ban-18",title:Object(i.a)("Enable on Tablet"),value:"off"}],value:e.showOnTablet}}({v:e,position:n,devices:o,closeTooltip:r}):"mobile"===t?function({v:e,position:t=10,devices:o="all",closeTooltip:n=!0}){return{id:"showOnMobile",type:"toggle",devices:o,position:t,closeTooltip:n,choices:[{icon:"nc-eye-17",title:Object(i.a)("Disable on Mobile"),value:"on"},{icon:"nc-eye-ban-18",title:Object(i.a)("Enable on Mobile"),value:"off"}],value:e.showOnMobile}}({v:e,position:n,devices:o,closeTooltip:r}):{}}function U({v:e,position:t=40,device:o,state:n,devices:a="all",population:l}){const s=e=>Object(r.defaultValueKey)({key:e,device:o,state:n}),c=t=>Object(r.defaultValueValue)({v:e,key:t,device:o,state:n});return{id:s("customClassName"),label:Object(i.a)("CSS Class"),position:t,display:"block",type:"input",devices:a,helper:!0,helperContent:"\n<span>Add your custom class without the .dot, example: my-class</span>",population:{show:l.length>0,choices:l},value:{value:c("customClassName"),population:c("cssClassPopulation")},onChange:({value:e,population:t})=>({[s("customClassName")]:e,[s("cssClassPopulation")]:t})}}o(296);function K({v:e,device:t,prefix:o="",devices:n="all",state:i,states:a}){return{id:Object(r.defaultValueKey)({key:Object(u.b)(o,"hue"),device:t,state:i}),icon:"nc-hue",className:"brz-ed-option__slider--hue",type:"slider",devices:n,states:a,slider:{min:0,max:360},input:{show:!0,min:0,max:360},suffix:{show:!0,choices:[{title:"deg",value:"deg"}]},value:{value:Object(r.defaultValueValue)({v:e,key:Object(u.b)(o,"hue"),device:t,state:i})},onChange:({value:n})=>({[Object(r.defaultValueKey)({v:e,key:Object(u.b)(o,"hue"),device:t,state:i})]:n})}}function Y({v:e,device:t,prefix:o="",devices:n="all",state:i,states:a}){return{id:Object(r.defaultValueKey)({key:Object(u.b)(o,"saturation"),device:t,state:i}),icon:"nc-saturation",className:"brz-ed-option__slider--saturation",type:"slider",devices:n,states:a,slider:{min:0,max:200},input:{show:!0,min:0,max:200},suffix:{show:!0,choices:[{title:"%",value:"%"}]},value:{value:Object(r.defaultValueValue)({v:e,key:Object(u.b)(o,"saturation"),device:t,state:i})},onChange:({value:e})=>({[Object(r.defaultValueKey)({key:Object(u.b)(o,"saturation"),device:t,state:i})]:e})}}function q({v:e,device:t,prefix:o="",devices:n="all",state:i,states:a}){return{id:Object(r.defaultValueKey)({key:Object(u.b)(o,"brightness"),device:t,state:i}),icon:"nc-brightness",className:"brz-ed-option__slider--brightness",type:"slider",devices:n,states:a,slider:{min:10,max:200},input:{show:!0,min:0,max:200},suffix:{show:!0,choices:[{title:"%",value:"%"}]},value:{value:Object(r.defaultValueValue)({v:e,key:Object(u.b)(o,"brightness"),device:t,state:i})},onChange:({value:e})=>({[Object(r.defaultValueKey)({key:Object(u.b)(o,"brightness"),device:t,state:i})]:e})}}function X({v:e,device:t,prefix:o="",devices:n="all",state:i,states:a}){return{id:Object(r.defaultValueKey)({key:Object(u.b)(o,"contrast"),device:t,state:i}),icon:"nc-contrast",className:"brz-ed-option__slider--contrast",type:"slider",devices:n,states:a,slider:{min:0,max:200},input:{show:!0,min:0,max:200},suffix:{show:!0,choices:[{title:"%",value:"%"}]},value:{value:Object(r.defaultValueValue)({v:e,key:Object(u.b)(o,"contrast"),device:t,state:i})},onChange:({value:e})=>({[Object(r.defaultValueKey)({key:Object(u.b)(o,"contrast"),device:t,state:i})]:e})}}function J({devices:e="all"}){return{id:"toolbarSettings",type:"popover-dev",devices:e,disabled:!0}}function Z({devices:e="responsive"}){return{id:"showOnTablet",type:"toggle",disabled:!0,devices:e}}function Q({devices:e="responsive"}){return{id:"showOnMobile",type:"toggle",disabled:!0,devices:e}}function ee({device:e}){let t;return t="tablet"===e?Z({}):"mobile"===e?Q({}):{},t}function te({prefix:e="",devices:t="all"}){return{devices:t,id:Object(u.b)(e,"padding"),type:"group-dev",disabled:!0}}function oe({devices:e="all"}){return{devices:e,id:"margin",type:"group-dev",disabled:!0}}function ne({v:e,device:t,devices:o="all",state:n,states:a}){const l=o=>Object(r.defaultValueValue)({v:e,key:o,device:t,state:n});return{id:(s="media",Object(r.defaultValueKey)({key:s,device:t,state:n})),label:Object(i.a)("Type"),type:"radioGroup",devices:o,states:a,choices:[{value:"image",icon:"nc-media-image"},{value:"map",icon:"nc-media-map"}],value:"video"===l("media")?"image":l("media")};var s}var ie=o(14),re=o(33);function ae({device:e,component:t,state:o,blockType:n,position:a=90,disabled:l=!1,devices:s="all"}){return{devices:s,position:a,blockType:n,id:(c="makeItSaved",Object(r.defaultValueKey)({key:c,device:e,state:o})),type:"savedBlock",icon:"nc-save-section",disabled:l,title:Object(i.a)("Save"),tooltipContent:Object(i.a)("Saved"),value:{blockId:t.getId()}};var c}const le=(e,t)=>{if(e&&"popup"===t)return e.split("_")[0]};function se({device:e,component:t,state:o,blockType:n,devices:a="all"}){const l=t.getId(),s=ie.a.getAll(),c=Object(re.b)(s)&&Object(re.g)(s);return{devices:a,blockType:n,id:(d="makeItGlobal",Object(r.defaultValueKey)({key:d,device:e,state:o})),label:Object(i.a)("Make it Global"),type:"globalBlock",disabled:c,position:125,value:{_id:l,parentId:le(t.props.instanceKey,n)}};var d}function ce({v:e,device:t,devices:o="all",disabled:n=!1,state:a}){const l=e=>Object(r.defaultValueKey)({key:e,device:t,state:a});return{id:l("iconSize"),label:Object(i.a)("Play"),type:"slider",devices:o,disabled:n,roles:["admin"],slider:{min:50,max:200},input:{show:!0,min:50,max:200},suffix:{show:!0,choices:[{title:"px",value:"px"}]},value:{value:(s="iconSize",Object(r.defaultValueValue)({v:e,key:s,device:t,state:a}))},onChange:({value:e})=>({[l("iconSize")]:e,[l("iconSizeWidth")]:e,[l("iconSizeHeight")]:e})};var s}function de({v:e,device:t,state:o,devices:n="all",disabled:a=!1}){return{id:(l="custom",Object(r.defaultValueKey)({key:l,device:t,state:o})),label:Object(i.a)("File"),type:"fileUpload",acceptedExtensions:["video/*"],devices:n,disabled:a,value:(n=>Object(r.defaultValueValue)({v:e,key:n,device:t,state:o}))("custom")};var l}function pe({v:e,device:t,devices:o="all",disabled:n=!1,state:a}){const l=e=>Object(r.defaultValueKey)({key:e,device:t,state:a}),s=o=>Object(r.defaultValueValue)({v:e,key:o,device:t,state:a});return{id:l("style"),label:Object(i.a)("Style"),type:"radioGroup",devices:o,disabled:n,choices:[{value:"basic",icon:"nc-sndcloud-style-1"},{value:"artwork",icon:"nc-sndcloud-style-2"}],value:s("style"),onChange:e=>({[l("style")]:e,[l("showArtwork")]:"basic"===e?"off":"on",[l("height")]:s("basic"===e?"mediumHeight":"artwork"===e?"largeHeight":"height")})}}function ue({v:e,device:t,devices:o="all",state:n,position:a=350}){return{id:Object(r.defaultValueKey)({key:"itemPadding",device:t,state:n}),type:"slider",label:Object(i.a)("Spacing"),roles:["admin"],devices:o,position:a,slider:{min:0,max:100},input:{show:!0},suffix:{show:!0,choices:[{title:"px",value:"px"}]},disabled:1===e.items.length,value:{value:Object(r.defaultValueValue)({v:e,key:"itemPadding",device:t,state:n})},onChange:({value:e})=>({[Object(r.defaultValueKey)({key:"itemPadding",device:t,state:n})]:e,[Object(r.defaultValueKey)({key:"itemPaddingRight",device:t,state:n})]:e,[Object(r.defaultValueKey)({key:"itemPaddingLeft",device:t,state:n})]:e})}}function be({v:e,config:t,inGallery:o,device:n,state:s,devices:c="all"}){const d=t=>Object(r.defaultValueValue)({v:e,key:t,device:n,state:s}),p=Object(a.c)(t,l.a.link);return{id:(u="linkExternal",Object(r.defaultValueKey)({key:u,device:n,state:s})),type:"input",label:Object(i.a)("Link to"),placeholder:"http://",devices:c,population:{show:p.length>0&&!o,choices:p},value:{population:d("linkPopulation"),value:d("linkExternal")},onChange:({value:e,population:t},{changed:o})=>({linkExternal:e,linkPopulation:t,linkExternalType:"value"===o||""===t?"linkExternal":"linkPopulation"})};var u}function me({devices:e="all",gallery:t,enableTags:o}){const{inGallery:n=!1}=t||{};return{label:"Tags",id:"tags",type:"inputText-dev",helper:{enabled:!0,content:"Enter the tags, separated by a comma (art, sport, nature, etc).",position:"top-end"},placeholder:"art, nature, etc.",devices:e,disabled:!n||!o}}o(16),o(40),o(143);var he=o(6);function ge({v:e,device:t,state:o,devices:n="all"}){const a=e=>Object(r.defaultValueKey)({key:e,device:t,state:o});return{devices:n,id:a("padding"),type:"slider",label:Object(i.a)("Spacing"),slider:{min:0,max:100},input:{show:!0},suffix:{show:!0,choices:[{title:"px",value:"px"}]},value:{value:(l="padding",Object(r.defaultValueValue)({v:e,key:l,device:t,state:o}))},onChange:({value:e})=>({[a("padding")]:e,[a("paddingRight")]:e,[a("paddingBottom")]:e,[a("paddingLeft")]:e})};var l}function fe({v:e,device:t,state:o,devices:n="all"}){const i=he.default.pluck(e.items[0].value.items,"value");return{devices:n,id:(a="apps",Object(r.defaultValueKey)({key:a,device:t,state:o})),type:"formApps",icon:"nc-extensions-2",value:{id:e._id,fields:i}};var a}function ve({v:e,device:t,state:o,devices:n="all"}){const a=e=>Object(r.defaultValueKey)({key:e,device:t,state:o}),l=n=>Object(r.defaultValueValue)({v:e,key:n,device:t,state:o}),s={small:l("sizeSmallPadding"),medium:l("sizeMediumPadding"),large:l("sizeLargePadding")};return{devices:n,id:a("size"),label:Object(i.a)("Size"),type:"radioGroup",position:17,choices:[{icon:"nc-small",value:"small"},{icon:"nc-medium",value:"medium"},{icon:"nc-large",value:"large"}],value:l("size"),onChange:e=>({[a("size")]:e,[a("paddingTop")]:s[e],[a("paddingRight")]:s[e]+10,[a("paddingBottom")]:s[e],[a("paddingLeft")]:s[e]+10})}}function ye({v:e,device:t,state:o,prefix:n="field",devices:a="all"}){const l=e=>Object(r.defaultValueKey)({key:e,device:t,state:o});return{devices:a,id:l(Object(u.b)(n,"padding")),type:"slider",label:Object(i.a)("Spacing"),slider:{min:0,max:100},input:{show:!0},suffix:{show:!0,choices:[{title:"px",value:"px"}]},value:{value:(s=Object(u.b)(n,"padding"),Object(r.defaultValueValue)({v:e,key:s,device:t,state:o}))},onChange:({value:e})=>({[l(Object(u.b)(n,"padding"))]:e,[l(Object(u.b)(n,"paddingRight"))]:e,[l(Object(u.b)(n,"paddingBottom"))]:e,[l(Object(u.b)(n,"paddingLeft"))]:e})};var s}function Se({v:e,device:t,devices:o="all",state:n}){return{id:(l="shapeTopType",Object(r.defaultValueKey)({key:l,device:t,state:n})),label:Object(i.a)("Type"),type:"select",devices:o,className:"brz-control__select-option--icon",choices:Object(a.f)(),value:(o=>Object(r.defaultValueValue)({v:e,key:o,device:t,state:n}))("shapeTopType")};var l}function Oe({v:e,device:t,devices:o="all",disabled:n=!1,state:a}){const l=e=>Object(r.defaultValueKey)({key:e,device:t,state:a});return{id:l("shapeTopFlip"),label:Object(i.a)("Flip"),type:"checkGroup",disabled:n,devices:o,choices:[{value:"shapeTopHorizontal",icon:"nc-flip-horizontal"}],value:{shapeTopHorizontal:"on"===(s="shapeTopHorizontal",Object(r.defaultValueValue)({v:e,key:s,device:t,state:a}))},onChange:({shapeTopHorizontal:e})=>({[l("shapeTopHorizontal")]:e?"on":"off"})};var s}function xe({v:e,device:t,devices:o="all",state:n}){return{id:(l="shapeBottomType",Object(r.defaultValueKey)({key:l,device:t,state:n})),label:Object(i.a)("Type"),type:"select",devices:o,className:"brz-control__select-option--icon brz-control__select-option--icon--bottom",choices:Object(a.f)(),value:(o=>Object(r.defaultValueValue)({v:e,key:o,device:t,state:n}))("shapeBottomType")};var l}function Ce({v:e,device:t,devices:o="all",disabled:n=!1,state:a}){const l=e=>Object(r.defaultValueKey)({key:e,device:t,state:a});return{id:l("shapeBottomFlip"),label:Object(i.a)("Flip"),type:"checkGroup",devices:o,disabled:n,choices:[{value:"shapeBottomHorizontal",icon:"nc-flip-horizontal"}],value:{shapeBottomHorizontal:"on"===(s="shapeBottomHorizontal",Object(r.defaultValueValue)({v:e,key:s,device:t,state:a}))},onChange:({shapeBottomHorizontal:e})=>({[l("shapeBottomHorizontal")]:e?"on":"off"})};var s}function Be({v:e,device:t,state:o,devices:n="all",disabled:a=!1}){return{id:(l="audio",Object(r.defaultValueKey)({key:l,device:t,state:o})),label:Object(i.a)("File"),type:"fileUpload",acceptedExtensions:[".mp3",".ogg",".wav"],devices:n,disabled:a,value:(n=>Object(r.defaultValueValue)({v:e,key:n,device:t,state:o}))("audio")};var l}function je({v:e,device:t,state:o,devices:n="all",disabled:a=!1}){const l=n=>Object(r.defaultValueValue)({v:e,key:n,device:t,state:o}),s=e=>Object(r.defaultValueKey)({key:e,device:t,state:o});return{id:s("iconSize"),label:Object(i.a)("Icons"),type:"radioGroup",disabled:a,devices:n,choices:[{value:"small",icon:"nc-16"},{value:"medium",icon:"nc-24"},{value:"large",icon:"nc-32"},{value:"custom",icon:"nc-more"}],value:l("iconSize"),onChange:e=>({[s("iconSize")]:e,iconCustomSize:l("small"===e?"smallIconSize":"medium"===e?"mediumIconSize":"large"===e?"largeIconSize":"iconCustomSize")})}}function Pe({v:e,device:t,devices:o="all",state:n}){const a="desktop"===t?6:Math.min(e.gridColumn*e.gridRow,6);return{id:Object(r.defaultValueKey)({key:"gridColumn",device:t,state:n}),type:"slider",label:Object(i.a)("Columns"),devices:o,className:"brz-ed-option__slider--skin-dev",slider:{min:1,max:a,step:1},input:{show:!0,min:1,max:a,step:1},value:{value:Object(r.defaultValueValue)({v:e,key:"gridColumn",device:t,state:n}),suffix:null},onChange:({value:o})=>{const i=Object(r.defaultValueKey)({key:"gridColumn",device:t,state:n}),a={[i]:o,[i+"Suffix"]:""};if("desktop"===t){const t=Number(o)*Number(e.gridRow);t<e.tabletGridColumn&&(a.tabletGridColumn=t),t<e.mobileGridColumn&&(a.mobileGridColumn=t)}return a}}}function Te({v:e,device:t,devices:o="all",state:n}){return{id:Object(r.defaultValueKey)({key:"gridRow",device:t,state:n}),type:"slider",label:Object(i.a)("Rows"),devices:o,className:"brz-ed-option__slider--skin-dev",slider:{min:1,max:15,step:1},input:{show:!0,min:1,max:50,step:1},value:{value:Object(r.defaultValueValue)({v:e,key:"gridRow",device:t,state:n}),suffix:null},onChange:({value:o})=>{const i=Object(r.defaultValueKey)({key:"gridRow",device:t,state:n}),a={[i]:o,[i+"Suffix"]:""};if("desktop"===t){const t=Number(o)*Number(e.gridColumn);t<e.tabletGridColumn&&(a.tabletGridColumn=t),t<e.mobileGridColumn&&(a.mobileGridColumn=t)}return a}}}function we({v:e,device:t,state:o,choices:n=[],disabled:a=!1,devices:l="all"}){const s=n=>Object(r.defaultValueValue)({v:e,key:n,device:t,state:o}),c=e=>Object(r.defaultValueKey)({key:e,device:t,state:o});return{id:c("taxonomy"),label:Object(i.a)("Categories"),disabled:a,devices:l,type:"select",choices:n,value:`${s("taxonomy")}|${s("taxonomyId")}`,onChange:e=>{const[t,o]=e.split("|");return{[c("taxonomy")]:t,[c("taxonomyId")]:o}}}}function Ee({v:e,device:t,state:o,disabled:n=!1,devices:a="all"}){const l=n=>Object(r.defaultValueValue)({v:e,key:n,device:t,state:o}),s=e=>Object(r.defaultValueKey)({key:e,device:t,state:o});return{id:"sliderPaddingType",type:"group-dev",disabled:n,devices:a,position:50,options:[{id:"sliderPaddingType",label:Object(i.a)("Padding"),type:"radioGroup-dev",choices:[{value:"grouped",icon:"nc-styling-all"},{value:"ungrouped",icon:"nc-styling-individual"}]},{id:s("sliderPadding"),type:"slider",disabled:"grouped"!==l("sliderPaddingType"),slider:{min:0,max:100},input:{show:!0,min:0},suffix:{show:!0,choices:[{title:"px",value:"px"},{title:"%",value:"%"}]},value:{value:l("sliderPadding"),suffix:l("sliderPaddingSuffix")},onChange:({value:e,suffix:t})=>({[s("sliderPadding")]:e,[s("sliderPaddingSuffix")]:t,[s("sliderPaddingTop")]:e,[s("sliderPaddingRight")]:e,[s("sliderPaddingBottom")]:e,[s("sliderPaddingLeft")]:e})},{id:s("sliderPaddingTop"),icon:"nc-styling-top",type:"slider",disabled:"ungrouped"!==l("sliderPaddingType"),slider:{min:0,max:100},input:{show:!0,min:0},suffix:{show:!0,choices:[{title:"px",value:"px"},{title:"%",value:"%"}]},value:{value:l("sliderPaddingTop"),suffix:l("sliderPaddingTopSuffix")},onChange:({value:e,suffix:t})=>({[s("sliderPaddingTop")]:e,[s("sliderPaddingTopSuffix")]:t,[s("sliderPadding")]:e===l("sliderPaddingRight")&&e===l("sliderPaddingLeft")&&e===l("sliderPaddingBottom")?e:l("sliderPadding")})},{id:s("sliderPaddingRight"),icon:"nc-styling-right",type:"slider",disabled:"ungrouped"!==l("sliderPaddingType"),slider:{min:0,max:100},input:{show:!0,min:0},suffix:{show:!0,choices:[{title:"px",value:"px"},{title:"%",value:"%"}]},value:{value:l("sliderPaddingRight"),suffix:l("sliderPaddingRightSuffix")},onChange:({value:e,suffix:t})=>({[s("sliderPaddingRight")]:e,[s("sliderPaddingRightSuffix")]:t,[s("sliderPadding")]:e===l("sliderPaddingTop")&&e===l("sliderPaddingLeft")&&e===l("sliderPaddingBottom")?e:l("sliderPadding")})},{id:s("sliderPaddingBottom"),icon:"nc-styling-bottom",type:"slider",disabled:"ungrouped"!==l("sliderPaddingType"),slider:{min:0,max:100},input:{show:!0,min:0},suffix:{show:!0,choices:[{title:"px",value:"px"},{title:"%",value:"%"}]},value:{value:l("sliderPaddingBottom"),suffix:l("sliderPaddingBottomSuffix")},onChange:({value:e,suffix:t})=>({[s("sliderPaddingBottom")]:e,[s("sliderPaddingBottomSuffix")]:t,[s("sliderPadding")]:e===l("sliderPaddingRight")&&e===l("sliderPaddingLeft")&&e===l("sliderPaddingTop")?e:l("sliderPadding")})},{id:s("sliderPaddingLeft"),icon:"nc-styling-left",type:"slider",disabled:"ungrouped"!==l("sliderPaddingType"),slider:{min:0,max:100},input:{show:!0,min:0},suffix:{show:!0,choices:[{title:"px",value:"px"},{title:"%",value:"%"}]},value:{value:l("sliderPaddingLeft"),suffix:l("sliderPaddingLeftSuffix")},onChange:({value:e,suffix:t})=>({[s("sliderPaddingLeft")]:e,[s("sliderPaddingLeftSuffix")]:t,[s("sliderPadding")]:e===l("sliderPaddingRight")&&e===l("sliderPaddingTop")&&e===l("sliderPaddingBottom")?e:l("sliderPadding")})}]}}function ze({v:e,device:t,devices:o="all",state:n}){const a=e=>Object(r.defaultValueKey)({key:e,device:t,state:n});return{id:a("twitter"),label:Object(i.a)("Twitter"),type:"select",devices:o,choices:[{title:Object(i.a)("Embed"),value:"embed"},{title:Object(i.a)("Button"),value:"button"}],value:(l="twitter",Object(r.defaultValueValue)({v:e,key:l,device:t,state:n})),onChange:e=>({[a("twitter")]:e,[a("twitterType")]:"embed"===e?"embed":"followButton"})};var l}},function(e,t,o){"use strict";o.d(t,"n",(function(){return u})),o.d(t,"b",(function(){return b})),o.d(t,"S",(function(){return m})),o.d(t,"z",(function(){return h})),o.d(t,"y",(function(){return g})),o.d(t,"d",(function(){return f})),o.d(t,"f",(function(){return v})),o.d(t,"eb",(function(){return y})),o.d(t,"gb",(function(){return S})),o.d(t,"B",(function(){return O})),o.d(t,"A",(function(){return x})),o.d(t,"e",(function(){return C})),o.d(t,"g",(function(){return B})),o.d(t,"fb",(function(){return j})),o.d(t,"i",(function(){return P})),o.d(t,"D",(function(){return T})),o.d(t,"E",(function(){return w})),o.d(t,"v",(function(){return E})),o.d(t,"u",(function(){return z})),o.d(t,"l",(function(){return k})),o.d(t,"j",(function(){return F}));o(70),o(256);var n=o(2),i=o(95);o.d(t,"a",(function(){return i.a})),o.d(t,"c",(function(){return i.b})),o.d(t,"h",(function(){return i.c})),o.d(t,"o",(function(){return i.d})),o.d(t,"p",(function(){return i.f})),o.d(t,"q",(function(){return i.g})),o.d(t,"r",(function(){return i.h})),o.d(t,"t",(function(){return i.i})),o.d(t,"w",(function(){return i.j})),o.d(t,"x",(function(){return i.k})),o.d(t,"C",(function(){return i.l})),o.d(t,"F",(function(){return i.m})),o.d(t,"G",(function(){return i.n})),o.d(t,"H",(function(){return i.p})),o.d(t,"I",(function(){return i.q})),o.d(t,"J",(function(){return i.r})),o.d(t,"K",(function(){return i.s})),o.d(t,"L",(function(){return i.t})),o.d(t,"R",(function(){return i.u})),o.d(t,"U",(function(){return i.v})),o.d(t,"V",(function(){return i.w})),o.d(t,"W",(function(){return i.x})),o.d(t,"X",(function(){return i.y})),o.d(t,"Y",(function(){return i.z})),o.d(t,"Z",(function(){return i.A})),o.d(t,"ab",(function(){return i.B})),o.d(t,"bb",(function(){return i.C}));var r=o(14),a=o(49),l=o(190),s=o(57),c=o(109);function d(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function p(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?d(Object(o),!0).forEach((function(t){Object(n.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):d(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const u=async({placeholders:e,signal:t})=>{const{api:{url:o,hash:n,placeholdersContent:c}}=r.a.get("wp"),d=r.a.get("editorVersion"),p=new URLSearchParams({hash:n,version:d,action:c});for(const[t,o]of Object.entries(e))if(o)for(const e of o)p.append(`p[${t}][]`,e);const u=await Object(i.r)(o,{method:"POST",body:p,signal:t});if(!u.ok)throw new Error("fetch dynamic content error");const{data:b}=await u.json();if(void 0===b||void 0===b.placeholders)throw new Error("fetch dynamic content error");const m=a.e(l.a(s.a))(b.placeholders);if(void 0===m)throw new Error("fetch dynamic content error");return m},b=({base64:e,blockType:t})=>{const{page:o,api:{url:n,hash:a,createBlockScreenshot:l}}=r.a.get("wp"),s=r.a.get("editorVersion"),c=e.replace(/data:image\/.+;base64,/,"");return Object(i.r)(n,{method:"POST",body:new URLSearchParams({action:l,post:o,version:s,hash:a,block_type:t,ibsf:c})}).then(e=>e.json()).then(e=>{if(e.success)return e.data;throw e})},m=({id:e,base64:t,blockType:o})=>{const{page:n,api:{url:a,hash:l,updateBlockScreenshot:s}}=r.a.get("wp"),c=r.a.get("editorVersion"),d=t.replace(/data:image\/.+;base64,/,"");return Object(i.r)(a,{method:"POST",body:new URLSearchParams({action:s,post:n,version:c,hash:l,block_type:o,id:e,ibsf:d})}).then(e=>e.json()).then(e=>{if(e.success)return e.data;throw e})},h=e=>{const{getSavedBlockList:t}=r.a.get("wp").api;return Object(i.o)({type:"POST",dataType:"json",data:p(p({},e),{},{action:t,fields:["uid","meta","synchronized","synchronizable"]})}).then(({data:e})=>e.map(c.c))},g=e=>{const{getSavedBlockByUid:t}=r.a.get("wp").api;return Object(i.o)({type:"POST",dataType:"json",data:{uid:e,action:t}}).then(({data:e})=>Object(c.f)(e))},f=e=>{const{createSavedBlock:t}=r.a.get("wp").api,{uid:o,data:n,dataVersion:a,meta:l}=Object(c.k)(e),s=Object(c.a)(e);return Object(i.o)({type:"POST",dataType:"json",data:{uid:o,data:n,meta:l,media:s,dataVersion:a,action:t}})},v=e=>{const{deleteSavedBlock:t}=r.a.get("wp").api;return Object(i.o)({type:"POST",dataType:"json",data:{uid:e,action:t}})},y=async e=>{const t=r.a.getAll(),{api:{url:o,hash:n,uploadBlocks:a}}=t.wp,l=t.editorVersion,s=new FormData;for(const t of e)s.append("files[]",t);s.append("version",l),s.append("hash",n),s.append("action",a);const d=await Object(i.r)(o,{method:"POST",body:s}),p=await d.json();if(p.success&&p.data.errors&&p.data.success)return{errors:p.data.errors,success:p.data.success.map(c.f)};throw p},S=async e=>{const t=r.a.getAll(),{api:{url:o,hash:n,uploadBlocks:a}}=t.wp,l=t.editorVersion,s=new FormData;for(const t of e)s.append("files[]",t);s.append("version",l),s.append("hash",n),s.append("action",a);const d=await Object(i.r)(o,{method:"POST",body:s}),p=await d.json();if(p.success&&p.data.errors&&p.data.success)return{errors:p.data.errors,success:p.data.success.map(c.f)};throw p},O=e=>{const{getLayoutList:t}=r.a.get("wp").api;return Object(i.o)({type:"POST",dataType:"json",data:p(p({},e),{},{action:t,fields:["uid","meta","synchronized","synchronizable"]})}).then(({data:e})=>e.map(c.c))},x=e=>{const{getLayoutByUid:t}=r.a.get("wp").api;return Object(i.o)({type:"POST",dataType:"json",data:{uid:e,action:t}}).then(({data:e})=>Object(c.g)(e))},C=e=>{const{createLayout:t}=r.a.get("wp").api,{data:o,dataVersion:n,uid:a,meta:l}=Object(c.k)(e),s=Object(c.a)(e);return Object(i.o)({type:"POST",dataType:"json",data:{uid:a,data:o,meta:l,media:s,dataVersion:n,action:t}})},B=e=>{const{deleteLayout:t}=r.a.get("wp").api;return Object(i.o)({type:"POST",dataType:"json",data:{uid:e,action:t}})},j=async e=>{const t=r.a.getAll(),{api:{url:o,hash:n,uploadBlocks:a}}=t.wp,l=t.editorVersion,s=new FormData;for(const t of e)s.append("files[]",t);s.append("version",l),s.append("hash",n),s.append("action",a);const d=await Object(i.r)(o,{method:"POST",body:s}),p=await d.json();if(p.success&&p.data.errors&&p.data.success)return{errors:p.data.errors,success:p.data.success.map(c.g)};throw p},P=async({include:e=[],search:t="",abortSignal:o}={})=>{const{api:{url:n,hash:a,getUsers:l}}=r.a.get("wp"),s=r.a.get("editorVersion"),c=new URLSearchParams({hash:a,version:s,action:l});""!==t&&c.append("search",t);for(const t of e)c.append("include[]",t);const d=await Object(i.r)(n,{method:"POST",body:c,signal:o}),p=await d.json();if(p.success)return p.data;throw p},T=async e=>{const{url:t,hash:o,getTerms:n}=r.a.get("wp").api,a=r.a.get("editorVersion");return Object(i.r)(t,{method:"POST",body:new URLSearchParams({hash:o,version:a,taxonomy:e,action:n})}).then(e=>e.json()).then(({data:e})=>e)},w=async({include:e=[],search:t="",abortSignal:o}={})=>{const{api:{url:n,hash:a,getTermsBy:l}}=r.a.get("wp"),s=r.a.get("editorVersion"),c=new URLSearchParams({hash:a,version:s,action:l});""!==t&&c.append("search",t);for(let t=0;t<e.length;t++){const[o,n]=e[t];c.append("taxonomy[]",o),c.append("include[]",n)}const d=await Object(i.r)(n,{method:"POST",body:c,signal:o}),p=await d.json();if(p.success)return p.data;throw p},E=async({include:e,search:t="",postType:o,excludePostType:n,abortSignal:a}={})=>{const{api:{url:l,hash:s,searchPosts:c}}=r.a.get("wp"),d=r.a.get("editorVersion"),p=new URLSearchParams({hash:s,version:d,action:c});if(""!==t&&p.append("search",t),void 0!==e)for(const t of e)p.append("include[]",t);if(void 0!==o)for(const e of o)p.append("post_type[]",e);if(void 0!==n)for(const e of n)p.append("exclude_post_type[]",e);const u=await Object(i.r)(l,{method:"POST",body:p,signal:a}),b=await u.json();if(b.success)return b.data;throw b},z=async({taxonomy:e,abortSignal:t})=>{const{url:o,hash:n,getPostTaxonomies:a}=r.a.get("wp").api,l=r.a.get("editorVersion");return Object(i.r)(o,{method:"POST",body:new URLSearchParams({hash:n,version:l,post_type:e,action:a}),signal:t}).then(e=>e.json()).then(({data:e})=>e).catch(e=>[])},k=async()=>{const e=r.a.getAll().wp.postTypes;return Promise.resolve(e)},F=async e=>{const t=r.a.getAll(),{wp:o,editorVersion:n}=t,{url:a,hash:l,getPostObjects:s}=o.api;return await Object(i.r)(a,{method:"POST",body:new URLSearchParams({hash:l,version:n,postType:e,action:s})}).then(e=>e.json()).then(e=>{if(null==e||!e.data)throw"Something went wrong";return e.data}).catch(e=>[])}},function(e,t,o){"use strict";o.d(t,"d",(function(){return i})),o.d(t,"b",(function(){return a})),o.d(t,"c",(function(){return l})),o.d(t,"a",(function(){return s}));var n=o(20);const i=e=>{switch(typeof e){case"string":return e;case"number":return e.toString();default:return}};r=i;var r;const a="",l=e=>{var t;return null!==(t=i(e))&&void 0!==t?t:""},s={read:i,empty:a,append:(e,t)=>e+t,concat:e=>e.join(""),eq:function(e,t){return e===t}}},function(e,t,o){"use strict";o.d(t,"k",(function(){return u})),o.d(t,"i",(function(){return b})),o.d(t,"a",(function(){return m})),o.d(t,"c",(function(){return h})),o.d(t,"j",(function(){return g})),o.d(t,"b",(function(){return f})),o.d(t,"g",(function(){return v})),o.d(t,"e",(function(){return y})),o.d(t,"f",(function(){return S})),o.d(t,"h",(function(){return O})),o.d(t,"d",(function(){return x})),o.d(t,"l",(function(){return C})),o.d(t,"E",(function(){return s})),o.d(t,"z",(function(){return c})),o.d(t,"x",(function(){return B})),o.d(t,"w",(function(){return j})),o.d(t,"y",(function(){return P})),o.d(t,"v",(function(){return T})),o.d(t,"M",(function(){return w})),o.d(t,"H",(function(){return E})),o.d(t,"J",(function(){return z})),o.d(t,"n",(function(){return k})),o.d(t,"p",(function(){return F})),o.d(t,"I",(function(){return _})),o.d(t,"K",(function(){return R})),o.d(t,"S",(function(){return H})),o.d(t,"Q",(function(){return L})),o.d(t,"G",(function(){return M})),o.d(t,"r",(function(){return I})),o.d(t,"O",(function(){return W})),o.d(t,"N",(function(){return N})),o.d(t,"m",(function(){return V})),o.d(t,"o",(function(){return A})),o.d(t,"q",(function(){return D})),o.d(t,"L",(function(){return $})),o.d(t,"A",(function(){return G})),o.d(t,"B",(function(){return U})),o.d(t,"C",(function(){return K})),o.d(t,"t",(function(){return Y})),o.d(t,"u",(function(){return q})),o.d(t,"s",(function(){return X})),o.d(t,"D",(function(){return J})),o.d(t,"F",(function(){return Z})),o.d(t,"R",(function(){return Q})),o.d(t,"P",(function(){return ee}));var n=o(2),i=o(6),r=o(26),a=o(63),l=o(17);function s(){return{type:"UNDO"}}function c(){return{type:"REDO"}}function d(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function p(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?d(Object(o),!0).forEach((function(t){Object(n.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):d(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const u="UPDATE_DISABLED_ELEMENTS",b="UPDATE_CURRENT_KIT_ID",m="ADD_FONTS",h="DELETE_FONTS",g="UPDATE_DEFAULT_FONT",f="ADD_GLOBAL_BLOCK",v="IMPORT_TEMPLATE",y="IMPORT_KIT",S="IMPORT_STORY",O="PUBLISH",x="FETCH_PAGE_SUCCESS",C="UPDATE_EXTRA_FONT_STYLES";function B(e){return{type:"MAKE_NORMAL_TO_GLOBAL_BLOCK",payload:e}}function j({fromBlockId:e,block:t}){return{type:"MAKE_GLOBAL_TO_NORMAL_BLOCK",payload:{fromBlockId:e,block:t}}}function P(e){return{type:"MAKE_POPUP_TO_GLOBAL_BLOCK",payload:e}}function T({fromBlockId:e,parentId:t,block:o}){return{type:"MAKE_GLOBAL_BLOCK_TO_POPUP",payload:{fromBlockId:e,parentId:t,block:o}}}function w({id:e,data:t,meta:o}){return{type:"UPDATE_GLOBAL_BLOCK",payload:{id:e,data:t},meta:p({is_autosave:1},o)}}const E=e=>({type:"UPDATE_CURRENT_KIT_ID",payload:e}),z=e=>({type:"UPDATE_DISABLED_ELEMENTS",payload:e}),k=e=>(t,o)=>{const n=Object(l.o)(o()),s=e.reduce((e,t)=>{var o;const{type:r,fonts:l}=t,s=(null===(o=n[r])||void 0===o?void 0:o.data)||[],[c,d]=i.default.partition(l,e=>Object.prototype.hasOwnProperty.call(e,"deleted")),u=d.map(e=>p(p({},e),{},{brizyId:Object(a.a)()}));return p(p({},e),{},{[r]:{data:s.map(e=>c.find(({brizyId:t})=>e.brizyId===t)||e).concat(u)}})},{});return t({type:"ADD_FONTS",payload:Object(r.mergeDeep)(n,s)})},F=e=>(t,o)=>{var n;const{type:i,fonts:a}=e,s=Object(l.o)(o()),c={[i]:{data:(s[i]&&(null===(n=s[i])||void 0===n?void 0:n.data)||[]).map(e=>a.some(({brizyId:t})=>t===e.brizyId)?p(p({},e),{},{deleted:!0}):e)}};return t({type:"DELETE_FONTS",payload:Object(r.mergeDeep)(s,c)})},_=e=>({type:"UPDATE_DEFAULT_FONT",payload:e}),R=e=>({type:"UPDATE_EXTRA_FONT_STYLES",payload:e});function H(e,t){return{type:"UPDATE_UI",key:e,value:t}}const L=e=>({type:"STORE_WAS_CHANGED",payload:e});function M({blocks:e,meta:t={}}){return{type:"UPDATE_BLOCKS",payload:{blocks:e},meta:p({is_autosave:1},t)}}const I=()=>({type:x}),W=e=>t=>new Promise((o,n)=>{t({type:"PUBLISH",payload:{status:e},meta:{onSuccess:o,onError:n}})}),N=e=>({type:"UPDATE_PAGE_LAYOUT",payload:{layout:e}});function V(e,t={insertIndex:0}){return{type:"ADD_BLOCK",payload:e,meta:t}}function A(e,t={insertIndex:0}){return{type:"ADD_GLOBAL_BLOCK",payload:e,meta:t}}function D({id:e}){return{type:"DELETE_GLOBAL_BLOCK",payload:{id:e}}}function $({data:e,meta:t}){return{type:"UPDATE_GB_RULES",payload:e,meta:t}}function G({index:e,id:t}){return{type:"REMOVE_BLOCK",payload:{index:e,id:t}}}function U(){return{type:"REMOVE_BLOCKS"}}function K(e){return{type:"REORDER_BLOCKS",payload:e}}function Y(e,t={insertIndex:0}){return{type:S,payload:e,meta:t}}function q(e,t={insertIndex:0}){return{meta:t,type:"IMPORT_TEMPLATE",payload:e}}const X=e=>({type:"IMPORT_KIT",payload:e});function J(e){return H("deviceMode",e)}function Z(e){return{type:"UPDATE_AUTHORIZATION",payload:e}}function Q(e){return{type:"UPDATE_SYNC_ALLOWED",payload:e}}function ee(e){return{type:"UPDATE_PAGE_TITLE",payload:e}}},function(e,t,o){"use strict";o.d(t,"b",(function(){return n})),o.d(t,"a",(function(){return i}));const n=e=>{if(""===e||"number"!=typeof e&&"string"!=typeof e)return;const t=Number(e);return isNaN(t)?void 0:t},i={read:n}},,function(e,t,o){"use strict";o.d(t,"g",(function(){return u})),o.d(t,"f",(function(){return b})),o.d(t,"d",(function(){return m})),o.d(t,"a",(function(){return h})),o.d(t,"b",(function(){return f})),o.d(t,"c",(function(){return y})),o.d(t,"h",(function(){return S})),o.d(t,"e",(function(){return O}));var n=o(2),i=o(20),r=o(6),a=o(8),l=o(30),s=o(5);function c(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function d(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?c(Object(o),!0).forEach((function(t){Object(n.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):c(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function p(e,t,o){const n=e+(String(o).charAt(0).toUpperCase()+String(o).substr(1));return Object(i.g)(t[o],t[n])}function u(e,t){return p("tablet",e,t)}function b(e,t){return p("mobile",e,t)}function m(e,t){return Object(i.g)(e,t)}function h({key:e,device:t="desktop",state:o="normal"}){const n="temp"===e.substr(0,4)?"temp":"",i=n.length>0?e.substr(4):e;return Object(a.a)([n,g({key:i,device:t,state:o})])}function g({key:e,device:t,state:o}){const n=s.f(o),i=l.g(t),r=n===s.d?"":n,c=i===l.d?"":i;return Object(a.a)([r,c,e])}function f({v:e,key:t,device:o="desktop",state:n="normal"}){const r=h({key:t,device:o,state:n}),a=h({key:t,device:l.d,state:n}),c=h({key:t,device:l.d,state:s.d});return Object(i.g)(e[c],Object(i.g)(e[a],e[r]))}const v=Object(r.memoize)(()=>l.h.reduce((e,t)=>{const o=s.g().reduce((e,o)=>(e.push({device:t,state:o}),e),[]);return e.concat(o)},[]));function y(e,t){return v().reduce((o,n)=>o||f(d({v:e,key:t},n)),"")}function S(e,t,o){return v().some(n=>{const i=f(d({v:e,key:t},n));return i&&i!==o})}function O(e,t){return v().map(e=>h(d({key:t},e)))}},function(e,t,o){"use strict";let n;o.d(t,"a",(function(){return n})),o.d(t,"c",(function(){return i})),o.d(t,"b",(function(){return r})),function(e){e.none="none",e.bounce="bounce",e.bounceIn="bounceIn",e.bounceInDown="bounceInDown",e.bounceInLeft="bounceInLeft",e.bounceInRight="bounceInRight",e.bounceInUp="bounceInUp",e.fadeIn="fadeIn",e.fadeInDown="fadeInDown",e.fadeInDownBig="fadeInDownBig",e.fadeInLeft="fadeInLeft",e.fadeInLeftBig="fadeInLeftBig",e.fadeInRight="fadeInRight",e.fadeInRightBig="fadeInRightBig",e.fadeInUp="fadeInUp",e.fadeInUpBig="fadeInUpBig",e.flash="flash",e.jackInTheBox="jackInTheBox",e.jello="jello",e.lightSpeedIn="lightSpeedIn",e.pulse="pulse",e.rollIn="rollIn",e.rotateIn="rotateIn",e.rotateInDownLeft="rotateInDownLeft",e.rotateInDownRight="rotateInDownRight",e.rotateInUpLeft="rotateInUpLeft",e.rotateInUpRight="rotateInUpRight",e.rubberBand="rubberBand",e.tada="tada",e.shake="shake",e.slideInUp="slideInUp",e.slideInDown="slideInDown",e.slideInLeft="slideInLeft",e.slideInRight="slideInRight",e.swing="swing",e.wobble="wobble",e.zoomIn="zoomIn",e.zoomInDown="zoomInDown",e.zoomInLeft="zoomInLeft",e.zoomInRight="zoomInRight",e.zoomInUp="zoomInUp"}(n||(n={}));const i=e=>Object.values(n).includes(e)?e:void 0,r=e=>{switch(e){case n.fadeInDown:case n.fadeIn:case n.fadeInRight:case n.fadeInUp:case n.fadeInLeft:case n.fadeInDownBig:case n.fadeInRightBig:case n.fadeInUpBig:case n.fadeInLeftBig:return e;case n.bounce:case n.bounceIn:case n.bounceInDown:case n.bounceInLeft:case n.bounceInRight:case n.bounceInUp:case n.flash:case n.jackInTheBox:case n.jello:case n.none:case n.pulse:case n.rollIn:case n.lightSpeedIn:case n.rotateIn:case n.rotateInDownLeft:case n.rotateInDownRight:case n.rotateInUpLeft:case n.rotateInUpRight:case n.rubberBand:case n.slideInDown:case n.slideInLeft:case n.slideInRight:case n.slideInUp:case n.shake:case n.swing:case n.tada:case n.wobble:case n.zoomIn:case n.zoomInDown:case n.zoomInLeft:case n.zoomInRight:case n.zoomInUp:return}}},function(e,t,o){"use strict";o.d(t,"a",(function(){return V})),o.d(t,"b",(function(){return A}));var n=o(248),i=o(568),r=o(2),a=o(39),l=o(17),s=o(59),c=o(85),d=o(123);function p(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function u(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?p(Object(o),!0).forEach((function(t){Object(r.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):p(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function b(e,t){return u(u({},e),{},{history:{currSnapshot:t.getCurrentSnapshot(),prevSnapshot:t.getPreviousSnapshot(),canUndo:t.canUndo(),canRedo:t.canRedo()}})}var m=o(380);var h=o(16),g=o(33);var f=o(26),v=o(53);function y(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function S(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?y(Object(o),!0).forEach((function(t){Object(r.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):y(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var O=o(6);function x(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function C(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?x(Object(o),!0).forEach((function(t){Object(r.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):x(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}Object(a.c)(!1);var B=o(48),j=o(24);function P(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function T(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?P(Object(o),!0).forEach((function(t){Object(r.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):P(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const w={deviceMode:"desktop",leftSidebar:{isOpen:!1,drawerContentType:void 0},rightSidebar:{isOpen:!1,lock:void 0,alignment:"right",activeTab:void 0},showHiddenElements:!1,currentRole:"default",currentLanguage:"default"};function E(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function z(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?E(Object(o),!0).forEach((function(t){Object(r.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):E(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var k=o(108);function F(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function _(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?F(Object(o),!0).forEach((function(t){Object(r.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):F(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const R={value:{},path:[]};const H=e=>e.type&&e.value&&e.value._id&&e.value._thumbnailSrc;function L(e){const t={};return Object(s.f)(e,e=>{if(H(e)){const o=e.value;t[e.value._id]={_thumbnailSrc:o._thumbnailSrc,_thumbnailWidth:o._thumbnailWidth,_thumbnailHeight:o._thumbnailHeight,_thumbnailTime:o._thumbnailTime}}}),t}var M,I,W=function(e,t){const o=new d.a;return function(n,i){switch(i.type){case d.c:case d.b:{const e=i.type===d.c?o.canUndo():o.canRedo(),t=i.type===d.c?o.undo:o.redo;return e?(t.call(o),b(u(u({},n),o.getCurrentSnapshot()),o)):"object"==typeof(a=n).history&&null!==a.history&&Object(s.b)(["currSnapshot","prevSnapshot","canUndo","canRedo"],a.history)?n:b(u(u({},n),o.getCurrentSnapshot()),o)}default:{const a=e(n,i);if(!i.type.includes("@@redux/INIT")){var r;t.onBeforeUpdate&&t.onBeforeUpdate(n,i,o);const e=function(e,t){return t.reduce((t,o)=>(t[o]=e[o],t),{})}(a,t.keysToTrack);o.update(e,{replacePresent:Boolean(null==i||null===(r=i.meta)||void 0===r?void 0:r.historyReplacePresent)})}return b(a,o)}}var a}}((M={authorized:(e,t)=>{switch(t.type){case"HYDRATE":{const{authorized:e}=t.payload;return e}case"UPDATE_AUTHORIZATION":return t.payload;default:return e}},syncAllowed:(e,t)=>{switch(t.type){case"HYDRATE":{const{syncAllowed:e}=t.payload;return e}case"UPDATE_SYNC_ALLOWED":return t.payload;default:return e}},blocksData:(e={},t,o)=>{switch(t.type){case"HYDRATE":{var n;const{page:e,globalBlocks:o}=t.payload,i=(null===(n=e.data)||void 0===n?void 0:n.items)||[];if(h.d&&0===i.length)return{ecupxjcqmrpxjdimoebbkbnotrlufkfokjvr:{type:"Story",value:{_styles:["story"],items:[{type:"StoryItem",value:{_styles:["story-item"],items:[],_id:"dfmwxzkwbiaezltvsxhdinhplvimzenkiqto"}}],_id:"ecupxjcqmrpxjdimoebbkbnotrlufkfokjvr"},blockId:"StoryDefault"}};const r=i.reduce((e,t)=>{const{_id:o,globalBlockId:n}=t.value;return e[n||o]=t,e},{}),l=Object.entries(o).reduce((e,[t,o])=>(e[t]=Object(a.a)(o.data,e=>{e.value._id=t}),e),{});return Object(a.a)(S(S({},r),l),e=>{Object(s.f)(e,e=>{if(e.type&&"GlobalBlock"===e.type){const{globalBlockId:t}=e.value;t&&(e.value._id=t,delete e.value.globalBlockId)}})})}case"IMPORT_STORY":{const{blocks:n}=t.payload,{insertIndex:i}=t.meta,r=Object(l.d)(o)[0],a=Object(h.l)(e[r].value.items,i,n);return Object(f.setIn)(e,[r,"value","items"],a)}case"ADD_BLOCK":{const{block:o}=t.payload;return S(S({},e),{},{[o.value._id]:o})}case"MAKE_POPUP_TO_GLOBAL_BLOCK":{const{data:o}=t.payload,n=Object(h.o)(e=>e.value._id===o.value._id?{blockId:e.blockId,type:"GlobalBlock",value:{_id:o.value._id}}:e,e);return Object(a.a)(n,e=>{e[o.value._id]=o})}case"MAKE_GLOBAL_BLOCK_TO_POPUP":{const{block:o,fromBlockId:n,parentId:i}=t.payload;if(h.b)return S(S({},e),{},{[o.value._id]:o});const r=e=>e.value._id===n?o:e,a=e=>Object(h.n)(e)?Object(s.c)(a,r(e)):Object(s.c)(a,e),l=e=>!!Object(h.n)(e)&&e.value._id===i,c=e=>l(e)?a(e):Object(s.c)(c,e);return c(e)}case"MAKE_GLOBAL_TO_NORMAL_BLOCK":{const{block:o}=t.payload;return S(S({},e),{},{[o.value._id]:o})}case"MAKE_NORMAL_TO_GLOBAL_BLOCK":{const{data:o}=t.payload;return Object(a.a)(e,e=>{e[o.value._id]=o})}case"DELETE_GLOBAL_BLOCK":{const{id:o}=t.payload;return Object(a.a)(e,e=>{e[o].deleted=!0})}case"REMOVE_BLOCK":{const{index:n}=t.payload,i=Object(l.u)(o),r=Object.keys(i),s=Object(l.d)(o)[n];return r.includes(s)?e:Object(a.a)(e,e=>{delete e[s]})}case"REMOVE_BLOCKS":{const t=Object(l.d)(o),n=Object(l.u)(o),i=Object.keys(n),r=t.filter(e=>!i.includes(e));return Object(a.a)(e,e=>{r.forEach(t=>{delete e[t]})})}case"UPDATE_GLOBAL_BLOCK":{const{id:o,data:n}=t.payload;return null===n.value?e:S(S({},e),{},{[o]:n})}case"IMPORT_TEMPLATE":case"UPDATE_BLOCKS":{const{blocks:o}=t.payload,n=o.reduce((e,t)=>("GlobalBlock"===t.type||(e[t.value._id]=t),e),{});return S(S({},e),n)}default:return e}},blocksThumbnailSizes:function(e={},t){switch(t.type){case B.e:return t.payload.blocksThumbnailSizes;default:return e}},copiedElement:function(e=R,t){switch(t.type){case B.b:return _(_({},e),t.value);default:return e}},currentStyle:function(e={},t,o){switch(t.type){case B.e:{const{project:e}=t.payload;return e.data.styles.find(t=>t.id===e.data.selectedStyle)}case B.n:return t.payload;case B.o:{const e=t.payload;return o.styles.find(({id:t})=>t===e)}case j.f:case j.g:{const{currentStyleId:n,styles:i}=t.payload,r=[...null!=i?i:[],...o.styles];return n?r.find(e=>e.id===n):e}default:return e}},currentStyleId:function(e="",t){switch(t.type){case B.e:{const{project:e}=t.payload;return e.data.selectedStyle}case B.o:return t.payload;case j.f:case j.g:{const{currentStyleId:o}=t.payload;return o||e}default:return e}},error:function(e=null,t){switch(t.type){case B.e:{const{projectStatus:o}=t.payload;return o.locked?{code:c.f,data:o}:e}case B.p:return t.payload;default:return e}},extraFontStyles:(e=[],t)=>{switch(t.type){case"HYDRATE":{const{project:e}=t.payload;return e.data.extraFontStyles}case"UPDATE_EXTRA_FONT_STYLES":return t.payload;case"IMPORT_TEMPLATE":case"ADD_BLOCK":case"ADD_GLOBAL_BLOCK":{const{extraFontStyles:o}=t.payload;return o&&0!==o.length?[...e,...o]:e}default:return e}},fonts:(e={},t)=>{switch(t.type){case"HYDRATE":{const{fonts:e}=t.payload;return e}case"ADD_FONTS":case"DELETE_FONTS":{const o=t.payload;return o?z(z({},e),o):e}case"IMPORT_STORY":case"IMPORT_TEMPLATE":case"IMPORT_KIT":case"ADD_BLOCK":case"ADD_GLOBAL_BLOCK":{const{fonts:o}=t.payload;return o&&0!==o.length?Object(a.a)(e,e=>{o.forEach(({type:t,fonts:o})=>{e[t]=e[t]||{data:[]},e[t].data.push(...o)})}):e}default:return e}},globalBlocks:(e={},t,o)=>{switch(t.type){case"HYDRATE":{const{globalBlocks:e,page:{data:{items:o=[]}}}=t.payload,n=o.filter(e=>{var t;return null==e||null===(t=e.value)||void 0===t?void 0:t.globalBlockId}).map(e=>{var t;return null==e||null===(t=e.value)||void 0===t?void 0:t.globalBlockId});return Object.entries(e).reduce((e,[o,i])=>(n.includes(o)&&!Object(v.n)(i.data)?e[o]=Object(a.a)(i,e=>{e.rules=Object(v.d)(i,!0,t.payload.page).rules,e.data.value._id=o}):e[o]=i,e),{})}case"ADD_BLOCK":return e;case"ADD_GLOBAL_BLOCK":{const{_id:n}=t.payload.block.value;return Object(v.n)(e[n].data)?e:C(C({},e),{},{[n]:Object(v.d)(e[n],!0,null==o?void 0:o.page)})}case"MAKE_POPUP_TO_GLOBAL_BLOCK":case"MAKE_NORMAL_TO_GLOBAL_BLOCK":{const{data:o,status:n,meta:i,rules:r,position:l}=t.payload;return Object(a.a)(e,e=>{e[o.value._id]={meta:i,data:o,status:n,rules:r,position:l}})}case"UPDATE_GLOBAL_BLOCK":{const{id:n,data:i}=t.payload;if(null===i.value&&!Object(v.n)(e[n].data)){const t=Object(v.d)(e[n],!1,null==o?void 0:o.page);return C(C({},e),{},{[n]:t})}return e}case"REMOVE_BLOCK":{const{index:n}=t.payload,i=Object(l.d)(o),r=Object.keys(e),a=i[n];if(r.includes(i[n])&&!Object(v.n)(e[a].data)){const t=Object(v.d)(e[a],!1,null==o?void 0:o.page);return C(C({},e),{},{[a]:t})}return e}case"MAKE_GLOBAL_TO_NORMAL_BLOCK":{const{fromBlockId:n}=t.payload,i=Object(v.d)(e[n],!1,null==o?void 0:o.page);return C(C({},e),{},{[n]:i})}case"REORDER_BLOCKS":{const{oldIndex:n,newIndex:i}=t.payload,r=Object(l.d)(o),a=Object.keys(e);if(a.includes(r[n])){const t=r[n],s=Object(f.insert)(Object(f.removeAt)(r,n),i,t),c=r[n],d=Object(v.g)(r,n,a),p=Object(v.g)(s,i,a);if("center"===d&&("top"===p||"bottom"===p)&&!Object(v.f)(Object(l.c)(o),e,null==o?void 0:o.page).includes(c)){const t=Object(v.d)(e[c],!0,null==o?void 0:o.page);return C(C({},e),{},{[c]:t})}}return e}case"REMOVE_BLOCKS":{const t=Object(l.d)(o),n=Object(l.c)(o),i=O.default.difference(t,n);return Object(a.a)(e,e=>{i.forEach(t=>{Object(v.n)(e[t].data)||(e[t]=Object(v.d)(e[t],!1,null==o?void 0:o.page))})})}case"UPDATE_BLOCKS":{const{blocks:n}=t.payload,i=Object(l.d)(o),r=n.map(e=>e.value._id),s=O.default.difference(i,r);return Object(a.a)(e,e=>{s.forEach(t=>{e[t]&&!Object(v.n)(e[t].data)&&(e[t]=Object(v.d)(e[t],!1,null==o?void 0:o.page))})})}case"UPDATE_GB_RULES":{const{id:o,rules:n}=t.payload;return Object(a.a)(e,e=>{e[o].rules=n})}case"DELETE_GLOBAL_BLOCK":{const{id:o}=t.payload;return Object(a.a)(e,e=>{e[o].data.deleted=!0})}case"PUBLISH":{const e=Object(l.r)(o),t=Object(l.s)(o),n=Object(l.t)(o);return Object.entries(e).reduce((e,[o,i])=>(e[o]=Object(a.a)(i,e=>{e.position=n[o]||null;const r="SectionPopup"===i.data.type||"SectionPopup2"===i.data.type;(t[o]||r)&&(e.status="publish")}),e),{})}default:return e}},changedGBIds:(e=[],t,o)=>{switch(t.type){case j.b:{const{_id:o}=t.payload.block.value;return[...e,o]}case B.i:case B.h:{const{_id:o}=t.payload.data.value;return[...e,o]}case B.f:case B.g:{const{fromBlockId:o}=t.payload;return e.includes(o)?e:[...e,o]}case B.j:{const{index:n}=t.payload,i=Object(l.d)(o)[n];return e.filter(e=>e!==i)}case B.k:{const t=Object(l.s)(o),n=Object.keys(t);return e.filter(e=>!n.includes(e))}case B.r:{const{id:o}=t.payload;return e.includes(o)?e:[...e,o]}case j.d:return[];default:return e}},page:(e,t,o)=>{switch(t.type){case"HYDRATE":{const{page:e}=t.payload;return e}case"PUBLISH":{const{status:e}=t.payload,n=h.b?Object(l.x)(o):Object(l.w)(o);return Object(a.a)(n,t=>{t.status=e,t.dataVersion=t.dataVersion+1})}case"UPDATE_TRIGGERS":{const{data:o}=t.payload;return Object(a.a)(e,e=>{e.data.triggers=o,e.dataVersion=e.dataVersion+1})}case"UPDATE_POPUP_RULES":return Object(a.a)(e,e=>{e.data.rulesAmount=t.payload.rules.length,e.dataVersion=e.dataVersion+1});case"UPDATE_PAGE_LAYOUT":return Object(g.h)(e)?Object(a.a)(e,e=>{e.layout.value=t.payload.layout,e.dataVersion=e.dataVersion+1}):e;case"UPDATE_PAGE_TITLE":return Object(g.h)(e)?Object(a.a)(e,e=>{e.title=t.payload,e.dataVersion=e.dataVersion+1}):e;default:return e}},blocksOrder:(e=[],t)=>{switch(t.type){case"HYDRATE":{var o;const e=(null===(o=t.payload.page.data)||void 0===o?void 0:o.items)||[];if(h.d&&0===e.length)return["ecupxjcqmrpxjdimoebbkbnotrlufkfokjvr"];const n=e.map(e=>e.value.globalBlockId||e.value._id);return Object(v.e)(n,t.payload.globalBlocks,t.payload.page)}case"ADD_GLOBAL_BLOCK":case"ADD_BLOCK":{const{block:o}=t.payload,{insertIndex:n}=t.meta,{_id:i}=o.value;return e.includes(i)?e:Object(f.insert)(e,n,o.value._id)}case"REMOVE_BLOCK":{const{index:o}=t.payload;return Object(f.removeAt)(e,o)}case"REMOVE_BLOCKS":return[];case"MAKE_GLOBAL_BLOCK_TO_POPUP":if(h.b){const{block:o,fromBlockId:n}=t.payload;return Object(f.replaceAt)(e,e.findIndex(e=>e===n),o.value._id)}return e;case"MAKE_GLOBAL_TO_NORMAL_BLOCK":{const{block:o,fromBlockId:n}=t.payload;return Object(f.replaceAt)(e,e.findIndex(e=>e===n),o.value._id)}case"REORDER_BLOCKS":{const{oldIndex:o,newIndex:n}=t.payload,i=e[o];return Object(f.insert)(Object(f.removeAt)(e,o),n,i)}case"IMPORT_TEMPLATE":{const{blocks:o}=t.payload,{insertIndex:n}=t.meta,i=o.map(e=>e.value._id);return Object(f.insert)(e,n,i)}case"UPDATE_BLOCKS":{const{blocks:e}=t.payload;return e.map(e=>e.value._id)}case"UPDATE_GLOBAL_BLOCK":{const{id:o,data:n}=t.payload;return null===n.value?e.filter(e=>e!==o):e}default:return e}},project:(e,t,o)=>{switch(t.type){case"HYDRATE":{const{project:e}=t.payload;return e}case"PUBLISH":{const t=Object(m.a)(e),n=Object(m.a)(Object(l.G)(o));return t.equals(n)?e:Object(a.a)(Object(l.G)(o),e=>{e.dataVersion=e.dataVersion+1})}case"UPDATE_DISABLED_ELEMENTS":{const o=t.payload;return Object(a.a)(e,e=>{e.data.disabledElements=o,e.dataVersion=e.dataVersion+1})}case"IMPORT_KIT":{const{selectedKit:o}=t.payload;return Object(a.a)(e,e=>{e.data.selectedKit=o,e.dataVersion=e.dataVersion+1})}case"UPDATE_CURRENT_KIT_ID":{const o=t.payload;return Object(a.a)(e,e=>{e.data.selectedKit=o,e.dataVersion=e.dataVersion+1})}case"IMPORT_STORY":case"IMPORT_TEMPLATE":{const{styles:o,fonts:n}=t.payload;return null!=o&&o.length||null!=n&&n.length?Object(a.a)(e,e=>{e.dataVersion=e.dataVersion+1}):e}case"ADD_FONTS":case"DELETE_FONTS":return Object(a.a)(e,e=>{e.dataVersion=e.dataVersion+1});case"UPDATE_DEFAULT_FONT":{const o=t.payload;return Object(a.a)(e,e=>{e.data.font=o,e.dataVersion=e.dataVersion+1})}default:return e}},styles:function(e=[],t){switch(t.type){case B.e:{const{project:e}=t.payload;return e.data.styles}case j.f:case j.g:case j.e:{const{styles:o}=t.payload;return o?[...e,...o]:e}default:return e}},ui:function(e=w,t){switch(t.type){case"UPDATE_UI":{const{key:o,value:n}=t,i=T(T({},e),{},{[o]:n});return"deviceMode"===o&&"manual"!==i.rightSidebar.lock&&("desktop"!==n?i.rightSidebar=T(T({},i.rightSidebar),{},{isOpen:!0,lock:"auto"}):i.rightSidebar.isOpen&&(i.rightSidebar=T(T({},i.rightSidebar),{},{isOpen:!1,lock:void 0}))),i}default:return e}},storeWasChanged:(e,t)=>{switch(t.type){case"HYDRATE":return k.a.unchanged;case"ADD_BLOCK":case"REMOVE_BLOCK":case"REMOVE_BLOCKS":case"REORDER_BLOCKS":case"UPDATE_BLOCKS":case"UPDATE_GLOBAL_BLOCK":case"UPDATE_CURRENT_STYLE_ID":case"UPDATE_CURRENT_STYLE":case"UPDATE_EXTRA_FONT_STYLES":case"IMPORT_TEMPLATE":case"UNDO":case"REDO":return k.a.changed;case"PUBLISH":return k.a.pending;case"STORE_WAS_CHANGED":return t.payload;case"UPDATE_ERROR":return k.a.unchanged;default:return e}}},I={screenshots:function(e={},t,o,n){switch(t.type){case B.e:case j.h:{const e=L(n.page.data),t={};for(const[e,o]of Object.entries(n.globalBlocks)){const n=o.data;if(H(n)){const o=n.value;t[e]={_thumbnailSrc:o._thumbnailSrc,_thumbnailWidth:o._thumbnailWidth,_thumbnailHeight:o._thumbnailHeight,_thumbnailTime:o._thumbnailTime}}Object.assign(t,L(n.value))}return _(_(_({},e),t),{},{_published:_(_({},e),t)})}case B.t:{const{payload:{blockId:o,data:n}}=t;return Object(a.a)(e,e=>{e[o]=n})}case B.h:{const{data:{value:{_id:o}},meta:n}=t.payload,i={_thumbnailSrc:n._thumbnailSrc,_thumbnailWidth:n._thumbnailWidth,_thumbnailHeight:n._thumbnailHeight,_thumbnailTime:n._thumbnailTime};return Object(a.a)(e,e=>{e[o]=i,e._published[o]=i})}default:return e}}},(e={},t)=>{const o={};return Object.entries(M).reduce((o,[n,i])=>(o[n]=i(e[n],t,e),o),o),Object.entries(I).reduce((o,[n,i])=>(o[n]=i(e[n],t,e,o),o),o),o}),{keysToTrack:["blocksOrder","blocksData","currentStyleId","currentStyle","extraFontStyles","globalBlocksUpdates","storeWasChanged"],onBeforeUpdate:(e,t,o)=>{if(t.type===B.q||t.type===B.j||t.type===B.k){const n=Object(l.d)(e),i=Object(l.u)(e);(t.type===B.k?n:[t.payload.id]).forEach(e=>{if(n.includes(e)&&i[e]){const t=o.getSnapshots();o.replaceSnapshots(t.map(t=>(null!=t&&t.blocksOrder&&(t.blocksOrder=t.blocksOrder.filter(t=>t!==e)),t)))}})}}});let N;function V({middleware:e=[]}={}){if(N)throw new Error("store is already created");return N=Object(n.d)(W,Object(n.c)(i.reduxBatch,Object(n.a)(...e))),N}function A(){if(!N)throw new Error("store is not yet created");return N}},function(e,t,o){"use strict";o.d(t,"a",(function(){return n})),o.d(t,"c",(function(){return i})),o.d(t,"b",(function(){return r})),o.d(t,"h",(function(){return a})),o.d(t,"d",(function(){return s})),o.d(t,"g",(function(){return c})),o.d(t,"f",(function(){return d})),o.d(t,"e",(function(){return p}));const n="desktop",i="tablet",r="mobile",a=["desktop","tablet","mobile"],l=e=>a.includes(e)?e:void 0,s="desktop",c=e=>{var t;return null!==(t=l(e))&&void 0!==t?t:s},d=e=>[i,r].includes(e),p=e=>[n].includes(e)},function(e,t,o){"use strict";o.d(t,"a",(function(){return r})),o.d(t,"d",(function(){return a})),o.d(t,"e",(function(){return l})),o.d(t,"b",(function(){return s})),o.d(t,"c",(function(){return c}));var n=o(28),i=o(1);let r;!function(e){e.None="none",e.Bounce="bounce",e.Fade="fade",e.Fade2="fade2",e.Rotate="rotate",e.Slide="slide",e.Zoom="zoom",e.Zoom2="zoom2",e.Attention="attention",e.Attention2="attention2"}(r||(r={}));const a=e=>{switch(e){case n.a.bounce:case n.a.bounceIn:case n.a.bounceInDown:case n.a.bounceInLeft:case n.a.bounceInRight:case n.a.bounceInUp:return r.Bounce;case n.a.fadeIn:case n.a.fadeInDown:case n.a.fadeInDownBig:case n.a.fadeInLeft:case n.a.fadeInLeftBig:case n.a.fadeInRight:case n.a.fadeInRightBig:case n.a.fadeInUp:case n.a.fadeInUpBig:return r.Fade;case n.a.none:return r.None;case n.a.rotateIn:case n.a.rotateInDownLeft:case n.a.rotateInDownRight:case n.a.rotateInUpLeft:case n.a.rotateInUpRight:return r.Rotate;case n.a.slideInDown:case n.a.slideInLeft:case n.a.slideInRight:case n.a.slideInUp:return r.Slide;case n.a.zoomIn:case n.a.zoomInDown:case n.a.zoomInLeft:case n.a.zoomInRight:case n.a.zoomInUp:return r.Zoom;case n.a.flash:case n.a.jackInTheBox:case n.a.jello:case n.a.lightSpeedIn:case n.a.pulse:case n.a.rollIn:case n.a.rubberBand:case n.a.shake:case n.a.swing:case n.a.tada:case n.a.wobble:return r.Attention}},l=e=>t=>t===e,s=e=>{switch(e){case r.Attention:case r.Attention2:return"nc-warning";case r.None:return"nc-none";case r.Bounce:return"nc-bounce";case r.Fade:case r.Fade2:return"nc-fade";case r.Rotate:return"nc-captcha";case r.Slide:return"nc-slider-horizontal";case r.Zoom:case r.Zoom2:return"nc-search"}};function c(e){switch(e){case r.Attention:case r.Attention2:return Object(i.a)("Attention");case r.None:return Object(i.a)("None");case r.Bounce:return Object(i.a)("Bounce");case r.Fade:case r.Fade2:return Object(i.a)("Fade");case r.Rotate:return Object(i.a)("Rotate");case r.Slide:return Object(i.a)("Slide");case r.Zoom:case r.Zoom2:return Object(i.a)("Zoom")}}},,function(e,t,o){"use strict";o.d(t,"a",(function(){return i})),o.d(t,"g",(function(){return r})),o.d(t,"e",(function(){return a})),o.d(t,"c",(function(){return l})),o.d(t,"b",(function(){return s})),o.d(t,"d",(function(){return c})),o.d(t,"h",(function(){return d})),o.d(t,"f",(function(){return p}));var n=o(14);const i=e=>"cms"===e.platform,r=e=>"shopify"===e.platform,a=e=>"customers"===e.page.provider,l=e=>"collections"===e.page.provider,s=e=>!1,c=e=>"collectionType"in e,d=e=>{const t=n.a.getAll();return s(t)&&r(t)&&!("rules"in e)},p=e=>"groups"in e},,function(e,t,o){"use strict";(function(e){o.d(t,"a",(function(){return P}));var n=o(9),i=o(2),r=o(0),a=o.n(r),l=o(121),s=o(26),c=o(39),d=o(74),p=o(14),u=o(29),b=o(17),m=o(16),h=o(48),g=o(18),f=o(591),v=o(151),y=o(84),S=o(24);function O(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function x(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?O(Object(o),!0).forEach((function(t){Object(i.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):O(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const C=p.a.get("menuData"),B=(e,t)=>Object(l.a)((e=>Array.isArray(e)?[]:{})(e),e,t);function j(e,t,o){const n=e.slice();return t.forEach((function(t,i){if(void 0===n[i]){const e=!1!==o.clone&&o.isMergeableObject(t);n[i]=e?B(t,o):t}else o.isMergeableObject(t)?n[i]=Object(l.a)(e[i],t,o):-1===e.indexOf(t)&&n.push(t)})),n}class P extends g.a{constructor(...e){super(...e),Object(i.a)(this,"handleKeyDown",(e,{keyName:t,id:o})=>{e.preventDefault();const n=this.getValue(),i=n.findIndex(({value:{_id:e}})=>e===o);switch(t){case"alt+N":case"ctrl+N":case"cmd+N":case"right_cmd+N":return void this.addColumn(i+1);case"ctrl+M":case"cmd+M":case"right_cmd+M":return void this.handleOpenRightSidebar("styles");case"ctrl+K":case"cmd+K":case"right_cmd+K":return void this.handleOpenRightSidebar("effects");case"alt+D":case"ctrl+D":case"cmd+D":case"right_cmd+D":return void("StoryWrapper"===n[i].type?this.insertItem(i+1,Object(m.q)(n[i])):this.cloneItem(i));case"alt+C":case"ctrl+C":case"cmd+C":case"right_cmd+C":return void this.copy(i);case"alt+V":case"ctrl+V":case"cmd+V":case"right_cmd+V":return void("StoryWrapper"===n[i].type?this.paste(i,e=>{const{offsetX:t=0,offsetY:o=0}=n[i].value.items[0].value;let r=Object(s.setIn)(e,["value","items",0,"value","offsetX"],t);return r=Object(s.setIn)(r,["value","items",0,"value","offsetY"],o),Object(m.q)(r)}):this.paste(i));case"alt+shift+V":case"ctrl+shift+V":case"cmd+shift+V":case"right_cmd+shift+V":case"shift+alt+V":case"shift+ctrl+V":case"shift+cmd+V":case"shift+right_cmd+V":return void this.pasteStyles(i);case"ctrl+right":case"cmd+right":case"right_cmd+right":return void this.changeHorizontalAlign(i,"increase");case"ctrl+left":case"cmd+left":case"right_cmd+left":return void this.changeHorizontalAlign(i,"decrease");case"ctrl+up":case"cmd+up":case"right_cmd+up":case"alt+up":return void this.changeVerticalAlign(i,"decrease");case"ctrl+down":case"cmd+down":case"right_cmd+down":case"alt+down":return void this.changeVerticalAlign(i,"increase");case"alt+del":case"del":case"cmd+backspace":case"cmd+del":case"right_cmd+backspace":case"right_cmd+del":return void this.removeItem(i)}}),Object(i.a)(this,"renderItem",(e,t,o)=>{const{sliceStartIndex:n,sliceEndIndex:i}=P.defaultProps,{sliceStartIndex:r=n,sliceEndIndex:a=i}=this.props;if(t>=r&&t<a){const n=e.value._id,i=this.renderItemData(e,n,t,o);return this.renderItemWrapper(i,n,t,e,o)}return null}),Object(i.a)(this,"getCurrentCopiedElement",()=>{const{path:e,value:t}=Object(b.f)(Object(u.b)().getState());return t&&e.length>0?Object(s.getIn)(T(t),e):null})}insertItem(e,t){const o=Object(m.s)(t),n=Object(m.p)(o),i=this.getDBValue()||[],r=Object(s.insert)(i,e,n);this.handleValueChange(r,{arrayOperation:"insert"})}insertItemsBatch(e,t){const o=this.getDBValue()||[],n=t.reduce((t,o,n)=>{const i=Object(m.s)(o),r=Object(m.p)(i);return Object(s.insert)(t,e+n,r)},o);this.handleValueChange(n,{arrayOperation:"insert_bulk"})}updateItem(e,t,o={}){const n=this.getDBValue(),i=Object(s.setIn)(n,[e,"value"],t);this.handleValueChange(i,Object.assign(o,{arrayOperation:"itemChange"}))}removeItem(e){const t=this.getDBValue()||[],o=Object(s.removeAt)(t,e);this.handleValueChange(o,{arrayOperation:"remove"})}replaceItem(e,t,o){const n=Object(m.s)(t,{exclude:["_id"]}),i=Object(m.p)(n,o.idOptions),r=this.getDBValue()||[],a=Object(s.replaceAt)(r,e,i);this.handleValueChange(a,{arrayOperation:"replace",itemIndex:e,oldValue:r})}cloneItem(e,t=e+1){const o=this.getDBValue()||[];if(!o[e])throw new Error("Can't clone invalid item at index "+e);this.insertItem(t,o[e])}reorderItem(e,t){const o=this.getDBValue()||[];this.handleValueChange(Object(y.h)(e,t,o),{arrayOperation:"moveItem"})}handleOpenRightSidebar(e){const t=this.getReduxState(),o=this.getReduxDispatch(),{rightSidebar:n,activeTab:i}=Object(b.R)(t);n.isOpen&&i===e||this.setState({isSidebarOpen:!0},()=>{o(Object(S.S)("rightSidebar",x(x({},n),{},{isOpen:!0,activeTab:e})))})}getDefaultValue(){return this.props.defaultValue||[]}getValue(){return this.getDBValue()||this.getDefaultValue()}getValue2(){const e=this.getDefaultValue();return{v:this.getDBValue()||e}}validateValue(){}getItemProps(e,t,o){const{itemProps:n}=P.defaultProps,{itemProps:i=n}=this.props;return"function"==typeof i?i(e,t,o):i}renderItemData(e,t,o,i){const{type:r,value:l}=e,s=d.a.getComponent(r),c=this.getDefaultValue(),p=this.getItemProps(e,o,i),u=c[o]&&c[o].value,b=l,m=(e,t={})=>{const{intent:n}=t;switch(n){case"replace_all":this.replaceItem(o,e,t);break;case"remove_all":this.removeItem(o,t);break;default:this.updateItem(o,e,t)}};if(s)return a.a.createElement(f.a,{key:t,onRemove:()=>this.removeItem(o)},a.a.createElement(s,Object(n.a)({},p,{defaultValue:u,dbValue:b,reduxState:this.getReduxState(),reduxDispatch:this.getReduxDispatch(),onChange:m})));{const e=d.a.getNotFoundComponent();return a.a.createElement(e,Object(n.a)({},p,{key:t,defaultValue:u,dbValue:b,reduxState:this.getReduxState(),reduxDispatch:this.getReduxDispatch(),onChange:m,componentId:r}))}}renderItemWrapper(e,t,o,n,i){return e}getAlignments(){return["top","center","bottom"]}renderItemsContainer(e){return e}renderForEdit(e){const t=e.map(this.renderItem);return this.renderItemsContainer(t,e)}getIdBindKey(){const e=this.getId(),[t,o]=e.split("-");return{id:t,bindKey:o}}changeVerticalAlign(t,o){const n=this.getValue(),i=Object(b.E)(Object(u.b)().getState()),r=e.Brizy.activeEditorComponent.getId(),a=Object(m.g)(i,[r]),{path:l,value:c}=Object(m.k)(a,i,"verticalAlign");if(c&&l){const{type:e,value:r}=c,a=this.getAlignments(),{defaultValue:{style:{verticalAlign:p}}}=d.a.getComponent(e),u=r.verticalAlign||p||"top",b=Object(m.j)(a,u,o),{id:h,bindKey:g}=this.getIdBindKey(),f=g?[h,g,""+t]:[h,""+t],v=Object(m.g)(i,f),y=l.reduce((e,t,o)=>(void 0===v[o]&&e.push(l[o]),e),[]);if(0===y.length){const e=Object(s.setIn)(n,[t,"value"],x(x({},r),{},{verticalAlign:b}));this.updateItem(t,e[t].value)}else{const e=Object(s.setIn)(n,[...y,"value"],x(x({},r),{},{verticalAlign:b}));this.updateItem(t,e[t].value)}}}changeHorizontalAlign(t,o){const n=this.getValue(),i=e.Brizy.activeEditorComponent.getId(),r=Object(u.b)().getState(),a=Object(b.E)(r),l=Object(m.g)(a,[i]),{deviceMode:c}=r.ui,p="desktop"===c?"horizontalAlign":c+"HorizontalAlign",{path:h,value:g}=Object(m.k)(l,a,p);if(g&&h){const{type:e,value:i}=g,r=["left","center","right"],{defaultValue:{style:l}}=d.a.getComponent(e),c=i[p]||l[p]||"left",u=Object(m.j)(r,c,o),{id:b,bindKey:f}=this.getIdBindKey(),v=f?[b,f,""+t]:[b,""+t],y=Object(m.g)(a,v),S=h.reduce((e,t,o)=>(void 0===y[o]&&e.push(h[o]),e),[]);if(0===S.length){const e=Object(s.setIn)(n,[t,"value"],x(x({},i),{},{[p]:u}));this.updateItem(t,e[t].value)}else{const e=Object(s.setIn)(n,[...S,"value"],x(x({},i),{},{[p]:u}));this.updateItem(t,e[t].value)}}}copy(e){const t=this.getReduxDispatch(),o=Object(b.D)(this.getReduxState()),{id:n,bindKey:i}=this.getIdBindKey(),r=i?[n,i,""+e]:[n,""+e],a=Object(m.g)(o,r),l=T(o);t(Object(h.y)({value:l,path:a}))}paste(e,t=(e=>e)){const o=this.getValue()[e],{path:n,value:i}=Object(b.f)(Object(u.b)().getState());if(!i)return;const{value:r}=Object(m.i)(n,T(i),"Cloneable"===o.type||"Wrapper"===o.type?({type:e})=>"Cloneable"===e||"Wrapper"===e:({type:e})=>e===o.type);r&&this.insertItem(e+1,t(r))}pasteStyles(e){const{path:t,value:o}=Object(b.f)(Object(u.b)().getState());if(!o)return;const n=this.getValue()[e],i=this.getCurrentCopiedElement();let r=0;if(i&&("Wrapper"===i.type&&"Wrapper"===n.type||"StoryWrapper"===i.type&&"StoryWrapper"===n.type)){if(i.value.items[0].type!==n.value.items[0].type)return;r=1,"Form"===i.value.items[0].type||"IconText"===i.value.items[0].type?r=3:"ImageGallery"===i.value.items[0].type&&(r=2)}const{value:a}=Object(m.i)(t,T(o),({type:e})=>e===n.type);if(a){const t=Object(m.r)(a,r),o=Object(l.a)(n,t,{arrayMerge:j});this.updateItem(e,o.value)}}}function T(e){return Object(m.o)(e=>{const{type:t,value:o}=e;if("Menu"===t){const{menuSelected:t,symbols:n={}}=o,i=t||C[0].id,r=C.find(e=>e.id===i)||{};return Object(c.b)(e,e=>{e.value.items=Object(v.c)(r.items||[],n)})}return e},e)}Object(i.a)(P,"defaultProps",{itemProps:{},sliceStartIndex:0,sliceEndIndex:1/0})}).call(this,o(110))},function(e,t,o){"use strict";o.d(t,"f",(function(){return p})),o.d(t,"g",(function(){return u})),o.d(t,"l",(function(){return b})),o.d(t,"b",(function(){return m})),o.d(t,"c",(function(){return h})),o.d(t,"e",(function(){return g})),o.d(t,"d",(function(){return f})),o.d(t,"i",(function(){return v})),o.d(t,"k",(function(){return y})),o.d(t,"a",(function(){return S})),o.d(t,"j",(function(){return O})),o.d(t,"h",(function(){return x}));var n,i=o(19),r=o(14),a=o(33),l=o(81);const s=r.a.getAll(),c=Object(i.match)([l.a,e=>e.template_type],[a.b,Object(i.match)([a.a,e=>e.templateType],[a.g,()=>{}])]),d=(e,t)=>{const o=c(e);return""===o||o===t},p=(n=s.mode,Object(l.a)(s)&&"post"===s.wp.postType),u=!!s.pro,b=Object(l.a)(s),m=Object(a.b)(s),h=Object(a.b)(s)&&Object(a.a)(s),g="page"===s.mode,f=Object(a.b)(s)&&Object(a.a)(s)&&Object(a.e)(s),v=(Object(a.b)(s)&&Object(a.a)(s)&&Object(a.c)(s),s.mode,"product"===s.mode),y=d(s,"single"),S=d(s,"archive"),O=d(s,"product"),x=d(s,"product_archive");Object(a.b)(s)&&Object(a.a)(s)&&("isProtected"in(C=s).page&&C.page.isProtected);var C;Object(a.b)(s)&&s.page.provider,Object(a.b)(s)&&s.page.isResetPassPage},,function(e,t,o){"use strict";var n=o(2),i=o(0),r=o.n(i),a=o(7),l=o.n(a),s=o(6),c=o(4),d=o.n(c);class p extends r.a.Component{getClassName(){return d()("brz-control__select-option",{active:this.props.active,disabled:this.props.disabled})}render(){const{title:e,disabled:t,onClick:o,value:n,children:i}=this.props,a=t?()=>{}:o;return r.a.createElement("div",{className:this.getClassName(),title:e,"data-value":n,onClick:a},i)}}Object(n.a)(p,"propTypes",{active:l.a.bool,title:l.a.string,disabled:l.a.bool,value:l.a.oneOfType([l.a.string,l.a.number]),onClick:l.a.func}),Object(n.a)(p,"defaultProps",{active:!1,title:"",disabled:!1,value:"",onClick:s.default.noop}),t.a=p},,function(e,t,o){"use strict";o.d(t,"c",(function(){return a})),o.d(t,"j",(function(){return r})),o.d(t,"k",(function(){return s})),o.d(t,"l",(function(){return l})),o.d(t,"g",(function(){return d})),o.d(t,"f",(function(){return p})),o.d(t,"w",(function(){return h})),o.d(t,"m",(function(){return f})),o.d(t,"n",(function(){return g})),o.d(t,"q",(function(){return S})),o.d(t,"r",(function(){return O})),o.d(t,"i",(function(){return C})),o.d(t,"p",(function(){return B})),o.d(t,"b",(function(){return L})),o.d(t,"h",(function(){return H})),o.d(t,"a",(function(){return _})),o.d(t,"v",(function(){return R})),o.d(t,"t",(function(){return M})),o.d(t,"u",(function(){return I})),o.d(t,"s",(function(){return W})),o.d(t,"o",(function(){return N})),o.d(t,"d",(function(){return V})),o.d(t,"e",(function(){return A}));var n=o(29),i=o(73);const r=(e,t)=>Object.entries(e).reduce((e,o)=>{const[n,{data:i=[]}]=o,r=L[n],a=i.find(e=>t===r(e).id);return a?{group:n,font:a}:e},void 0),a=({type:e,family:t})=>{const o=R(Object(i.n)(Object(n.b)().getState())),a=_(o[e],t,e);if(a)return L[e](a);const l=(()=>{const e=Object(n.b)().getState(),t=Object(i.d)(e),o=Object(i.f)(e),a=r(o,t);if(a)return a;const[[l,{data:s=[]}]]=Object.entries(o);return{group:l,font:s[0]}})();return(0,L[l.group])(l.font)};function l(){const{config:e={},blocks:t={},google:o={},upload:r={}}=Object(i.n)(Object(n.b)().getState());return{config:e.data||[],blocks:t.data||[],google:o.data||[],upload:r.data||[]}}function s(){return Object.values(l()).reduce((e,t)=>[...e,...t],[])}var c=o(17);function d({includeDeleted:e=!1}={}){const t=Object(n.b)().getState(),{fontStyles:o}=Object(c.i)(t),i=[...o,...Object(c.n)(t)];return e?i:i.filter(e=>!0!==e.deleted)}function p(e){return d({includeDeleted:!0}).find(t=>t.id===e)}var u=o(122),b=o(1);const m=e=>{switch(e){case u.a.THIN:return Object(b.a)("Thin");case u.a.EXTRA_LIGHT:return Object(b.a)("Extra Light");case u.a.LIGHT:return Object(b.a)("Light");case u.a.NORMAL:return Object(b.a)("Normal");case u.a.MEDIUM:return Object(b.a)("Medium");case u.a.SEMI_BOLD:return Object(b.a)("Semi Bold");case u.a.BOLD:return Object(b.a)("Bold");case u.a.EXTRA_BOLD:return Object(b.a)("Extra Bold");case u.a.BLACK:return Object(b.a)("Black")}},h=u.d.reduce((e,t)=>(e[t]=m(t),e),{});function g({type:e,family:t}){if(e&&t){const{weights:o}=a({type:e,family:t});return o.map(e=>({title:m(e),value:e}))}return[{title:m(u.b),value:u.b}]}function f(e,t){return t.includes(Number(e))?e:u.b}o(70);var v=o(14),y=o(106);const S=e=>`https://fonts.googleapis.com/css?family=${e.reduce((e,t)=>{const o=t.family.replace(/\s/g,"+"),n=t.variants.join();return""===e?`${o}:${n}`:`${e}|${o}:${n}`},"")}&subset=arabic,bengali,cyrillic,cyrillic-ext,devanagari,greek,greek-ext,gujarati,hebrew,khmer,korean,latin-ext,tamil,telugu,thai,vietnamese&display=swap`,O=e=>{var t;const o=v.a.get("urls").editorFonts,n=null!==(t=v.a.get("prefix"))&&void 0!==t?t:"brizy",i=Object(y.c)({[n+"-font"]:e.reduce((e,{id:t,weights:o})=>{const n=o.join();return""===e?`${t}:${n}`:`${e}|${t}:${n}`},"")});return Object(y.e)(o)?`${o}&${i}`:`${o}?${i}`};o(37);var x=o(56);const C=async()=>await(async e=>{const t=await fetch(e),{items:o}=await t.json();return o})(Object(x.a)("googleFonts.json")),B=e=>`:root{${e.map(e=>{var t,o,n;const{id:i}=e,r=i.toLowerCase(),l=a({family:e.fontFamily,type:e.fontFamilyType}).family,s=.23*e.fontSize+"%";return`--brz-${r}fontfamily:${l};--brz-${r}fontfamilytype:${e.fontFamilyType};--brz-${r}fontsize:${e.fontSize}${null!==(t=e.fontSizeSuffix)&&void 0!==t?t:"px"};--brz-${r}fontsizesuffix:${e.fontSizeSuffix};--brz-${r}fontweight:${e.fontWeight};--brz-${r}letterspacing:${e.letterSpacing}px;--brz-${r}lineheight:${e.lineHeight};--brz-${r}mobilefontsize:${e.mobileFontSize}${null!==(o=e.mobileFontSizeSuffix)&&void 0!==o?o:"px"};--brz-${r}mobilefontweight:${e.mobileFontWeight};--brz-${r}mobileletterspacing:${e.mobileLetterSpacing}px;--brz-${r}mobilelineheight:${e.mobileLineHeight};--brz-${r}tabletfontsize:${e.tabletFontSize}${null!==(n=e.tabletFontSizeSuffix)&&void 0!==n?n:"px"};--brz-${r}tabletfontweight:${e.tabletFontWeight};--brz-${r}tabletletterspacing:${e.tabletLetterSpacing}px;--brz-${r}tabletlineheight:${e.tabletLineHeight};--brz-${r}storyfontsize:${s};`}).join("")}}`;var j=o(2),P=o(39),T=o(63),w=o(22);function E(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function z(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?E(Object(o),!0).forEach((function(t){Object(j.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):E(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const k=e=>e.reduce((e,t)=>{const o=parseInt(t);return isNaN(o)||e.includes(o)?e:[...e,o]},[400]),F=e=>e.toLowerCase().replace(/\s+/g,"_"),_=(e=[],t="",o="google")=>"upload"===o?e.find(({id:e})=>e===t):e.find(({family:e})=>F(e)===t),R=e=>Object.entries(e).reduce((e,t)=>{const[o,{data:n}]=t;return z(z({},e),{},"upload"===o?{upload:n}:{google:[...e.google||[],...n]})},{}),H=e=>{const{family:t,category:o,variants:n,brizyId:i,deleted:r}=e;return z(z({id:F(t),title:t,family:`${t}, ${o}`,weights:k(n)},i&&{brizyId:i}),r&&{deleted:r})},L={config:H,google:H,blocks:H,upload:e=>{const{id:t,family:o,weights:n,brizyId:i,deleted:r}=e;return z(z({id:t,title:o,family:`'${t}'`,weights:k(n)},i&&{brizyId:i}),r&&{deleted:r})}},M=async e=>{if(0===e.length)return[];const t=new Map,o=e=>z({brizyId:Object(T.a)()},e),[n,i]=await Promise.all([C(),Object(w.F)()]);return e.forEach(({type:e,family:r})=>{if("google"===e){const e=_(n,r);if(e){const n=t.get("blocks")||[];t.set("blocks",[...n,o(e)])}}if("upload"===e){const e=_(i,r,"upload");if(e){const n=t.get("upload")||[];t.set("upload",[...n,o(e)])}}if("unknowns"===e){const e=_(i,r,"upload");if(e){const n=t.get("upload")||[];t.set("upload",[...n,o(e)])}else{const e=_(n,r);if(e){const n=t.get("blocks")||[];t.set("blocks",[...n,o(e)])}}}}),Object.values([...t]).reduce((e,t)=>{const[o,n]=t;return[...e,{type:o,fonts:n}]},[])},I=e=>Object(P.a)(e,e=>{e.map(({fontStyles:e})=>W(e))}),W=e=>Object(P.a)(e,e=>{e.map(e=>{e.fontSizeSuffix||(e.fontSizeSuffix="px"),e.tabletFontSizeSuffix||(e.tabletFontSizeSuffix="px"),e.mobileFontSizeSuffix||(e.mobileFontSizeSuffix="px")})}),N=({font:e})=>{const{family:t}=e;return`.brz .brz-root__container,.brz .brz-popup2,.brz .brz-popup {font-family:${t}!important;}`},V=({fontStyle:e,key:t,device:o})=>{if(e){return`var(--brz-${e}${"desktop"!==o?o:""}${t})`.toLowerCase()}},A=({fontStyle:e,key:t,device:o})=>{if(e){return`var(--brz-${e}${"desktop"!==o?o:""}${t})`.toLowerCase()}}},function(e,t,o){"use strict";o.d(t,"a",(function(){return b}));var n=o(9),i=o(0),r=o.n(i),a=o(4),l=o.n(a),s=o(19),c=o(180),d=o(573);function p(e){if(/^<svg/.test(e))return e;try{return p(atob(Object(d.decrypt)(e)))}catch(e){return}}function u(e){var t,o;if(!e)return;const n=(new DOMParser).parseFromString(e,"text/html"),{innerHTML:i,attributes:r}={innerHTML:null===(t=n.body.firstElementChild)||void 0===t?void 0:t.innerHTML,attributes:null===(o=n.body.firstElementChild)||void 0===o?void 0:o.attributes};if(!i)return;const a={};if(r){const e={"xmlns:xlink":"xmlnsXlink","xml:space":"xmlSpace"};for(let t=0;t<r.length;t++){const{name:o,value:n}=r[t];a[e[o]||o]=n}}return{attr:a,innerHTML:i}}const b=function({className:e,type:t,name:o}){const a=l()("brz-icon-svg",e),[d,b]=Object(i.useState)(void 0);return Object(i.useEffect)(()=>{const e=new AbortController;return(async()=>{try{const n=await async function(e,t,o){const n=await fetch(Object(c.c)(e,t),{method:"GET",headers:{"Content-Type":"application/x-www-form-urlencoded; charset=UTF-8"},signal:null==o?void 0:o.signal});return await n.text()}(t,o,e),i=Object(s.mPipe)(p,u)(n);b(i)}catch(e){console.warn(e),b(void 0)}})(),()=>{e.abort()}},[t,o]),d?r.a.createElement("svg",Object(n.a)({},d.attr,{className:a,dangerouslySetInnerHTML:{__html:d.innerHTML}})):null}},,function(e,t,o){"use strict";function n(e,t,o){return e<t?t:e>o?o:e}function i(e,t){return+(Math.round(Number(e+"e+"+t))+"e-"+t)}o.d(t,"b",(function(){return n})),o.d(t,"f",(function(){return i})),o.d(t,"d",(function(){return r})),o.d(t,"e",(function(){return a})),o.d(t,"i",(function(){return l})),o.d(t,"h",(function(){return s})),o.d(t,"j",(function(){return c})),o.d(t,"c",(function(){return d})),o.d(t,"a",(function(){return p})),o.d(t,"g",(function(){return u}));const r=e=>"number"==typeof e,a=e=>{switch(typeof e){case"number":return isFinite(e);case"string":return!isNaN(parseFloat(e))&&isFinite(Number(e))}return!1},l=(e,t)=>"number"==typeof e?e:t,s=(e,t)=>"number"==typeof e&&e>=0?e:t,c=(e,t)=>"number"==typeof e&&e>0?e:t,d=(e,t,o)=>o>=e&&o<=t,p=e=>t=>e+t,u=e=>t=>t-e},function(e,t,o){"use strict";o.d(t,"c",(function(){return r})),o.d(t,"b",(function(){return a})),o.d(t,"d",(function(){return l})),o.d(t,"a",(function(){return s}));var n,i=o(11);!function(e){e.positive="positive"}(n||(n={}));const r=e=>e>=0,a=Object(i.c)(r),l=e=>e,s=0},function(e,t,o){"use strict";let n;o.d(t,"a",(function(){return n})),function(e){e.image="image",e.link="link",e.richText="richText",e.reference="reference",e.multiReference="multiReference"}(n||(n={}))},function(e,t,o){"use strict";o.d(t,"a",(function(){return i})),o.d(t,"b",(function(){return r})),o.d(t,"c",(function(){return a})),o.d(t,"d",(function(){return l}));var n=o(20);function i(e,t){return t?t[e]:void 0}function r(e,t,o){return Object(n.h)(i(t,o),e)}const a=e=>t=>t[e],l=e=>t=>({[e]:t})},function(e,t){e.exports=jQuery},function(e,t,o){"use strict";o.d(t,"e",(function(){return n})),o.d(t,"d",(function(){return i})),o.d(t,"m",(function(){return r})),o.d(t,"j",(function(){return a})),o.d(t,"k",(function(){return l})),o.d(t,"l",(function(){return s})),o.d(t,"h",(function(){return c})),o.d(t,"i",(function(){return d})),o.d(t,"f",(function(){return p})),o.d(t,"r",(function(){return u})),o.d(t,"c",(function(){return b})),o.d(t,"s",(function(){return m})),o.d(t,"v",(function(){return h})),o.d(t,"b",(function(){return g})),o.d(t,"o",(function(){return f})),o.d(t,"n",(function(){return v})),o.d(t,"t",(function(){return y})),o.d(t,"q",(function(){return S})),o.d(t,"u",(function(){return O})),o.d(t,"g",(function(){return x})),o.d(t,"a",(function(){return C})),o.d(t,"p",(function(){return B})),o.d(t,"x",(function(){return j})),o.d(t,"w",(function(){return P})),o.d(t,"A",(function(){return T})),o.d(t,"z",(function(){return w})),o.d(t,"C",(function(){return E})),o.d(t,"y",(function(){return z})),o.d(t,"E",(function(){return k})),o.d(t,"D",(function(){return F})),o.d(t,"B",(function(){return _}));const n="HYDRATE",i="EDITOR_RENDERED",r="UPDATE_BLOCKS",a="REMOVE_BLOCK",l="REMOVE_BLOCKS",s="REORDER_BLOCKS",c="MAKE_NORMAL_TO_GLOBAL_BLOCK",d="MAKE_POPUP_TO_GLOBAL_BLOCK",p="MAKE_GLOBAL_BLOCK_TO_POPUP",u="UPDATE_GLOBAL_BLOCK",b="DELETE_GLOBAL_BLOCK",m="UPDATE_POPUP_RULES",h="UPDATE_UI",g="COPY_ELEMENT",f="UPDATE_CURRENT_STYLE_ID",v="UPDATE_CURRENT_STYLE",y="UPDATE_SCREENSHOT",S="UPDATE_GB_RULES",O="UPDATE_TRIGGERS",x="MAKE_GLOBAL_TO_NORMAL_BLOCK",C="ADD_BLOCK",B="UPDATE_ERROR";function j({project:e,projectStatus:t,fonts:o,page:i,globalBlocks:r,blocksThumbnailSizes:a,authorized:l,syncAllowed:s}){return{type:n,payload:{project:e,projectStatus:t,fonts:o,page:i,globalBlocks:r,blocksThumbnailSizes:a,authorized:l,syncAllowed:s}}}function P(){return{type:i}}function T(e){return{type:f,payload:e}}function w(e){return{type:v,payload:e}}function E({data:e,meta:t}){return{type:m,payload:e,meta:t}}function z(e){return{type:g,value:e}}function k(e,t){return{type:O,payload:{data:e},meta:t}}function F({blockId:e,data:t,meta:o}){return{type:y,payload:{blockId:e,data:t},meta:o}}function _(e){return{type:B,payload:e}}},function(e,t,o){"use strict";o.d(t,"b",(function(){return n})),o.d(t,"a",(function(){return i})),o.d(t,"c",(function(){return r})),o.d(t,"e",(function(){return a})),o.d(t,"d",(function(){return l}));const n=e=>"object"==typeof e&&null!==e,i=(e,t)=>e in t,r=e=>{if(n(e))return e},a=e=>t=>{const o=(e=>{if(n(e))return e})(t);if(void 0!==o){const t={};for(const[n,i]of Object.entries(o)){const o=e(i);if(void 0===o)return;t[n]=o}return t}},l=e=>t=>i(e,t)?t[e]:void 0},function(e,t,o){"use strict";var n=o(9),i=o(2),r=o(0),a=o.n(r),l=o(6),s=o(4),c=o.n(s),d=o(101),p=o(15),u=(o(41),o(80)),b=o(104);function m(e,t,o,n){const i=t*o,r=t*n,a=e*t;return Math.max(i,Math.min(r,a))}class h extends a.a.Component{constructor(...e){super(...e),Object(i.a)(this,"state",{isOpen:!1,currentValue:this.props.defaultValue,position:"bottom-left"}),Object(i.a)(this,"onClickOutside",()=>{this.state.isOpen&&this.setState({isOpen:!1})}),Object(i.a)(this,"handleItemClick",e=>{this.setState({isOpen:!1,currentValue:e}),this.props.onChange(e)}),Object(i.a)(this,"handleContentRef",e=>{this.content=e}),Object(i.a)(this,"handleDropdownNode",e=>{this.dropdown=e}),Object(i.a)(this,"handleLabelClick",()=>{this.setState({isOpen:!this.state.isOpen},()=>{this.state.isOpen&&this.reposition()})})}componentDidMount(){this.props.inPortal||this.reposition()}static getDerivedStateFromProps(e,t){return t.defaultValue!==e.defaultValue?{currentValue:e.defaultValue}:null}getScrollPaneStyle(){const{children:e}=this.props,t=a.a.Children.count(e);let o=0;a.a.Children.forEach(e,e=>{const{items:t}=e.props;t&&t.length&&(o+=t.length)});return{height:m(t+o,this.props.itemHeight,this.props.minItems,this.props.maxItems)}}reposition(){this.dropdown&&(this.isRepositioning=!0,this.dropdown.style.setProperty("opacity",1),this.setState({position:"bottom-left"},()=>{const{bottom:e,right:t}=this.dropdown.getBoundingClientRect(),o=e>=window.innerHeight?"top":"bottom",n=t>=window.innerWidth?"right":"left";this.setState({position:`${o}-${n}`},()=>{this.isRepositioning=!1})}))}renderLabel(){const{labelType:e}=this.props;switch(e){case"icon":return this.renderLabelIcon();case"input":return this.renderLabelInput();default:throw new Error("Invalid label type "+e)}}renderLabelIcon(){return a.a.createElement(p.b,{icon:this.props.labelIcon})}renderLabelInput(){const{children:e}=this.props,{currentValue:t}=this.state;let o;a.a.Children.forEach(e,e=>{const{items:n}=e.props;if(!o)if(n&&n.length){const n=a.a.Children.toArray(e.props.items);o=n.find(e=>e.props.value===t)}else e.props.value===t&&(o=e)});const n=a.a.createElement(p.b,{icon:"nc-stre-down",className:"brz-control__select--arrow"});return a.a.createElement(a.a.Fragment,null,o||this.findFirstItem(),n)}renderItems(e=this.props.children){const{currentValue:t}=this.state;return a.a.Children.map(e,(e,o)=>{const{value:n,disabled:i,items:r}=e.props;return r&&r.length?a.a.cloneElement(e,{key:o,items:this.renderItems(r)}):a.a.cloneElement(e,{key:o,active:n===t,onClick:i?null:()=>this.handleItemClick(n)})})}renderDropDown(){const{inPortal:e,className:t}=this.props;if(this.state.isOpen&&!e)return a.a.createElement("div",{className:"brz-control__select-options",style:{opacity:0},ref:this.handleDropdownNode},a.a.createElement(d.a,{className:"brz-ed-scroll-pane",style:this.getScrollPaneStyle()},this.renderItems()));if(this.state.isOpen&&e){const{top:e,left:o,height:n,width:i}=this.content.getBoundingClientRect(),{scrollLeft:r}=this.content.ownerDocument.documentElement,l=c()("brz-control__portal-select brz-control__select",t),s={top:e+n+3,left:o+r,width:i};return a.a.createElement(b.a,{node:this.content.ownerDocument.body,className:l},a.a.createElement("div",{className:"brz-control__select-options",style:s},a.a.createElement(d.a,{className:"brz-ed-scroll-pane",style:this.getScrollPaneStyle()},this.renderItems())))}}render(){const{className:e,labelType:t,currentValue:o,inputAttributes:i,clickOutsideExceptions:r}=this.props,{position:l,isOpen:s}=this.state,d=c()("brz-control__select","brz-control__select--"+l,e,{opened:s}),p=[...r,".brz-control__portal-select"];return a.a.createElement(u.a,{exceptions:p,onClickOutside:this.onClickOutside},a.a.createElement("div",{className:d,ref:this.handleContentRef},a.a.createElement("div",{className:"brz-control__select-current brz-control__select-current__"+t,onClick:this.handleLabelClick},this.renderLabel()),this.renderDropDown(),a.a.createElement("input",Object(n.a)({type:"hidden",value:o},i))))}findFirstItem(e=this.props.children){let t;return a.a.Children.forEach(e,e=>{const{items:o}=e.props;t||(t=o&&o.length?this.findFirstItem(o):e)}),t}}Object(i.a)(h,"defaultProps",{defaultValue:"",inputAttributes:{},labelType:"input",labelIcon:"nc-menu",minItems:1,maxItems:5,itemHeight:38,arrowIcon:"nc-arrow-down",inPortal:!1,clickOutsideExceptions:[],onChange:l.default.noop}),t.a=h},function(e,t,o){"use strict";function n(e){return new Promise((function(t,o){const n=new Image;n.onload=function(){t(this)},n.onabort=function(){o(`preloadImage("${e}") onabort`)},n.onerror=function(){o(`preloadImage("${e}") onerror`)},n.src=e}))}o.d(t,"f",(function(){return n})),o.d(t,"d",(function(){return s})),o.d(t,"g",(function(){return c})),o.d(t,"b",(function(){return u})),o.d(t,"e",(function(){return p})),o.d(t,"a",(function(){return b})),o.d(t,"c",(function(){return d}));o(298);var i=o(14),r=o(99),a=o(106),l=o(6);function s(e,t={iW:5e3,iH:"any"}){var o;if(Object(a.b)(e)||Object(r.d)(e))return e;if(!e)return null;const n=i.a.getAll(),s=null!==(o=n.prefix)&&void 0!==o?o:"brizy",c=n.urls.site,d=Object(a.e)(c)?c+"&":c+"/?",p=(e=>{const t=l.default.mapObject(e,e=>"number"==typeof e?Math.round(e):e);return Object(a.c)(t)})(t);return`${d}${Object(a.c)({[s+"_media"]:e,[s+"_crop"]:p})}`}function c(e){if(!e)return null;const t=i.a.getAll(),{customFile:o}=t.urls;return`${o}${e}`}function d(e,t){var o;const n=i.a.getAll(),r=n.urls.site,l=Object(a.e)(r)?r+"&":r+"/?",s=null!==(o=n.prefix)&&void 0!==o?o:"brizy";return`${l}${Object(a.c)({[s+"_media"]:e,[s+"_crop"]:t})}`}function p(e,t,o){const n=e>t?e/o:t/o;return{width:Math.round(e/n),height:Math.round(t/n)}}o(70);function u(e,t={cW:5e3,cH:0}){const{cW:o,cH:n}=t;if(!e||"number"!=typeof o||"number"!=typeof n)throw new Error("Invalid arguments");return`{{${e.replace(/{{|}}/g,"")} cW='${o}' cH='${n}'}}`}function b(e=""){return e.split(".").pop().toLowerCase()}},function(e,t,o){"use strict";o.d(t,"a",(function(){return s})),o.d(t,"d",(function(){return c})),o.d(t,"c",(function(){return d})),o.d(t,"b",(function(){return p}));var n=o(20);const i=e=>"optional"===e.__type,r=(e,t)=>{switch(e.__type){case"optional":case"strict":return e.fn(t);default:return e(t)}};function a(e,t){const o={};for(const n in e){if(!Object.prototype.hasOwnProperty.call(e,n))continue;const a=r(e[n],t);if(!i(e[n])&&void 0===a)return;o[n]=a}return o}function l(e,t){for(let o=0;o<e.length;o++){const i=e[o](t);if(!Object(n.b)(i))return i}}const s=e=>({__type:"optional",fn:e});function c(e,t){return void 0===t?t=>a(e,t):a(e,t)}function d(e,t){return void 0===t?t=>a(e,t):a(e,t)}function p(...e){return 1===e.length?t=>l(e[0],t):l(e[0],e[1])}},function(e,t,o){"use strict";o.d(t,"a",(function(){return a})),o.d(t,"b",(function(){return h})),o.d(t,"e",(function(){return C})),o.d(t,"i",(function(){return B})),o.d(t,"f",(function(){return v.b})),o.d(t,"c",(function(){return v.a})),o.d(t,"n",(function(){return j.a})),o.d(t,"g",(function(){return P.g})),o.d(t,"j",(function(){return P.h})),o.d(t,"d",(function(){return P.f})),o.d(t,"l",(function(){return T.b})),o.d(t,"m",(function(){return T.c})),o.d(t,"k",(function(){return T.a})),o.d(t,"h",(function(){return w}));var n=o(14),i=o(56);function r(){return Object(i.a)("editor/img/block-placeholder.jpg")}function a(e){if(!e)return r();const t=n.a.get("urls").blockThumbnails;return t?`${t}/${e.id}.jpg`:Object(i.a)(`thumbs/${e.id}.jpg`)}var l=o(2),s=o(6),c=o(39),d=o(29),p=o(106),u=o(17);function b(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function m(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?b(Object(o),!0).forEach((function(t){Object(l.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):b(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const h=(e,t={})=>{const o=function(e,t){"GlobalBlock"===e.type&&(e=m(m({},(e=Object(u.r)(Object(d.b)().getState())[e.value._id]).data),{},{meta:e.meta}));if(!0===t.searchScreenshotInStoreFirst){const t=Object(u.K)(Object(d.b)().getState());t[e.value._id]&&(e=Object(c.a)(e,o=>{o.meta=m(m({},o.meta),t[e.value._id])}))}const{_thumbnailSrc:o,_thumbnailWidth:n,_thumbnailHeight:i}=g(e);if(o&&n&&i){return{url:s.default.compose(f,g)(e),width:n,height:i}}return null}(e,t);let a;if(o)a=o;else{const{blocksThumbnailSizes:t}=Object(d.b)().getState(),o=t[e.blockId];if(o){const t=n.a.get("urls").blockThumbnails;a={url:t?`${t}/${e.blockId}.jpg`:Object(i.a)(`thumbs/${e.blockId}.jpg`),width:o[0],height:o[1]}}else a={url:r(),width:500,height:200}}return a},g=e=>e.meta||e.value||{};function f({_thumbnailSrc:e,_thumbnailTime:t}){var o;const i=n.a.get("urls").site,r=n.a.get("wp").page,a=null!==(o=n.a.get("prefix"))&&void 0!==o?o:"brizy",l=Object(p.c)({[a+"_post"]:r,[a+"_block_screenshot"]:e,t:t||Date.now()});return Object(p.e)(i)?`${i}&${l}`:`${i}?${l}`}var v=o(158),y=o(16);function S(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function O(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?S(Object(o),!0).forEach((function(t){Object(l.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):S(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const x=(e,t,o)=>e.filter(e=>{var n,i;return(null===(n=t[e])||void 0===n||null===(i=n.position)||void 0===i?void 0:i.align)===o&&"publish"===t[e].status}).sort((e,n)=>{var i,r,a,l,s,c;return(null!==(i=null===(r=t[e])||void 0===r||null===(a=r.position)||void 0===a?void 0:a[o])&&void 0!==i?i:0)-(null!==(l=null===(s=t[n])||void 0===s||null===(c=s.position)||void 0===c?void 0:c[o])&&void 0!==l?l:0)}),C=(e,t,o)=>{if(y.b||y.d)return e;const n=Object(v.b)(e,t,o),i=x(n,t,"top"),r=x(n,t,"bottom");return[...i,...e,...r]};function B(e,t){var o;const n=((null===(o=e.data)||void 0===o?void 0:o.items)||[]).reduce((e,t)=>("GlobalBlock"!==t.type&&(e[t.value._id]={data:t}),e),{}),i=Object.keys(n),r=C(i,t,e),a=O(O({},n),t);return r.map(e=>a[e].data)}var j=o(295),P=o(97),T=o(132);const w=(e,t)=>{const o=n.a.get("urls").assetsExternal;switch(e){case"popups":return`${o}/popups/resolves/${t}.json`;case"stories":return`${o}/stories/resolves/${t}.json`;case"templates":return`${o}/templates/resolves/${t}.json`;default:return`${o}/kits/resolves/${t}.json`}}},function(e,t,o){"use strict";o.d(t,"a",(function(){return g}));var n=o(2),i=o(0),r=o.n(i),a=o(6),l=o(4),s=o.n(l),c=o(1);const d=13,p=66,u=73,b=85,m=89,h=90;class g extends i.Component{constructor(...e){super(...e),Object(n.a)(this,"contentRef",r.a.createRef()),Object(n.a)(this,"unmounted",!1),Object(n.a)(this,"lastNotifiedValue",void 0),Object(n.a)(this,"handleClick",e=>{e.preventDefault();const t=this.contentRef.current;null==t||t.classList.add("brz-ed-dd-cancel")}),Object(n.a)(this,"handleKeyDown",e=>{const t=e.which,o=e.metaKey||e.ctrlKey;t!==d&&(!o||t!==p&&t!==u&&t!==b)&&(!o||t!==h&&t!==m)||e.preventDefault()}),Object(n.a)(this,"handleInput",e=>{const t=e.currentTarget;t&&this.notifyChange(t.textContent||"")}),Object(n.a)(this,"notifyChange",a.default.debounce(e=>{this.unmounted||(this.lastNotifiedValue=e,this.props.onChange(e))},1e3)),Object(n.a)(this,"handleBlur",()=>{var e;null===(e=this.contentRef.current)||void 0===e||e.classList.remove("brz-ed-dd-cancel")}),Object(n.a)(this,"handlePaste",e=>{e.preventDefault();const t=e.clipboardData.getData("text/plain");document.execCommand("insertHTML",!1,t)})}shouldComponentUpdate(e){return void 0!==this.lastNotifiedValue&&this.lastNotifiedValue!==e.value||this.props.tagName!==e.tagName||this.props.className!==e.className}componentDidMount(){const e=this.contentRef.current;null!==e&&e.addEventListener("input",this.handleInput)}componentDidUpdate(){this.lastNotifiedValue=this.props.value;const e=this.contentRef.current;var t;e&&e.textContent!==this.lastNotifiedValue&&(e.textContent=null!==(t=this.lastNotifiedValue)&&void 0!==t?t:"")}componentWillUnmount(){this.unmounted=!0}render(){const{tagName:e,value:t,className:o}=this.props,n=s()(o,"brz-"+e,"brz-text__editor");return r.a.createElement(e,{ref:this.contentRef,className:n,contentEditable:!0,dangerouslySetInnerHTML:{__html:t},onClick:this.handleClick,onKeyDown:this.handleKeyDown,onPaste:this.handlePaste,onBlur:this.handleBlur})}}Object(n.a)(g,"defaultProps",{value:Object(c.a)("Editable Text"),tagName:"span",className:""})},function(e,t,o){"use strict";o.d(t,"a",(function(){return s})),o.d(t,"c",(function(){return d})),o.d(t,"b",(function(){return l}));var n=o(2),i=o(0),r=o.n(i),a=o(14);const l=()=>a.a.getAll().user.role;class s extends i.Component{render(){const{allow:e,children:t,component:o,render:n,fallbackComponent:i,fallbackRender:a}=this.props;if(e.includes(l())){if(t)return t;if(o)return r.a.createElement(o,null);if(n)return n()}else{if(i)return r.a.createElement(i,null);if(a)return a()}return null}}Object(n.a)(s,"defaultProps",{allow:[]});var c=o(9);const d=({component:e,fallbackComponent:t,allow:o=[],render:n,fallbackRender:i})=>{function a(a,s){if(o.includes(l())){if(e)return r.a.createElement(e,Object(c.a)({},a,{ref:s}));if(n)return n(a)}else{if(t)return r.a.createElement(t,Object(c.a)({},a,{ref:s}));if(i)return i(a)}return null}return a.displayName=`RolesHOC(${e.displayName||e.name})`,r.a.forwardRef(a)}},function(e,t,o){"use strict";o.d(t,"a",(function(){return i}));var n=o(14);function i(e){return n.a.getAll().urls.assets+"/"+e}},function(e,t,o){"use strict";o.d(t,"a",(function(){return n}));const n=e=>{switch(typeof e){case"string":return e;case"number":return isNaN(e)?void 0:e.toString();default:return}}},,function(e,t,o){"use strict";o.d(t,"a",(function(){return i})),o.d(t,"e",(function(){return r})),o.d(t,"f",(function(){return a})),o.d(t,"d",(function(){return l})),o.d(t,"c",(function(){return s})),o.d(t,"b",(function(){return c})),o.d(t,"g",(function(){return d}));var n=o(6);const i=(e,t,o=[])=>{if(t(e))return{obj:e,path:o};for(let n in e)if(e.hasOwnProperty(n)&&"object"==typeof e[n]&&null!==e[n]){const{obj:r,path:a}=i(e[n],t,[...o,n]);if(r)return{obj:r,path:a}}return{obj:null,path:null}},r=(e,t,...o)=>{for(let n in e)e.hasOwnProperty(n)&&(e[n]&&"object"==typeof e[n]&&r(e[n],t,...o),t(n,e[n],e,...o))},a=(e,t)=>{for(let o in e)e.hasOwnProperty(o)&&e[o]&&"object"==typeof e[o]&&a(e[o],t);t(e)};function l(e){return e.reduce((e,[t,o])=>(e[t]=o,e),{})}const s=(e,t)=>Array.isArray(t)?t.map(e):t&&"object"==typeof t?n.default.mapObject(t,e):t,c=(e,t)=>!(!t||!e.every(e=>t.hasOwnProperty(e))),d=e=>null!==e&&"object"==typeof e?e:{}},function(e,t,o){"use strict";(function(e){var n=o(37),i=o(2),r=o(0),a=o.n(r),l=o(26),s=o(39),c=o(14),d=o(29),p=o(55),u=o(16),b=o(17),m=o(715),h=o(151);function g(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}const f=c.a.get("menuData"),v={duplicate:["ctrl+D","cmd+D","right_cmd+D"],copy:["ctrl+C","cmd+C","right_cmd+C"],paste:["ctrl+V","cmd+V","right_cmd+V"],pasteStyles:["ctrl+shift+V","shift+ctrl+V","cmd+shift+V","shift+cmd+V","right_cmd+shift+V","shift+right_cmd+V"],delete:["del","cmd+backspace","cmd+del","right_cmd+backspace","right_cmd+del"],horizontalAlign:["ctrl+right","ctrl+left","cmd+right","cmd+left","right_cmd+right","right_cmd+left"],verticalAlign:["ctrl+up","ctrl+down","cmd+up","cmd+down","right_cmd+up","right_cmd+down"],showSidebarStyling:["ctrl+M","cmd+M","right_cmd+M"],showSidebarAdvanced:["ctrl+K","cmd+K","right_cmd+K"]},y=a.a.createContext({});class S extends a.a.Component{constructor(...e){super(...e),Object(i.a)(this,"contextValue",{getParentContextMenuItems:this.getItems}),Object(i.a)(this,"getItems",()=>{let e=this.props,{children:t,shortcutsTypes:o=[],keyNames:r=[]}=e,a=Object(n.a)(e,["children","shortcutsTypes","keyNames"]);const{getParentContextMenuItems:l}=this.context;let s=function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?g(Object(o),!0).forEach((function(t){Object(i.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):g(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({onKeyUp:()=>{},onKeyDown:()=>{},keyNames:[...(c=o,c.reduce((e,t)=>(v[t]&&(e=[...e,...v[t]]),e),[])),...r]},a);var c;return s=l?[s,...l()]:[s],s})}handleFilterItems(t){if(t.length&&t[0].id.startsWith("key-helper")){const e=t.find(e=>"key-helper-toolbar-escape"===e.id);return e?[e]:t}const o=e.Brizy.activeEditorComponent;if(!o)return[];const n=o.getId(),i=Object(d.b)().getState(),r=Object(b.E)(i),a=Object(b.f)(i),s=Object(u.g)(r,[n]),c=[...s],p=O(r);if(v.paste.includes(t[0].keyName)){const{value:e}=Object(u.i)(s,p,({type:e})=>"Wrapper"===e||"Cloneable"===e);if(e&&a.value){const{value:o}=Object(u.i)(a.path,O(a.value),({type:e})=>"Wrapper"===e||"Cloneable"===e);if(o&&("Cloneable"===o.type||"Cloneable"===e.type)&&o.value.items[0].type!==e.value.items[0].type){const o=t.find(({id:t})=>t===e.value._id);return o?[o]:[]}}}let m=[];for(let e=0;e<=s.length;e++){const e=Object(l.getIn)(p,c);if(e){const o=t.find(({id:t})=>t===e._id);if(o)return[o]}m.unshift(c.pop())}return[]}shouldShortCutHandle(e,{keyName:t}){const o=v.delete.includes(t),n=v.paste.includes(t),i=v.copy.includes(t),r=o||n||i,a=e.target.closest("[contenteditable=true]")||e.target.closest("input")||e.target.closest("textarea");return!(e.target.closest([".brz-ed-sidebar__right","#brz-toolbar-portal",".brz-ed-tooltip__content-portal",".brz-ed-popup-integrations"].join(","))||a&&r)}render(){const{children:e,id:t}=this.props,o=this.getItems();return a.a.createElement(y.Provider,{value:this.contextValue},e,a.a.createElement(m.a,{items:o,id:t,shouldKeyDownHandle:this.shouldShortCutHandle,shouldKeyUpHandle:this.shouldShortCutHandle,filterItems:this.handleFilterItems}))}}function O(e){return Object(u.o)(e=>{const{type:t,value:o}=e;if("Menu"===t){const{menuSelected:t,symbols:n={}}=o,i=t||f[0].id,r=f.find(e=>e.id===i)||{};return Object(s.b)(e,e=>{e.value.items=Object(h.c)(r.items||[],n)})}return e},e)}Object(i.a)(S,"contextType",y),t.a=Object(p.c)({allow:["admin"],component:S,fallbackComponent:({children:e})=>e||null})}).call(this,o(110))},,,function(e,t,o){"use strict";o.d(t,"a",(function(){return r}));var n=o(567),i=o.n(n);const r=(e=36)=>i()("abcdefghijklmnopqrstuvwxyz",e)},,,function(e,t,o){"use strict";o.d(t,"f",(function(){return n})),o.d(t,"c",(function(){return i})),o.d(t,"d",(function(){return r})),o.d(t,"e",(function(){return a})),o.d(t,"a",(function(){return l})),o.d(t,"k",(function(){return s})),o.d(t,"h",(function(){return c})),o.d(t,"i",(function(){return d})),o.d(t,"g",(function(){return p})),o.d(t,"j",(function(){return u})),o.d(t,"l",(function(){return b})),o.d(t,"b",(function(){return m}));const n={start:["mousedown"],move:["mousemove"],end:["mouseup"]};function i(e,t){let o=e;for(;o;){if(t(o))return o;o=o.parentElement}}function r(e){let t=e,o=0;for(;t=t.parentElement;)o++;return o}function a(e){const t=e.parentElement;return t?Array.from(t.children).indexOf(e):-1}function l(e,...t){t.filter(String).forEach(t=>e.classList.add(t))}function s(e,...t){t.forEach(t=>e.classList.remove(t))}function c(e,t,o,n){const i=o-e,r=n-t;return Math.sqrt(i*i+r*r)}function d(e,t,o,n){const i=t<n,r=e<o;return{isAbove:i,isBelow:!i,isLeft:r,isRight:!r}}function p(e,t,o){return e>=o.left&&e<=o.right&&t>=o.top&&t<=o.bottom}function u(e){return{x:e.left+.5*(e.right-e.left),y:e.top+.5*(e.bottom-e.top)}}function b(e,t,o="all"){const n="all"===o||"top-bottom"===o,i="all"===o||"left-right"===o;return{top:n?e.top+t:e.top,bottom:n?e.bottom-t:e.bottom,left:i?e.left+t:e.left,right:i?e.right-t:e.right}}function m(e,t,o){return e<t?t:e>o?o:e}},function(e,t,o){"use strict";var n={};o.r(n),o.d(n,"facebook",(function(){return Mt}));var i={};o.r(i),o.d(i,"email",(function(){return lr})),o.d(i,"wordpress",(function(){return cr})),o.d(i,"mailchimp",(function(){return pr})),o.d(i,"sendinblue",(function(){return br})),o.d(i,"zapier",(function(){return hr})),o.d(i,"campaignmonitor",(function(){return fr})),o.d(i,"convertkit",(function(){return yr})),o.d(i,"activecampaign",(function(){return Or})),o.d(i,"getresponse",(function(){return Cr})),o.d(i,"mailjet",(function(){return jr})),o.d(i,"egoi",(function(){return Tr})),o.d(i,"hubspot",(function(){return Er})),o.d(i,"mailerlite",(function(){return kr})),o.d(i,"drip",(function(){return _r})),o.d(i,"smtp",(function(){return Hr})),o.d(i,"gmail_smtp",(function(){return Mr})),o.d(i,"mailgun",(function(){return Wr})),o.d(i,"madmimi",(function(){return Vr})),o.d(i,"constantcontact",(function(){return Dr})),o.d(i,"aweber",(function(){return Gr})),o.d(i,"salesforce",(function(){return Kr})),o.d(i,"sendgrid",(function(){return qr})),o.d(i,"recaptcha",(function(){return Jr}));var r={};o.r(r),o.d(r,"google",(function(){return ja})),o.d(r,"uploader",(function(){return Va}));var a=o(2),l=o(0),s=o.n(l),c=o(39),d=o(302);const p={};class u extends d.EventEmitter{addChangeListener(e,t){this.on(e,t)}removeChangeListener(e,t){this.removeListener(e,t)}get(e){return p[e]}set(e,t){p[e]=t,this.emit(e,t)}}const b=new u;b.setMaxListeners(1/0);var m=b,h=(o(70),o(4)),g=o.n(h),f=o(6),v=o(14),y=o(125),S=o(50),O=o(38),x=o(37),C=o(9),B=o(716),j=o(62),P=o.n(j);function T(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function w(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?T(Object(o),!0).forEach((function(t){Object(a.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):T(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const E=({onScroll:e,forwardedRef:t,style:o,children:n})=>{const i=Object(l.useCallback)(e=>{t(e?e.view:null)},[]);return s.a.createElement(P.a,{ref:i,style:w(w({},o),{},{overflow:"hidden"}),onScroll:e},n)},z=Object(l.forwardRef)((e,t)=>s.a.createElement(E,Object(C.a)({},e,{forwardedRef:t})));z.displayName="CustomScrollbarsVirtualList";const k=e=>{const t=Object(l.forwardRef)((t,o)=>{let{style:n}=t,i=Object(x.a)(t,["style"]);return s.a.createElement("div",Object(C.a)({ref:o,style:w(w({},n),{},{paddingLeft:e,paddingTop:e,marginBottom:e})},i))});return t.displayName="InnerElement",t};var F=e=>{const{height:t,width:o,columnCount:n,columnWidth:i,rowCount:r,rowHeight:a,initialScrollTop:l,renderItem:c,style:d={},gutter:p=0}=e;return s.a.createElement(B.a,{height:t,width:o,columnCount:n,columnWidth:i+p,rowCount:r,rowHeight:a+p,style:d,initialScrollTop:l,outerElementType:z,innerElementType:k(p)},c)},_=o(15);function R(e,t){switch(t.type){case"wait":if("delay"===e.status)return{status:"waiting"};break;case"resolve":if("delay"===e.status||"waiting"===e.status)return{status:"resolved",value:t.value};break;case"reject":if("delay"===e.status||"waiting"===e.status)return{status:"rejected",reason:t.reason}}return e}function H({getPromise:e,renderResolved:t,renderRejected:o,renderWaiting:n,delayMs:i=0}){const r=i&&i>0,[a,s]=Object(l.useReducer)(R,{status:r?"delay":"waiting"});return Object(l.useEffect)(()=>{let t,o=!1;return r&&(t=window.setTimeout(()=>{o||s({type:"wait"})},i)),e().then(e=>{o||(clearTimeout(t),s({type:"resolve",value:e}))}).catch(e=>{o||(clearTimeout(t),s({type:"reject",reason:e}))}),()=>{o=!0}},[]),"waiting"===a.status&&n?n():"resolved"===a.status?t(a.value):"rejected"===a.status&&o?o(a.reason):null}var L=o(574);const M=[{id:1,title:"Animals/Nature"},{id:2,title:"Arrows"},{id:3,title:"Business/Finance"},{id:4,title:"Clothes/Accessories"},{id:5,title:"Design/Development"},{id:6,title:"Emoticons"},{id:7,title:"Energy/Environment"},{id:8,title:"Files/Folders"},{id:10,title:"Food"},{id:11,title:"Home/Buildings"},{id:12,title:"Healthcare/Medical"},{id:13,title:"Holidays"},{id:14,title:"Loaders"},{id:15,title:"Maps/Location"},{id:16,title:"Multimedia"},{id:18,title:"School/Education"},{id:19,title:"Shopping"},{id:20,title:"Social Media"},{id:21,title:"Sport"},{id:22,title:"Technology"},{id:23,title:"Text Editing"},{id:24,title:"Touch Gestures"},{id:25,title:"Transportation"},{id:26,title:"Travel"},{id:27,title:"User Interface"},{id:28,title:"Users"},{id:29,title:"Weather"}],I=[{title:"Accessibility",id:1},{title:"Alert",id:2},{title:"Animals",id:3},{title:"Arrows",id:4},{title:"Audio & Video",id:5},{title:"Automotive",id:6},{title:"Autumn",id:7},{title:"Beverage",id:8},{title:"Buildings",id:9},{title:"Business",id:10},{title:"Camping",id:11},{title:"Charity",id:12},{title:"Chat",id:13},{title:"Chess",id:14},{title:"Childhood",id:15},{title:"Clothing",id:16},{title:"Code",id:17},{title:"Communication",id:18},{title:"Computers",id:19},{title:"Construction",id:20},{title:"Currency",id:21},{title:"Date & Time",id:22},{title:"Design",id:23},{title:"Editors",id:24},{title:"Education",id:25},{title:"Emoji",id:26},{title:"Energy",id:27},{title:"Files",id:28},{title:"Finance",id:29},{title:"Fitness",id:30},{title:"Food",id:31},{title:"Fruits & Vegetables",id:32},{title:"Games",id:33},{title:"Tabletop Gaming",id:34},{title:"Genders",id:35},{title:"Halloween",id:36},{title:"Hands",id:37},{title:"Health",id:38},{title:"Holiday",id:39},{title:"Hotel",id:40},{title:"Household",id:41},{title:"Images",id:42},{title:"Interfaces",id:43},{title:"Logistics",id:44},{title:"Maps",id:45},{title:"Maritime",id:46},{title:"Marketing",id:47},{title:"Mathematics",id:48},{title:"Medical",id:49},{title:"Moving",id:50},{title:"Music",id:51},{title:"Objects",id:52},{title:"Payments & Shopping",id:53},{title:"Pharmacy",id:54},{title:"Political",id:55},{title:"Religion",id:56},{title:"Science",id:57},{title:"Science Fiction",id:58},{title:"Security",id:59},{title:"Shapes",id:60},{title:"Shopping",id:61},{title:"Social",id:62},{title:"Spinners",id:63},{title:"Sports",id:64},{title:"Spring",id:65},{title:"Status",id:66},{title:"Summer",id:67},{title:"Toggle",id:68},{title:"Travel",id:69},{title:"Users & People",id:70},{title:"Vehicles",id:71},{title:"Weather",id:72},{title:"Winter",id:73},{title:"Writing",id:74}],W=[{id:2,name:"fa",title:"FA",icon:"nc-full-cube"}],N=[{id:0,name:"outline",title:"Outline",icon:"nc-cube"},{id:1,name:"glyph",title:"Glyph",icon:"nc-full-cube"}];var V=o(36),A=o(84),D=o(20),$=o(25);const G=Object(D.e)(e=>e>=0&&e<=2?e:void 0,Math.round,$.b);var U=o(23);const K=e=>{if(null===e||"object"!=typeof e)return;const t=U.d(e.title),o=U.d(e.name),n=G(e.type);if(void 0===t||void 0===o||void 0===n)return;const i=U.d(e.family);return{title:t,name:o,type:n,cat:Object(A.k)(e.cat).map($.b).filter(Boolean),family:i}},Y=e=>Object(A.k)(null==e?void 0:e.default).map(K).filter(Boolean),q=e=>{switch(e){case 0:return o.e(5).then(o.t.bind(null,977,3)).then(Y);case 1:return o.e(4).then(o.t.bind(null,978,3)).then(Y);case 2:return o.e(3).then(o.t.bind(null,979,3)).then(Y)}},X=()=>V.l?V.g?[...N,...W]:W:N,J=e=>{var t;switch(e.type){case 0:case 1:{const t=X()[e.type].name;return`nc-${t} nc-${t}-${e.name}`}case 2:return`${null!==(t=e.family)&&void 0!==t?t:"fa"} fa-${e.name}`}},Z=e=>{switch(e){case 0:case 1:return M;case 2:return I}};function Q(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function ee(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Q(Object(o),!0).forEach((function(t){Object(a.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Q(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const te=X(),oe=te.reduce((e,{id:t,name:o})=>(e[t]=o,e),{});class ne extends l.Component{constructor(...e){var t;super(...e),Object(a.a)(this,"state",{typeId:(null!==(t=te.find(e=>e.name===this.props.type))&&void 0!==t?t:te[0]).id,categoryId:"*",search:""}),Object(a.a)(this,"containerRef",s.a.createRef()),Object(a.a)(this,"onIconClick",e=>{this.props.onClose(),setTimeout(()=>{this.props.onChange(e)},0)})}componentDidUpdate(){if(this.containerRef.current){const{templateFonts:e}=v.a.get("urls");Object(L.a)(this.containerRef.current,e)}}renderTabs(){const e=te.map(e=>s.a.createElement("div",{key:e.id,className:g()("brz-ed-popup-tab-item",{active:e.id===this.state.typeId}),onClick:()=>this.setState({typeId:e.id})},s.a.createElement("div",{className:"brz-ed-popup-tab-icon"},s.a.createElement(_.b,{icon:e.icon})),s.a.createElement("div",{className:"brz-ed-popup-tab-name"},e.title)));return s.a.createElement("div",{className:"brz-ed-popup-header"},s.a.createElement("div",{className:"brz-ed-popup-header__tabs"},e),s.a.createElement("div",{className:"brz-ed-popup-btn-close",onClick:this.props.onClose}))}renderFilters(){const{categoryId:e,search:t,typeId:o}=this.state,n=[{id:"*",name:"all",title:"All Categories"},...Z(o)];return s.a.createElement(s.a.Fragment,null,s.a.createElement("div",{className:"brz-ed-popup__categories"},s.a.createElement(S.a,{className:"brz-ed-popup__select brz-ed-popup__select--block-categories brz-ed-popup-control__select--light",defaultValue:e,maxItems:10,itemHeight:30,onChange:e=>this.setState({categoryId:e})},n.map(({id:e,title:t})=>s.a.createElement(O.a,{key:e,value:e},t)))),s.a.createElement("div",{className:"brz-ed-popup__search"},s.a.createElement("input",{type:"text",className:"brz-input brz-ed-popup__input",placeholder:"Enter Search Keyword",onChange:e=>this.setState({search:e.target.value}),value:t}),s.a.createElement("div",{className:g()("brz-ed-popup__search--icon",{active:t.length>0})},s.a.createElement(_.b,{icon:"nc-search"}))))}filterIcons(e){const{typeId:t,categoryId:o,search:n}=this.state,i=new RegExp(n.replace(/[.*+?^${}()|[\]\\]/g,""),"i");return e.filter(({type:e,cat:r,title:a})=>t===e&&("*"===o||r.includes(o))&&(""===n||i.test(a)))}render(){const{name:e,type:t,opened:o,onClose:n}=this.props;return s.a.createElement(y.a,{opened:o,onClose:n},s.a.createElement("div",{ref:this.containerRef,className:"brz-ed-popup-wrapper"},this.renderTabs(),s.a.createElement("div",{className:"brz-ed-popup-content brz-ed-popup-pane brz-ed-popup-icons"},s.a.createElement("div",{className:"brz-ed-popup-body"},s.a.createElement("div",{className:"brz-ed-popup__head--search brz-d-xs-flex brz-align-items-center brz-justify-content-xs-center"},this.renderFilters()),s.a.createElement("div",{className:"brz brz-ed-popup-icons__grid"},s.a.createElement(H,{getPromise:()=>{return e=X().map(e=>e.id),Promise.all(e.map(q)).then(A.a);var e},renderResolved:o=>{const n=this.filterIcons(o);return s.a.createElement(ie,{icons:n,value:{name:e,type:t},onChange:this.onIconClick})},renderWaiting:()=>s.a.createElement(re,null),delayMs:1e3}))))))}}function ie({icons:e,value:t,onChange:o}){const[n,i]=Object(l.useState)(null),r=Object(l.useRef)(null),a=e.findIndex(e=>e.name===t.name),c=Math.floor(e.length/8)+1,d=Math.floor(a/8),p=0===d?0:d-1;if(Object(l.useEffect)(()=>{if(r.current){const{width:e,height:t}=r.current.getBoundingClientRect();i({width:e,height:t})}},[]),!n)return s.a.createElement("div",{style:{height:"100%"},ref:r},s.a.createElement(re,null));const{width:u,height:b}=n,m=74*p;return s.a.createElement(F,{width:u,height:b,columnCount:8,columnWidth:68,rowCount:c,rowHeight:68,gutter:6,initialScrollTop:m,renderItem:({rowIndex:n,columnIndex:i,style:r})=>{const a=e[8*n+i];if(!a)return null;const{type:l,name:c}={type:oe[a.type],name:a.name},d=g()("brz-ed-popup-icons__grid__item",{active:l===t.type&&c===t.name});return s.a.createElement("div",{style:ee(ee({},r),{},{left:r.left+6,top:r.top+6,width:r.width-6,height:r.height-6}),className:d,onClick:()=>{o({type:l,name:c})}},s.a.createElement("i",{className:g()(["brz-font-icon",J(a)])}))}})}function re(){return s.a.createElement("div",{style:{height:"100%",display:"flex",justifyContent:"center",alignItems:"center",color:"#828b92",fontSize:"35px"}},s.a.createElement(_.b,{icon:"nc-circle-02",className:"brz-ed-animated--spin"}))}Object(a.a)(ne,"defaultProps",{name:"nc-star",type:"outline",onChange:f.default.noop});var ae=o(1);function le(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function se(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?le(Object(o),!0).forEach((function(t){Object(a.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):le(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}class ce extends l.Component{constructor(e){super(e),Object(a.a)(this,"handleLoading",e=>{this.setState({loading:e})});const{currentTab:t,tabs:o}=this.props;this.state={loading:!0,currentTab:t,tabs:o}}handleTabChange(e){this.state.loading&&this.props.blockTabsWhenLoading||this.setState({currentTab:e})}handleTabUpdate(e,t){const{tabs:o}=this.state,n=o.map(o=>o.id===e?se(se({},o),t):o);this.setState({tabs:n})}renderHeader(){const{currentTab:e,tabs:t}=this.state,{onClose:o}=this.props,n=t.map(t=>{const{id:o,icon:n,img:i,title:r}=t,a=g()("brz-ed-popup-tab-item",{active:o===e});return s.a.createElement("div",{key:o,className:a,onClick:()=>this.handleTabChange(o)},n&&s.a.createElement("div",{className:"brz-ed-popup-tab-icon"},s.a.createElement(_.b,{icon:n})),i?s.a.createElement("div",{className:"brz-ed-popup-tab-image"},s.a.createElement("img",{className:"brz-img",src:i,alt:r})):s.a.createElement("div",{className:"brz-ed-popup-tab-name"},r))});return s.a.createElement("div",{className:"brz-ed-popup-header"},s.a.createElement("div",{className:"brz-ed-popup-header__tabs"},n),s.a.createElement("div",{className:"brz-ed-popup-btn-close",onClick:o}))}renderCurrentTab(){const{tabs:e,loading:t,currentTab:o}=this.state;return e.reduce((e,{id:n,component:i})=>n===o?[s.a.createElement(i,Object(C.a)({},this.props,{key:n,loading:t,onLoading:this.handleLoading,onTabUpdate:e=>{this.handleTabUpdate(n,e)}}))]:e,[])}renderTabs(){const{tabs:e,loading:t,currentTab:o}=this.state;return e.map(({id:e,component:n})=>{const i=g()("brz-ed-popup-integration-"+e,{"brz-hidden":e!==o});return s.a.createElement(n,Object(C.a)({},this.props,{key:e,loading:t,className:i,onTabUpdate:t=>{this.handleTabUpdate(e,t)}}))})}render(){const{opened:e,onClose:t}=this.props;return s.a.createElement(y.a,{className:"brz-ed-popup-integrations",opened:e,onClose:t},s.a.createElement("div",{className:"brz-ed-popup-wrapper"},this.renderHeader(),s.a.createElement("div",{className:"brz-ed-popup-content"},this.state.loading?this.renderCurrentTab():this.renderTabs())))}}Object(a.a)(ce,"defaultProps",{value:{},opened:!1,tabs:[],currentTab:"",blockTabsWhenLoading:!0,onClose:f.noop});var de=ce,pe=o(56),ue=o(22);const be=e=>{const{message:t,type:o="success",className:n}=e,i=g()("brz-ed-alert",n,{["brz-ed-alert-"+o]:o});return s.a.createElement("div",{className:i},s.a.createElement("span",{className:"brz-span"},t))},me=s.a.createContext({app:{},connectedApps:[],stages:[],stage:"",oldStage:"",onChange:f.noop,onChangeNext:f.noop,onChangePrev:f.noop,onConnectApp:f.noop,onDisconnectApp:f.noop,onChangeProgress:f.noop,onError:f.noop}),he=({className:e})=>s.a.createElement("div",{className:g()("brz-ed-popup-content--loading",e)},s.a.createElement(_.b,{icon:"nc-circle-02",className:"brz-ed-animated--spin"}));class ge extends l.Component{render(){const{stage:e,apps:t,children:o,onClose:n}=this.props;return s.a.Children.map(o,o=>e===o.props.num&&s.a.cloneElement(o,{apps:t,onClose:n}))}}Object(a.a)(ge,"defaultProps",{stage:"",apps:[]});var fe=e=>{const{stage:t,children:o}=e;return s.a.createElement("div",{className:"brz-ed-popup-integrations__progress"},s.a.Children.map(o,e=>e&&s.a.cloneElement(e,{stage:t})))};class ve extends l.Component{render(){const{stage:e,apps:t,children:o}=this.props;return s.a.Children.map(o,o=>o&&s.a.cloneElement(o,{stage:e,apps:t}))}}Object(a.a)(ve,"defaultProps",{stage:"",apps:[]}),Object(a.a)(ve,"Steps",ge),Object(a.a)(ve,"Step",e=>{let{render:t}=e;return t(Object(x.a)(e,["render"]))}),Object(a.a)(ve,"Progress",fe),Object(a.a)(ve,"Stage",({stage:e,num:t,text:o,img:n})=>{const i=g()("brz-ed-popup-integrations__progress-stage",{"brz-ed-popup-integrations__progress-stage--active":t===e});return s.a.createElement("div",{className:i},s.a.createElement("span",{className:"brz-span"},n&&s.a.createElement("img",{className:"brz-img",src:n,alt:"Logo"}),o))});var ye=ve;class Se extends l.Component{render(){const{apps:e,render:t}=this.props;return s.a.createElement("div",{className:"brz-ed-popup-integrations__apps brz-d-xs-flex brz-flex-xs-wrap"},e.map((e,o)=>t(e,o)))}}Object(a.a)(Se,"defaultProps",{apps:[],render:f.default.noop});var Oe=o(69),xe=o(210);const{upgradeToPro:Ce}=v.a.get("urls");class Be extends l.Component{constructor(...e){super(...e),Object(a.a)(this,"state",{tooltipOpen:!1}),Object(a.a)(this,"iconRef",s.a.createRef()),Object(a.a)(this,"handleTooltipOpen",()=>{this.setState({tooltipOpen:!0})}),Object(a.a)(this,"handleTooltipClose",()=>{this.setState({tooltipOpen:!1})})}renderPro(){const{img:e,title:t}=this.props,o=g()("brz-ed-popup-integrations__app-logo",this.state.tooltipOpen&&"brz-ed-popup-integrations__app-logo--open");return s.a.createElement("div",{className:"brz-ed-popup-integrations__app brz-ed-popup-integrations__app--pro"},s.a.createElement(Oe.c,{overlayClassName:"brz-ed-tooltip--delay-2",size:"small",offset:"5",openOnClick:!1,nodeRef:this.iconRef,overlay:s.a.createElement(xe.a,{text:Object(ae.a)("Upgrade to PRO to use this integration"),url:Ce}),onOpen:this.handleTooltipOpen,onClose:this.handleTooltipClose},s.a.createElement("div",{className:o},s.a.createElement("img",{className:"brz-img",src:e,alt:t}),s.a.createElement("span",{ref:this.iconRef,className:"brz-span brz-ed-popup-integrations__app-icon brz-ed-popup-integrations__app-icon--pro"},s.a.createElement(_.b,{icon:"nc-lock"})),s.a.createElement("p",{className:"brz-p brz-ed-badge brz-ed-badge--pro"},"pro")),s.a.createElement("div",{className:"brz-ed-popup-integrations__app-title"},t)))}renderFree(){const{img:e,title:t,loading:o,active:n,onClick:i}=this.props,r=g()("brz-ed-popup-integrations__app",n&&"brz-ed-popup-integrations__app--connected",o&&"brz-ed-popup-integrations__app--loading");return s.a.createElement("div",{className:r,onClick:i},s.a.createElement("div",{className:"brz-ed-popup-integrations__app-logo"},s.a.createElement("img",{className:"brz-img",src:e,alt:t}),n&&!o&&s.a.createElement("span",{className:"brz-span brz-ed-popup-integrations__app-icon"},s.a.createElement(_.b,{icon:"nc-check-small"})),o&&s.a.createElement("span",{className:"brz-span brz-ed-popup-integrations__app-icon"},s.a.createElement(_.b,{icon:"nc-circle-02",className:"brz-ed-animated--spin"}))),s.a.createElement("div",{className:"brz-ed-popup-integrations__app-title"},t))}render(){return!V.g&&this.props.pro?this.renderPro():this.renderFree()}}Object(a.a)(Be,"defaultProps",{img:"",pro:!1,shortTitle:"",loading:!1,active:!1,onClick:f.default.noop});const je=v.a.get("urls");class Pe extends l.Component{constructor(...e){super(...e),Object(a.a)(this,"state",{loadingApp:"",onConnectApp:f.default.noop})}componentDidUpdate(e){this.props.error!==e.error&&this.state.loadingApp&&this.setState({loadingApp:""})}handleChangeApp(e){const{onConnectApp:t}=this.context;t(e),this.setState({loadingApp:e.id})}renderError(){return s.a.createElement("div",{className:"brz-ed-alert brz-ed-alert-error"},s.a.createElement("span",{className:"brz-span"},this.props.error))}renderProException(){return s.a.createElement("div",{className:"brz-ed-alert brz-ed-alert-pro brz-mb-lg-0"},s.a.createElement("span",{className:"brz-span"},Object(ae.a)("Some integrations are available only in PRO")),s.a.createElement("a",{className:"brz-ed-btn brz-ed-btn-width-2 brz-ed-btn-sm brz-ed-btn-icon brz-ed-btn-icon--left brz-ed-btn-rounded brz-ed-btn-pro",rel:"noopener noreferrer",href:je.upgradeToPro,target:"_blank"},s.a.createElement(_.b,{icon:"nc-lock"}),Object(ae.a)("Get a PRO plan")))}render(){const{apps:e,height:t,proExceptions:o,error:n}=this.props,{connectedApps:i}=this.context,{loadingApp:r}=this.state;return s.a.createElement(P.a,{style:{height:t}},n&&this.renderError(),o&&this.renderProException(),s.a.createElement(Se,{apps:e,render:e=>s.a.createElement(Be,Object(C.a)({},e,{key:e.id,loading:r===e.id,active:i.includes(e.id),onClick:()=>{this.handleChangeApp(e)}}))}))}}Object(a.a)(Pe,"contextType",me),Object(a.a)(Pe,"defaultProps",{apps:[],height:"100%",proExceptions:!1,error:null});var Te=Pe;class we extends l.Component{constructor(...e){super(...e),Object(a.a)(this,"state",{loading:!0,showProgress:!0,connectedApp:"",connectedApps:[],stage:this.props.stage,stages:this.props.stages,oldStage:"",data:{},error:null,appError:null}),Object(a.a)(this,"appsData",[]),Object(a.a)(this,"appsComponent",{}),Object(a.a)(this,"proExceptions",!1),Object(a.a)(this,"handleConnectApp",async e=>{const{id:t,stages:o}=e;this.setState(Object(c.a)(n=>{n.stages=o,n.connectedApp=t,n.data[t]=e}),()=>{this.handleNext()})}),Object(a.a)(this,"handleDisconnectApp",e=>{const{stage:t,stages:o}=this.props;this.setState(Object(c.a)(n=>{const i=n.connectedApps;n.stage=t,n.stages=o,n.connectedApps=i.filter(t=>t!==e)}))}),Object(a.a)(this,"handleProgress",e=>{this.setState(e)}),Object(a.a)(this,"handleChange",(e,t)=>{this.setState(Object(c.a)(o=>{o.data[e].data=t}))}),Object(a.a)(this,"handleNext",async e=>{const{stages:t,stage:o}=this.state,n=t.findIndex(({type:e})=>e===o)+1,i=e||t[n].type,r=this.getComponent(i);let a=!1;if(r&&"function"==typeof r.onBeforeLoad){const e=t[n+1].type,o={onChangeNext:t=>{const o=t||e;a=!0,this.handleNext(o)}};await r.onBeforeLoad(this.getContextValue(),o)}a||this.setState({stage:i,oldStage:o})}),Object(a.a)(this,"handlePrev",e=>{this.setState(Object(c.a)(t=>{if("appList"===e){const{stage:e,stages:o}=this.props;t.stage=e,t.stages=o,t.connectedApp=""}else{var o;const{stage:n,stages:i}=t,r=i.findIndex(({type:e})=>e===n)-1;t.stage=e||(null===(o=i[r])||void 0===o?void 0:o.type)||"",t.oldStage=n,t.connectedApp=-1===r?"":t.connectedApp}}))}),Object(a.a)(this,"handleError",e=>{this.setState({error:e})})}getContextValue(){const{connectedApp:e,connectedApps:t,data:o,stages:n,stage:i,oldStage:r}=this.state;return{app:o[e]||{},connectedApps:t,stages:n,stage:i,oldStage:r,onChange:this.handleChange,onChangeNext:this.handleNext,onChangePrev:this.handlePrev,onConnectApp:this.handleConnectApp,onDisconnectApp:this.handleDisconnectApp,onChangeProgress:this.handleProgress,onError:this.handleError}}getConnectedApps(e){const{connectedApps:t}=this.state;return Array.isArray(e)?e.reduce((e,t)=>t.completed?[...e,t.id]:e,t):t}getComponent(e){return this.appsComponent[this.state.connectedApp][e]}renderLoading(){return s.a.createElement(he,null)}renderError(){return this.state.error&&s.a.createElement(be,{message:this.state.error})}renderApps(){const{error:e,appError:t}=this.state;return s.a.createElement(s.a.Fragment,null,e&&s.a.createElement(be,{message:e}),s.a.createElement(Te,{apps:this.appsData,proExceptions:this.proExceptions,error:t}))}renderSteps(){var e;const{showProgress:t,stage:o,stages:n,connectedApp:i,data:r}=this.state,a=t&&!(null!==(e=n.find(e=>e.type===o))&&void 0!==e&&e.hideProgress),l=n.reduce((e,t,o,n)=>{const a={num:t.type};return o===n.findIndex(e=>e.title)?a.img=r[i].img:a.text=t.title,t.title?[...e,s.a.createElement(ye.Stage,Object(C.a)({key:o},a))]:e},[]);return s.a.createElement(me.Provider,{value:this.getContextValue()},s.a.createElement(ye,{stage:o},a&&l.length>0&&s.a.createElement(ye.Progress,null,l),s.a.createElement(ye.Steps,{onClose:this.props.onClose},n.map((e,t)=>{const o=this.getComponent(e.type);return s.a.createElement(ye.Step,{key:t,num:e.type,render:e=>o&&s.a.createElement(o,Object(C.a)({},e,{apps:this.appsData}))})}))))}renderContent(){const{stage:e,stages:t}=this.state;return s.a.createElement(me.Provider,{value:this.getContextValue()},""!==e&&t.length?this.renderSteps():this.renderApps())}render(){const e=g()("brz-ed-popup-integration",this.props.className);return s.a.createElement("div",{className:e},this.state.loading?s.a.createElement(he,null):this.renderContent())}}Object(a.a)(we,"defaultProps",{className:"",tab:{},stage:"",stages:[],onLoading:f.default.noop,onTabUpdate:f.default.noop,onClose:f.default.noop});var Ee=we;o(256);function ze(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function ke(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?ze(Object(o),!0).forEach((function(t){Object(a.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):ze(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const Fe=(e,t={})=>{let o=new URL(e);return Object.entries(t).forEach(([e,t])=>{o.searchParams.append(e,t)}),o},_e=e=>e.json().then(t=>ke(ke({},t),{},{status:e.status,ok:e.ok,data:t.data||null})).then(Re).catch(()=>{throw{status:500,data:"Server Error"}}),Re=e=>{if(e.success)return e;{const{data:t}=e;return ke(ke({},e),{},{status:t.code||e.status})}},He=(e,t,o,n)=>{let i=e&&JSON.parse(e)||[];const r=t&&t.length||0;let a=t.filter(e=>e.required).length;!i.some(({target:e})=>"email"===e)&&o.some(({type:e})=>e&&"email"===e.toLowerCase())&&(i=((e,t)=>{const o=t.find(({type:e})=>e&&"email"===e.toLowerCase());return e.push({sourceId:o._id,sourceTitle:o.label,target:"email"}),e})(i,o),a--);let l=0,s=0;return o.map(({_id:e,label:o})=>{const c=i.find(({sourceId:t})=>t===e);let d=null;return c&&c.target&&"_auto_generate"!==c.target?d=c.target:(Le(r+s,n)||s<a?(d=Me(t,i,l),l++):d="_auto_generate",s++),{sourceId:e,sourceTitle:o,target:d}})},Le=(e,t)=>t&&e>=t.maxFields,Me=(e,t,o)=>{const n=f.default.pluck(e,"slug"),i=f.default.pluck(t,"target");return f.default.difference(n,i)[o]},Ie=(e,t,o="select")=>{if("select"===o){const o=f.default.pluck(e.filter(e=>e.required),"slug"),n=f.default.pluck(t,"target");return!f.default.difference(o,n).length}if("input"===o)return 0===t.filter(e=>""===e.target).length},We=e=>/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(String(e).toLowerCase());function Ne(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}const Ve=e=>{const{api:t}=v.a.get("wp"),o=v.a.get("editorVersion"),n=Fe(t.url,function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Ne(Object(o),!0).forEach((function(t){Object(a.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Ne(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({action:t.getAccounts,hash:t.hash,version:o},e||{}));return Object(ue.J)(n,{method:"GET",headers:{"Content-Type":"application/json; charset=utf-8"}}).then(_e).then(e=>e)},Ae=e=>{const{api:t}=v.a.get("wp"),o=v.a.get("editorVersion"),n=Fe(t.url,{action:t.deleteAccount,hash:t.hash,version:o,id:e});return Object(ue.J)(n,{method:"DELETE",headers:{"Content-Type":"application/json; charset=utf-8"}}).then(_e).then(e=>e)};var De=o(127),$e=o(207);const Ge=e=>{const{className:t,size:o=1,color:n="gray",type:i="button",rightIcon:r,leftIcon:a,loading:l,disabled:c,children:d,href:p,target:u,onClick:b}=e,m=g()("brz-button brz-ed-btn","brz-ed-btn-sm brz-ed-btn-rounded",t,l?"brz-ed-btn--loading":"brz-ed-btn-icon","brz-ed-btn-width-"+o,"brz-ed-btn-"+n,{"brz-ed-btn-icon--left":a},{"brz-ed-btn-icon--right":r},{"brz-ed-btn--disabled":c}),h=l?s.a.createElement(_.b,{icon:"nc-circle-02",className:"brz-ed-animated--spin"}):s.a.createElement(s.a.Fragment,null,a&&s.a.createElement(_.b,{icon:a}),d,r&&s.a.createElement(_.b,{icon:r}));switch(i){case"link":return s.a.createElement("a",{className:m,target:u,href:p,rel:"noopener noreferrer",onClick:b},h);case"button":return s.a.createElement("button",{className:m,onClick:b},h)}};class Ue extends l.Component{renderOptions(){const{active:e,data:{accounts:t,usedAccount:o,completed:n},disconnectLoading:i,onActive:r,onDisconnect:a}=this.props,l=t.map(({name:e,id:t})=>s.a.createElement($e.a,{value:t,key:t},e||"Account "+t,t===o&&n&&s.a.createElement("div",{title:"Disconnect",className:"brz-ed-popup-integrations--delete",onClick:a},s.a.createElement(_.b,{icon:i?"nc-circle-02":"nc-connection",className:i?"brz-ed-animated--spin":""}))));return s.a.createElement(P.a,{autoHeight:!0,autoHeightMax:"100%",style:{height:"auto"}},s.a.createElement(De.b,{className:"brz-ed-popup-integrations-option__radio",name:"list",defaultValue:e,onChange:r},l))}renderError(){const{error:e,data:{accounts:t}}=this.props;return s.a.createElement("div",{className:"brz-ed-alert brz-ed-alert-error"},s.a.createElement("span",{className:"brz-span"},0===t.length&&Object(ae.a)("Accounts are empty. Please connect a new account and try again."),e))}render(){const{data:{accounts:e},error:t,nextLoading:o,prevLoading:n,connectLoading:i,onConnect:r,onPrev:a,onNext:l}=this.props,c=e.length>0;return s.a.createElement("div",{className:"brz-ed-popup-integrations-step brz-ed-popup-integrations-step__account"},s.a.createElement("div",{className:"brz-ed-popup-integrations-step__head"},s.a.createElement("p",{className:"brz-p"},s.a.createElement("strong",{className:"brz-strong"},Object(ae.a)("SELECT ACCOUNT")))),s.a.createElement("div",{className:"brz-ed-popup-integrations-step__body"},(!c||t)&&this.renderError(),c&&this.renderOptions(),s.a.createElement("div",{className:"brz-ed-popup-integrations-new__option",onClick:r},s.a.createElement(_.b,{icon:i?"nc-circle-02":"nc-add",className:i?"brz-ed-animated--spin":""}),Object(ae.a)("Connect a new account")),s.a.createElement("div",{className:"brz-ed-popup-integrations-step__buttons"},s.a.createElement(Ge,{size:3,leftIcon:"nc-arrow-left",loading:n,onClick:a},Object(ae.a)("Back")),s.a.createElement(Ge,{color:"teal",rightIcon:"nc-arrow-right",loading:o,onClick:l},Object(ae.a)("Continue")))))}}Object(a.a)(Ue,"defaultProps",{id:"",title:"",shortTitle:"",description:"",img:"",form:{},data:{},active:"",nextLoading:!1,prevLoading:!1,connectLoading:!1,disconnectLoading:!1,onActive:f.default.noop,onPrev:f.default.noop,onNext:f.default.noop,onConnect:f.default.noop,onDisconnect:f.default.noop});var Ke=Ue;var Ye=e=>{const{title:t="",value:o="",icon:n="",type:i="text",required:r=!1,loading:a=!1,onChange:l=f.noop,onKeyDown:c=f.noop,onClickIcon:d=f.noop}=e;return s.a.createElement("div",{className:"brz-input__placeholder"},s.a.createElement("label",{className:"brz-label"},s.a.createElement("input",{required:!0,className:"brz-input",name:t,type:i,value:o,onChange:l,onKeyDown:c}),s.a.createElement("p",{className:"brz-p"},s.a.createElement("strong",{className:"brz-strong"},t,r&&s.a.createElement("span",{className:"brz-span"},"(",Object(ae.a)("required"),")")))),n&&s.a.createElement("div",{className:"brz-input__placeholder-icon"},a?s.a.createElement(_.b,{icon:"nc-circle-02",className:"brz-ed-animated--spin"}):s.a.createElement(_.b,{icon:n,onClick:d})))};class qe extends l.Component{constructor(...e){super(...e),Object(a.a)(this,"handleKeyDown",e=>{13===e.which&&this.props.onNext()})}renderError(){return s.a.createElement("div",{className:"brz-ed-alert brz-ed-alert-error"},s.a.createElement("span",{className:"brz-span"},this.props.error))}renderInputs(){const{data:e,onChange:t}=this.props;return e.map((e,o)=>{const{title:n,name:i,value:r}=e;return s.a.createElement(Ye,{key:o,title:n,name:i,required:!0,value:r,onChange:({target:e})=>{t(e.value,i)},onKeyDonw:this.handleKeyDown})})}render(){const{img:e,title:t,descriptions:o,error:n,nextLoading:i,prevLoading:r,onNext:a,onPrev:l,docsUrl:c}=this.props;return s.a.createElement("div",{className:"brz-ed-popup-integrations__connect"},s.a.createElement("div",{className:"brz-ed-popup-integrations__connect-head"},s.a.createElement("img",{className:"brz-img",src:e,title:t,alt:t}),s.a.createElement("p",{className:"brz-p"},o),s.a.createElement("p",{className:"brz-p brz-ed-popup-integrations__connect-info"},s.a.createElement("a",{className:"brz-a",href:c,target:"_blank",rel:"noreferrer"},Object(ae.a)("Need help"),"?"))),s.a.createElement("div",{className:"brz-ed-popup-integrations__connect-body"},n&&this.renderError(),this.renderInputs(),null!==i&&s.a.createElement(Ge,{color:"teal",loading:i,onClick:a},Object(ae.a)("Connect")),null!==r&&s.a.createElement(Ge,{color:"default",loading:r,onClick:l},Object(ae.a)("Cancel"))))}}Object(a.a)(qe,"defaultProps",{img:"",title:"",descriptions:"",data:[{title:"",name:"",value:""}],nextLoading:null,prevLoading:null,error:null,onNext:f.default.noop,onPrev:f.default.noop});var Xe=qe;class Je extends l.Component{renderError(){return s.a.createElement("div",{className:"brz-ed-alert brz-ed-alert-error"},s.a.createElement("span",{className:"brz-span"},this.props.error))}render(){const{title:e,img:t,descriptions:o,error:n,nextLoading:i,prevLoading:r,onNext:a,onPrev:l}=this.props,c=null!==i&&null!==r;return s.a.createElement("div",{className:"brz-ed-popup-integrations__connect"},s.a.createElement("div",{className:"brz-ed-popup-integrations__connect-head"},s.a.createElement("img",{className:"brz-img",src:t,alt:e}),s.a.createElement("p",{className:"brz-p"},o)),s.a.createElement("div",{className:"brz-ed-popup-integrations__connect-body"},n&&this.renderError(),c&&s.a.createElement("div",{className:"brz-ed-popup-integrations-step__buttons"},null!==i&&s.a.createElement(Ge,{color:"red",loading:i,onClick:a},Object(ae.a)("Disconnect")),null!==r&&s.a.createElement(Ge,{color:"default",loading:r,onClick:l},Object(ae.a)("Cancel")))))}}Object(a.a)(Je,"defaultProps",{title:"",descriptions:"",nextLoading:null,prevLoading:null,error:null,onNext:f.default.noop,onPrev:f.default.noop});var Ze=Je,Qe=o(19),et=o(169),tt=o(26),ot=o(324),nt=o(321),it=o(967),rt=o(973),at=o(303),lt=o(104),st=o(101);function ct(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function dt(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?ct(Object(o),!0).forEach((function(t){Object(a.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):ct(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const pt=(e,t,o,n)=>{const i=t*o,r=t*n,a=e*t;return Math.max(i,Math.min(r,a))};class ut extends l.Component{constructor(...e){super(...e),Object(a.a)(this,"state",{inputValue:""}),Object(a.a)(this,"selectRef",s.a.createRef()),Object(a.a)(this,"inputRef",s.a.createRef()),Object(a.a)(this,"handleChange",(e,t)=>{const{multiple:o,value:n,onChange:i}=this.props;if(o){if(t.isOpen||this.setState({inputValue:""}),e.hasOwnProperty("value")){const t=Array.isArray(n)?n:[];i(Object(tt.addLast)(t,e.value))}}else e&&(this.setState({inputValue:e.value}),i(e))}),Object(a.a)(this,"handleInputChange",e=>{this.setState({inputValue:e.target.value})}),Object(a.a)(this,"handleRemoveTag",e=>{const{value:t,onChange:o}=this.props;o(Object(tt.removeAt)(t,e))}),Object(a.a)(this,"handleInputKeyDown",e=>{const{value:t,multiple:o,onChange:n}=this.props;o&&8===e.keyCode&&!this.state.inputValue&&n(Object(tt.removeLast)(t))})}itemToString(e){return e?e.label:""}renderTags(e){return Array.isArray(e)?e.map((e,t)=>s.a.createElement("div",{key:t,className:"brz-control__select2-tag"},e,s.a.createElement(_.b,{icon:"nc-trash",onClick:()=>{this.handleRemoveTag(t)}}))):null}renderInput(e){const{multiple:t,selectedItem:o,isOpen:n,toggleMenu:i,inputProps:r}=e,a=t?"brz-control__select2-value-container-tag":"brz-control__select2-value-container";return s.a.createElement(it.a,null,({ref:e})=>s.a.createElement("div",{ref:e,className:a,onClick:()=>{i(),!n&&this.inputRef.current.focus()}},t&&this.renderTags(o),s.a.createElement("input",Object(C.a)({},r,{className:"brz-input brz-control__select2-value"}))))}renderDropdown(e){const{className:t,options:o,value:n,multiple:i,placement:r,fixed:a,itemHeight:l,minItems:c,maxItems:d,isOpen:p,inputValue:u,highlightedIndex:b,selectedItem:m,getItemProps:h,getMenuProps:f}=e;if(!p)return;const v=Array.isArray(n)&&i?o.filter(e=>n.every(t=>t!==e.value)):o,y=this.selectRef.current,S=y.getBoundingClientRect().width,O=y.ownerDocument.body,x=g()("brz-ed-select2-portal",t),B=new nt.a(v,["value"]);return s.a.createElement(lt.a,{node:O,className:x},s.a.createElement(rt.a,{placement:r,positionFixed:a},({ref:e,style:t,placement:o})=>{const n=B.search(u).map((e,t)=>s.a.createElement("li",Object(C.a)({key:e.value},h({index:t,item:e}),{className:g()("brz-li brz-control__select2-option",{"brz-control__select2-option--active":m===e||b===t})}),e.value));return s.a.createElement("div",{ref:e,style:dt(dt({},t),{},{width:S}),className:"brz-control__select2-menu","data-placement":o},s.a.createElement(st.a,{style:{height:pt(n.length,l,c,d)},className:"brz-control__select2-scroll-pane brz-ed-scroll--small"},s.a.createElement("ul",Object(C.a)({},f(),{className:"brz-ul"}),n.length>0?n:s.a.createElement("li",{className:"brz-li brz-control__select2-option"},Object(ae.a)("Nothing Found")))))}))}render(){const{className:e,placeholder:t,multiple:o,value:n}=this.props,{inputValue:i}=this.state,r=g()("brz-control__select2-container",e);return s.a.createElement("div",{ref:this.selectRef,className:r},s.a.createElement(at.a,null,s.a.createElement(ot.a,{initialSelectedItem:n,selectedItem:n,onChange:this.handleChange,itemToString:this.itemToString},({getInputProps:e,getItemProps:n,getMenuProps:r,isOpen:a,highlightedIndex:l,selectedItem:c,toggleMenu:d})=>s.a.createElement("div",{className:"brz-control__select2"},this.renderInput({inputProps:e({ref:this.inputRef,placeholder:t,value:i,onKeyDown:this.handleInputKeyDown,onChange:this.handleInputChange}),multiple:o,selectedItem:c,isOpen:a,toggleMenu:d}),this.renderDropdown(dt(dt({},this.props),{},{inputValue:i,isOpen:a,highlightedIndex:l,selectedItem:c,getMenuProps:r,getItemProps:n}))))))}}Object(a.a)(ut,"defaultProps",{className:"",value:null,options:[{label:"Test",value:"test"}],placement:"bottom",placeholder:"",fixed:!1,minItems:1,maxItems:5,itemHeight:30,multiple:!1,onChange:f.default.noop});var bt=ut;const mt=e=>void 0===e.type||"input"===e.type,ht=e=>"select"===e.type,gt=e=>"switch"===e.type,ft=e=>"search"===e.type;class vt extends l.Component{constructor(...e){super(...e),Object(a.a)(this,"renderSelect",({name:e,value:t,choices:o})=>{const n=o.map(({title:e,name:t},o)=>s.a.createElement(O.a,{key:`${t}-${o}`,value:t},e));return s.a.createElement("div",{className:"brz-ed-popup-integrations-step__fields-select"},s.a.createElement(S.a,{className:"brz-control__select--white",maxItems:"6",itemHeight:"30",inPortal:!0,defaultValue:t,onChange:t=>{this.props.onActive(e,t)}},n))}),Object(a.a)(this,"renderInput",({name:e,value:t})=>s.a.createElement("div",{className:"brz-ed-popup-integrations-step__fields-input"},s.a.createElement("input",{className:"brz-input",required:!0,type:"password"===e?"password":"text",value:null!=t?t:"",onChange:t=>{this.props.onActive(e,t.target.value)}}))),Object(a.a)(this,"renderSwitch",({name:e,value:t})=>s.a.createElement("div",{className:"brz-ed-popup-integrations-step__fields-input"},s.a.createElement(et.a,{className:"brz-ed-control__switch--light",defaultValue:t,onChange:t=>{this.props.onActive(e,t)}}))),Object(a.a)(this,"renderSearch",({name:e,multiple:t,value:o,choices:n})=>{const i=Boolean(o)&&t?null==o?void 0:o.split(","):o;return s.a.createElement("div",{className:"brz-ed-popup-integrations-step__fields-select"},s.a.createElement(bt,{className:"brz-control__select2--light",multiple:t,value:i,options:n,onChange:o=>{this.props.onActive(e,t?o.join(","):o.value)}}))}),Object(a.a)(this,"renderOption",Object(Qe.match)([mt,this.renderInput],[ht,this.renderSelect],[ft,this.renderSearch],[gt,this.renderSwitch]))}renderHead(){const{headTitle:e,headDescription:t}=this.props;if(e&&t)return s.a.createElement("div",{className:"brz-ed-popup-integrations-step__head"},e&&s.a.createElement("p",{className:"brz-p"},s.a.createElement("strong",{className:"brz-strong"},e)),t&&s.a.createElement("p",{className:"brz-p"},s.a.createElement("strong",{className:"brz-strong"},t)))}getHelper(e){switch(typeof e){case"string":return s.a.createElement("div",{className:"brz-ed-popup-integrations-fields__info",dangerouslySetInnerHTML:{__html:e}});case"function":return e(this.props.formFields);default:return e}}renderOptions(){const e=this.props.data.map((e,t)=>{const{title:o,required:n,helper:i}=e;return s.a.createElement("div",{key:t,className:"brz-ed-popup-integrations-step__fields-option"},s.a.createElement("div",{className:"brz-d-xs-flex brz-align-items-xs-center"},s.a.createElement("p",{className:"brz-p"},o,n&&s.a.createElement("strong",{className:"brz-strong brz--required"},"*")),i&&s.a.createElement(Oe.c,{className:"brz-ed-popup-integrations-fields__tooltip",openOnClick:!1,inPortal:!0,closeDelay:600,overlay:this.getHelper(i)},s.a.createElement(_.b,{icon:"nc-alert-circle-que"}))),this.renderOption(e))});return s.a.createElement(P.a,{autoHeight:!0,autoHeightMax:"100%",style:{height:"auto"}},e)}render(){const{description:e,error:t,prevLoading:o,nextLoading:n,onPrev:i,onNext:r}=this.props;return s.a.createElement("div",{className:"brz-ed-popup-integrations-step brz-ed-popup-integrations-step__fields"},this.renderHead(),s.a.createElement("div",{className:"brz-ed-popup-integrations-step__body"},t&&s.a.createElement(be,{message:t,type:"error"}),this.renderOptions(),e&&s.a.createElement("p",{className:"brz-p brz-ed-popup-integrations__description"},e),s.a.createElement("div",{className:"brz-ed-popup-integrations-step__buttons"},null!==o&&s.a.createElement(Ge,{size:3,leftIcon:"nc-arrow-left",loading:o,onClick:i},Object(ae.a)("Back")),null!==n&&s.a.createElement(Ge,{color:"teal",rightIcon:"nc-arrow-right",loading:n,onClick:r},Object(ae.a)("Continue")))))}}Object(a.a)(vt,"defaultProps",{formId:"",formFields:[],id:"",headTitle:"",headDescription:"",description:"",data:[],nextLoading:null,prevLoading:null,onPrev:f.default.noop,onNext:f.default.noop,onActive:f.default.noop});class yt extends l.Component{renderSelect(e,t){const{formFields:o,fields:n,restrictions:i,onActive:r}=this.props,a=f.default.pluck(o,"target");let l=n.filter(e=>-1===a.indexOf(e.slug)||e.slug===t);const c=n.length+(o.length-f.default.without(a,"_auto_generate").length);(!Le(c,i)||t&&"_auto_generate"===t)&&l.unshift({name:"Auto Generate",required:!1,slug:"_auto_generate"});const d=l.map(({required:e,name:t,slug:o})=>s.a.createElement(O.a,{key:o,value:o},s.a.createElement("span",{className:"brz-span"},t),e&&s.a.createElement("strong",{className:"brz-strong brz--required"},"*")));return s.a.createElement(S.a,{defaultValue:t,className:"brz-control__select--white",maxItems:"6",itemHeight:"30",inPortal:!0,onChange:t=>{r(e,t)}},d)}renderOptions(){const e=this.props.formFields.map(({sourceTitle:e,target:t,sourceId:o})=>s.a.createElement("div",{key:o,className:"brz-ed-popup-integrations-step__fields-option"},s.a.createElement("p",{className:"brz-p"},e),s.a.createElement("div",{className:"brz-ed-popup-integrations-step__fields-select"},this.renderSelect(o,t))));return s.a.createElement(P.a,{autoHeight:!0,autoHeightMax:"100%",style:{height:"auto"}},e)}renderError(){return s.a.createElement("div",{className:"brz-ed-alert brz-ed-alert-error"},s.a.createElement("span",{className:"brz-span"},this.props.error))}renderErrorEmpty(){return s.a.createElement("div",{className:"brz-ed-alert brz-ed-alert-error"},s.a.createElement("span",{className:"brz-span"},Object(ae.a)("Fields are empty. Please add fields and try again.")))}render(){const{title:e,error:t,formFields:o,prevLoading:n,nextLoading:i,onPrev:r,onNext:a}=this.props;return s.a.createElement("div",{className:"brz-ed-popup-integrations-step brz-ed-popup-integrations-step__fields"},s.a.createElement("div",{className:"brz-ed-popup-integrations-step__head"},s.a.createElement("p",{className:"brz-p"},s.a.createElement("strong",{className:"brz-strong"},Object(ae.a)("FORM FIELDS"))),s.a.createElement("p",{className:"brz-p"},s.a.createElement("strong",{className:"brz-strong"},e," ",Object(ae.a)("FIELDS")))),s.a.createElement("div",{className:"brz-ed-popup-integrations-step__body"},t&&this.renderError(),o.length?this.renderOptions():this.renderErrorEmpty(),s.a.createElement("div",{className:"brz-ed-popup-integrations-step__buttons"},null!==n&&s.a.createElement(Ge,{size:3,leftIcon:"nc-arrow-left",loading:n,onClick:r},Object(ae.a)("Back")),null!==i&&s.a.createElement(Ge,{color:"teal",rightIcon:"nc-arrow-right",loading:i,onClick:a},Object(ae.a)("Continue")))))}}Object(a.a)(yt,"defaultProps",{id:"",title:"",shortTitle:"",description:"",img:"",fields:[],formFields:[],restrictions:{},error:null,nextLoading:null,prevLoading:null,onActive:f.default.noop,onPrev:f.default.noop,onNext:f.default.noop});var St=yt;class Ot extends l.Component{constructor(...e){super(...e),Object(a.a)(this,"handleConfirmation",e=>{this.props.onConfirm("true"===e)})}renderError(){return s.a.createElement("div",{className:"brz-ed-alert brz-ed-alert-error"},s.a.createElement("span",{className:"brz-span"},this.props.error))}renderList(){const{active:e,lists:t,onActive:o}=this.props,n=t.map(({name:e,id:t})=>s.a.createElement($e.a,{value:t,key:t},e||"List "+t));return s.a.createElement(P.a,{autoHeight:!0,autoHeightMax:"100%",style:{height:"auto"}},s.a.createElement(De.b,{className:"brz-ed-popup-integrations-option__radio",name:"list",defaultValue:e,onChange:o},n))}renderConfirmation(){const{confirmationNeeded:e}=this.props;return s.a.createElement("div",{className:"brz-ed-popup-integrations__confirmation"},s.a.createElement("p",{className:"brz-p"},Object(ae.a)("Email confirmation to join the list")),s.a.createElement(S.a,{defaultValue:e?"true":"false",className:"brz-control__select--white",maxItems:"6",itemHeight:"30",onChange:this.handleConfirmation},s.a.createElement(O.a,{value:"false"},Object(ae.a)("Not Required")),s.a.createElement(O.a,{value:"true"},Object(ae.a)("Required"))))}renderCreateList(){const{createLoading:e,onCreateList:t}=this.props;return s.a.createElement("div",{className:"brz-ed-popup-integrations-new__option",onClick:t},s.a.createElement(_.b,{icon:e?"nc-circle-02":"nc-add",className:e?"brz-ed-animated--spin":""}),Object(ae.a)("Create a new list"))}renderProList(){return s.a.createElement(De.b,{className:"brz-ed-popup-integrations-option__radio",name:"proList",defaultValue:"none"},s.a.createElement($e.a,{value:"none"},Object(ae.a)("None")))}render(){const{listPro:e,lists:t,listsCreate:o,hasConfirmation:n,error:i,nextLoading:r,prevLoading:a,onPrev:l,onNext:c}=this.props,d=t.length>0,p=o&&o.length>0;return s.a.createElement("div",{className:"brz-ed-popup-integrations-step brz-ed-popup-integrations-step__lists"},s.a.createElement("div",{className:"brz-ed-popup-integrations-step__head"},s.a.createElement("p",{className:"brz-p"},s.a.createElement("strong",{className:"brz-strong"},Object(ae.a)("SELECT LIST")))),s.a.createElement("div",{className:"brz-ed-popup-integrations-step__body"},i&&this.renderError(),d&&this.renderList(),e&&this.renderProList(),p&&this.renderCreateList(),n&&this.renderConfirmation(),s.a.createElement("div",{className:"brz-ed-popup-integrations-step__buttons"},null!==a&&s.a.createElement(Ge,{size:3,leftIcon:"nc-arrow-left",loading:a,onClick:l},Object(ae.a)("Back")),null!==r&&s.a.createElement(Ge,{size:d||e?1:3,color:d||e?"teal":"gray",rightIcon:"nc-arrow-right",loading:r,onClick:d||e?c:null},Object(ae.a)("Continue")))))}}Object(a.a)(Ot,"defaultProps",{id:"",title:"",shortTitle:"",description:"",img:"",active:"",listPro:!1,lists:[],listsCreate:[],apiKeyValue:{},hasConfirmation:!1,createLoading:!1,confirmationNeeded:!1,nextLoading:null,prevLoading:null,error:null,onActive:f.default.noop,onConfirm:f.default.noop,onCreateList:f.default.noop,onPrev:f.default.noop,onNext:f.default.noop});var xt=Ot;class Ct extends l.Component{render(){const{title:e,onNext:t}=this.props;return s.a.createElement("div",{className:"brz-ed-popup-integrations-step brz-ed-popup-integrations-step__done"},s.a.createElement("div",{className:"brz-ed-popup-integrations-step__done-icon"},s.a.createElement(_.b,{icon:"nc-check-light"})),s.a.createElement("div",{className:"brz-ed-popup-integrations-step__done-content"},s.a.createElement("p",{className:"brz-p"},Object(ae.a)("You have successfully connect the form with")," ",e)),s.a.createElement(Ge,{color:"teal",onClick:t},Object(ae.a)("Done")))}}Object(a.a)(Ct,"defaultProps",{title:"",onNext:f.default.noop});var Bt=Ct;async function jt(e){try{return await(t=e,fetch("https://graph.facebook.com/"+t).then(({status:e})=>200===e))}catch(e){return!1}var t}function Pt(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Tt(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Pt(Object(o),!0).forEach((function(t){Object(a.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Pt(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const wt=[{name:"appid",title:"App ID"}];class Et extends l.Component{constructor(e,t){super(e),Object(a.a)(this,"handleChange",(e,t)=>{this.setState(({apiKeyValue:o})=>({apiKeyValue:Tt(Tt({},o),{},{[""+t]:e.trim()})}))}),Object(a.a)(this,"handleConnect",async()=>{const{app:e,onChangeNext:t}=this.context,{apiKeyValue:o}=this.state,n=Object.values(o);if(this.setState({nextLoading:!0,error:null}),n.some(e=>!e))await Object(ue.G)(),this.setState({error:"Fields are empty",nextLoading:!1});else{const{data:i,group:r,id:a}=e,[l]=n;if(!await jt(l))return void this.setState({isValidate:!1,error:"Your AppId is no valid, re check and try again",nextLoading:!1});if(i&&i.id){const{status:e}=await Ae(i.id);200!==e&&this.setState({nextLoading:!1,error:Object(ae.a)("Something went wrong")})}const{status:s}=await(e=>{const{api:t}=v.a.get("wp"),o=v.a.get("editorVersion"),n=Fe(t.url,{action:t.addAccount,hash:t.hash,version:o});return Object(ue.J)(n,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},body:JSON.stringify(e)}).then(_e).then(e=>e)})(Tt({service:a,group:r},o));200!==s?this.setState({nextLoading:!1,error:Object(ae.a)("Something went wrong")}):t()}}),Object(a.a)(this,"handlePrev",async()=>{this.setState({prevLoading:!0}),await Object(ue.G)(),this.context.onChangePrev()});const{app:{data:o}}=t;this.state={apiKeyValue:o||this.getDefaultValue(),nextLoading:!1,prevLoading:!1,error:null}}static async onBeforeLoad(e,t){e.app.data&&t.onChangeNext("disconnect")}getDefaultValue(){return wt.reduce((e,{name:t})=>Tt(Tt({},e),{},{[""+t]:""}),{})}render(){const{app:e}=this.context,{apiKeyValue:t,nextLoading:o,prevLoading:n,error:i}=this.state,r=wt.map(({title:e,name:o})=>({title:e,name:o,value:t[o]}));return s.a.createElement(Xe,Object(C.a)({},e,{data:r,nextLoading:o,prevLoading:n,error:i,onChange:this.handleChange,onNext:this.handleConnect,onPrev:this.handlePrev}))}}Object(a.a)(Et,"contextType",me);var zt=Et;class kt extends l.Component{constructor(e){super(e),Object(a.a)(this,"handleNext",async()=>{const{app:e,onChange:t,onDisconnectApp:o}=this.context;this.setState({nextLoading:!0,error:null});const{status:n}=await Ae(e.data.id);200===n?(o(e.id),t(e.id,null)):this.setState({nextLoading:!1,error:Object(ae.a)("Something went wrong")})}),Object(a.a)(this,"handlePrev",async()=>{this.setState({prevLoading:!0,error:null}),await Object(ue.G)(),this.context.onChangePrev("appList")}),this.state={nextLoading:!1,prevLoading:!1,error:null}}render(){const{nextLoading:e,prevLoading:t,error:o}=this.state;return s.a.createElement(Ze,Object(C.a)({},this.context.app,{descriptions:Object(ae.a)("Are you want to delete account")+" ?",nextLoading:e,prevLoading:t,error:o,onPrev:this.handlePrev,onNext:this.handleNext}))}}Object(a.a)(kt,"contextType",me);var Ft=kt;class _t extends l.Component{constructor(...e){super(...e),Object(a.a)(this,"handleClose",()=>{this.props.onClose()})}render(){const{app:e}=this.context;return s.a.createElement(Bt,Object(C.a)({},e,{onNext:this.handleClose}))}}Object(a.a)(_t,"contextType",me);var Rt=_t;class Ht{}Object(a.a)(Ht,"connect",void 0),Object(a.a)(Ht,"account",void 0),Object(a.a)(Ht,"fields",void 0),Object(a.a)(Ht,"list",void 0),Object(a.a)(Ht,"done",void 0);class Lt extends Ht{}Object(a.a)(Lt,"connect",zt),Object(a.a)(Lt,"disconnect",Ft),Object(a.a)(Lt,"done",Rt);var Mt=Lt;var It=class extends Ee{constructor(...e){super(...e),Object(a.a)(this,"appsData",[]),Object(a.a)(this,"appsComponent",n),Object(a.a)(this,"handleConnectApp",async e=>{const t=e.id,{stages:o}=this.appsData[0];await Object(ue.G)(),this.setState(Object(c.a)(n=>{n.stages=o,n.connectedApp=t,Object.assign(n.data[t],e)}),()=>{this.handleNext()})})}async componentDidMount(){const e=Object(pe.a)("integrations.json"),t=await fetch(e),o=await t.json();this.appsData=o.facebook,await this.getData()}async getData(){const{group:e,service:t}=this.props,{status:o,data:n}=await Ve({group:e,services:t});if(n&&n.length>0&&200===o){const e=n[0],{services:t}=e;this.setState(Object(c.a)(o=>{o.data[t]={data:e},o.loading=!1,o.connectedApps=[t]}))}else this.setState({loading:!1})}};const Wt=[{id:"app",title:Object(ae.a)("APPS"),icon:"nc-extensions-2",component:It}];class Nt extends l.Component{render(){const{service:e,group:t,opened:o,onClose:n}=this.props;return s.a.createElement(de,{currentTab:"app",service:e,group:t,opened:o,tabs:Wt,onClose:n})}}Object(a.a)(Nt,"defaultProps",{service:"facebook",group:"social",opened:!1,onClose:f.noop});var Vt=Nt,At=o(42),Dt=o.n(At),$t=o(46),Gt=o(8);function Ut(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Kt(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Ut(Object(o),!0).forEach((function(t){Object(a.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Ut(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}class Yt extends s.a.Component{constructor(...e){super(...e),Object(a.a)(this,"state",{currentFilter:this.props.defaultFilter}),Object(a.a)(this,"setFilter",e=>{this.setState(t=>({currentFilter:Kt(Kt({},t.currentFilter),e)}))})}render(){const{filterFn:e,data:t,children:o}=this.props,{currentFilter:n}=this.state;return o(t.filter(t=>e(t,n)),n,this.setFilter)}}function qt(e){const{className:t="",title:o="",separator:n=!1,children:i}=e,r=g()("brz-ed-popup-two-sidebar",t);return s.a.createElement("div",{className:r},o&&s.a.createElement("div",{className:"brz-ed-popup-two-sidebar-title"},o),n&&s.a.createElement("div",{className:"brz-ed-popup-two-sidebar-separator"},o),i)}function Xt(e){const{lists:t=[],counters:o={},value:n="",onChange:i=(()=>{})}=e;return t.map(({id:e,title:t,icon:r})=>null!=o[e]&&s.a.createElement("div",{key:e,title:Object(ae.a)(t),className:g()("brz-ed-popup-two-sidebar-list",{"brz-ed-popup-two-sidebar-list-active":e===n}),onClick:()=>i(e)},r&&s.a.createElement("span",{className:"brz-span brz-ed-popup-two-sidebar-list__span-icon"},s.a.createElement(_.b,{icon:r})),s.a.createElement("span",{className:"brz-span brz-ed-popup-two-sidebar-list__span-text"},t),s.a.createElement("span",{className:"brz-span brz-ed-popup-two-sidebar-list__span-new"},"new"),s.a.createElement("span",{className:"brz-span brz-ed-popup-two-sidebar-list__span-quantity"},o[e])))}function Jt(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Zt(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Jt(Object(o),!0).forEach((function(t){Object(a.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Jt(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function Qt(e){const{className:t,children:o}=e,n=g()("brz-ed-popup-two-body__sidebar",t),i=e=>{let{style:t}=e,o=Object(x.a)(e,["style"]);return s.a.createElement("div",Object(C.a)({},o,{style:Zt(Zt({},t),{},{borderRadius:"inherit",backgroundColor:"rgba(129, 138, 145, 0.5)"})}))};return s.a.createElement("div",{className:n},s.a.createElement(P.a,{renderThumbHorizontal:i,renderThumbVertical:i},s.a.createElement("div",{className:"brz-ed-popup-two-sidebar-body"},o)))}class eo extends s.a.Component{constructor(...e){super(...e),Object(a.a)(this,"handleInputChange",e=>{this.props.onChange(e.target.value)})}render(){const{className:e,value:t}=this.props,o=g()("brz-ed-popup-two-search",e);return s.a.createElement("div",{className:o},s.a.createElement("input",{type:"text",className:"brz-input brz-ed-popup-two__input",placeholder:Object(ae.a)("Type to search"),value:t,onChange:this.handleInputChange}),s.a.createElement("div",{className:"brz-ed-popup-two-search-icon"},s.a.createElement(_.b,{icon:"nc-search"})))}}Object(a.a)(eo,"defaultProps",{className:"",value:"",onChange:f.default.noop});var to=o(7),oo=o.n(to),no=o(32),io=o(51);let ro=new Map,ao=null;class lo extends l.Component{constructor(...e){super(...e),Object(a.a)(this,"state",{imageFetched:!1,showSpinner:!1}),Object(a.a)(this,"content",s.a.createRef()),Object(a.a)(this,"handleIntersection",e=>{e.forEach(({isIntersecting:e,target:t})=>{if(e){const e=ro.get(t);if(!e)return;const o=e.props.src;Object(io.f)(o).then(()=>{ao&&ao.unobserve(t),e.mounted&&e.setState({imageFetched:!0,showSpinner:!1},e.props.onImageLoaded())})}})})}componentDidMount(){const e=this.content.current;if(this.mounted=!0,null===ao){const{observerRootSelector:t,observerRootMargin:o,observerThreshold:n}=this.props,i={root:e.ownerDocument.querySelector(t),rootMargin:o,threshold:n};ao=new e.ownerDocument.defaultView.IntersectionObserver(this.handleIntersection,i),ao.POLL_INTERVAL=200}ao.observe(e),ro.set(e,this),setTimeout(()=>{this.mounted&&!this.state.imageFetched&&this.setState({showSpinner:!0})},this.props.spinnerDelay)}componentWillUnmount(){const e=this.content.current;this.mounted=!1,ao.unobserve(e),ro.delete(e),0===ro.size&&(ao.disconnect(),ao=null)}render(){const{width:e,height:t,src:o,style:n}=this.props,{imageFetched:i,showSpinner:r}=this.state,a=Math.round(t/e*100*10)/10;return s.a.createElement("div",{ref:this.content,className:"brz-observer__image",style:{paddingTop:a+"%"}},r&&s.a.createElement("div",{className:"brz-ed-option__block-thumbnail-loading"},s.a.createElement(_.b,{icon:"nc-circle-02",className:"brz-ed-animated--spin"})),i&&s.a.createElement("img",{className:"brz-img",style:n,src:o,alt:"lazyLoad Image"}))}}Object(a.a)(lo,"defaultProps",{width:100,height:100,src:"",observerRootSelector:null,observerRootMargin:"0px",observerThreshold:[0],spinnerDelay:250,style:{},onImageLoaded:f.default.noop});var so=o(17),co=o(16),po=o(68),uo=o(106),bo=o(81);function mo(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}const ho=e=>"BLOCK"===e,go=e=>"POPUP"===e,fo=e=>"LAYOUT"===e,vo=(e,t)=>t?e+":1":e+":0",yo=(e,t,o)=>{const n=v.a.getAll(),{editorVersion:i}=n;if(Object(bo.a)(n)){const{url:r,hash:a,downloadBlocks:l,downloadLayouts:s}=n.wp.api,c=Object(Qe.match)([ho,()=>l],[fo,()=>s],[go,()=>l]),d=Object(uo.c)({hash:a,uid:vo(t,o),version:i,action:c(e),type:e.toLowerCase()});return Object(uo.e)(r)?`${r}&${d}`:`${r}?${d}`}const r=n.urls.api+"/zip_template/export",l=Object(uo.c)(function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?mo(Object(o),!0).forEach((function(t){Object(a.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):mo(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({id:t,version:i,type:e.toLowerCase(),pro:o?"1":"0"},{}));return Object(uo.e)(r)?`${r}&${l}`:`${r}?${l}`},So=e=>"object"!=typeof e?Object(ae.a)("Something went wrong"):(e=>"data"in e)(e)?e.data:(e=>"errors"in e&&Array.isArray(e.errors))(e)?e.errors[0].message:Object(ae.a)("Something went wrong");var Oo=o(246),xo=o(59);const Co=e=>{var t,o;const n=null!==(t=e.component.resolve)&&void 0!==t?t:{};return{id:e.component.id,resolve:null!==(o=Object(tt.getIn)(n,["value","items",0]))&&void 0!==o?o:{}}},Bo=["WPFeaturedImage"],jo=["SectionPopup2","SectionPopup","SectionFooter","SectionHeader"],Po=({models:e,globalBlocks:t})=>{const o=Object.values(Oo.a).reduce((e,t)=>e.concat(t),[]).filter(e=>e.pro).map(Co),{obj:n}=Object(xo.a)(e,e=>{const n=String(e.type);if("GlobalBlock"===n&&t){const o=Object(tt.getIn)(e,["value","_id"]);if(o&&t[o])return Po({models:t[o],globalBlocks:t})}return!!jo.includes(n)||o.find(({resolve:e,id:t})=>{const o=e.type===n;return(!o||!Bo.includes(t))&&o})});return Object(co.n)(n)},To=e=>{const t=Object(Qe.match)([ho,()=>Object(ae.a)("Could not download Saved block")],[fo,()=>Object(ae.a)("Could not download Saved Layout")],[go,()=>Object(ae.a)("Could not download Saved Popup")]);po.a.error(t(e),{toastContainer:window.parent.document.body})},wo=e=>{const{id:t,type:o}=e,[n,i]=Object(l.useState)(!1),r=Object(l.useRef)(null),[a,c]=Object(l.useState)(void 0),d=Object(l.useCallback)(async()=>{i(!0),c(void 0);const e=Object(Qe.match)([ho,()=>Object(ue.y)(t)],[fo,()=>Object(ue.A)(t)],[go,()=>Object(ue.y)(t)]);try{const{data:n}=await e(o);if(r.current){const e=Po({models:n}),r=yo(o,t,e);c(r),i(!1)}}catch(e){0,r.current&&(i(!1),To(o))}},[t,o,r]),p=Object(l.useCallback)(()=>{To(o),c(void 0)},[o,a]);return s.a.createElement("div",{ref:r,title:Object(ae.a)("Download this block"),className:"brz-ed-popup-two-block-download",onClick:n?void 0:d},a&&s.a.createElement("iframe",{src:a,hidden:!0,onLoad:p}),n?s.a.createElement(_.b,{icon:"nc-circle-02",className:"brz-ed-animated--spin"}):s.a.createElement(_.b,{icon:"nc-down"}))},{upgradeToPro:Eo}=v.a.get("urls"),zo={animationName:"fadeIn",animationFillMode:"both",animationDelay:"200ms",animationDuration:"200ms"};class ko extends l.Component{constructor(...e){super(...e),Object(a.a)(this,"state",{tooltipOpen:!1}),Object(a.a)(this,"iconRef",s.a.createRef()),Object(a.a)(this,"handleTooltipOpen",()=>{this.setState({tooltipOpen:!0})}),Object(a.a)(this,"handleTooltipClose",()=>{this.setState({tooltipOpen:!1})}),Object(a.a)(this,"handleClick",()=>{const{data:e,onAdd:t}=this.props;e.loading||e.inactive||t(e)}),Object(a.a)(this,"handleRemove",()=>{const{data:e,onRemove:t}=this.props;t(e)}),Object(a.a)(this,"handleSync",()=>{const{data:e,onSync:t}=this.props;t(e)})}renderBlank(){var e,t;const{data:{pro:o}}=this.props,n=!V.g&&o,i=null!==(e=null===(t=this.props.data)||void 0===t?void 0:t.blankTitle)&&void 0!==e?e:Object(ae.a)("Create your own"),r=g()("brz-ed-popup-two-block-item","brz-ed-popup-two-block__blank","brz-ed-popup-two-block__blank-first",{"brz-ed-popup-two-block__blank--pro":n});return n?s.a.createElement(Oe.c,{overlayClassName:"brz-ed-tooltip--delay-1",size:"small",offset:"5",openOnClick:!1,nodeRef:this.iconRef,overlay:s.a.createElement(xe.a,{text:Object(ae.a)("Upgrade to PRO to use this block"),url:Eo}),onOpen:this.handleTooltipOpen,onClose:this.handleTooltipClose},s.a.createElement("div",{className:r},s.a.createElement("p",{ref:this.iconRef,className:"brz-p brz-d-xs-flex brz-align-items-xs-center"},s.a.createElement(_.b,{icon:"nc-lock"})," ",i),s.a.createElement("p",{className:"brz-p brz-ed-badge brz-ed-badge--pro"},"pro"))):s.a.createElement("div",{onClick:this.handleClick,className:r},s.a.createElement("div",{className:"brz-ed-container-trigger brz-ed-container-trigger--small"}),s.a.createElement("p",{className:"brz-p"},i))}renderPro(){const{animation:e,isLayout:t,data:{thumbnailSrc:o,thumbnailWidth:n,thumbnailHeight:i},onImageLoaded:r}=this.props,{width:a,height:l}=Object(io.e)(n,i,292),c=g()("brz-figure brz-ed-popup-two-block-item",this.state.tooltipOpen&&"brz-ed-popup-two-block-item--active"),d=s.a.createElement(s.a.Fragment,null,s.a.createElement(lo,{observerRootSelector:".brz-ed-popup-two-blocks-body",style:e?zo:{},src:o,width:a,height:l,onImageLoaded:r}),s.a.createElement("p",{className:"brz-p brz-ed-badge brz-ed-badge--pro"},"pro"));return t?s.a.createElement("figure",{className:c,onClick:this.handleClick},d):s.a.createElement(Oe.c,{overlayClassName:"brz-ed-tooltip--delay-1",size:"small",offset:"5",openOnClick:!1,nodeRef:this.iconRef,overlay:s.a.createElement(xe.a,{text:Object(ae.a)("Upgrade to PRO to use this block"),url:Eo}),onOpen:this.handleTooltipOpen,onClose:this.handleTooltipClose},s.a.createElement("figure",{className:c},d,s.a.createElement("span",{ref:this.iconRef,className:"brz-ed-popup-two-block__span-lock"},s.a.createElement(_.b,{icon:"nc-lock"}))))}renderFree(){const{animation:e,data:{thumbnailSrc:t,thumbnailWidth:o,thumbnailHeight:n},onImageLoaded:i}=this.props,{width:r,height:a}=Object(io.e)(o,n,292);return s.a.createElement("figure",{className:"brz-figure brz-ed-popup-two-block-item",onClick:this.handleClick},s.a.createElement(lo,{observerRootSelector:".brz-ed-popup-two-blocks-body",style:e?zo:{},src:t,width:r,height:a,onImageLoaded:i}))}renderRemoveIcon(){return s.a.createElement("div",{className:"brz-ed-badge__delete brz-ed-popup-two-block-remove",onClick:this.handleRemove},s.a.createElement(_.b,{icon:"nc-trash"}))}renderSyncIcon(){const{isAuthorized:e,data:{synchronizable:t,synchronized:o}}=this.props;if(t&&e){const e=g()("brz-ed-popup-two-block-sync",{"brz-ed-popup-two-block-sync--uploaded":o}),t=o?Object(ae.a)("Block is synchronized"):Object(ae.a)("Block will be synchronized");return s.a.createElement("div",{title:t,className:e,onClick:this.handleSync},s.a.createElement(_.b,{icon:o?"nc-check-circle-on":"nc-reverse-glyph"}))}}renderLoading(){return s.a.createElement("div",{className:"brz-ed-popup-two-block--loading"},s.a.createElement(_.b,{icon:"nc-circle-02",className:"brz-ed-animated--spin"}))}renderDownloadIcon(){const{uid:e,type:t}=this.props.data;return s.a.createElement(wo,{id:e,type:t})}render(){const{isLayout:e,showSync:t,showDownload:o,data:{blank:n,showRemoveIcon:i,pro:r,loading:a,inactive:l,renderWrapper:c}}=this.props,d=!V.g&&r,p=n&&"blank"===n,u=g()("brz-ed-popup-two-block",co.d&&"brz-ed-popup-two-block-stories",d&&"brz-ed-popup-two-block--pro",e&&"brz-ed-popup-two-block--layout",l&&"inactive");let b;return p?b=this.renderBlank():(b=d?this.renderPro():this.renderFree(),c&&(b=c(b))),s.a.createElement("div",{className:u},b,i&&this.renderRemoveIcon(),a&&this.renderLoading(),(t||o)&&!p&&s.a.createElement("div",{className:"brz-ed-popup-two-block__bottom-control"},o&&this.renderDownloadIcon(),t&&this.renderSyncIcon()))}}Object(a.a)(ko,"defaultProps",{showRemoveIcon:!1,data:{},animation:!1,isLayout:!1,isAuthorized:!1,onAdd:f.default.noop,onRemove:f.default.noop,onImageLoaded:f.default.noop}),Object(a.a)(ko,"propTypes",{showRemoveIcon:oo.a.bool,blockData:oo.a.object,animation:oo.a.bool,isLayout:oo.a.bool,isAuthorized:oo.a.bool,showSync:oo.a.bool,showDownload:oo.a.bool,onAdd:oo.a.func,onRemove:oo.a.func,onImageLoaded:oo.a.func,onSync:oo.a.func});class Fo extends l.Component{constructor(...e){super(...e),Object(a.a)(this,"state",{thumbnailLoaded:!1}),Object(a.a)(this,"handleLoaded",()=>{this.setState({thumbnailLoaded:!0})})}render(){const e=this.props,{data:{name:t,pages:o,color:n}}=e,i=Object(x.a)(e,["data"]),{thumbnailLoaded:r}=this.state,a=g()("brz-ed-popup-two-block-info",co.d&&"brz-ed-popup-two-block-info-stories");return s.a.createElement("div",{className:a,style:r?zo:{}},s.a.createElement(ko,Object(C.a)({},i,{data:this.props.data,isLayout:!0,onImageLoaded:this.handleLoaded})),r&&o.length>1&&s.a.createElement("span",{className:"brz-ed-popup-two-block-info-color",style:{backgroundColor:n}},s.a.createElement("span",{className:"brz-ed-popup-two-block-info-color-opacity",style:{backgroundColor:n}})),s.a.createElement("div",{className:"brz-ed-popup-two-block-info-downline"},s.a.createElement("div",{className:"brz-ed-popup-two-block-info-title"},t),s.a.createElement("div",{className:"brz-ed-popup-two-block-info-title"},o.length," ",o.length>1?co.d?Object(ae.a)("stories"):Object(ae.a)("layouts"):co.d?Object(ae.a)("story"):Object(ae.a)("layout"))))}}const _o=e=>({isAuthorized:"connected"===Object(so.a)(e)}),Ro=Object(no.b)(_o)(Fo);var Ho=Object(no.b)(_o)(ko);class Lo extends l.Component{constructor(...e){super(...e),Object(a.a)(this,"state",{currentColumns:this.props.columns}),Object(a.a)(this,"handleResize",()=>{const e=window.innerWidth,{responsive:t,columns:o}=this.props;if(t&&t.length){const n=t.reduce((t,o)=>o.breakpoint>e&&(void 0===t.breakpoint||t.breakpoint>o.breakpoint)?o:t,{});this.setState({currentColumns:n.settings&&n.settings.columns||o})}})}componentDidMount(){this.handleResize(),window.addEventListener("resize",this.handleResize)}componentWillUnmount(){window.removeEventListener("resize",this.handleResize)}render(){const{data:e,showSync:t,showDownload:o,onThumbnailAdd:n,onThumbnailRemove:i,ThumbnailComponent:r}=this.props,{currentColumns:a}=this.state,l=[];for(let e=0;e<a;e++)l.push([]);const c=g()("brz-ed-popup-two-blocks__grid__column",co.d&&"brz-ed-popup-two-blocks__grid__column-stories"),d=e.reduce((e,l,c)=>{var d;const p=null!==(d=l.type)&&void 0!==d?d:"block",u=s.a.createElement(r,{key:`${c}-${p}`,animation:!0,showSync:t,showDownload:o,data:l,onAdd:n,onRemove:i});return e[c%a].push(u),e},l).map((e,t)=>s.a.createElement("div",{key:t,className:c,style:{width:100/a+"%",flexBasis:100/a+"%"}},e));return s.a.createElement("div",{className:"brz-ed-popup-two-blocks__grid"},d)}}function Mo(e){const t=v.a.get("urls").templateThumbnails;return t?`${t}/${e.id}.jpg`:Object(pe.a)(`thumbs/${e.id}.jpg`)}Object(a.a)(Lo,"defaultProps",{columns:co.d?5:4,responsive:[{breakpoint:1460,settings:{columns:co.d?4:3}},{breakpoint:1200,settings:{columns:3}}],ThumbnailComponent:Ho});class Io extends l.Component{constructor(...e){super(...e),Object(a.a)(this,"state",{imageFetched:!1,showSpinner:!1}),Object(a.a)(this,"mounted",!1)}componentDidMount(){const{src:e,spinnerDelay:t}=this.props;this.mounted=!0,Object(io.f)(e).then(()=>{this.setState({imageFetched:!0,showSpinner:!1})}),setTimeout(()=>{this.mounted&&!this.state.imageFetched&&this.setState({showSpinner:!0})},t)}render(){const{imageFetched:e,showSpinner:t}=this.state,{className:o,src:n,style:i}=this.props,r=g()("brz-img",o);return s.a.createElement(l.Fragment,null,e&&s.a.createElement("img",{className:r,src:n,style:i}),t&&s.a.createElement(_.b,{icon:"nc-circle-02",className:"brz-ed-animated--spin"}))}}Object(a.a)(Io,"defaultProps",{className:"",src:"",style:{},spinnerDelay:250});var Wo=o(100),No=o(40),Vo=o(53);function Ao(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Do(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Ao(Object(o),!0).forEach((function(t){Object(a.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Ao(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const $o=v.a.get("urls"),Go={animationName:"fadeIn",animationFillMode:"both",animationDelay:"200ms",animationDuration:"200ms"},Uo=Object(no.b)(e=>({projectStyles:Object(so.N)(e),projectFonts:Object(so.o)(e)}));class Ko extends l.Component{constructor(...e){super(...e),Object(a.a)(this,"state",{active:this.props.data.pages[0].id,thumbnailHeight:0,transition:0,previewPointer:"none",replaceStyle:!1,loading:!1}),Object(a.a)(this,"thumbnailDetails",s.a.createRef()),Object(a.a)(this,"timeoutId",void 0),Object(a.a)(this,"handleUpdateThumbnail",()=>{var e,t;this.setState({thumbnailHeight:null!==(e=null===(t=this.thumbnailDetails.current)||void 0===t?void 0:t.clientHeight)&&void 0!==e?e:0})}),Object(a.a)(this,"handleBack",()=>{this.props.onBack()}),Object(a.a)(this,"handleThumbnailAdd",async()=>{const{type:e,data:t,projectFonts:o,onAddBlocks:n,onClose:i}=this.props,{active:r,replaceStyle:a,loading:l}=this.state;if(l)return;this.setState({loading:!0});const s=await fetch(Object(Vo.h)(e,r)),{blocks:c}=await s.json(),d=Object(Wo.b)({models:c});let p;if(!this.hasStyleInProject()){p=Object(No.u)(t.styles);const e=Object(A.e)(p,({fontStyles:e})=>e),o=Object(Wo.d)(e);d.push(...o)}const u=await Object(No.t)(Object(Wo.a)(d,o));this.setState({loading:!1},()=>{var e,o;n({blocks:c,styles:p,fonts:u,currentStyleId:a?null===(e=t.styles)||void 0===e||null===(o=e[0])||void 0===o?void 0:o.id:void 0}),i()})}),Object(a.a)(this,"handleReplaceStyling",()=>{this.setState({replaceStyle:!this.state.replaceStyle})})}getTransition(e){return e/500}hasStyleInProject(){const{projectStyles:e,data:{styles:t}}=this.props;return e.find(({id:e})=>null==t?void 0:t.some(({id:t})=>t===e))}componentDidMount(){this.handleUpdateThumbnail(),window.addEventListener("resize",this.handleUpdateThumbnail);const e=setTimeout(()=>{this.setState({previewPointer:"auto"})},200);this.timeoutId=$.b(e)}componentWillUnmount(){window.removeEventListener("resize",this.handleUpdateThumbnail),clearTimeout(this.timeoutId)}renderSlotLeft(e){const{HeaderSlotLeft:t}=this.props;return t?s.a.createElement(t,null,e):e}render(){var e;const{type:t,data:{name:o,pages:n,styles:i=[],pro:r}}=this.props,{active:a,thumbnailHeight:l,previewPointer:c,replaceStyle:d,loading:p}=this.state,u="stories"===t,b=n.find(({id:e})=>e===a),m=Mo(b),h=n.map((e,t)=>{const o=g()("brz-ed-popup-two-details-page-select",u&&"brz-ed-popup-two-details-page-select-stories",{"brz-ed-popup-two-details-page-select-active-block":e.id===a}),n=Mo(e);return s.a.createElement("div",{key:t,className:o,onClick:()=>{this.setState({active:e.id})}},s.a.createElement(Io,{src:n,style:Go}),s.a.createElement("div",{className:"brz-ed-popup-two-details-page-select-active"},e.title))}),f=!V.g&&r,v=g()("brz-ed-popup-two-details-preview",u&&"brz-ed-popup-two-details-preview-stories"),y=g()("brz-ed-popup-two-details-right",u&&"brz-ed-popup-two-details-right-stories"),S=g()("brz-ed-popup-two-body__content brz-ed-popup-two-blocks__grid brz-ed-popup-two-details",u&&"brz-ed-popup-two-details-stories");return s.a.createElement(s.a.Fragment,null,this.renderSlotLeft(s.a.createElement("div",{className:"brz-ed-popup-two-header__search brz-ed-popup-two-header__search--hidden"})),s.a.createElement("div",{className:S},s.a.createElement("div",{className:"brz-ed-popup-two-details-left"},s.a.createElement("div",{className:"brz-ed-popup-two-details-back",onClick:this.handleBack},s.a.createElement(_.b,{icon:"nc-arrow-left",className:"brz-ed-popup-two-details-back-icon"}),u?Object(ae.a)("Back to Stories"):Object(ae.a)("Back to Layouts")),s.a.createElement("div",{ref:this.thumbnailDetails,className:v,style:{"--thumbnailHeight":l+"px","--previewPointer":""+c}},u?s.a.createElement(Io,{className:"brz-ed-popup-two-details-preview-img brz-ed-popup-two-details-preview-img-stories",src:m}):s.a.createElement(Io,{className:"brz-ed-popup-two-details-preview-img",src:m,style:Do(Do({},Go),{},{"--transitionPreview":`transform ${this.getTransition(null!==(e=null==b?void 0:b.thumbnailHeight)&&void 0!==e?e:0)}s linear`})}))),s.a.createElement("div",{className:y},s.a.createElement("div",{className:"brz-ed-popup-two-details-title"},s.a.createElement("h2",{className:"brz-ed-popup-two-details-title-name"},o),s.a.createElement("div",{className:"brz-ed-popup-two-details-title-count"},n.length," ",n.length>1?u?Object(ae.a)("stories"):Object(ae.a)("layouts"):u?Object(ae.a)("story"):Object(ae.a)("layout"))),s.a.createElement("div",{className:"brz-ed-popup-two-details-page"},s.a.createElement(P.a,null,h))),s.a.createElement("div",{className:"brz-ed-popup-two-details-footer"},s.a.createElement("div",{className:"brz-ed-popup-two-details-footer-grid"},s.a.createElement("div",{className:"brz-ed-popup-two-details-footer-render"},s.a.createElement("div",{className:"brz-ed-popup-two-details-footer-radio"},f?s.a.createElement("div",{className:"brz-ed-popup-two-details-footer-radio-button brz-ed-popup-two-details-footer-radio-button--pro"},u?Object(ae.a)("Upgrade to PRO to use this story"):Object(ae.a)("Upgrade to PRO to use this layout")):i.length>0&&s.a.createElement("div",{className:"brz-ed-popup-two-details-footer-radio-button",onClick:this.handleReplaceStyling},s.a.createElement(_.b,{icon:d?"nc-check":"nc-uncheck",className:"brz-ed-popup-two-details-footer-radio-icon"}),Object(ae.a)("Replace global styling"))),f?s.a.createElement(Ge,{type:"link",color:"pro",size:2,href:$o.upgradeToPro,target:"_blank",leftIcon:"nc-lock"},Object(ae.a)("Get a PRO plan")):s.a.createElement(Ge,{type:"button",color:"teal",size:2,loading:p,onClick:this.handleThumbnailAdd},u?Object(ae.a)("Import This Story"):Object(ae.a)("Import This Layout")))))))}}Object(a.a)(Ko,"defaultProps",{type:"templates",data:{name:"",color:"",cat:[],pages:[],pro:!1,keywords:""},onClose:f.default.noop,onAddBlocks:f.default.noop,onBack:f.default.noop});var Yo=Uo(Ko);function qo(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Xo(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?qo(Object(o),!0).forEach((function(t){Object(a.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):qo(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const Jo={category:"*",search:""};class Zo extends l.Component{constructor(...e){super(...e),Object(a.a)(this,"state",{data:void 0,detailsData:void 0}),Object(a.a)(this,"filterFn",(e,t)=>{var o;const n=new RegExp(null===(o=t.search)||void 0===o?void 0:o.replace(/[.*+?^${}()|[\]\\]/g,""),"i"),i="*"===t.category||e.cat.includes(Number(t.category)),r=""===t.search||n.test(e.keywords)||n.test(e.name);return i&&r}),Object(a.a)(this,"handleThumbnailAdd",e=>{this.setState({detailsData:e})}),Object(a.a)(this,"handleBlankThumbnailAdd",async e=>{const{onAddBlocks:t,onClose:o}=this.props;t({blocks:[Xo(Xo({},await this.getBlockResolve(e.id)),{},{blockId:e.id})],fonts:[]}),o()}),Object(a.a)(this,"renderThumbnail",e=>{let{data:t}=e,o=Object(x.a)(e,["data"]);const{type:n}=this.props;return"stories"===n&&t.blank?s.a.createElement(Ho,Object(C.a)({},o,{data:t.pages[0],onAdd:this.handleBlankThumbnailAdd})):s.a.createElement(Ro,Object(C.a)({data:t},o))})}async componentDidMount(){const e=await this.getData();this.setState({data:e})}async getData(){const e=Object(pe.a)(this.props.type+"/meta.json"),t=await fetch(e);return await t.json()}getLayoutData(e){return(e=>"stories"in e)(e)?e.stories:e.templates}async getBlockResolve(e){const t=Object(Vo.h)(this.props.type,e),o=await fetch(t);return await o.json()}renderSlotLeft(e){const{HeaderSlotLeft:t}=this.props;return t?s.a.createElement(t,null,e):e}renderLoading(){const{showSidebar:e,showSearch:t}=this.props;return s.a.createElement(s.a.Fragment,null,t&&this.renderSlotLeft(s.a.createElement(eo,{className:"brz-ed-popup-two-header__search"})),e&&s.a.createElement("div",{className:"brz-ed-popup-two-body__sidebar"},s.a.createElement("div",{className:"brz-ed-popup-two-sidebar-body"})),s.a.createElement("div",{className:"brz-ed-popup-two-body__content brz-ed-popup-two-body__content--loading"},s.a.createElement(_.b,{icon:"nc-circle-02",className:"brz-ed-animated--spin"})))}renderList(e){const{showSidebar:t,showSearch:o}=this.props,n=this.getLayoutData(e),i=n.map(e=>Xo(Xo(Xo({},e),e.pages[0]),{},{thumbnailSrc:Mo(e.pages[0])})),r={};for(let e=0;e<n.length;e++){const t=n[e].cat;for(let e=0;e<t.length;e++){const o=t[e];r["*"]=n.length,void 0===r[o]?r[o]=1:r[o]++}}const a=[{id:"*",title:Object(ae.a)("All Categories")}].concat(e.categories).filter(({hidden:e})=>!0!==e);return s.a.createElement(Yt,{data:i,filterFn:this.filterFn,defaultFilter:Jo},(e,n,i)=>s.a.createElement(s.a.Fragment,null,o&&this.renderSlotLeft(s.a.createElement(eo,{className:"brz-ed-popup-two-header__search",value:n.search,onChange:e=>i({search:e})})),t&&s.a.createElement(Qt,null,s.a.createElement(qt,{title:"CATEGORIES"},s.a.createElement(Xt,{lists:a,value:n.category,counters:r,onChange:e=>i({category:e})}))),s.a.createElement("div",{className:"brz-ed-popup-two-body__content brz-ed-popup-two-blocks-body-layouts"},s.a.createElement(P.a,null,e.length>0?s.a.createElement(Lo,{data:e,ThumbnailComponent:this.renderThumbnail,onThumbnailAdd:this.handleThumbnailAdd}):s.a.createElement("div",{className:"brz-ed-popup-two-blocks__grid brz-ed-popup-two-blocks__grid-clear"},s.a.createElement("p",{className:"brz-ed-popup-two-blocks__grid-clear-text"},Object(ae.a)("Nothing here, please refine your search.")))))))}renderDetails(e){const{type:t,onAddBlocks:o,onClose:n,HeaderSlotLeft:i}=this.props;return s.a.createElement(Yo,{type:t,data:e,HeaderSlotLeft:i,onAddBlocks:o,onBack:()=>{this.setState({detailsData:void 0})},onClose:n})}render(){const{data:e,detailsData:t}=this.state;return e?t?this.renderDetails(t):this.renderList(e):this.renderLoading()}}Object(a.a)(Zo,"defaultProps",{type:"templates",showSidebar:!0,showSearch:!0,onAddBlocks:f.default.noop,onClose:f.default.noop,onNext:f.default.noop});var Qo=o(24);let en={type:0,category:"*",search:""};class tn extends l.Component{constructor(...e){super(...e),Object(a.a)(this,"filterData",(e,t)=>{const o=t.type===e.type,n="*"===t.category||e.cat.includes(Number(t.category)),i=""===t.search||new RegExp(t.search.replace(/[.*+?^${}()|[\]\\]/g,""),"i").test(e.keywords);return o&&n&&i})}getTypesCounters(){const{blocks:e,types:t}=this.props,o=t.reduce((e,{id:t})=>Object.assign(e,{[t]:0}),{});return e.forEach(({type:e})=>{o[e]++}),o}getCategoriesCounter(e){let{blocks:t,types:o,showType:n}=this.props,i=t.length;return n&&o.length&&(t=t.filter(t=>t.type===e),i=t.length),t.reduce((e,{cat:t})=>(t.forEach(t=>{e[t]?Object.assign(e,{[t]:++e[t]}):Object.assign(e,{[t]:1})}),e),{"*":i})}renderLoading(){const{showSidebar:e,showSearch:t,HeaderSlotLeft:o}=this.props;return s.a.createElement(s.a.Fragment,null,t&&s.a.createElement(o,null,s.a.createElement(eo,{className:"brz-ed-popup-two-header__search"})),e&&s.a.createElement("div",{className:"brz-ed-popup-two-body__sidebar"},s.a.createElement("div",{className:"brz-ed-popup-two-sidebar-body"})),s.a.createElement("div",{className:"brz-ed-popup-two-body__content brz-ed-popup-two-body__content--loading"},s.a.createElement(_.b,{icon:"nc-circle-02",className:"brz-ed-animated--spin"})))}render(){const{loading:e,kits:t,blocks:o,types:n,categories:i,selectedKit:r,showSearch:a,showSidebar:l,HeaderSlotLeft:c,onChangeKit:d,onChange:p}=this.props;if(e)return this.renderLoading();const u=t.filter(({id:e})=>e!==r).length>0,b=n.length>0,m=i.length>0;return s.a.createElement(Yt,{data:o,filterFn:this.filterData,defaultFilter:en},(e,o,h)=>(en.type=o.type,s.a.createElement(s.a.Fragment,null,a&&s.a.createElement(c,null,s.a.createElement(eo,{className:"brz-ed-popup-two-header__search",value:o.search,onChange:e=>h({search:e})})),l&&s.a.createElement(Qt,null,u&&s.a.createElement(qt,{title:"BLOCKS"},s.a.createElement(S.a,{defaultValue:r,className:"brz-control__select--dark brz-control__select--full-width",maxItems:"6",itemHeight:"30",onChange:d},t.map(({id:e,name:t},o)=>s.a.createElement(O.a,{key:o,value:e},t)))),b&&s.a.createElement(qt,{title:"STYLES"},s.a.createElement(Xt,{lists:n,counters:this.getTypesCounters(),value:o.type,onChange:e=>h({type:e})})),m&&s.a.createElement(qt,{title:"CATEGORIES"},s.a.createElement(Xt,{lists:i,counters:this.getCategoriesCounter(o.type),value:o.category,onChange:e=>h({category:e})}))),s.a.createElement("div",{className:"brz-ed-popup-two-body__content"},s.a.createElement(P.a,null,e.length>0?s.a.createElement(Lo,{data:e,onThumbnailAdd:p}):s.a.createElement("div",{className:"brz-ed-popup-two-blocks__grid brz-ed-popup-two-blocks__grid-clear"},s.a.createElement("p",{className:"brz-ed-popup-two-blocks__grid-clear-text"},Object(ae.a)("Nothing here, please refine your search."))))))))}}Object(a.a)(tn,"defaultProps",{showSidebar:!0,showSearch:!0,loading:!1,kits:[],styles:[],types:[],categories:[],blocks:[],HeaderSlotLeft:f.default.noop,onAddBlocks:f.default.noop,onClose:f.default.noop,onChange:f.default.noop,onChangeKit:f.default.noop});var on=tn;function nn(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function rn(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?nn(Object(o),!0).forEach((function(t){Object(a.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):nn(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}class an extends l.Component{constructor(...e){super(...e),Object(a.a)(this,"state",{kits:[],loading:!0,styles:[],types:[],categories:[],blocks:[]}),Object(a.a)(this,"mounted",!1),Object(a.a)(this,"handleThumbnailAdd",async e=>{const{projectFonts:t,onAddBlocks:o,onClose:n}=this.props,i=rn(rn({},await this.getBlockResolve(e.id)),{},{blockId:e.id}),r=Object(Wo.a)(Object(Wo.b)({models:i}),t);o({block:i,fonts:await Object(No.t)(r)}),n()}),Object(a.a)(this,"handleImportKit",async e=>{const{selectedKit:t,projectFonts:o,projectStyles:n,dispatch:i}=this.props,{kits:r}=this.state;if(t===e)return;const a=this.getKitData(r,e),{styles:l}=a;if(this.setState(a),l.some(({id:e})=>!n.some(({id:t})=>t===e))){const t=l.reduce((e,{fontStyles:t})=>e.concat(Object(Wo.d)(t)),[]),n=await Object(No.t)(Object(Wo.a)(t,o));i(Object(Qo.s)({selectedKit:e,styles:l?Object(No.u)(l):void 0,fonts:n}))}else i(Object(Qo.H)(e))})}async getMeta(){const{type:e}=this.props;if("popup"===e){const e=await fetch(Object(pe.a)("popups/meta.json"));return await e.json()}{const e=await fetch(Object(pe.a)("kits/meta.json"));return await e.json()}}async getBlockResolve(e){const{type:t}=this.props;if("popup"===t){const t=await fetch(Object(Vo.h)("popups",e));return await t.json()}{const t=await fetch(Object(Vo.h)("kits",e));return await t.json()}}getKitData(e,t=this.props.selectedKit){const o=e.find(({id:e})=>e===t),{categories:n,blocks:i,styles:r,types:a}=o,l=[{id:"*",title:Object(ae.a)("All Categories")},...n],s=i.map(e=>rn(rn({},e),{},{thumbnailSrc:Object(Vo.a)(e)}));return{kits:e,styles:r,types:a,categories:l.filter(({hidden:e})=>!0!==e),blocks:s}}getPopupData({blocks:e,categories:t=[],types:o=[]}){const n=[{id:"*",title:Object(ae.a)("All Categories")},...t];return{types:o,blocks:e.map(e=>rn(rn({},e),{},{pro:(!co.a||"blank"!==e.blank)&&e.pro,thumbnailSrc:Object(Vo.a)(e)})),categories:n.filter(({hidden:e})=>!0!==e)}}async componentDidMount(){this.mounted=!0;const e=await this.getMeta();if(this.mounted){const t="normal"===this.props.type?this.getKitData(e):this.getPopupData(e);this.setState(rn(rn({},t),{},{loading:!1}))}}componentWillUnmount(){this.mounted=!1}render(){const{kits:e,types:t,blocks:o,categories:n,loading:i}=this.state,{showSearch:r,showSidebar:a,selectedKit:l,HeaderSlotLeft:c}=this.props;return s.a.createElement(on,{loading:i,selectedKit:l,kits:e,blocks:o,categories:n,types:t,showSearch:r,showSidebar:a,HeaderSlotLeft:c,onChangeKit:this.handleImportKit,onChange:this.handleThumbnailAdd})}}Object(a.a)(an,"defaultProps",{showSidebar:!0,showSearch:!0,showType:!0,showCategories:!0,type:"normal",HeaderSlotLeft:f.default.noop(),onAddBlocks:f.default.noop,onClose:f.default.noop});var ln=Object(no.b)(e=>({selectedKit:Object(so.H)(e).data.selectedKit,projectFonts:Object(so.o)(e),projectStyles:Object(so.N)(e)}),e=>({dispatch:e}))(an);class sn extends l.Component{constructor(...e){super(...e),Object(a.a)(this,"state",{search:""}),Object(a.a)(this,"handleThumbnailAdd",async e=>{const{globalBlocks:t,projectFonts:o,onAddBlocks:n,onClose:i}=this.props,{resolve:r}=e,a=Object(Wo.a)(Object(Wo.b)({models:r,globalBlocks:t}),o);n({block:r,fonts:await Object(No.t)(a)}),i()}),Object(a.a)(this,"handleThumbnailRemove",e=>{const{dispatch:t}=this.props,{id:o}=e;t(Object(Qo.q)({id:o}))})}getBlocks(){const{type:e,globalBlocks:t}=this.props;return Object.values(t).filter(({data:t,meta:o={}})=>!t.deleted&&o.type===e)}renderThumbnails(e){const{HeaderSlotLeft:t,showSearch:o}=this.props;return s.a.createElement(l.Fragment,null,o&&s.a.createElement(t,null,s.a.createElement(eo,{className:"brz-ed-popup-two-header__search",value:this.state.search,onChange:e=>this.setState({search:e})})),s.a.createElement("div",{className:"brz-ed-popup-two-body__content"},s.a.createElement(P.a,null,s.a.createElement(Lo,{data:e,onThumbnailAdd:this.handleThumbnailAdd,onThumbnailRemove:this.handleThumbnailRemove}))))}renderEmpty(){const{HeaderSlotLeft:e,showSearch:t,type:o}=this.props;let n,i=Object(ae.a)("Nothing here yet, make a global block first.");switch(o){case"popup":n=co.b?"editor/img/global_condition_popups_toolbar.gif":"editor/img/global_popups_toolbar.gif",i=Object(ae.a)("Nothing here yet, make a global popup first.");break;default:n="editor/img/global_toolbar.gif"}return s.a.createElement(l.Fragment,null,t&&s.a.createElement(e,null,s.a.createElement(eo,{className:"brz-ed-popup-two-header__search",value:this.state.search,onChange:e=>this.setState({search:e})})),s.a.createElement("div",{className:"brz-ed-popup-two-body__content brz-flex-xs-column"},s.a.createElement("div",{className:"brz-ed-popup-two-blocks__grid brz-ed-popup-two-blocks__grid-clear"},""!==this.state.search?s.a.createElement("p",{className:"brz-ed-popup-two-blocks__grid-clear-text"},Object(ae.a)("Nothing here, please refine your search.")):s.a.createElement(l.Fragment,null,s.a.createElement("p",{className:"brz-ed-popup-two-blocks__grid-clear-text"},i),s.a.createElement("img",{src:`${Object(pe.a)(n)}?${Math.random()}`,className:"brz-ed-popup-two-blocks__grid-clear-image-global",alt:"Global"})))))}renderProInfo(){return s.a.createElement("div",{className:"brz-ed-tooltip-content__pro"},s.a.createElement("p",{className:"brz-p brz-ed-tooltip-content__pro-title"},Object(ae.a)("You can't add it again")))}renderThumbnailTooltip(e){return s.a.createElement(Oe.c,{className:"brz-ed-global-tooltip",overlayClassName:"brz-ed-tooltip--delay-1",size:"small",offset:"5",openOnClick:!1,overlay:this.renderProInfo()},e)}render(){const{globalBlocksInPage:e}=this.props,t=this.getBlocks();if(0===t.length)return this.renderEmpty();const o=t.map(t=>{const{url:o,width:n,height:i}=Object(Vo.b)(t.data),{type:r,value:{_id:a}}=t.data,l=!co.b&&"SectionPopup"!==r&&"SectionPopup2"!==r&&e[a];return{id:a,thumbnailSrc:o,thumbnailWidth:n,thumbnailHeight:i,showRemoveIcon:!0,renderWrapper:e=>l?this.renderThumbnailTooltip(e):e,inactive:l,resolve:{type:"GlobalBlock",value:{_id:a}}}},[]);return this.renderThumbnails(o)}}Object(a.a)(sn,"defaultProps",{type:"normal",showSearch:!0,onAddBlocks:f.default.noop,onClose:f.default.noop,HeaderSlotLeft:f.default.noop}),Object(a.a)(sn,"propTypes",{type:oo.a.oneOf(["normal","popup"]),showSearch:oo.a.bool,showSidebar:oo.a.bool,onAddBlocks:oo.a.func,onClose:oo.a.func,HeaderSlotLeft:oo.a.func});var cn=Object(no.b)(e=>({globalBlocks:Object(so.r)(e),globalBlocksInPage:Object(so.s)(e),projectFonts:Object(so.o)(e)}),e=>({dispatch:e}))(sn);const dn=()=>{const{hash:e,url:t,cloudSync:o}=v.a.get("wp").api,n=v.a.get("editorVersion"),i=Fe(t,{hash:e,version:n,action:o});return new Promise((e,t)=>{Object(ue.J)(i,{method:"GET",headers:{"Content-Type":"application/json; charset=utf-8"}}).then(_e).then(o=>{const{status:n,data:i}=o;if(!n||n>=400)throw o;{const{synchronized:n}=i;0===n?e(o):dn().then(e).catch(t)}}).catch(t)})},pn=()=>{const{hash:e,url:t,cloudSyncAllowed:o}=v.a.get("wp").api,n=v.a.get("editorVersion"),i=Fe(t,{hash:e,version:n,action:o});return Object(ue.J)(i,{method:"GET",headers:{"Content-Type":"application/json; charset=utf-8"}}).then(_e).then(e=>e)},un=()=>{const[e,t]=Object(l.useState)(!1),[o,n]=Object(l.useState)(!1),[i,r]=Object(l.useState)(void 0);return Object(l.useEffect)(()=>{o&&(()=>{const{hash:e,url:t,cloudSignOut:o}=v.a.get("wp").api,n=v.a.get("editorVersion"),i=Fe(t,{hash:e,version:n,action:o});return Object(ue.J)(i,{method:"GET",headers:{"Content-Type":"application/json; charset=utf-8"}}).then(_e).then(e=>e)})().then(e=>{!e.status||e.status>=400?(r(e),po.a.error(Object(ae.a)("Something went wrong"),{toastContainer:window.parent.document.body})):(n(!1),t(!0))}).catch(e=>{n(!1),r(e),po.a.error(Object(ae.a)("Something went wrong"),{toastContainer:window.parent.document.body})})},[o]),Object(l.useEffect)(()=>{e&&t(!1)},[e]),{isDisconnect:e,error:i,loading:o,setDisconnect:()=>{n(!0)}}};var bn=o(176);const mn={updateAuthorization:Qo.F};var hn=Object(no.b)(e=>({isAuthorized:"connected"===Object(so.a)(e),syncAllowed:Object(so.O)(e)}),mn)(e=>{const{isAuthorized:t,syncAllowed:o,onSuccessSync:n,updateAuthorization:i}=e,{isSync:r,setSync:a,loading:c}=(()=>{const[e,t]=Object(l.useState)(!1),[o,n]=Object(l.useState)(!1),[i,r]=Object(l.useState)(void 0);return Object(l.useEffect)(()=>{o&&dn().then(e=>{!e.status||e.status>=400?(r(e),po.a.error(Object(ae.a)("Unsuccessful sync"),{toastContainer:window.parent.document.body})):(n(!1),t(!0),po.a.success(Object(ae.a)("Done, your library was synced"),{toastContainer:window.parent.document.body}))}).catch(e=>{n(!1),r(e),po.a.error(Object(ae.a)("Unsuccessful sync"),{toastContainer:window.parent.document.body})})},[o]),{isSync:e,error:i,loading:o,setSync:()=>{n(!0)}}})(),{isDisconnect:d,setDisconnect:p,loading:u}=un();return Object(l.useEffect)(()=>{r&&n&&n()},[r]),Object(l.useEffect)(()=>{d&&(i("disconnect"),Object(bn.b)("disconnect"))},[d]),s.a.createElement("div",{className:"brz-ed-popup-two__cloud"},s.a.createElement("p",{className:"brz-p"},t?Object(ae.a)("Saved Library is syncing to your Account"):Object(ae.a)("Access your Library in any WP install by connecting your Account")),s.a.createElement("div",{className:"brz-ed-popup-two__cloud-icon"},s.a.createElement("div",{className:"brz-d-inline-block brz-p-relative"},s.a.createElement(_.b,{icon:"nc-upload"}),t&&s.a.createElement("div",{className:"brz-ed-popup-two__cloud-icon--connect"},s.a.createElement(_.b,{icon:"nc-check-circle-white"})))),s.a.createElement(Ge,{className:"brz-ed-popup-two__cloud-button",size:4,color:t?"gray":"teal",loading:u,onClick:()=>{t?p():sc.open({mode:"stack",prompt:"authorization",props:{}})}},t?Object(ae.a)("Disconnect"):Object(ae.a)("Connect")),t&&o&&s.a.createElement(Ge,{className:"brz-ed-popup-two__cloud-button-sync",size:4,color:"teal",loading:c,onClick:()=>{a()}},Object(ae.a)("Sync Now")),!o&&s.a.createElement("p",{className:"brz-p"},Object(ae.a)("Your Plugin version is incompatible with Account version, please update plugin")))});const gn=e=>{const{alignX:t="top",alignY:o="left",className:n,children:i}=e,r=g()("brz-ed-popup-two__footer",n,{["brz-ed-popup-two__footer--x-"+t]:t,["brz-ed-popup-two__footer--y-"+o]:o});return s.a.createElement("div",{className:r},i)};function fn(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function vn(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?fn(Object(o),!0).forEach((function(t){Object(a.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):fn(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const yn={flex:1};class Sn extends l.Component{constructor(...e){var t,o;super(...e),Object(a.a)(this,"importRef",s.a.createRef()),Object(a.a)(this,"currentFilter",{type:null!==(t=null===(o=this.props.types[0])||void 0===o?void 0:o.id)&&void 0!==t?t:"BLOCK",search:""}),Object(a.a)(this,"getDefaultFilter",f.default.memoize(e=>({type:e.length?e[0].id:"BLOCK",search:""}))),Object(a.a)(this,"getTypesCounters",()=>{const{items:e,types:t}=this.props,o=Object.values(e).filter(Qe.isT).flatMap(e=>e),n=t.reduce((e,{id:t})=>vn(vn({},e),{},{[t]:0}),{});return o.forEach(({type:e})=>{n[e]++}),n}),Object(a.a)(this,"filterData",(e,t)=>{const o=t.type===e.type,n=""===t.search||new RegExp(t.search.replace(/[.*+?^${}()|[\]\\]/g,""),"i").test(e.keywords||"");return o&&n}),Object(a.a)(this,"handleImport",e=>{const{types:t,onImport:o}=this.props,n=e.target.files;if(null!=n&&n.length&&"function"==typeof o){const e=this.getActiveType(t),i=this.importRef.current;o(n,e),null!==i&&(i.value="")}}),Object(a.a)(this,"handleExport",()=>{const{items:e,types:t,onExport:o}=this.props,n=this.getActiveType(t),i=e[n];if("function"==typeof o&&i){o(i.filter(e=>this.filterData(e,this.currentFilter)).map(e=>e.uid),n)}})}getActiveType(e){return this.currentFilter.type||e[0].id}renderLoading(){return s.a.createElement("div",{className:"brz-ed-popup-two-body__content brz-ed-popup-two-body__content--loading"},s.a.createElement(_.b,{icon:"nc-circle-02",className:"brz-ed-animated--spin"}))}renderEmpty(){const{type:e,types:t,search:o,onImport:n}=this.props,i=this.getActiveType(t),r={width:"LAYOUT"===i?"524px":"322px"};let a="editor/img/save_toolbar.gif",l=Object(ae.a)("Nothing here yet, save a block first.");const c="function"==typeof n;return"popup"===e&&(a="editor/img/save_popups_toolbar.gif",l=Object(ae.a)("Nothing here yet, save a popup first.")),"LAYOUT"===i&&(l=Object(ae.a)("Nothing here yet, save a layout first."),a="editor/img/save_layout.gif"),s.a.createElement("div",{className:"brz-ed-popup-two-body__content brz-flex-xs-column"},s.a.createElement("div",{className:"brz-ed-popup-two-blocks__grid brz-ed-popup-two-blocks__grid-clear"},""!==o?s.a.createElement("p",{className:"brz-ed-popup-two-blocks__grid-clear-text"},Object(ae.a)("Nothing here, please refine your search.")):s.a.createElement(s.a.Fragment,null,s.a.createElement("p",{className:"brz-ed-popup-two-blocks__grid-clear-text"},l),s.a.createElement("img",{key:i,style:r,src:Object(pe.a)(a),className:"brz-ed-popup-two-blocks__grid-clear-image-saved",alt:"Saved"}))),c&&s.a.createElement(gn,{alignX:"middle",alignY:"middle"},this.renderImport()))}renderItems(e){const{thumbnailSync:t,thumbnailDownload:o,onChange:n,onDelete:i,onExport:r,onImport:a}=this.props,l="function"==typeof a,c="function"==typeof r,d=l||c;return s.a.createElement("div",{className:"brz-ed-popup-two-body__content brz-flex-xs-column"},s.a.createElement(P.a,{style:yn},s.a.createElement(Lo,{showSync:t,showDownload:o,data:e,onThumbnailAdd:n,onThumbnailRemove:i})),d&&s.a.createElement(gn,{alignX:"middle",alignY:"middle"},c&&this.renderExport(),l&&this.renderImport()))}renderImport(){const{importLoading:e,types:t}=this.props,o=this.getActiveType(t),n=g()("brz-label brz-ed-popup-two-body__content--import",{"brz-pointer-events-none":e}),i="POPUP"===o?Object(ae.a)("Import New Popup"):"BLOCK"===o?Object(ae.a)("Import New Block"):Object(ae.a)("Import New Layout");return s.a.createElement("label",{className:n},s.a.createElement(Ge,{type:"link",color:"teal",loading:e,size:2},i),s.a.createElement("input",{ref:this.importRef,hidden:!0,className:"brz-input",type:"file",accept:"zip,application/octet-stream,application/zip,application/x-zip,application/x-zip-compressed",onChange:this.handleImport}))}renderExport(){const{exportLoading:e,types:t}=this.props,o=this.getActiveType(t),n="POPUP"===o?Object(ae.a)("Export All Popups"):"BLOCK"===o?Object(ae.a)("Export All Blocks"):Object(ae.a)("Export All Layouts");return s.a.createElement(Ge,{color:"gray",loading:e,size:2,onClick:this.handleExport},n)}render(){const{loading:e,items:t,types:o,showSearch:n,sidebarSync:i,HeaderSlotLeft:r,onSuccessSync:a}=this.props,l=Object.values(t).filter(Qe.isT).flatMap(e=>e);return s.a.createElement(Yt,{data:l,filterFn:this.filterData,defaultFilter:this.getDefaultFilter(o)},(t,l,c)=>s.a.createElement(s.a.Fragment,null,n&&s.a.createElement(r,null,s.a.createElement(eo,{className:"brz-ed-popup-two-header__search",value:l.search,onChange:e=>{c({search:e}),this.currentFilter.search=e}})),s.a.createElement(Qt,null,s.a.createElement(qt,{title:"LIBRARY"},s.a.createElement(Xt,{lists:o,counters:this.getTypesCounters(),value:l.type,onChange:e=>{c({type:e}),this.currentFilter.type=e}})),i&&s.a.createElement(qt,{separator:!0},s.a.createElement(hn,{onSuccessSync:a}))),e?this.renderLoading():0===t.length?this.renderEmpty():this.renderItems(t)))}}Object(a.a)(Sn,"defaultProps",{type:"normal",showSearch:!0,sidebarSync:!0,search:"",loading:!1,items:{},types:[],HeaderSlotLeft:l.Component,onChange:f.default.noop,onDelete:f.default.noop,onSuccessSync:f.default.noop});var On=Sn,xn=o(173);const Cn=e=>"items"in e.data,Bn=e=>"value"in e.data&&"normal"===e.meta.type,jn=e=>"value"in e.data&&"popup"===e.meta.type;var Pn=o(33);function Tn(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function wn(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Tn(Object(o),!0).forEach((function(t){Object(a.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Tn(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}class En extends l.Component{constructor(...e){var t;super(...e),Object(a.a)(this,"state",{search:"",data:{BLOCK:void 0,LAYOUT:void 0,POPUP:void 0},loading:!0,importLoading:!1,exportLoading:!1,types:(t=this.props.type,"normal"===t?[{id:"BLOCK",title:Object(ae.a)("Blocks"),icon:"nc-blocks"},{id:"LAYOUT",title:Object(ae.a)("Layouts"),icon:"nc-pages"}]:[{id:"POPUP",title:Object(ae.a)("Popups"),icon:"nc-blocks"}])}),Object(a.a)(this,"pagination",{BLOCK:void 0,LAYOUT:void 0,POPUP:void 0}),Object(a.a)(this,"unMount",!1),Object(a.a)(this,"withImportExport",!0),Object(a.a)(this,"updateBlocks",async e=>{if("normal"===this.props.type){const t=await this.getBlocks(e),o=await this.getLayout(e);this.unMount||this.setState({data:{BLOCK:t,LAYOUT:o},loading:!1},()=>{const{BLOCK:e,LAYOUT:t}=this.pagination;e&&!e.done&&this.handleGetMoreBlocks(e.page+1,"BLOCK"),t&&!t.done&&this.handleGetMoreBlocks(t.page+1,"LAYOUT")})}else{const t=await this.getPopups(e);this.unMount||this.setState({data:{POPUP:t},loading:!1},()=>{const{POPUP:e}=this.pagination;e&&!e.done&&this.handleGetMoreBlocks(e.page+1,"POPUP")})}}),Object(a.a)(this,"handleGetMoreBlocks",async(e,t)=>{const o=Object(Qe.match)([ho,this.getBlocks.bind(this,e)],[go,this.getPopups.bind(this,e)],[fo,this.getLayout.bind(this,e)]),n=await o(t);this.setState(Object(c.a)(o=>{var i;null===(i=o.data[t])||void 0===i||i.push(...n),this.pagination[t]={page:e,done:n.length<200}}),()=>{const o=this.pagination[t];o&&!o.done&&this.handleGetMoreBlocks(e+1,t)})}),Object(a.a)(this,"handleAddItems",({type:e,uid:t})=>{switch(this.handleLoadingBlock(t,e,!0),e){case"BLOCK":this.handleAddBlock(t).catch(()=>{var o;this.handleLoadingBlock(t,e,!1);const{getParentNode:n}=this.props,i=null===(o=(n&&n()||document).ownerDocument)||void 0===o?void 0:o.body;po.a.error(Object(ae.a)("Unable to insert block. Please try again or contact support"),{toastContainer:i})});break;case"POPUP":this.handleAddPopup(t).catch(()=>{var o;this.handleLoadingBlock(t,e,!1);const{getParentNode:n}=this.props,i=null===(o=(n&&n()||document).ownerDocument)||void 0===o?void 0:o.body;po.a.error(Object(ae.a)("Unable to insert popup. Please try again or contact support"),{toastContainer:i})});break;case"LAYOUT":this.handleAddLayout(t).catch(()=>{var o;this.handleLoadingBlock(t,e,!1);const{getParentNode:n}=this.props,i=null===(o=(n&&n()||document).ownerDocument)||void 0===o?void 0:o.body;po.a.error(Object(ae.a)("Unable to insert layout. Please try again or contact support"),{toastContainer:i})})}}),Object(a.a)(this,"handleDeleteItem",({type:e,uid:t})=>{switch(e){case"BLOCK":case"POPUP":Object(ue.f)(t);break;case"LAYOUT":Object(ue.g)(t)}this.setState(({data:o})=>{var n;return{data:wn(wn({},o),{},{[e]:null===(n=o[e])||void 0===n?void 0:n.filter(e=>e.uid!==t)})}})}),Object(a.a)(this,"handleImport",async(e,t)=>{this.setState({importLoading:!0});const o=Object(Qe.match)([ho,()=>Object(ue.eb)(e)],[go,()=>Object(ue.gb)(e)],[fo,()=>Object(ue.fb)(e)]);try{const e=await o(t);if(e.success.length){const o=[],n=[],i=[];e.success.forEach(e=>{Cn(e)&&n.push(wn(wn({},this.makeThumbsData(e)),{},{uid:e.uid,type:"LAYOUT",synchronized:e.synchronized||!1,synchronizable:e.synchronizable||!1})),Bn(e)&&o.push(wn(wn({},this.makeThumbsData(e)),{},{uid:e.uid,type:"BLOCK",synchronized:e.synchronized||!1,synchronizable:e.synchronizable||!1})),jn(e)&&i.push(wn(wn({},this.makeThumbsData(e)),{},{uid:e.uid,type:"POPUP",synchronized:e.synchronized||!1,synchronizable:e.synchronizable||!1}))}),this.setState(Object(c.a)(e=>{var t,r,a;o.length>0&&(e.data.BLOCK=[...null!==(t=e.data.BLOCK)&&void 0!==t?t:[],...o]);i.length>0&&(e.data.POPUP=[...null!==(r=e.data.POPUP)&&void 0!==r?r:[],...i]);n.length>0&&(e.data.LAYOUT=[...null!==(a=e.data.LAYOUT)&&void 0!==a?a:[],...n])})),((e,t)=>{const o={toastContainer:window.parent.document.body,hideAfter:5};e.success.forEach(e=>{switch(t){case"BLOCK":Cn(e)&&po.a.error("Your .zip contains layouts. We imported them in the Saved Layouts library",o),jn(e)&&po.a.error("Your .zip contains popups blocks. We imported them in the Saved Popups library",o);break;case"POPUP":Cn(e)&&po.a.error("Your .zip contains layouts. We imported them in the Saved Layouts library",o),Bn(e)&&po.a.error("Your .zip contains regular blocks. We imported them in the Saved Blocks library",o);break;case"LAYOUT":Bn(e)&&po.a.error("Your .zip contains regular blocks. We imported them in the Saved Blocks library",o),jn(e)&&po.a.error("Your .zip contains popups blocks. We imported them in the Saved Popups library",o)}})})(e,t)}this.unMount||(this.setState({importLoading:!1}),e.errors.forEach(({message:e})=>{po.a.error(e,{toastContainer:window.parent.document.body})}))}catch(e){0,this.unMount||this.setState({importLoading:!1},()=>{const t=So(e);po.a.error(t,{toastContainer:window.parent.document.body})})}}),Object(a.a)(this,"handleSuccessSync",()=>{this.updateBlocks(1)})}async componentDidMount(){const e=v.a.getAll();Object(Pn.b)(e)&&(this.withImportExport=!e.user.isGuest),this.updateBlocks(1)}componentDidUpdate(e){e.isAuthorized!==this.props.isAuthorized&&this.updateBlocks(1)}componentWillUnmount(){this.unMount=!0}async getBlocks(e){const t=await Object(ue.z)({page:e,count:200});return this.pagination.BLOCK={page:e,done:t.length<200},t.filter(({meta:e})=>"normal"===(null==e?void 0:e.type)).map(e=>wn(wn({},this.makeThumbsData(e)),{},{uid:e.uid,type:"BLOCK",synchronized:e.synchronized||!1,synchronizable:e.synchronizable||!1}))}async getLayout(e){const t=await Object(ue.B)({page:e,count:200});return this.pagination.LAYOUT={page:e,done:t.length<200},t.map(e=>wn(wn({},this.makeThumbsData(e)),{},{uid:e.uid,type:"LAYOUT",synchronized:e.synchronized||!1,synchronizable:e.synchronizable||!1}))}async getPopups(e){const t=await Object(ue.z)({page:e,count:200});return this.pagination.POPUP={page:e,done:t.length<200},t.filter(({meta:e})=>"popup"===(null==e?void 0:e.type)).map(e=>wn(wn({},this.makeThumbsData(e)),{},{uid:e.uid,type:"POPUP",synchronized:e.synchronized||!1,synchronizable:e.synchronizable||!1}))}async getAssets(e){const{projectFonts:t,projectExtraFontStyles:o}=this.props,{extraFontStyles:n=[]}=e.meta||{},i=Object(Wo.b)({models:e}),r=Object(Wo.d)(n),a=await Object(No.t)(Object(Wo.a)([...i,...r],t)),l=n.filter(({id:e})=>!o.some(t=>t.id===e));return{fonts:a,extraFontStyles:Object(No.s)(l)}}async handleAddLayout(e){const{onAddBlocks:t,onClose:o}=this.props,{data:n,meta:i}=await Object(ue.A)(e),{fonts:r,extraFontStyles:a}=await this.getAssets({data:n,meta:i});this.unMount||(t({fonts:r,extraFontStyles:a,blocks:n.items}),o())}async handleAddBlock(e){const{onAddBlocks:t,onClose:o}=this.props,{data:n,meta:i}=await Object(ue.y)(e),{fonts:r,extraFontStyles:a}=await this.getAssets({data:n,meta:i});this.unMount||(t({fonts:r,extraFontStyles:a,blocks:[n]}),o())}async handleAddPopup(e){const{onAddBlocks:t,onClose:o}=this.props,{data:n,meta:i}=await Object(ue.y)(e),{fonts:r,extraFontStyles:a}=await this.getAssets({data:n,meta:i});this.unMount||(t({fonts:r,extraFontStyles:a,blocks:[n]}),o())}handleLoadingBlock(e,t,o){this.setState(Object(c.a)(n=>{var i;n.data[t]=null!==(i=n.data[t])&&void 0!==i?i:[],n.data[t].forEach((i,r)=>{i.uid==e&&(n.data[t][r].loading=o)})}))}makeThumbsData(e){const{url:t,width:o,height:n}=Object(Vo.b)(e);return{thumbnailSrc:t,thumbnailWidth:o,thumbnailHeight:n,showRemoveIcon:!0!==e.isCloudEntity,loading:!1}}render(){const{loading:e,data:t,types:o,search:n,importLoading:i,exportLoading:r}=this.state,{type:a,HeaderSlotLeft:l,showSearch:c}=this.props,d=Object(xn.b)();return s.a.createElement(On,{type:a,loading:e,items:t,types:o,showSearch:c,sidebarSync:!d,thumbnailSync:V.l,thumbnailDownload:this.withImportExport,search:n,importLoading:i,exportLoading:r,HeaderSlotLeft:l,onSuccessSync:this.handleSuccessSync,onChange:this.handleAddItems,onDelete:this.handleDeleteItem,onImport:this.withImportExport?this.handleImport:void 0})}}Object(a.a)(En,"defaultProps",{type:"normal",showSearch:!0,projectFonts:{},projectExtraFontStyles:[],isAuthorized:!1,onAddBlocks:f.default.noop,onClose:f.default.noop,HeaderSlotLeft:l.Component,getParentNode:()=>null});var zn=Object(no.b)(e=>({projectFonts:Object(so.o)(e),projectExtraFontStyles:Object(so.n)(e),isAuthorized:"connected"===Object(so.a)(e)}))(En);const kn=[{id:"template",title:co.d?Object(ae.a)("Stories"):Object(ae.a)("Layouts"),icon:"nc-pages",renderTab:e=>s.a.createElement(Zo,Object(C.a)({},e,{type:co.d?"stories":"templates"}))},{id:"blocks",title:co.b?Object(ae.a)("Popups"):Object(ae.a)("Blocks"),icon:"nc-blocks",renderTab:e=>s.a.createElement(ln,e)},{id:"saved",title:co.b?Object(ae.a)("Saved Popups"):Object(ae.a)("Saved"),icon:"nc-save-section",renderTab:e=>s.a.createElement(zn,e)},{id:"global",title:co.b?Object(ae.a)("Global Popups"):Object(ae.a)("Global Blocks"),icon:"nc-global",renderTab:e=>s.a.createElement(cn,e)}];class Fn extends l.Component{constructor(...e){super(...e),Object(a.a)(this,"state",{currentTab:this.props.activeTab||"blocks"}),Object(a.a)(this,"wrapper",s.a.createRef()),Object(a.a)(this,"mounted",!1),Object(a.a)(this,"getWrapper",()=>this.wrapper.current),Object(a.a)(this,"handleChange",e=>{const{currentTab:t}=this.state,{onChangeBlocks:o,onChangeGlobal:n,onChangeSaved:i,onChangeTemplate:r}=this.props;switch(t){case"blocks":null==o||o(e);break;case"template":null==r||r(e);break;case"saved":null==i||i(e);break;case"global":null==n||n(e)}}),Object(a.a)(this,"handleClose",()=>{var e,t;this.mounted&&(null===(e=(t=this.props).onClose)||void 0===e||e.call(t))})}componentDidMount(){this.mounted=!0}componentWillUnmount(){this.mounted=!1}hasSearch(e){return!!Object($t.a)(e+"Search",this.props)}hasSidebar(e){return!!Object($t.a)(e+"Sidebar",this.props)}handleTabChange(e){this.setState({currentTab:e})}renderTabs(){const{currentTab:e}=this.state,t=kn.filter(({id:e})=>{const t="show"+Object(Gt.c)(e);return!!Object($t.a)(t,this.props)}).map(t=>{const o=g()("brz-ed-popup-two-tab-item",{"brz-ed-popup-two-tab-item-active":t.id===e});return s.a.createElement("div",{key:t.id,className:o,onClick:()=>{this.handleTabChange(t.id)}},s.a.createElement("div",{className:"brz-ed-popup-two-tab-icon"},s.a.createElement(_.b,{icon:t.icon})),s.a.createElement("div",{className:"brz-ed-popup-two-tab-name"},t.title))});return s.a.createElement("div",{className:"brz-ed-popup-two-header"},s.a.createElement("div",{id:"brz-ed-popup-header-left-slot"}),s.a.createElement("div",{className:"brz-ed-popup-two-header__tabs"},t),s.a.createElement("div",{id:"brz-ed-popup-header-right-slot"}),s.a.createElement("div",{className:"brz-ed-popup-two-btn-close",onClick:this.props.onClose}))}renderContent(){const{currentTab:e}=this.state,{renderTab:t}=kn.find(({id:t})=>t===e)||kn[0];return t({HeaderSlotLeft:e=>s.a.createElement(_n,Object(C.a)({},e,{slot:"left"})),type:this.props.type,onClose:this.handleClose,showSearch:this.hasSearch(e),showSidebar:this.hasSidebar(e),onAddBlocks:this.handleChange,getParentNode:this.getWrapper})}render(){return s.a.createElement(y.a,{opened:this.props.opened,onClose:this.handleClose},s.a.createElement("div",{ref:this.wrapper,className:"brz-ed-popup-two-wrapper brz-ed-popup-two-blocks"},this.renderTabs(),s.a.createElement("div",{className:"brz-ed-popup-two-body"},this.renderContent())))}}Object(a.a)(Fn,"defaultProps",{activeTab:"blocks",type:"normal",opened:!1,showTemplate:!0,showBlocks:!0,showSaved:!0,showGlobal:!0,templateSidebar:!0,blocksSidebar:!0,savedSidebar:!0,globalSidebar:!0,templateSearch:!0,blocksSearch:!0,savedSearch:!0,globalSearch:!0,onChangeBlocks:f.default.noop,onChangeTemplate:f.default.noop,onChangeSaved:f.default.noop,onChangeGlobal:f.default.noop,onClose:f.default.noop});class _n extends l.Component{constructor(...e){super(...e),Object(a.a)(this,"state",{isMounted:!1}),Object(a.a)(this,"headerSlotNode",null)}componentDidMount(){this.headerSlotNode=window.parent.document.querySelector(`#brz-ed-popup-header-${this.props.slot}-slot`),this.setState({isMounted:!0})}render(){return this.state.isMounted&&this.headerSlotNode&&Dt.a.createPortal(this.props.children,this.headerSlotNode)}}Object(a.a)(_n,"defaultProps",{slot:"left"});var Rn=Fn;const Hn=({formId:e})=>{const{api:t}=v.a.get("wp"),o=v.a.get("editorVersion"),n=Fe(t.url,{formId:e,action:t.getForm,hash:t.hash,version:o});return Object(ue.J)(n,{method:"GET",headers:{"Content-Type":"application/json; charset=utf-8"}}).then(_e).then(e=>e)},Ln=({formId:e})=>{const{api:t}=v.a.get("wp"),o=v.a.get("editorVersion"),n=Fe(t.url,{action:t.createForm,hash:t.hash,version:o});return Object(ue.J)(n,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},body:JSON.stringify({id:e})}).then(_e).then(e=>e)},Mn=({formId:e,id:t})=>{const{api:o}=v.a.get("wp"),n=v.a.get("editorVersion"),i=Fe(o.url,{action:o.getIntegration,hash:o.hash,version:n,formId:e,integration:t});return Object(ue.J)(i,{method:"GET",headers:{"Content-Type":"application/json; charset=utf-8"}}).then(_e).then(e=>e)},In=({formId:e,id:t})=>{const{api:o}=v.a.get("wp"),n=v.a.get("editorVersion"),i=Fe(o.url,{action:o.createIntegration,hash:o.hash,version:n,formId:e});return Object(ue.J)(i,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},body:JSON.stringify({id:t})}).then(_e).then(e=>e)},Wn=e=>{let{formId:t}=e,o=Object(x.a)(e,["formId"]);const{api:n}=v.a.get("wp"),i=v.a.get("editorVersion"),r=Fe(n.url,{action:n.updateIntegration,hash:n.hash,version:i,formId:t}),a=f.default.pick(o,["id","usedAccount","fieldsMap","usedList","confirmationNeeded","usedFolder","completed"]);return Object(ue.J)(r,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},body:JSON.stringify(a)}).then(_e).then(e=>e)};function Nn(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Vn(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Nn(Object(o),!0).forEach((function(t){Object(a.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Nn(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const An=(e,t)=>{const o=t.map(e=>e.title).join(" & ");switch(e.code){case 401:return`${Object(ae.a)("Incorrect")} ${o}`;case 400:return Object(ae.a)("Duplicate Account");default:return Object(ae.a)("Something went wrong")}};class Dn extends l.Component{constructor(e,t){super(e),Object(a.a)(this,"handleChange",(e,t)=>{this.setState(o=>({apiKeyValue:Vn(Vn({},o.apiKeyValue),{},{[""+t]:e.trim()})}))}),Object(a.a)(this,"handleConnect",async()=>{const{app:{id:e,data:t},formId:o,onChange:n,onChangeProgress:i,onChangeNext:r}=this.context,{apiKeyValue:a}=this.state,l=Object.values(a);if(this.setState({nextLoading:!0,error:null}),l.some(e=>!e))await Object(ue.G)(),this.setState({error:Object(ae.a)("Fields are empty"),nextLoading:!1});else{const{status:l,data:s}=await(({formId:e,id:t,data:o})=>{const{api:n}=v.a.get("wp"),i=v.a.get("editorVersion"),r=Fe(n.url,{action:n.authenticateIntegration,hash:n.hash,version:i,formId:e,integration:t});return Object(ue.J)(r,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},body:JSON.stringify(o)}).then(_e).then(e=>e)})(Vn(Vn({},t),{},{formId:o,data:a}));if(200!==l)this.setState({nextLoading:!1,error:An(s,t.accountApiKeys)});else{const o=t.accounts||[];n(e,Vn(Vn({},t),{},{accounts:[...o,s]})),i({showProgress:!0}),r()}}}),Object(a.a)(this,"handlePrev",async()=>{const{oldStage:e,onChangeNext:t,onChangePrev:o,onChangeProgress:n}=this.context;this.setState({error:null,prevLoading:!0}),await Object(ue.G)(),n({showProgress:!0}),"account"===e?t("account"):o()});const{data:{accountApiKeys:o}}=t.app,n=o.reduce((e,{name:t})=>Vn(Vn({},e),{},{[""+t]:""}),{});this.state={apiKeyValue:n,nextLoading:!1,prevLoading:!1,error:null}}static async onBeforeLoad(e,t){const{formId:o,app:{id:n,data:i},onChange:r,onChangeProgress:a,onError:l}=e;let{status:s,data:c}=await(({formId:e,id:t})=>{const{api:o}=v.a.get("wp"),n=v.a.get("editorVersion"),i=Fe(o.url,{action:o.getAccountProperties,hash:o.hash,version:n,formId:e,integration:t});return Object(ue.J)(i,{method:"GET",headers:{"Content-Type":"application/json; charset=utf-8"}}).then(_e).then(e=>e)})({id:n,formId:o});(!s||s>=400)&&(c=[],l("Something went wrong")),r(n,Vn(Vn({},i),{},{accountApiKeys:c})),i.usedAccount||i.accounts&&i.accounts.length?t.onChangeNext():a({showProgress:!1})}render(){const{app:e}=this.context,{apiKeyValue:t,error:o,nextLoading:n,prevLoading:i}=this.state,r=e.data.accountApiKeys.map(({title:e,name:o})=>({title:e,name:o,value:t[o]}));return s.a.createElement(Xe,Object(C.a)({},e,{data:r,error:o,nextLoading:n,prevLoading:i,onPrev:this.handlePrev,onNext:this.handleConnect,onChange:this.handleChange}))}}Object(a.a)(Dn,"contextType",me);var $n=Dn;function Gn(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Un(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Gn(Object(o),!0).forEach((function(t){Object(a.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Gn(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}class Kn extends l.Component{constructor(e,t){super(e),Object(a.a)(this,"handleActive",e=>{this.setState({active:e})}),Object(a.a)(this,"handleConnect",async()=>{const{onChangeProgress:e,onChangePrev:t}=this.context;this.setState({connectLoading:!0}),await Object(ue.G)(),e({showProgress:!1}),t("connect")}),Object(a.a)(this,"handleDisconnect",async()=>{const{app:{id:e,data:t},formId:o,onChange:n,onDisconnectApp:i,onChangeProgress:r}=this.context;this.setState({nextLoading:!0,error:null});const{status:a,data:l}=await Wn(Un(Un({},t),{},{formId:o,usedAccount:null}));200!==a?this.setState({nextLoading:!1,error:Object(ae.a)("Something went wrong")}):(this.setState({mode:"account",nextLoading:!1}),n(e,Un(Un({},t),l)),r({showProgress:!0}),i(e))}),Object(a.a)(this,"handleAccountMode",async()=>{this.setState({prevLoading:!0,error:null}),await Object(ue.G)(),this.context.onChangeProgress({showProgress:!0}),this.setState({mode:"account",prevLoading:!1})}),Object(a.a)(this,"handleDisconnectMode",async()=>{this.setState({disconnectLoading:!0,error:null}),await Object(ue.G)(),this.context.onChangeProgress({showProgress:!1}),this.setState({mode:"disconnect",disconnectLoading:!1})}),Object(a.a)(this,"handleNext",async()=>{const{app:{id:e,data:t},formId:o,onChange:n,onChangeNext:i}=this.context,{active:r}=this.state;if(this.setState({nextLoading:!0,error:null}),r!==t.usedAccount){const{status:a,data:l}=await Wn(Un(Un({},t),{},{formId:o,usedAccount:r}));200!==a?this.setState({nextLoading:!1,error:Object(ae.a)("Something went wrong")}):(n(e,Un(Un({},t),l)),i())}else await Object(ue.G)(),i()}),Object(a.a)(this,"handlePrev",async()=>{const{onChangePrev:e}=this.context;this.setState({prevLoading:!0}),await Object(ue.G)(),e("appList")}),this.state={active:this.getActiveAccount(t.app.data),mode:"account",nextLoading:!1,prevLoading:!1,connectLoading:!1,disconnectLoading:!1}}getActiveAccount(e){const t=e.accounts.length?e.accounts[0].id:"";return e.usedAccount||t}render(){const{app:e}=this.context;return"account"===this.state.mode?s.a.createElement(Ke,Object(C.a)({},e,this.state,{onActive:this.handleActive,onConnect:this.handleConnect,onDisconnect:this.handleDisconnectMode,onConfirm:this.handleConfirm,onPrev:this.handlePrev,onNext:this.handleNext})):s.a.createElement(Ze,Object(C.a)({},e,this.state,{descriptions:`Subscribers are automatically synced to your ${e.title} list`,onPrev:this.handleAccountMode,onNext:this.handleDisconnect}))}}Object(a.a)(Kn,"contextType",me);var Yn=Kn;function qn(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Xn(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?qn(Object(o),!0).forEach((function(t){Object(a.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):qn(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}class Jn extends l.Component{constructor(e,t){super(e),Object(a.a)(this,"handleActive",e=>{this.setState({active:e})}),Object(a.a)(this,"handleNext",async()=>{const{app:{id:e,data:t},formId:o,onChange:n,onChangeNext:i}=this.context,{active:r}=this.state;if(this.setState({nextLoading:!0,error:null}),r!==t.usedFolder){const{status:a,data:l}=await Wn(Xn(Xn({},t),{},{formId:o,usedFolder:r}));200!==a?this.setState({nextLoading:!1,error:Object(ae.a)("Something went wrong")}):(n(e,Xn(Xn({},t),l)),i())}else await Object(ue.G)(),i()}),Object(a.a)(this,"handlePrev",async e=>{this.setState({prevLoading:!0,error:null}),await Object(ue.G)(),e&&"string"==typeof e?this.context.onChangePrev(e):this.context.onChangePrev()}),this.state={active:this.getActiveClient(t.app.data),nextLoading:!1,prevLoading:!1}}getActiveClient(e){const{usedFolder:t,folders:o}=e,n=o.length?o[0].id:"";return t||n}render(){const{app:e}=this.context,{folders:t,accountPro:o}=e.data;return s.a.createElement(xt,Object(C.a)({},this.state,{listPro:o,lists:t,onActive:this.handleActive,onPrev:this.handlePrev,onNext:this.handleNext}))}}Object(a.a)(Jn,"contextType",me);var Zn=Jn;function Qn(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function ei(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Qn(Object(o),!0).forEach((function(t){Object(a.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Qn(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}class ti extends l.Component{constructor(e,t){super(e),Object(a.a)(this,"handleActive",(e,t)=>{const{formFields:o}=this.state,n=o.findIndex(({sourceId:t})=>t===e);this.setState({formFields:Object(tt.replaceAt)(o,n,ei(ei({},o[n]),{},{target:t}))})}),Object(a.a)(this,"handlePrev",async()=>{this.setState({prevLoading:!0,error:null}),await Object(ue.G)(),this.context.onChangePrev()}),Object(a.a)(this,"handleNext",async()=>{const{app:{id:e,data:t},formId:o,onChange:n,onChangeNext:i}=this.context,{formFields:r}=this.state;if(this.setState({nextLoading:!0,error:null}),Ie(t.fields,r,"select")){const{status:a,data:l}=await Wn(ei(ei({},t),{},{formId:o,fieldsMap:JSON.stringify(r),completed:!0}));200!==a?this.setState({nextLoading:!1,error:Object(ae.a)("Something went wrong")}):(n(e,ei(ei({},t),l)),i())}else await Object(ue.G)(),this.setState({error:Object(ae.a)("All fields marked with an asterisk ( * ) must be mapped."),nextLoading:!1})});const{app:{data:{fieldsMap:o,fields:n},restrictions:i},formFields:r}=t;this.state={formFields:He(o,n,r,i),prevLoading:!1,nextLoading:!1,error:null}}render(){const{app:e}=this.context,{formFields:t,error:o,nextLoading:n,prevLoading:i}=this.state;return s.a.createElement(St,Object(C.a)({},e,e.data,{formFields:t,error:o,nextLoading:n,prevLoading:i,onActive:this.handleActive,onPrev:this.handlePrev,onNext:this.handleNext}))}}Object(a.a)(ti,"contextType",me);var oi=ti;function ni(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function ii(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?ni(Object(o),!0).forEach((function(t){Object(a.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):ni(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}class ri extends l.Component{constructor(e,t){super(e),Object(a.a)(this,"handleActive",(e,t)=>{const{formFields:o}=this.state,n=o.findIndex(({sourceId:t})=>t===e);this.setState({formFields:Object(tt.replaceAt)(o,n,ii(ii({},o[n]),{},{target:t}))})}),Object(a.a)(this,"handlePrev",async()=>{this.setState({prevLoading:!0,error:null}),await Object(ue.G)(),this.context.onChangePrev()}),Object(a.a)(this,"handleNext",async()=>{const{app:{id:e,data:t},formId:o,onChange:n,onChangeNext:i}=this.context,{formFields:r}=this.state;if(this.setState({error:null,nextLoading:!0}),Ie(t.fields,r,"input")){const{status:a,data:l}=await Wn(ii(ii({},t),{},{formId:o,fieldsMap:JSON.stringify(r),completed:!0}));200!==a?this.setState({nextLoading:!1,error:Object(ae.a)("Something went wrong")}):(n(e,ii(ii({},t),l)),i())}else await Object(ue.G)(),this.setState({error:Object(ae.a)("All fields cannot be empty"),nextLoading:!1})});const{app:{data:o,restrictions:n},formFields:i}=t,{fieldsMap:r,fields:l}=o||{};this.state={formFields:He(r,l,i,n),prevLoading:!1,nextLoading:!1}}static async onBeforeLoad(e){const{app:{id:t,data:o},onChange:n}=e;n(t,ii(ii({},o),{},{fields:[]}))}render(){const{app:{title:e}}=this.context,{formFields:t,error:o,nextLoading:n,prevLoading:i}=this.state,r=t.map(({sourceTitle:e,sourceId:t,target:o})=>({title:e,name:t,value:"_auto_generate"===o?e:o}));return s.a.createElement(vt,{headTitle:Object(ae.a)("FORM FIELDS"),headDescription:`${e} ${Object(ae.a)("FIELDS")}`,data:r,error:o,nextLoading:n,prevLoading:i,onActive:this.handleActive,onPrev:this.handlePrev,onNext:this.handleNext})}}Object(a.a)(ri,"contextType",me);var ai=ri,li=o(11);function si(e){return"boolean"==typeof e}Object(li.c)(si);var ci=o(52);const di=e=>"string"==typeof e||null===e,pi=e=>"function"==typeof e||di(e),ui=Object(ci.d)({type:e=>"input"===e.type||void 0===e.type?"input":void 0,value:Object(li.d)(Object($t.c)("value"),Object(Qe.pass)(e=>di(e))),title:Object(Qe.mPipe)(Object($t.c)("title"),U.d),name:Object(Qe.mPipe)(Object($t.c)("name"),U.d),required:Object(Qe.optional)(Object(li.d)(Object($t.c)("required"),Object(Qe.pass)(si))),helper:Object(Qe.optional)(Object(li.d)(Object($t.c)("helper"),Object(Qe.pass)(e=>pi(e))))}),bi=Object(Qe.parse)({type:e=>"select"===e.type?"select":void 0,choices:Object(Qe.mPipe)(Object($t.c)("choices"),e=>A.k(e)),value:Object(li.d)(Object($t.c)("value"),Object(Qe.pass)(e=>"string"==typeof e||null===e)),title:Object(Qe.mPipe)(Object($t.c)("title"),U.d),name:Object(Qe.mPipe)(Object($t.c)("name"),U.d),required:Object(Qe.optional)(Object(li.d)(Object($t.c)("required"),Object(Qe.pass)(si))),helper:Object(Qe.optional)(Object(li.d)(Object($t.c)("helper"),Object(Qe.pass)(e=>pi(e))))}),mi=Object(Qe.parse)({type:e=>"switch"===e.type?"switch":void 0,title:Object(Qe.mPipe)(Object($t.c)("title"),U.d),value:Object(li.d)(Object($t.c)("value"),e=>!!si(e)&&e),name:Object(Qe.mPipe)(Object($t.c)("name"),U.d),required:Object(Qe.optional)(Object(li.d)(Object($t.c)("required"),Object(Qe.pass)(si))),helper:Object(Qe.optional)(Object(li.d)(Object($t.c)("helper"),Object(Qe.pass)(e=>pi(e))))}),hi=Object(Qe.parse)({type:e=>"search"===e.type?"search":void 0,choices:Object(Qe.mPipe)(Object($t.c)("choices"),e=>A.k(e)),value:Object(li.d)(Object($t.c)("value"),Object(Qe.pass)(e=>di(e))),title:Object(Qe.mPipe)(Object($t.c)("title"),U.d),name:Object(Qe.mPipe)(Object($t.c)("name"),U.d),required:Object(Qe.optional)(Object(li.d)(Object($t.c)("required"),Object(Qe.pass)(si))),helper:Object(Qe.optional)(Object(li.d)(Object($t.c)("helper"),Object(Qe.pass)(e=>pi(e)))),multiple:Object(li.d)(Object($t.c)("multiple"),si)}),gi=Object(Qe.match)([e=>"input"===e.type||void 0===e.type,ui],[e=>"select"===e.type,bi],[e=>"switch"===e.type,mi],[e=>"search"===e.type,hi],[e=>!0,()=>{}]);function fi(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function vi(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?fi(Object(o),!0).forEach((function(t){Object(a.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):fi(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}class yi extends l.Component{constructor(...e){super(...e),Object(a.a)(this,"state",{apiKeyValue:this.getDefaultValue(),prevLoading:!1,nextLoading:!1,error:null}),Object(a.a)(this,"handleChange",(e,t)=>{this.setState(({apiKeyValue:o})=>({apiKeyValue:vi(vi({},o),{},{[""+e]:t})}))}),Object(a.a)(this,"handleNext",async()=>{const{app:{id:e,data:t},formId:o,apiKeys:n,onChange:i,onChangeNext:r}=this.props,{apiKeyValue:a}=this.state;if(this.setState({nextLoading:!0,error:null}),n.find(({required:e,name:t})=>{var o;return e&&!a[null!==(o=U.d(t))&&void 0!==o?o:""]}))await Object(ue.G)(),this.setState({error:Object(ae.a)("All fields marked with an asterisk ( * ) must be completed."),nextLoading:!1});else{const{status:n,data:l}=await(e=>{let{formId:t}=e,o=Object(x.a)(e,["formId"]);const{api:n}=v.a.get("wp"),i=v.a.get("editorVersion"),r=Fe(n.url,{action:n.updateIntegration,hash:n.hash,version:i,formId:t});return Object(ue.J)(r,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},body:JSON.stringify(o)}).then(_e).then(e=>e)})(vi(vi(vi({},t),a),{},{formId:o,completed:!0}));200!==n?this.setState({nextLoading:!1,error:Object(ae.a)("Something went wrong")}):(i(e,vi(vi({},t),l)),r())}}),Object(a.a)(this,"handlePrev",async()=>{this.setState({prevLoading:!0}),await Object(ue.G)(),this.props.onChangePrev()})}getDefaultValue(){const{app:{data:e},apiKeys:t}=this.props;return t.reduce((t,{name:o})=>{var n;return vi(vi({},t),{},{[""+o]:e[null!==(n=U.d(o))&&void 0!==n?n:""]||""})},{})}getValue(e){const{apiKeyValue:t}=this.state;return Object(li.d)(t=>t[e])(t)}render(){const{app:e,apiKeys:t,formId:o,formFields:n}=this.props,{error:i,prevLoading:r,nextLoading:a}=this.state,l=t.map(e=>{return t=vi(vi({},e),{},{value:this.getValue(e.name)}),gi(t);var t}).filter(Qe.isT);return s.a.createElement(vt,Object(C.a)({},e,{formId:o,formFields:n,data:l,error:null!=i?i:void 0,prevLoading:r,nextLoading:a,onActive:this.handleChange,onPrev:this.handlePrev,onNext:this.handleNext}))}}var Si=yi;const Oi=e=>{const{fields:t,descriptions:o}=e,[n,i]=Object(l.useState)(""),r=Object(l.useCallback)(e=>{(e=>{const t=document.createElement("textarea");t.value=e,document.body.appendChild(t),t.focus(),t.select();try{document.execCommand("copy")}catch(e){console.error("Fallback: Oops, unable to copy",e)}document.body.removeChild(t)})(`{{${e}}}`),i(e)},[]);return Object(l.useEffect)(()=>{const e=setTimeout(()=>{i("")},800);return()=>{clearTimeout(e)}},[n]),s.a.createElement("div",{className:"brz-helper__copy"},o&&s.a.createElement("p",{className:"brz-p brz-helper__copy-descriptions"},o),t.map((e,t)=>s.a.createElement("p",{key:t,title:"Click to copy",className:"brz-p brz-helper__copy--fields",onClick:()=>{r(e.label)}},s.a.createElement("span",{className:"brz-span"},`{{${e.label}}}`),s.a.createElement(_.b,{icon:"nc-duplicate"}),n===e.label&&s.a.createElement("span",{className:"brz-span brz-ed-animated brz-ed-animated--fadeIn"},"Copied"))))};function xi(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Ci(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?xi(Object(o),!0).forEach((function(t){Object(a.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):xi(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const Bi={helper:e=>s.a.createElement(Oi,{descriptions:Object(ae.a)("You can use these shortcodes in your email: "),fields:e})},ji=[{name:"emailTo",title:Object(ae.a)("Email To"),required:!0,helper:`<p class="brz-p">${Object(ae.a)("If you need to have multiple emails you can separate them by commas")}:</p><p class="brz-p"><span class="brz-span">me@email.com,</span> <span class="brz-span">hi@email.com</span></p>`},Ci({name:"subject",title:Object(ae.a)("Subject")},V.g?Bi:{}),{name:"fromEmail",title:Object(ae.a)("From Email")},{name:"fromName",title:Object(ae.a)("From Name")},Ci({name:"replayTo",title:Object(ae.a)("Reply-To")},V.g?Bi:{}),{name:"cc",title:Object(ae.a)("Cc")},{name:"bcc",title:Object(ae.a)("Bcc")},{name:"metaData",title:Object(ae.a)("Meta Data"),type:"search",multiple:!0,choices:[{label:"Time",value:"time"},{label:"Page URL",value:"pageUrl"},{label:"User Agent",value:"userAgent"},{label:"Remote IP",value:"remoteIp"},{label:"Credit",value:"credit"}]}];class Pi extends l.Component{render(){return s.a.createElement(Si,Object(C.a)({},this.context,{apiKeys:ji,onClose:this.props.onClose}))}}Object(a.a)(Pi,"contextType",me);var Ti=Pi;class wi extends l.Component{renderError(){return s.a.createElement("div",{className:"brz-ed-alert brz-ed-alert-error"},s.a.createElement("span",{className:"brz-span"},this.props.error))}renderInput({name:e}){const{apiKeyValue:t,onChange:o}=this.props;return s.a.createElement("div",{className:"brz-ed-popup-integrations-step__fields-input"},s.a.createElement("input",{className:"brz-input",value:t[e],onChange:t=>{o(e,t.target.value)}}))}renderSelect({name:e,choices:t}){const{apiKeyValue:o,onChange:n}=this.props,i=o[e],r=(i?t:[{id:"",name:"Please Select Folder"},...t]).map((e,t)=>{const{id:o,name:n}=e;return s.a.createElement(O.a,{key:t,value:o},n)});return s.a.createElement("div",{className:"brz-ed-popup-integrations-step__fields-select"},s.a.createElement(S.a,{defaultValue:i,className:"brz-control__select--white",maxItems:"6",itemHeight:"30",inPortal:!0,onChange:t=>{n(e,t)}},r))}renderTextarea({name:e}){const{apiKeyValue:t,onChange:o}=this.props;return s.a.createElement("div",{className:"brz-ed-popup-integrations-step__fields-input"},s.a.createElement("textarea",{className:"brz-textarea",value:t[e],onChange:t=>{o(e,t.target.value)}}))}renderApiKeys(){const e=this.props.listsCreate.map((e,t)=>{const{title:o,type:n}=e;return s.a.createElement("div",{key:t,className:"brz-ed-popup-integrations-step__fields-option"},s.a.createElement("p",{className:"brz-p"},o),this["render"+Object(Gt.c)(n)](e))});return s.a.createElement(st.a,{style:{maxHeight:255},className:"brz-ed-scroll-pane brz-ed-popup-integrations__scroll-pane"},e)}render(){const{listsCreate:e,nextLoading:t,prevLoading:o,error:n,onPrev:i,onNext:r}=this.props;return s.a.createElement("div",{className:"brz-ed-popup-integrations-step brz-ed-popup-integrations-step__lists-create"},n&&this.renderError(),s.a.createElement("div",{className:"brz-ed-popup-integrations-step__head"},s.a.createElement("p",{className:"brz-p"},s.a.createElement("strong",{className:"brz-strong"},Object(ae.a)("CREATE LIST")))),s.a.createElement("div",{className:"brz-ed-popup-integrations-step__body"},e.length>0&&this.renderApiKeys(),s.a.createElement("div",{className:"brz-ed-popup-integrations-step__buttons"},s.a.createElement(Ge,{size:3,leftIcon:"nc-arrow-left",loading:o,onClick:i},Object(ae.a)("Back")),s.a.createElement(Ge,{color:"teal",loading:t,onClick:r},Object(ae.a)("Create")))))}}function Ei(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function zi(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Ei(Object(o),!0).forEach((function(t){Object(a.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Ei(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}Object(a.a)(wi,"defaultProps",{id:"",title:"",shortTitle:"",description:"",img:"",form:{},listsCreate:[],apiKeyValue:{},nextLoading:!1,prevLoading:!1,onPrev:f.default.noop,onNext:f.default.noop,onChange:f.default.noop});const ki=(e,t)=>{if("server"===e)return Object(ae.a)("List are not created please connect the support");const{data:{accountPro:o,lists:n},title:i}=t;return o?`Please upgrade your ${i} account to access your lists`:0===n.length?Object(ae.a)("Lists are empty. Please add a new list and try again."):void 0};class Fi extends l.Component{constructor(e,t){super(e),Object(a.a)(this,"handleActive",e=>{this.setState({active:e})}),Object(a.a)(this,"handleKeysChange",(e,t)=>{this.setState(o=>({apiKeyValue:zi(zi({},o.apiKeyValue),{},{[""+e]:t})}))}),Object(a.a)(this,"handleConfirm",async e=>{const{app:{id:t,data:o},formId:n,onChange:i}=this.context,{status:r,data:a}=await Wn(zi(zi({},o),{},{formId:n,confirmationNeeded:e}));200!==r?this.setState({error:Object(ae.a)("Something went wrong")}):i(t,zi(zi({},o),a))}),Object(a.a)(this,"handleCreateMode",async()=>{this.setState({createLoading:!0}),await Object(ue.G)(),this.setState({mode:"create",createLoading:!1,error:null})}),Object(a.a)(this,"handleViewMode",async()=>{this.setState({prevLoading:!0,error:null}),await Object(ue.G)(),this.setState({prevLoading:!1,mode:"view"})}),Object(a.a)(this,"handleCreateList",async()=>{const{app:{id:e,data:t},formId:o,onChange:n}=this.context,{apiKeyValue:i}=this.state,r=Object.values(i);if(this.setState({nextLoading:!0,error:null}),r.some(e=>!e))await Object(ue.G)(),this.setState({nextLoading:!1,error:Object(ae.a)("All fields cannot be empty")});else{const{status:r,data:a}=await(({formId:e,id:t,data:o})=>{const{api:n}=v.a.get("wp"),i=v.a.get("editorVersion"),r=Fe(n.url,{action:n.createIntegrationGroup,hash:n.hash,version:i,formId:e,integration:t});return Object(ue.J)(r,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},body:JSON.stringify(o)}).then(_e).then(e=>e)})({formId:o,id:t.id,data:i,usedAccount:t.usedAccount});200!==r?this.setState({nextLoading:!1,error:ki("server")}):(n(e,zi(zi({},t),{},{lists:[...t.lists,a]})),this.setState({active:a.id,apiKeyValue:this.getApiKeyValue(t),mode:"view",nextLoading:!1,error:null}))}}),Object(a.a)(this,"handleNext",async()=>{const{app:{id:e,data:t},formId:o,onChange:n,onChangeNext:i}=this.context,{active:r}=this.state;if(this.setState({nextLoading:!0,error:null}),r!==t.usedList){const{status:a,data:l}=await Wn(zi(zi({},t),{},{formId:o,usedList:r}));200!==a?this.setState({nextLoading:!1,error:Object(ae.a)("Something went wrong")}):(n(e,zi(zi({},t),l)),i())}else await Object(ue.G)(),i()}),Object(a.a)(this,"handlePrev",async()=>{this.setState({prevLoading:!0,error:null}),await Object(ue.G)(),this.context.onChangePrev()});const{data:o}=t.app;this.state={active:this.getActiveList(o),apiKeyValue:this.getApiKeyValue(o),mode:"view",error:ki("application",t.app),createLoading:!1,prevLoading:!1,nextLoading:!1}}static async onBeforeLoad(e){const{app:{id:t,data:o},onChange:n}=e;n(t,zi(zi({},o),{},{accountPro:!Array.isArray(o.lists)}))}getActiveList(e){const t=e.lists.find(({id:t})=>t===e.usedList)||{},o=e.lists.length?e.lists[0].id:"";return t.id||o}getApiKeyValue({listProperties:e}){return Array.isArray(e)?e.reduce((e,{name:t})=>zi(zi({},e),{},{[""+t]:""}),{}):[]}render(){const{app:e}=this.context,{lists:t,listProperties:o,hasConfirmation:n,accountPro:i,confirmationNeeded:r}=e.data;return"view"===this.state.mode?s.a.createElement(xt,Object(C.a)({},this.state,{lists:t,listsCreate:o,listPro:i,hasConfirmation:n,confirmationNeeded:r,onActive:this.handleActive,onConfirm:this.handleConfirm,onCreateList:this.handleCreateMode,onPrev:this.handlePrev,onNext:this.handleNext})):s.a.createElement(wi,Object(C.a)({},this.state,{listsCreate:o,onChange:this.handleKeysChange,onPrev:this.handleViewMode,onNext:this.handleCreateList}))}}Object(a.a)(Fi,"contextType",me);var _i=Fi;class Ri extends l.Component{constructor(...e){super(...e),Object(a.a)(this,"handleClose",()=>{this.props.onClose()})}render(){const{app:e}=this.context;return s.a.createElement(Bt,Object(C.a)({},e,{onNext:this.handleClose}))}}Object(a.a)(Ri,"contextType",me);var Hi=Ri;function Li(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Mi(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Li(Object(o),!0).forEach((function(t){Object(a.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Li(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const Ii={helper:e=>s.a.createElement(Oi,{descriptions:Object(ae.a)("You can use these shortcodes in your email: "),fields:e})},Wi=[{name:"emailTo",title:Object(ae.a)("Email To"),required:!0,helper:'<p class="brz-p">If you need to have multiple emails you can separate them by commas:</p>\n <p class="brz-p"><span class="brz-span">me@email.com,</span> <span class="brz-span">hi@email.com</span></p>'},Mi({name:"subject",title:Object(ae.a)("Subject")},V.g?Ii:{}),{name:"fromEmail",title:Object(ae.a)("From Email")},{name:"fromName",title:Object(ae.a)("From Name")},Mi({name:"replayTo",title:Object(ae.a)("Reply-To")},V.g?Ii:{}),{name:"cc",title:Object(ae.a)("Cc")},{name:"bcc",title:Object(ae.a)("Bcc")},{name:"metaData",title:Object(ae.a)("Meta Data"),type:"search",multiple:!0,choices:[{title:"Time",value:"time"},{title:"Page URL",value:"pageUrl"},{title:"User Agent",value:"userAgent"},{title:"Remote IP",value:"remoteIp"},{title:"Credit",value:"credit"}]},{name:"host",title:Object(ae.a)("Host"),required:!0},{name:"port",title:Object(ae.a)("Port"),required:!0},{name:"authentication",title:Object(ae.a)("Authentication"),type:"switch"},{name:"username",title:Object(ae.a)("Username"),required:!0},{name:"password",title:Object(ae.a)("Password"),required:!0},{name:"encryption",title:Object(ae.a)("Encryption"),type:"select",choices:[{title:"SSL",name:"ssl"},{title:"TLS",name:"tls"}]}];class Ni extends l.Component{render(){return s.a.createElement(Si,Object(C.a)({},this.props,this.context,{apiKeys:Wi}))}}Object(a.a)(Ni,"contextType",me);var Vi=Ni;function Ai(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Di(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Ai(Object(o),!0).forEach((function(t){Object(a.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Ai(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const $i={helper:e=>s.a.createElement(Oi,{descriptions:Object(ae.a)("You can use these shortcodes in your email: "),fields:e})},Gi=[{name:"emailTo",title:Object(ae.a)("Email To"),required:!0,helper:'<p class="brz-p">If you need to have multiple emails you can separate them by commas:</p>\n <p class="brz-p"><span class="brz-span">me@email.com,</span> <span class="brz-span">hi@email.com</span></p>'},Di({name:"subject",title:Object(ae.a)("Subject")},V.g?$i:{}),{name:"fromEmail",title:Object(ae.a)("From Email")},{name:"fromName",title:Object(ae.a)("From Name")},Di({name:"replayTo",title:Object(ae.a)("Reply-To")},V.g?$i:{}),{name:"cc",title:Object(ae.a)("Cc")},{name:"bcc",title:Object(ae.a)("Bcc")},{name:"metaData",title:Object(ae.a)("Meta Data"),type:"search",multiple:!0,choices:[{title:"TIME",value:"time"},{title:"Page URL",value:"pageUrl"},{title:"User Agent",value:"userAgent"},{title:"Remote IP",value:"remoteIp"},{title:"Credit",value:"credit"}]},{name:"username",title:Object(ae.a)("Username"),required:!0},{name:"password",title:Object(ae.a)("Password"),required:!0}];class Ui extends l.Component{render(){return s.a.createElement(Si,Object(C.a)({},this.props,this.context,{apiKeys:Gi}))}}Object(a.a)(Ui,"contextType",me);var Ki=Ui;class Yi extends l.Component{constructor(...e){super(...e),Object(a.a)(this,"handleConfirmation",e=>{this.props.onChangeConfirmation(e.target.checked)}),Object(a.a)(this,"handleKeyDown",e=>{const{confirmed:t,onNext:o}=this.props;13===e.which&&t&&o()})}renderError(){return s.a.createElement("div",{className:"brz-ed-alert brz-ed-alert-error"},this.props.error)}renderValidationError(){return s.a.createElement("div",{className:"brz-ed-alert brz-ed-alert-error brz-ed-popup-recaptcha-validation-error"},s.a.createElement("p",{className:"brz-p"},Object(ae.a)("Verification process failed, please make sure you have done the following three things and try again in a few minutes.")),s.a.createElement("p",{className:"brz-p"},"1. ",Object(ae.a)("Inputted a valid site key"),". "),s.a.createElement("p",{className:"brz-p"},"2.",Object(ae.a)("Deselected the “Verify the origin of reCAPTCHA solutions” checkbox within your Google account.")),s.a.createElement("p",{className:"brz-p"},"3. ",Object(ae.a)("Established a stable internet connection"),"."))}renderItems(){const{data:e,onChange:t}=this.props;return e.map((e,o)=>{const{title:n,name:i,value:r}=e;return s.a.createElement(Ye,{key:o,title:n,value:r,required:!0,onChange:e=>{t(e.target.value,i)}})})}renderDescriptions(){return s.a.createElement("div",{className:"brz-ed-popup-recaptcha__confirmation"},s.a.createElement("label",{className:"brz-label"},s.a.createElement("input",{className:"brz-input",type:"checkbox",value:this.props.confirmed,onChange:this.handleConfirmation}),'I have deselected "Verify the origins of reCAPTCHA solu-',s.a.createElement("br",{className:"brz-br"}),'tions and clicked "Save Changes" under "Key Settings >',s.a.createElement("br",{className:"brz-br"}),'Advanced Settings" in my Google reCAPTCHA page'))}render(){const{title:e,img:t,validated:o,confirmed:n,error:i,nextLoading:r,prevLoading:a,onRetry:l,onNext:c,onPrev:d}=this.props;return s.a.createElement(st.a,{className:"brz-ed-popup-integrations-apps__scroll-pane",style:{height:"100%"}},s.a.createElement("div",{className:"brz-ed-popup-recaptcha__connect"},s.a.createElement("div",{className:"brz-ed-popup-recaptcha__container"},s.a.createElement("div",{className:"brz-ed-popup-integrations__connect-head"},s.a.createElement("img",{className:"brz-img",src:t,alt:e}),o?this.renderDescriptions():this.renderValidationError(),i&&this.renderError()),s.a.createElement("div",{className:"brz-ed-popup-integrations__connect-body"},this.renderItems(),o?s.a.createElement(Ge,{color:"teal",loading:r,disabled:!n,onClick:c},Object(ae.a)("Connect")):s.a.createElement(Ge,{color:"teal",loading:r,onClick:l},Object(ae.a)("Try Again")),s.a.createElement(Ge,{color:"default",loading:a,onClick:d},Object(ae.a)("Cancel"))))))}}Object(a.a)(Yi,"defaultProps",{id:"",title:"",img:"",confirmed:!1,error:!1,nextLoading:!1,prevLoading:!1,onChange:f.default.noop,onChangeConfirmation:f.default.noop,onNext:f.default.noop,onPrev:f.default.noop});var qi=Yi;function Xi(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Ji(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Xi(Object(o),!0).forEach((function(t){Object(a.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Xi(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}async function Zi(e){try{return await function(e){const t=window.parent,o=function(e){const t=e.document.body,o=document.createElement("div");return o.setAttribute("class","brz-ed-recaptcha brz-hidden"),t.append(o),o}(t),n=function(e){const t=e.document.body,o=document.createElement("script");return o.setAttribute("src","https://www.google.com/recaptcha/api.js?onload=onloadRecaptchaCallback&render=explicit"),o.setAttribute("async","async"),o.setAttribute("defer","defer"),t.append(o),o}(t);return new Promise((i,r)=>{n.onload=()=>{const a=t.parent.grecaptcha;t.onloadRecaptchaCallback=()=>{const t=a.render(o,{sitekey:e.sitekey,size:"invisible",callback:async t=>{const{status:r}=await(({group:e,service:t,secretkey:o,sitekey:n,response:i})=>{const{api:r}=v.a.get("wp"),a=v.a.get("editorVersion"),l=Fe(r.url,{action:r.addAccount,hash:r.hash,version:a,secretkey:o,response:i});return Object(ue.J)(l,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},body:JSON.stringify({group:e,service:t,sitekey:n,secretkey:o})}).then(_e).then(e=>e)})(Ji(Ji({group:"recaptcha",service:"recaptcha"},e),{},{response:t}));o.remove(),n.remove(),i(200===r)},"error-callback":()=>{o.remove(),n.remove(),r(!1)}});a.reset(t),a.execute(t)}}})}(e)}catch(e){return e}}function Qi(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function er(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Qi(Object(o),!0).forEach((function(t){Object(a.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Qi(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const tr=[{name:"sitekey",title:"Site Key"},{name:"secretkey",title:"Secret Key"}];class or extends l.Component{constructor(e,t){super(e),Object(a.a)(this,"handleChange",(e,t)=>{this.setState(({apiKeyValue:o})=>({apiKeyValue:er(er({},o),{},{[""+t]:e.trim()})}))}),Object(a.a)(this,"handleConfirmation",e=>{this.setState({confirmed:e})}),Object(a.a)(this,"handleNext",async()=>{const{app:e,onChangeNext:t}=this.context,{apiKeyValue:o}=this.state,n=Object.values(o);if(this.setState({nextLoading:!0,error:null}),n.some(e=>!e))await Object(ue.G)(),this.setState({error:"Fields are empty",nextLoading:!1});else{const{data:n}=e;if(n){const{status:e}=await Ae(n.id);200!==e&&this.setState({nextLoading:!1,error:Object(ae.a)("Something went wrong")})}await Zi(o)?t():this.setState({nextLoading:!1,validated:!1})}}),Object(a.a)(this,"handlePrev",async()=>{this.setState({prevLoading:!0}),await Object(ue.G)(),this.context.onChangePrev()});const{app:{data:o}}=t;this.state={apiKeyValue:o||this.getDefaultValue(),validated:!0,confirmed:!1,prevLoading:!1,nextLoading:!1,error:null}}static async onBeforeLoad(e,t){e.app.data&&t.onChangeNext("disconnect")}getDefaultValue(){return tr.reduce((e,{name:t})=>er(er({},e),{},{[""+t]:""}),{})}render(){const{apiKeyValue:e,nextLoading:t,prevLoading:o,confirmed:n,error:i,validated:r}=this.state,a=tr.map(({title:t,name:o})=>({title:t,name:o,value:e[o]}));return s.a.createElement(qi,Object(C.a)({},this.context.app,{data:a,validated:r,confirmed:n,nextLoading:t,prevLoading:o,error:i,onChange:this.handleChange,onChangeConfirmation:this.handleConfirmation,onNext:this.handleNext,onRetry:this.handleNext,onPrev:this.handlePrev}))}}Object(a.a)(or,"contextType",me);var nr=or;class ir extends l.Component{constructor(e){super(e),Object(a.a)(this,"handleNext",async()=>{const{app:e,onChange:t,onDisconnectApp:o}=this.context;this.setState({nextLoading:!0,error:null});const{status:n}=await Ae(e.data.id);n<400?(o(e.id),t(e.id,null)):this.setState({nextLoading:!1,error:Object(ae.a)("Something went wrong")})}),Object(a.a)(this,"handlePrev",async()=>{this.setState({prevLoading:!0,error:null}),await Object(ue.G)(),this.context.onChangePrev("appList")}),this.state={nextLoading:!1,prevLoading:!1,error:null}}render(){const{nextLoading:e,prevLoading:t,error:o}=this.state;return s.a.createElement(Ze,Object(C.a)({},this.context.app,{descriptions:Object(ae.a)("Are you want to delete account")+" ?",nextLoading:e,prevLoading:t,error:o,onPrev:this.handlePrev,onNext:this.handleNext}))}}Object(a.a)(ir,"contextType",me);var rr=ir;class ar extends Ht{}Object(a.a)(ar,"fields",Ti),Object(a.a)(ar,"done",Hi);var lr=ar;class sr extends Ht{}Object(a.a)(sr,"fields",Ti),Object(a.a)(sr,"done",Hi);var cr=sr;class dr extends Ht{}Object(a.a)(dr,"connect",$n),Object(a.a)(dr,"account",Yn),Object(a.a)(dr,"fields",oi),Object(a.a)(dr,"list",_i),Object(a.a)(dr,"done",Hi);var pr=dr;class ur extends Ht{}Object(a.a)(ur,"connect",$n),Object(a.a)(ur,"account",Yn),Object(a.a)(ur,"client",Zn),Object(a.a)(ur,"fields",oi),Object(a.a)(ur,"list",_i),Object(a.a)(ur,"done",Hi);var br=ur;class mr extends Ht{}Object(a.a)(mr,"connect",$n),Object(a.a)(mr,"account",Yn),Object(a.a)(mr,"fields",ai),Object(a.a)(mr,"done",Hi);var hr=mr;class gr extends Ht{}Object(a.a)(gr,"connect",$n),Object(a.a)(gr,"account",Yn),Object(a.a)(gr,"client",Zn),Object(a.a)(gr,"fields",oi),Object(a.a)(gr,"list",_i),Object(a.a)(gr,"done",Hi);var fr=gr;class vr extends Ht{}Object(a.a)(vr,"connect",$n),Object(a.a)(vr,"account",Yn),Object(a.a)(vr,"fields",oi),Object(a.a)(vr,"list",_i),Object(a.a)(vr,"done",Hi);var yr=vr;class Sr extends Ht{}Object(a.a)(Sr,"connect",$n),Object(a.a)(Sr,"account",Yn),Object(a.a)(Sr,"fields",oi),Object(a.a)(Sr,"list",_i),Object(a.a)(Sr,"done",Hi);var Or=Sr;class xr extends Ht{}Object(a.a)(xr,"connect",$n),Object(a.a)(xr,"account",Yn),Object(a.a)(xr,"fields",oi),Object(a.a)(xr,"list",_i),Object(a.a)(xr,"done",Hi);var Cr=xr;class Br extends Ht{}Object(a.a)(Br,"connect",$n),Object(a.a)(Br,"account",Yn),Object(a.a)(Br,"fields",oi),Object(a.a)(Br,"list",_i),Object(a.a)(Br,"done",Hi);var jr=Br;class Pr extends Ht{}Object(a.a)(Pr,"connect",$n),Object(a.a)(Pr,"account",Yn),Object(a.a)(Pr,"fields",oi),Object(a.a)(Pr,"list",_i),Object(a.a)(Pr,"done",Hi);var Tr=Pr;class wr extends Ht{}Object(a.a)(wr,"connect",$n),Object(a.a)(wr,"account",Yn),Object(a.a)(wr,"list",_i),Object(a.a)(wr,"fields",oi),Object(a.a)(wr,"done",Hi);var Er=wr;class zr extends Ht{}Object(a.a)(zr,"connect",$n),Object(a.a)(zr,"account",Yn),Object(a.a)(zr,"fields",oi),Object(a.a)(zr,"list",_i),Object(a.a)(zr,"done",Hi);var kr=zr;class Fr extends Ht{}Object(a.a)(Fr,"connect",$n),Object(a.a)(Fr,"account",Yn),Object(a.a)(Fr,"fields",oi),Object(a.a)(Fr,"done",Hi);var _r=Fr;class Rr extends Ht{}Object(a.a)(Rr,"fields",Vi),Object(a.a)(Rr,"done",Hi);var Hr=Rr;class Lr extends Ht{}Object(a.a)(Lr,"fields",Ki),Object(a.a)(Lr,"done",Hi);var Mr=Lr;class Ir extends Ht{}Object(a.a)(Ir,"connect",$n),Object(a.a)(Ir,"account",Yn),Object(a.a)(Ir,"fields",oi),Object(a.a)(Ir,"list",_i),Object(a.a)(Ir,"done",Hi);var Wr=Ir;class Nr extends Ht{}Object(a.a)(Nr,"connect",$n),Object(a.a)(Nr,"account",Yn),Object(a.a)(Nr,"list",_i),Object(a.a)(Nr,"fields",oi),Object(a.a)(Nr,"done",Hi);var Vr=Nr;class Ar extends Ht{}Object(a.a)(Ar,"connect",$n),Object(a.a)(Ar,"account",Yn),Object(a.a)(Ar,"fields",oi),Object(a.a)(Ar,"list",_i),Object(a.a)(Ar,"done",Hi);var Dr=Ar;class $r extends Ht{}Object(a.a)($r,"connect",$n),Object(a.a)($r,"account",Yn),Object(a.a)($r,"fields",oi),Object(a.a)($r,"list",_i),Object(a.a)($r,"done",Hi);var Gr=$r;class Ur extends Ht{}Object(a.a)(Ur,"connect",$n),Object(a.a)(Ur,"account",Yn),Object(a.a)(Ur,"fields",oi),Object(a.a)(Ur,"list",_i),Object(a.a)(Ur,"done",Hi);var Kr=Ur;class Yr extends Ht{}Object(a.a)(Yr,"connect",$n),Object(a.a)(Yr,"account",Yn),Object(a.a)(Yr,"fields",oi),Object(a.a)(Yr,"list",_i),Object(a.a)(Yr,"done",Hi);var qr=Yr;class Xr extends Ht{}Object(a.a)(Xr,"connect",nr),Object(a.a)(Xr,"done",Hi),Object(a.a)(Xr,"disconnect",rr);var Jr=Xr;function Zr(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Qr(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Zr(Object(o),!0).forEach((function(t){Object(a.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Zr(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const ea=v.a.get("pro");var ta=class extends Ee{constructor(...e){super(...e),Object(a.a)(this,"appsData",[]),Object(a.a)(this,"appsComponent",i),Object(a.a)(this,"proExceptions",!ea),Object(a.a)(this,"handleConnectApp",async e=>{const{id:t,stages:o}=e,{formId:n}=this.props;let{status:i,data:r}=await Mn({formId:n,id:t});if(200!==i){if(404!==i)return void this.setState({appError:Object(ae.a)("The integration is not responding, please try again or verify the account credentials")});if(({status:i,data:r}=await In({formId:n,id:t})),200!==i)return void this.setState({appError:Object(ae.a)("The integration is not responding, please try again or verify the account credentials")})}this.setState(Object(c.a)(n=>{n.appError=null,n.stages=o,n.connectedApp=t,n.data[t]=e,n.data[t].data=r}),()=>{this.handleNext()})})}async componentDidMount(){const e=Object(pe.a)("integrations.json"),t=await fetch(e),{services:o}=await t.json();this.appsData=o,await this.getData()}async getData(){const{formId:e}=this.props,{status:t,data:o}=await Hn({formId:e});if(200!==t)if(404===t){const{status:t}=await Ln({formId:e});t>=400?this.setState({error:Object(ae.a)("Something went wrong")}):this.setState({loading:!1})}else this.setState({error:Object(ae.a)("Something went wrong")});else o&&this.setState({connectedApps:this.getConnectedApps(o.integrations),loading:!1})}getContextValue(){const{formId:e,formFields:t}=this.props;return Qr(Qr({},super.getContextValue()),{},{formId:e,formFields:t})}},oa=o(310);function na(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function ia(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?na(Object(o),!0).forEach((function(t){Object(a.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):na(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var ra=class extends Ee{constructor(...e){super(...e),Object(a.a)(this,"state",{loading:!0,showProgress:!0,connectedApp:"",connectedApps:[],stage:this.props.stage,stages:this.props.stages,oldStage:"",data:{},error:null,appError:null,emailTemplate:"",hasEmailTemplate:!1}),Object(a.a)(this,"appsData",[]),Object(a.a)(this,"appsComponent",i),Object(a.a)(this,"proExceptions",!V.g),Object(a.a)(this,"updateForm",f.default.debounce(()=>{(({formId:e,hasEmailTemplate:t,emailTemplate:o})=>{const{api:n}=v.a.get("wp"),i=v.a.get("editorVersion"),r=Fe(n.url,{formId:e,action:n.updateForm,hash:n.hash,version:i});Object(ue.J)(r,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},body:JSON.stringify({hasEmailTemplate:t,emailTemplate:o})}).then(_e).then(e=>e)})({formId:this.props.formId,hasEmailTemplate:this.state.hasEmailTemplate,emailTemplate:this.state.emailTemplate})},1e3)),Object(a.a)(this,"handleConnectApp",async e=>{const t=e.id,{formId:o}=this.props,{stages:n=[]}=this.appsData.find(e=>e.id===t)||{};let{status:i,data:r}=await((...e)=>Mn(...e))({formId:o,id:t});if(200!==i){if(404!==i)return void this.setState({error:Object(ae.a)("Something went wrong")});{const{status:e,data:n}=await((...e)=>In(...e))({formId:o,id:t});if(200!==e)return void this.setState({error:Object(ae.a)("Something went wrong")});r=n}}this.setState(Object(c.a)(o=>{o.stages=n,o.connectedApp=t,o.data[t]=Object.assign(e,{data:r})}),()=>{this.handleNext()})}),Object(a.a)(this,"handleHtmlChange",e=>{this.setState({emailTemplate:e},this.updateForm)}),Object(a.a)(this,"handleEnableHtml",e=>{this.setState({hasEmailTemplate:e}),!1===e&&this.state.emailTemplate&&this.setState({emailTemplate:""},this.updateForm)})}async componentDidMount(){const e=Object(pe.a)("integrations.json"),t=await fetch(e),o=await t.json();V.l?this.appsData=o.wpEmail:this.appsData=o.cloudEmail,await this.getData()}async getData(){const{formId:e,onLoading:t}=this.props,{status:o,data:n}=await Hn({formId:e});if(200!==o)if(404===o){const{status:t,data:o}=await Ln({formId:e});t>=400||!o?this.setState({error:Object(ae.a)("Something went wrong")}):this.setState({connectedApps:this.getConnectedApps(o.integrations),loading:!1})}else this.setState({error:Object(ae.a)("Something went wrong")});else n&&this.setState({connectedApps:this.getConnectedApps(n.integrations),emailTemplate:n.emailTemplate||"",hasEmailTemplate:n.hasEmailTemplate,loading:!1});t(!1)}getContextValue(){const{formId:e,formFields:t}=this.props;return ia(ia({},super.getContextValue()),{},{formId:e,formFields:t})}renderFormInfo(){return s.a.createElement("div",{className:"brz-ed-popup-integration-email__info"},s.a.createElement(Oi,{fields:this.props.formFields}))}renderApps(){const{error:e,emailTemplate:t,hasEmailTemplate:o}=this.state,n=g()("brz-ed-popup-integration-email__template",{"brz-ed-popup-integration-email__template--open":o});return s.a.createElement(s.a.Fragment,null,e&&super.renderError(),s.a.createElement(Te,{apps:this.appsData,proExceptions:this.proExceptions}),!this.proExceptions&&s.a.createElement("div",{className:n},s.a.createElement("div",{className:"brz-ed-popup-integration-email__template-head"},s.a.createElement("p",{className:"brz-p"},s.a.createElement("strong",{className:"brz-strong"},Object(ae.a)("USE CUSTOM TEMPLATE"))),s.a.createElement(et.a,{className:"brz-ed-control__switch--light",defaultValue:o,onChange:this.handleEnableHtml})),s.a.createElement("div",{className:"brz-ed-popup-integration-email__template-body"},s.a.createElement(oa.a,{className:"brz-ed-popup-integration-email__codemirror",value:t,onChange:this.handleHtmlChange,language:"xml",theme:"idea"}),s.a.createElement("div",{className:"brz-d-xs-flex brz-align-items-xs-center"},s.a.createElement("p",{className:"brz-p"},Object(ae.a)("Tip: Use these shortcodes to populate your template")),s.a.createElement(Oe.c,{className:"brz-ed-popup-integration-email__tooltip",size:"small",openOnClick:!1,closeDelay:600,overlay:this.renderFormInfo()},s.a.createElement(_.b,{icon:"nc-alert-circle-que"}))))))}};function aa(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function la(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?aa(Object(o),!0).forEach((function(t){Object(a.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):aa(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var sa=class extends Ee{constructor(...e){super(...e),Object(a.a)(this,"appsData",[]),Object(a.a)(this,"appsComponent",i),Object(a.a)(this,"handleConnectApp",async e=>{const t=e.id;await Object(ue.G)(),this.setState(Object(c.a)(o=>{const n=o.data[t]||{};o.connectedApp=t,o.stages=e.stages,o.data[t]=la(la({},n),e)}),()=>{this.handleNext()})})}async componentDidMount(){const e=Object(pe.a)("integrations.json"),t=await fetch(e),{recaptcha:o}=await t.json(),{status:n,data:i}=await Ve({group:"recaptcha",services:"recaptcha"});this.appsData=o,200===n&&i&&i.length>0?this.setState(Object(c.a)(e=>{e.data={recaptcha:{data:i[0]}},e.connectedApps=this.getConnectedApps(i),e.loading=!1})):this.setState({loading:!1})}getConnectedApps(e){return e.reduce((e,t)=>this.appsData.find(({id:e})=>e===t.group)?[...e,t.group]:e,[...this.state.connectedApps])}};const ca=[{id:"email",title:Object(ae.a)("Email"),icon:"nc-email",component:ra},{id:"service",title:Object(ae.a)("APPS"),icon:"nc-extensions-2",component:ta},{id:"recaptcha",title:Object(ae.a)("ReCAPTCHA"),icon:"nc-captcha",component:sa}];class da extends l.Component{render(){const{formId:e,formFields:t,opened:o,onClose:n}=this.props;return s.a.createElement(de,{currentTab:"email",formId:e,formFields:t,opened:o,tabs:ca,onClose:n})}}Object(a.a)(da,"defaultProps",{formId:"",formFields:[],opened:!1,onClose:f.default.noop});var pa=da,ua=o(86);class ba extends l.Component{render(){const{opened:e,onClose:t}=this.props,o="MacOS"===Object(ua.a)(),n=o?`${Object(pe.a)("editor/img/mac-keyboard1x.png")} 1x , ${Object(pe.a)("editor/img/mac-keyboard2x.png")} 2x`:`${Object(pe.a)("editor/img/pc-keyboard1x.png")} 1x , ${Object(pe.a)("editor/img/pc-keyboard2x.png")} 2x`;return s.a.createElement(y.a,{id:"key-helper",className:"brz-ed-hotkeys-overlay",opened:e,onClose:t},s.a.createElement("div",{className:"brz-ed-hotkeys-wrapper"},s.a.createElement(_.b,{icon:"nc-close-popup",className:"brz-ed-hotkeys-btn-close",onClick:t}),s.a.createElement("div",{className:"brz-ed-hotkeys-label"},Object(ae.a)("Keyboard Shortcuts")),s.a.createElement("div",{className:"brz-ed-hotkeys-image-container"},s.a.createElement("picture",null,s.a.createElement("img",{className:"brz-ed-hotkeys-image",srcSet:n}))),s.a.createElement("div",{className:"brz-ed-hotkeys-combination-container"},s.a.createElement("div",{className:"brz-ed-hotkeys-combination-container-column"},s.a.createElement("div",{className:"brz-ed-hotkeys-combination-container-column-list"},s.a.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label"},o?"cmd + C":"Ctrl + C"),s.a.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label-2"},Object(ae.a)("Copy"))),s.a.createElement("div",{className:"brz-ed-hotkeys-combination-container-column-list"},s.a.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label"},o?"cmd + V":"Ctrl + V"),s.a.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label-2"},Object(ae.a)("Paste"))),s.a.createElement("div",{className:"brz-ed-hotkeys-combination-container-column-list"},s.a.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label"},o?"cmd + shift + V":"Ctrl + Shift + V"),s.a.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label-2"},Object(ae.a)("Paste Style"))),s.a.createElement("div",{className:"brz-ed-hotkeys-combination-container-column-list"},s.a.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label"},o?"cmd + D":"Ctrl + D"),s.a.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label-2"},Object(ae.a)("Duplicate"))),s.a.createElement("div",{className:"brz-ed-hotkeys-combination-container-column-list"},s.a.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label"},o?"cmd + delete":"Delete"),s.a.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label-2"},Object(ae.a)("Delete"))),s.a.createElement("div",{className:"brz-ed-hotkeys-combination-container-column-list"},s.a.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label"},o?"cmd +":"Ctrl +",s.a.createElement(_.b,{className:"brz-ed-hotkeys-icons",icon:"nc-arrow"}),s.a.createElement("span",{className:"divider"}," / "),s.a.createElement(_.b,{className:"brz-ed-hotkeys-icons brz-ed-deg180",icon:"nc-arrow"})),s.a.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label-2"},Object(ae.a)("Horizontal Align"))),s.a.createElement("div",{className:"brz-ed-hotkeys-combination-container-column-list"},s.a.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label"},o?"cmd +":"Ctrl +",s.a.createElement(_.b,{className:"brz-ed-hotkeys-icons brz-ed-deg90",icon:"nc-arrow"}),s.a.createElement("span",{className:"divider"}," / "),s.a.createElement(_.b,{className:"brz-ed-hotkeys-icons brz-ed-deg270",icon:"nc-arrow"})),s.a.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label-2"},Object(ae.a)("Vertical Align"))),s.a.createElement("div",{className:"brz-ed-hotkeys-combination-container-column-list"},s.a.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label"},o?"esc":"Esc"),s.a.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label-2"},Object(ae.a)("Select Parent Element")))),s.a.createElement("div",{className:"brz-ed-hotkeys-combination-container-column"},s.a.createElement("div",{className:"brz-ed-hotkeys-combination-container-column-list"},s.a.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label"},o?"cmd + Z":"Ctrl + Z"),s.a.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label-2"},Object(ae.a)("Undo"))),s.a.createElement("div",{className:"brz-ed-hotkeys-combination-container-column-list"},s.a.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label"},o?"cmd + shift + Z":"Ctrl + Shift + Z"),s.a.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label-2"},Object(ae.a)("Redo"))),s.a.createElement("div",{className:"brz-ed-hotkeys-combination-container-column-list"},s.a.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label"},o?"cmd + S":"Ctrl + S"),s.a.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label-2"},Object(ae.a)("Save Draft / Update Page"))),s.a.createElement("div",{className:"brz-ed-hotkeys-combination-container-column-list"},s.a.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label"},o?"cmd +":"Ctrl +",s.a.createElement(_.b,{className:"brz-ed-hotkeys-icons",icon:"nc-plus2"}),s.a.createElement("span",{className:"divider"}," / "),s.a.createElement(_.b,{className:"brz-ed-hotkeys-icons",icon:"nc-minus"})),s.a.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label-2"},Object(ae.a)("Responsive Zoom In / Out"))),s.a.createElement("div",{className:"brz-ed-hotkeys-combination-container-column-list"},s.a.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label"},o?"cmd +":"Ctrl +",s.a.createElement(_.b,{className:"brz-ed-hotkeys-icons",icon:"nc-alert-circle-que"})),s.a.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label-2"},Object(ae.a)("Shortcuts"))),s.a.createElement("div",{className:"brz-ed-hotkeys-combination-container-column-list"},s.a.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label"},o?"cmd + shift + A":"Ctrl + Shift + A"),s.a.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label-2"},Object(ae.a)("Add New Block / Layout"))),s.a.createElement("div",{className:"brz-ed-hotkeys-combination-container-column-list"},s.a.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label"},o?"cmd + M":"Ctrl + M"),s.a.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label-2"},Object(ae.a)("Styling"))),s.a.createElement("div",{className:"brz-ed-hotkeys-combination-container-column-list"},s.a.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label"},o?"cmd + K":"Ctrl + K"),s.a.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label-2"},Object(ae.a)("Effects")))))))}}Object(a.a)(ba,"defaultProps",{opened:!1,onClose:f.noop});function ma(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function ha(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?ma(Object(o),!0).forEach((function(t){Object(a.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):ma(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const ga=(e,t)=>{const o=e.family.toUpperCase(),n=t.family.toUpperCase();return o<n?-1:o>n?1:0};function fa(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function va(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?fa(Object(o),!0).forEach((function(t){Object(a.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):fa(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}class ya extends l.Component{constructor(e){super(e),Object(a.a)(this,"handleAddNewFont",(e,t)=>{this.setState({selectedFont:t})}),Object(a.a)(this,"handleNext",async()=>{const{selectedFont:e}=this.state,{app:{data:{fonts:t}},onChangeNext:o}=this.context,n=t.find(({family:t})=>t===e);if(this.setState({nextLoading:!0,error:null}),await Object(ue.G)(),n){const e=Object(No.j)(this.props.fonts,Object(No.h)(n).id);e?this.props.addFonts([{type:e.group,fonts:[va(va({},e.font),{},{deleted:!1})]}]):this.props.addFonts([{type:"google",fonts:[n]}]),o()}else this.setState({error:`Font ${e} not found, please try again`,nextLoading:!1})}),Object(a.a)(this,"handlePrev",async()=>{this.setState({prevLoading:!0}),await Object(ue.G)(),this.context.onChangePrev()});const{config:t,blocks:o={},google:n={}}=this.props.fonts;this.usedFonts=[...t.data||[],...n.data||[],...o.data||[]],this.state={selectedFont:"",nextLoading:!1,prevLoading:!1,error:null}}static async onBeforeLoad(e){const{app:{id:t,data:o},onChange:n}=e,i=await Object(No.i)();n(t,va(va({},o),{},{fonts:i}))}render(){const{app:e}=this.context,{selectedFont:t,prevLoading:o,nextLoading:n,error:i}=this.state,r=e.data.fonts.filter(e=>{const{id:t}=Object(No.h)(e);return!this.usedFonts.some(e=>{const{id:o,deleted:n}=Object(No.h)(e);return!0!==n&&o===t})}).map(e=>({value:e.family,label:e.family})),a=[{title:Object(ae.a)("Font name"),type:"search",choices:r,value:t}],c=s.a.createElement(l.Fragment,null,Object(ae.a)("Tip: You can browse the Google font library")," ",s.a.createElement("a",{className:"brz-a",href:"https://fonts.google.com",target:"_blank",rel:"noopener noreferrer"},Object(ae.a)("here")),".");return s.a.createElement(vt,Object(C.a)({},e,{data:a,headTitle:Object(ae.a)("ADD GOOGLE FONT"),description:c,prevLoading:o,nextLoading:n,error:i,onActive:this.handleAddNewFont,onPrev:this.handlePrev,onNext:this.handleNext}))}}Object(a.a)(ya,"contextType",me);const Sa={addFonts:Qo.n};var Oa=Object(no.b)(e=>({fonts:Object(so.o)(e)}),Sa)(ya);class xa extends l.Component{constructor(...e){super(...e),Object(a.a)(this,"handleClose",()=>{this.props.onClose()})}render(){const{app:e}=this.context;return s.a.createElement(Bt,Object(C.a)({},e,{onNext:this.handleClose}))}}Object(a.a)(xa,"contextType",me);var Ca=xa;class Ba extends Ht{}Object(a.a)(Ba,"connect",Oa),Object(a.a)(Ba,"done",Ca);var ja=Ba;function Pa(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Ta(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Pa(Object(o),!0).forEach((function(t){Object(a.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Pa(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}class wa extends l.Component{constructor(e){super(e),Object(a.a)(this,"handleChange",(e,t)=>{t.length<=17&&this.setState({fontName:t})}),Object(a.a)(this,"handleNext",async()=>{const{fontName:e}=this.state,{app:{id:t,data:o={}},onChange:n,onChangeNext:i}=this.context;this.setState({nextLoading:!0}),await Object(ue.G)(),e.trim()?(n(t,Ta(Ta({},o),{},{fontName:e})),i()):this.setState({nextLoading:!1,error:Object(ae.a)("Font Name is Required")})}),Object(a.a)(this,"handlePrev",async()=>{this.setState({prevLoading:!0}),await Object(ue.G)(),this.context.onChangePrev()}),this.state={fontName:"",nextLoading:!1,prevLoading:!1,error:null}}render(){const{app:e}=this.context,{fontName:t,prevLoading:o,nextLoading:n,error:i}=this.state,r=[{title:Object(ae.a)("Font name"),value:t}];return s.a.createElement(vt,Object(C.a)({},e,{headTitle:Object(ae.a)("UPLOAD FONT"),data:r,error:i,prevLoading:o,nextLoading:n,onActive:this.handleChange,onNext:this.handleNext,onPrev:this.handlePrev}))}}Object(a.a)(wa,"contextType",me);var Ea=wa,za=o(63);class ka extends l.Component{renderError(){return s.a.createElement("div",{className:"brz-ed-alert brz-ed-alert-error"},s.a.createElement("span",{className:"brz-span"},this.props.error))}renderSelect({name:e,value:t,choices:o}){const n=o.map(({title:e,name:t})=>s.a.createElement(O.a,{key:t,value:t},e));return s.a.createElement("div",{className:"brz-ed-popup-integrations-step__fields-select"},s.a.createElement(S.a,{className:"brz-control__select--white",maxItems:"6",itemHeight:"30",inPortal:!0,defaultValue:t,onChange:t=>{this.props.onActive(e,t)}},n))}renderUpload({name:e,value:t,accept:o}){return s.a.createElement("div",{className:"brz-ed-popup-integrations-step__fields-upload"},t?s.a.createElement(l.Fragment,null,s.a.createElement("span",{className:"brz-span"},t.name),s.a.createElement("button",{className:"brz-button brz-ed-btn brz-ed-btn-xs brz-ed-btn-gray brz-ed-btn-red--hover brz-ed-btn-rounded brz-fw-700",onClick:()=>{this.props.onActive(e,"")}}," ",Object(ae.a)("DELETE")," ")):s.a.createElement("label",{className:"brz-label brz-ed-btn brz-ed-btn-xs brz-ed-btn-gray brz-ed-btn-teal--hover brz-ed-btn-rounded brz-fw-700",htmlFor:e},s.a.createElement("input",{id:e,className:"brz-input brz-hidden",type:"file",accept:o,onChange:({target:t})=>{this.props.onActive(e,t.files[0])}}),Object(ae.a)("UPLOAD")))}renderOptions(){const e=this.props.data.map((e,t)=>{const{title:o,type:n,helper:i}=e;return s.a.createElement("div",{key:t,className:"brz-ed-popup-integrations-step__fields-option"},s.a.createElement("div",{className:"brz-d-xs-flex brz-align-items-xs-center"},s.a.createElement("p",{className:"brz-p"},o),i&&s.a.createElement(Oe.c,{className:"brz-ed-popup-integrations-fields__tooltip",openOnClick:!1,inPortal:!0,overlay:s.a.createElement("div",{className:"brz-ed-popup-integrations-fields__info",dangerouslySetInnerHTML:{__html:i}})},s.a.createElement(_.b,{icon:"nc-alert-circle-que"}))),"select"===n&&this.renderSelect(e),"upload"===n&&this.renderUpload(e))});return s.a.createElement(st.a,{style:{maxHeight:255},className:"brz-ed-popup-integrations__scroll-pane"},e)}render(){const{error:e,prevLoading:t,nextLoading:o,onPrev:n,onNext:i}=this.props;return s.a.createElement("div",{className:"brz-ed-popup-integrations-step brz-ed-popup-integrations-step__fields"},e&&this.renderError(),s.a.createElement("div",{className:"brz-ed-popup-integrations-step__head"},s.a.createElement("p",{className:"brz-p"},s.a.createElement("strong",{className:"brz-strong"},Object(ae.a)("ADD FONT VARIATION")))),s.a.createElement("div",{className:"brz-ed-popup-integrations-step__body"},this.renderOptions(),s.a.createElement("div",{className:"brz-ed-popup-integrations-step__buttons"},null!==t&&s.a.createElement(Ge,{size:3,leftIcon:"nc-arrow-left",loading:t,onClick:n},Object(ae.a)("Back")),null!==o&&s.a.createElement(Ge,{color:"teal",loading:o,onClick:i},Object(ae.a)("Add Font")))))}}Object(a.a)(ka,"defaultProps",{data:[{title:"",value:"",name:"",helper:null}],nextLoading:null,prevLoading:null,onPrev:f.default.noop,onNext:f.default.noop,onActive:f.default.noop});var Fa=ka;class _a extends l.Component{renderError(){return s.a.createElement("div",{className:"brz-ed-alert brz-ed-alert-error"},s.a.createElement("span",{className:"brz-span"},this.props.error))}renderOptions(){const{data:e,onActive:t}=this.props,o=e.map((e,o)=>{const{id:n,title:i,type:r}=e;return s.a.createElement("div",{key:o,className:"brz-ed-popup-integrations-step__fields-option brz-ed-popup-integrations-step__fields-option--big"},s.a.createElement("p",{className:"brz-p brz-ed-popup-integration__font-name"},i),s.a.createElement("p",{className:"brz-p",style:{fontWeight:n,flexBasis:"60%"}},r),s.a.createElement("div",{title:"Disconnect",className:"brz-ed-popup-integrations--delete",onClick:()=>{t(n)}},s.a.createElement(_.b,{icon:"nc-trash"})))});return s.a.createElement(st.a,{style:{maxHeight:255},className:"brz-ed-popup-integrations__scroll-pane"},o)}render(){const{error:e,prevLoading:t,nextLoading:o,createLoading:n,onPrev:i,onNext:r,onCreate:a}=this.props;return s.a.createElement("div",{className:"brz-ed-popup-integrations-step brz-ed-popup-integrations-step__fields"},e&&this.renderError(),s.a.createElement("div",{className:"brz-ed-popup-integrations-step__head"},s.a.createElement("p",{className:"brz-p"},s.a.createElement("strong",{className:"brz-strong"},Object(ae.a)("FONT VARIATION")))),s.a.createElement("div",{className:"brz-ed-popup-integrations-step__body"},this.renderOptions(),s.a.createElement("div",{className:"brz-ed-popup-integrations-new__option",onClick:a},s.a.createElement(_.b,{icon:n?"nc-circle-02":"nc-add",className:n?"brz-ed-animated--spin":""}),Object(ae.a)("Add new font variation")),s.a.createElement("div",{className:"brz-ed-popup-integrations-step__buttons"},null!==t&&s.a.createElement(Ge,{size:3,leftIcon:"nc-arrow-left",loading:t,onClick:i},Object(ae.a)("Back")),null!==o&&s.a.createElement(Ge,{color:"teal",loading:o,onClick:r},Object(ae.a)("Continue")))))}}Object(a.a)(_a,"defaultProps",{data:[{title:"",value:"",name:""}],nextLoading:null,prevLoading:null,createLoading:!1,onPrev:f.default.noop,onNext:f.default.noop,onActive:f.default.noop,onCreate:f.default.noop});var Ra=_a;function Ha(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function La(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Ha(Object(o),!0).forEach((function(t){Object(a.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Ha(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const Ma=f.default.memoize(e=>Object.entries(e).map(([e,t])=>({title:t,name:e})));class Ia extends l.Component{constructor(...e){super(...e),Object(a.a)(this,"state",{mode:"add",keyValue:this.getDefaultData(),nextLoading:!1,prevLoading:!1,addLoading:!1,error:null}),Object(a.a)(this,"handleChangeAddMode",async()=>{this.setState({addLoading:!0}),await Object(ue.G)(),this.setState({mode:"add",addLoading:!1})}),Object(a.a)(this,"handleUploadFonts",(e,t)=>{this.setState(({keyValue:o})=>({error:null,keyValue:La(La({},o),{},{[""+e]:t})}))}),Object(a.a)(this,"handleAddFonts",async()=>{const{app:{id:e,data:t},onChange:o}=this.context,n=this.state.keyValue,{weight:i}=n,r=Object(x.a)(n,["weight"]);if(this.setState({nextLoading:!0,error:null}),await Object(ue.G)(),!Object.values(r).some(e=>Boolean(e)))return void this.setState({nextLoading:!1,error:Object(ae.a)("You must be have one font added")});let a=new Set([...t.weights||[],Number(i)]);o(e,Object.assign({},t,{weights:[...a],files:La(La({},t.files||[]),{},{[i]:r})})),this.setState({mode:"edit",keyValue:this.getDefaultData(),nextLoading:!1})}),Object(a.a)(this,"handleRemoveFonts",e=>{const{app:{id:t,data:o},onChange:n}=this.context;n(t,Object.assign({},o,{weights:f.default.without(o.weights,e),files:f.default.omit(o.files,e)}))}),Object(a.a)(this,"handleNext",async()=>{const{app:{data:{files:e,fontName:t}},onChangeNext:o}=this.context;this.setState({nextLoading:!0});const{status:n,data:i}=await(({id:e,name:t,files:o})=>{const{api:n}=v.a.get("wp"),i=v.a.get("editorVersion"),r=Fe(n.url,{action:n.createFont,hash:n.hash,version:i}),a=new FormData;return a.append("id",e),a.append("family",t),Object.entries(o).forEach(([e,t])=>{Object.entries(t).forEach(([t,o])=>{o&&a.append(`fonts[${e}][${t}]`,o,o.name)})}),Object(ue.J)(r,{method:"POST",body:a}).then(_e).then(e=>e)})({id:Object(za.a)(),name:t,files:e});200!==n?this.setState({nextLoading:!1,error:Object(ae.a)("Something went wrong")}):(this.props.dispatch(Object(Qo.n)([{type:"upload",fonts:[i]}])),o())}),Object(a.a)(this,"handlePrev",async()=>{this.setState({prevLoading:!0}),await Object(ue.G)(),this.context.onChangePrev()})}getDefaultData(){return{weight:"400",ttf:"",eot:"",woff:"",woff2:""}}getAddData(){const{weight:e,ttf:t,eot:o,woff:n,woff2:i}=this.state.keyValue;return[{title:Object(ae.a)("Font weight"),name:"weight",type:"select",value:e,choices:Ma(No.w)},{title:Object(ae.a)("TTF File"),name:"ttf",value:t,type:"upload",accept:".ttf",helper:"The Web Open Font Format (TTF) is a format used in web pages by modern browsers."},{title:Object(ae.a)("EOT File"),name:"eot",value:o,type:"upload",accept:".eot",helper:"The Web Open Font Format (EOT) is a format used in web pages by modern browsers."},{title:Object(ae.a)("WOFF File"),name:"woff",value:n,type:"upload",accept:".woff",helper:"The Web Open Font Format (WOFF) is a format used in web pages by modern browsers."},{title:Object(ae.a)("WOFF2 File"),name:"woff2",value:i,type:"upload",accept:".woff2",helper:"The Web Open Font Format (WOFF2) is a format used in web pages by modern browsers."}]}getEditData(){const{data:{fontName:e,weights:t}}=this.context.app;return t.map(t=>({id:t,title:e,type:No.w[t]}))}render(){const{mode:e,nextLoading:t,prevLoading:o,addLoading:n,error:i}=this.state;return"add"===e?s.a.createElement(Fa,{data:this.getAddData(),error:i,nextLoading:t,prevLoading:o,onNext:this.handleAddFonts,onPrev:this.handlePrev,onActive:this.handleUploadFonts}):s.a.createElement(Ra,{data:this.getEditData(),error:i,nextLoading:t,prevLoading:o,createLoading:n,onNext:this.handleNext,onPrev:this.handlePrev,onCreate:this.handleChangeAddMode,onActive:this.handleRemoveFonts})}}Object(a.a)(Ia,"contextType",me);var Wa=Object(no.b)()(Ia);class Na extends Ht{}Object(a.a)(Na,"upload",Ea),Object(a.a)(Na,"variation",Wa),Object(a.a)(Na,"done",Ca);var Va=Na;const Aa=v.a.get("pro");var Da=class extends Ee{constructor(...e){super(...e),Object(a.a)(this,"appsData",[]),Object(a.a)(this,"appsComponent",r),Object(a.a)(this,"proExceptions",!Aa),Object(a.a)(this,"handleConnectApp",async e=>{const t=e.id,{stages:o=[]}=this.appsData.find(e=>e.id===t)||{};await Object(ue.G)(),this.setState(Object(c.a)(n=>{n.stages=o,n.connectedApp=t,n.data[t]=e}),()=>{this.handleNext()})})}async componentDidMount(){const e=Object(pe.a)("integrations.json"),t=await fetch(e),{fonts:o}=await t.json();this.appsData=o,this.setState({loading:!1})}};const $a=[{id:"upload",title:Object(ae.a)("Add New"),icon:"nc-add",component:Da},{id:"fonts",title:Object(ae.a)("Fonts"),icon:"nc-font",component:()=>{const[e,t]=Object(l.useState)(""),o=Object(no.d)(so.S),n=Object(no.d)(so.j),i=Object(no.c)(),r=Object(l.useCallback)(e=>{i(Object(Qo.I)(e))},[]),a=Object(l.useCallback)(async(e,o)=>{t(o.brizyId),"upload"===e?await(e=>{const{api:t}=v.a.get("wp"),o=v.a.get("editorVersion"),n=Fe(t.url,{action:t.deleteFont,hash:t.hash,version:o,id:e});return Object(ue.J)(n,{method:"POST"}).then(_e).then(e=>e)})(o.id):await Object(ue.G)(),t(""),i(Object(Qo.p)({type:e,fonts:[o]}))},[]),c=Object(l.useMemo)(()=>(e=>Object.entries(e).map(([e,t])=>{const{data:o=[]}=null!=t?t:{data:[]};return o.map(t=>ha(ha({},t),{},{fontGroupType:e}))}).reduce((e,t)=>e.concat(t),[]).sort(ga))(o),[o]);return s.a.createElement(P.a,null,s.a.createElement("div",{className:"brz-ed-popup-fonts__lists brz-d-xs-flex brz-flex-xs-wrap"},c.map(t=>{let{fontGroupType:o}=t,i=Object(x.a)(t,["fontGroupType"]);const{id:l,brizyId:c,title:d,family:p}=No.b[o](i),u=n===l,b=e===c,m=g()("brz-ed-popup-fonts__item",u&&"brz-ed-popup-fonts__item--selected");return s.a.createElement("div",{key:c,className:m},s.a.createElement("div",{className:"brz-ed-popup-fonts__item-logo",style:{fontFamily:p},onClick:()=>{r(l)}},"Aa",!u&&!b&&s.a.createElement("div",{className:"brz-ed-badge__delete brz-ed-popup-fonts__delete",onClick:e=>{e.stopPropagation(),a(o,i)}},s.a.createElement(_.b,{icon:"nc-trash"}))),s.a.createElement("div",{className:"brz-ed-popup-fonts__item-title"},d),b&&s.a.createElement("span",{className:"brz-span brz-ed-popup-integrations__app-icon"},s.a.createElement(_.b,{icon:"nc-circle-02",className:"brz-ed-animated--spin"})),u&&!b&&s.a.createElement("span",{title:Object(ae.a)("Default font (can’t be deleted)"),className:"brz-span brz-ed-popup-integrations__app-icon"},s.a.createElement(_.b,{icon:"nc-check-small"})))})))}}];class Ga extends l.Component{render(){const{opened:e,onClose:t}=this.props;return s.a.createElement(de,{opened:e,tabs:$a,currentTab:"upload",blockTabsWhenLoading:!1,onClose:t})}}Object(a.a)(Ga,"defaultProps",{opened:!1,onClose:f.noop});var Ua=Ga;var Ka=e=>s.a.createElement("div",{className:"brz-ed-popup-conditions__buttons"},s.a.createElement("button",{className:"brz-button brz-button__cancel",onClick:e.onClose},Object(ae.a)("Cancel")),s.a.createElement("button",{className:"brz-button brz-button__save",onClick:e.onChange},e.loading?s.a.createElement(_.b,{icon:"nc-circle-02",className:"brz-ed-animated--spin"}):Object(ae.a)("Save")));function Ya({showTypeButton:e=!0,active:t,children:o,onChange:n,onRemove:i}){const r=t?"include":"exclude",a=t?s.a.createElement(_.b,{icon:"nc-include"}):s.a.createElement(_.b,{icon:"nc-none"}),l=g()("brz-ed-popup-conditions__type","brz-ed-popup-conditions__type-"+r);return s.a.createElement("div",{className:"brz-ed-popup-conditions__condition brz-d-xs-flex"},e&&s.a.createElement("div",{className:l,onClick:()=>n({active:!t})},s.a.createElement("span",{className:"brz-ed-popup-conditions__type-text"},a,Object(Gt.c)(r))),s.a.createElement("div",{className:"brz-ed-popup-conditions__select brz-d-xs-flex"},o),s.a.createElement("div",{className:"brz-ed-popup-conditions__remove",onClick:i},s.a.createElement(_.b,{icon:"nc-trash"})))}var qa=o(150);const Xa=({status:e})=>{const t=g()("brz-badge",{["brz-badge__"+e]:e});return s.a.createElement("div",{title:e,className:t})};var Ja=o(97);function Za(e,{appliedFor:t,entityType:o}){return e.findIndex(({groupValue:e,value:n})=>e===t&&n===o)}function Qa(e,t){if(0===t.length)return t;let o=t;return e.forEach(e=>{if(!Object(Vo.l)(e))return;const n=Za(t,e);if(-1!==n)if(e.appliedFor!==Ja.c&&e.appliedFor!==Ja.a)o=Object(tt.setIn)(o,[n,"disabled"],!0);else{const{items:t}=o[n];if(t&&e.entityValues.length){const i=t.findIndex(({value:t})=>e.entityValues.includes(t));-1!==i&&(o=Object(tt.setIn)(o,[n,"items",i,"disabled"],!0))}}}),o}function el(e){const t=new Map;return e.forEach(e=>{let o=null;if(Object(Vo.k)(e)&&(o="type|"+e.type),Object(Vo.m)(e)&&(o=`type|${e.type};appliedFor|${e.appliedFor};entityType|${e.entityType}`),Object(Vo.l)(e)&&(o=`type|${e.type};appliedFor|${e.appliedFor};entityType|${e.entityType};entityValues|${e.entityValues.join(",")}`),null===o)throw new Error("Smth. went wrong. Rule can be one of type or all|collectionType|collectionItem");t.set(o,e)}),[...t.values()]}class tl extends s.a.Component{renderGroupOptions(e){return[s.a.createElement(O.a,{key:"all",value:"|"},"All"),...e.map(({title:e,value:t,groupValue:o,disabled:n})=>s.a.createElement(O.a,{key:"key-"+t,value:`${o}|${t}`,disabled:n},e))]}renderTypeOptions(e){return[s.a.createElement(O.a,{key:"all",value:""},"All"),...e.map(e=>(e=>void 0!==e.items)(e)?s.a.createElement(qa.a,{key:e.value,title:e.title,items:e.items.map(e=>s.a.createElement(O.a,{key:e.value,value:String(e.value)},e.title,e.status&&s.a.createElement(Xa,{status:e.status})))},s.a.createElement("span",{className:"brz-span"},e.title)):s.a.createElement(O.a,{key:e.value,value:String(e.value)},e.title,e.status&&s.a.createElement(Xa,{status:e.status})))]}render(){const{rulesList:e,rule:t,onGroupChange:o,onTypeChange:n}=this.props;let i=null,r=null;if(Object(Vo.l)(t)||Object(Vo.m)(t)){i=e[Za(e,t)],r=`${t.appliedFor}|${t.entityType}`}return s.a.createElement("div",{className:"brz-ed-popup-conditions__select brz-d-xs-flex"},s.a.createElement(S.a,{className:"brz-control__select--white",maxItems:6,itemHeight:30,defaultValue:r,inPortal:!0,onChange:o},this.renderGroupOptions(e)),i&&i.items&&s.a.createElement(S.a,{defaultValue:Object(Vo.l)(t)?""+t.entityValues[0]:null,className:"brz-control__select--white",maxItems:6,itemHeight:30,inPortal:!0,onChange:n},this.renderTypeOptions(i.items)))}}var ol=tl,nl=o(251);function il(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function rl(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?il(Object(o),!0).forEach((function(t){Object(a.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):il(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}class al extends s.a.Component{constructor(...e){super(...e),Object(a.a)(this,"handleRemove",e=>{this.props.onChange(Object(tt.removeAt)(this.props.rules,e))}),Object(a.a)(this,"handleVisibilityTypeChange",(e,t)=>{const{rules:o,onChange:n}=this.props,i=t?nl.a.include:nl.a.exclude;n(Object(tt.setIn)(o,[e,"type"],i))}),Object(a.a)(this,"handleGroupChange",(e,t)=>{const{rules:o,onChange:n}=this.props;let i;if(null===e)i={type:o[t].type};else{const[n,r]=e.split("|");i=rl(rl({},o[t]),{},{entityType:r,appliedFor:""===n||null===n?null:Number(n),entityValues:[]})}n(Object(tt.setIn)(o,[t],i))}),Object(a.a)(this,"handleTypeChange",(e,t)=>{const{rules:o,onChange:n}=this.props,i=e?[e]:[];n(Object(tt.setIn)(o,[t,"entityValues"],i))})}render(){const{rules:e,rulesList:t}=this.props;return e.map((e,o)=>{const n=e.type===nl.a.include;return s.a.createElement(Ya,{key:o,active:n,onChange:()=>this.handleVisibilityTypeChange(o,!n),onRemove:()=>this.handleRemove(o)},s.a.createElement(ol,{rule:e,rulesList:t,onGroupChange:e=>this.handleGroupChange(e,o),onTypeChange:e=>this.handleTypeChange(e,o)}))})}}var ll=al,sl=o(95);var cl=e=>{const{value:t=[],asyncGetValue:o,onClose:n=f.noop,onChange:i=f.noop}=e,[r,a]=Object(l.useState)(t),[c,d]=Object(l.useState)(!1),[p,u]=Object(l.useState)(null),[b,m]=function(e){const[t,o]=Object(l.useState)([]),[n,i]=Object(l.useState)(!0);return Object(l.useEffect)(()=>{!async function(){i(!0);const e=(await Object(sl.e)()||[]).map(({items:e})=>e).flat();i(!1),o(e)}()},[]),Object(l.useEffect)(()=>{null!==e&&t.length&&async function(){const n=el(e);let i=t;for(const a of n)if(Object(Vo.l)(a)||Object(Vo.m)(a)){var r;const n=Za(t,a),l=a.appliedFor;if(!(null===(r=t[n])||void 0===r?void 0:r.items)&&null!==l&&[Ja.c,Ja.a,Ja.d].includes(l)){let t=[];switch(l){case Ja.c:case Ja.d:{const{posts:e}=await Object(sl.i)(a.entityType);t=e.map(({ID:e,title:t,post_status:o})=>({title:t,value:e,status:o}));break}case Ja.a:t=(await Object(ue.D)(a.entityType)).map(({name:e,term_id:t})=>({title:e,value:t}));break}i=Object(tt.setIn)(i,[n,"items"],t),o(Qa(e,i))}}}()},[e,t]),[n,t]}(r),h=Object(no.d)(so.F);return Object(l.useEffect)(()=>{o&&async function(e){let t=await e();V.b&&!t?t=[{type:1,appliedFor:null,entityType:"",entityValues:[]}]:t||(t=[]),a(t)}(o)},[]),s.a.createElement(s.a.Fragment,null,b?s.a.createElement("div",{className:"brz-ed-popup-conditions__spin"},s.a.createElement(_.b,{icon:"nc-circle-02",className:"brz-ed-animated--spin"})):s.a.createElement(st.a,{style:{overflow:"hidden",height:"350px"},className:"brz-ed-scroll--medium brz-ed-scroll--new-dark"},null!==r&&s.a.createElement(ll,{rules:r,rulesList:m,onChange:function(e){V.g&&a(e)}}),s.a.createElement("div",{className:"brz-ed-popup-conditions__add-condition",onClick:function(){if(V.g){const e=v.a.getAll(),t={type:1,appliedFor:Ja.c,entityType:"page",entityValues:[]};Object(Pn.d)(h)&&(t.entityType=h.collectionType.id),Object(Pn.b)(e)&&Object(Pn.a)(e)&&Object(Pn.e)(e)&&(t.entityType=Ja.b),co.b&&(t.appliedFor=null,t.entityType=""),a([...r,t])}}},s.a.createElement(_.b,{icon:"nc-add"})," ",Object(ae.a)("Add new display condition"))),p&&s.a.createElement("div",{className:"error"},p),s.a.createElement(Ka,{loading:c,onChange:function(){V.g&&(d(!0),u(null),i({data:{rules:el(r)},meta:{syncSuccess:()=>d(!1),syncFail:e=>{var t,o;d(!1),u(null!==(t=null===(o=e.responseJSON)||void 0===o?void 0:o.data.message)&&void 0!==t?t:Object(ae.a)("Something went wrong"))}}}))},onClose:n}))},dl=o(48);function pl(e){const{className:t,type:o="text",placeholder:n="",value:i="",onChange:r=(()=>{})}=e,a=g()("brz-input",t);return s.a.createElement("div",{className:"brz-control__select"},s.a.createElement("input",{className:a,type:o,placeholder:n,value:i,onChange:({target:{value:e}})=>r(e)}))}function ul(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function bl(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?ul(Object(o),!0).forEach((function(t){Object(a.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):ul(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function ml(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function hl(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?ml(Object(o),!0).forEach((function(t){Object(a.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):ml(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function gl(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function fl(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?gl(Object(o),!0).forEach((function(t){Object(a.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):gl(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const vl={search_engines:"Any Search Engine",bing:"Bing",yandex:"Yandex",yahoo:"Yahoo",baidu:"Baidu","so.com":"So.com","360.cn":"360.cn",aol:"AOL",duckduckgo:"DuckDuckGo","ask.com":"Ask.com","mail.ru":"Mail.ru",sogou:"Sogou"},yl={social_networks:"Any Social Networks",facebook:"Facebook",pinterest:"Pinterest",twitter:"Twitter",linkedin:"LinkedIn"},Sl={external:"External Links",internal:"Internal Links"};function Ol(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function xl(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Ol(Object(o),!0).forEach((function(t){Object(a.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Ol(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function Cl(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Bl(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Cl(Object(o),!0).forEach((function(t){Object(a.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Cl(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}o(352);function jl(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Pl(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?jl(Object(o),!0).forEach((function(t){Object(a.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):jl(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function Tl(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function wl(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Tl(Object(o),!0).forEach((function(t){Object(a.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Tl(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function El(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function zl(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?El(Object(o),!0).forEach((function(t){Object(a.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):El(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function kl(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Fl(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?kl(Object(o),!0).forEach((function(t){Object(a.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):kl(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function _l(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Rl(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?_l(Object(o),!0).forEach((function(t){Object(a.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):_l(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const Hl={android:"Android",bada:"Bada",blackberry:"BlackBerry OS",chromeOs:"Chrome OS",firefoxOs:"Firefox OS",ios:"IOS",linux:"Linux",mac:"Mac OS",windows:"Windows"};function Ll(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Ml(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Ll(Object(o),!0).forEach((function(t){Object(a.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Ll(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function Il(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Wl(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Il(Object(o),!0).forEach((function(t){Object(a.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Il(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var Nl=[{id:"pageLoad",title:"On Page Load",type:"number",placeholder:"After (sec)",Component:pl},{id:"scrolling",title:"On Scroll",defaultValue:{value:"down",within:"",toElement:""},duplicatesAmount:1/0,Component:function(e){const{value:t="",onChange:o=(()=>{})}=e;return s.a.createElement(s.a.Fragment,null,s.a.createElement(S.a,{className:"brz-control__select--light",itemHeight:30,defaultValue:t.value,onChange:e=>o(bl(bl({},t),{},{value:e}))},s.a.createElement(O.a,{key:"down",value:"down"},"Down"),s.a.createElement(O.a,{key:"up",value:"up"},"Up"),s.a.createElement(O.a,{key:"toElement",value:"toElement"},"To element")),"down"===t.value&&s.a.createElement("div",{className:"brz-control__select"},s.a.createElement("input",{className:"brz-input",type:"number",placeholder:"% of page height",value:t.within,onChange:({target:{value:e}})=>o(bl(bl({},t),{},{within:e}))})),"toElement"===t.value&&s.a.createElement("div",{className:"brz-control__select"},s.a.createElement("input",{className:"brz-input",type:"text",placeholder:".my-class",value:t.toElement||"",onChange:({target:{value:e}})=>o(bl(bl({},t),{},{toElement:e}))})))}},{id:"click",title:"On Click",type:"number",placeholder:"clicks",Component:pl},{id:"inactivity",title:"After Inactivity",type:"number",placeholder:"After (sec)",Component:pl},{id:"exitIntent",title:"On Page Exit Intent",defaultValue:!0},{id:"showing",title:"Show After X",defaultValue:{value:"views",type:"equals",views:5,sessions:3},duplicatesAmount:2,Component:function(e){const{value:t="",onChange:o=(()=>{})}=e;return s.a.createElement(s.a.Fragment,null,s.a.createElement(S.a,{className:"brz-control__select--light",itemHeight:30,defaultValue:t.value,onChange:e=>o(hl(hl({},t),{},{value:e}))},s.a.createElement(O.a,{key:"views",value:"views"},"viewed pages"),s.a.createElement(O.a,{key:"sessions",value:"sessions"},"Sessions")),s.a.createElement(S.a,{className:"brz-control__select--light",itemHeight:30,defaultValue:t.type,onChange:e=>o(hl(hl({},t),{},{type:e}))},s.a.createElement(O.a,{key:"is fewer",value:"is fewer"},"is fewer than"),s.a.createElement(O.a,{key:"equals",value:"equals"},"equals"),s.a.createElement(O.a,{key:"is more",value:"is more"},"is more than")),s.a.createElement("div",{className:"brz-control__select"},s.a.createElement("input",{className:"brz-input",type:"number",placeholder:"Number of",value:t[t.value],onChange:({target:{value:e}})=>o(hl(hl({},t),{},{[t.value]:e}))})))}},{id:"referrer",title:"Arriving From",defaultValue:{type:"is",value:"show",url:"",source:"search_engines"},duplicatesAmount:1/0,Component:function(e){const{value:t="",onChange:o=(()=>{})}=e;return s.a.createElement(s.a.Fragment,null,s.a.createElement(S.a,{className:"brz-control__select--light",itemHeight:30,defaultValue:t.value,onChange:e=>o(fl(fl({},t),{},{value:e}))},s.a.createElement(O.a,{key:"show",value:"show"},"Show"),s.a.createElement(O.a,{key:"hide",value:"hide"},"Hide"),s.a.createElement(O.a,{key:"regex",value:"regex"},"Regex"),s.a.createElement(O.a,{key:"source",value:"source"},"Source")),"source"===t.value?[s.a.createElement(S.a,{key:"type",className:"brz-control__select--light",itemHeight:30,defaultValue:t.type,onChange:e=>o(fl(fl({},t),{},{type:e}))},s.a.createElement(O.a,{key:"is",value:"is"},"is"),s.a.createElement(O.a,{key:"is not",value:"is not"},"is not")),s.a.createElement(S.a,{className:"brz-control__select--light",key:"source",itemHeight:30,defaultValue:t.source,onChange:e=>o(fl(fl({},t),{},{source:e}))},s.a.createElement(qa.a,{key:"Organic",title:"Organic",items:n(vl)},s.a.createElement("span",{className:"brz-span"},"Organic")),s.a.createElement(qa.a,{key:"Social Networks",title:"Social Networks",items:n(yl)},s.a.createElement("span",{className:"brz-span"},"Networks")),s.a.createElement(qa.a,{key:"Other",title:"Other",items:n(Sl)},s.a.createElement("span",{className:"brz-span"},"Other")))]:s.a.createElement("div",{className:"brz-control__select"},s.a.createElement("input",{className:"brz-input",type:"text",placeholder:"URL",value:t.url,onChange:({target:{value:e}})=>o(fl(fl({},t),{},{url:e}))})));function n(e){return Object.entries(e).map(([e,t])=>s.a.createElement(O.a,{key:e,value:e},t))}}},{id:"loggedIn",title:"Hide for logged in users",defaultValue:{value:"all",user:void 0},duplicatesAmount:1/0,Component:function(e){const{value:t={},onChange:o=(()=>{})}=e,{availableRoles:n}=v.a.get("wp");let i=null;return"custom"===t.value&&(i=Array.isArray(n)&&n.length?s.a.createElement(S.a,{className:"brz-control__select--light",itemHeight:30,defaultValue:t.user,onChange:e=>o(xl(xl({},t),{},{user:e}))},n.map(({role:e,name:t})=>s.a.createElement(O.a,{key:e,value:e},t))):s.a.createElement("span",null,"There are no available users. Add user first")),s.a.createElement(s.a.Fragment,null,s.a.createElement(S.a,{className:"brz-control__select--light",itemHeight:30,defaultValue:t.value,onChange:function(e){var t;const i="all"===e?{value:e}:{value:e,user:null==n||null===(t=n[0])||void 0===t?void 0:t.role};o(i)}},s.a.createElement(O.a,{key:"all",value:"all"},"All users"),s.a.createElement(O.a,{key:"custom",value:"custom"},"Custom")),i)}},{id:"devices",title:"Show on devices",defaultValue:"desktop",duplicatesAmount:3,Component:function(e){const{value:t="",onChange:o=(()=>{})}=e;return s.a.createElement(s.a.Fragment,null,s.a.createElement(S.a,{className:"brz-control__select--light",itemHeight:30,defaultValue:t,onChange:e=>o(e)},s.a.createElement(O.a,{key:"desktop",value:"desktop"},"Desktop"),s.a.createElement(O.a,{key:"tablet",value:"tablet"},"Tablet"),s.a.createElement(O.a,{key:"mobile",value:"mobile"},"Mobile")))}},{id:"currentUrl",title:"Current Page URL",defaultValue:{type:"matches",value:""},duplicatesAmount:1/0,Component:function(e){const{value:t="",onChange:o=(()=>{})}=e;return s.a.createElement(s.a.Fragment,null,s.a.createElement(S.a,{className:"brz-control__select--light",itemHeight:30,defaultValue:t.type,onChange:e=>o(Bl(Bl({},t),{},{type:e}))},s.a.createElement(O.a,{key:"matches",value:"matches"},"matches"),s.a.createElement(O.a,{key:"contains",value:"contains"},"contains"),s.a.createElement(O.a,{key:"does not contain",value:"does not contain"},"does not contain"),s.a.createElement(O.a,{key:"does not match",value:"does not match"},"does not match")),s.a.createElement("div",{className:"brz-control__select"},s.a.createElement("input",{className:"brz-input",type:"text",placeholder:"URL",value:t.value,onChange:({target:{value:e}})=>o(Bl(Bl({},t),{},{value:e}))})))}},{id:"currentDate",title:"Current Date",defaultValue:{type:"matches",value:""},duplicatesAmount:1/0,Component:function(e){const{value:t="",onChange:o=(()=>{})}=e,n=(new Date).toJSON().slice(0,10).split("-").reverse().join("/");return s.a.createElement(s.a.Fragment,null,s.a.createElement(S.a,{className:"brz-control__select--light",itemHeight:30,defaultValue:t.type,onChange:e=>o(Pl(Pl({},t),{},{type:e}))},s.a.createElement(O.a,{key:"before",value:"before"},"is before"),s.a.createElement(O.a,{key:"matches",value:"matches"},"matches"),s.a.createElement(O.a,{key:"after",value:"after"},"is after")),s.a.createElement("div",{className:"brz-control__select"},s.a.createElement("input",{className:"brz-input",type:"text",placeholder:n,value:t.value,onChange:({target:{value:e}})=>o(Pl(Pl({},t),{},{value:e}))})))}},{id:"lastVisitDate",title:"Last Visit Date",defaultValue:{type:"matches",value:""},duplicatesAmount:1/0,Component:function(e){const{value:t="",onChange:o=(()=>{})}=e,n=(new Date).toJSON().slice(0,10).split("-").reverse().join("/");return s.a.createElement(s.a.Fragment,null,s.a.createElement(S.a,{className:"brz-control__select--light",itemHeight:30,defaultValue:t.type,onChange:e=>o(wl(wl({},t),{},{type:e}))},s.a.createElement(O.a,{key:"before",value:"before"},"is before"),s.a.createElement(O.a,{key:"matches",value:"matches"},"matches"),s.a.createElement(O.a,{key:"after",value:"after"},"is after")),s.a.createElement("div",{className:"brz-control__select"},s.a.createElement("input",{className:"brz-input",type:"text",placeholder:n,value:t.value,onChange:({target:{value:e}})=>o(wl(wl({},t),{},{value:e}))})))}},{id:"timeFrom",title:"Time From",defaultValue:{type:"greater",visit:"first",time:"days",value:""},duplicatesAmount:1/0,Component:function(e){const{value:t="",onChange:o=(()=>{})}=e;return s.a.createElement(s.a.Fragment,null,s.a.createElement(S.a,{className:"brz-control__select--light",itemHeight:30,defaultValue:t.visit,onChange:e=>o(zl(zl({},t),{},{visit:e}))},s.a.createElement(O.a,{key:"first",value:"first"},"the first visit"),s.a.createElement(O.a,{key:"last",value:"last"},"the last visit")),s.a.createElement(S.a,{className:"brz-control__select--light",itemHeight:30,defaultValue:t.type,onChange:e=>o(zl(zl({},t),{},{type:e}))},s.a.createElement(O.a,{key:"greater",value:"greater"},"is greater than"),s.a.createElement(O.a,{key:"less",value:"less"},"is less than")),s.a.createElement("div",{className:"brz-control__select"},s.a.createElement("input",{className:"brz-input",type:"number",placeholder:"Number of",value:t.value,onChange:({target:{value:e}})=>o(zl(zl({},t),{},{value:e}))})),s.a.createElement(S.a,{className:"brz-control__select--light",itemHeight:30,defaultValue:t.time,onChange:e=>o(zl(zl({},t),{},{time:e}))},s.a.createElement(O.a,{key:"days",value:"days"},"days"),s.a.createElement(O.a,{key:"hours",value:"hours"},"hours")))}},{id:"cookie",title:"Cookie",defaultValue:{type:"matches",param:"",value:""},duplicatesAmount:1/0,Component:function(e){const{value:t="",onChange:o=(()=>{})}=e;return s.a.createElement(s.a.Fragment,null,s.a.createElement("div",{className:"brz-control__select"},s.a.createElement("input",{className:"brz-input",type:"text",placeholder:"param",value:t.param,onChange:({target:{value:e}})=>o(Fl(Fl({},t),{},{param:e}))})),s.a.createElement(S.a,{className:"brz-control__select--light",itemHeight:30,defaultValue:t.type,onChange:e=>o(Fl(Fl({},t),{},{type:e}))},s.a.createElement(O.a,{key:"matches",value:"matches"},"matches"),s.a.createElement(O.a,{key:"contains",value:"contains"},"contains"),s.a.createElement(O.a,{key:"does not contain",value:"does not contain"},"does not contain"),s.a.createElement(O.a,{key:"does not match",value:"does not match"},"does not match")),s.a.createElement("div",{className:"brz-control__select"},s.a.createElement("input",{className:"brz-input",type:"text",placeholder:"value",value:t.value,onChange:({target:{value:e}})=>o(Fl(Fl({},t),{},{value:e}))})))}},{id:"os",title:"Operating System",defaultValue:{type:"is",value:"windows"},duplicatesAmount:1/0,Component:function(e){const{value:t="",onChange:o=(()=>{})}=e;return s.a.createElement(s.a.Fragment,null,s.a.createElement(S.a,{className:"brz-control__select--light",itemHeight:30,defaultValue:t.type,onChange:e=>o(Rl(Rl({},t),{},{type:e}))},s.a.createElement(O.a,{key:"is",value:"is"},"is"),s.a.createElement(O.a,{key:"is not",value:"is not"},"is not")),s.a.createElement(S.a,{className:"brz-control__select--light",itemHeight:30,defaultValue:t.value,onChange:e=>o(Rl(Rl({},t),{},{value:e}))},(n=Hl,Object.entries(n).map(([e,t])=>s.a.createElement(O.a,{key:e,value:e},t)))));var n}},{id:"otherPopups",title:"No other popup",defaultValue:{type:"was",value:"page"},duplicatesAmount:1,Component:function(e){const{value:t="",onChange:o=(()=>{})}=e;return s.a.createElement(s.a.Fragment,null,s.a.createElement(S.a,{className:"brz-control__select--light",itemHeight:30,defaultValue:t.type,onChange:e=>o(Ml(Ml({},t),{},{type:e}))},s.a.createElement(O.a,{key:"was",value:"was"},"was shown"),s.a.createElement(O.a,{key:"was not",value:"was not"},"was not shown")),s.a.createElement(S.a,{className:"brz-control__select--light",itemHeight:30,defaultValue:t.value,onChange:e=>o(Ml(Ml({},t),{},{value:e}))},s.a.createElement(O.a,{key:"page",value:"page"},"on the same page"),s.a.createElement(O.a,{key:"session",value:"session"},"during the session")))}},{id:"specificPopup",title:"Other specific popup",defaultValue:{type:"was",value:""},duplicatesAmount:1/0,Component:function(e){const{value:t="",onChange:o=(()=>{})}=e;return s.a.createElement(s.a.Fragment,null,s.a.createElement(S.a,{className:"brz-control__select--light",itemHeight:30,defaultValue:t.type,onChange:e=>o(Wl(Wl({},t),{},{type:e}))},s.a.createElement(O.a,{key:"was",value:"was"},"was shown"),s.a.createElement(O.a,{key:"was not",value:"was not"},"was not shown")),s.a.createElement("div",{className:"brz-control__select"},s.a.createElement("input",{className:"brz-input",type:"text",placeholder:"#popup-id",value:t.value,onChange:({target:{value:e}})=>o(Wl(Wl({},t),{},{value:e}))})))}}];function Vl(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Al(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Vl(Object(o),!0).forEach((function(t){Object(a.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Vl(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}class Dl extends s.a.Component{constructor(e){super(e),Object(a.a)(this,"handleChange",()=>{if(V.g){const{values:e,triggerOnce:t}=this.state,o={id:"triggerOnce",active:!0,value:t};this.setState({loading:!0},()=>{const t={syncSuccess:()=>this.setState({loading:!1}),syncFail:()=>this.setState({loading:!1})};this.props.dispatch(Object(dl.E)([...e,o],t))})}}),Object(a.a)(this,"handleTriggerOnceChange",e=>{V.g&&this.setState({triggerOnce:e})}),Object(a.a)(this,"handleWrapperTriggerChange",(e,t)=>{V.g&&this.setState({values:Object(tt.setIn)(this.state.values,[e],Al(Al({},this.state.values[e]),t))})}),Object(a.a)(this,"handleWrapperTriggerRemove",e=>{V.g&&this.setState({values:Object(tt.removeAt)(this.state.values,e)})}),Object(a.a)(this,"handleValueChange",(e,t)=>{V.g&&this.setState({values:Object(tt.setIn)(this.state.values,[e,"value"],t)})}),Object(a.a)(this,"handleAdd",()=>{if(V.g){const{values:e}=this.state,t=this.getAvailableItems();t[0]&&this.setState({values:[...e,{id:t[0].id,active:!0,value:t[0].defaultValue}]})}});const t=e.values.find(({id:e})=>"triggerOnce"===e)||{},o=Object(tt.removeAt)(e.values,e.values.indexOf(t));this.state={triggerOnce:t.value||!1,values:o,loading:!1}}handleTriggerChange(e,t){const{values:o}=this.state,{defaultValue:n}=Nl.find(({id:e})=>e===t),i=Object(tt.setIn)(o,[e],Al(Al({},o[e]),{},{id:t,value:n}));this.setState({values:i})}getAvailableItems(e){const{values:t}=this.state;let o=t.reduce((e,{id:t})=>(e[t]?e[t]++:e[t]=1,e),{});return Nl.filter(({id:n,duplicatesAmount:i=1})=>{const r=t.find(e=>e.id===n),a=o[n]&&i>o[n];return e===n||a||!r}).sort(({id:e,duplicatesAmount:o=0},{id:n,duplicatesAmount:i=0})=>{const r=t.find(t=>t.id===e),a=t.find(e=>e.id===n);return r?1:a?-1:o>i?1:o<i?-1:0})}renderTriggers(e){const{values:t}=this.state,o=t[e].id,n=this.getAvailableItems(o).map(({id:e,title:t},o)=>s.a.createElement(O.a,{key:o,value:e},t));return s.a.createElement(S.a,{className:"brz-control__select--light",itemHeight:30,defaultValue:o,onChange:t=>this.handleTriggerChange(e,t)},n)}render(){const{values:e,triggerOnce:t}=this.state,o=e.map((e,t)=>{const o=Nl.find(({id:t})=>t===e.id)||{},{Component:n}=o,i=Object(x.a)(o,["Component"]),r=n?s.a.createElement(n,Object(C.a)({},i,e,{onChange:e=>this.handleValueChange(t,e)})):null;return s.a.createElement(Ya,{showTypeButton:!1,key:t,active:e.active,onChange:e=>this.handleWrapperTriggerChange(t,e),onRemove:()=>this.handleWrapperTriggerRemove(t)},this.renderTriggers(t),r)});return s.a.createElement(s.a.Fragment,null,s.a.createElement("div",{className:"brz-ed-popup-conditions__trigger-once"},s.a.createElement("div",null,Object(ae.a)("Trigger Popup Only Once")),s.a.createElement(et.a,{defaultValue:t,onChange:this.handleTriggerOnceChange})),s.a.createElement(st.a,{style:{overflow:"hidden",height:"350px"},className:"brz-ed-scroll--medium brz-ed-scroll--new-dark"},o,s.a.createElement("div",{className:"brz-ed-popup-conditions__add-condition",onClick:this.handleAdd},s.a.createElement(_.b,{icon:"nc-add"})," ",Object(ae.a)("Add new trigger condition"))),s.a.createElement(Ka,{loading:this.state.loading,onChange:this.handleChange,onClose:this.props.onClose}))}}var $l={rules:cl,triggers:Object(no.b)(e=>({values:Object(so.Q)(e)}),e=>({dispatch:e}))(Dl)};const Gl=v.a.get("urls");class Ul extends l.Component{constructor(...e){super(...e),Object(a.a)(this,"state",{activeTab:this.props.options[0].type}),Object(a.a)(this,"handleTabChange",e=>this.setState({activeTab:e}))}renderIcons(){const{options:e}=this.props,{activeTab:t}=this.state;return e.map(e=>{const o=g()("brz-ed-popup-tab-item","brz-ed-popup-tab-item-conditions",{active:t===e.type});return s.a.createElement("div",{key:e.type,className:o,onClick:()=>this.handleTabChange(e.type)},s.a.createElement("div",{className:"brz-ed-popup-tab-icon"},s.a.createElement(_.b,{icon:e.icon})),s.a.createElement("div",{className:"brz-ed-popup-tab-name"},e.label))})}renderProException(){return s.a.createElement("div",{className:"brz-ed-alert brz-ed-alert-pro brz-mb-lg-0"},s.a.createElement("span",{className:"brz-span"},Object(ae.a)("Block conditions are available only in PRO")),s.a.createElement("a",{className:"brz-ed-btn brz-ed-btn-width-2 brz-ed-btn-sm brz-ed-btn-icon brz-ed-btn-icon--left brz-ed-btn-rounded brz-ed-btn-pro",rel:"noopener noreferrer",href:Gl.upgradeToPro,target:"_blank"},s.a.createElement(_.b,{icon:"nc-lock"}),Object(ae.a)("Get a PRO plan")))}render(){const{options:e,opened:t,onClose:o}=this.props,{activeTab:n}=this.state,i=$l[n],r=e.find(({type:e})=>e===n),{type:a,icon:l,label:c,title:d}=r,p=Object(x.a)(r,["type","icon","label","title"]);return s.a.createElement(y.a,{opened:t,onClose:o},s.a.createElement("div",{className:"brz-ed-popup-wrapper"},s.a.createElement("div",{className:"brz-ed-popup-header"},s.a.createElement("div",{className:"brz-ed-popup-header__tabs"},this.renderIcons()),s.a.createElement("div",{className:"brz-ed-popup-btn-close",onClick:o})),s.a.createElement("div",{className:"brz-ed-popup-content brz-ed-popup-pane brz-ed-popup-icons"},s.a.createElement("div",{className:"brz-ed-popup-body"},!V.g&&this.renderProException(),s.a.createElement("div",{className:g()("brz-ed-popup-conditions",{"brz-ed-popup-conditions__free":!V.g})},s.a.createElement("div",{className:"brz-ed-popup-conditions__head"},s.a.createElement("h3",null,d)),s.a.createElement("div",{className:"brz-ed-popup-conditions__body"},s.a.createElement(i,Object(C.a)({},p,{onClose:o}))))))))}}Object(a.a)(Ul,"defaultProps",{options:[],onChange:()=>{},onClose:()=>{}});const Kl={updateAuthorization:Qo.F,updateSyncAllowed:Qo.R},Yl=Object(no.b)(null,Kl),ql=Boolean(v.a.get("wp")),Xl=[{title:"username",name:"username",required:!0},{title:"password",name:"password",type:"password",required:!0}];class Jl extends l.Component{constructor(...e){super(...e),Object(a.a)(this,"state",{data:null,loading:!0,nextLoading:!1,prevLoading:!1,recoverLoading:!1,notice:null,formData:{username:"",password:"",recoverEmail:""}}),Object(a.a)(this,"handleChange",(e,t)=>{void 0!==this.state.formData[e]&&this.setState(Object(c.a)(o=>{o.formData[e]=t}))}),Object(a.a)(this,"handleConnect",()=>{const{username:e,password:t}=this.state.formData,{onSuccess:o,onClose:n,updateAuthorization:i,updateSyncAllowed:r}=this.props;this.setState({notice:null,nextLoading:!0}),e&&e.trim()&&t&&t.trim()?(e=>{const{hash:t,url:o,cloudSignIn:n}=v.a.get("wp").api,i=v.a.get("editorVersion"),r=Fe(o,{hash:t,version:i,action:n});return Object(ue.J)(r,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},body:JSON.stringify(e)}).then(_e).then(e=>e)})({password:t,email:e}).then(e=>{if(!e.status||e.status>=400)throw e;i("connected"),Object(bn.b)("connected"),ql&&pn().then(e=>{const{status:t,data:o}=e||{};!t||t>=400?console.warn("Something went wrong",e):null!=o&&o.isSyncAllowed&&r(!0)}),o&&o(),n&&n()}).catch(e=>{this.setState({nextLoading:!1,notice:{message:Object(ae.a)("Incorrect username or password"),type:"error"}})}):this.setState({nextLoading:!1,notice:{message:Object(ae.a)("Incorrect username or password"),type:"error"}})}),Object(a.a)(this,"handleSkip",async()=>{const{onSkip:e,onClose:t,updateAuthorization:o}=this.props;this.setState({prevLoading:!0}),await Object(ue.G)(),this.setState({prevLoading:!1}),o("pending"),Object(bn.b)("pending"),e&&e(),t&&t()}),Object(a.a)(this,"handleRecover",async()=>{const{recoverEmail:e}=this.state.formData;this.setState({notice:null,recoverLoading:!0}),We(e)?e&&e.trim()?(e=>{const{hash:t,url:o,cloudResetPassword:n}=v.a.get("wp").api,i=v.a.get("editorVersion"),r=Fe(o,{hash:t,version:i,action:n});return Object(ue.J)(r,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},body:JSON.stringify({email:e})}).then(_e).then(e=>e)})(e).then(e=>{if(!e.status||e.status>=400)throw e;this.setState({recoverLoading:!1,notice:{message:Object(ae.a)("Check your email address"),type:"success"}})}).catch(e=>{this.setState({recoverLoading:!1,notice:{message:Object(ae.a)("Failed to reset password"),type:"error"}})}):(await Object(ue.G)(),this.setState({recoverLoading:!1,notice:{message:Object(ae.a)("Email to recover password cannot be empty"),type:"error"}})):this.setState({recoverLoading:!1,notice:{message:Object(ae.a)("The email address format is not valid"),type:"error"}})})}async componentDidMount(){const e=Object(pe.a)("integrations.json"),t=await fetch(e),{cloudAuthorization:o}=await t.json(),{onLoading:n}=this.props;this.setState({data:o,loading:!1}),n&&n(!1)}renderLoading(){return s.a.createElement(he,null)}renderNotice(){const{notice:e}=this.state;if(null!==e){const{message:t,type:o}=e;return s.a.createElement(be,{message:t,type:o})}}renderContent(){if(this.state.data){var e;const{data:{img:t,signInDescription:o},formData:{recoverEmail:n},notice:i,nextLoading:r,prevLoading:a,recoverLoading:l}=this.state,c=v.a.getAll(),d=Object(xn.a)(c)&&Object(Pn.b)(c)&&c.urls.favicon||t,p=(null===(e=Object(xn.a)(c))||void 0===e?void 0:e.brandingName)||"Brizy";return s.a.createElement(P.a,{className:"brz-text-lg-center"},s.a.createElement("div",{className:"brz-ed-popup-integrations__connect-head"},s.a.createElement("img",{className:"brz-img",src:d,alt:p}),s.a.createElement("p",{className:"brz-p"},o)),s.a.createElement("div",{className:"brz-ed-popup-integrations__connect-body"},i&&this.renderNotice(),Xl.map(({title:e,name:t,required:o,type:n="text"},i)=>s.a.createElement(Ye,{key:i,title:e,type:n,value:this.state.formData[t]||"",required:o,onChange:({target:e})=>{this.handleChange(t,e.value)}})),s.a.createElement("div",{className:"brz-ed-popup-authorization__buttons"},s.a.createElement(Ge,{color:"teal",loading:r,onClick:this.handleConnect},Object(ae.a)("Connect")),s.a.createElement(Ge,{color:"default",loading:a,onClick:this.handleSkip},Object(ae.a)("Skip"))),s.a.createElement(Ye,{title:"Email to recover password",icon:"nc-right-arrow-tail",loading:l,value:n||"",onChange:({target:e})=>{this.handleChange("recoverEmail",e.value)},onClickIcon:this.handleRecover})))}}render(){const e=g()("brz-ed-popup-authorization",this.props.className);return s.a.createElement("div",{className:e},this.state.loading?this.renderLoading():this.renderContent())}}Object(a.a)(Jl,"defaultProps",{className:"",onSuccess:f.noop,onSkip:f.noop,onClose:f.noop,onLoading:f.noop});var Zl=Yl(Jl);const Ql=Boolean(v.a.get("wp")),es=[{title:"email",name:"email",required:!0},{title:"password",name:"password",type:"password",required:!0},{title:"Confirm Password",name:"confirmPassword",type:"password",required:!0}],ts={updateAuthorization:Qo.F,updateSyncAllowed:Qo.R},os=Object(no.b)(null,ts);class ns extends l.Component{constructor(...e){super(...e),Object(a.a)(this,"state",{data:null,notice:null,nextLoading:!1,loading:!0,formData:{email:"",password:"",confirmPassword:""}}),Object(a.a)(this,"handleChange",(e,t)=>{void 0!==this.state.formData[e]&&this.setState(Object(c.a)(o=>{o.formData[e]=t}))}),Object(a.a)(this,"handleConnect",async()=>{const{onSuccess:e,onClose:t,updateAuthorization:o,updateSyncAllowed:n}=this.props,{email:i,password:r,confirmPassword:a}=this.state.formData;We(i)?r===a?(this.setState({notice:null,nextLoading:!0}),null!=i&&i.trim()&&null!=r&&r.trim()&&null!=a&&a.trim()?(e=>{const{hash:t,url:o,cloudSignUp:n}=v.a.get("wp").api,i=v.a.get("editorVersion"),r=Fe(o,{hash:t,version:i,action:n});return Object(ue.J)(r,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},body:JSON.stringify(e)}).then(_e).then(e=>e)})({email:i,password:r,confirmPassword:a}).then(i=>{if(!i.status||i.status>=400)throw i;o("connected"),Object(bn.b)("connected"),Ql&&pn().then(e=>{const{status:t,data:o}=e||{};!t||t>=400?console.warn("Something went wrong",e):null!=o&&o.isSyncAllowed&&n(!0)}),e&&e(),t&&t()}).catch(e=>{this.setState({nextLoading:!1,notice:{message:Object(ae.a)("Incorrect username or password"),type:"error"}})}):this.setState({nextLoading:!1,notice:{message:Object(ae.a)("All fields cannot be empty"),type:"error"}})):this.setState({nextLoading:!1,notice:{message:Object(ae.a)("Password and confirm password is not the same"),type:"error"}}):this.setState({nextLoading:!1,notice:{message:Object(ae.a)("The email address format is not valid"),type:"error"}})})}async componentDidMount(){const e=Object(pe.a)("integrations.json"),t=await fetch(e),{cloudAuthorization:o}=await t.json(),{onLoading:n}=this.props;this.setState({data:o,loading:!1}),n&&n(!1)}renderLoading(){return s.a.createElement(he,null)}renderNotice(){const{notice:e}=this.state;if(e){const{message:t,type:o}=e;return s.a.createElement(be,{message:t,type:o})}}renderContent(){if(this.state.data){var e;const{data:{img:t,signUpDescription:o},nextLoading:n}=this.state,i=v.a.getAll(),r=Object(xn.a)(i)&&Object(Pn.b)(i)&&i.urls.favicon||t,a=(null===(e=Object(xn.a)(i))||void 0===e?void 0:e.brandingName)||"Brizy";return s.a.createElement(P.a,{className:"brz-text-lg-center"},s.a.createElement("div",{className:"brz-ed-popup-integrations__connect-head"},s.a.createElement("img",{className:"brz-img",src:r,alt:a}),s.a.createElement("p",{className:"brz-p"},o)),s.a.createElement("div",{className:"brz-ed-popup-integrations__connect-body"},this.renderNotice(),es.map(({title:e,name:t,required:o,type:n="text"},i)=>s.a.createElement(Ye,{key:i,title:e,type:n,value:this.state.formData[t]||"",required:o,onChange:({target:e})=>{this.handleChange(t,e.value)}})),s.a.createElement("div",{className:"brz-ed-popup-authorization__buttons"},s.a.createElement(Ge,{color:"teal",loading:n,onClick:this.handleConnect},Object(ae.a)("Create Account & Connect")))))}}render(){const e=g()("brz-ed-popup-authorization",this.props.className);return s.a.createElement("div",{className:e},this.state.loading?this.renderLoading():this.renderContent())}}Object(a.a)(ns,"defaultProps",{className:"",onSuccess:f.noop,onSkip:f.noop,onClose:f.noop,onLoading:f.noop});var is=os(ns);const rs=[{id:"signIn",title:Object(ae.a)("Cloud"),icon:"nc-upload",component:Zl},{id:"signUp",title:Object(ae.a)("SignUp"),icon:"nc-add",component:is}];var as=({opened:e,onClose:t})=>s.a.createElement(de,{opened:e,tabs:rs,currentTab:"signIn",onClose:t});const ls=({space:e})=>s.a.createElement("div",{style:{paddingBottom:e}}),ss=e=>{const{head:t,loading:o,error:n,children:i,spacing:r=!0,height:a=!0,footer:l,inlineFooter:c}=e,d=g()("brz-ed-popup-content",{"brz-ed-popup-content--spacing":r,"brz-ed-popup-content--height":a}),p=g()("brz-ed-popup-content__footer",{"brz-ed-popup-content__footer--inline":c});return o?s.a.createElement("div",{className:d},s.a.createElement(he,null)):s.a.createElement("div",{className:d},t&&s.a.createElement(s.a.Fragment,null,s.a.createElement("div",{className:"brz-ed-popup-content__head"},s.a.createElement("p",{className:"brz-p"},s.a.createElement("strong",{className:"brz-strong"},t)),s.a.createElement(ls,{space:"19px"}))),n&&s.a.createElement(be,{message:n,type:"error"}),s.a.createElement(P.a,{autoHeight:!0,autoHeightMax:"100%",style:{height:"auto"}},i),l&&s.a.createElement(s.a.Fragment,null,s.a.createElement(ls,{space:"35px"}),s.a.createElement("div",{className:p},l)))},cs=({id:e,active:t,icon:o,title:n,onClick:i,onClose:r})=>{const a=Object(l.useCallback)(()=>null==i?void 0:i(e),[i,e]);return s.a.createElement(s.a.Fragment,null,s.a.createElement("div",{onClick:a,className:g()("brz-ed-popup-tab-item",{active:t})},s.a.createElement("div",{className:"brz-ed-popup-tab-icon"},s.a.createElement(_.b,{icon:o})),s.a.createElement("div",{className:"brz-ed-popup-tab-name"},n)),s.a.createElement("div",{className:"brz-ed-popup-btn-close",onClick:r}))},ds=({tabs:e,onClose:t})=>s.a.createElement("div",{className:"brz-ed-popup-header"},e.map(e=>s.a.createElement(cs,Object(C.a)({key:e.id},e,{onClose:t}))));let ps;var us;(us=ps||(ps={})).page="page-tab",us.settings="settings-tab";const bs=[{id:ps.page,icon:"nc-eye-17",title:Object(ae.a)("Page")},{id:ps.settings,icon:"nc-settings",title:Object(ae.a)("Settings")}],ms=({children:e,label:t,required:o})=>s.a.createElement("div",{className:"brz-ed-popup-integrations-step__fields-option brz-d-xs-flex brz-align-items-xs-center brz-justify-content-xs-between"},s.a.createElement("p",{className:"brz-p"},t,o?s.a.createElement("strong",{className:"brz-strong brz--required"},"*"):null),s.a.createElement("div",{className:"brz-ed-popup-integrations-step__field"},e)),hs=({headTitle:e,inlineFooter:t,footer:o,value:n,error:i,onChange:r,layouts:a})=>{const c=Object(l.useMemo)(()=>a.map(({id:e,title:t})=>s.a.createElement(O.a,{key:e,value:e},t)),[a]);return s.a.createElement(ss,{head:e,inlineFooter:t,footer:o,error:i},s.a.createElement(ms,{label:Object(ae.a)("Page Layout"),required:!0},s.a.createElement(S.a,{className:"brz-control__select--white",maxItems:"6",itemHeight:"30",inPortal:!0,defaultValue:n,onChange:r},c)))},gs=({value:e,onChange:t,placeholder:o})=>{const n=Object(l.useCallback)(e=>t(e.target.value),[t]);return s.a.createElement(ms,{label:Object(ae.a)("Page Title"),required:!0},s.a.createElement("input",{className:"brz-input",required:!0,type:"text",value:e,onChange:n,placeholder:o}))},fs=e=>({payload:e,type:"Ready"}),vs=e=>({payload:e,type:"Saving"});let ys;!function(e){e.FetchError="FetchError",e.FetchSuccess="FetchSuccess",e.Save="Save",e.SaveError="SaveError",e.SaveSuccess="SaveSuccess",e.Cancel="Cancel",e.Canceled="Canceled",e.SwitchTab="SwitchTab"}(ys||(ys={}));const Ss=()=>({type:ys.Save}),Os=e=>({payload:e,type:ys.SwitchTab}),xs=()=>({type:ys.Cancel});var Cs=o(711),Bs=o(714),js=o(584),Ps=o(968),Ts=o(969),ws=o(976);function Es(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function zs(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Es(Object(o),!0).forEach((function(t){Object(a.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Es(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const ks=(e,t,o,n)=>{const[i,r]=Object(l.useReducer)(e,{payload:{activeTab:ps.page},type:"Loading"});return Object(l.useEffect)(()=>{const e=Object(Cs.a)(t()).pipe(Object(js.a)(e=>(e=>({type:ys.FetchSuccess,payload:e}))(zs(zs({},e),{},{activeTab:ps.page}))),Object(Ps.a)(()=>Object(Bs.a)({type:ys.FetchError}))).subscribe(r);return()=>null==e?void 0:e.unsubscribe()},["Loading"===i.type]),Object(l.useEffect)(()=>{let e;return"Saving"===i.type&&(e=Object(Cs.a)(o(i.payload)).pipe(Object(Ts.a)({type:ys.SaveSuccess}),Object(Ps.a)(()=>Object(Bs.a)({type:ys.SaveError}))).subscribe(r)),()=>{var t;return null===(t=e)||void 0===t?void 0:t.unsubscribe()}},["Saving"===i.type]),Object(l.useEffect)(()=>{let e;return"Canceling"===i.type&&(e=Object(Bs.a)(1).pipe(Object(ws.a)(650),Object(Ts.a)({type:ys.Canceled})).subscribe(r)),()=>{var t;return null===(t=e)||void 0===t?void 0:t.unsubscribe()}},["Canceling"===i.type]),Object(l.useEffect)(()=>{"Canceled"===i.type&&n()},["Canceled"===i.type]),[i,r]};function Fs(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function _s(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Fs(Object(o),!0).forEach((function(t){Object(a.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Fs(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const Rs=e=>Object.values(ys).includes(e.type),Hs=e=>!Rs(e),Ls=(e,t)=>(o,n)=>Object(Qe.match)([Rs,e=>{switch(e.type){case ys.FetchError:return"Loading"===o.type?{type:"Err",payload:_s(_s({},o.payload),{},{message:Object(ae.a)("Something went wrong")})}:o;case ys.FetchSuccess:return"Loading"===o.type?fs(_s(_s({},e.payload),{},{activeTab:o.payload.activeTab})):o;case ys.Save:if("Ready"!==o.type)return o;{const e=t(o.payload);switch(e.type){case"left":return fs(e.value);case"right":return vs(e.value)}}case ys.SaveError:return"Saving"===o.type?fs(_s(_s({},o.payload),{},{error:Object(ae.a)("Something went wrong")})):o;case ys.SaveSuccess:return"Saving"===o.type?fs(o.payload):o;case ys.SwitchTab:return"Ready"===o.type?fs(_s(_s({},o.payload),{},{activeTab:e.payload})):"Saving"===o.type?vs(_s(_s({},o.payload),{},{activeTab:e.payload})):o;case ys.Cancel:switch(o.type){case"Loading":case"Err":case"Canceling":return o;case"Ready":case"Saving":return(e=>({payload:e,type:"Canceling"}))(o.payload)}case ys.Canceled:return"Canceling"===o.type?(e=>({payload:e,type:"Canceled"}))(o.payload):o}}],[Hs,t=>{switch(o.type){case"Loading":case"Err":case"Saving":case"Canceling":case"Canceled":return o;case"Ready":return fs(e(o.payload,t))}}])(n),Ms=e=>({type:"left",value:e}),Is=e=>({type:"right",value:e});var Ws=o(192);function Ns(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Vs(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Ns(Object(o),!0).forEach((function(t){Object(a.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Ns(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const As=Ls((e,t)=>{var o;switch(t.type){case"SetLayout":return Vs(Vs({},e),{},{layout:t.payload});case"SetBlog":return Vs(Vs({},e),{},{selected:null!==(o=e.items.find(e=>e.id===t.payload))&&void 0!==o?o:e.selected});case"SetTitle":return Vs(Vs({},e),{},{title:t.payload})}},e=>{const{title:t,selected:o}=e;return t&&Ws.a(t)?o?Is({title:t,items:e.items,selected:o,activeTab:e.activeTab,layout:e.layout,layouts:e.layouts,error:void 0}):Ms(Vs(Vs({},e),{},{error:Object(ae.a)("You must be have one selected item")})):Ms(Vs(Vs({},e),{},{error:Object(ae.a)("You must specify a title")}))}),Ds=e=>!!e.length,$s=e=>e.templates.map(({id:e})=>({title:e,id:e}));function Gs(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Us(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Gs(Object(o),!0).forEach((function(t){Object(a.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Gs(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var Ks=o(107);function Ys(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function qs(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Ys(Object(o),!0).forEach((function(t){Object(a.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Ys(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const Xs=Ls((e,t)=>{switch(t.type){case"SetLayout":return qs(qs({},e),{},{layout:t.payload});case"SetRules":return qs(qs({},e),{},{items:e.items.map(e=>qs(qs({},e),{},{selected:t.payload.includes(e.id.toString())}))});case"SetTitle":return qs(qs({},e),{},{title:t.payload})}},e=>{const{title:t,items:o}=e;return t&&Ws.a(t)?o.filter(e=>e.selected).length?Is({title:t,items:e.items,activeTab:e.activeTab,layout:e.layout,layouts:e.layouts,error:void 0}):Ms(qs(qs({},e),{},{error:Object(ae.a)("You must be have one selected item")})):Ms(qs(qs({},e),{},{error:Object(ae.a)("You must specify a title")}))});function Js(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Zs(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Js(Object(o),!0).forEach((function(t){Object(a.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Js(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function Qs(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function ec(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Qs(Object(o),!0).forEach((function(t){Object(a.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Qs(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const tc=Ls((e,t)=>{switch(t.type){case"SetLayout":return ec(ec({},e),{},{layout:t.payload});case"SetTitle":return ec(ec({},e),{},{title:t.payload})}},e=>{const{title:t}=e;return t&&Ws.a(t)?Is({title:t,activeTab:e.activeTab,layout:e.layout,layouts:e.layouts,error:void 0}):Ms(ec(ec({},e),{},{error:Object(ae.a)("You must specify a title")}))});function oc(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function nc(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?oc(Object(o),!0).forEach((function(t){Object(a.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):oc(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function ic(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function rc(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?ic(Object(o),!0).forEach((function(t){Object(a.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):ic(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const ac={icon:ne,apps:Vt,blocks:Rn,form:pa,keyHelper:ba,fonts:Ua,conditions:Ul,authorization:as,pageRules:e=>{const{headTitle:t,pageTitle:o,opened:n,selectedLayout:i,onClose:r,onSave:a}=e,c=Object(no.c)(),d=Object(l.useCallback)(({items:e,title:t,layout:o})=>(c(Object(Qo.N)(o)),c(Object(Qo.P)(t)),a().then(()=>Object(ue.shopifySyncRules)(e.filter(e=>e.selected),t)).then(()=>{})),[c]),p=Object(l.useCallback)(async()=>{const e=v.a.getAll();if(Object(Pn.b)(e)&&Object(Pn.g)(e)){const n=Object(ue.getPageRelations)(e).then(e=>e.map(e=>e.id)),r=Object(ue.getCollectionSourceItemsById)(e.templateType.id),a=await Promise.all([r,n]).then(([e,t])=>e.map(e=>Zs(Zs({},e),{},{selected:t.includes(e.id)}))),l=$s(e);var t;if(Ds(a)&&Ds(l))return{items:a,layouts:l,title:o,layout:null!==(t=null==i?void 0:i.value)&&void 0!==t?t:l[0].id,error:void 0}}return Promise.reject()},[]),[u,b]=ks(Xs,p,d,r),m=Object(l.useMemo)(()=>s.a.createElement(s.a.Fragment,null,s.a.createElement(Ge,{size:3,loading:"Canceling"===u.type,onClick:()=>b(xs())},Object(ae.a)("Cancel")),s.a.createElement(Ge,{color:"teal",size:3,loading:"Saving"===u.type,onClick:()=>b(Ss())},Object(ae.a)("Save"))),[b,u.type]);return s.a.createElement(y.a,{opened:n,onClose:r},s.a.createElement("div",{className:"brz-ed-popup-wrapper"},s.a.createElement(ds,{tabs:bs.map(e=>Zs(Zs({},e),{},{active:e.id===u.payload.activeTab,onClick:e=>b(Os(e))})),onClose:r}),(()=>{switch(u.type){case"Loading":return s.a.createElement(ss,{head:t,loading:!0});case"Err":return s.a.createElement(ss,{head:t,error:u.payload.message});case"Ready":case"Saving":case"Canceling":case"Canceled":{const{items:e,title:o}=u.payload,n=e.filter(e=>e.selected).reduce((e,t)=>(e[t.id]=!0,e),{}),i=(e=>{switch(e.type){case"Loading":case"Err":case"Saving":return;case"Ready":case"Canceling":case"Canceled":return e.payload.error}})(u);switch(u.payload.activeTab){case ps.page:return s.a.createElement(ss,{head:t,error:i,inlineFooter:!0,footer:m},s.a.createElement(gs,{value:null!=o?o:"",onChange:e=>b({payload:e,type:"SetTitle"}),placeholder:Object(ae.a)("Page title")}),s.a.createElement(Ks.c,{defaultValue:n,onChange:e=>b({payload:Object.entries(e).filter(([,e])=>e).map(([e])=>e),type:"SetRules"})},e.map(e=>s.a.createElement(Ks.b,{key:e.id,divider:!0,inline:!0,value:e.id,renderIcons:Ks.a},e.title))));case ps.settings:return s.a.createElement(hs,{layouts:u.payload.layouts,headTitle:t,value:u.payload.layout,inlineFooter:!0,footer:m,onChange:e=>b({payload:e,type:"SetLayout"}),error:i})}}}})()))},pageTemplate:e=>{const{headTitle:t,pageTitle:o,selectedLayout:n,opened:i,onClose:r,onSave:a}=e,c=Object(no.c)(),d=Object(l.useCallback)(({title:e,layout:t})=>(c(Object(Qo.N)(t)),c(Object(Qo.P)(e)),a().then(()=>Object(ue.shopifySyncPage)(e)).then(()=>{})),[c]),p=Object(l.useCallback)(async()=>{const e=v.a.getAll();if(Object(Pn.b)(e)&&Object(Pn.g)(e)){const i=$s(e);var t;if(Ds(i))return{layouts:i,title:o,layout:null!==(t=null==n?void 0:n.value)&&void 0!==t?t:i[0].id,error:void 0}}return Promise.reject()},[]),[u,b]=ks(tc,p,d,r),m=s.a.createElement(s.a.Fragment,null,s.a.createElement(Ge,{size:3,loading:"Canceling"===u.type,onClick:()=>b(xs())},Object(ae.a)("Cancel")),s.a.createElement(Ge,{color:"teal",size:3,loading:"Saving"===u.type,onClick:()=>b(Ss())},Object(ae.a)("Save")));return s.a.createElement(y.a,{opened:i,onClose:r},s.a.createElement("div",{className:"brz-ed-popup-wrapper"},s.a.createElement(ds,{tabs:bs.map(e=>nc(nc({},e),{},{active:e.id===u.payload.activeTab,onClick:()=>b(Os(e.id))})),onClose:r}),(()=>{var e;switch(u.type){case"Loading":return s.a.createElement(ss,{head:t,loading:!0});case"Err":return s.a.createElement(ss,{head:t,error:u.payload.message});case"Ready":case"Saving":case"Canceling":case"Canceled":switch(u.payload.activeTab){case ps.page:return s.a.createElement(ss,{head:t,inlineFooter:!0,footer:m,error:u.payload.error},s.a.createElement(gs,{value:null!==(e=u.payload.title)&&void 0!==e?e:"",onChange:e=>b({payload:e,type:"SetTitle"}),placeholder:Object(ae.a)("Page title")}));case ps.settings:return s.a.createElement(hs,{layouts:u.payload.layouts,headTitle:t,value:u.payload.layout,inlineFooter:!0,footer:m,onChange:e=>b({payload:e,type:"SetLayout"}),error:u.payload.error})}}})()))},pageArticle:e=>{const{headTitle:t,pageTitle:o,opened:n,selectedLayout:i,onClose:r,onSave:a}=e,c=Object(no.c)(),d=Object(l.useCallback)(({selected:e,title:t,layout:o})=>(c(Object(Qo.N)(o)),c(Object(Qo.P)(t)),a().then(()=>Object(ue.shopifySyncArticle)(e.id,e.title,t)).then(()=>{})),[c]),p=Object(l.useCallback)(async()=>{const e=v.a.getAll();if(Object(Pn.b)(e)&&Object(Pn.g)(e)){const n=Object(ue.getPageRelations)(e).then(e=>e.map(e=>e.id)),r=Object(ue.shopifyBlogItems)(),[a,l]=await Promise.all([r,n]),s=$s(e);var t;if(Ds(a)&&Ds(s))return{items:a,layouts:s,selected:a.find(e=>e.id===l[0]),title:o,layout:null!==(t=null==i?void 0:i.value)&&void 0!==t?t:s[0].id,error:void 0}}return Promise.reject()},[]),[u,b]=ks(As,p,d,r),m=s.a.createElement(s.a.Fragment,null,s.a.createElement(Ge,{size:3,loading:"Canceling"===u.type,onClick:()=>b(xs())},Object(ae.a)("Cancel")),s.a.createElement(Ge,{color:"teal",size:3,loading:"Saving"===u.type,onClick:()=>b(Ss())},Object(ae.a)("Save")));return s.a.createElement(y.a,{opened:n,onClose:r},s.a.createElement("div",{className:"brz-ed-popup-wrapper"},s.a.createElement(ds,{tabs:bs.map(e=>Us(Us({},e),{},{active:e.id===u.payload.activeTab,onClick:()=>b(Os(e.id))})),onClose:r}),(()=>{var e,o;switch(u.type){case"Loading":return s.a.createElement(ss,{head:t,loading:!0});case"Err":return s.a.createElement(ss,{head:t,error:u.payload.message});case"Ready":case"Saving":case"Canceling":case"Canceled":switch(u.payload.activeTab){case ps.page:return s.a.createElement(ss,{head:t,error:u.payload.error,inlineFooter:!0,footer:m},s.a.createElement(gs,{value:null!==(e=u.payload.title)&&void 0!==e?e:"",onChange:e=>b({payload:e,type:"SetTitle"}),placeholder:Object(ae.a)("Page title")}),s.a.createElement(De.b,{className:"brz-ed-popup-integrations-option__radio",defaultValue:null===(o=u.payload.selected)||void 0===o?void 0:o.id,onChange:e=>b({payload:e,type:"SetBlog"})},u.payload.items.map(({title:e,id:t})=>s.a.createElement(De.a,{checkIcon:"active",value:t,key:t},e))));case ps.settings:return s.a.createElement(hs,{layouts:u.payload.layouts,headTitle:t,value:u.payload.layout,inlineFooter:!0,footer:m,onChange:e=>b({payload:e,type:"SetLayout"}),error:u.payload.error})}}})()))}};class lc extends l.Component{constructor(...e){super(...e),Object(a.a)(this,"state",{prompts:[]}),Object(a.a)(this,"onUIStateChange",e=>{this.open(e)})}static open(e){m.set("prompt",e)}componentDidMount(){m.addChangeListener("prompt",this.onUIStateChange)}componentWillUnmount(){m.removeChangeListener("prompt",this.onUIStateChange)}close(e){this.setState(Object(c.a)(t=>{t.prompts[e].opened=!1}),()=>{this.setState(Object(c.a)(t=>{t.prompts.splice(e,1)}))})}open(e){const{mode:t="single"}=e,{prompts:o}=this.state,n=o.findIndex(({prompt:t})=>t==e.prompt);-1===n?this.setState(Object(c.a)(t=>{t.prompts.push(e)}),()=>{this.setState(Object(c.a)(e=>{const t=e.prompts.length;e.prompts[t-1].opened=!0}))}):"stack"===t?this.setState(Object(c.a)(t=>{t.prompts[n]=rc(rc({},e),{},{opened:!0})})):this.setState(Object(c.a)(t=>{t.prompts.forEach((e,o)=>{t.prompts[o].opened=!1}),t.prompts[n]=rc(rc({},e),{},{opened:!0})}))}getComponent(e,t){const o=ac[e];return s.a.createElement(o,t)}render(){const{prompts:e}=this.state;return e.length?e.map(({opened:e,prompt:t,props:o={}},n)=>this.getComponent(t,rc(rc({},o),{},{opened:e,key:n,onClose:()=>{this.close(n),o.onClose&&o.onClose()}}))):null}}var sc=t.a=lc},function(e,t,o){"use strict";o.d(t,"a",(function(){return y}));var n=o(0),i=o.n(n),r=o(32),a=o(134),l=o(14),s=o(48),c=o(17),d=o(85),p=o(1),u=o(22),b=o(2),m=o(214),h=o(15);function g(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function f(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?g(Object(o),!0).forEach((function(t){Object(b.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):g(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const v=e=>{let t=null;if(e){const o=e.querySelector("#ct-container");o?t=o:(t=document.createElement("div"),t.id="ct-container"),e.append(t)}return t},y={error:(e,t={})=>{m.a.error(e,f(f({renderIcon:()=>i.a.createElement(h.b,{icon:"nc-info"}),bar:{size:"2px",style:"solid",color:"currentColor"}},t),{},{toastContainer:v(t.toastContainer)}))},success:(e,t={})=>{m.a.success(e,f(f({renderIcon:()=>i.a.createElement(h.b,{icon:"nc-info"}),bar:{size:"2px",style:"solid",color:"currentColor"}},t),{},{toastContainer:v(t.toastContainer)}))},info:(e,t={})=>{m.a.info(e,f(f({renderIcon:()=>i.a.createElement(h.b,{icon:"nc-info"}),bar:{size:"2px",style:"solid",color:"currentColor"}},t),{},{toastContainer:v(t.toastContainer)}))},warn:(e,t={})=>{m.a.warn(e,f(f({renderIcon:()=>i.a.createElement(h.b,{icon:"nc-info"}),bar:{size:"2px",style:"solid",color:"currentColor"}},t),{},{toastContainer:v(t.toastContainer)}))}},S=e=>e.lockedBy.user_email,O=({children:e})=>i.a.createElement("div",{className:"brz-ed-notification"},i.a.createElement("div",{className:"brz-ed-notification__body brz-d-xs-flex brz-flex-xs-column brz-align-items-xs-center brz-text-lg-center"},e)),x=({children:e})=>i.a.createElement("div",{className:"brz-ed-notification__head"},e),C=({children:e})=>i.a.createElement("div",{className:"brz-ed-notification__content"},e),B=({children:e})=>i.a.createElement("div",{className:"brz-ed-notification__footer brz-d-xs-flex brz-align-items-xs-center"},e);t.b=Object(r.b)(e=>({error:Object(c.m)(e)}))(({error:e,dispatch:t})=>{const{code:o,data:n}=e||{};let r;switch(o){case d.c:r=i.a.createElement(O,null,i.a.createElement(x,null,i.a.createElement(h.b,{icon:"nc-warning",className:"brz-ed-notification__warning"})),i.a.createElement(C,null,n.lockedBy?`${S(n)} ${Object(p.a)("is already editing project")}`:n.statusText||Object(p.a)("Something went wrong")),i.a.createElement(B,null,i.a.createElement("button",{className:"brz-button brz-ed-btn brz-ed-btn-blue brz-ed-btn-round brz-ed-btn-xs-2",onClick:()=>{window.parent.location.reload()}},Object(p.a)("Refresh"))));break;case d.f:{const e=l.a.get("urls");r=i.a.createElement(O,null,i.a.createElement(x,null,i.a.createElement(h.b,{icon:"nc-warning",className:"brz-ed-notification__warning"})),i.a.createElement(C,null,n.lockedBy?`${Object(p.a)("You can’t make changes")}.\n ${S(n)} ${Object(p.a)("is currently working on this page. Do you want to take over")} ?`:n),i.a.createElement(B,null,i.a.createElement("a",{className:"brz-a brz-d-xs-flex brz-align-items-xs-center brz-ed-notification__to-dashboard",href:e.backToDashboard},Object(p.a)("To Dashboard")),i.a.createElement("button",{className:"brz-button brz-ed-notification__take-over brz-ed-btn brz-ed-btn-blue brz-ed-btn-round brz-ed-btn-xs-2",onClick:()=>{t(Object(s.B)(null)),Object(u.K)().catch(()=>{y.error(Object(p.a)("Take over failed please refresh the page"))})}},Object(p.a)("Take over"))));break}case d.e:r=i.a.createElement(O,null,i.a.createElement(x,null,i.a.createElement(h.b,{icon:"nc-warning",className:"brz-ed-notification__warning"})),i.a.createElement(C,null,n),i.a.createElement(B,null,i.a.createElement("button",{className:"brz-button brz-ed-btn brz-ed-btn-blue brz-ed-btn-round brz-ed-btn-xs-2",onClick:()=>{window.parent.location.reload()}},Object(p.a)("Refresh"))));break;default:r=null}return i.a.createElement(a.CSSTransition,{in:Boolean(r),timeout:300,classNames:"brz-ed-fade",unmountOnExit:!0},r||i.a.createElement("span",null))})},function(e,t,o){"use strict";o.d(t,"d",(function(){return O})),o.d(t,"b",(function(){return y})),o.d(t,"a",(function(){return x}));var n=o(2),i=o(0),r=o.n(i),a=o(6),l=o(4),s=o.n(l),c=o(303),d=o(967),p=o(104),u=o(80),b=o(973),m=o(209),h=o(43);function g(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function f(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?g(Object(o),!0).forEach((function(t){Object(n.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):g(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}class v extends r.a.Component{constructor(e){super(e),Object(n.a)(this,"isRepositioning",void 0),Object(n.a)(this,"contentRef",void 0);const{placement:t,arrowPlacement:o}=e;this.state={placement:null!=t?t:v.defaultProps.placement,placementStyle:v.defaultProps.placementStyle,arrowPlacement:null!=o?o:v.defaultProps.arrowPlacement,arrowPlacementStyle:v.defaultProps.arrowPlacementStyle},this.isRepositioning=!1,this.contentRef=r.a.createRef()}componentDidMount(){const{isOpen:e,toolbar:t}=this.props;e&&t&&this.repositionByToolbar(t)}repositionByToolbar(e){const{toolbarRef:t,toolbarCSSPosition:o,toolbarItemIndex:n}=e,i=t.current,r=null==i?void 0:i.querySelector(`.brz-ed-toolbar__items > .brz-ed-toolbar__item:nth-child(${n})`),a=null==r?void 0:r.getBoundingClientRect();if(!(t.current&&this.contentRef.current&&a&&i))return;const l=document.documentElement.clientWidth,s=document.documentElement.clientHeight,c=document.documentElement.scrollTop,d=document.documentElement.classList.contains("brz-ow-hidden"),p=Object(m.a)(),u=i.getBoundingClientRect(),b=this.contentRef.current.getBoundingClientRect(),g=(d?0:c)+u.bottom+14+Math.max(b.height,300)<=(d?s:Math.max(s,document.body.clientHeight)),f=(d?0:c)+u.top-14-b.height>=0,v="fixed"===o?0:c;let y={};const S=()=>{const e=l-b.width-2,t=a.left+a.width/2-b.width/2;return Object(h.b)(t,2,e)},O=()=>{const e=`calc(100% - ${v}px - ${u.top}px + 14px)`;y={position:o,top:"unset",bottom:e,left:S()}},x=()=>{const e=v+u.top+u.height+14;y={position:o,top:e,left:S()}};let C;"above"===p&&(f?(C="above",O()):(C="below",x())),"below"===p&&(g?(C="below",x()):(C="above",O()));const B="above"===C?"top":"bottom",j={left:a.left+a.width/2-(Number(y.left)||0)};this.isRepositioning=!0,this.setState({placementStyle:y,arrowPlacement:B,arrowPlacementStyle:j},()=>this.isRepositioning=!1)}renderInToolbar(){const{className:e,isOpen:t,size:o,arrow:n,children:i}=this.props,{placementStyle:a,arrowPlacement:l,arrowPlacementStyle:c}=this.state,d=s()("brz-ed-animated brz-ed-animated--fadeInUp","brz-ed-tooltip__overlay",{["brz-ed-tooltip--"+o]:o},{"brz-invisible":!t},e),p=s()("brz-ed-arrow","brz-ed-arrow--"+l);return r.a.createElement("div",{ref:this.contentRef,className:d,style:a},n&&r.a.createElement("div",{className:p,style:c}),i)}renderSimple(){const{className:e,size:t,arrow:o,node:n,placement:i,offset:a,children:l}=this.props,c=s()("brz-ed-animated brz-ed-animated--fadeInUp","brz-ed-tooltip__overlay",{["brz-ed-tooltip--"+t]:t},e);return r.a.createElement(b.a,{referenceElement:n,placement:i,modifiers:[{name:"offset",options:{offset:[0,a]}},{name:"computeStyles",options:{gpuAcceleration:!1}}]},({ref:e,style:t,arrowProps:n,placement:i})=>r.a.createElement("div",{ref:e,className:c,style:t},o&&r.a.createElement("div",{className:"brz-ed-arrow brz-ed-arrow--"+i,ref:n.ref,style:f(f({},n.style),{},{margin:"0"})}),l))}render(){return this.props.toolbar?this.renderInToolbar():this.renderSimple()}}Object(n.a)(v,"defaultProps",{className:"",isOpen:!1,placement:"top",placementStyle:{},arrow:!0,arrowPlacement:"top",arrowPlacementStyle:{},size:void 0,offset:15,toolbar:void 0,inPortal:!1,node:void 0});const y=e=>{const{className:t,children:o,onClick:n}=e,i=s()("brz-ed-tooltip__item",t);return r.a.createElement("div",{className:i,onClick:n},o)},S=[],O=()=>S[S.length-1];class x extends r.a.Component{constructor(...e){super(...e),Object(n.a)(this,"state",{isOpen:!1,isHidden:!1,needClose:!1}),Object(n.a)(this,"contentRef",r.a.createRef()),Object(n.a)(this,"timeout",void 0),Object(n.a)(this,"handleClickOutside",()=>{const{isOpen:e}=this.state;e&&this.close()}),Object(n.a)(this,"handleContentClick",()=>{const{isOpen:e,isHidden:t}=this.state;e?t?this.show():this.close():this.open()}),Object(n.a)(this,"handleMouseEnter",()=>{this.setState({needClose:!1}),this.open()}),Object(n.a)(this,"handleMouseLeave",()=>{this.setState({needClose:!0}),this.timeout=setTimeout(()=>{this.state.needClose&&this.close()},this.props.closeDelay)})}componentWillUnmount(){const e=S.indexOf(this);-1!==e&&S.splice(e),clearTimeout(this.timeout)}open(){const{isOpen:e}=this.state;e||this.setState({isOpen:!0},()=>{var e,t;S.push(this),null===(e=(t=this.props).onOpen)||void 0===e||e.call(t)})}close(){const{isOpen:e}=this.state;e&&this.setState({isOpen:!1},()=>{var e,t;S.pop(),null===(e=(t=this.props).onClose)||void 0===e||e.call(t)})}show(){const{isHidden:e}=this.state;e&&this.setState({isHidden:!1})}hide(){const{isHidden:e}=this.state;e||this.setState({isHidden:!0})}reposition(){this.forceUpdate()}renderOverlay(){const{isOpen:e,isHidden:t}=this.state;if(!e)return null;const{overlayClassName:o,nodeRef:n,overlay:i,arrow:a,placement:l,size:c,offset:d,toolbar:u,inPortal:b,portalNode:m}=this.props,h=n&&n.current||this.contentRef.current,g=m||(null==h?void 0:h.ownerDocument.body),f=r.a.createElement(v,{className:o,node:null!=h?h:void 0,arrow:a,placement:l,size:c,offset:d,isOpen:e,toolbar:u,inPortal:b},i);return(b||u)&&g?r.a.createElement(p.a,{node:g,className:s()("brz-reset-all","brz-ed-tooltip__content-portal",{"brz-invisible":t})},f):f}renderInToolbar(){const{title:e,children:t,openOnClick:o}=this.props;return r.a.createElement(r.a.Fragment,null,r.a.createElement("div",{title:e,ref:this.contentRef,className:"brz-ed-tooltip__content",onClick:o?this.handleContentClick:a.default.noop},t),this.renderOverlay())}renderSimple(){const{title:e,children:t,openOnClick:o}=this.props;return r.a.createElement(c.a,null,r.a.createElement(d.a,null,()=>r.a.createElement("div",{title:e,ref:this.contentRef,className:"brz-ed-tooltip__content",onClick:o?this.handleContentClick:a.default.noop},t)),this.renderOverlay())}render(){const{toolbar:e,openOnClick:t,className:o,clickOutsideExceptions:n}=this.props,i=s()("brz-ed-tooltip",{"brz-ed-tooltip__static":!e},{"brz-ed-tooltip--opened":this.state.isOpen},o),l=[...null!=n?n:[],".brz-ed-tooltip__content-portal"];return r.a.createElement(u.a,{onClickOutside:this.handleClickOutside,exceptions:l},r.a.createElement("div",{className:i,onMouseEnter:t?a.default.noop:this.handleMouseEnter,onMouseLeave:t?a.default.noop:this.handleMouseLeave},e?this.renderInToolbar():this.renderSimple()))}}Object(n.a)(x,"defaultProps",{arrow:!0,placement:"top",openOnClick:!0,closeDelay:0,overlay:"",size:void 0,offset:15,toolbar:void 0,inPortal:!1,portalNode:void 0,clickOutsideExceptions:[],nodeRef:void 0,onOpen:()=>{},onClose:()=>{}});t.c=x},,function(e,t,o){"use strict";o.d(t,"a",(function(){return n}));const n=e=>t=>t(e)},function(e,t,o){"use strict";o.d(t,"b",(function(){return n})),o.d(t,"a",(function(){return i}));const n=e=>e.target.value;function i(e,t){"function"==typeof t?t(e):t&&e&&(t.current=e)}},function(e,t,o){"use strict";o.d(t,"j",(function(){return d})),o.d(t,"i",(function(){return p})),o.d(t,"a",(function(){return u})),o.d(t,"l",(function(){return b})),o.d(t,"f",(function(){return m})),o.d(t,"e",(function(){return h})),o.d(t,"m",(function(){return g})),o.d(t,"k",(function(){return f})),o.d(t,"n",(function(){return y})),o.d(t,"d",(function(){return S})),o.d(t,"g",(function(){return O})),o.d(t,"c",(function(){return x})),o.d(t,"b",(function(){return C})),o.d(t,"h",(function(){return B}));var n=o(2),i=o(108),r=o(78),a=o(40),l=o(33);function s(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function c(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?s(Object(o),!0).forEach((function(t){Object(n.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):s(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const d=e=>e.project,p=e=>e.page,u=e=>e.authorized,b=e=>e.syncAllowed,m=e=>e.fonts,h=e=>e.extraFontStyles,g=e=>e.ui,f=e=>e.storeWasChanged||i.a.unchanged,v=e=>!0!==e.deleted,y=Object(r.createSelector)(m,e=>Object.entries(e).reduce((e,t)=>{const[o,{data:n=[]}={data:[]}]=t;return c(c({},e),{},{[""+o]:{data:n.filter(v)}})},{})),S=Object(r.createSelector)(d,e=>e.data.font),O=Object(r.createSelector)(S,m,(e,t)=>{const o=Object(a.j)(t,e);if(o)return o;const[[n,{data:i=[]}]]=Object.entries(t);return{group:n,font:i[0]}}),x=Object(r.createSelector)(g,e=>e.currentRole),C=Object(r.createSelector)(g,e=>e.currentLanguage),B=Object(r.createSelector)(g,e=>e.leftSidebar);Object(r.createSelector)(p,e=>{if(Object(l.h)(e))return e.layout})},function(e,t,o){"use strict";var n=o(135);const i={};let r,a={},l={};const s={registerComponent(e){i[e.componentId]=e},getComponents:()=>i,getComponent:e=>i[e]||null,registerNotFoundComponent(e){r=e},getNotFoundComponent(){if(!r)throw new Error("NotFoundComponent not registered");return r},registerShortcode(e){a=e},registerShopifyShortcode(e){l=e},getShortcodes:()=>Object(n.b)("getShortcodes",a),getShopifyShortcodes:()=>Object(n.b)("getShopifyShortcodes",l)};t.a=s},function(e,t,o){"use strict";o.d(t,"a",(function(){return n}));const n=e=>{switch(typeof e){case"string":{const t=""!==e?Number(e):NaN;return isNaN(t)?void 0:t}case"number":return isNaN(e)?void 0:e;default:return}}},function(e,t,o){"use strict";o.d(t,"a",(function(){return X})),o.d(t,"c",(function(){return J})),o.d(t,"b",(function(){return Z})),o.d(t,"f",(function(){return Q})),o.d(t,"d",(function(){return ee})),o.d(t,"e",(function(){return te}));var n=o(1),i=o(8),r=o(2),a=o(0),l=o.n(a),s=o(79),c=o(119),d=o(89),p=o(11),u=o(149),b=o(115);const m=({label:e,value:t,onChange:o})=>{const[n,i]=Object(b.d)(t,o,500),r=Object(a.useCallback)(Object(p.b)(e=>e.number/10,s.c,i),[i]);return l.a.createElement(d.a,{className:"brz-ed-option"},l.a.createElement(c.a,{label:e}),l.a.createElement(u.a,{value:{number:10*n,unit:""},onChange:r,step:.1,min:0,max:10,units:[]}))};var h=o(130),g=o(105);function f({value:e,onChange:t,directions:o,label:n}){return l.a.createElement(d.a,{className:"brz-ed-option"},l.a.createElement(c.a,{label:n}),l.a.createElement(h.a,{value:e,onChange:t,editable:!1},o.map(([e,t])=>l.a.createElement(g.a,{key:e,value:e},t))))}var v=o(19),y=o(311),S=o(102);const O=e=>e/100;function x({value:{top:e,bottom:t},onChange:o}){const i=Object(a.useCallback)(Object(v.mPipe)(O,Object(v.pass)(s.d),e=>Object(S.a)(e,t),o),[o,t]),r=Object(a.useCallback)(Object(v.mPipe)(O,Object(v.pass)(s.d),t=>Object(S.a)(e,t),o),[o,e]),[c,p]=Object(b.b)(100*e,i,100),[u,m]=Object(b.b)(100*t,r,100);return l.a.createElement(d.a,{className:"brz-ed-option"},l.a.createElement(y.a,{start:Math.trunc(c),onChangeStart:p,end:Math.trunc(u),onChangeEnd:m,step:1,min:0,max:100,startLabel:Object(n.a)("Start"),endLabel:Object(n.a)("End")}))}function C(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function B(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?C(Object(o),!0).forEach((function(t){Object(r.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):C(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const j=({value:e,onChange:t})=>{const o=Object(a.useCallback)(o=>t(B(B({},e),{},{direction:o})),[e,t]),i=Object(a.useCallback)(o=>t(B(B({},e),{},{level:o})),[e,t]),r=Object(a.useCallback)(o=>t(B(B({},e),{},{viewport:o})),[e,t]),s=Object(a.useMemo)(()=>[["in",Object(n.a)("In")],["out",Object(n.a)("Out")],["inOut",Object(n.a)("InOut")],["outIn",Object(n.a)("OutIn")]],[]);return l.a.createElement(l.a.Fragment,null,l.a.createElement(f,{label:Object(n.a)("Direction"),value:e.direction,onChange:o,directions:s}),l.a.createElement(m,{label:Object(n.a)("Level"),value:e.level,onChange:i}),l.a.createElement(x,{value:e.viewport,onChange:r}))};function P(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function T(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?P(Object(o),!0).forEach((function(t){Object(r.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):P(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const w=({value:e,onChange:t})=>{const o=Object(a.useCallback)(o=>t(T(T({},e),{},{direction:o})),[e,t]),i=Object(a.useCallback)(o=>t(T(T({},e),{},{speed:o})),[e,t]),r=Object(a.useMemo)(()=>[["left",Object(n.a)("Left")],["right",Object(n.a)("Right")]],[]),s=Object(a.useCallback)(o=>t(T(T({},e),{},{viewport:o})),[e,t]);return l.a.createElement(l.a.Fragment,null,l.a.createElement(f,{label:Object(n.a)("Direction"),value:e.direction,onChange:o,directions:r}),l.a.createElement(m,{label:Object(n.a)("Speed"),value:e.speed,onChange:i}),l.a.createElement(x,{value:e.viewport,onChange:s}))};function E(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function z(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?E(Object(o),!0).forEach((function(t){Object(r.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):E(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const k=({value:e,onChange:t})=>{const o=Object(a.useCallback)(o=>t(z(z({},e),{},{direction:o})),[e,t]),i=Object(a.useCallback)(o=>t(z(z({},e),{},{speed:o})),[e,t]),r=Object(a.useMemo)(()=>[["direct",Object(n.a)("Direct")],["opposite",Object(n.a)("Opposite")]],[]);return l.a.createElement(l.a.Fragment,null,l.a.createElement(f,{label:Object(n.a)("Direction"),value:e.direction,onChange:o,directions:r}),l.a.createElement(m,{label:Object(n.a)("Speed"),value:e.speed,onChange:i}))};function F(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function _(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?F(Object(o),!0).forEach((function(t){Object(r.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):F(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const R=({value:e,onChange:t})=>{const o=Object(a.useCallback)(o=>t(_(_({},e),{},{direction:o})),[e,t]),i=Object(a.useCallback)(o=>t(_(_({},e),{},{x:o})),[e,t]),r=Object(a.useCallback)(o=>t(_(_({},e),{},{y:o})),[e,t]),s=Object(a.useCallback)(o=>t(_(_({},e),{},{speed:o})),[e,t]),c=Object(a.useCallback)(o=>t(_(_({},e),{},{viewport:o})),[e,t]),d=Object(a.useMemo)(()=>[["left",Object(n.a)("Left")],["right",Object(n.a)("Right")]],[]),p=Object(a.useMemo)(()=>[["left",Object(n.a)("Left")],["center",Object(n.a)("Center")],["right",Object(n.a)("Right")]],[]),u=Object(a.useMemo)(()=>[["top",Object(n.a)("Top")],["center",Object(n.a)("Center")],["bottom",Object(n.a)("Bottom")]],[]);return l.a.createElement(l.a.Fragment,null,l.a.createElement(f,{label:Object(n.a)("Direction"),value:e.direction,onChange:o,directions:d}),l.a.createElement(f,{label:Object(n.a)("X"),value:e.x,onChange:i,directions:p}),l.a.createElement(f,{label:Object(n.a)("Y"),value:e.y,onChange:r,directions:u}),l.a.createElement(m,{label:Object(n.a)("Speed"),value:e.speed,onChange:s}),l.a.createElement(x,{value:e.viewport,onChange:c}))};var H=o(312);function L(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function M(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?L(Object(o),!0).forEach((function(t){Object(r.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):L(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const I={up:Object(n.a)("Up"),down:Object(n.a)("Down"),downUp:Object(n.a)("DownUp"),upDown:Object(n.a)("UpDown")},W={left:Object(n.a)("Left"),center:Object(n.a)("Center"),right:Object(n.a)("Right")},N={top:Object(n.a)("Top"),center:Object(n.a)("Center"),bottom:Object(n.a)("Bottom")},V=({value:e,onChange:t})=>{const o=Object(a.useCallback)(o=>t(M(M({},e),{},{direction:o})),[e,t]),i=Object(a.useCallback)(o=>t(M(M({},e),{},{x:o})),[e,t]),r=Object(a.useCallback)(o=>t(M(M({},e),{},{y:o})),[e,t]),s=Object(a.useCallback)(Object(v.mPipe)(H.a,o=>t(M(M({},e),{},{speed:o}))),[e,t]),[p,m]=Object(b.b)(e.speed,s,500),h=Object(a.useCallback)(o=>t(M(M({},e),{},{viewport:o})),[e,t]),g=Object(a.useMemo)(()=>Object.entries(I),[]),y=Object(a.useMemo)(()=>Object.entries(W),[]),S=Object(a.useMemo)(()=>Object.entries(N),[]);return l.a.createElement(l.a.Fragment,null,l.a.createElement(f,{label:Object(n.a)("Direction"),value:e.direction,onChange:o,directions:g}),l.a.createElement(f,{label:Object(n.a)("X"),value:e.x,onChange:i,directions:y}),l.a.createElement(f,{label:Object(n.a)("Y"),value:e.y,onChange:r,directions:S}),l.a.createElement(d.a,{className:"brz-ed-option"},l.a.createElement(c.a,{label:Object(n.a)("Speed")}),l.a.createElement(u.a,{value:{number:p,unit:""},onChange:({number:e})=>m(e),step:1,min:-10,max:10,units:[]})),l.a.createElement(x,{value:e.viewport,onChange:h}))},A=k;function D(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function $(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?D(Object(o),!0).forEach((function(t){Object(r.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):D(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const G={in:Object(n.a)("In"),out:Object(n.a)("Out"),inOut:Object(n.a)("InOut"),outIn:Object(n.a)("OutIn")},U=({value:e,onChange:t})=>{const o=Object(a.useCallback)(o=>t($($({},e),{},{direction:o})),[e,t]),i=Object(a.useCallback)(o=>t($($({},e),{},{level:o})),[e,t]),r=Object(a.useCallback)(o=>t($($({},e),{},{viewport:o})),[e,t]),s=Object(a.useMemo)(()=>Object.entries(G),[]);return l.a.createElement(l.a.Fragment,null,l.a.createElement(f,{label:Object(n.a)("Direction"),value:e.direction,onChange:o,directions:s}),l.a.createElement(m,{label:Object(n.a)("Level"),value:e.level,onChange:i}),l.a.createElement(x,{value:e.viewport,onChange:r}))};function K(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Y(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?K(Object(o),!0).forEach((function(t){Object(r.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):K(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const q=({value:e,onChange:t})=>{const o=Object(a.useCallback)(o=>t(Y(Y({},e),{},{direction:o})),[e,t]),i=Object(a.useCallback)(o=>t(Y(Y({},e),{},{speed:o})),[e,t]),r=Object(a.useCallback)(o=>t(Y(Y({},e),{},{viewport:o})),[e,t]),s=Object(a.useMemo)(()=>[["up",Object(n.a)("Up")],["down",Object(n.a)("Down")]],[]);return l.a.createElement(l.a.Fragment,null,l.a.createElement(f,{label:Object(n.a)("Direction"),value:e.direction,onChange:o,directions:s}),l.a.createElement(m,{label:Object(n.a)("Speed"),value:e.speed,onChange:i}),l.a.createElement(x,{value:e.viewport,onChange:r}))},X=e=>{switch(e){case"blur":return"nc-blur";case"horizontal":return"nc-scroll-horizontal";case"mouseTrack":return"nc-mouse";case"rotate":return"nc-captcha";case"scale":return"nc-scroll-scale";case"mouseTilt":return"nc-cube";case"transparency":return"nc-scroll-transparency";case"vertical":return"nc-scroll-vertical"}},J=e=>{switch(e){case"blur":return Object(n.a)("Blur");case"mouseTrack":return Object(n.a)("MouseTrack");case"rotate":return Object(n.a)("Rotate");case"scale":return Object(n.a)("Scale");case"horizontal":return Object(n.a)("Horizontal");case"mouseTilt":return Object(n.a)("3D Tilt");case"transparency":return Object(n.a)("Transparency");case"vertical":return Object(n.a)("Vertical")}};function Z(e){switch(e){case"blur":return j;case"horizontal":return w;case"mouseTrack":return k;case"rotate":return R;case"scale":return V;case"mouseTilt":return A;case"transparency":return U;case"vertical":return q}}const Q=(e,t)=>{const o={};for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&(o[Object(i.b)(e,n)]=t[n]);return o},ee=e=>{const t={};for(const o in e)Object.prototype.hasOwnProperty.call(e,o)&&Object.assign(t,Q(o,e[o]));return t},te=e=>!!e("enabled")},function(e,t,o){"use strict";o.d(t,"a",(function(){return i}));var n=o(20);function i(...[e,...t]){return(...o)=>t.reduce((e,t)=>Object(n.b)(e)?void 0:t(e),e(...o))}},,function(e,t,o){"use strict";o.d(t,"d",(function(){return r})),o.d(t,"c",(function(){return a})),o.d(t,"b",(function(){return l})),o.d(t,"a",(function(){return s}));var n,i=o(11);!function(e){e.positive="unit"}(n||(n={}));const r=e=>e>=0&&e<=1,a=Object(i.c)(r),l=0,s=1},function(e,t,o){"use strict";o.d(t,"a",(function(){return p}));var n=o(2),i=o(0),r=o.n(i),a=o(42),l=o.n(a),s=o(47),c=o.n(s);let d=[];class p extends r.a.Component{constructor(...e){super(...e),Object(n.a)(this,"handleAll",e=>{d.forEach(t=>{const{exceptions:o,onClickOutside:n}=t.props;let i=0;if(o.length>0){const{functionExceptions:t,stringExceptions:n}=o.reduce((e,t)=>{switch(typeof t){case"function":e.functionExceptions.push(t);break;case"string":e.stringExceptions.push(t)}return e},{functionExceptions:[],stringExceptions:[]});t.length>0&&(i+=t.filter(t=>!0===t(e.target)).length),0===i&&n.length>0&&(i+=c()(e.target).closest(n.join(",")).length)}if(0===i){const o=l.a.findDOMNode(t);o&&!o.contains(e.target)&&n(e)}})})}componentDidMount(){0===d.length&&(document.addEventListener("mousedown",this.handleAll,!0),window.parent.document.addEventListener("mousedown",this.handleAll,!0)),d.push(this)}componentWillUnmount(){d.splice(d.indexOf(this),1),0===d.length&&(document.removeEventListener("mousedown",this.handleAll,!0),window.parent.document.removeEventListener("mousedown",this.handleAll,!0))}render(){return r.a.Children.only(this.props.children)}}Object(n.a)(p,"defaultProps",{exceptions:[]})},function(e,t,o){"use strict";o.d(t,"a",(function(){return n}));const n=e=>!0},,function(e,t,o){"use strict";o.d(t,"c",(function(){return a})),o.d(t,"b",(function(){return l})),o.d(t,"a",(function(){return s}));var n=o(11);const i=/^#(?:[A-Fa-f0-9]{3}){1,2}$/;var r;!function(e){e.hex="hex"}(r||(r={}));const a=e=>i.test(e),l=Object(n.b)(Object(n.c)(a)),s="#000000"},function(e,t,o){"use strict";o.d(t,"e",(function(){return a})),o.d(t,"a",(function(){return s})),o.d(t,"k",(function(){return c})),o.d(t,"i",(function(){return p})),o.d(t,"g",(function(){return u})),o.d(t,"j",(function(){return b})),o.d(t,"d",(function(){return m})),o.d(t,"h",(function(){return h})),o.d(t,"f",(function(){return g})),o.d(t,"c",(function(){return f})),o.d(t,"b",(function(){return v}));var n=o(6),i=o(20),r=o(26);const a=(e,t)=>e.reduce((e,o)=>{const n=t(o);return Array.isArray(n)?e.push(...n):e.push(n),e},[]),l=(e,t)=>[...e,...t],s=e=>e.reduce(l,[]);function c(e){return Array.isArray(e)?e:[]}const d=(e,t)=>void 0!==t[e]?e:void 0,p=(e,t)=>Object(i.d)(e=>(e+1)%t.length,d(e,t));function u(e,t){const o=t.indexOf(e);return o<0?void 0:o}const b=(e,t)=>{if(!Array.isArray(t))return;const o=[];for(let n=0;n<t.length;n++){const i=e(t[n]);if(void 0===i)return;o.push(i)}return o},m=(e,t)=>Object(i.f)(-1,Object(n.findIndex)(t,e),void 0);function h(e,t,o){if(0===o.length||e===t||e<0||e>o.length-1||t<0||t>o.length||o[e]===o[t])return o;const n=e>t?t:t+1,i=e<t?e:e+1;return Object(r.removeAt)(Object(r.insert)(o,n,o[e]),i)}const g=(e,t)=>{try{return b(e,JSON.parse(t))}catch(e){return}},f=(e,t,o)=>{if(t.length!==o.length)return!1;for(let n=0;n<t.length;n++)if(!e(t[n],o[n]))return!1;return!0},v=(e,t)=>e.filter(e=>!t.includes(e))},function(e,t,o){"use strict";o.d(t,"a",(function(){return i})),o.d(t,"h",(function(){return r})),o.d(t,"g",(function(){return a})),o.d(t,"i",(function(){return l})),o.d(t,"b",(function(){return s})),o.d(t,"j",(function(){return c})),o.d(t,"c",(function(){return d})),o.d(t,"f",(function(){return p})),o.d(t,"e",(function(){return u})),o.d(t,"d",(function(){return b}));var n=o(2);class i{constructor(e){Object(n.a)(this,"name","CustomError"),Object(n.a)(this,"date",new Date),Object(n.a)(this,"message",void 0),this.message=e}getName(){return this.name}getMessage(){return this.message}getDate(){return this.date}}class r extends i{constructor(...e){super(...e),Object(n.a)(this,"name","Project")}}class a extends i{constructor(...e){super(...e),Object(n.a)(this,"name","Page")}}class l extends i{constructor(...e){super(...e),Object(n.a)(this,"name","SavedBlocks")}}class s extends i{constructor(...e){super(...e),Object(n.a)(this,"name","GlobalBlocks")}}class c extends i{constructor(...e){super(...e),Object(n.a)(this,"name","SavedLayout")}}const d=1,p=2,u=3,b=[d,u]},function(e,t,o){"use strict";function n(){let e="Unknown OS";{const{appVersion:t}=navigator;-1!==t.indexOf("Win")&&(e="Windows"),-1!==t.indexOf("Mac")&&(e="MacOS"),-1!==t.indexOf("Linux")&&(e="Linux")}return e}o.d(t,"a",(function(){return n}))},,,function(e,t,o){"use strict";o.d(t,"a",(function(){return l}));var n=o(0),i=o.n(n),r=o(4),a=o.n(r);const l=({children:e,className:t,display:o="inline"})=>{const n=a()("brz-ed-option-wrapper","brz-ed-option__"+o,t);return i.a.createElement("div",{className:n},e)}},function(e,t,o){"use strict";o.d(t,"a",(function(){return h})),o.d(t,"e",(function(){return g})),o.d(t,"d",(function(){return f})),o.d(t,"g",(function(){return v})),o.d(t,"c",(function(){return y})),o.d(t,"b",(function(){return S})),o.d(t,"f",(function(){return O}));var n=o(11),i=o(31),r=o(2);function a(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function l(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?a(Object(o),!0).forEach((function(t){Object(r.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):a(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var s=o(177),c=o(215),d=o(146),p=o(216),u=o(217),b=o(184),m=o(28);const h=e=>t=>t(e),g=(e,t)=>Object(n.d)(t=>{return o=t,l(l({},e),{},{direction:o});var o},t);function f(e){switch(e){case i.a.Bounce:return Object.values(c.a).map(e=>[e,c.c(e)]);case i.a.Fade:case i.a.Fade2:return Object.values(d.a).map(e=>[e,d.c(e)]);case i.a.Rotate:return Object.values(p.a).map(e=>[e,p.c(e)]);case i.a.Slide:return Object.values(u.a).map(e=>[e,u.c(e)]);case i.a.Zoom:return Object.values(b.a).map(e=>[e,b.c(e)]);case i.a.Zoom2:return[b.a.none].map(e=>[e,b.c(e)]);case i.a.None:case i.a.Attention:case i.a.Attention2:return[]}}const v=(e,t)=>{switch(t.type){case i.a.Attention:return e.includes(i.a.Attention)?i.a.Attention:e.includes(i.a.Attention2)?i.a.Attention2:i.a.None;case i.a.Fade:return e.includes(i.a.Fade)?i.a.Fade:e.includes(i.a.Fade2)?i.a.Fade2:i.a.None;case i.a.Zoom:return e.includes(i.a.Zoom)?i.a.Zoom:e.includes(i.a.Zoom2)?i.a.Zoom2:i.a.None;case i.a.None:case i.a.Rotate:case i.a.Slide:case i.a.Bounce:return e.includes(t.type)?t.type:i.a.None}},y=e=>{switch(e){case i.a.Attention:return s.d;case i.a.Attention2:return[m.a.flash,m.a.pulse];case i.a.Slide:case i.a.Rotate:case i.a.None:case i.a.Fade:case i.a.Bounce:case i.a.Fade2:case i.a.Zoom2:case i.a.Zoom:return[]}},S=[i.a.Bounce,i.a.Fade,i.a.Rotate,i.a.Slide,i.a.Zoom,i.a.Attention],O=[i.a.Fade2,i.a.Zoom2,i.a.Attention2]},,,,function(e,t,o){"use strict";o.d(t,"d",(function(){return d})),o.d(t,"b",(function(){return p})),o.d(t,"a",(function(){return u})),o.d(t,"c",(function(){return b}));var n=o(71),i=o(8),r=o(19),a=o(25),l=o(79),s=o(11),c=o(102);const d=e=>t=>o=>t(Object(i.b)(e,o)),p=Object(r.or)(Object(r.mPipe)(Object(n.a)("speed"),a.b,l.c),()=>0),u=Object(r.or)(Object(r.mPipe)(Object(n.a)("level"),a.b,l.c),()=>0),b=Object(s.d)(d("viewport"),c.b)},function(e,t,o){"use strict";o.d(t,"o",(function(){return h})),o.d(t,"r",(function(){return g})),o.d(t,"n",(function(){return f})),o.d(t,"j",(function(){return v})),o.d(t,"C",(function(){return y})),o.d(t,"a",(function(){return S})),o.d(t,"q",(function(){return O})),o.d(t,"h",(function(){return x})),o.d(t,"A",(function(){return C})),o.d(t,"B",(function(){return B})),o.d(t,"k",(function(){return j})),o.d(t,"d",(function(){return P})),o.d(t,"b",(function(){return T})),o.d(t,"x",(function(){return w})),o.d(t,"y",(function(){return E})),o.d(t,"z",(function(){return z})),o.d(t,"f",(function(){return k})),o.d(t,"v",(function(){return F})),o.d(t,"w",(function(){return _})),o.d(t,"p",(function(){return R})),o.d(t,"l",(function(){return H})),o.d(t,"u",(function(){return L})),o.d(t,"g",(function(){return M})),o.d(t,"m",(function(){return I})),o.d(t,"c",(function(){return W})),o.d(t,"i",(function(){return N})),o.d(t,"e",(function(){return V})),o.d(t,"t",(function(){return A})),o.d(t,"s",(function(){return D}));o(256);var n=o(37),i=o(2),r=o(47),a=o.n(r),l=o(325),s=o.n(l),c=o(14),d=o(109);function p(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function u(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?p(Object(o),!0).forEach((function(t){Object(i.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):p(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const b=c.a.get("wp").api.url;function m(e,t){const{hash:o,url:n}=c.a.get("wp").api,i=c.a.get("editorVersion"),r=u(u({},t),{},{action:e,hash:o,version:i});return new s.a((e,t)=>a.a.post(n,r).done(e).fail(e=>t(e.responseText)))}function h(e){const{hash:t,url:o}=c.a.get("wp").api,i=c.a.get("editorVersion"),{data:r}=e,l=Object(n.a)(e,["data"]);return new s.a((e,n)=>{a.a.ajax(u(u({url:o},l),{},{data:"object"==typeof r&&null!==r?u(u({},r),{},{hash:t,version:i}):r,onbeforeunload:()=>"You have unsaved data.",failedAttempts:0,success(t){this.failedAttempts=0,window.onbeforeunload=null,e(t)},error(e){const{status:t,responseJSON:o}=e;0===t?(this.failedAttempts++,window.onbeforeunload=this.onbeforeunload,this.failedAttempts<=5&&setTimeout(()=>a.a.ajax(this),5e3*this.failedAttempts)):n(o)}}))})}function g(e,t={}){return fetch(e,t)}function f(e=650){return new s.a(t=>{setTimeout(()=>{t(!0)},e)})}function v(){const{getProject:e}=c.a.get("wp").api;return h({type:"POST",dataType:"json",data:{action:e}}).then(({data:e})=>e).then(d.e)}function y(e,t={}){const{setProject:o}=c.a.get("wp").api,{is_autosave:n=1}=t,{data:i,dataVersion:r}=Object(d.j)(e);return h({type:"POST",dataType:"json",data:{data:i,dataVersion:r,is_autosave:n,action:o}})}function S(){const{url:e,hash:t,lockProject:o}=c.a.get("wp").api,n=c.a.get("editorVersion");return g(e,{method:"POST",body:new URLSearchParams({version:n,hash:t,action:o})}).then(e=>e.json()).then(e=>{if(e.success)return e.data;throw e})}function O(){const{removeLock:e}=c.a.get("wp").api,t=c.a.get("editorVersion"),o=new URL(b);return o.searchParams.append("action",e),o.searchParams.append("version",t),navigator.sendBeacon(""+o)}function x(e){return function(){const e=c.a.get("wp").api;return h({type:"POST",dataType:"json",data:{id:c.a.get("wp").page,action:e.getPage}}).then(({data:e})=>e.map(d.d))}().then(t=>t.find(t=>t.id===e))}function C(e,t={}){const{updatePage:o}=c.a.get("wp").api,{is_autosave:n=1}=t;return h({type:"POST",dataType:"json",data:u(u({action:o},Object(d.i)(e)),{},{is_autosave:n})})}function B(e){const{api:{updateRules:t,hash:o,url:n},page:i}=c.a.get("wp"),{rules:r,dataVersion:a}=e;return g(`${n}?action=${t}&hash=${o}&post=${i}&version=${c.a.get("editorVersion")}&dataVersion=${a}`,{method:"POST",credentials:"same-origin",headers:{"Content-Type":"application/json"},body:JSON.stringify(r)})}function j(){const{api:{getRuleList:e,hash:t,url:o},page:n}=c.a.get("wp"),i=c.a.get("editorVersion");return g(o,{method:"POST",body:new URLSearchParams({action:e,post:n,version:i,hash:t})}).then(e=>e.json()).then(({data:e})=>e)}function P(){const{getGlobalBlockList:e}=c.a.get("wp").api;return h({type:"POST",dataType:"json",data:{action:e}}).then(({data:e})=>e.map(d.b).reduce((e,{uid:t,data:o,status:n,rules:i,position:r,meta:a})=>(e[t]={data:o,status:n,meta:a,rules:i,position:r,id:t},e),{}))}function T(e){const{createGlobalBlock:t}=c.a.get("wp").api,o=e.data.value._id,{data:n,rules:i,meta:r}=Object(d.h)(e);return h({type:"POST",dataType:"json",data:{uid:o,status:"draft",data:n,rules:i,meta:r,media:Object(d.a)(e),action:t}})}function w(e,t,o={}){const{updateGlobalBlock:n}=c.a.get("wp").api,{is_autosave:i=1}=o,{data:r,rules:a,meta:l,status:s}=Object(d.h)(t);return h({type:"POST",dataType:"json",data:{uid:e,status:s,data:r,rules:a,is_autosave:i,meta:l,action:n}})}function E(e,t={}){const{updateGlobalBlocks:o}=c.a.get("wp").api,{is_autosave:n=1}=t,i=Object.entries(e).reduce((e,[t,o])=>{const{data:n,position:i,rules:r,meta:a,status:l}=Object(d.h)(o);return e.uid.push(t),e.status.push(l),e.data.push(null!=n?n:""),e.position.push(JSON.stringify(i)),e.rules.push(r),e.meta.push(a),e},{uid:[],status:[],data:[],position:[],rules:[],meta:[]});return h({type:"POST",dataType:"json",data:{uid:i.uid,status:i.status,data:i.data,position:i.position,rules:i.rules,is_autosave:n,meta:i.meta,action:o}})}function z(e,t={}){const{updateBlockPositions:o,hash:n,url:i}=c.a.get("wp").api,r=c.a.get("editorVersion"),{is_autosave:a=1}=t;return h({type:"POST",url:`${i}?action=${o}&hash=${n}&is_autosave=${a}&version=${r}`,dataType:"json",contentType:"application/json",data:JSON.stringify(e)})}function k(e){const{api:t,page:o}=c.a.get("wp"),n={post_id:o,attachment_id:e};return m(t.getMediaUid,n).then(({data:e})=>e)}function F(e,t){return m(c.a.get("wp").api.setFeaturedImage,{post:e,attachmentId:t})}function _(e,t,o,n){return m(c.a.get("wp").api.setFeaturedImageFocalPoint,{post:e,attachmentId:t,pointX:o,pointY:n})}function R(e){return m(c.a.get("wp").api.removeFeaturedImage,{post:e})}function H(){return m(c.a.get("wp").api.getSidebars,{}).then(({data:e})=>e)}function L(e){return m(c.a.get("wp").api.shortcodeContent,{shortcode:e}).then(({data:e})=>e)}function M(){return m(c.a.get("wp").api.getMenus,{}).then(({data:e})=>e)}function I(){return m(c.a.get("wp").api.getFonts,{}).then(({data:e})=>e)}function W(e){const t={attachment_id:e};return m(c.a.get("wp").api.getAttachmentUid,t).then(({data:e})=>e)}function N(e){return m(c.a.get("wp").api.getPostObjects,{postType:e}).then(({data:e})=>e)}function V(){return m(c.a.get("wp").api.getRuleGroupList,{context:"popup-rules"}).then(({data:e})=>e)}function A(){const{url:e,hash:t,heartBeat:o}=c.a.get("wp").api,n=c.a.get("editorVersion");return g(e,{method:"POST",body:new URLSearchParams({action:o,version:n,hash:t})}).then(e=>e.json()).then(e=>{if(e.success)return e.data;throw e})}function D(){const{url:e,hash:t,takeOver:o}=c.a.get("wp").api,n=c.a.get("editorVersion");return g(e,{method:"POST",body:new URLSearchParams({action:o,version:n,hash:t})}).then(e=>e.json()).then(e=>{if(e.success)return e.data;throw e})}},function(e,t,o){"use strict";var n=o(2),i=o(0),r=o.n(i),a=o(7),l=o.n(a),s=o(236);class c extends r.a.Component{render(){const{data:e,className:t,optionClassName:o,toolbar:n,location:i,wrapOptions:a}=this.props,l=e.map((e,t)=>r.a.createElement(s.a,{key:e.id||t,className:o,toolbar:n,data:e,location:i}));return a?r.a.createElement("div",{className:t},l):l}}Object(n.a)(c,"propTypes",{wrapOptions:l.a.bool}),Object(n.a)(c,"defaultProps",{className:"",optionClassName:"",location:"",data:null,toolbar:null,wrapOptions:!0}),t.a=c},function(e,t,o){"use strict";o.d(t,"c",(function(){return b})),o.d(t,"a",(function(){return m})),o.d(t,"d",(function(){return h})),o.d(t,"e",(function(){return g})),o.d(t,"b",(function(){return f})),o.d(t,"i",(function(){return S})),o.d(t,"j",(function(){return O})),o.d(t,"h",(function(){return x})),o.d(t,"g",(function(){return C})),o.d(t,"f",(function(){return B}));var n=o(2),i=o(14),r=o(29),a=o(17),l=o(158),s=o(16),c=o(33),d=o(81);function p(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function u(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?p(Object(o),!0).forEach((function(t){Object(n.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):p(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const b=1,m=2,h=16,g="brizy_template",f="customer";function v(e,t){var o;if(!e.length&&null!==(o=t[""])&&void 0!==o&&o.after)return t[""].after;e.length&&t[""]&&(t[e[0].globalBlockId]=t[""],delete t[""]);return e.reduce((e,o)=>{var n,i;const r=o.globalBlockId;return null!==(n=t[r])&&void 0!==n&&n.before&&e.push(...t[r].before),e.push(o),null!==(i=t[r])&&void 0!==i&&i.after&&e.push(...t[r].after),e},[])}function y(e,t,o){const n=[...t];return e.reduce((e,i)=>{if(t.includes(i.globalBlockId)){const t=n.shift();t&&e.push({globalBlockId:t,align:o.includes(t)?"top":"bottom"})}else e.push(i);return e},[])}function S(e,t){const o=Object.entries(t).reduce((e,[t,o])=>(o.position&&(e[t]=o.position),e),{}),n=function(e){const{top:t,bottom:o}=Object.entries(e).reduce((e,[t,o])=>(e.top.push(u(u({},o),{},{globalBlockId:t,align:o.align||"top"})),e.bottom.push(u(u({},o),{},{globalBlockId:t,align:o.align||"top"})),e),{top:[],bottom:[]});return{top:n(t,"top"),bottom:n(o,"bottom")};function n(e,t){return e.sort((e,o)=>e[t]-o[t]).map(({globalBlockId:e,align:t})=>({globalBlockId:e,align:t}))}}(o),{top:i}=O(e,t),r=function(e,t){return e.filter(e=>t[e])}(e,t),a=r.filter(e=>o[e]),l=function(e,t,o){const n={};let i=[],r="";return e.forEach((e,a,l)=>{const s=t.includes(e);s&&(n[e]=u(u({},n[e]),{},{before:i}),r=e,i=[]),s||i.push({globalBlockId:e,align:o.includes(e)?"top":"bottom"}),a===l.length-1&&i.length&&(n[r]=u(u({},n[r]),{},{after:i}))}),n}(r,a,i);return function(e,t){const o={};return n(e,"top",o),n(t,"bottom",o),o;function n(e,t,o){return e.reduce((e,{globalBlockId:o,align:n},i)=>(e[o]=u(u({},e[o]),{},{align:n,[t]:i}),e),o)}}(v(y(n.top,a,i),l),v(y(n.bottom,a,i),l))}const O=(e,t)=>{const o=Object.keys(t),n={top:[],bottom:[]};if(e.length>0){if(e.every(e=>o.includes(e)))e.forEach(e=>{const o=t[e];if(null!=o&&o.position&&o.position.align){const{position:t}=o;n[t.align].push(e)}});else{let t=0;for(;t<=e.length-1;){const i=e[t];if(!o.includes(i))break;n.top.push(i),t++}for(t=0;t<=e.length-1;){const i=e[e.length-1-t];if(!o.includes(i))break;n.bottom.push(i),t++}}}return n};const x=(e=Object(a.F)(Object(r.b)().getState()))=>{const t=i.a.getAll();let o=b,n="page";if(Object(c.d)(e)&&(n=e.collectionType.id),Object(c.b)(t)&&Object(c.a)(t)&&Object(c.e)(t)&&(n=f),Object(d.a)(t))if(s.e)o=h,n=g;else{var l;const{ruleMatches:e}=t.wp,i=null!==(l=e[0])&&void 0!==l?l:{group:b,entityType:"page"};o=i.group,n=i.entityType}return{group:o,type:n,id:e.id}},C=(e,t,o)=>{const n=e[t-1],i=e[t+1],{top:r,bottom:a}=((e,t)=>{const o={top:[],bottom:[]};if(e.length>0){let n=0;for(;n<=e.length-1;){const i=e[n];if(!t.includes(i))break;o.top.push(i),n++}for(n=0;n<=e.length-1;){const i=e[e.length-1-n];if(!t.includes(i))break;o.bottom.push(i),n++}}return o})(e,o);let l="center";return!n||o.includes(n)&&r.includes(n)?l="top":(!i||o.includes(i)&&a.includes(i))&&(l="bottom"),l},B=(e,t,o)=>{const n=x(o),{level2:i,level3:r}=Object(l.d)(e.rules,o);let a=u(u({},e),{},{rules:e.rules.filter(({entityValues:e})=>!e.some(e=>String(e)===String(n.id)))}),c=!0;if(!s.e){const e=i&&Object(l.c)(i),o=r&&Object(l.c)(r),n=e||o,a=!t&&!n;(t&&n||a)&&(c=!1)}return c&&(a=u(u({},a),{},{rules:[...a.rules,{type:t?1:2,appliedFor:n.group,entityType:n.type,entityValues:[n.id]}]})),a}},,function(e,t,o){"use strict";o.d(t,"c",(function(){return c})),o.d(t,"a",(function(){return p})),o.d(t,"b",(function(){return u})),o.d(t,"e",(function(){return b})),o.d(t,"g",(function(){return m})),o.d(t,"f",(function(){return h})),o.d(t,"h",(function(){return g})),o.d(t,"d",(function(){return f}));var n=o(2),i=o(57),r=o(49),a=o(8);function l(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function s(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?l(Object(o),!0).forEach((function(t){Object(n.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):l(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const c=e=>e.endsWith("Population"),d=e=>Object(a.a)([e,"population"]),p=e=>e.slice(0,-10),u=(e,t)=>!!i.a(e[d(t)]),b=(e,t)=>{var o;const n=e[t],l=null!==(o=i.a(e[d(t)]))&&void 0!==o?o:"",s=e[(e=>Object(a.a)([e,"populationFallback2"]))(t)],c=r.c(e[(e=>Object(a.a)([e,"populationAttr"]))(t)]);return{key:t,hasDC:""!==l,staticValue:n,dcValue:l,attr:c?Object.fromEntries(Object.entries(c).map(([t,o])=>[t,e[o]])):{},fallback:s}};function m(e){const t=/^{{\s*([\w-]+)(.*?)\s*}}$/.exec(e);if(!t)return;const[,o,n]=t;if(""===n)return{name:o};const i=/(\w+)=("|'|&quot;|&apos;)(.*?)\2/g;let r,a=void 0;for(;r=i.exec(n.trim());){var l;a=null!==(l=a)&&void 0!==l?l:{},a[r[1]]=r[3]}return a?{name:o,attr:a}:{name:o}}function h(e){if(!e.hasDC)return;const t=m(e.dcValue);return t?((e.fallback||e.attr)&&(t.attr=s(s(s({},t.attr),e.attr),e.fallback?{_fallback:e.fallback}:{})),t):void 0}function g(e){const{name:t,attr:o}=e,n=o?Object.keys(o).sort().flatMap(e=>{const t=i.a(o[e]);return void 0!==t?`${e}='${t}'`:[]}).join(" "):"";return n.length>0?`{{${t} ${n}}}`:`{{${t}}}`}function f(e){return void 0!==m(e)}},function(e,t,o){"use strict";o.d(t,"e",(function(){return n})),o.d(t,"f",(function(){return i})),o.d(t,"b",(function(){return u})),o.d(t,"d",(function(){return b})),o.d(t,"a",(function(){return m})),o.d(t,"c",(function(){return g}));const n=(e,t)=>{for(let o in e){if(!e.hasOwnProperty(o))continue;e[o]&&"object"==typeof e[o]&&n(e[o],t);const i=t[e.type]||t.Component;"function"==typeof i&&e.type&&e.value&&i(e)}},i=(e,t)=>{for(let o in e)e.hasOwnProperty(o)&&"function"==typeof t[o]&&t[o](e[o])};var r=o(2),a=o(40),l=o(124),s=o(263),c=o(144);function d(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function p(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?d(Object(o),!0).forEach((function(t){Object(r.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):d(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const u=({models:e={},globalBlocks:t={}})=>{const o=new Set;return n(e,{Component({type:e,value:t}){const n=Object(l.a)(e).style||{};p(p({},n),t).fontStyle||Object.entries(n.families||{}).forEach(e=>{const[i,r]=e,a={type:t[i+"Type"]||n[i+"Type"],family:t[i]||r};a.type&&a.family&&o.add(Object(l.b)(a))})},RichText({type:e,value:t}){const n=Object(l.a)(e).content||{},i=t.text||n.text;Object(s.b)(i,e=>{const t=Object(c.b)(e),{typographyFontFamily:n,typographyFontFamilyType:i}=t;n&&(i?o.add(Object(l.b)({type:i,family:n})):o.add(Object(l.b)({family:n,type:"unknowns"})))})},GlobalBlock({value:{_id:e}}){const n=t[e];if(n){u({models:n,globalBlocks:t}).forEach(e=>{o.add(Object(l.b)(e))})}}}),[...o].map(l.c)},b=e=>{const t=new Set;return e.forEach(e=>{i(e,{fontFamily(o){t.add(Object(l.b)({type:e.fontFamilyType,family:o}))}})}),[...t].map(l.c)},m=(e,t)=>{const o=e.reduce((e,t)=>e.some(({family:e})=>e===t.family)?e:[...e,t],[]),n=Object(a.v)(t);return o.reduce((e,t)=>{const{type:o,family:i}=t;return"unknowns"===o?Object.entries(n).find(([e,t])=>Object(a.a)(t,i,e))?e:[...e,t]:Object(a.a)(n[o],i,o)?e:[...e,t]},[])};var h=o(8);const g=({models:e,globalBlocks:t})=>{const o=new Set;return n(e,{Component({type:e,value:t}){const n=Object(l.a)(e).link||{},i=t.linkType||n.linkType,r=t.linkUpload||n.linkUpload;"upload"===i&&r&&o.add(r)},RichText({type:e,value:t}){const n=Object(l.a)(e).content||{},i=/href="(.+?)"/g,r=t.text||n.text;let a;for(;a=i.exec(r);)try{const[e,t]=a,{type:n,upload:i}=Object(h.d)(t);"upload"===n&&i&&o.add(i)}catch(e){0}},Lottie({type:e,value:t}){const n=Object(l.a)(e).content||{},i=Object(l.a)(e).link||{},r=t.animationFile||n.animationFile,a=t.linkType||i.linkType,s=t.linkUpload||i.linkUpload;"upload"===a&&s&&o.add(s),r&&o.add(r)},Video({type:e,value:t}){const n=Object(l.a)(e).content||{},i=t.custom||n.custom;"custom"===(t.type||n.type)&&i&&o.add(i)},Audio({type:e,value:t}){const n=Object(l.a)(e).content||{},i=t.audio||n.audio;i&&o.add(i)},GlobalBlock({value:{_id:e}}){const n=t&&t[e];n&&g({models:n}).forEach(e=>{o.add(e)})}}),[...o]}},function(e,t,o){"use strict";o.d(t,"a",(function(){return h}));var n=o(2),i=o(0),r=o.n(i),a=o(42),l=o.n(a),s=o(4),c=o.n(s),d=o(6);class p extends i.Component{constructor(...e){super(...e),Object(n.a)(this,"content",r.a.createRef()),Object(n.a)(this,"updateDOM",()=>{setTimeout(()=>{if(this.unmounted)return;const e=this.content.current;e&&this.props.onUpdateDOM(this.math,e)},0)})}componentDidMount(){this.updateDOM()}componentDidUpdate(){this.updateDOM()}componentWillUnmount(){this.unmounted=!0}math(e,t,o,n,i){const r=Math.max(o,e),a=r-e,l=e/r*i,s=i-l;return{client:e,offset:t,position:n,track:i,overflow:a,thumb:l,piece:s,shift:0===a?0:n/a*s,scroll:r}}render(){return r.a.createElement("div",{ref:this.content,className:this.props.className,style:this.props.style,onScroll:this.updateDOM},this.props.children)}}p.defaultProps={onUpdateDOM:d.default.noop};var u=o(47),b=o.n(u);class m extends i.Component{constructor(e){super(e),this.state={startTop:!1,startLeft:!1},this.handleMouseDown=this.handleMouseDown.bind(this),this.handleMouseMove=this.handleMouseMove.bind(this),this.handleMouseUp=this.handleMouseUp.bind(this)}componentDidMount(){const e=l.a.findDOMNode(this);this.document=b()(e.style?e.ownerDocument:e.document||e),this.window=b()(this.document[0].defaultView||this.document[0].parentWindow)}handleMouseDown(e,t,o){if(b()(o.target).hasClass("brz-ed-sidebar-block-remove"))return e(o),void t(o);e(o),this.window.on("mousemove",this.handleMouseMove),this.window.on("mouseup",this.handleMouseUp),this.setState({startLeft:o.clientX,startTop:o.clientY}),this.props.onDragStart(this),t(o)}handleMouseMove(e){var t={top:e.clientY-this.state.startTop,left:e.clientX-this.state.startLeft};this.props.onDragMove(t,this),e.preventDefault()}handleMouseUp(){this.window.off("mousemove",this.handleMouseMove),this.window.off("mouseup",this.handleMouseUp),this.props.onDragEnd(this)}render(){const e=r.a.Children.only(this.props.children);return r.a.cloneElement(e,{onMouseDown:t=>{this.handleMouseDown(e.props.onMouseDown||d.default.noop,this.props.onMouseDown||d.default.noop,t)}})}}m.defaultProps={currentWindow:{},onDragEnd:d.default.noop,onDragStart:d.default.noop,onDragMove:d.default.noop};class h extends i.Component{constructor(e){super(e),Object(n.a)(this,"captureStart",()=>{this._start=!1}),Object(n.a)(this,"handleChange",({left:e=null,top:t=null})=>{const o=l.a.findDOMNode(this.scrollable);this.props.onChange({left:e||o.scrollLeft,top:t||o.scrollTop})}),Object(n.a)(this,"handleMouseDown",e=>{const t=l.a.findDOMNode(this.wideTrack),o=t.getBoundingClientRect(),n=(e.clientX-o.left-this._wide.thumb/2)/this._wide.piece*this._wide.overflow;e.target===t&&(l.a.findDOMNode(this.scrollable).scrollLeft=n)}),Object(n.a)(this,"handleMouseDown2",e=>{const t=l.a.findDOMNode(this.tallTrack),o=t.getBoundingClientRect(),n=(e.clientY-o.top-this._tall.thumb/2)/this._tall.piece*this._tall.overflow;e.target===t&&(l.a.findDOMNode(this.scrollable).scrollTop=n,this.handleChange({top:n}))}),Object(n.a)(this,"handleMove",e=>{!1===this._start&&(this._start=parseInt(this.wideThumb.style.left));const t=(e.left+this._start)/this._wide.piece*this._wide.overflow;l.a.findDOMNode(this.scrollable).scrollLeft=t,this.handleChange({left:t})}),Object(n.a)(this,"handleMove2",e=>{!1===this._start&&(this._start=parseInt(this.tallThumb.style.top));const t=(e.top+this._start)/this._tall.piece*this._tall.overflow;l.a.findDOMNode(this.scrollable).scrollTop=t,this.handleChange({top:Math.min(this._tall.overflow,Math.max(0,t))})}),Object(n.a)(this,"handleResize",()=>{this.forceUpdate()}),Object(n.a)(this,"handleUpdateDOM",(e,t)=>{let o,n,i=l.a.findDOMNode(this.wideTrack),r=this.wideThumb,a=l.a.findDOMNode(this.tallTrack),s=this.tallThumb,c={overflow:Math.max(0,t.scrollWidth-t.clientWidth)},d={overflow:Math.max(t.scrollHeight-t.clientHeight)};i.style.position="absolute",a.style.position="absolute",r.style.position="relative",s.style.position="relative",i.style.display="block",o=i.offsetHeight,a.style.display="block",n=a.offsetWidth,t.style.overflow="hidden",t.style.borderBottomWidth=o+"px",t.style.borderBottomStyle=c.overflow?"solid":"none",t.style.borderRightWidth=n+"px",t.style.borderRightStyle=d.overflow?"solid":"none",c.overflow=Math.max(0,t.scrollWidth-t.clientWidth),d.overflow=Math.max(0,t.scrollHeight-t.clientHeight),i.style.display=c.overflow?"block":"none",i.style.width=t.clientWidth+"px",i.style.left=0,i.style.top=t.offsetHeight-o+"px",a.style.display=d.overflow?"block":"none",a.style.height=t.clientHeight+"px",a.style.top=0,this._wide=c=e(t.clientWidth,t.offsetWidth,t.scrollWidth,t.scrollLeft,i.clientWidth),this._tall=d=e(t.clientHeight,t.offsetHeight,t.scrollHeight,t.scrollTop,a.clientHeight),r.style.left=c.shift+"px",r.style.width=c.thumb+"px",s.style.top=d.shift+"px",s.style.height=d.thumb+"px"}),Object(n.a)(this,"handleWheel",e=>{e.stopPropagation();let t=l.a.findDOMNode(this.scrollable);const o=t.scrollTop,n=t.scrollLeft,i=navigator.userAgent.toLowerCase();let r=1;/firefox/.test(i)&&(r=20),/chrome/.test(i)&&(r=.8),this.props.onlyWide?t.scrollLeft=n+(e.deltaX?e.deltaX:e.deltaY*r):(e.preventDefault(),t.scrollTop=o+e.deltaY*r,t.scrollLeft=n+e.deltaX),(t.scrollTop!=o||t.scrollLeft!=n||this.props.onlyWide)&&e.preventDefault(),this.handleChange({left:t.scrollLeft,top:t.scrollTop})}),this.handleRef=r.a.createRef(),this._start=0,this._wide={},this._tall={}}componentDidMount(){this.handleRef.current.addEventListener("wheel",this.handleWheel,{passive:!1}),window.addEventListener("resize",this.handleResize,{passive:!0})}componentWillUnmount(){window.removeEventListener("resize",this.handleResize),this.handleRef.current.removeEventListener("wheel",this.handleWheel)}handleSetPositionWide(e){this.handleMove({top:0,left:e})}render(){const e=c()("brz-ed-scroll-pane",this.props.className);return r.a.createElement("div",{ref:this.handleRef,className:e,style:{position:"relative",width:this.props.style.width,height:this.props.style.height}},r.a.createElement(p,{ref:e=>{this.scrollable=e},className:"brz-ed-scroll-inner",style:this.props.style,onUpdateDOM:this.handleUpdateDOM},this.props.children),r.a.createElement(m,{ref:e=>{this.wideTrack=e},onDragStart:this.captureStart,onDragMove:this.handleMove},r.a.createElement("div",{className:"brz-ed-wide-track",onMouseDown:this.handleMouseDown},r.a.createElement("div",{ref:e=>{this.wideThumb=e},className:"brz-ed-wide-thumb"}))),r.a.createElement(m,{ref:e=>{this.tallTrack=e},onDragStart:this.captureStart,onDragMove:this.handleMove2},r.a.createElement("div",{className:"brz-ed-tall-track",onMouseDown:this.handleMouseDown2},r.a.createElement("div",{ref:e=>{this.tallThumb=e},className:"brz-ed-tall-thumb"}))))}}Object(n.a)(h,"defaultProps",{className:"",style:{},window:null,onlyWide:!1,wrapScrollable:e=>e,onChange:()=>{}})},function(e,t,o){"use strict";o.d(t,"d",(function(){return p})),o.d(t,"a",(function(){return u})),o.d(t,"b",(function(){return b})),o.d(t,"c",(function(){return m}));var n,i=o(2),r=o(79),a=o(71),l=o(11),s=o(25),c=o(19);function d(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}!function(e){e.type="viewport"}(n||(n={}));const p=(e,t)=>({type:n.type,bottom:t,top:e}),u=(e,t)=>t>=e?p(e,t):void 0,b=Object(c.parseStrict)({type:()=>n.type,bottom:Object(c.or)(Object(l.b)(Object(a.a)("bottom"),s.b,r.c),()=>1),top:Object(c.or)(Object(l.b)(Object(a.a)("top"),s.b,r.c),()=>0)}),m=e=>function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?d(Object(o),!0).forEach((function(t){Object(i.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):d(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({},e)},function(e,t,o){"use strict";o.d(t,"a",(function(){return b})),o.d(t,"e",(function(){return m})),o.d(t,"f",(function(){return h})),o.d(t,"c",(function(){return g})),o.d(t,"b",(function(){return f})),o.d(t,"d",(function(){return v}));var n=o(2),i=o(26),r=o(6),a=o(246),l=o(49),s=o(8),c=(o(30),o(23));c.a.eq;var d=o(36);function p(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function u(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?p(Object(o),!0).forEach((function(t){Object(n.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):p(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const b=(e,t)=>{const o=t.startsWith("temp")?"temp":"",n=o.length?t.substr(4):t,i="value"===n||"Value"===n?"":n;return Object(s.a)([o,e,i])},m=e=>String(e).endsWith("-dev"),h=e=>{var t,o,n,i,r,a,l,s,c,d,p;const b=null===(t=e.allowExtend)||void 0===t||t,m=null!==(o=e.allowExtendFromParent)&&void 0!==o?o:b,h=null!==(n=e.allowExtendFromChild)&&void 0!==n?n:b,g=null!==(i=e.allowExtendFromThirdParty)&&void 0!==i?i:b,f=null!==(r=e.allowSidebarExtend)&&void 0!==r?r:b,v=null!==(a=null!==(l=e.allowSidebarExtendFromParent)&&void 0!==l?l:e.allowSidebarExtend)&&void 0!==a?a:m,y=null!==(s=null!==(c=e.allowSidebarExtendFromChild)&&void 0!==c?c:e.allowSidebarExtend)&&void 0!==s?s:h,S=null!==(d=null!==(p=e.allowSidebarExtendFromThirdParty)&&void 0!==p?p:e.allowSidebarExtend)&&void 0!==d?d:g;return u(u({},e),{},{allowExtend:b,allowExtendFromParent:m,allowExtendFromChild:h,allowExtendFromThirdParty:g,allowSidebarExtend:f,allowSidebarExtendFromParent:v,allowSidebarExtendFromChild:y,allowSidebarExtendFromThirdParty:S})},g=(e=>{const t=e.reduce((e,t)=>(e[t]=!0,e),{});return function e(o){const n={};for(const[i,r]of Object.entries(o))t[i]&&l.b(r)?Object.assign(n,e(r)):n[i]=r;return n}})(["animation","content","families","images","link","style","styles","symbols","toolbar"]),f=(e,t)=>o=>{const{type:n,disabled:i,devices:r,roles:a}=o;if(!n)return!1;if(!0===i)return!1;if(r&&"all"!==r){if("desktop"===r&&"desktop"!==e)return!1;if("responsive"===r&&"desktop"===e)return!1}return!(Array.isArray(a)&&!a.includes(t))},v=(e,t)=>{const o=Object.values(a.a).flat().filter(e=>e.pro).map(e=>{var t;return{title:e.component.title,type:null!==(t=Object(i.getIn)(e.component.resolve,["value","items",0,"type"]))&&void 0!==t?t:""}}).filter(e=>"Image"!==e.type||Array.isArray(t._styles)&&Object(r.intersection)(t._styles,["image--dynamic"]).length>0).find(t=>t.type===e);if(void 0!==o&&!d.g)return o.title}},function(e,t,o){"use strict";o.d(t,"a",(function(){return r}));var n=o(0),i=o(42);function r({className:e,node:t,children:o}){const r=Object(n.useRef)(null);if(null===r.current||r.current.parentElement!==t){const o=t.ownerDocument.createElement("div");e&&(o.className=e),t.appendChild(o),r.current=o}return Object(n.useEffect)(()=>()=>{r.current&&t.removeChild(r.current)},[t]),Object(n.useEffect)(()=>{r.current&&(e?r.current.className=e:r.current.removeAttribute("class"))},[e]),r.current?Object(i.createPortal)(o,r.current):null}},function(e,t,o){"use strict";o.d(t,"a",(function(){return r}));var n=o(0),i=o.n(n);function r({children:e}){return i.a.createElement(i.a.Fragment,null,e)}},function(e,t,o){"use strict";o.d(t,"c",(function(){return n.a})),o.d(t,"d",(function(){return i})),o.d(t,"b",(function(){return r})),o.d(t,"e",(function(){return a})),o.d(t,"a",(function(){return l}));var n=o(294);function i(e){return e.split("&").reduce((e,t)=>{const[o,n]=t.split("=");return e[o]=n,e},{})}function r(e){return/^(https?:)?\/\//.test(e)}const a=e=>e.includes("?"),l=(e,t)=>{var o;if(e&&t)return null===(o=i(e.split("?")[1]))||void 0===o?void 0:o[t]}},function(e,t,o){"use strict";o.d(t,"b",(function(){return p.a})),o.d(t,"a",(function(){return b})),o.d(t,"c",(function(){return g}));var n=o(2),i=o(0),r=o.n(i),a=o(6),l=o(7),s=o.n(l),c=o(4),d=o.n(c),p=o(300),u=o(15);const b=({active:e})=>r.a.createElement("div",{className:"brz-control__check-group-option-icon"},r.a.createElement(u.b,{icon:e?"nc-check-square-on":"nc-check-square-off"}));function m(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function h(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?m(Object(o),!0).forEach((function(t){Object(n.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):m(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}class g extends r.a.Component{constructor(...e){super(...e),Object(n.a)(this,"handleChange",e=>{const{defaultValue:t,onChange:o}=this.props;o(h(h({},t),{},{[e]:!t[e]}))})}renderOptions(){const{defaultValue:e,children:t}=this.props;return r.a.Children.map(t,(t,o)=>r.a.cloneElement(t,h(h({},t.props),{},{key:o,active:Boolean(e[t.props.value]),onClick:t.props.disabled?null:()=>this.handleChange(t.props.value)})))}render(){const e=d()("brz-control__check-group",this.props.className);return r.a.createElement("div",{className:e},this.renderOptions())}}Object(n.a)(g,"propTypes",{name:s.a.string,className:s.a.string,defaultValue:s.a.object,onChange:s.a.func}),Object(n.a)(g,"defaultProps",{name:"defaultName",className:"",defaultValue:{},onChange:a.default.noop})},function(e,t,o){"use strict";let n;o.d(t,"a",(function(){return n})),function(e){e.pending="pending",e.changed="changed",e.unchanged="unchanged"}(n||(n={}))},function(e,t,o){"use strict";o.d(t,"e",(function(){return c})),o.d(t,"j",(function(){return d})),o.d(t,"b",(function(){return p})),o.d(t,"h",(function(){return u})),o.d(t,"f",(function(){return T})),o.d(t,"g",(function(){return w})),o.d(t,"k",(function(){return E})),o.d(t,"c",(function(){return z})),o.d(t,"a",(function(){return k})),o.d(t,"d",(function(){return F})),o.d(t,"i",(function(){return _}));var n=o(2),i=o(52),r=o(36),a=o(85);function l(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function s(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?l(Object(o),!0).forEach((function(t){Object(n.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):l(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const c=e=>{let t;if(!e.data)throw new a.h("Project data should exist");try{t=JSON.parse(e.data)}catch(t){throw new a.h("Failed to parse project data "+e.data)}return s(s({},e),{},{data:t})},d=e=>{let t=JSON.stringify(e.data);return s(s({},e),{},{data:t})},p=e=>{let t,o,n,i,l;if(!e.data)throw new a.b("globalBlock data should exist");try{t=JSON.parse(e.data)}catch(t){throw new a.b("Failed to parse globalBlock data "+e.data)}if(e.meta)try{o=JSON.parse(e.meta)}catch(e){o={}}else o={};if(e.rules)try{n=r.l?e.rules:JSON.parse(e.rules)}catch(e){throw new a.b("globalBlock rules are wrong")}else n=[];if(e.position)try{i=r.l?e.position:JSON.parse(e.position)}catch(e){throw new a.b("globalBlock position are wrong")}else i={};return l=e.status?e.status:"publish",s(s({},e),{},{data:t,meta:o,position:i,status:l,rules:n})},u=e=>{const t=JSON.stringify(e.data),o=JSON.stringify(e.meta),n=JSON.stringify(e.rules);return s(s({},e),{},{data:t,meta:o,rules:n})};var b=o(100),m=o(124);const h=({models:e,globalBlocks:t})=>{const o=new Set;return Object(b.e)(e,{Component({type:e,value:t}){const n=Object(m.a)(e).content||{};Object.entries(n.images||{}).forEach(([e,n])=>{const i=t[e]||n;i&&o.add(i)})},GlobalBlock({value:{_id:e}}){const n=t&&t[e];n&&h({models:n}).forEach(e=>{o.add(e)})}}),[...o]};var g=o(117),f=o(77),v=o(57),y=o(75),S=o(49),O=o(162),x=o(136),C=o(20),B=o(19);function j(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function P(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?j(Object(o),!0).forEach((function(t){Object(n.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):j(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const T=e=>{let t,o;if(!e.data)throw new a.i("savedBlock data should exist");try{t=JSON.parse(e.data)}catch(t){throw new a.i("Failed to parse savedBlock data "+e.data)}if(e.meta)try{o=JSON.parse(e.meta)}catch(e){o={}}else o={};return P(P({},e),{},{data:t,meta:o})},w=e=>{let t,o;if(!e.data)throw new a.j("savedLayout data should exist");try{t=JSON.parse(e.data)}catch(t){throw new a.j("Failed to parse savedLayout data "+e.data)}if(e.meta)try{o=JSON.parse(e.meta)}catch(e){o={}}else o={};return P(P({},e),{},{data:t,meta:o})},E=e=>{const t=JSON.stringify(e.data),o=JSON.stringify(e.meta);return P(P({},e),{},{data:t,meta:o})},z=e=>{let t;if(e.meta)try{t=JSON.parse(e.meta)}catch(e){t={}}else t={};return P(P({},e),{},{meta:t})},k=e=>{const{data:t,meta:o}=e,{extraFontStyles:n}=o,i=Object(b.b)({models:t}),r=h({models:t}),a=Object(b.d)(n),l=Object(b.c)({models:t}),s=new Set;return[...i,...a].forEach(({family:e,type:t})=>{"upload"===t&&s.add(e)}),JSON.stringify({images:r,uploads:l,fonts:[...s]})},F=e=>{const t=Object(f.a)(S.c,Object(i.d)({_kind:()=>"wp",id:Object(f.a)(S.d("id"),v.a),data:Object(g.a)(S.d("data"),x.a,S.c,Object(C.g)({items:[]})),dataVersion:Object(g.a)(S.d("dataVersion"),y.a,Object(C.g)(0)),slug:Object(g.a)(S.d("slug"),v.a,Object(C.g)("")),title:Object(g.a)(S.d("title"),v.a,Object(C.g)("")),status:Object(g.a)(S.d("status"),O.a(["draft","publish"]),Object(C.g)("draft")),is_index:Object(g.a)(S.d("is_index"),O.a([!0,!1]),Object(C.g)(!1)),template:Object(g.a)(S.d("template"),v.a,Object(C.g)("")),url:Object(g.a)(S.d("url"),v.a,Object(C.g)(""))}))(e);if(void 0===t)throw new a.g("Failed to parse page");return t};function _(e){return P(P({},e),{},{data:JSON.stringify(e.data)})}Object(B.parse)({id:Object(f.a)(Object(S.d)("id"),v.a),title:Object(f.a)(Object(S.d)("title"),v.a,Object(C.g)("")),type:Object(f.a)(Object(S.d)("type"),v.a)}),Object(B.parse)({id:Object(f.a)(Object(S.d)("id"),v.a),title:Object(f.a)(Object(S.d)("title"),v.a,Object(C.g)("")),type:Object(f.a)(Object(S.d)("type"),v.a)}),Object(B.parse)({id:Object(f.a)(Object(S.d)("id"),v.a),title:Object(f.a)(Object(S.d)("title"),v.a,Object(C.g)(""))})},,,,,function(e,t,o){"use strict";o.d(t,"a",(function(){return r}));var n=o(11);const i=["px","%"],r=Object(n.c)(e=>i.includes(e))},function(e,t,o){"use strict";o.d(t,"a",(function(){return s})),o.d(t,"c",(function(){return c})),o.d(t,"b",(function(){return u})),o.d(t,"d",(function(){return b}));var n=o(0),i=o(383),r=o(717),a=o(718);const l=(e,t)=>e===t;function s(e,t,o){const i=Object(n.useRef)();Object(n.useEffect)(()=>(clearTimeout(i.current),i.current=setTimeout(e,t),()=>clearTimeout(i.current)),[o,e,t])}function c(e,t,o){const{current:i}=Object(n.useRef)({f:e});Object(n.useEffect)(()=>{i.f=e,void 0===i.t&&(i.t=setTimeout(()=>{i.f(),i.t=void 0},t))},[o,i,e,t])}const d=e=>(t,o,r)=>{const a=Object(n.useMemo)(()=>{const n=new i.a;return n.pipe(e(o)).subscribe(e=>t(...e)),n},[t,o]);return Object(n.useEffect)(()=>()=>{a.complete()},[a]),Object(n.useCallback)((...e)=>a.next(e),[a,...r])},p=e=>{const t=d(e);return(e,o,i,r=l)=>{const a=Object(n.useRef)(e),[s,c]=Object(n.useState)(e),d=t(o,i,[o]);Object(n.useEffect)(()=>{r(s,a.current)||(d(s),a.current=s)},[s,a,d,r]),Object(n.useEffect)(()=>{r(e,a.current)||(c(e),a.current=e)},[e,a,r]);const p=Object(n.useCallback)(c,[c]);return[s,p]}},u=(d(r.a),p(r.a)),b=(d(a.a),p(a.a))},,function(e,t,o){"use strict";function n(...[e,...t]){return(...o)=>t.reduce((e,t)=>t(e),e(...o))}o.d(t,"a",(function(){return n}))},,function(e,t,o){"use strict";o.d(t,"a",(function(){return l}));o(70);var n=o(0),i=o.n(n),r=o(15),a=o(69);const l=({label:e,icon:t,helper:o,helperPlacement:n})=>e||t||o?i.a.createElement("div",{className:"brz-ed-option__label brz-ed-option__focal-point__label"},t?i.a.createElement(r.b,{className:"brz-ed-option__label__icon",icon:t}):null,e?i.a.createElement("span",{className:"brz-ed-option__label__text"},null==e?void 0:e.replace("-","‑")):null,o&&i.a.createElement("div",{className:"brz-ed-option__helper"},i.a.createElement(a.a,{placement:n,openOnClick:!1,overlay:i.a.createElement("div",{className:"brz-ed-option__helper__content",dangerouslySetInnerHTML:{__html:o}})},i.a.createElement(r.b,{icon:"nc-alert-circle-que"})))):i.a.createElement(i.a.Fragment,null)},,,function(e,t,o){"use strict";o.d(t,"a",(function(){return r})),o.d(t,"d",(function(){return a})),o.d(t,"b",(function(){return l})),o.d(t,"c",(function(){return s}));var n=o(11),i=o(44);let r;!function(e){e[e.THIN=100]="THIN",e[e.EXTRA_LIGHT=200]="EXTRA_LIGHT",e[e.LIGHT=300]="LIGHT",e[e.NORMAL=400]="NORMAL",e[e.MEDIUM=500]="MEDIUM",e[e.SEMI_BOLD=600]="SEMI_BOLD",e[e.BOLD=700]="BOLD",e[e.EXTRA_BOLD=800]="EXTRA_BOLD",e[e.BLACK=900]="BLACK"}(r||(r={}));const a=Object.values(r).filter(e=>i.c(Number(e))),l=r.NORMAL,s=Object(n.c)(e=>a.includes(e))},function(e,t,o){"use strict";o.d(t,"c",(function(){return i})),o.d(t,"b",(function(){return r})),o.d(t,"a",(function(){return a}));var n=o(2);const i="UNDO",r="REDO";class a{constructor(e){Object(n.a)(this,"snapshots",[]),Object(n.a)(this,"config",{maxSize:20,collapseFrequency:2e3}),Object(n.a)(this,"currentIndex",-1),Object(n.a)(this,"previousIndex",-1),Object(n.a)(this,"lastSnapshotTimestamp",0),Object(n.a)(this,"canUndo_",!1),Object(n.a)(this,"canRedo_",!1),e&&(this.config=e),this.snapshots=new Array(this.config.maxSize).fill(null)}getSnapshots(){return this.snapshots}getCurrentSnapshot(){var e;return null!==(e=this.snapshots[this.currentIndex])&&void 0!==e?e:null}getPreviousSnapshot(){var e;return null!==(e=this.snapshots[this.previousIndex])&&void 0!==e?e:null}getSnapshot(e){if(e>0){var t;const o=e-1;return null!==(t=this.snapshots[o])&&void 0!==t?t:null}{var o;const t=this.snapshots.filter(e=>null!==e).length+e;return null!==(o=this.snapshots[t])&&void 0!==o?o:null}}update(e,t){if(Object.keys(e).some(t=>{var o;return e[t]!==(null===(o=this.snapshots[this.currentIndex])||void 0===o?void 0:o[t])})){const o=e,n=Date.now();if(null!=t&&t.replacePresent)this.snapshots[this.currentIndex]=o;else{if(this.snapshots[this.currentIndex+1]&&null!==this.snapshots[this.currentIndex+1]){this.previousIndex=this.currentIndex,this.currentIndex++,this.snapshots[this.currentIndex]=o;for(let e=this.currentIndex+1;e<=this.snapshots.length-1;e++)this.snapshots[e]=null}else{if(n-this.lastSnapshotTimestamp>this.config.collapseFrequency){if(this.currentIndex===this.snapshots.length-1){for(let e=0;e<=this.snapshots.length-2;e++)this.snapshots[e]=this.snapshots[e+1];this.snapshots[this.snapshots.length-1]=o}else this.previousIndex=this.currentIndex,this.currentIndex++,this.snapshots[this.currentIndex]=o}else this.snapshots[this.currentIndex]=o}this.updateFlags(),this.lastSnapshotTimestamp=n}}}replaceSnapshots(e){if(e.length!==this.snapshots.length)throw new Error("History. snapshots must be of same lengths");for(let t=0;t<this.snapshots.length;t++)if(null===this.snapshots[t]&&null!==e[t]||null!==this.snapshots[t]&&null===e[t])throw new Error("History. only patch snapshots supported for now");this.snapshots=e}canUndo(){return this.canUndo_}undo(){this.canUndo()&&(this.previousIndex=this.currentIndex,this.currentIndex--,this.updateFlags())}canRedo(){return this.canRedo_}redo(){this.canRedo()&&(this.previousIndex=this.currentIndex,this.currentIndex++,this.updateFlags())}updateFlags(){this.canUndo_=this.currentIndex>0,this.canRedo_=Boolean(this.snapshots[this.currentIndex+1]&&null!==this.snapshots[this.currentIndex+1])}}},function(e,t,o){"use strict";o.d(t,"b",(function(){return i})),o.d(t,"c",(function(){return r})),o.d(t,"a",(function(){return a}));var n=o(74);const i=({type:e,family:t})=>`${e}|${t}`,r=e=>{const[t,o]=e.split("|");return{type:t,family:o}},a=e=>{const t=n.a.getComponent(e);return t?t.defaultValue:{}}},function(e,t,o){"use strict";var n=o(0),i=o.n(n),r=o(6),a=o(134),l=o(4),s=o.n(l),c=o(60),d=o(104);const p=e=>{const{className:t,opened:o,children:n,onClose:r}=e,l=s()("brz-ed-fixed",t);return i.a.createElement(d.a,{node:window.parent.document.body},i.a.createElement(a.CSSTransition,{in:o,classNames:"brz-ed-fade",timeout:150},o?i.a.createElement("div",{className:l},i.a.createElement(c.a,{keyNames:["esc"],id:"key-helper-prompt-esc",onKeyUp:r}),i.a.createElement("div",{className:"brz-ed-fixed-overlay",onClick:r}),i.a.createElement("div",{className:"brz-ed-fixed-scroll"},n)):i.a.createElement("span",null)))};p.defaultProps={className:"",opened:!1,onClose:r.default.noop},t.a=p},function(e,t,o){"use strict";o.d(t,"b",(function(){return a})),o.d(t,"a",(function(){return l}));var n=o(44),i=o(11),r=o(25);const a=Object(i.b)(e=>e.duration,r.b,n.b),l=Object(i.b)(e=>e.delay,r.b,n.b)},function(e,t,o){"use strict";o.d(t,"b",(function(){return d}));var n=o(2),i=o(6),r=o(0),a=o.n(r),l=o(4),s=o.n(l),c=o(207);o.d(t,"a",(function(){return c.a}));class d extends a.a.Component{constructor(...e){super(...e),Object(n.a)(this,"state",{currentValue:this.props.defaultValue}),Object(n.a)(this,"onItemClick",e=>{this.setState({currentValue:e}),this.props.onChange(e)}),Object(n.a)(this,"getCurrent",()=>i.default.find(this.props.children,e=>e.props.value===this.state.currentValue)||this.props.children[0])}renderOptions(){return a.a.Children.map(this.props.children,(e,t)=>a.a.cloneElement(e,{key:t,active:this.state.currentValue===e.props.value,name:this.props.name,onClick:e.props.disabled?null:this.onItemClick.bind(null,e.props.value)}))}renderForEdit(){const{className:e,name:t,currentValue:o}=this.props,n=s()("brz-control__radio",e);return a.a.createElement("div",{className:n},this.renderOptions(),a.a.createElement("input",{className:"brz-input",name:t,type:"hidden",value:o}))}renderForView(){const e=s()("brz-control__radio",this.props.className);return a.a.createElement("div",{className:e},this.renderOptions())}render(){return this.renderForEdit()}}Object(n.a)(d,"defaultProps",{name:"defaultName",defaultValue:"",onChange:i.default.noop})},,,function(e,t,o){"use strict";o.d(t,"a",(function(){return B}));var n=o(9),i=o(37),r=o(0),a=o.n(r),l=o(6),s=o(4),c=o.n(s),d=o(15);const p=({onRemove:e,children:t})=>{const o="string"==typeof t?t:"";return a.a.createElement("div",{className:"brz-ed-control__multiSelect--tag"},a.a.createElement("div",{className:"brz-ed-control__multiSelect--tag--value",title:o},t),a.a.createElement(d.b,{icon:"nc-trash",onClick:e}))};function u(e,t){if(t.length<=1)return t[0]?t[0]:void 0;const o=t.indexOf(e);return-1===o?t[0]:0===o?t[t.length-1]:o>=t.length?t[t.length-2]:t[o-1]}function b(e,t){if(t.length<=1)return t[0]?t[0]:void 0;const o=t.indexOf(e);return-1===o||o>=t.length-1?t[0]:t[o+1]}var m=o(324),h=o(303),g=o(967),f=o(973),v=o(62),y=o(23);function S(e){let{children:t,active:o,disabled:r}=e,l=Object(i.a)(e,["children","active","disabled"]);const s=c()({"brz-ed-control__multiSelect__option":!0,"brz-ed-control__multiSelect__option--active":o,"brz-ed-control__multiSelect__option--disabled":r}),d="string"==typeof t?t:"";return a.a.createElement("li",Object(n.a)({className:s,title:d},l),t)}var O=o(20);function x({className:e,placeholder:t="",children:o,tags:i,editable:s,size:p,onKeyDown:u,onType:b,onSelect:x,inputValue:C,scroll:B=5,onOpen:j}){const P=Object(r.useRef)(null),T=Object(r.useRef)(null),[w,E]=Object(r.useState)(0),[z,k]=Object(r.useState)(!1);Object(r.useEffect)(()=>E(0),[o.length]);const F=({scrollHeight:e})=>{var t,n,i;w||E((t=e,(n=o.length)<=(i=B)?t:t/n*i))},_=Object(r.useCallback)(Object(O.e)(x,Object(l.property)("value"),Object(l.property)("props")),[x]);Object(r.useEffect)(()=>{k(!0)},[]);const R=c()("brz-ed-control__multiSelect","brz-ed-control__multiSelect--size-"+p,e);return a.a.createElement("div",{ref:P,className:R},a.a.createElement(h.a,null,a.a.createElement(m.a,{key:Number(z),environment:(H=P.current,(null==H||null===(L=H.ownerDocument)||void 0===L?void 0:L.defaultView)||window),onChange:_,itemToString:e=>y.c(null==e?void 0:e.key)},({openMenu:e,isOpen:r,getMenuProps:l,getItemProps:c})=>{const p=()=>{var t;r||(j&&j(),e()),null===(t=T.current)||void 0===t||t.focus()};return a.a.createElement("div",null,a.a.createElement(g.a,null,({ref:e})=>a.a.createElement("div",{ref:e,className:"brz-ed-control__multiSelect--value-container",onClick:()=>p()},i,s&&a.a.createElement("input",{placeholder:t,ref:T,value:C,size:(null==C?void 0:C.length)||1,onChange:({target:e})=>{null==b||b(e.value),p()},onKeyDown:u,onFocus:()=>{p()},className:"brz-input brz-ed-control__multiSelect--value"}),!s&&a.a.createElement(a.a.Fragment,null,0===i.length&&a.a.createElement("span",{className:"brz-ed-control__multiSelect--placeholder"},t),a.a.createElement(d.b,{icon:"nc-stre-down",className:"brz-control__select--arrow"})))),a.a.createElement("div",{className:"brz-ed-control__multiSelect__menu-container"},a.a.createElement(f.a,null,({ref:e,style:t,placement:i})=>{if(!r)return null;const s=o.map((e,t)=>{const o=c({item:e,key:t,disabled:e.props.disabled});return a.a.createElement(S,Object(n.a)({key:t},o,e.props))});return s.length?a.a.createElement("div",{ref:e,style:t,className:"brz-ed-control__multiSelect__menu","data-placement":i},a.a.createElement(v.Scrollbars,{onUpdate:F,autoHeight:!0,autoHeightMax:w,renderThumbVertical:e=>a.a.createElement("div",Object(n.a)({className:"brz-ed-control__multiSelect__scroll-thumb"},e))},a.a.createElement("ul",Object(n.a)({},l(),{className:"brz-ul"}),s))):null})))})));var H,L}function C({className:e,value:t,children:o,onChange:i,scroll:s,editable:c=!0,size:d="medium",placeholder:m="",hideSelected:h=!0,onOpen:g,inputValue:f,onInputChange:v}){const[y,O]=Object(r.useState)();Object(r.useEffect)(()=>{void 0!==y&&O(void 0)},[o]);const C=t.reduce((e,n)=>{const r=o.find(e=>e.props.value===n);return void 0!==r&&e.push(a.a.createElement(p,{key:r.props.value,onRemove:()=>(e=>{i(t.filter(t=>t!==e))})(r.props.value)},r.props.children)),e},[]),B=o.filter(({props:e})=>!(h&&t.includes(e.value)));return a.a.createElement(x,{className:e,placeholder:m,size:d,inputValue:f,tags:C,editable:c,scroll:s,onSelect:e=>{i(Object(l.uniq)([...t,e])),null==v||v("")},onKeyDown:e=>{const o=e.key;switch(o){case"ArrowDown":case"ArrowUp":{const t=B.filter(e=>!e.props.disabled);if(t.length>0){const n=void 0!==y?("ArrowDown"===o?b:u)(y,t.map(e=>e.props.value)):t[0].props.value;O(n),e.preventDefault()}break}case"Enter":void 0!==y&&(i(Object(l.uniq)([...t,y])),null==v||v(""));break;case"Backspace":null!=f&&f.length||!t.length||i(Object(l.initial)(t))}},onType:v,onOpen:g},B.map(({props:e})=>{return a.a.createElement(S,Object(n.a)({},e,{active:(o=e.value,y===o||t.includes(o)),key:e.value}));var o}))}function B(e){let{value:t,onChange:o,children:s,className:d}=e,p=Object(i.a)(e,["value","onChange","children","className"]);const u=void 0!==t?[t]:[],b=Object(r.useCallback)(Object(O.e)(o,l.last),[o]);return a.a.createElement(C,Object(n.a)({},p,{className:c()(d,"brz-ed-control__select-single"),onChange:b,value:u,hideSelected:!1}),s)}},function(e,t,o){"use strict";o.d(t,"a",(function(){return m}));var n=o(2),i=o(0),r=o.n(i),a=o(6),l=o(43);function s(e,t){const o=c(t);return o>0?e.toFixed(o):String(e)}function c(e){const[,t]=String(e).split(".");return t?t.length:0}function d(e,t,o,n){return function(e,t,o=0){const n=10**c(t);e*=n,t*=n,o*=n;return(Math.ceil((e-o)/t)*t+o)/n}(Object(l.b)(e,t,o),n,t)}const p=b.bind(null,"add"),u=b.bind(null,"sub");function b(e,t,o){const n=c(t),i=c(o),r=10**Math.max(n,i),a=t*r,l=o*r;let s;switch(e){case"add":s=a+l;break;case"sub":s=a-l;break;default:throw new Error("operation type unknown "+e)}return s/r}class m extends r.a.Component{constructor(...e){super(...e),Object(n.a)(this,"state",{text:s(this.props.value,this.props.step),value:this.props.value,prevPropsValue:this.props.value}),Object(n.a)(this,"handleChange",e=>{this.setState({text:e.target.value},()=>{this.props.onTextChange(this.state.text),this.debouncedOnChange()})}),Object(n.a)(this,"debouncedOnChange",a.default.debounce(()=>{this.setState((e,t)=>{const{min:o,max:n,step:i}=t,{text:r,value:a}=e,l=parseFloat(r),c=d("number"!=typeof l||Number.isNaN(l)?a:l,o,n,i);return{text:s(c,i),value:c}},()=>{this.props.onTextChange(this.state.text),this.props.onChange(this.state.value)})},1e3))}static getDerivedStateFromProps(e,t){return e.value!==t.prevPropsValue?{text:s(e.value,e.step),value:e.value,prevPropsValue:e.value}:null}componentWillUnmount(){this.debouncedOnChange.cancel()}increment(){this.setState((e,t)=>{const{min:o,max:n,step:i}=t,{text:r,value:a}=e,l=Number(r),c=d(p(l,i),o,n,i);return c!==a?{text:s(c,i),value:c}:null},()=>{this.props.onTextChange(this.state.text),this.props.onChange(this.state.value)})}decrement(){this.setState((e,t)=>{const{min:o,max:n,step:i}=t,{text:r,value:a}=e,l=Number(r),c=d(u(l,i),o,n,i);return c!==a?{text:s(c,i),value:c}:null},()=>{this.props.onTextChange(this.state.text),this.props.onChange(this.state.value)})}getText(){return this.state.text}render(){const{className:e,min:t,max:o,step:n,onFocus:i,onBlur:a,onMouseEnter:l,onMouseLeave:s,size:c}=this.props,{text:d}=this.state;return r.a.createElement("input",{className:e,type:"number",value:d,min:t,max:o,step:n,size:c,onFocus:i,onBlur:a,onChange:this.handleChange,onMouseEnter:l,onMouseLeave:s})}}Object(n.a)(m,"defaultProps",{className:"",value:0,min:0,max:100,step:1,round:!0,onFocus:a.default.noop,onBlur:a.default.noop,onTextChange:a.default.noop,onChange:a.default.noop})},function(e,t,o){"use strict";function n(e){return void 0!==e.entityValues&&e.entityValues.length>0}function i(e){return(void 0===e.entityValues||0===e.entityValues.length)&&void 0!==e.entityType&&null!==e.appliedFor}function r(e){return null===e.appliedFor&&(""===e.entityType||void 0===e.entityType)}o.d(t,"b",(function(){return n})),o.d(t,"c",(function(){return i})),o.d(t,"a",(function(){return r}))},function(e,t,o){"use strict";o.d(t,"a",(function(){return p})),o.d(t,"b",(function(){return y}));o(256);var n=o(14),i=o(63),r=o(106);function a(e,t,o=[]){const n=window.getComputedStyle(t);if(o.push({clone:e,originalStyle:n}),!(t instanceof HTMLIFrameElement))for(let n=0;n<e.children.length;n++)a(e.children[n],t.children[n],o);return o}function l(e){const{clone:t,originalStyle:o}=e;if(o.cssText)t.style.cssText=o.cssText;else for(let e=0;e<o.length;e++){const n=o[e];t.style.setProperty(n,o.getPropertyValue(n),o.getPropertyPriority(n))}}class s{constructor({tasks:e,taskCb:t,msPerFrame:o}){this._tasks=e,this._taskCb=t,this._msPerFrame=o,this._process=this._process.bind(this)}schedule(){return this._currentTaskIndex=0,new Promise((e,t)=>{this._resolve=e,this._reject=t,requestAnimationFrame(this._process)})}_process(e){do{if(this._taskCb(this._tasks[this._currentTaskIndex]),this._currentTaskIndex===this._tasks.length-1)return void requestAnimationFrame(this._resolve);this._currentTaskIndex++}while(performance.now()-e<this._msPerFrame);requestAnimationFrame(this._process)}}var c=o(56);let d;const p=()=>{if(d)return Promise.resolve(!0);if(!1===d)return Promise.reject(!1);const e=document.createElement("canvas");e.width=100,e.height=100;const t=e.getContext("2d");t.fillStyle="rgb(0, 255, 0)",t.fillRect(0,0,100,100);const o=e.toDataURL();t.fillStyle="red",t.fillRect(0,0,100,100);const n=new Image;n.src=o;const i=u(100,100,0,0,n);return b(i).then(e=>{t.drawImage(e,0,0);const n=t.getImageData(0,0,100,100).data;if(!m(n))return d=!1,Promise.reject(d);t.fillStyle="red",t.fillRect(0,0,100,100);const i=document.createElement("div");i.style.backgroundImage=`url(${o})`,i.style.height="100px";const r=u(100,100,0,0,i);return b(r)}).then(e=>{t.drawImage(e,0,0);const o=t.getImageData(0,0,100,100).data;return d=m(o),d}).catch(()=>(d=!1,d))},u=(e,t,o,n,i)=>{const r="http://www.w3.org/2000/svg",a=document.createElementNS(r,"svg"),l=document.createElementNS(r,"foreignObject");return a.setAttributeNS(null,"width",e),a.setAttributeNS(null,"height",t),l.setAttributeNS(null,"width","100%"),l.setAttributeNS(null,"height","100%"),l.setAttributeNS(null,"x",o),l.setAttributeNS(null,"y",n),l.setAttributeNS(null,"externalResourcesRequired","true"),a.appendChild(l),l.appendChild(i),a},b=e=>new Promise((t,o)=>{const n=new Image;n.onload=()=>t(n),n.onerror=o,n.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent((new XMLSerializer).serializeToString(e))}),m=e=>0===e[0]&&255===e[1]&&0===e[2]&&255===e[3],h={},g=new Worker((f=n.a.getAll(),(null!==(v=f.urls.worker)&&void 0!==v?v:Object(c.a)("editor/js"))+"/screenshots.worker.js"),{type:"module"});var f,v;async function y(e){if(!e)return Promise.reject("Could not find node");const t=getComputedStyle(e);if("none"===t.display||"0"===t.opacity)return Promise.reject(`Could not make screenshot for node ${e} because it's hidden`);let o;try{o=await async function(e){const t=e,o=e.cloneNode(!0),n=new s({tasks:a(o,t),taskCb:l,msPerFrame:10});return await n.schedule(),o}(e)}catch(e){console.error("cloneinline",e)}const r=function(e){let{width:t,height:o}=e.getBoundingClientRect();return{width:t,height:o}}(e),c=new Blob([o.outerHTML],{type:"text/plain"}),d=URL.createObjectURL(c);return new Promise((e,t)=>{const o=Object(i.a)(3),{assets:a,site:l}=n.a.get("urls");h[o]=[e,t,r,d],g.postMessage({id:o,url:d,assetUrl:a,siteUrl:l,options:r,proxyUrl:S()})})}function S(){{var e;const t=n.a.get("urls").site,o=null!==(e=n.a.get("prefix"))&&void 0!==e?e:"brizy";return Object(r.e)(t)?`${t}&${o}_file=`:`${t}?${o}_file=`}}g.onmessage=async e=>{const{id:t,url:o}=e.data,n=await fetch(o),i=await n.text(),[r,a,l,s]=h[t];URL.revokeObjectURL(s),URL.revokeObjectURL(o);const c=document.createElement("img");c.onload=async()=>{let e=c.width,t=c.height;e>600&&(t=Math.floor(600*t/e),e=600);const o=document.createElement("canvas");o.width=e,o.height=t,o.getContext("2d").drawImage(c,0,0,e,t);const n=o.toDataURL("image/jpeg",1);r({src:n,width:e,height:t})},c.onerror=a,c.crossOrigin="anonymous",c.src=i,delete h[t]}},,function(e,t,o){"use strict";o.d(t,"a",(function(){return i})),o.d(t,"b",(function(){return r}));const n={};function i(e,t,o=10){void 0===n[e]&&(n[e]=[]);const i={cb:t,priority:o},r=n[e].findIndex(({priority:e})=>i.priority<e);-1!==r?n[e].splice(r,0,i):n[e].push(i)}function r(e,t,...o){return void 0===n[e]?t:n[e].reduce((e,{cb:t})=>t(e,...o),t)}},function(e,t,o){"use strict";o.d(t,"a",(function(){return n}));const n=e=>{if("string"==typeof e)try{return JSON.parse(e)}catch(e){return}}},,,,function(e,t,o){"use strict";o.d(t,"b",(function(){return i})),o.d(t,"a",(function(){return l})),o.d(t,"c",(function(){return s}));var n=o(6);function i(e,t){let o=!1;for(let n=0;n<t.length;n++){for(let l=0;l<e.length;l++){if(i=e[l],a=t[n],i.type===a.type&&i.id&&a.id&&i.id===a.id){e[l]=r(e[l],t[n]),o=!0;break}o=!1}o||e.push(t[n])}var i,a;return function e(t){if(!t||"function"!=typeof t[Symbol.iterator])return t;for(let o of t){let t="options";o.columns&&(t="columns"),o.tabs&&(t="tabs"),o[t]&&(o[t]=e(o[t]))}return n.default.sortBy(t,"position")}(e)}function r(e,t){for(const o of Object.keys(t))"columns"===o||"options"===o||"tabs"===o?e[o]=i(e[o]||[],t[o]||[]):"disabled"===o&&!0===t[o]&&(e[o]=t[o]);return e}var a=o(59);const l=e=>Object(a.b)(["id","type"],e),s=(e,t)=>l(t)?Object(a.c)(s.bind(null,e),e(t)):Object(a.c)(s.bind(null,e),t)},,,function(e,t,o){"use strict";o.d(t,"c",(function(){return a})),o.d(t,"a",(function(){return l})),o.d(t,"d",(function(){return s})),o.d(t,"b",(function(){return c}));var n=o(11);let i;!function(e){e.px="px",e.em="em",e.rem="rem",e.vw="vw"}(i||(i={}));const r=Object.values(i),a=r.map(e=>({title:e,value:e})),l=i.px,s=e=>r.includes(e),c=Object(n.c)(s)},function(e,t,o){"use strict";o.d(t,"a",(function(){return a})),o.d(t,"g",(function(){return l})),o.d(t,"d",(function(){return s})),o.d(t,"h",(function(){return r})),o.d(t,"b",(function(){return m})),o.d(t,"c",(function(){return h})),o.d(t,"f",(function(){return g})),o.d(t,"e",(function(){return v}));o(70);var n=o(2),i=o(121);const r={class:{typographyFontStyle:{prefix:"brz-tp",defaultValue:"paragraph"},tabletTypographyFontSize:{prefix:"brz-fs-sm-im",defaultValue:null},mobileTypographyFontSize:{prefix:"brz-fs-xs-im",defaultValue:null},tabletTypographyFontSizeSuffix:{prefix:"brz-fs-s-sm-im",defaultValue:null},mobileTypographyFontSizeSuffix:{prefix:"brz-fs-s-xs-im",defaultValue:null},tabletTypographyLineHeight:{prefix:"brz-lh-sm-im",defaultValue:null},mobileTypographyLineHeight:{prefix:"brz-lh-xs-im",defaultValue:null},tabletTypographyFontWeight:{prefix:"brz-fw-sm-im",defaultValue:null},mobileTypographyFontWeight:{prefix:"brz-fw-xs-im",defaultValue:null},tabletTypographyLetterSpacing:{prefix:"brz-ls-sm-im",defaultValue:null},mobileTypographyLetterSpacing:{prefix:"brz-ls-xs-im",defaultValue:null}},style:{},attribute:{}},a={class:{typographyFontStyle:{prefix:"brz-tp-lg",defaultValue:""},tabletTypographyFontStyle:{prefix:"brz-tp-sm",defaultValue:null},mobileTypographyFontStyle:{prefix:"brz-tp-xs",defaultValue:null},typographyFontFamily:{prefix:"brz-ff",defaultValue:"lato"},typographyFontFamilyType:{prefix:"brz-ft",defaultValue:"google"},typographyFontSize:{prefix:"brz-fs-lg",defaultValue:16},tabletTypographyFontSize:{prefix:"brz-fs-sm",defaultValue:null},mobileTypographyFontSize:{prefix:"brz-fs-xs",defaultValue:null},typographyFontSizeSuffix:{prefix:"brz-fss-lg",defaultValue:"px"},tabletTypographyFontSizeSuffix:{prefix:"brz-fss-sm",defaultValue:null},mobileTypographyFontSizeSuffix:{prefix:"brz-fss-xs",defaultValue:null},typographyFontWeight:{prefix:"brz-fw-lg",defaultValue:400},tabletTypographyFontWeight:{prefix:"brz-fw-sm",defaultValue:null},mobileTypographyFontWeight:{prefix:"brz-fw-xs",defaultValue:null},typographyLineHeight:{prefix:"brz-lh-lg",defaultValue:1.3},tabletTypographyLineHeight:{prefix:"brz-lh-sm",defaultValue:null},mobileTypographyLineHeight:{prefix:"brz-lh-xs",defaultValue:null},typographyLetterSpacing:{prefix:"brz-ls-lg",defaultValue:0},tabletTypographyLetterSpacing:{prefix:"brz-ls-sm",defaultValue:null},mobileTypographyLetterSpacing:{prefix:"brz-ls-xs",defaultValue:null},contentHorizontalAlign:{prefix:"brz-text-lg",defaultValue:"left"},tabletContentHorizontalAlign:{prefix:"brz-text-sm",defaultValue:null},mobileContentHorizontalAlign:{prefix:"brz-text-xs",defaultValue:null},marginTop:{prefix:"brz-mt-lg",defaultValue:0},tabletMarginTop:{prefix:"brz-mt-sm",defaultValue:null},mobileMarginTop:{prefix:"brz-mt-xs",defaultValue:null},marginBottom:{prefix:"brz-mb-lg",defaultValue:0},tabletMarginBottom:{prefix:"brz-mb-sm",defaultValue:null},mobileMarginBottom:{prefix:"brz-mb-xs",defaultValue:null},"block-colorPalette":{prefix:"brz-bcp",defaultValue:""}},style:{},attribute:{}},l={class:{colorPalette:{prefix:"brz-cp",defaultValue:""},shadowColorPalette:{prefix:"brz-scp",defaultValue:""},prepopulation:{prefix:"brz-pre-population",defaultValue:""},capitalize:{prefix:"brz-capitalize",defaultValue:"off"}},style:{opacity:{prefix:"opacity",defaultValue:1},shadow:{prefix:"text-shadow",defaultValue:""}},attribute:{populationColor:{prefix:"data-color",defaultValue:""}}},s=i.a.all([a,{}]),c=i.a.all([s,l]);i.a.all([c,r]);var d=o(57),p=o(43);function u(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function b(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?u(Object(o),!0).forEach((function(t){Object(n.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):u(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const m=e=>h(e).v,h=e=>{const t=g(),o=f(e);return{v:b(b({},t),o),vs:{},vd:t}},g=()=>{const e={};return Object.entries(s).forEach(([,t])=>{Object.entries(t).forEach(([t,{defaultValue:o}])=>{e[t]=o})}),e},f=e=>{const t={},o=d.a(e.attr("class"));if(o){const e=new RegExp("^(.*)-(.*$)");o.split(" ").forEach(o=>{const n=o.match(e);if(n){const[,e,o]=n,i=function(e){const t={};return Object.entries(c).forEach(([,e])=>{Object.entries(e).forEach(([e,{prefix:o}])=>{t[o]=e})}),Object.entries(r).forEach(([,e])=>{Object.entries(e).forEach(([e,{prefix:o}])=>{t[o]=e})}),t[e]}(e);t[i]=function(e){if("empty"===e)return"";if(void 0===e)return null;e.includes(",")&&(e=e.split(",")[0]);return Object(p.e)(e.replace("m_","-").replace("_","."))?(t=e,Number(t.replace("m_","-").replace("_","."))):e;var t}(o)}})}return t};function v(e){return""===e?"empty":Object(p.e)(e)?String(e).replace(".","_").replace("-","m_"):e}},,function(e,t,o){"use strict";o.d(t,"a",(function(){return d})),o.d(t,"b",(function(){return p})),o.d(t,"d",(function(){return b})),o.d(t,"c",(function(){return m}));var n=o(52),i=o(11),r=o(31),a=o(28),l=o(126),s=o(46),c=o(1);let d;!function(e){e.none="none",e.down="down",e.right="right",e.up="up",e.left="left"}(d||(d={}));const p=n.d({type:Object(i.b)(Object(s.c)("name"),r.d,Object(i.c)(Object(r.e)(r.a.Fade))),direction:n.b([Object(i.b)(Object(s.c)("name"),a.b,e=>{switch(e){case a.a.fadeIn:return d.none;case a.a.fadeInDown:case a.a.fadeInDownBig:return d.down;case a.a.fadeInRight:case a.a.fadeInRightBig:return d.right;case a.a.fadeInUp:case a.a.fadeInUpBig:return d.up;case a.a.fadeInLeft:case a.a.fadeInLeftBig:return d.left}}),()=>d.none]),big:Object(i.b)(Object(s.c)("name"),a.b,e=>{switch(e){case a.a.fadeIn:case a.a.fadeInDown:case a.a.fadeInRight:case a.a.fadeInUp:case a.a.fadeInLeft:return!1;case a.a.fadeInDownBig:case a.a.fadeInRightBig:case a.a.fadeInUpBig:case a.a.fadeInLeftBig:return!0}}),duration:l.b,delay:l.a}),u=e=>{switch(e.direction){case d.none:return a.a.fadeIn;case d.down:switch(e.big){case!0:return a.a.fadeInDownBig;case!1:return a.a.fadeInDown}case d.right:switch(e.big){case!0:return a.a.fadeInRightBig;case!1:return a.a.fadeInRight}case d.up:switch(e.big){case!0:return a.a.fadeInUpBig;case!1:return a.a.fadeInUp}case d.left:switch(e.big){case!0:return a.a.fadeInLeftBig;case!1:return a.a.fadeInLeft}}},b=e=>({name:u(e),duration:e.duration,delay:e.delay}),m=e=>{switch(e){case d.none:return Object(c.a)("None");case d.up:return Object(c.a)("Up");case d.right:return Object(c.a)("Right");case d.down:return Object(c.a)("Down");case d.left:return Object(c.a)("Left")}}},function(e,t,o){"use strict";var n=o(281);o.d(t,"a",(function(){return n.a})),o.d(t,"b",(function(){return n.b})),o.d(t,"c",(function(){return n.c})),o.d(t,"d",(function(){return n.d})),o.d(t,"e",(function(){return n.e})),o.d(t,"f",(function(){return n.f})),o.d(t,"g",(function(){return n.g})),o.d(t,"h",(function(){return n.h})),o.d(t,"i",(function(){return n.i})),o.d(t,"j",(function(){return n.j})),o.d(t,"k",(function(){return n.k}))},,function(e,t,o){"use strict";o.d(t,"a",(function(){return d}));var n=o(0),i=o.n(n),r=o(4),a=o.n(r),l=o(265),s=o(131);function c({value:{number:e,unit:t},onChange:o,className:n,min:r=-99999,max:l=99999,step:c,units:d}){const p=n=>{n!==t&&o({number:e,unit:n})};return i.a.createElement("div",{className:a()("brz-ed-control__number-unit",n)},i.a.createElement("div",{className:"brz-ed-control__number-unit__input"},i.a.createElement("div",{className:"brz-invisible",style:{width:(u=e,24*Math.min(1,Math.max(1,String(u).length-4)))}},e),i.a.createElement(s.a,{className:"brz-input",value:e,onChange:n=>{n!==e&&o({number:n,unit:t})},min:r,max:l,step:c})),d.map(({value:e,title:o},n)=>{const r=a()({"brz-ed-control__number-unit__unit":!0,"brz-ed-control__number-unit__unit--active":d.length>1&&e===t});return i.a.createElement("div",{key:n,className:r,onClick:p.bind(null,e)},o)}));var u}function d({value:{number:e,unit:t},onChange:o,className:r,min:s,max:d,inputMin:p,inputMax:u,step:b,units:m}){const h=Object(n.useCallback)((e,n)=>o({number:e,unit:t},n),[o,t]),g=Object(n.useCallback)(e=>o(e,{editing:!1}),[o]);return i.a.createElement("div",{className:a()("brz-ed__control--number-slider",r)},i.a.createElement(l.a,{value:e,onChange:h,step:b,min:s,max:d}),i.a.createElement(c,{units:m,step:b,min:p?Math.min(s,p):void 0,max:u?Math.max(d,u):void 0,value:{number:e,unit:t},onChange:g}))}},function(e,t,o){"use strict";var n=o(2),i=o(0),r=o.n(i);class a extends i.Component{render(){const{title:e,items:t,children:o}=this.props;return r.a.createElement("div",{title:e,className:"brz-control__select-optgroup"},r.a.createElement("div",{className:"brz-control__select-optgroup-label"},o),t)}}Object(n.a)(a,"defaultProps",{title:"",active:"",items:[]}),t.a=a},function(e,t,o){"use strict";o.d(t,"b",(function(){return d})),o.d(t,"c",(function(){return p})),o.d(t,"a",(function(){return u}));var n=o(2),i=o(39),r=o(6),a=o(16);function l(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function s(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?l(Object(o),!0).forEach((function(t){Object(n.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):l(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const c=["id","itemId","title","url","target","items","megaMenuItems","attrTitle","classes","current"];function d(e){return Object(a.p)(Object(a.o)(({type:e,value:t})=>({type:e,value:r.default.pick(t,c)}),e))}function p(e,t){return e.map(e=>Object(i.a)(e,o=>{if(Object.assign(o.value,t[e.value.id]),!o.value.megaMenuItems){const e=Object(a.p)({type:"SectionMegaMenu",value:{items:[]}});o.value.megaMenuItems=[e]}o.value.items=p(e.value.items,t)}))}function u(e){return e.reduce((e,t)=>s(s({},e),{},{[t.value.id]:r.default.omit(t.value,[...c.filter(e=>"megaMenuItems"!==e),"_id"])},t.value.items.length>0?u(t.value.items):{}),{})}},,function(e,t,o){"use strict";o.d(t,"b",(function(){return u})),o.d(t,"d",(function(){return b})),o.d(t,"a",(function(){return m})),o.d(t,"c",(function(){return h})),o.d(t,"g",(function(){return g})),o.d(t,"f",(function(){return f})),o.d(t,"e",(function(){return v}));var n=o(23),i=o(25),r=o(52),a=o(11),l=o(20),s=o(114),c=o(240),d=o(147);const p=e=>t=>t(e),u=Object(r.c)({type:Object(a.d)(Object(a.b)(p("type"),n.d,c.a),Object(l.g)("grouped")),value:Object(a.d)(Object(a.b)(p("value"),i.b),Object(l.g)(0)),tempValue:Object(a.d)(Object(a.b)(p("tempValue"),i.b),Object(l.g)(0)),unit:Object(a.d)(Object(a.b)(p("suffix"),n.d,s.a),Object(l.g)("px")),tempUnit:Object(a.d)(Object(a.b)(p("tempSuffix"),n.d,s.a),Object(l.g)("px")),top:Object(a.d)(Object(a.b)(p("top"),i.b),Object(l.g)(0)),tempTop:Object(a.d)(Object(a.b)(p("tempTop"),i.b),Object(l.g)(0)),topUnit:Object(a.d)(Object(a.b)(p("topSuffix"),n.d,s.a),Object(l.g)("px")),tempTopUnit:Object(a.d)(Object(a.b)(p("tempTopSuffix"),n.d,s.a),Object(l.g)("px")),right:Object(a.d)(Object(a.b)(p("right"),i.b),Object(l.g)(0)),tempRight:Object(a.d)(Object(a.b)(p("tempRight"),i.b),Object(l.g)(0)),rightUnit:Object(a.d)(Object(a.b)(p("rightSuffix"),n.d,s.a),Object(l.g)("px")),tempRightUnit:Object(a.d)(Object(a.b)(p("tempRightSuffix"),n.d,s.a),Object(l.g)("px")),bottom:Object(a.d)(Object(a.b)(p("bottom"),i.b),Object(l.g)(0)),tempBottom:Object(a.d)(Object(a.b)(p("tempBottom"),i.b),Object(l.g)(0)),bottomUnit:Object(a.d)(Object(a.b)(p("bottomSuffix"),n.d,s.a),Object(l.g)("px")),tempBottomUnit:Object(a.d)(Object(a.b)(p("tempBottomSuffix"),n.d,s.a),Object(l.g)("px")),left:Object(a.d)(Object(a.b)(p("left"),i.b),Object(l.g)(0)),tempLeft:Object(a.d)(Object(a.b)(p("tempLeft"),i.b),Object(l.g)(0)),leftUnit:Object(a.d)(Object(a.b)(p("leftSuffix"),n.d,s.a),Object(l.g)("px")),tempLeftUnit:Object(a.d)(Object(a.b)(p("tempLeftSuffix"),n.d,s.a),Object(l.g)("px"))}),b=e=>({type:e.type,value:e.value,tempValue:e.tempValue,suffix:e.unit,tempSuffix:e.tempUnit,top:e.top,tempTop:e.tempTop,topSuffix:e.topUnit,tempTopSuffix:e.tempTopUnit,right:e.right,tempRight:e.tempRight,rightSuffix:e.rightUnit,tempRightSuffix:e.tempRightUnit,bottom:e.bottom,tempBottom:e.tempBottom,bottomSuffix:e.bottomUnit,tempBottomSuffix:e.tempBottomUnit,left:e.left,tempLeft:e.tempLeft,leftSuffix:e.leftUnit,tempLeftSuffix:e.tempLeftUnit}),m={type:"grouped",value:0,tempValue:0,unit:"px",tempUnit:"px",top:0,tempTop:0,topUnit:"px",tempTopUnit:"px",right:0,tempRight:0,rightUnit:"px",tempRightUnit:"px",bottom:0,tempBottom:0,bottomUnit:"px",tempBottomUnit:"px",left:0,tempLeft:0,leftUnit:"px",tempLeftUnit:"px"},h=(Object(r.d)({number:e=>e.number,unit:e=>e.unit}),e=>{switch(e){case"grouped":return"nc-styling-all";case"ungrouped":return"nc-styling-individual";case"top":return"nc-styling-top";case"right":return"nc-styling-right";case"bottom":return"nc-styling-bottom";case"left":return"nc-styling-left"}}),g=e=>{switch(e){case"all":return d.k;case"top":return d.g;case"right":return d.e;case"bottom":return d.a;case"left":return d.c}},f=e=>{switch(e){case"all":return d.j;case"top":return d.h;case"right":return d.f;case"bottom":return d.b;case"left":return d.d}};function v(e,t){switch(e){case"all":return{all:{number:t.value,unit:t.unit},top:{number:t.top,unit:t.topUnit},right:{number:t.right,unit:t.rightUnit},bottom:{number:t.bottom,unit:t.bottomUnit},left:{number:t.left,unit:t.leftUnit}};case"vertical":return{all:{number:t.value,unit:t.unit},top:{number:t.top,unit:t.topUnit},bottom:{number:t.bottom,unit:t.bottomUnit}};case"horizontal":return{all:{number:t.value,unit:t.unit},right:{number:t.right,unit:t.rightUnit},left:{number:t.left,unit:t.leftUnit}}}}},,,,,function(e,t,o){"use strict";o.d(t,"b",(function(){return p})),o.d(t,"a",(function(){return u})),o.d(t,"d",(function(){return m})),o.d(t,"c",(function(){return h}));var n=o(6),i=o(14),r=o(97),a=o(295),l=o(16),s=o(33),c=o(81),d=o(132);const p=(e,t,o)=>Object.entries(t).reduce((t,[n,i])=>(!e.includes(n)&&u(i,o)&&t.push(n),t),[]);function u(e,t){return!!Object(a.a)(e.data)||(l.e?function({rules:e},t){const o=i.a.getAll();if(!Object(c.a)(o))return!1;const{ruleMatches:a}=o.wp,l=e.find(e=>{if(Object(d.b)(e))return e.appliedFor===r.d&&e.entityType===r.e&&e.entityValues.some(e=>String(e)===t.id)});if(l)return h(l);const s=a.map(({type:e,group:t,entityType:o,values:n})=>({type:e,entityType:o,appliedFor:t,entityValues:n})),p=b(e),u=b(s),m=p.level1.find(e=>u.level1.find(({entityType:t,appliedFor:o,entityValues:i})=>o===e.appliedFor&&t===e.entityType&&n.default.intersection(i,e.entityValues).length));if(m)return h(m);const g=p.level2.find(e=>u.level2.find(({entityType:t,appliedFor:o})=>o===e.appliedFor&&t===e.entityType));if(g)return h(g);if(p.level3.length)return h(p.level3[0]);return!1}(e,t):function(e,t){if(!e)throw Error("GlobalBlock should exist");const{rules:o}=e,{level1:i,level2:a,level3:l}=m(o,t),c=function(e,t){if(!Object(s.f)(t))return;const{groups:o}=t;if(0===o.length)return;const i=o.map(e=>e.id);return e.filter(e=>(Object(d.b)(e)||Object(d.c)(e))&&e.entityType===r.b).find(e=>n.default.intersection(i,e.entityValues).length>0)}(o,t),p=function(e=[],t){if(!Object(s.d)(t))return;const{fields:o}=t,i=function(e){if(null===e)return;return e.filter(e=>"CollectionItemFieldReference"===e.__typename||"CollectionItemFieldMultiReference"===e.__typename).map(e=>{switch(e.__typename){case"CollectionItemFieldReference":return{appliedFor:1,entityType:e.type.collectionType.id,entityValues:[e.referenceValues.collectionItem.id]};case"CollectionItemFieldMultiReference":return{appliedFor:1,entityType:e.type.collectionType.id,entityValues:e.multiReferenceValues.collectionItems.map(({id:e})=>e)}}})}(o);if(void 0===i)return;return e.filter(d.b).find(e=>{let t=[];return i.forEach(o=>{o.entityType===e.entityType&&(t=n.default.intersection(o.entityValues,e.entityValues))}),t.length})}(o,t);if(i)return h(i);if(p)return h(p);if(c)return h(c);if(a)return h(a);if(l)return h(l);return!1}(e,t))}function b(e){return e.reduce((e,t)=>((Object(d.b)(t)||Object(d.c)(t))&&t.entityType===r.e||(Object(d.a)(t)?e.level3.push(t):Object(d.b)(t)?e.level1.push(t):e.level2.push(t)),e),{level1:[],level2:[],level3:[]})}function m(e=[],t){const o=Object(r.h)(t);return e.reduce((e,t)=>(Object(d.b)(t)?t.appliedFor===o.group&&t.entityType===o.type&&t.entityValues.some(e=>String(e)===String(o.id))&&(e.level1=t):Object(d.c)(t)?t.appliedFor!==o.group||t.entityType!==o.type||t.entityValues.length||(e.level2=t):Object(d.a)(t)&&(e.level3=t),e),{level1:void 0,level2:void 0,level3:void 0})}function h(e){return 1===e.type}},,,function(e,t,o){"use strict";o.d(t,"a",(function(){return v})),o.d(t,"b",(function(){return y}));var n=o(19),i=o(313),r=o(314),a=o(315),l=o(316),s=o(317),c=o(318),d=o(319),p=o(320),u=o(52),b=o(71),m=o(76),h=o(94),g=o(79),f=o(102);const v=["vertical","horizontal","transparency","blur","rotate","scale","mouseTrack","mouseTilt"],y=(g.b,f.d(g.b,g.a),g.b,f.d(g.b,g.a),g.b,g.b,f.d(g.b,g.a),f.d(g.b,g.a),g.b,g.b,f.d(g.b,g.a),g.b,f.d(g.b,g.a),Object(u.c)({active:Object(u.a)(Object(n.mPipe)(Object(b.a)("active"),Object(n.pass)(e=>v.includes(e)))),vertical:Object(u.a)(Object(n.mPipe)(Object(h.d)("vertical"),Object(n.pass)(m.e),i.a)),horizontal:Object(u.a)(Object(n.mPipe)(Object(h.d)("horizontal"),Object(n.pass)(m.e),r.a)),transparency:Object(u.a)(Object(n.mPipe)(Object(h.d)("transparency"),Object(n.pass)(m.e),a.a)),blur:Object(u.a)(Object(n.mPipe)(Object(h.d)("blur"),Object(n.pass)(m.e),l.a)),rotate:Object(u.a)(Object(n.mPipe)(Object(h.d)("rotate"),Object(n.pass)(m.e),s.a)),scale:Object(u.a)(Object(n.mPipe)(Object(h.d)("scale"),Object(n.pass)(m.e),c.a)),mouseTrack:Object(u.a)(Object(n.mPipe)(Object(h.d)("mouseTrack"),Object(n.pass)(m.e),d.a)),mouseTilt:Object(u.a)(Object(n.mPipe)(Object(h.d)("mouseTilt"),Object(n.pass)(m.e),p.a))}))},function(e,t,o){"use strict";o.d(t,"a",(function(){return n}));const n=e=>t=>e.includes(t)?t:void 0},,,,,,,function(e,t,o){"use strict";o.d(t,"a",(function(){return d}));var n=o(2),i=o(0),r=o.n(i),a=o(6),l=o(4),s=o.n(l),c=o(15);class d extends r.a.Component{constructor(...e){super(...e),Object(n.a)(this,"onChange",e=>{const{valueMap:t,onChange:o}=this.props,n=a.default.isObject(t)?t[e.target.checked]:e.target.checked;setTimeout(o,200,n)})}render(){const{className:e,defaultValue:t,valueMap:o,arrowCheck:n,arrowUnCheck:i}=this.props,l=a.default.isObject(o)?"true"===a.default.findKey(o,e=>e===t):t,d=s()("brz-ed-control__switch",e);return r.a.createElement("div",{className:d},r.a.createElement("label",{className:"brz-label brz-ed-control__switch-label"},r.a.createElement("input",{type:"checkbox",className:"brz-input brz-ed-control__switch-input",defaultChecked:l,onChange:this.onChange}),r.a.createElement("span",{className:"brz-span brz-ed-control__switch-arrows"},r.a.createElement(c.b,{className:"brz-ed-control__switch--check",icon:n}),r.a.createElement(c.b,{className:"brz-icon-svg brz-ed-control__switch--un-check",icon:i})),r.a.createElement("span",{className:"brz-span brz-ed-control__switch--handle"})))}}Object(n.a)(d,"defaultProps",{className:"",arrowCheck:"nc-check-small",arrowUnCheck:"nc-remove",defaultValue:!1,valueMap:null})},function(e,t,o){"use strict";o.d(t,"a",(function(){return r})),o.d(t,"b",(function(){return a}));var n=o(37),i=o(103);const r=e=>{const{population:t,label:o,icon:r,helper:a,position:l}=e,s=Object(n.a)(e,["population","label","icon","helper","position"]);return void 0!==t&&Object(i.e)(s.type)?{id:s.id,label:o,icon:r,disabled:s.disabled,display:s.display,devices:s.devices,states:s.states,helper:a,position:l,className:s.className,type:"population-dev",config:{choices:t},options:[s]}:e},a=e=>"optgroup"in e},,,function(e,t,o){"use strict";o.d(t,"b",(function(){return l})),o.d(t,"a",(function(){return s}));var n=o(19),i=o(14),r=o(33),a=o(81);const l=()=>{var e;const t=i.a.get("pro");return null!==(e=null==t?void 0:t.whiteLabel)&&void 0!==e&&e},s=Object(n.match)([a.a,e=>{var t;return null!==(t=e.pro)&&void 0!==t&&t.whiteLabel?{brandingName:e.branding.name,updateToProLink:e.urls.upgradeToPro,supportLink:e.urls.support,aboutUsLink:e.urls.about}:void 0}],[r.b,e=>e.whiteLabel])},,function(e,t,o){"use strict";o.d(t,"a",(function(){return l}));var n=o(0),i=o.n(n),r=o(4),a=o.n(r);const l=({className:e,children:t})=>{const o=a()("brz-ed-component__label",e);return i.a.createElement("div",{className:o},t)}},function(e,t,o){"use strict";o.d(t,"a",(function(){return i})),o.d(t,"b",(function(){return r}));var n=o(14);const i=()=>n.a.get("user").isAuthorized?"connected":(()=>{switch(localStorage.getItem("brz-authorized")){case"pending":return"pending";case"connected":return"connected";default:return"disconnect"}})(),r=e=>{(e=>{localStorage.setItem("brz-authorized",e)})(e)}},function(e,t,o){"use strict";o.d(t,"d",(function(){return b})),o.d(t,"a",(function(){return m})),o.d(t,"e",(function(){return g})),o.d(t,"c",(function(){return f})),o.d(t,"b",(function(){return v}));var n=o(2),i=o(1),r=o(52),a=o(11),l=o(31),s=o(28),c=o(126),d=o(46);function p(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function u(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?p(Object(o),!0).forEach((function(t){Object(n.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):p(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const b=[s.a.flash,s.a.jackInTheBox,s.a.jello,s.a.lightSpeedIn,s.a.pulse,s.a.rollIn,s.a.rubberBand,s.a.tada,s.a.shake,s.a.swing,s.a.wobble],m=r.d({type:Object(a.b)(Object(d.c)("name"),l.d,Object(a.c)(Object(l.e)(l.a.Attention))),style:r.b([Object(a.b)(Object(d.c)("name"),e=>{switch(e){case s.a.flash:case s.a.jackInTheBox:case s.a.jello:case s.a.lightSpeedIn:case s.a.pulse:case s.a.rollIn:case s.a.rubberBand:case s.a.tada:case s.a.shake:case s.a.swing:case s.a.wobble:return e;default:return}}),()=>s.a.flash]),duration:c.b,delay:c.a}),h=e=>e.style,g=e=>({name:h(e),duration:e.duration,delay:e.delay}),f=e=>{switch(e){case s.a.flash:return Object(i.a)("Flash");case s.a.jackInTheBox:return Object(i.a)("JackInTheBox");case s.a.jello:return Object(i.a)("Jello");case s.a.lightSpeedIn:return Object(i.a)("LightSpeedIn");case s.a.pulse:return Object(i.a)("Pulse");case s.a.rollIn:return Object(i.a)("RollIn");case s.a.rubberBand:return Object(i.a)("RubberBand");case s.a.shake:return Object(i.a)("Shake");case s.a.swing:return Object(i.a)("Swing");case s.a.tada:return Object(i.a)("Tada");case s.a.wobble:return Object(i.a)("Wobble")}},v=(e,t)=>t.style===e?t:u(u({},t),{},{style:e})},,function(e,t,o){"use strict";o.d(t,"d",(function(){return ju})),o.d(t,"b",(function(){return Pu})),o.d(t,"c",(function(){return Tu}));var n=o(2),i=o(46),r=o(0),a=o.n(r),l=o(4),s=o.n(l),c=o(15),d=o(29),p=o(24),u=o(17);function b(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function m(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?b(Object(o),!0).forEach((function(t){Object(n.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):b(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}class h extends a.a.Component{constructor(...e){super(...e),Object(n.a)(this,"state",{isSidebarOpen:!1}),Object(n.a)(this,"handleLabelClick",()=>{const e=Object(d.b)(),{rightSidebar:t}=Object(u.R)(e.getState());t.isOpen||this.setState({isSidebarOpen:!0},()=>{e.dispatch(Object(p.S)("rightSidebar",m(m({},t),{},{isOpen:!0})))})})}componentWillUnmount(){const e=Object(d.b)(),{rightSidebar:t}=Object(u.R)(e.getState());this.state.isSidebarOpen&&void 0===t.lock&&e.dispatch(Object(p.S)("rightSidebar",m(m({},t),{},{isOpen:!1})))}renderIcon(){const{icon:e}=this.props;return a.a.createElement("div",{className:"brz-ed-option__icon"},a.a.createElement(c.b,{icon:e}))}renderLabel(){const{label:e,helper:t,helperContent:o}=this.props;return a.a.createElement("div",{className:"brz-ed-option__label"},e,t&&a.a.createElement("div",{className:"brz-ed-option__helper"},a.a.createElement(c.b,{icon:"nc-alert-circle-que"}),a.a.createElement("div",{className:"brz-ed-option__helper__content",dangerouslySetInnerHTML:{__html:o}})))}render(){const{className:e,icon:t,label:o,helper:n,attr:i,title:r}=this.props,l=s()("brz-ed-option__advanced","brz-ed-option__inline",e,i.className);return a.a.createElement("div",{className:l,title:r,onClick:this.handleLabelClick},t&&this.renderIcon(),(o||n)&&this.renderLabel())}}Object(n.a)(h,"defaultProps",{className:"",icon:"nc-cog",title:"",label:"",sidebarLabel:"",helper:!1,helperContent:"",attr:{}});var g=o(9),f=o(39),v=o(6),y=o(32),S=o(101),O=o(53),x=o(51),C=o(1);function B(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function j(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?B(Object(o),!0).forEach((function(t){Object(n.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):B(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}class P extends a.a.Component{constructor(...e){super(...e),Object(n.a)(this,"anchorInputRefs",[]),Object(n.a)(this,"handleThumbnailClick",e=>{this.props.value===e?this.props.onChange(""):this.props.onChange(e)}),Object(n.a)(this,"handleInputChange",v.default.debounce((e,t)=>{const{pageBlocks:o,globalBlocks:n,dispatch:i}=this.props,r=encodeURIComponent(e);let a=r;if(""!==a){const e=o.filter(e=>e.value._id!==t).map(e=>("GlobalBlock"===e.type&&(e=n[e.value._id].data),e.value.anchorName));let i=!1,l=0;do{i=!1;for(let t of e)if(a===t){i=!0,a=r+"-"+(1+ ++l);break}}while(i)}const l=o.find(({type:e,value:o})=>"GlobalBlock"===e?n[o._id].data.value._id===t:o._id===t);if("GlobalBlock"!==l.type){const e=o.map(e=>e.value._id===t?j(j({},e),{},{value:j(j({},e.value),{},{anchorName:a})}):e);i(Object(p.G)({blocks:e}))}else{const e=l.value._id,t=Object(f.a)(n[e],e=>{e.data.value.anchorName=a});i(Object(p.M)(t))}this.anchorInputRefs[t].setValue(a)},1e3))}componentWillUnmount(){this.handleInputChange.cancel(),this.anchorInputRefs=null}renderLabel(){const{label:e,helper:t,helperContent:o}=this.props,n=t?a.a.createElement("div",{className:"brz-ed-option__helper"},a.a.createElement(c.b,{icon:"nc-alert-circle-que"}),a.a.createElement("div",{className:"brz-ed-option__helper__content",dangerouslySetInnerHTML:{__html:o}})):null;return a.a.createElement("div",{className:"brz-ed-option__label"},e,n)}renderThumbnails(){const{value:e,pageBlocksAssembled:t,globalBlocks:o}=this.props;return t.filter(e=>"unlisted"!==e.value._blockVisibility).map(t=>{"GlobalBlock"===t.type&&(t=o[t.value._id].data);const{_id:n,anchorName:i}=t.value,r=s()("brz-ed-option__block-thumbnail-item",{active:n===e}),l=i?decodeURIComponent(i):"";return a.a.createElement("div",{key:n,className:r,onClick:()=>this.handleThumbnailClick(n)},a.a.createElement(T,{blockData:t}),a.a.createElement(w,{ref:e=>{e&&(this.anchorInputRefs[n]=e)},id:n,value:l,onChange:e=>this.handleInputChange(e,n)}))})}render(){const{className:e,attr:t,label:o,helper:n,display:i}=this.props,r=s()("brz-ed-option__block-thumbnail","brz-ed-option__"+i,e,t.className);return a.a.createElement("div",Object(g.a)({},t,{className:r}),o||n?this.renderLabel():null,a.a.createElement(S.a,{style:{height:"100%",overflow:"hidden"},className:"brz-ed-scroll-pane brz-ed-scroll--small brz-ed-scroll--darker"},this.renderThumbnails()))}}Object(n.a)(P,"defaultProps",{label:"",className:"",attr:{},helper:!1,helperContent:"",display:"inline",value:""});class T extends a.a.Component{constructor(...e){super(...e),Object(n.a)(this,"state",{blockData:this.props.blockData,imageFetched:!1,showSpinner:!0})}componentDidMount(){this.mounted=!0,this.preloadThumbnail(this.state.blockData)}preloadThumbnail(e){let t=!1;const{url:o}=Object(O.b)(e);return Object(x.f)(o).then(()=>{this.mounted&&!t&&this.setState({imageFetched:!0,showSpinner:!1,blockData:e})}),()=>t=!0}render(){const{blockData:e,imageFetched:t,showSpinner:o}=this.state,{url:n,width:i,height:r}=Object(O.b)(e),l={width:132,height:132*r/i},s=o?{}:{display:"none"};return a.a.createElement("div",{className:"brz-ed-option__block-thumbnail-image",style:l},a.a.createElement("div",{className:"brz-ed-option__block-thumbnail-loading",style:s},a.a.createElement(c.b,{icon:"nc-circle-02",className:"brz-ed-animated--spin"})),t&&a.a.createElement("img",{className:"brz-img",src:n}))}}class w extends a.a.Component{constructor(...e){super(...e),Object(n.a)(this,"state",{inputValue:this.props.value}),Object(n.a)(this,"handleContainerClick",e=>{e.stopPropagation()}),Object(n.a)(this,"handleInputChange",e=>{this.setState({inputValue:e.target.value},()=>{this.props.onChange(this.state.inputValue)})})}setValue(e){this.state.inputValue!==e&&this.setState({inputValue:e})}render(){const{id:e}=this.props,t="anchor-"+e;return a.a.createElement("div",{className:"brz-ed-option__block-thumbnail-anchor",onClick:this.handleContainerClick},a.a.createElement("span",{className:"brz-span"},"#"),a.a.createElement("input",{className:"brz-input",type:"text",autoComplete:"off",placeholder:Object(C.a)("block-name"),value:this.state.inputValue,onChange:this.handleInputChange,id:t}),a.a.createElement("label",{className:"brz-label",htmlFor:t},a.a.createElement(c.b,{icon:"nc-pen"})))}}var E=Object(y.b)(e=>({pageBlocks:Object(u.C)(e),pageBlocksAssembled:Object(u.y)(e),globalBlocks:Object(u.q)(e)}))(P);class z extends a.a.Component{constructor(...e){super(...e),Object(n.a)(this,"handleMouseDown",e=>{e.preventDefault(),this.props.onChange(!this.props.value)})}render(){const{className:e,attr:t,value:o,icon:n,title:i}=this.props,r=s()("brz-ed-option__button",{"brz-ed-toolbar--active":o},e,t.className),l=v.default.omit(t,"className");return a.a.createElement("div",Object(g.a)({className:r,title:i,onMouseDown:this.handleMouseDown},l),a.a.createElement(c.b,{icon:n}))}}Object(n.a)(z,"defaultProps",{className:"",attr:{},icon:"nc-circle-add",title:"Add",value:!1});var k=z,F=o(67),_=o(133),R=o(68),H=o(22),L=o(59),M=o(63),I=o(173),W=o(43);const N=({value:e},t)=>!!e&&e._id===t;class V extends r.Component{constructor(...e){super(...e),Object(n.a)(this,"state",{loading:!1,active:!1}),Object(n.a)(this,"mounted",!1),Object(n.a)(this,"handleCreateSaveBlock",async()=>{const{blockType:e,extraFontStyles:t,value:{blockId:o}}=this.props,n={extraFontStyles:t,type:e},i=this.getBlock();if(!i){const t="normal"===e?Object(C.a)("Could not Create Saved Block"):Object(C.a)("Could not Create Saved Popup");return R.a.error(t),void(this.mounted&&this.state.loading&&this.setState({loading:!1}))}let r;try{r=await Object(_.a)()}catch(e){r=!1}if(r){const e=document.getElementById(o);if(e){const{src:t,width:o,height:i}=await Object(_.b)(e).catch(()=>({src:void 0,width:void 0,height:void 0}));if(t&&Object(W.d)(o)&&Object(W.d)(i)){const{id:e}=await Object(H.b)({base64:t,blockType:"saved"}).catch(()=>({id:void 0}));e&&(n._thumbnailSrc=e,n._thumbnailWidth=o,n._thumbnailHeight=i,n._thumbnailTime=Date.now())}}}await Object(H.d)({data:i,meta:n,uid:Object(M.a)(),dataVersion:1}).catch(t=>{"normal"===e?R.a.error(Object(C.a)("Could not Create Saved Block")):R.a.error(Object(C.a)("Could not Create Saved Popup")),console.error(t)}),r||R.a.warn(Object(C.a)("Your block was saved without screenshot, browser is not compatible"),{hideAfter:5}),this.mounted&&this.setState({loading:!1})}),Object(n.a)(this,"handleClick",async()=>{if(this.state.loading)return;this.setState({loading:!0});if(Object(I.b)()||this.props.isAuthorized)await this.handleCreateSaveBlock();else{const e={mode:"stack",prompt:"authorization",props:{onClose:this.handleCreateSaveBlock,onSkip:this.handleCreateSaveBlock,onSuccess:this.handleCreateSaveBlock}};F.a.open(e)}})}componentDidMount(){this.mounted=!0}componentWillUnmount(){this.mounted=!1}getBlock(){const{blockType:e,pageBlocks:{items:t},value:{blockId:o}}=this.props;let n;return n="normal"===e?t.find(e=>N(e,o)):Object(L.a)(t,e=>N(e,o)).obj,n}renderTooltip(){const{tooltipContent:e}=this.props,{loading:t,active:o}=this.state,n=s()("brz-ed-toolbar__item__tooltip",{"brz-ed-animated brz-ed-animated--fadeIn active":o});return!t&&a.a.createElement("div",{className:n},e)}render(){const{attr:e,icon:t,title:o,tooltipContent:n,className:i}=this.props,{loading:r}=this.state,l=s()("brz-ed-option__button",i,e.className);return a.a.createElement("div",Object(g.a)({},e,{className:l,title:o,onClick:this.handleClick}),n&&this.renderTooltip(),r?a.a.createElement(c.b,{icon:"nc-circle-02",className:"brz-ed-animated--spin"}):a.a.createElement(c.b,{icon:t,className:"brz-ed-animated brz-ed-animated--fadeIn"}))}}Object(n.a)(V,"defaultProps",{className:"",attr:{},icon:"nc-circle-add",title:"Add",tooltipContent:"",blockType:"normal",value:{blockId:""},pageBlocks:{items:[]},extraFontStyles:[],isAuthorized:!1});var A=Object(y.b)(e=>({isAuthorized:"connected"===e.authorized||"pending"===e.authorized,pageBlocks:Object(u.E)(e),extraFontStyles:Object(u.n)(e)}))(V),D=o(169),$=o(16),G=o(181),U=o(182);var K=o(42),Y=o.n(K);class q{static render(e){const t=e||document.body,o=t&&t.ownerDocument;if(t&&o){const e=a.a.createElement(c.b,{icon:"nc-circle-02",className:"brz-ed-animated--spin"}),n=o.createElement("div");return n.className="brz-ed-portal__loading",t.append(n),q.opened.add(n),Y.a.render(e,n),n}}static close(e){e&&(e.remove(),q.opened.delete(e))}static closeAll(){q.opened.forEach(e=>{e.remove()}),q.opened.clear()}}Object(n.a)(q,"opened",new Set);var X=o(48),J=o(14),Z=o(36);function Q(e,t){let o=[];switch(e){case"block":{const e=Object(d.b)().getState(),n=Object(u.u)(e),{rules:i}=n[t];o=[{id:"rules",type:"rules",icon:"nc-eye-17",label:Object(C.a)("Conditions"),title:Object(C.a)("WHERE DO YOU WANT TO DISPLAY IT?"),value:i,onChange:({data:{rules:e},meta:o})=>{Object(d.b)().dispatch(Object(p.L)({data:{rules:e,id:t},meta:o}))}}];break}case"popup":if(o=[{id:"triggers",type:"triggers",icon:"nc-triggers",label:Object(C.a)("Triggers"),title:Object(C.a)("WHAT WILL TRIGGER THE POPUP TO OPEN")}],!$.a){const e=Z.b?()=>{var e;return Object(H.x)(null===(e=J.a.get("page"))||void 0===e?void 0:e.id)}:()=>Object(H.x)("");o.push({id:"rules",type:"rules",icon:"nc-eye-17",label:Object(C.a)("Conditions"),title:Object(C.a)("WHERE DO YOU WANT TO DISPLAY IT?"),asyncGetValue:e,onChange:e=>{Object(d.b)().dispatch(Object(X.C)(e))}})}break;default:console.error("type should be given!!!")}return o}const ee=({children:e,value:t,type:o="block"})=>a.a.cloneElement(a.a.Children.only(e),{onMouseDown:()=>{F.a.open({prompt:"conditions",mode:"single",props:{options:Q(o,t)}})}});function te(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function oe(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?te(Object(o),!0).forEach((function(t){Object(n.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):te(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const ne=()=>{let e="";return new Map([...U.a,...G.a]).forEach(t=>{t.state.isOpened&&(e=t.instanceKey)}),e},ie=e=>{const t=new Map([...U.a,...G.a]).get(e);t&&t.open()};class re extends r.Component{constructor(...e){super(...e),Object(n.a)(this,"mounted",!1),Object(n.a)(this,"switchKey",Math.random()),Object(n.a)(this,"isGlobalBlock",()=>{const{value:{_id:e},globalBlocks:t}=this.props;return Object.keys(t).includes(e)}),Object(n.a)(this,"handleChange",async e=>{const{blockType:t,extraFontStyles:o,pageBlocks:n,makeNormalToGlobalBlock:i,makeGlobalToNormalBlock:r,makePopupToGlobalBlock:a,makeGlobalBlockToPopup:l,value:{_id:s,parentId:c}}=this.props,d=document.querySelector(`[id='${s}']`),p=q.render(d),u=Object($.h)(n,s);if(e){if(d&&u){const e=await(async e=>{if(await Object(_.a)()){const{src:t,width:o,height:n}=await Object(_.b)(e),{id:i}=await Object(H.b)({base64:t,blockType:"global"});return{_thumbnailSrc:i,_thumbnailWidth:o,_thumbnailHeight:n,_thumbnailTime:Date.now()}}})(d),n={extraFontStyles:o,type:t};e&&(n._thumbnailSrc=e._thumbnailSrc,n._thumbnailWidth=e._thumbnailWidth,n._thumbnailHeight=e._thumbnailHeight,n._thumbnailTime=e._thumbnailTime);const r=Object(O.j)();Object.prototype.hasOwnProperty.call(u,"deleted")&&(u.deleted=!1);const l={meta:n,status:"draft",data:u,rules:Object(O.n)(u)?[]:[{type:1,appliedFor:r.group,entityType:r.type,entityValues:[r.id]}],position:null};await Object(H.c)(l).then(e=>{if(!e||!e.data)throw e;{q.close(p);const e="popup"===t&&ne();"popup"===t?a(l):i(l),e&&ie(e),($.c||$.a)&&F.a.open({prompt:"conditions",mode:"single",props:{options:Q("normal"===this.props.blockType?"block":"popup",this.props.value._id)}})}}).catch(e=>{q.close(p),this.switchKey=Math.random(),this.mounted&&this.forceUpdate(),"popup"===t?R.a.error(Object(C.a)("Could not Create Global Popup")):R.a.error(Object(C.a)("Could not Create Global Block")),console.error(e)})}}else if(await Object(H.G)(),this.isGlobalBlock()){const e=Object($.p)(this.props.blocksData[s]),o="popup"===t&&ne();q.close(p);const n={block:e,fromBlockId:s};"popup"===t&&c?(l(oe(oe({},n),{},{parentId:c})),o&&ie(o)):r(n)}})}componentDidMount(){this.mounted=!0}componentWillUnmount(){this.mounted=!1}renderLabel(){const{label:e,helper:t,helperContent:o}=this.props;return a.a.createElement("div",{className:"brz-ed-option__label brz-ed-option__switch__label"},e,t&&a.a.createElement("div",{className:"brz-ed-option__helper"},a.a.createElement(c.b,{icon:"nc-alert-circle-que"}),a.a.createElement("div",{className:"brz-ed-option__helper__content",dangerouslySetInnerHTML:{__html:o}})))}render(){const{label:e,display:t,helper:o,attr:n={},className:i}=this.props,r=s()("brz-ed-option__global-block","brz-ed-option__"+t,i,n.className);return a.a.createElement("div",Object(g.a)({},n,{className:r}),(e||o)&&this.renderLabel(),a.a.createElement(D.a,{key:this.switchKey,defaultValue:this.isGlobalBlock(),onChange:this.handleChange}))}}Object(n.a)(re,"defaultProps",{blockType:"normal",className:"",label:"",display:"inline",attr:{},helper:!1,helperContent:"",extraFontStyles:[],pageBlocks:[],blocksData:{},globalBlocks:{},value:{_id:"",parentId:void 0},makeNormalToGlobalBlock:v.noop,makeGlobalToNormalBlock:v.noop,makePopupToGlobalBlock:v.noop,makeGlobalBlockToPopup:v.noop});var ae=Object(y.b)(e=>({extraFontStyles:Object(u.n)(e),pageBlocks:Object(u.A)(e),globalBlocks:Object(u.q)(e),blocksData:Object(u.b)(e)}),e=>({makeNormalToGlobalBlock:t=>e(Object(p.x)(t)),makeGlobalToNormalBlock:t=>e(Object(p.w)(t)),makePopupToGlobalBlock:t=>e(Object(p.y)(t)),makeGlobalBlockToPopup:t=>e(Object(p.v)(t))}))(re),le=o(69);let se;se=o(414),o(416),o(200);class ce extends a.a.Component{constructor(e){super(e),Object(n.a)(this,"state",{value:""}),Object(n.a)(this,"lastUpdatedValue",""),Object(n.a)(this,"onChange",e=>this.setState({value:e},this.onChangeDebounced)),Object(n.a)(this,"onChangeDebounced",v.default.debounce(()=>{this.props.onChange(this.state.value),this.lastUpdatedValue=this.state.value},1e3)),this.state={value:e.value}}renderLabel(){const{label:e,helper:t,helperContent:o}=this.props,n=t?a.a.createElement("div",{className:"brz-ed-option__helper"},a.a.createElement(le.c,{placement:"bottom",openOnClick:!1,overlay:a.a.createElement("div",{className:"brz-ed-option__helper__content",dangerouslySetInnerHTML:{__html:o}})},a.a.createElement(c.b,{icon:"nc-alert-circle-que"}))):null;return a.a.createElement("div",{className:"brz-ed-option__label brz-ed-option__code__label"},e,n)}render(){const{label:e,className:t,helper:o,display:n,lineNumbers:i,attr:r,placeholder:l}=this.props,c=s()("brz-ed-option__code","brz-ed-option__"+n,t,r.className),d=v.default.omit(r,"className"),p={lineNumbers:i,tabSize:2,placeholder:l,mode:"css"};return a.a.createElement("div",Object(g.a)({className:c},d),e||o?this.renderLabel():null,a.a.createElement(se,{value:this.state.value,onChange:this.onChange,options:p}))}}Object(n.a)(ce,"defaultProps",{className:"",label:"",placeholder:"",helper:!1,helperContent:"",attr:{},display:"inline",lineNumbers:!1,value:"",onChange:v.default.noop});var de=ce,pe=o(193),ue=o.n(pe);function be(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}var me={simpleCheckForValidColor(e){let t=0,o=0;return v.default.each(["r","g","b","a","h","s","l","v"],n=>{if(e[n]&&(t+=1,isNaN(e[n])||(o+=1),"s"===n||"l"===n)){/^\d+%$/.test(e[n])&&(o+=1)}}),t===o&&e},toState(e,t,o){const i=e.hex?ue()(e.hex):ue()(e),r=i.toHsl(),a=i.toHsv(),l=i.toRgb(),s=i.toHex();0===r.s&&(r.h=t||0,a.h=t||0);let c={};return e.hex||0===a.v||(c={hsv:a}),o||(c={hsv:a}),"saturation"===e.wasChanged&&(c={hsv:{h:a.h,s:0===a.s?e.s/100:a.s,v:a.v}}),"hue"!==e.wasChanged&&"opacity"!==e.wasChanged||(c={}),function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?be(Object(o),!0).forEach((function(t){Object(n.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):be(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({hsl:r,hex:"#"+s,rgb:l,oldHue:e.h||t||r.h,source:e.source},c)},isValidHex:e=>ue()(e).isValid(),getContrastingColor(e){if(!e)return"#fff";const t=this.toState(e);if("transparent"===t.hex)return"rgba(0,0,0,0.4)";return(299*t.rgb.r+587*t.rgb.g+114*t.rgb.b)/1e3>=128?"#000":"#fff"}};class he extends r.Component{constructor(e){super(e),Object(n.a)(this,"onHexChange",({target:{value:e}})=>{const{value:{opacity:t},onChange:o}=this.props;this.setState({hex:e}),e.length<6||!me.isValidHex(e)||o({hex:(e="#"===e[0]?e:"#"+e).toLowerCase(),opacity:t,isChanged:"hex"})}),this.state={hex:e.value.hex||"#000000",prevHex:e.value.hex||"#000000"}}static getDerivedStateFromProps({value:{hex:e}},t){return e!==t.prevHex?{hex:e||"#000000",prevHex:e}:null}render(){return a.a.createElement("input",{id:"hex",className:"brz-input",autoComplete:"off",value:this.state.hex,onChange:this.onHexChange})}}Object(n.a)(he,"defaultProps",{value:{hex:"#000000"}}),he.defaultProps={value:{hex:"#000000",opacity:1},onChange:v.default.noop};class ge extends a.a.Component{render(){const{className:e,attr:t,value:o,onChange:n}=this.props,i=s()("brz-ed-option__color-picker__hex",e,t.className),r=v.default.omit(t,"className");return a.a.createElement("div",Object(g.a)({className:i},r),a.a.createElement(he,{value:o,onChange:n}))}}Object(n.a)(ge,"defaultProps",{className:"",attr:{},value:{hex:"#000000",opacity:1},onChange:v.default.noop});var fe=ge,ve=o(12);class ye extends a.a.Component{constructor(...e){super(...e),Object(n.a)(this,"handleSidebarOpen",()=>{Object(d.b)().dispatch(Object(p.S)("leftSidebar",{isOpen:!0,drawerContentType:"styling"}))})}render(){const{className:e,colors:t,value:o,onChange:n}=this.props,i=s()("brz-ed-option__color-palette",e),r=(t||Object(ve.c)()).map(e=>{const t=s()("brz-ed-option__color-palette__item",{active:e.id===o}),i={backgroundColor:e.hex};return a.a.createElement("div",{key:e.id,className:t,style:i,onClick:()=>n(e.id)})});return a.a.createElement("div",{className:i},r,a.a.createElement("div",{className:"brz-ed-option__color-palette__icon",onClick:this.handleSidebarOpen},a.a.createElement(c.b,{icon:"nc-cog"})))}}Object(n.a)(ye,"defaultProps",{className:"",colors:null,value:"",onChange:()=>console.log("ColorPalette default onChange")});var Se=ye;class Oe extends a.a.Component{constructor(...e){super(...e),Object(n.a)(this,"handleSidebarOpen",()=>{Object(d.b)().dispatch(Object(p.S)("leftSidebar",{isOpen:!0,drawerContentType:"styling"}))})}render(){const{className:e,colors:t,value:o,onChange:n}=this.props,i=s()("brz-ed-option__color-palette2",e),r=(t||Object(ve.c)()).map(e=>{const t=s()("brz-ed-option__color-palette2__item",{active:e.id===o}),i={backgroundColor:e.hex};return a.a.createElement("div",{key:e.id,className:t,style:i,onClick:()=>n(e.id)})});return a.a.createElement("div",{className:i},r,a.a.createElement("div",{className:"brz-ed-option__color-palette2__icon",onClick:this.handleSidebarOpen},a.a.createElement(c.b,{icon:"nc-cog"})))}}Object(n.a)(Oe,"defaultProps",{className:"",colors:null,value:"",onChange:()=>console.log("ColorPalette default onChange")});var xe=Oe,Ce=o(13);function Be(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function je(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Be(Object(o),!0).forEach((function(t){Object(n.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Be(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}class Pe extends a.a.Component{constructor(...e){super(...e),Object(n.a)(this,"state",{active:null}),Object(n.a)(this,"handleToolbarOpen",e=>{this.setState({active:e})}),Object(n.a)(this,"handleToolbarClose",()=>{this.setState({active:null})}),Object(n.a)(this,"renderLabel",()=>{const{label:e,helper:t,helperContent:o}=this.props,n=t?a.a.createElement("div",{className:"brz-ed-option__helper"},a.a.createElement(c.b,{icon:"nc-alert-circle-que"}),a.a.createElement("div",{className:"brz-ed-option__helper__content",dangerouslySetInnerHTML:{__html:o}})):null;return a.a.createElement("div",{className:"brz-ed-option__label brz-ed-option__color-palette-editor__label"},e,n)})}handleColorChange(e,t){const o=this.props.value.map((o,n)=>n===t?je(je({},o),{},{hex:e.hex}):o);this.props.onChange(o)}render(){const{className:e,attr:t,label:o,helper:n,value:i}=this.props,r=i.map((e,t)=>{const o=s()("brz-ed-option__color-palette-editor__item",{active:t===this.state.active}),n={backgroundColor:e.hex};return a.a.createElement(Ce.c,{key:t,getItems:()=>[{id:"settings",type:"popover",icon:"nc-cog",display:"inside",size:"auto",onOpenDirect:!0,position:90,options:[{id:"backgroundColor",type:"colorPicker",label:"Color HEX",disableOpacity:!0,value:{hex:e.hex,opacity:1},onChange:e=>this.handleColorChange(e,t)},{type:"grid",className:"brz-ed-grid__color-fileds",columns:[{width:100,options:[{id:"backgroundColorFields",type:"colorFields",disableOpacity:!0,value:{hex:e.hex,opacity:1},onChange:e=>this.handleColorChange(e,t)}]}]}]}],onOpen:()=>this.handleToolbarOpen(t),onClose:this.handleToolbarClose},a.a.createElement("div",{className:o,style:n}))}),l=s()("brz-ed-option__color-palette-editor",e,t.className);return a.a.createElement("div",Object(g.a)({},t,{className:l}),o||n?this.renderLabel():null,r)}}Object(n.a)(Pe,"defaultProps",{className:"",helperContent:"",helper:!1,attr:{},value:[]});var Te=Pe;const we={},Ee=(e,t,o,n)=>{const i=`${e}-${t}-${o}${n?"-server":""}`,r=((e,t,o,n)=>{if("undefined"==typeof document&&!n)return null;const i=n?new n:document.createElement("canvas");i.width=2*o,i.height=2*o;const r=i.getContext("2d");return r?(r.fillStyle=e,r.fillRect(0,0,i.width,i.height),r.fillStyle=t,r.fillRect(0,0,o,o),r.translate(o,o),r.fillRect(0,0,o,o),i.toDataURL()):null})(e,t,o,n);return we[i]?we[i]:(we[i]=r,r)},ze=({white:e,grey:t,size:o,renderers:n,borderRadius:i,boxShadow:r})=>{const l={borderRadius:i,boxShadow:r,absolute:"0px 0px 0px 0px",background:`url(${Ee(e,t,o,n.canvas)}) center left`};return a.a.createElement("div",{style:l})};ze.defaultProps={size:8,white:"transparent",grey:"rgba(0,0,0,.08)",renderers:{}};var ke=ze;function Fe(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function _e(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Fe(Object(o),!0).forEach((function(t){Object(n.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Fe(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}class Re extends r.Component{constructor(e){super(e),Object(n.a)(this,"change",null),Object(n.a)(this,"handleChange",(e,t)=>{const o=this.props.contentWindow();this.change=((e,t,o,n)=>{e.preventDefault();const i=n.clientWidth,r=n.clientHeight,a="number"==typeof e.pageX?e.pageX:e.touches[0].pageX,l="number"==typeof e.pageY?e.pageY:e.touches[0].pageY,s=a-(n.getBoundingClientRect().left+t.pageXOffset),c=l-(n.getBoundingClientRect().top+t.pageYOffset);if("vertical"===o.direction){let e;if(e=c<0?0:c>r?1:Math.round(100*c/r)/100,o.hsl.a!==e)return{h:o.hsl.h,s:o.hsl.s,l:o.hsl.l,a:e,source:"rgb"}}else{let e;if(e=s<0?0:s>i?1:Math.round(100*s/i)/100,o.a!==e)return{h:o.hsl.h,s:o.hsl.s,l:o.hsl.l,a:e,source:"rgb"}}return null})(e,o,this.props,this.container)||this.change,this.change&&(this.change.a=1-this.change.a,this.props.onChange&&this.props.onChange(_e(_e({},this.change),{},{opacityDragEnd:t,wasChanged:"opacity"}),e))}),Object(n.a)(this,"handleMouseDown",e=>{this.handleChange(e);const t=this.props.contentWindow();t.addEventListener("mousemove",this.handleChange),t.addEventListener("mouseup",this.handleMouseUp),this.setState({showTooltip:!0})}),Object(n.a)(this,"handleMouseUp",e=>{this.handleChange(e,!0),this.unbindEventListeners(),this.setState({showTooltip:!1}),this.change=null}),Object(n.a)(this,"unbindEventListeners",()=>{const e=this.props.contentWindow();e.removeEventListener("mousemove",this.handleChange),e.removeEventListener("mouseup",this.handleMouseUp)}),this.state={showTooltip:!1}}componentWillUnmount(){this.unbindEventListeners()}render(){const{direction:e,rgb:t}=this.props,o={background:`linear-gradient(${"vertical"===e?"to top":"to right"}, rgba(${t.r},${t.g},${t.b}, 0) 0%,\n rgba(${t.r},${t.g},${t.b}, 1) 100%)`,boxShadow:this.props.shadow,borderRadius:this.props.radius},n="vertical"===e?{left:0,top:100*(1-t.a)+"%"}:{left:100*t.a+"%"};return a.a.createElement("div",{className:"color-picker-alpha-body",style:{borderRadius:this.props.radius}},a.a.createElement("div",{className:"color-picker-alpha-checkboard"},a.a.createElement(ke,{renderers:this.props.renderers})),a.a.createElement("div",{className:"color-picker-alpha-gradient",style:o}),a.a.createElement("div",{className:"color-picker-alpha-container",ref:e=>this.container=e,onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},a.a.createElement("div",{className:"color-picker-alpha-pointer",style:n},this.props.pointer?this.props.pointer(this.props,this.state.showTooltip):a.a.createElement("div",{className:"color-picker-alpha-slider"}))))}}Object(n.a)(Re,"defaultProps",{contentWindow:()=>window});function He(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Le(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?He(Object(o),!0).forEach((function(t){Object(n.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):He(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const Me=e=>{class t extends r.Component{constructor(e){super(),Object(n.a)(this,"handleChange",(e,t)=>{if(me.simpleCheckForValidColor(e)){const o=me.toState(e,e.h||this.state.oldHue,e.hsv||this.state.hsv);this.setState(o),this.props.onChangeComplete&&this.debounce(this.props.onChangeComplete,o,t),this.props.onChange&&this.props.onChange(Le(Le({},o),{},{wasChanged:e.wasChanged,opacityDragEnd:e.opacityDragEnd}),t)}}),Object(n.a)(this,"handleSwatchHover",(e,t)=>{if(me.simpleCheckForValidColor(e)){const o=me.toState(e,e.h||this.state.oldHue,e.hsv||this.state.hsv);this.setState(o),this.props.onSwatchHover&&this.props.onSwatchHover(o,t)}}),this.state=Le({},me.toState(e.color,0,null)),this.debounce=v.default.debounce((e,t,o)=>{e(t,o)},100)}render(){const t={};return this.props.onSwatchHover&&(t.onSwatchHover=this.handleSwatchHover),a.a.createElement(e,Object(g.a)({},this.props,this.state,{onChange:this.handleChange},t))}}return t.propTypes=Le({},e.propTypes),t.defaultProps=Le(Le({},e.defaultProps),{},{color:{h:250,s:.5,l:.2,a:1}}),t};function Ie(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function We(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Ie(Object(o),!0).forEach((function(t){Object(n.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Ie(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}class Ne extends r.Component{constructor(...e){super(...e),Object(n.a)(this,"handleChange",e=>{const t=((e,t,o,n)=>{e.preventDefault();const i=n.clientWidth,r=n.clientHeight,a="number"==typeof e.pageX?e.pageX:e.touches[0].pageX,l="number"==typeof e.pageY?e.pageY:e.touches[0].pageY,s=a-(n.getBoundingClientRect().left+t.pageXOffset),c=l-(n.getBoundingClientRect().top+t.pageYOffset);if("vertical"===o.direction){let e;if(c<0)e=359;else if(c>r)e=0;else{e=360*(-100*c/r+100)/100}if(o.hsl.h!==e)return{h:e,s:o.hsl.s,l:o.hsl.l,a:o.hsl.a,source:"rgb"}}else{let e;if(s<0)e=0;else if(s>i)e=359;else{e=360*(100*s/i)/100}if(o.hsl.h!==e)return{h:e,s:o.hsl.s,l:o.hsl.l,a:o.hsl.a,source:"rgb"}}return null})(e,this.props.contentWindow(),this.props,this.container);t&&this.props.onChange&&this.props.onChange(We(We({},t),{},{wasChanged:"hue"}),e)}),Object(n.a)(this,"handleMouseDown",e=>{this.handleChange(e,!0);const t=this.props.contentWindow();t.addEventListener("mousemove",this.handleChange),t.addEventListener("mouseup",this.handleMouseUp)}),Object(n.a)(this,"handleMouseUp",()=>{this.unbindEventListeners()})}componentWillUnmount(){this.unbindEventListeners()}unbindEventListeners(){const e=this.props.contentWindow();e.removeEventListener("mousemove",this.handleChange),e.removeEventListener("mouseup",this.handleMouseUp)}render(){const{direction:e="horizontal"}=this.props,t={hue:{borderRadius:this.props.radius,boxShadow:this.props.shadow},pointer:{left:100*this.props.hsl.h/360+"%"}},o={left:"0px",top:-100*this.props.hsl.h/360+100+"%"};return a.a.createElement("div",{className:"hue",style:t.hue},a.a.createElement("div",{className:s()("hue-"+e,"hue-container"),style:t.container,ref:e=>this.container=e,onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},a.a.createElement("div",{style:o,className:"hue-pointer"},this.props.pointer?a.a.createElement(this.props.pointer,this.props):a.a.createElement("div",{className:"hue-slider"}))))}}Object(n.a)(Ne,"defaultProps",{contentWindow:()=>window});function Ve(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Ae(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Ve(Object(o),!0).forEach((function(t){Object(n.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Ve(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}class De extends r.Component{constructor(e){super(e),Object(n.a)(this,"handleChange",e=>{const t=this.props.contentWindow();this.props.onChange&&this.throttle(this.props.onChange,((e,t,o,n)=>{e.preventDefault();const{width:i,height:r}=n.getBoundingClientRect(),a="number"==typeof e.pageX?e.pageX:e.touches[0].pageX,l="number"==typeof e.pageY?e.pageY:e.touches[0].pageY;let s=a-(n.getBoundingClientRect().left+t.pageXOffset),c=l-(n.getBoundingClientRect().top+t.pageYOffset);s<0?s=0:s>i?s=i:c<0?c=0:c>r&&(c=r);const d=100*s/i,p=-100*c/r+100;return{h:o.hsl.h,s:d,v:p,a:o.hsl.a,source:"rgb"}})(e,t,this.props,this.container),e)}),Object(n.a)(this,"handleMouseDown",e=>{this.handleChange(e,!0);const t=this.props.contentWindow();t.addEventListener("mousemove",this.handleChange),t.addEventListener("mouseup",this.handleMouseUp)}),Object(n.a)(this,"handleMouseUp",()=>{this.unbindEventListeners()}),this.throttle=v.default.throttle((e,t,o)=>{e(Ae(Ae({},t),{},{wasChanged:"saturation"}),o)},50)}componentWillUnmount(){this.unbindEventListeners()}unbindEventListeners(){const e=this.props.contentWindow();e.removeEventListener("mousemove",this.handleChange),e.removeEventListener("mouseup",this.handleMouseUp)}render(){const e={color:{background:`hsl(${this.props.hsl.h},100%, 50%)`,borderRadius:this.props.radius},white:{borderRadius:this.props.radius},black:{boxShadow:this.props.shadow,borderRadius:this.props.radius},pointer:{top:-100*this.props.hsv.v+100+"%",left:100*this.props.hsv.s+"%"}};return a.a.createElement("div",{style:e.color,className:"color-picker-saturation-body",ref:e=>this.container=e,onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},a.a.createElement("div",{style:e.white,className:"saturation-white"},a.a.createElement("div",{style:e.black,className:"saturation-black"}),a.a.createElement("div",{style:e.pointer,className:"saturation-pointer"},this.props.pointer?a.a.createElement(this.props.pointer,this.props):a.a.createElement("div",{className:"saturation-circle"}))))}}Object(n.a)(De,"defaultProps",{contentWindow:()=>window});class $e extends r.Component{constructor(...e){super(...e),Object(n.a)(this,"renderPointer",()=>a.a.createElement("div",{className:"color-picker-pointer"})),Object(n.a)(this,"renderPointerOpacity",({rgb:{a:e}},t)=>(e*=100,a.a.createElement("div",{className:"color-picker-pointer"},t&&a.a.createElement("div",{className:"color-picker-pointer-tooltip"},Math.round(e),"%"))))}render(){const{className:e,contentWindow:t,disableOpacity:o,hsl:n,hsv:i,rgb:r,renderers:l,onChange:c}=this.props,d=s()("brz-ed-control__colorPicker",e);return a.a.createElement("div",{className:d},a.a.createElement("div",{className:"color-picker-body"},a.a.createElement("div",{className:"color-picker-saturation"},a.a.createElement(De,{hsl:n,hsv:i,contentWindow:t,pointer:this.renderPointer,onChange:c})),a.a.createElement("div",{className:"color-picker-hue"},a.a.createElement(Ne,{direction:"vertical",hsl:n,contentWindow:t,pointer:this.renderPointer,onChange:c})),!o&&a.a.createElement("div",{className:"color-picker-alpha"},a.a.createElement(Re,{direction:"vertical",rgb:r,hsl:n,contentWindow:t,renderers:l,pointer:this.renderPointerOpacity,onChange:c}))))}}$e.defaultProps={disableOpacity:!1,onChange:v.default.noop};var Ge=Me($e);class Ue extends a.a.Component{constructor(e){super(e),Object(n.a)(this,"handleChange",e=>{const{hex:t,rgb:{a:o},wasChanged:n,opacityDragEnd:i}=e;this.lastValue={hex:t,opacity:o};const r=t.toLowerCase();this.props.onChange({hex:r,opacity:Number(Number(o).toFixed(2)),isChanged:"opacity"===n?"opacity":"hex",opacityDragEnd:i})}),Object(n.a)(this,"getContentWindow",()=>Y.a.findDOMNode(this).ownerDocument.defaultView),this.throttledHandleChange=this.handleChange}componentDidMount(){this.lastValue=this.props.value}shouldComponentUpdate({value:e}){const{hex:t,opacity:o}=e,{hex:n,opacity:i}=this.lastValue;return(t!==n||o!==i)&&(this.lastValue=e,!0)}render(){let{value:{hex:e,opacity:t},disableOpacity:o}=this.props;return e=Object(ve.f)(e)?e:"#000000",t=isNaN(Number(t))?1:t,a.a.createElement(Ge,{color:Object(ve.e)(e,t),opacity:t,disableOpacity:o,contentWindow:this.getContentWindow,onChange:this.throttledHandleChange})}}Ue.defaultProps={value:{hex:"#000000",opacity:1},disableOpacity:!1,onChange:v.default.noop};var Ke=Ue;class Ye extends a.a.Component{render(){const{className:e,attr:t,value:o,disableOpacity:n,onChange:i}=this.props,r=s()("brz-ed-option__colorPicker",e,t.className);return a.a.createElement("div",Object(g.a)({},t,{className:r}),a.a.createElement(Ke,{value:o,disableOpacity:n,onChange:i}))}}Object(n.a)(Ye,"defaultProps",{className:"",attr:{},value:{hex:"#000000",opacity:1},disableOpacity:!1,onChange:v.default.noop});var qe=Ye,Xe=o(37);const Je={},Ze=(e,t,o,n)=>{const i=`${e}-${t}-${o}${n?"-server":""}`,r=((e,t,o,n)=>{if("undefined"==typeof document&&!n)return null;const i=n?new n:document.createElement("canvas");i.width=2*o,i.height=2*o;const r=i.getContext("2d");return r?(r.fillStyle=e,r.fillRect(0,0,i.width,i.height),r.fillStyle=t,r.fillRect(0,0,o,o),r.translate(o,o),r.fillRect(0,0,o,o),i.toDataURL()):null})(e,t,o,n);return Je[i]?Je[i]:(Je[i]=r,r)},Qe=({white:e,grey:t,size:o,renderers:n,borderRadius:i,boxShadow:r})=>{const l={borderRadius:i,boxShadow:r,absolute:"0px 0px 0px 0px",background:`url(${Ze(e,t,o,n.canvas)}) center left`};return a.a.createElement("div",{style:l})};Qe.defaultProps={size:8,white:"transparent",grey:"rgba(0,0,0,.08)",renderers:{}};var et=Qe;function tt(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function ot(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?tt(Object(o),!0).forEach((function(t){Object(n.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):tt(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}class nt extends r.Component{constructor(e){super(e),Object(n.a)(this,"change",null),Object(n.a)(this,"handleChange",(e,t)=>{const o=this.props.contentWindow();this.change=((e,t,o,n)=>{e.preventDefault();const i=n.clientWidth,r=n.clientHeight,a="number"==typeof e.pageX?e.pageX:e.touches[0].pageX,l="number"==typeof e.pageY?e.pageY:e.touches[0].pageY,s=a-(n.getBoundingClientRect().left+t.pageXOffset),c=l-(n.getBoundingClientRect().top+t.pageYOffset);if("vertical"===o.direction){let e;if(e=c<0?0:c>r?1:Math.round(100*c/r)/100,o.hsl.a!==e)return{h:o.hsl.h,s:o.hsl.s,l:o.hsl.l,a:e,source:"rgb"}}else{let e;if(e=s<0?0:s>i?1:Math.round(100*s/i)/100,o.a!==e)return{h:o.hsl.h,s:o.hsl.s,l:o.hsl.l,a:e,source:"rgb"}}return null})(e,o,this.props,this.container)||this.change,this.change&&(this.change.a=1-this.change.a,this.props.onChange&&this.props.onChange(ot(ot({},this.change),{},{opacityDragEnd:t,wasChanged:"opacity"}),e))}),Object(n.a)(this,"handleMouseDown",e=>{this.handleChange(e);const t=this.props.contentWindow();t.addEventListener("mousemove",this.handleChange),t.addEventListener("mouseup",this.handleMouseUp),this.setState({showTooltip:!0,isChangeing:!0})}),Object(n.a)(this,"handleMouseUp",e=>{this.handleChange(e,!0),this.unbindEventListeners();const t=e.composedPath().find(e=>e===this.container);this.setState({showTooltip:!!t,isChangeing:!1}),this.change=null}),Object(n.a)(this,"handleMouseEnter",()=>{this.setState({showTooltip:!0})}),Object(n.a)(this,"handleMouseLeave",()=>{this.state.isChangeing||this.setState({showTooltip:!1})}),Object(n.a)(this,"unbindEventListeners",()=>{const e=this.props.contentWindow();e.removeEventListener("mousemove",this.handleChange),e.removeEventListener("mouseup",this.handleMouseUp)}),this.state={showTooltip:!1,isChangeing:!1}}componentWillUnmount(){this.unbindEventListeners()}render(){const{direction:e,rgb:t}=this.props,o={background:`linear-gradient(${"vertical"===e?"to top":"to right"}, rgba(${t.r},${t.g},${t.b}, 0) 0%,\n rgba(${t.r},${t.g},${t.b}, 1) 100%)`,boxShadow:this.props.shadow,borderRadius:this.props.radius},n="vertical"===e?{left:0,top:100*(1-t.a)+"%"}:{left:100*t.a+"%"};return a.a.createElement("div",{className:"color-picker2-alpha-body",style:{borderRadius:this.props.radius}},a.a.createElement("div",{className:"color-picker2-alpha-checkboard"},a.a.createElement(et,{renderers:this.props.renderers})),a.a.createElement("div",{className:"color-picker2-alpha-gradient",style:o}),a.a.createElement("div",{className:"color-picker2-alpha-container",ref:e=>this.container=e,onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange,onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave},a.a.createElement("div",{className:"color-picker2-alpha-pointer",style:n},this.props.pointer?this.props.pointer(this.props,this.state.showTooltip):a.a.createElement("div",{className:"color-picker2-alpha-slider"}))))}}Object(n.a)(nt,"defaultProps",{contentWindow:()=>window});function it(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}var rt={simpleCheckForValidColor(e){let t=0,o=0;return v.default.each(["r","g","b","a","h","s","l","v"],n=>{if(e[n]&&(t+=1,isNaN(e[n])||(o+=1),"s"===n||"l"===n)){/^\d+%$/.test(e[n])&&(o+=1)}}),t===o&&e},toState(e,t,o){const i=e.hex?ue()(e.hex):ue()(e),r=i.toHsl(),a=i.toHsv(),l=i.toRgb(),s=i.toHex();0===r.s&&(r.h=t||0,a.h=t||0);let c={};return e.hex||0===a.v||(c={hsv:a}),o||(c={hsv:a}),"saturation"===e.wasChanged&&(c={hsv:{h:a.h,s:0===a.s?e.s/100:a.s,v:a.v}}),"hue"!==e.wasChanged&&"opacity"!==e.wasChanged||(c={}),function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?it(Object(o),!0).forEach((function(t){Object(n.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):it(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({hsl:r,hex:"#"+s,rgb:l,oldHue:e.h||t||r.h,source:e.source},c)},isValidHex:e=>ue()(e).isValid(),getContrastingColor(e){if(!e)return"#fff";const t=this.toState(e);if("transparent"===t.hex)return"rgba(0,0,0,0.4)";return(299*t.rgb.r+587*t.rgb.g+114*t.rgb.b)/1e3>=128?"#000":"#fff"}};function at(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function lt(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?at(Object(o),!0).forEach((function(t){Object(n.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):at(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const st=e=>{class t extends r.Component{constructor(e){super(),Object(n.a)(this,"handleChange",(e,t)=>{if(rt.simpleCheckForValidColor(e)){const o=rt.toState(e,e.h||this.state.oldHue,e.hsv||this.state.hsv);this.setState(o),this.props.onChangeComplete&&this.debounce(this.props.onChangeComplete,o,t),this.props.onChange&&this.props.onChange(lt(lt({},o),{},{wasChanged:e.wasChanged,opacityDragEnd:e.opacityDragEnd}),t)}}),Object(n.a)(this,"handleSwatchHover",(e,t)=>{if(rt.simpleCheckForValidColor(e)){const o=rt.toState(e,e.h||this.state.oldHue,e.hsv||this.state.hsv);this.setState(o),this.props.onSwatchHover&&this.props.onSwatchHover(o,t)}}),this.state=lt(lt({},rt.toState(e.color,0,null)),{},{prevColor:e.color}),this.debounce=v.default.debounce((e,t,o)=>{e(t,o)},100)}static getDerivedStateFromProps(e,t){return t.prevColor!==e.color?lt(lt({},rt.toState(e.color,t.oldHue)),{},{prevColor:e.color}):null}render(){const t={};return this.props.onSwatchHover&&(t.onSwatchHover=this.handleSwatchHover),a.a.createElement(e,Object(g.a)({},this.props,this.state,{onChange:this.handleChange},t))}}return t.propTypes=lt({},e.propTypes),t.defaultProps=lt(lt({},e.defaultProps),{},{color:{h:250,s:.5,l:.2,a:1}}),t};function ct(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function dt(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?ct(Object(o),!0).forEach((function(t){Object(n.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):ct(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}class pt extends r.Component{constructor(...e){super(...e),Object(n.a)(this,"handleChange",e=>{const t=((e,t,o,n)=>{e.preventDefault();const i=n.clientWidth,r=n.clientHeight,a="number"==typeof e.pageX?e.pageX:e.touches[0].pageX,l="number"==typeof e.pageY?e.pageY:e.touches[0].pageY,s=a-(n.getBoundingClientRect().left+t.pageXOffset),c=l-(n.getBoundingClientRect().top+t.pageYOffset);if("vertical"===o.direction){let e;if(c<0)e=359;else if(c>r)e=0;else{e=360*(-100*c/r+100)/100}if(o.hsl.h!==e)return{h:e,s:o.hsl.s,l:o.hsl.l,a:o.hsl.a,source:"rgb"}}else{let e;if(s<0)e=0;else if(s>i)e=359;else{e=360*(100*s/i)/100}if(o.hsl.h!==e)return{h:e,s:o.hsl.s,l:o.hsl.l,a:o.hsl.a,source:"rgb"}}return null})(e,this.props.contentWindow(),this.props,this.container);t&&this.props.onChange&&this.props.onChange(dt(dt({},t),{},{wasChanged:"hue"}),e)}),Object(n.a)(this,"handleMouseDown",e=>{this.handleChange(e,!0);const t=this.props.contentWindow();t.addEventListener("mousemove",this.handleChange),t.addEventListener("mouseup",this.handleMouseUp)}),Object(n.a)(this,"handleMouseUp",()=>{this.unbindEventListeners()})}componentWillUnmount(){this.unbindEventListeners()}unbindEventListeners(){const e=this.props.contentWindow();e.removeEventListener("mousemove",this.handleChange),e.removeEventListener("mouseup",this.handleMouseUp)}render(){const{direction:e="horizontal"}=this.props,t={hue:{borderRadius:this.props.radius,boxShadow:this.props.shadow},pointer:{left:100*this.props.hsl.h/360+"%"}},o={left:"0px",top:-100*this.props.hsl.h/360+100+"%"};return a.a.createElement("div",{className:"hue",style:t.hue},a.a.createElement("div",{className:s()("hue-"+e,"hue-container"),style:t.container,ref:e=>this.container=e,onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},a.a.createElement("div",{style:o,className:"hue-pointer"},this.props.pointer?a.a.createElement(this.props.pointer,this.props):a.a.createElement("div",{className:"hue-slider"}))))}}Object(n.a)(pt,"defaultProps",{contentWindow:()=>window});function ut(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function bt(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?ut(Object(o),!0).forEach((function(t){Object(n.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):ut(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}class mt extends r.Component{constructor(e){super(e),Object(n.a)(this,"handleChange",e=>{const t=this.props.contentWindow();this.props.onChange&&this.throttle(this.props.onChange,((e,t,o,n)=>{e.preventDefault();const{width:i,height:r}=n.getBoundingClientRect(),a="number"==typeof e.pageX?e.pageX:e.touches[0].pageX,l="number"==typeof e.pageY?e.pageY:e.touches[0].pageY;let s=a-(n.getBoundingClientRect().left+t.pageXOffset),c=l-(n.getBoundingClientRect().top+t.pageYOffset);s<0?s=0:s>i?s=i:c<0?c=0:c>r&&(c=r);const d=100*s/i,p=-100*c/r+100;return{h:o.hsl.h,s:d,v:p,a:o.hsl.a,source:"rgb"}})(e,t,this.props,this.container),e)}),Object(n.a)(this,"handleMouseDown",e=>{this.handleChange(e,!0);const t=this.props.contentWindow();t.addEventListener("mousemove",this.handleChange),t.addEventListener("mouseup",this.handleMouseUp)}),Object(n.a)(this,"handleMouseUp",()=>{this.unbindEventListeners()}),this.throttle=v.default.throttle((e,t,o)=>{e(bt(bt({},t),{},{wasChanged:"saturation"}),o)},50)}componentWillUnmount(){this.unbindEventListeners()}unbindEventListeners(){const e=this.props.contentWindow();e.removeEventListener("mousemove",this.handleChange),e.removeEventListener("mouseup",this.handleMouseUp)}render(){const e={color:{background:`hsl(${this.props.hsl.h},100%, 50%)`,borderRadius:this.props.radius},white:{borderRadius:this.props.radius},black:{boxShadow:this.props.shadow,borderRadius:this.props.radius},pointer:{top:-100*this.props.hsv.v+100+"%",left:100*this.props.hsv.s+"%"}};return a.a.createElement("div",{style:e.color,className:"color-picker2-saturation-body",ref:e=>this.container=e,onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},a.a.createElement("div",{style:e.white,className:"saturation-white"},a.a.createElement("div",{style:e.black,className:"saturation-black"}),a.a.createElement("div",{style:e.pointer,className:"saturation-pointer"},this.props.pointer?a.a.createElement(this.props.pointer,this.props):a.a.createElement("div",{className:"saturation-circle"}))))}}Object(n.a)(mt,"defaultProps",{contentWindow:()=>window});class ht extends r.Component{constructor(...e){super(...e),Object(n.a)(this,"renderPointer",()=>a.a.createElement("div",{className:"color-picker2-pointer"})),Object(n.a)(this,"renderPointerOpacity",({rgb:{a:e}},t)=>(e*=100,a.a.createElement("div",{className:"color-picker2-pointer"},t&&a.a.createElement("div",{className:"color-picker2-pointer-tooltip"},Math.round(e),"%"))))}render(){const{className:e,contentWindow:t,disableOpacity:o,hsl:n,hsv:i,rgb:r,renderers:l,onChange:c}=this.props,d=s()("brz-ed-control__colorPicker2",e);return a.a.createElement("div",{className:d},a.a.createElement("div",{className:"color-picker2-body"},a.a.createElement("div",{className:"color-picker2-saturation"},a.a.createElement(mt,{hsl:n,hsv:i,contentWindow:t,pointer:this.renderPointer,onChange:c})),a.a.createElement("div",{className:"color-picker2-hue"},a.a.createElement(pt,{direction:"vertical",hsl:n,contentWindow:t,pointer:this.renderPointer,onChange:c})),!o&&a.a.createElement("div",{className:"color-picker2-alpha"},a.a.createElement(nt,{direction:"vertical",rgb:r,hsl:n,contentWindow:t,renderers:l,pointer:this.renderPointerOpacity,onChange:c}))))}}ht.defaultProps={disableOpacity:!1,onChange:v.default.noop};var gt=st(ht);class ft extends a.a.Component{constructor(e){super(e),Object(n.a)(this,"handleChange",e=>{const{hex:t,rgb:{a:o},wasChanged:n,opacityDragEnd:i}=e;this.lastValue={hex:t,opacity:o};const r=t.toLowerCase();this.props.onChange({hex:r,opacity:Number(Number(o).toFixed(2)),isChanged:"opacity"===n?"opacity":"hex",opacityDragEnd:i})}),Object(n.a)(this,"getContentWindow",()=>Y.a.findDOMNode(this).ownerDocument.defaultView),this.throttledHandleChange=this.handleChange}componentDidMount(){this.lastValue=this.props.value}shouldComponentUpdate({value:e}){const{hex:t,opacity:o}=e,{hex:n,opacity:i}=this.lastValue;return(t!==n||o!==i)&&(this.lastValue=e,!0)}render(){let{value:{hex:e,opacity:t},disableOpacity:o}=this.props;return e=Object(ve.f)(e)?e:"#000000",t=isNaN(Number(t))?1:t,a.a.createElement(gt,{color:Object(ve.e)(e,t),opacity:t,disableOpacity:o,contentWindow:this.getContentWindow,onChange:this.throttledHandleChange})}}ft.defaultProps={value:{hex:"#000000",opacity:1},disableOpacity:!1,onChange:v.default.noop};var vt=ft,yt=o(50),St=o(150),Ot=o(38),xt=o(172);var Ct=({className:e,min:t,max:o,step:n,startPointer:i,finishPointer:r,allowCross:l,handle:c,railStyle:d,onChange:p})=>{const u=s()("brz-ed-control__range",e);return a.a.createElement("div",{className:u},a.a.createElement(xt.b,{count:1,defaultValue:[i,r],min:t,max:o,step:n,allowCross:l,handle:c,railStyle:d,onChange:p}))};function Bt(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function jt(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Bt(Object(o),!0).forEach((function(t){Object(n.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Bt(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const Pt=xt.c.Handle;class Tt extends a.a.Component{constructor(e){super(e),Object(n.a)(this,"handleOnMouseDown",e=>{this.handleChange({activePointer:0===e?"startPointer":"finishPointer",isChanged:"activePointer"})}),Object(n.a)(this,"handleRangeChange",([e,t])=>{this.handleChange({startPointer:e,finishPointer:t,isChanged:e===this.state.startPointer?"finishPointer":"startPointer"})}),Object(n.a)(this,"handleChange",e=>{const t=jt(jt({},this.state),e);this.setState(t),this.props.onChange(t)}),Object(n.a)(this,"handle",e=>{const{className:t,dragging:o,value:n,index:i}=e,r=Object(Xe.a)(e,["className","dragging","value","index"]),l=s()(t,{"brz-ed-rc-slider-handle--active":"startPointer"===this.state.activePointer&&0===i||"finishPointer"===this.state.activePointer&&1===i});return a.a.createElement(Pt,Object(g.a)({key:i,value:n,onMouseDown:()=>this.handleOnMouseDown(i)},r,{className:l}))});const t=e.value;this.state=jt({},t)}render(){const{className:e,config:{range:{min:t,max:o,step:n}},attr:i}=this.props,r=s()("brz-ed-option__range",e,i.className),l=v.default.omit(i,"className"),{startPointer:c,finishPointer:d,hex:p,gradientColorHex:u}=this.state;return a.a.createElement("div",Object(g.a)({className:r},l),a.a.createElement("div",{className:"brz-ed-option__range__content"},a.a.createElement(Ct,{id:this.props.id,min:t,max:o,step:n,startPointer:c,finishPointer:d,handle:this.handle,railStyle:{backgroundImage:`linear-gradient(to right, ${p}, ${u})`},onChange:this.handleRangeChange})))}}Object(n.a)(Tt,"defaultProps",{className:"",attr:{},config:{range:{min:0,max:100,step:1}},value:{startPointer:0,finishPointer:100,activePointer:"startPointer",hex:"#000000",gradientColorHex:"#000000"},onChange:v.default.noop});var wt=Tt,Et=o(33);function zt(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function kt(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?zt(Object(o),!0).forEach((function(t){Object(n.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):zt(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const Ft=J.a.getAll(),_t=Object(Et.b)(Ft)&&Object(Et.g)(Ft);class Rt extends a.a.Component{constructor(...e){super(...e),Object(n.a)(this,"handleChange",e=>{const{value:t,onChange:o}=this.props,n="gradient"===t.select&&"finishPointer"===t.activePointer;let i={};if("hex"===e.isChanged){const{hex:t}=e;i=n?{gradientColorHex:t}:{hex:t}}let r={};if("opacity"===e.isChanged){const{opacity:t}=e;r=n?{gradientColorOpacity:t}:{opacity:t}}o(kt(kt(kt(kt({},t),e),i),r))})}renderPalette(){const{palette:{choices:e},value:{palette:t,gradientColorPalette:o,select:n,activePointer:i}}=this.props,r="gradient"===n&&"finishPointer"===i?o:t;return a.a.createElement(xe,{choices:e,value:r,onChange:e=>{this.handleChange({palette:e,isChanged:"palette"})}})}renderGradient(){const e=this.props,{gradient:{show:t},value:{startPointer:o,finishPointer:n,activePointer:i,hex:r,gradientColorHex:l}}=e,s=Object(Xe.a)(e.gradient,["show"]);return a.a.createElement(wt,{config:{range:s},value:{startPointer:o,finishPointer:n,activePointer:i,hex:r,gradientColorHex:l},onChange:this.handleChange})}renderSelectChoices(e){return e.map((e,t)=>{const{title:o,icon:n,optgroup:i,value:r}=e;let l;if(v.default.isObject(n)){const e=s()("brz-control__select-option__bg",n.className);l=a.a.createElement("div",Object(g.a)({},n,{className:e}))}else n&&(l=a.a.createElement(c.b,{icon:n}));return i&&i.length?a.a.createElement(St.a,{key:t,title:o,items:this.renderSelectChoices(i)},l,o&&a.a.createElement("span",{className:"brz-span"},o)):a.a.createElement(Ot.a,{key:t,value:r,title:o},l,o&&a.a.createElement("span",{className:"brz-span"},o))})}renderSelect(){const{select:e,value:t}=this.props;return a.a.createElement(yt.a,{className:"brz-control__select--dark brz-control__select__auto",defaultValue:t.select,itemHeight:e.itemHeight||24,onChange:e=>{this.handleChange({select:e,isChanged:"select"})}},this.renderSelectChoices(e.choices))}render(){const{className:e,picker:{showOpacity:t=!0},palette:{show:o=!0},gradient:{show:n=!0},select:{show:i=!0},attr:r,value:{hex:l,opacity:c,select:d,activePointer:p,gradientColorHex:u,gradientColorOpacity:b}}=this.props,m=s()("brz-ed-option__colorPicker2",e,r.className),h="gradient"===d&&"finishPointer"===p?{hex:u,opacity:b}:{hex:l,opacity:c};return a.a.createElement("div",Object(g.a)({},r,{className:m}),n&&this.renderGradient(),i&&this.renderSelect(),a.a.createElement(vt,{value:h,disableOpacity:!t,onChange:this.handleChange}),!_t&&o&&this.renderPalette())}}Object(n.a)(Rt,"defaultProps",{className:"",attr:{},picker:{showOpacity:!0},palette:{show:!0,choices:[]},select:{show:!0,itemHeight:24,choices:[]},gradient:{show:!1,min:0,max:100,step:1},value:{select:"",hex:"#000000",opacity:1,palette:"",gradientColorHex:"#000000",gradientColorOpacity:1,gradientColorPalette:"",startPointer:0,finishPointer:100,activePointer:"startPointer"},onChange:v.default.noop});var Ht=Rt,Lt=o(55),Mt=o(40),It=o(73);function Wt(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Nt(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Wt(Object(o),!0).forEach((function(t){Object(n.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Wt(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const Vt={default:"17px",great_vibes:"18px",alex_brush:"18px",allura:"18px",parisienne:"18px"};class At extends r.Component{constructor(...e){super(...e),Object(n.a)(this,"handleOpenFonts",e=>{e.preventDefault(),F.a.open({prompt:"fonts",mode:"single"})})}checkCurrentFont(){const{fonts:e,value:t}=this.props;return Object.entries(e).some(e=>{const[o,n]=e;return n.data.some(e=>Mt.b[o](e).id===t)})}renderFontList(e,t,o){const{value:n,defaultFont:i,onChange:r}=this.props;return e.map(e=>{const l=Mt.b[t](e),{id:c,family:d,title:p}=l,u=s()("brz-ed-font__name",{active:o?c===n:c===i}),b={fontFamily:d,fontSize:Vt[c]||Vt.default};return a.a.createElement("div",{key:c,className:u,style:b,onClick:()=>r(Nt(Nt({},l),{},{type:t}))},p)})}render(){const{config:e={},blocks:t={},google:o={},upload:n={}}=this.props.fonts,i=this.checkCurrentFont(),r=n.data&&n.data.length>0||o.data&&o.data.length>0;return a.a.createElement("div",{className:"brz-ed-font__typography"},a.a.createElement(S.a,{className:"brz-ed-scroll--dark brz-ed-scroll--small",style:{height:"100%"}},n.data&&n.data.length>0&&this.renderFontList(n.data,"upload",i),o.data&&o.data.length>0&&this.renderFontList(o.data,"google",i),r&&a.a.createElement("hr",{className:"brz-hr brz-ed-font__separator"}),t.data&&this.renderFontList(t.data,"google",i),this.renderFontList(e.data,"google",i)),a.a.createElement(Lt.a,{allow:["admin"]},a.a.createElement("div",{className:"brz-ed-font__typography-adder",onClick:this.handleOpenFonts},a.a.createElement(c.b,{icon:"nc-add"}),Object(C.a)("Add New Font"))))}}Object(n.a)(At,"defaultProps",{defaultFont:"",value:"lato",fonts:{},onChange:v.default.noop});var Dt=Object(y.b)(e=>({fonts:Object(It.n)(e),defaultFont:Object(u.H)(e).data.font}),null)(At);class $t extends a.a.Component{renderLabel(){const{label:e,helper:t,helperContent:o,helperPlacement:n}=this.props;return a.a.createElement("div",{className:"brz-ed-option__label brz-ed-option__select__label"},e,t&&a.a.createElement("div",{className:"brz-ed-option__helper"},a.a.createElement(le.c,{placement:n,openOnClick:!1,overlay:a.a.createElement("div",{className:"brz-ed-option__helper__content",dangerouslySetInnerHTML:{__html:o}})},a.a.createElement(c.b,{icon:"nc-alert-circle-que"}))))}renderChoices(e=this.props.choices){return e.map((e,t)=>{const{title:o,icon:n,optgroup:i,value:r}=e;let l;if(v.default.isObject(n)){const e=s()("brz-control__select-option__bg",n.className);l=a.a.createElement("div",Object(g.a)({},n,{className:e}))}else n&&(l=a.a.createElement(c.b,{icon:n}));return i&&i.length?a.a.createElement(St.a,{key:t,title:o,items:this.renderChoices(i)},l,o&&a.a.createElement("span",{className:"brz-span"},o)):a.a.createElement(Ot.a,{key:t,value:r,title:o},l,o&&a.a.createElement("span",{className:"brz-span"},o))})}renderAfterSelect(){}render(){const{label:e,display:t,itemHeight:o,helper:n,value:i,className:r,attr:l,onChange:c}=this.props,d=s()("brz-ed-option__select","brz-ed-option__"+t,r,l.className);return a.a.createElement("div",Object(g.a)({},l,{className:d}),e||n?this.renderLabel():null,a.a.createElement("div",{className:"brz-d-xs-flex brz-align-items-xs-center"},a.a.createElement(yt.a,{className:"brz-control__select--dark",defaultValue:i,itemHeight:o,onChange:c},this.renderChoices()),this.renderAfterSelect()))}}Object(n.a)($t,"defaultProps",{label:"",display:"inline",className:"",itemHeight:30,icon:"",choices:[],attr:{},helper:!1,helperContent:"",helperPlacement:"top",onChange:v.default.noop});var Gt=$t;var Ut=class extends Gt{handleSidebarOpen(){Object(d.b)().dispatch(Object(p.S)("leftSidebar",{isOpen:!0,drawerContentType:"styling"}))}renderChoices(){return[{id:"",title:"Custom"},...Object(Mt.g)()].map(({id:e,title:t})=>a.a.createElement(Ot.a,{key:e,value:e},t))}renderAfterSelect(){return a.a.createElement("div",{className:"brz-ed-option__select__after",onClick:this.handleSidebarOpen},a.a.createElement(c.b,{icon:"nc-cog"}))}},Kt=o(62),Yt=o.n(Kt),qt=o(54),Xt=o(143),Jt=o(8);function Zt(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Qt(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Zt(Object(o),!0).forEach((function(t){Object(n.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Zt(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}class eo extends a.a.Component{constructor(...e){super(...e),Object(n.a)(this,"state",{device:"desktop",active:!1}),Object(n.a)(this,"handleToolbarOpen",()=>{this.setState({active:!0})}),Object(n.a)(this,"handleToolbarClose",()=>{this.setState({active:!1})}),Object(n.a)(this,"handleTabsChange",e=>{this.setState({device:e})}),Object(n.a)(this,"handleTextChange",e=>{this.props.onChange({title:e})}),Object(n.a)(this,"handleDelete",()=>{Object(Ce.d)(),this.props.onChange({deleted:!0})})}render(){const{title:e,fontFamily:t,fontFamilyType:o,fontSize:n,fontSizeSuffix:i,fontWeight:r,lineHeight:l,letterSpacing:d,tabletFontSize:p,tabletFontSizeSuffix:u,tabletFontWeight:b,tabletLineHeight:m,tabletLetterSpacing:h,mobileFontSize:g,mobileFontSizeSuffix:f,mobileFontWeight:v,mobileLineHeight:y,mobileLetterSpacing:S,showDeleteIcon:O,deletable:x,onChange:B}=this.props,{device:j,active:P}=this.state,T=s()("brz-ed-option__font-style-editor",{active:P}),w={fontFamily:Object(Mt.c)({family:t,type:o}).family,fontWeight:"desktop"===j?r:"tablet"===j?b:v};return a.a.createElement("div",{className:T},O?a.a.createElement("div",{className:"brz-ed-option__font-style-editor--delete",onClick:this.handleDelete},a.a.createElement(c.b,{icon:"nc-remove"})):null,a.a.createElement(Ce.c,{getItems:()=>[{id:"toolbarTypography",type:"popover",icon:"nc-font",size:"large",display:"inside",onOpenDirect:!0,options:[{type:"grid",className:"brz-ed-grid__typography brz-ed-grid__typography--sidebar",columns:[{width:54,options:[{id:"fontFamily",label:"Font Family",type:"fontFamily",value:t,onChange:({id:e,type:t})=>B({fontFamily:e,fontFamilyType:t})}]},{width:46,className:"brz-ed-popover__typography",options:[{id:"fontDevices",type:"tabs",align:"start",tabsClassName:"brz-ed-control__tabs__editor",tabs:[{id:"desktop",tabIcon:"nc-desktop",options:[{type:"grid",className:"brz-ed-grid__typography",columns:[{width:50,options:[{id:"fontSizeSuffix",type:"select",label:"Size",className:"brz-control__typography-suffix",disabled:$.d,choices:Xt.c,value:i,onChange:e=>B({fontSizeSuffix:e})},{id:"fontSize",type:"stepper",label:$.d?"Size":"",display:"block",min:1,max:300,step:1,value:n,onChange:e=>B({fontSize:e})},{id:"lineHeight",label:"Line Hgt.",type:"stepper",display:"block",min:1,max:10,step:.1,value:l,onChange:e=>B({lineHeight:e})}]},{width:50,options:[{id:"fontWeight",label:"Weight",type:"select",display:"block",choices:Object(Mt.n)({family:t,type:o}),value:r,onChange:e=>B({fontWeight:e})},{id:"letterSpacing",label:"Letter Sp.",type:"stepper",display:"block",min:-20,max:20,step:.5,value:d,onChange:e=>B({letterSpacing:e})}]}]}]},{id:"tablet",tabIcon:"nc-tablet",options:[{type:"grid",disabled:$.d,className:"brz-ed-grid__typography",columns:[{width:50,options:[{id:"tabletFontSizeSuffix",type:"select",label:"Size",className:"brz-control__typography-suffix",choices:Xt.c,value:u,onChange:e=>B({tabletFontSizeSuffix:e})},{id:"tabletFontSize",type:"stepper",display:"block",min:1,max:100,step:1,value:p,onChange:e=>B({tabletFontSize:e})},{id:"tabletLineHeight",label:"Line Hgt.",type:"stepper",display:"block",min:1,max:10,step:.1,value:m,onChange:e=>B({tabletLineHeight:e})}]},{width:50,options:[{id:"tabletFontWeight",label:"Weight",type:"select",display:"block",choices:Object(Mt.n)({family:t,type:o}),value:b,onChange:e=>B({tabletFontWeight:e})},{id:"tabletLetterSpacing",label:"Letter Sp.",type:"stepper",display:"block",min:-20,max:20,step:.5,value:h,onChange:e=>B({tabletLetterSpacing:e})}]}]}]},{id:"mobile",tabIcon:"nc-phone",options:[{type:"grid",disabled:$.d,className:"brz-ed-grid__typography",columns:[{width:50,options:[{id:"mobileFontSizeSuffix",type:"select",label:"Size",className:"brz-control__typography-suffix",choices:Xt.c,value:f,onChange:e=>B({mobileFontSizeSuffix:e})},{id:"mobileFontSize",type:"stepper",display:"block",min:1,max:100,step:1,value:g,onChange:e=>B({mobileFontSize:e})},{id:"mobileLineHeight",label:"Line Hgt.",type:"stepper",display:"block",min:1,max:10,step:.1,value:y,onChange:e=>B({mobileLineHeight:e})}]},{width:50,options:[{id:"mobileFontWeight",label:"Weight",type:"select",display:"block",choices:Object(Mt.n)({family:t,type:o}),value:v,onChange:e=>B({mobileFontWeight:e})},{id:"mobileLetterSpacing",label:"Letter Sp.",type:"stepper",display:"block",min:-20,max:20,step:.5,value:S,onChange:e=>B({mobileLetterSpacing:e})}]}]}]}],value:j,onChange:this.handleTabsChange}]}]}]}],onOpen:this.handleToolbarOpen,onClose:this.handleToolbarClose},a.a.createElement("div",{className:"brz-ed-option__font-style-editor__container"},a.a.createElement("p",{className:"brz-p brz-ed-option__font-style-editor__title"},"on"===x?a.a.createElement(qt.a,{value:e,onChange:this.handleTextChange}):e),a.a.createElement("p",{className:"brz-p brz-ed-option__font-style-editor__sample",style:w},Object(C.a)("It's a sample")))))}}Object(n.a)(eo,"defaultProps",{title:"Title",fontFamily:"",fontSize:12,fontSizeSuffix:"px",fontWeight:300,lineHeight:1,letterSpacing:1,tabletFontSize:12,tabletFontSizeSuffix:"px",tabletFontWeight:300,tabletLineHeight:1,tabletLetterSpacing:1,mobileFontSize:12,mobileFontSizeSuffix:"px",mobileFontWeight:300,mobileLineHeight:1,mobileLetterSpacing:1,showDeleteIcon:!1});class to extends a.a.Component{constructor(...e){super(...e),Object(n.a)(this,"handleChange",(e,t)=>{const{value:o,onChange:n}=this.props;n(o.map(o=>e===o.id?Qt(Qt({},o),t):o))}),Object(n.a)(this,"handleAddNew",()=>{const{value:e,onChange:t}=this.props,o=Qt(Qt({},e[0]),{},{deletable:"on",id:Object(M.a)(),title:Object(Jt.f)(Object(C.a)("New Style #%s"),e.length)});t([...e,o])}),Object(n.a)(this,"renderThumbs",e=>{let{style:t}=e,o=Object(Xe.a)(e,["style"]);return a.a.createElement("div",Object(g.a)({},o,{style:Qt(Qt({},t),{},{borderRadius:"inherit",backgroundColor:"#3f4652"})}))})}render(){const{value:e}=this.props,t=e.filter(e=>!0!==e.deleted).map(e=>a.a.createElement(eo,Object(g.a)({key:e.id,showDeleteIcon:"on"===e.deletable},e,{onChange:this.handleChange.bind(null,e.id)})));return a.a.createElement("div",{className:"brz-ed-option__font-styles"},a.a.createElement("div",{className:"brz-ed-option__font-styles--scroll-pane"},a.a.createElement(Yt.a,{renderThumbHorizontal:this.renderThumbs,renderThumbVertical:this.renderThumbs},t)),a.a.createElement("div",{className:"brz-ed-option__font-styles--add",onClick:this.handleAddNew},a.a.createElement(c.b,{icon:"nc-add"}),a.a.createElement("span",{className:"brz-span"},Object(C.a)("Add New"))))}}Object(n.a)(to,"defaultProps",{value:{}});var oo=to;class no extends a.a.Component{constructor(...e){super(...e),Object(n.a)(this,"handleMouseDown",e=>{e.preventDefault();const{value:t}=this.props;F.a.open({prompt:"form",mode:"single",props:{formId:t.id,formFields:t.fields}})})}render(){const{className:e,attr:t,icon:o}=this.props,n=s()("brz-ed-option__button",e,t.className);return a.a.createElement("div",Object(g.a)({},t,{className:n,onMouseDown:this.handleMouseDown}),a.a.createElement(c.b,{icon:o}))}}Object(n.a)(no,"defaultProps",{className:"",attr:{},icon:"nc-cog",value:!1});var io=no,ro=o(96),ao=o(20);function lo(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function so(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?lo(Object(o),!0).forEach((function(t){Object(n.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):lo(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const co=["top","center","bottom"];class po extends a.a.Component{static filter(e,t){var o,n;return so(so({},t),{},{columns:null!==(o=null===(n=t.columns)||void 0===n?void 0:n.map(t=>so(so({},t),{},{options:t.options.map(e).filter(ao.c)})).filter(e=>e.options.length>0))&&void 0!==o?o:[]})}static reduce(e,t,o){var n,i;return null!==(n=null===(i=o.columns)||void 0===i?void 0:i.reduce((t,{options:o})=>o.reduce(e,t),t))&&void 0!==n?n:t}static map(e,t){var o;return so(so({},t),{},{columns:null===(o=t.columns)||void 0===o?void 0:o.map(t=>so(so({},t),{},{options:t.options.map(e)}))})}render(){const{className:e,attr:t,columns:o,location:n,toolbar:i,separator:r}=this.props,l=s()("brz-d-xs-flex brz-flex-xs-no-wrap brz-ed-grid",{"brz-ed-grid--separator":!!r},e),c=o.map(({className:e,width:t,options:o,vAlign:r},l,c)=>{const d=s()("brz-ed-grid-option__column",(p=r,co.includes(p)?"brz-ed-grid-option__column--"+p:""),e);var p;const u=1===c.length,b={width:u?"100%":t+"%",flexBasis:u?"100%":t+"%"};return a.a.createElement("div",{key:l,className:d,style:b},a.a.createElement(ro.a,{className:"brz-ed-grid__options",optionClassName:"brz-ed-grid__option",data:o,location:n,toolbar:i}))});return a.a.createElement("div",Object(g.a)({},t,{className:l}),c)}}Object(n.a)(po,"defaultProps",{className:"",location:"",attr:{},toolbar:null,columns:[],separator:!1});var uo=po,bo=o(237),mo=o(23);var ho=({value:e,onChange:t})=>a.a.createElement("div",{className:"brz-ed-control__population__input",title:e},a.a.createElement("span",{className:"brz-span"},e),a.a.createElement(c.b,{icon:"nc-circle-remove",onClick:()=>t(mo.b)})),go=o(170);const fo=(e,t)=>e.map(e=>{if(Object(go.b)(e)){const{title:o,icon:n,optgroup:i}=e;return a.a.createElement(St.a,{key:o||n,title:o,items:fo(i,t)},n&&a.a.createElement(c.b,{icon:n}),a.a.createElement("span",{className:"brz-span"},o))}const{value:o,title:n,icon:i}=e;return a.a.createElement(Ot.a,{key:o,value:o,title:n,active:o===t},i&&a.a.createElement(c.b,{icon:i}),a.a.createElement("span",{className:"brz-span"},n))});function vo({choices:e,value:t,onChange:o,className:n}){const i=s()("brz-control__select--dark","brz-control__select__auto","brz-control__select-population",{"brz-control__select--active":Boolean(t)},n);return a.a.createElement(yt.a,{className:i,defaultValue:t,itemHeight:30,labelType:"icon",labelIcon:"nc-dynamic",onChange:o},fo(e,t))}function yo({choices:e,value:t,renderUnset:o,onChange:n}){let i;if(t){var r;const o=Object(L.a)(e,e=>!Object(go.b)(e)&&e.value===t).obj;i=a.a.createElement(ho,{value:null!==(r=null==o?void 0:o.title)&&void 0!==r?r:"",onChange:n})}else i=null==o?void 0:o();return a.a.createElement(a.a.Fragment,null,i,a.a.createElement(vo,{choices:e,value:t,onChange:n}))}function So(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Oo(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?So(Object(o),!0).forEach((function(t){Object(n.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):So(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}class xo extends a.a.Component{constructor(...e){super(...e),Object(n.a)(this,"handlePopulationChange",e=>{const{value:t,onChange:o}=this.props;o(Oo(Oo({},t),{},{population:e}),{isChanged:"population"})}),Object(n.a)(this,"renderImageSetter",()=>{const{value:e,onlyPointer:t,showPointer:o,onChange:n}=this.props;return a.a.createElement(bo.a,Object(g.a)({},e,{onlyPointer:t,showPointer:o,onChange:n}))})}renderLabel(){const{label:e,helper:t,helperContent:o}=this.props,n=t?a.a.createElement("div",{className:"brz-ed-option__helper"},a.a.createElement(c.b,{icon:"nc-alert-circle-que"}),a.a.createElement("div",{className:"brz-ed-option__helper__content",dangerouslySetInnerHTML:{__html:o}})):null;return a.a.createElement("div",{className:"brz-ed-option__label brz-ed-option__focal-point__label"},e,n)}render(){const{className:e,label:t,attr:o,display:n,helper:i,population:{choices:r,show:l},value:{population:c}}=this.props,d=s()("brz-ed-option__focal-point","brz-ed-option__"+n,e,o.className),p=l?a.a.createElement(yo,{choices:r,value:c,renderUnset:this.renderImageSetter,onChange:this.handlePopulationChange}):this.renderImageSetter();return a.a.createElement("div",Object(g.a)({},o,{className:d}),(t||i)&&this.renderLabel(),p)}}Object(n.a)(xo,"defaultProps",{label:"",className:"",attr:{},helper:!1,helperContent:"",onlyPointer:!1,showPointer:!0,display:"inline",population:{show:!1,choices:[]},value:{},onChange:v.default.noop});var Co=xo,Bo=o(41);class jo extends a.a.Component{constructor(...e){super(...e),Object(n.a)(this,"handleClick",()=>{const{value:e,onChange:t}=this.props;F.a.open({prompt:"icon",mode:"single",props:{onChange:t,name:e.name,type:e.type}})}),Object(n.a)(this,"handleRemove",()=>{this.props.onChange({name:"",type:""})}),Object(n.a)(this,"renderSelectIcon",()=>a.a.createElement("div",{className:"brz-ed-control__icon-setter__box",onClick:this.handleClick},a.a.createElement(c.b,{icon:"nc-add"}))),Object(n.a)(this,"renderRemoveIcon",()=>this.props.canDelete?a.a.createElement("div",{key:"second",className:"brz-ed-control__focal-point__delete",onClick:this.handleRemove},a.a.createElement(c.b,{icon:"nc-circle-remove"})):null),Object(n.a)(this,"renderIcon",()=>{const{name:e,type:t}=this.props.value;return[a.a.createElement("div",{key:"first",className:"brz-ed-control__icon-setter__box",onClick:this.handleClick},a.a.createElement("div",{className:"brz-ed-control__icon-setter--active"},a.a.createElement(Bo.a,{className:"grid-16 stroke-2",name:e,type:t}))),this.renderRemoveIcon()]})}render(){const{name:e}=this.props.value,t=s()("brz-ed-control__icon-setter",this.props.className);return a.a.createElement("div",{className:t},e?this.renderIcon():this.renderSelectIcon())}}Object(n.a)(jo,"defaultProps",{className:"",canDelete:!1,value:{},onChange:v.default.noop});class Po extends a.a.Component{constructor(...e){super(...e),Object(n.a)(this,"renderLabel",()=>{const{label:e,helper:t,helperContent:o}=this.props,n=t?a.a.createElement("div",{className:"brz-ed-option__helper"},a.a.createElement(c.b,{icon:"nc-alert-circle-que"}),a.a.createElement("div",{className:"brz-ed-option__helper__content",dangerouslySetInnerHTML:{__html:o}})):null;return a.a.createElement("div",{className:"brz-ed-option__label brz-ed-option__focal-point__label"},e,n)})}render(){const{className:e,label:t,attr:o,value:n,helper:i,onChange:r,canDelete:l}=this.props,c=s()("brz-ed-option__icon-setter","brz-ed-option__inline",e,o.className),d=v.default.omit(o,"className");return a.a.createElement("div",Object(g.a)({className:c},d),t||i?this.renderLabel():null,a.a.createElement(jo,{value:n,onChange:r,canDelete:l}))}}Object(n.a)(Po,"defaultProps",{label:"",className:"",attr:{},helper:!1,helperContent:"",canDelete:!1,value:{},onChange:v.default.noop});var To=Po,wo=o(131);class Eo extends a.a.Component{constructor(...e){super(...e),Object(n.a)(this,"state",{activeIcon:this.getInitialIcon(),focusedIcon:0,focused:!1}),Object(n.a)(this,"handleInputValueChange",(e,t)=>{const{value:o,onChange:n}=this.props;n(o.map((o,n)=>n===e?t:o))})}getInitialIcon(){const{defaultIcon:e,icons:t}=this.props.config;return e||t[0]}handleMouseEnter(e){const{icons:t}=this.props.config;this.setState({activeIcon:t[e]})}handleMouseLeave(){const{icons:e}=this.props.config,{focusedIcon:t,focused:o}=this.state;this.setState({activeIcon:o?e[t]:this.getInitialIcon()})}onFocus(e){const{icons:t}=this.props.config;this.setState({activeIcon:t[e],focusedIcon:e,focused:!0})}onBlur(e){this.setState({activeIcon:this.getInitialIcon(),focusedIcon:e,focused:!1})}render(){const{className:e,attr:t,min:o,max:n,step:i,value:r,display:l}=this.props,{activeIcon:d}=this.state,p=s()("brz-ed-option__input-outline","brz-ed-option__multi-input","brz-ed-option__"+l,"brz-ed-option__input-number-wrap",e,t.className),u=r.map((e,t)=>a.a.createElement("div",{key:t,className:"brz-ed-option__multi-input-container",onMouseEnter:()=>this.handleMouseEnter(t),onMouseLeave:()=>this.handleMouseLeave(t)},a.a.createElement(wo.a,{className:"brz-input",min:o,max:n,step:i,value:e,onFocus:()=>this.onFocus(t),onBlur:()=>this.onBlur(t),onChange:e=>this.handleInputValueChange(t,e)})));return a.a.createElement("div",Object(g.a)({className:p},t),a.a.createElement(c.b,{icon:d,className:"brz-icon"}),u)}}Object(n.a)(Eo,"defaultProps",{className:"",display:"inline",config:{defaultIcon:null,icons:["nc-settings"]},min:-9999,max:9999,step:1,value:null,attr:{},onChange:v.default.noop});var zo=Eo,ko=o(236);class Fo extends a.a.Component{render(){const{className:e,choices:t,picker:o,attr:n,location:i,toolbar:r}=this.props,l=s()("brz-ed-option__multiPicker","brz-ed-option__inline",e,n.className),c=t[o.value]&&t[o.value].length>0;return a.a.createElement("div",Object(g.a)({},n,{className:l}),a.a.createElement("div",{className:"brz-ed-multiPicker__head"},a.a.createElement(ko.a,{className:"brz-ed-multiPicker__head__option",data:o})),a.a.createElement("div",{className:"brz-ed-multiPicker__body"},c&&a.a.createElement(ro.a,{optionClassName:"brz-ed-multiPicker__option",data:t[o.value],location:i,toolbar:r})))}}Object(n.a)(Fo,"defaultProps",{className:"",attr:{},picker:{},choices:{},location:"",toolbar:null});var _o=Fo,Ro=o(11);const Ho=["grouped","ungrouped"],Lo=Object(Ro.c)(e=>Ho.includes(e));class Mo extends a.a.Component{constructor(...e){super(...e),Object(n.a)(this,"handleClick",()=>{const{value:{type:e,grouped:t,ungrouped:o},onChange:n}=this.props;n({type:"grouped"===e?"ungrouped":"grouped",grouped:t,ungrouped:o,isChanged:"type",isChangedIndex:0})}),Object(n.a)(this,"handleInputValueChange",(e,t)=>{const{value:{type:o,grouped:n,ungrouped:i},onChange:r}=this.props,a=this.props.value[o].map((o,n)=>n===e?t:o);r({type:o,grouped:"grouped"===o?a:n,ungrouped:"ungrouped"===o?a:i,isChanged:"value",isChangedIndex:e})})}render(){const{className:e,attr:t,min:o,max:n,step:i,value:{type:r},label:l,display:d,icon:p}=this.props,u=s()("brz-ed-option__multi-border","brz-ed-option__"+d,e,t.className),b=s()("brz-button",{"brz-ed-option__multi-border--active":"grouped"===r});return a.a.createElement("div",Object(g.a)({},t,{className:u}),l&&a.a.createElement("div",{className:"brz-label"},l),this.props.value[r].map((e,t)=>a.a.createElement(wo.a,{className:"brz-input brz-ed-option__multi-input",key:t,min:o,max:n,step:i,value:e,onChange:e=>this.handleInputValueChange(t,e)})),a.a.createElement("button",{className:b,onClick:this.handleClick},a.a.createElement(c.b,{icon:p,className:"brz-icon"})))}}Object(n.a)(Mo,"defaultProps",{className:"",display:"inline",icon:"nc-combined-shape",label:"Size",min:-9999,max:9999,step:1,attr:{},value:{type:"grouped",grouped:[],ungrouped:[]},onChange:v.default.noop});var Io=Mo;function Wo(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function No(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Wo(Object(o),!0).forEach((function(t){Object(n.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Wo(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}class Vo extends a.a.Component{constructor(...e){super(...e),Object(n.a)(this,"lastChange",this.props.value.value),Object(n.a)(this,"state",{value:this.props.value.value}),Object(n.a)(this,"isFocused",!1),Object(n.a)(this,"handleInputChange",e=>{const t=e.target.value;this.setState({value:t},()=>{this.debouncedHandleChange()})}),Object(n.a)(this,"handlePopulationChange",e=>{this.setState({value:""},()=>{const t={population:e};this.handleChange(t,{changed:"population"})})}),Object(n.a)(this,"handleChange",(e={},t={})=>{const o=No({value:this.state.value,population:this.props.value.population},e),n=No({changed:"value",changeEvent:"change"},t);this.props.onChange(o,n),this.lastChange=this.state.value}),Object(n.a)(this,"debouncedHandleChange",v.default.debounce((...e)=>this.isFocused&&this.handleChange(...e),1e3)),Object(n.a)(this,"handleInputFocus",()=>{this.isFocused=!0}),Object(n.a)(this,"handleInputBlur",()=>{if(this.isFocused=!1,this.props.value.value!==this.state.value){const e={},t={changed:"value",changeEvent:"blur"};this.handleChange(e,t)}}),Object(n.a)(this,"renderInput",()=>{const{inputSize:e,inputType:t,placeholder:o,population:n}=this.props,i=s()("brz-input brz-ed-control__input","brz-ed-control__input--"+e,{"brz-ed-control__input--dynamic":n&&n.show});return a.a.createElement("input",{className:i,placeholder:o,type:t,value:this.state.value,onChange:this.handleInputChange,onFocus:this.handleInputFocus,onBlur:this.handleInputBlur})})}componentWillUnmount(){this.isFocused&&this.handleInputBlur()}renderLabel(){const{label:e,helper:t,helperContent:o,helperPlacement:n,population:i}=this.props;return a.a.createElement("div",{className:s()("brz-ed-option__label brz-ed-option__input__label",{"brz-ed-option__input__label--dynamic":i&&i.show})},e,t&&a.a.createElement("div",{className:"brz-ed-option__helper"},a.a.createElement(le.c,{placement:n,openOnClick:!1,overlay:a.a.createElement("div",{className:"brz-ed-option__helper__content",dangerouslySetInnerHTML:{__html:o}})},a.a.createElement(c.b,{icon:"nc-alert-circle-que"}))))}render(){const{className:e,helper:t,label:o,display:n,population:{choices:i,show:r},value:{population:l}}=this.props,c=s()("brz-ed-option__input","brz-ed-option__"+n,e,{"brz-ed-option-input--dynamic":r}),d=r?a.a.createElement("div",{className:"brz-d-xs-flex brz-align-items-xs-center"},a.a.createElement(yo,{choices:i,value:l,renderUnset:this.renderInput,onChange:this.handlePopulationChange})):this.renderInput();return a.a.createElement("div",{className:c},(o||t)&&this.renderLabel(),d)}}Object(n.a)(Vo,"defaultProps",{className:"",label:"",placeholder:"",helper:!1,helperContent:"",helperPlacement:"top",display:"inline",value:{value:"",population:""},inputType:"text",inputSize:"large",population:{show:!1,choices:[]},onChange:v.default.noop});var Ao=Vo;class Do extends a.a.Component{constructor(...e){super(...e),Object(n.a)(this,"onChangeDebounced",v.default.debounce(e=>{this.props.onChange(e)},1e3)),Object(n.a)(this,"handleChance",e=>{this.onChangeDebounced(e.target.value)}),Object(n.a)(this,"handleFocus",()=>{this.textarea.focus()}),Object(n.a)(this,"renderLabel",()=>{const{label:e,helper:t,helperContent:o}=this.props,n=t?a.a.createElement("div",{className:"brz-ed-option__helper"},a.a.createElement(c.b,{icon:"nc-alert-circle-que"}),a.a.createElement("div",{className:"brz-ed-option__helper__content",dangerouslySetInnerHTML:{__html:o}})):null;return a.a.createElement("div",{className:"brz-ed-option__label brz-ed-option__textarea__label"},e,n)})}render(){const{label:e,className:t,helper:o,placeholder:n,attr:i,value:r}=this.props,l=s()("brz-ed-option__textarea","brz-ed-option__inline",t,i.className),c=v.default.omit(i,"className");return a.a.createElement("div",Object(g.a)({className:l},c),e||o?this.renderLabel():null,a.a.createElement("textarea",{ref:e=>{this.textarea=e},type:"text",className:"brz-textarea brz-ed-control__textarea",placeholder:n,defaultValue:r,onClick:this.handleFocus,onChange:this.handleChance}))}}Object(n.a)(Do,"defaultProps",{className:"",label:"",placeholder:"",helper:!1,helperContent:"",attr:{},value:"",onChange:v.default.noop});var $o=Do;function Go(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Uo(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Go(Object(o),!0).forEach((function(t){Object(n.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Go(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}class Ko extends a.a.Component{constructor(...e){super(...e),Object(n.a)(this,"handleTooltipOpen",()=>{this.props.onChange(void 0,{isOpen:!0})}),Object(n.a)(this,"handleTooltipClose",()=>{this.props.onChange(void 0,{isOpen:!1})}),Object(n.a)(this,"switchToEdit",e=>{e.stopPropagation(),this.props.toolbar.setItemsRenderer(this.renderToolbarItems)}),Object(n.a)(this,"renderToolbarItems",e=>{const t=e.find(({id:e})=>e===this.props.id),o=s()("brz-ed-popover__inner",{["brz-ed-tooltip--"+t.size]:t.size});return a.a.createElement("div",{className:o},this.renderContent(t))}),Object(n.a)(this,"renderContent",e=>{const{toolbar:t,location:o}=this.props,{options:n,key:i}=e||this.props;return a.a.createElement("div",{key:i,className:"brz-d-xs-flex brz-flex-xs-wrap"},a.a.createElement(ro.a,{className:"brz-ed-popover__options",optionClassName:"brz-ed-popover__option",data:n,location:o,toolbar:t}))})}static filter(e,t){var o;return Uo(Uo({},t),{},{options:null===(o=t.options)||void 0===o?void 0:o.map(e).filter(ao.c)})}static reduce(e,t,o){var n,i;return null!==(n=null===(i=o.options)||void 0===i?void 0:i.reduce(e,t))&&void 0!==n?n:t}static map(e,t){var o;return Uo(Uo({},t),{},{options:null===(o=t.options)||void 0===o?void 0:o.map(e)})}componentDidMount(){const{display:e,onOpenDirect:t}=this.props;"inside"===e&&t&&this.props.toolbar.setItemsRenderer(this.renderToolbarItems)}getClickOutSideExceptions(){let e=[".brz-ed-fixed",".media-modal",".media-modal-backdrop"];return"toolbar"===this.props.location&&e.push(".brz-ed-sidebar__right"),e}renderIcon(){const{icon:e}=this.props;if(v.default.isObject(e)){const t=s()("brz-ed-popover__tooltip--icon-custom",e.className);return a.a.createElement("div",Object(g.a)({},e,{className:t}))}return a.a.createElement(c.b,{icon:e})}renderLabelHelper(){const{label:e,helper:t,helperContent:o}=this.props;return e||t?a.a.createElement("div",{key:"label",className:"brz-ed-option__label brz-ed-option__popover__label"},e,t&&a.a.createElement("div",{className:"brz-ed-option__helper"},a.a.createElement(c.b,{icon:"nc-alert-circle-que"}),a.a.createElement("div",{className:"brz-ed-option__helper__content",dangerouslySetInnerHTML:{__html:o}}))):null}renderInside(){const{className:e,icon:t,title:o}=this.props,n=s()("brz-ed-popover__inner--icon",e),i=v.default.omit(t,"className"),r=s()("brz-ed-popover__tooltip--icon-custom",t.className);return a.a.createElement("div",{className:n,title:o,onMouseDown:this.switchToEdit},v.default.isObject(t)?a.a.createElement("div",Object(g.a)({className:r},i)):a.a.createElement(c.b,{icon:t}))}renderOutside(){const{className:e,title:t,size:o,location:n,toolbar:i}=this.props,r=s()("brz-ed-popover",e);let l=i,c="top";return"rightSidebar"===n&&(l=null,c="bottom"),a.a.createElement("div",{className:r},this.renderLabelHelper(),a.a.createElement(le.c,{className:"brz-ed-popover__tooltip",placement:c,overlay:this.renderContent(),title:t,size:o,toolbar:l,clickOutsideExceptions:this.getClickOutSideExceptions(),onOpen:this.handleTooltipOpen,onClose:this.handleTooltipClose},this.renderIcon()))}render(){const{display:e}=this.props;return"outside"===e?this.renderOutside():this.renderInside()}}Object(n.a)(Ko,"defaultProps",{className:"",icon:"nc-cog",size:"medium",title:"Settings",label:"",helperContent:"",helper:!1,display:"outside",onOpenDirect:!1,location:"",toolbar:null,options:[]});var Yo=Ko;class qo extends a.a.Component{calConditionsAmount(){const e=Object(d.b)().getState();let t=0;$.a||(t=Object(u.I)(e),t=null===t?1:t);const o=Object(u.Q)(e);return t+(o.find(({id:e})=>"triggerOnce"===e)?o.length:o.length+1)}render(){const{className:e,attr:t}=this.props,o=s()("brz-ed-option__popup_conditions",e,t.className),n=v.default.omit(t,"className");return a.a.createElement(ee,{type:"popup"},a.a.createElement("div",Object(g.a)({className:o},n),a.a.createElement("span",{className:"brz-ed-option__popup_conditions-count"},this.calConditionsAmount()),Object(C.a)(" Display Conditions")))}}Object(n.a)(qo,"defaultProps",{className:"",attr:{}});var Xo=qo;var Jo=({className:e="",value:t,attr:o={}})=>{const n=s()("brz-ed-option__popup_conditions",e,o.className),i=v.default.omit(o,"className"),r=Object(d.b)().getState(),l=Object(u.u)(r),{rules:c}=l[t];return a.a.createElement(ee,{value:t},a.a.createElement("div",Object(g.a)({className:n},i),a.a.createElement("span",{className:"brz-ed-option__popup_conditions-count"},c.length),Object(C.a)(" Display Conditions")))},Zo=o(121),Qo=o(26),en=o(206);class tn extends a.a.Component{constructor(...e){super(...e),Object(n.a)(this,"handleCreate",()=>{const e={prompt:"blocks",mode:"single",props:{type:"popup",showTemplate:!1,blocksType:!1,globalSearch:!1,onChangeBlocks:this.handleAddBlocks,onChangeGlobal:this.handleAddBlocks,onChangeSaved:this.handleAddSavedBlock}};F.a.open(e)}),Object(n.a)(this,"handleAddBlocks",e=>{const{value:{popups:t},globalBlocks:o,onChange:n,dispatch:i}=this.props;let{block:r}=e;const{fonts:a}=e;let l;null!=a&&a.length&&i(Object(p.n)(a));let s=[];if("GlobalBlock"!==r.type)l=Object(M.a)(),r=Object(Zo.a)(r,{value:{_blockVisibility:"unlisted",popupId:l}}),s=Object(en.a)(t,t.length,r);else{const{_id:e}=r.value,n=o[e].data;n.value.popupId?l=n.value.popupId:(l=Object(M.a)(),i(Object(p.M)({id:e,data:Object(Zo.a)(n,{value:{popupId:l}}),meta:{is_autosave:0}}))),s=Object(Qo.insert)(t,t.length,r)}n({value:l,popups:s})}),Object(n.a)(this,"handleAddSavedBlock",e=>{const{fonts:t,blocks:o,extraFontStyles:n=[]}=e,{value:{popups:i},dispatch:r,onChange:a}=this.props,l=Object(M.a)(),s=Object(Zo.a)(o[0],{value:{_blockVisibility:"unlisted",popupId:l}});t&&r(Object(p.n)(t)),n.length&&r(Object(p.K)(n)),a({value:l,popups:Object(en.a)(i,i.length,s)})}),Object(n.a)(this,"handleEdit",()=>{const{popupKey:e,value:{value:t}}=this.props;new Map([...U.a,...G.a]).get(e||t).open(),Object(Ce.d)()}),Object(n.a)(this,"handleDelete",()=>{const{value:{value:e,popups:t},globalBlocks:o}=this.props;this.props.onChange({value:"",popups:t.filter(t=>{if("GlobalBlock"!==t.type)return t.value.popupId!==e;{const{_id:n}=t.value,i=o[n].data;return!i||i.value.popupId!==e}})})})}getPopupBlock(){const{globalBlocks:e,pageBlocks:t,value:{value:o,popups:n}}=this.props;let i;return i=n.find(t=>("GlobalBlock"===t.type&&(t=e[t.value._id].data),t.value.popupId===o)),i||(i=t.find(e=>e.value._id===o)),i}renderLabel(){const{label:e,helper:t,helperContent:o}=this.props;return a.a.createElement("div",{className:"brz-ed-option__label"},e,t&&a.a.createElement("div",{className:"brz-ed-option__helper"},a.a.createElement(c.b,{icon:"nc-alert-circle-que"}),a.a.createElement("div",{className:"brz-ed-option__helper__content",dangerouslySetInnerHTML:{__html:o}})))}renderThumbnail(e){const{canDelete:t}=this.props,{url:o,width:n,height:i}=Object(O.b)(e,{searchScreenshotInStoreFirst:!0}),{width:r,height:l}=Object(x.e)(n,i,140),s={width:r+"px",height:l+"px"};return a.a.createElement("figure",{className:"brz-figure brz-ed-option__prompt-popup__image",style:s},a.a.createElement("img",{src:o,className:"brz-img",onClick:this.handleEdit,alt:"Popup Thumbnail"}),t&&a.a.createElement("div",{className:"brz-ed-option__prompt-popup-remove",onClick:this.handleDelete},a.a.createElement(c.b,{icon:"nc-circle-remove"})))}renderAdder(){return a.a.createElement("div",{className:"brz-ed-control__focal-point__label"},a.a.createElement("div",{className:"brz-ed-control__focal-point__upload",onClick:this.handleCreate},a.a.createElement(c.b,{icon:"nc-add"})))}render(){const{className:e,attr:t,label:o,helper:n,display:i,value:r}=this.props,l=s()("brz-ed-option__prompt-popup","brz-ed-option__"+i,e,t.className),c=r.value&&this.getPopupBlock();return a.a.createElement("div",Object(g.a)({},t,{className:l}),o||n?this.renderLabel():null,c?this.renderThumbnail(c):this.renderAdder())}}Object(n.a)(tn,"defaultProps",{label:"",className:"",attr:{},helper:!1,helperContent:"",display:"inline",canDelete:!0,popupKey:"",value:{value:"",popups:[]},onChange:v.default.noop});var on=Object(y.b)(e=>({pageBlocks:Object(u.C)(e),globalBlocks:Object(u.u)(e)}))(tn);class nn extends a.a.Component{constructor(...e){super(...e),Object(n.a)(this,"handleClick",()=>{const{value:e,onChange:t}=this.props;F.a.open({prompt:"icon",mode:"single",props:{onChange:t,name:e.name,type:e.type}})})}render(){const{className:e,attr:t,icon:o}=this.props,n=s()("brz-ed-option__prompt-icon",e,t.className),i=v.default.omit(t,"className");return a.a.createElement("div",Object(g.a)({className:n,onClick:this.handleClick},i),a.a.createElement(c.b,{icon:o}))}}Object(n.a)(nn,"defaultProps",{className:"",attr:{},icon:"nc-grid-45",value:null,onChange:v.default.noop});var rn=nn;class an extends a.a.Component{constructor(...e){super(...e),Object(n.a)(this,"onClick",e=>{this.props.onChange(e)}),Object(n.a)(this,"getCurrent",()=>v.default.find(this.props.children,e=>e.props.value===this.props.defaultValue)||this.props.children[0]),Object(n.a)(this,"renderOptions",()=>v.default.map(this.props.children,(e,t)=>a.a.cloneElement(e,{key:t,active:this.props.defaultValue===e.props.value,onClick:e.props.disabled?null:this.onClick.bind(null,e.props.value)})))}render(){const{className:e,name:t,defaultValue:o}=this.props,n=s()("brz-ed-control__radio-group",e);return a.a.createElement("div",{className:n},this.renderOptions(),a.a.createElement("div",null,a.a.createElement("input",{className:"brz-input",name:t,type:"hidden",value:o})))}}Object(n.a)(an,"defaultProps",{name:"defaultName",className:"",defaultValue:"",onChange:v.default.noop});class ln extends a.a.Component{render(){const{className:e,active:t,children:o,onClick:n}=this.props,i=s()("brz-control__radio-option",{active:t},e);return a.a.createElement("div",{className:i,onClick:n},o)}}class sn extends a.a.Component{constructor(...e){super(...e),Object(n.a)(this,"renderIcon",e=>a.a.createElement("div",{className:"brz-ed-option__radio-group__icon"},a.a.createElement(c.b,{icon:e}))),Object(n.a)(this,"renderLabel",()=>{const{label:e,helper:t,helperContent:o}=this.props,n=t?a.a.createElement("div",{className:"brz-ed-option__helper"},a.a.createElement(c.b,{icon:"nc-alert-circle-que"}),a.a.createElement("div",{className:"brz-ed-option__helper__content",dangerouslySetInnerHTML:{__html:o}})):null;return a.a.createElement("div",{className:"brz-ed-option__label brz-ed-option__radio-group__label"},e,n)}),Object(n.a)(this,"renderRadioChoices",e=>e.map(({value:e,title:t,icon:o})=>{const n=s()({"brz-ed-option__radio-group--boxed":o});return a.a.createElement(ln,{key:e,value:e,className:n},o?this.renderIcon(o):null,t?this.renderTitle(t):null)})),Object(n.a)(this,"renderTitle",e=>a.a.createElement("div",{className:"brz-ed-option__radio-group__title"},e))}render(){const{label:e,display:t,className:o,helper:n,choices:i,attr:r,value:l,onChange:c}=this.props,d=s()("brz-ed-option__radio-group","brz-ed-option__"+t,o,r.className),p=v.default.omit(r,"className");return a.a.createElement("div",Object(g.a)({className:d},p),e||n?this.renderLabel():null,a.a.createElement(an,{defaultValue:l,onChange:c},this.renderRadioChoices(i)))}}Object(n.a)(sn,"defaultProps",{label:"",display:"inline",icon:"",title:"",className:"",value:"",helper:!1,helperContent:"",attr:{},choices:[],onChange:v.default.noop});var cn=sn,dn=o(7),pn=o.n(dn),un=o(107),bn=o(300);class mn extends a.a.Component{renderLabel(){const{label:e,helper:t,helperContent:o}=this.props,n=t?a.a.createElement("div",{className:"brz-ed-option__helper"},a.a.createElement(c.b,{icon:"nc-alert-circle-que"}),a.a.createElement("div",{className:"brz-ed-option__helper__content",dangerouslySetInnerHTML:{__html:o}})):null;return a.a.createElement("div",{className:"brz-ed-option__label brz-ed-option__check-group__label"},e,n)}renderChoices(){const{choices:e}=this.props;return e.map(({value:e,title:t,icon:o})=>{const n=s()({"brz-ed-option__check-group--boxed":o});return a.a.createElement(bn.a,{key:e,className:n,name:t||o,value:e},o&&a.a.createElement("div",{className:"brz-ed-option__check-group__icon"},a.a.createElement(c.b,{icon:o})),t&&a.a.createElement("div",{className:"brz-ed-option__check-group__title"},t))})}render(){const{label:e,display:t,className:o,helper:n,attr:i,value:r,onChange:l}=this.props,c=s()("brz-ed-option__check-group","brz-ed-option__"+t,o,i.className);return a.a.createElement("div",Object(g.a)({},i,{className:c}),e||n?this.renderLabel():null,a.a.createElement(un.c,{defaultValue:r,onChange:l},this.renderChoices()))}}Object(n.a)(mn,"propTypes",{label:pn.a.string,display:pn.a.string,icon:pn.a.string,title:pn.a.string,className:pn.a.string,helper:pn.a.bool,helperContent:pn.a.string,attr:pn.a.object,choices:pn.a.array.isRequired,value:pn.a.object.isRequired,onChange:pn.a.func.isRequired}),Object(n.a)(mn,"defaultProps",{label:"",display:"inline",icon:"",title:"",className:"",value:{},helper:!1,helperContent:"",attr:{},choices:[],onChange:v.default.noop});var hn=mn;class gn extends r.Component{render(){const{className:e,value:t,min:o,max:n,step:i}=this.props,r=s()("brz-ed-control__slider",e);return a.a.createElement("div",{className:r},a.a.createElement(xt.c,{value:t,min:o,max:n,step:i,onChange:this.props.onChange,onAfterChange:this.props.onChangeEnd}))}}Object(n.a)(gn,"defaultProps",{value:100,min:0,max:100,step:1,onChange:v.default.noop,onChangeEnd:v.default.noop});class fn extends a.a.Component{constructor(...e){super(...e),Object(n.a)(this,"state",{inputText:""}),Object(n.a)(this,"inputRef",a.a.createRef()),Object(n.a)(this,"handleInputTextChange",e=>{this.setState({inputText:e})}),Object(n.a)(this,"handleInputValueChange",e=>{const{suffixValue:t,onChange:o}=this.props;o({value:e,suffixValue:t})}),Object(n.a)(this,"handleSuffixChange",e=>{const{value:t,onChange:o}=this.props;o({value:t,suffixValue:e})})}componentDidMount(){this.setState({inputText:this.inputRef.current.getText()})}componentDidUpdate(){this.state.inputText!==this.inputRef.current.getText()&&this.setState({inputText:this.inputRef.current.getText()})}renderSuffix(){const{suffixes:e,suffixValue:t}=this.props;return e.map(o=>{const{title:n,value:i}=o,r=s()("brz-ed-option__text-box__helper",{"brz-ed-option__text-box__helper--active":i===t}),l=e.length>1?()=>{this.handleSuffixChange(i)}:null;return a.a.createElement("div",{key:i,className:r,onClick:l},n)})}render(){const{className:e,attr:t,min:o,max:n,step:i,value:r,suffixes:l,suffixValue:c}=this.props,{inputText:d}=this.state,p=null!==c&&l.length>1,u=s()("brz-ed-option__text-box",{"brz-ed-option__text-box--fixed-width":p},e,t.className),b=d.slice(0,-1)+"9";return a.a.createElement("div",Object(g.a)({},t,{className:u}),a.a.createElement("label",{className:"brz-label"},a.a.createElement("div",{className:"brz-ed-option__text-box__input"},!p&&a.a.createElement("div",{className:"brz-invisible"},b),a.a.createElement(wo.a,{ref:this.inputRef,className:"brz-input brz-ed-control__text-box--resizer",min:o,max:n,step:i,value:r,onTextChange:this.handleInputTextChange,onChange:this.handleInputValueChange})),l.length>0&&this.renderSuffix()))}}Object(n.a)(fn,"defaultProps",{className:"",attr:{},suffixes:[{title:"px",value:"px"}],min:0,max:0,step:0,value:0,suffixValue:null,onChange:v.default.noop});var vn=fn;function yn(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Sn(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?yn(Object(o),!0).forEach((function(t){Object(n.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):yn(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}class On extends a.a.Component{constructor(e){super(e),Object(n.a)(this,"handleSliderChange",e=>{this.handleChange({value:e},{sliderDragEnd:!1})}),Object(n.a)(this,"handleSliderChangeEnd",e=>{this.handleChange({value:e},{sliderDragEnd:!0})}),Object(n.a)(this,"handleInputChange",({value:e,suffixValue:t})=>{this.handleChange({value:e,suffix:t},{sliderDragEnd:!0})}),Object(n.a)(this,"handleChange",(e,t)=>{const{onChange:o}=this.props,n=Sn(Sn({},this.state),e);this.setState(n),o(n,t)});const t=e.value;this.state=Sn({},t)}static getDerivedStateFromProps({value:e},t){return e.value!==t.value||e.suffix!==t.suffix?Sn({},e):null}renderLabel(){const{label:e,helper:t,helperContent:o}=this.props;return a.a.createElement("div",{className:"brz-ed-option__label brz-ed-option__slider__label"},e,t&&a.a.createElement("div",{className:"brz-ed-option__helper"},a.a.createElement(c.b,{icon:"nc-alert-circle-que"}),a.a.createElement("div",{className:"brz-ed-option__helper__content",dangerouslySetInnerHTML:{__html:o}})))}renderIcon(){const{icon:e,title:t}=this.props;return a.a.createElement("div",{className:"brz-ed-option__slider__icon",title:t},a.a.createElement(c.b,{icon:e}))}renderInput(){const e=this.constructor.defaultProps,t=this.props,{suffix:{show:o=e.suffix.show,choices:n=e.suffix.choices},input:{min:i=(null!=e.input.min?e.input.min:null!=t.slider.min?t.slider.min:e.slider.min),max:r=(null!=e.input.max?e.input.max:null!=t.slider.max?t.slider.max:e.slider.max),step:l=(null!=e.input.step?e.input.step:null!=t.slider.step?t.slider.step:e.slider.step)}}=this.props,{value:s,suffix:c}=this.state;return a.a.createElement(vn,{min:Number(i),max:Number(r),step:Number(l),suffixes:o?n:[],suffixValue:o?c:null,value:Number(s),onChange:this.handleInputChange})}render(){const e=this.constructor.defaultProps,{className:t,label:o,display:n,slider:{min:i=e.slider.min,max:r=e.slider.max,step:l=e.slider.step},input:c,suffix:d,helper:p,attr:u,icon:b}=this.props,m=s()("brz-ed-option__slider","brz-ed-option__"+n,{"brz-ed-option__slider-suffix":d.length>0},t,u.className),h=v.default.omit(u,"className"),f=Object(W.b)(this.state.value,i,r);return a.a.createElement("div",Object(g.a)({className:m},h),o||p?this.renderLabel():null,a.a.createElement("div",{className:"brz-ed-option__slider__content"},b&&this.renderIcon(),a.a.createElement(gn,{id:this.props.id,min:Number(i),max:Number(r),step:Number(l),value:Number(f),onChange:this.handleSliderChange,onChangeEnd:this.handleSliderChangeEnd}),c.show&&this.renderInput()))}}Object(n.a)(On,"defaultProps",{label:"",title:"",display:"inline",className:"",helperContent:"",helper:!1,icon:"",attr:{},slider:{min:0,max:100,step:1},input:{show:!1,min:-9999,max:9999,step:null},suffix:{show:!1,choices:[]},value:{value:0,suffix:null},onChange:v.default.noop});var xn=On;class Cn extends a.a.Component{constructor(...e){super(...e),Object(n.a)(this,"nodeRef",a.a.createRef()),Object(n.a)(this,"inputRef",a.a.createRef()),Object(n.a)(this,"mounted",!1),Object(n.a)(this,"mouseDown",!1),Object(n.a)(this,"timeoutId",null),Object(n.a)(this,"intervalId",null),Object(n.a)(this,"handleDocumentMouseUp",()=>{this.mouseDown&&(this.mouseDown=!1,clearTimeout(this.timeoutId),clearInterval(this.intervalId))}),Object(n.a)(this,"handleIncrement",()=>{this.emulateNativeInput(this.handleIncrementCb)}),Object(n.a)(this,"handleIncrementCb",()=>{this.inputRef.current.increment()}),Object(n.a)(this,"handleDecrement",()=>{this.emulateNativeInput(this.handleDecrementCb)}),Object(n.a)(this,"handleDecrementCb",()=>{this.inputRef.current.decrement()})}componentDidMount(){this.mounted=!0,this.nodeRef.current.ownerDocument.addEventListener("mouseup",this.handleDocumentMouseUp)}componentWillUnmount(){this.mounted=!1,this.nodeRef.current.ownerDocument.removeEventListener("mouseup",this.handleDocumentMouseUp),clearTimeout(this.timeoutId),clearInterval(this.intervalId)}emulateNativeInput(e){e(),this.mouseDown=!0,this.timeoutId=setTimeout(()=>{this.mounted&&this.mouseDown&&(this.intervalId=setInterval(()=>{this.mounted&&this.mouseDown&&e()},50))},400)}render(){const{className:e,value:t,min:o,max:n,step:i,onChange:r}=this.props,l=s()("brz-ed-control__stepper",e);return a.a.createElement("div",{ref:this.nodeRef,className:l},a.a.createElement("div",{className:"brz-ed-control__stepper--value"},a.a.createElement(wo.a,{ref:this.inputRef,className:"brz-input brz-ed-control__input",value:t,min:o,max:n,step:i,onChange:r})),a.a.createElement("div",{className:"brz-ed-control__stepper--arrows"},a.a.createElement("div",{className:"brz-ed-control__stepper--up",onMouseDown:this.handleIncrement},a.a.createElement(c.b,{icon:"nc-stre-up"})),a.a.createElement("div",{className:"brz-ed-control__stepper--down",onMouseDown:this.handleDecrement},a.a.createElement(c.b,{icon:"nc-stre-down"}))))}}Object(n.a)(Cn,"propTypes",{className:pn.a.string,min:pn.a.number,max:pn.a.number,step:pn.a.number,value:pn.a.number,onChange:pn.a.func}),Object(n.a)(Cn,"defaultProps",{className:"",min:0,max:10,step:1,value:1,onChange:v.default.noop});class Bn extends a.a.Component{constructor(...e){super(...e),Object(n.a)(this,"renderLabel",()=>{const{label:e,helper:t,helperContent:o}=this.props,n=t?a.a.createElement("div",{className:"brz-ed-option__helper"},a.a.createElement(c.b,{icon:"nc-alert-circle-que"}),a.a.createElement("div",{className:"brz-ed-option__helper__content",dangerouslySetInnerHTML:{__html:o}})):null;return a.a.createElement("div",{className:"brz-ed-option__label brz-ed-option__stepper__label"},e,n)})}render(){const{label:e,display:t,min:o,max:n,step:i,helper:r,value:l,className:c,attr:d,onChange:p}=this.props,u=s()("brz-ed-option__stepper","brz-ed-option__"+t,c,d.className),b=v.default.omit(d,"className");return a.a.createElement("div",Object(g.a)({className:u},b),e||r?this.renderLabel():null,a.a.createElement(Cn,{value:Number(l),min:Number(o),max:Number(n),step:Number(i),onChange:p}))}}Object(n.a)(Bn,"defaultProps",{label:"",display:"inline",min:0,max:10,step:1,value:5,className:"",attr:{},helper:!1,helperContent:"",onChange:v.default.noop});var jn=Bn;class Pn extends a.a.Component{constructor(...e){super(...e),Object(n.a)(this,"handleChange",e=>{const{closeTooltip:t,showHiddenElements:o,onChange:n}=this.props;if("off"===e&&t&&!o){const e=Object(le.d)();e&&e.state.isOpen&&e.close()}n(e)})}renderLabel(){const{label:e,helper:t,helperContent:o}=this.props;return a.a.createElement("div",{className:"brz-ed-option__label brz-ed-option__switch__label"},e,t&&a.a.createElement("div",{className:"brz-ed-option__helper"},a.a.createElement(c.b,{icon:"nc-alert-circle-que"}),a.a.createElement("div",{className:"brz-ed-option__helper__content",dangerouslySetInnerHTML:{__html:o}})))}render(){const{label:e,display:t,helper:o,value:n,valueMap:i,attr:r,className:l}=this.props,c=s()("brz-ed-option__switch","brz-ed-option__"+t,l,r.className);return a.a.createElement("div",Object(g.a)({},r,{className:c}),e||o?this.renderLabel(e):null,a.a.createElement(D.a,{key:n,defaultValue:n,valueMap:i,onChange:this.handleChange}))}}Object(n.a)(Pn,"defaultProps",{label:"",display:"inline",className:"",closeTooltip:!1,value:"off",valueMap:{true:"on",false:"off"},attr:{},helper:!1,helperContent:"",onChange:v.default.noop});var Tn=Object(y.b)(e=>({showHiddenElements:Object(u.L)(e)}))(Pn);class wn extends a.a.Component{constructor(...e){super(...e),Object(n.a)(this,"renderTabs",()=>{const{value:e,hideHandlesWhenOne:t,align:o,tabsPosition:n,tabsClassName:i,children:r,onChange:l}=this.props,d=a.a.Children.toArray(r);if(0===d.length||1===d.length&&t)return null;const p=s()("brz-ul brz-ed-control__tabs","brz-justify-content-xs-"+o,"brz-ed-control__tabs__"+n,i),u=d.map((t,o)=>{const{icon:n,value:i,title:r,label:d}=t.props,p=s()("brz-li brz-ed-control__tab",{"brz-ed-control__tab__icon":n,active:e===i});return a.a.createElement("li",{key:o,title:r,className:p,onClick:()=>l(i)},n&&a.a.createElement(c.b,{icon:n}),a.a.createElement("span",{className:"brz-span"},d))});return a.a.createElement("ul",{className:p},u)}),Object(n.a)(this,"renderTabContent",()=>{const{value:e,tabsPosition:t,children:o}=this.props,n=a.a.Children.toArray(o),i=s()("brz-ed-control__tab__content","brz-ed-control__tabs__content__"+t),r=n.find(t=>e===t.props.value);return r&&a.a.createElement("div",{className:i},r.props.children)})}render(){return a.a.createElement("div",{className:this.props.className},this.props.helper,this.renderTabs(),this.renderTabContent())}}Object(n.a)(wn,"propTypes",{align:pn.a.string,className:pn.a.string,tabsClassName:pn.a.string,tabsPosition:pn.a.string,value:pn.a.string,hideHandlesWhenOne:pn.a.bool,onChange:pn.a.func}),Object(n.a)(wn,"defaultProps",{align:"",className:"",tabsClassName:"",tabsPosition:"top",value:"",hideHandlesWhenOne:!0,onChange:v.default.noop,helper:null});class En extends a.a.Component{render(){return this.props.children}}function zn(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function kn(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?zn(Object(o),!0).forEach((function(t){Object(n.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):zn(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}class Fn extends a.a.Component{static filter(e,t){var o,n;return kn(kn({},t),{},{tabs:null!==(o=null===(n=t.tabs)||void 0===n?void 0:n.map(t=>{var o;return kn(kn({},t),{},{options:null==t||null===(o=t.options)||void 0===o?void 0:o.map(e).filter(ao.c)})}).filter(e=>{var t;return(null==e||null===(t=e.options)||void 0===t?void 0:t.length)>0}))&&void 0!==o?o:[]})}static reduce(e,t,o){var n,i;return null!==(n=null===(i=o.tabs)||void 0===i?void 0:i.reduce((t,o)=>{var n;return null==o||null===(n=o.options)||void 0===n?void 0:n.reduce(e,t)},t))&&void 0!==n?n:t}static map(e,t){var o;return kn(kn({},t),{},{tabs:null===(o=t.tabs)||void 0===o?void 0:o.map(t=>kn(kn({},t),{},{options:t.options.map(e)}))})}constructor(e){super(e),Object(n.a)(this,"handleTabChange",e=>{this.isControlled?this.props.onChange(e):e!==this.state.activeTab&&this.setState({activeTab:e},()=>{const e=Object(le.d)();e&&e.reposition()})});const[t]=e.tabs;this.state={activeTab:t&&(t.id||t.label||t.tabIcon)},this.isControlled=null!==e.value}getActiveTab(){const{tabs:e,value:t}=this.props,o=e.some(({id:e})=>e===t);return this.isControlled&&o?t:this.state.activeTab}sortTabs(e){for(const t of e)if(void 0!==t.position)return[...e].sort((e,t)=>(e.position||100)-(t.position||100));return e}render(){const{tabs:e,className:t,tabsPosition:o,tabsClassName:n,hideHandlesWhenOne:i,align:r,location:l,toolbar:s}=this.props,c=this.sortTabs(e).map(({id:e,title:o,label:n,options:i,tabIcon:r})=>{const c=e||n||r;return a.a.createElement(En,{key:c,title:o,label:n,icon:r,value:c},a.a.createElement(ro.a,{className:"brz-ed-tabs__options",optionClassName:t,data:i,toolbar:s,location:l}))});return a.a.createElement(wn,{className:"brz-ed-tabs__option--inline",tabsClassName:n,tabsPosition:o,value:this.getActiveTab(),align:r,hideHandlesWhenOne:i,onChange:this.handleTabChange},c)}}Object(n.a)(Fn,"defaultProps",{align:"center",hideHandlesWhenOne:!0,tabs:[],location:"",value:null,toolbar:null});var _n=Fn,Rn=o(84);function Hn({className:e,children:t,value:o,onChange:n}){var i;const r=s()("brz-ed-control__icon-carousel",e),l=null!==(i=t.find(e=>e.props.value===o))&&void 0!==i?i:t[0],c=t.map(e=>e.props.value);return a.a.createElement("div",{className:r,title:l.props.title,onClick:()=>{const e=Object(Rn.g)(o,c),t=void 0!==e?Object(Rn.i)(e,c):void 0;void 0!==t&&n(c[t])}},l)}var Ln=Hn;function Mn({className:e,icon:t}){return a.a.createElement(c.a,{className:e,icon:t})}var In=Mn;class Wn extends a.a.Component{constructor(...e){super(...e),Object(n.a)(this,"handleChange",e=>{const{closeTooltip:t,showHiddenElements:o,onChange:n}=this.props;if("off"===e&&t&&!o){const e=Object(le.d)();e&&e.close()}n(e)})}getTitle(){const{choices:e,value:t}=this.props,o=e.find(e=>e.value===t);return o?o.title:""}render(){const{className:e,attr:t,choices:o,value:n}=this.props,i=v.default.map(o,({icon:e,value:t})=>a.a.createElement(In,{key:e,value:t,icon:e})),r=s()("brz-ed-option__toggle",e,t.className);return a.a.createElement(Ln,Object(g.a)({value:n,title:this.getTitle(),onChange:this.handleChange},t,{className:r}),i)}}Object(n.a)(Wn,"defaultProps",{className:"",attr:{},closeTooltip:!1,value:"",choices:[]}),Object(n.a)(Wn,"propTypes",{className:pn.a.string,attr:pn.a.object,closeTooltip:pn.a.bool,value:pn.a.any,choices:pn.a.array.isRequired});var Nn=Object(y.b)(e=>({showHiddenElements:Object(u.L)(e)}))(Wn);class Vn extends a.a.Component{constructor(...e){super(...e),Object(n.a)(this,"handleInputValueChange",e=>{this.props.onChange(e)})}renderLabel(){const{label:e,helper:t,helperContent:o}=this.props;return a.a.createElement("div",{className:"brz-ed-option__label brz-ed-option__input-number__label"},e,t&&a.a.createElement("div",{className:"brz-ed-option__helper"},a.a.createElement(c.b,{icon:"nc-alert-circle-que"}),a.a.createElement("div",{className:"brz-ed-option__helper__content",dangerouslySetInnerHTML:{__html:o}})))}render(){const{className:e,label:t,helper:o,attr:n,min:i,max:r,step:l,value:c}=this.props,d=s()("brz-ed-option__inline","brz-ed-option__input-number",e,n.className);return a.a.createElement("div",Object(g.a)({},n,{className:d}),(t||o)&&this.renderLabel(),a.a.createElement("div",{className:"brz-ed-option__input-number-wrap"},a.a.createElement(wo.a,{className:"brz-input",min:i,max:r,step:l,value:c,onChange:this.handleInputValueChange})))}}Object(n.a)(Vn,"defaultProps",{className:"",label:"",placeholder:"",helper:!1,helperContent:"",attr:{},min:-9999,max:9999,step:1,value:0,onChange:v.default.noop});var An=Vn;function Dn(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function $n(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Dn(Object(o),!0).forEach((function(t){Object(n.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Dn(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const Gn=xt.c.Handle;class Un extends a.a.Component{constructor(e){super(e),Object(n.a)(this,"handleOnMouseDown",e=>{const t=0===e?"startPointer":"finishPointer";this.handleChange({activePointer:t})}),Object(n.a)(this,"handleRangeChange",e=>{this.handleChange({startPointer:e[0],finishPointer:e[1]})}),Object(n.a)(this,"handleChange",e=>{const t=$n($n({},this.state),e);this.setState(t),this.props.onChange(t)}),Object(n.a)(this,"handle",e=>{const{className:t,dragging:o,value:n,index:i}=e,r=Object(Xe.a)(e,["className","dragging","value","index"]),l=s()(t,{"brz-ed-rc-slider-handle--active":"startPointer"===this.state.activePointer&&0===i||"finishPointer"===this.state.activePointer&&1===i});return a.a.createElement(Gn,Object(g.a)({key:i,value:n,onMouseDown:()=>this.handleOnMouseDown(i)},r,{className:l}))});const t=e.value;this.state=$n({},t)}render(){const{className:e,config:{range:{min:t,max:o,step:n}},attr:i}=this.props,r=s()("brz-ed-option__range",e,i.className),l=v.default.omit(i,"className"),{startPointer:c,finishPointer:d,bgColorHex:p,gradientColorHex:u}=this.state;return a.a.createElement("div",Object(g.a)({className:r},l),a.a.createElement("div",{className:"brz-ed-option__range__content"},a.a.createElement(Ct,{id:this.props.id,min:t,max:o,step:n,startPointer:c,finishPointer:d,handle:this.handle,railStyle:{backgroundImage:`linear-gradient(to right, ${p}, ${u})`},onChange:this.handleRangeChange})))}}Object(n.a)(Un,"defaultProps",{className:"",attr:{},config:{range:{min:0,max:100,step:1}},value:{startPointer:0,finishPointer:100,activePointer:"startPointer",bgColorHex:"#000000",gradientColorHex:"#000000"},onChange:v.default.noop});var Kn=Un;class Yn extends a.a.Component{constructor(...e){super(...e),Object(n.a)(this,"handleMouseDown",e=>{e.preventDefault(),F.a.open({prompt:"apps",mode:"single",props:this.props.value})})}render(){const{className:e,attr:t,icon:o}=this.props,n=s()("brz-ed-option__button",e,t.className);return a.a.createElement("div",Object(g.a)({},t,{className:n,onMouseDown:this.handleMouseDown}),a.a.createElement(c.b,{icon:o}))}}Object(n.a)(Yn,"defaultProps",{className:"",attr:{},icon:"nc-cog",value:{service:"facebook",group:"social"}});var qn=Yn,Xn=o(581),Jn=o(19),Zn=o(238),Qn=o(304);const ei=e=>{const t=Object(Qn.b)((e,t)=>{var o;return[...e,...null!==(o=t.states)&&void 0!==o?o:[]]},[],e);return t.length?Object(v.unique)(t):["normal"]},ti=(e,t)=>Object(Zn.a)(t=>ei(t).includes(e),t),oi=e=>{switch(e){case"normal":return"nc-circle";case"hover":return"nc-hover";case"active":return"nc-target"}},ni=e=>{switch(e){case"normal":return Object(C.a)("Normal");case"hover":return Object(C.a)("Hover");case"active":return Object(C.a)("Active")}};var ii=o(5),ri=o(71);function ai(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function li(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?ai(Object(o),!0).forEach((function(t){Object(n.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):ai(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const si=(e,t)=>{var o;const n=null===(o=t.options)||void 0===o?void 0:o.map(e).filter(ao.c);return null!=n&&n.length?li(li({},t),{},{options:n}):void 0},ci=(e,t)=>{var o,n;const i=null===(o=t.tabs)||void 0===o?void 0:o.map(t=>{var o;return li(li({},t),{},{options:null===(o=t.options)||void 0===o?void 0:o.map(e).filter(ao.c)})}).filter(e=>{var t,o;return(null!==(t=null===(o=e.options)||void 0===o?void 0:o.length)&&void 0!==t?t:0)>0});return(null!==(n=null==i?void 0:i.reduce((e,t)=>{var o,n;return(null!==(o=null===(n=t.options)||void 0===n?void 0:n.length)&&void 0!==o?o:0)+e},0))&&void 0!==n?n:0)>0?li(li({},t),{},{tabs:i}):void 0};function di(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function pi(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?di(Object(o),!0).forEach((function(t){Object(n.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):di(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const ui=({options:e,states:t,className:o,toolbar:n,location:i,onChange:l,value:{value:s}})=>{const c=e.reduce((e,t)=>[...e,...ei(t)],[]),d=t.filter(e=>c.includes(e)),p=Object(r.useCallback)(e=>l({value:e}),[l]);switch(Object(r.useEffect)(()=>()=>l({value:ii.d}),[]),d.length){case 0:return null;case 1:return a.a.createElement(ro.a,{className:"brz-ed-tabs__options",optionClassName:o,data:e.map(e=>ti(t[0],e)).filter(ao.c),toolbar:n,location:i});default:return a.a.createElement(wn,{tabsPosition:"left",value:s,onChange:p,className:"brz-ed-tabs__options"},d.map(t=>a.a.createElement(En,{key:t,active:s===t,title:ni(t),icon:oi(t),value:t},a.a.createElement(ro.a,{className:"brz-ed-tabs__options",optionClassName:o,data:e.map(e=>ti(t,e)).filter(ao.c),toolbar:n,location:i}))))}};ui.defaultValue={value:ii.d},ui.fromElementModel=Object(Ro.d)(Object(ri.a)("value"),mo.d,Object(Jn.mPipe)(ii.e),Object(ao.g)(ii.d),e=>({value:e})),ui.toElementModel=e=>e,ui.filter=si,ui.reduce=(e,t,o)=>o.options.reduce(e,t),ui.map=(e,t)=>pi(pi({},t),{},{options:t.options.map(e)});const bi=({className:e="",palette:t,onChange:o,openSettings:n,value:i=""})=>{const l=s()("brz-ed-control__color-palette",e);return a.a.createElement("div",{className:l},t.map(({id:e,hex:t})=>{const n=Object(r.useCallback)(()=>o(e),[o]),l=s()({"brz-ed-control__color-palette__item":!0,active:e===i});return a.a.createElement("div",{key:e,className:l,style:{backgroundColor:t},onClick:n})}),a.a.createElement("div",{className:"brz-ed-control__color-palette__icon",onClick:n},a.a.createElement(c.b,{icon:"nc-cog"})))};function mi(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function hi(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?mi(Object(o),!0).forEach((function(t){Object(n.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):mi(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const gi=J.a.getAll(),fi=(e,t,o)=>((e,t)=>{var o;return null===(o=t.find(t=>t.id===e))||void 0===o?void 0:o.hex})(t,o)||e,vi=({className:e,opacity:t=!0,palette:o=[],paletteOpenSettings:n,value:i,onChange:r})=>{const l=s()("brz-ed-control__colorPicker3",e),c={opacity:i.opacity,hex:fi(i.hex,i.palette,o)};return a.a.createElement("div",{className:l},a.a.createElement(vt,{value:c,disableOpacity:!t,onChange:({hex:e,opacity:t,isChanged:o,opacityDragEnd:n})=>{r({hex:e,opacity:t,palette:i.palette},{isChanged:o,opacityDragEnd:n})}}),Object(Et.b)(gi)&&Object(Et.g)(gi)?null:a.a.createElement(bi,{palette:o,onChange:e=>{r(hi(hi({},i),{},{palette:e}),{isChanged:"palette"})},openSettings:n,value:i.palette}))},yi=["color1","color2","color3","color4","color5","color6","color7","color8"],Si=Object(Ro.b)(Object(Ro.c)(e=>yi.includes(e))),Oi=e=>""===e?"":Si(e),xi=(e,t)=>""===e?t:e;var Ci=o(25),Bi=o(83);function ji(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Pi(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?ji(Object(o),!0).forEach((function(t){Object(n.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):ji(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function Ti(e,t,o){return Object(ao.h)(t[e],o)}function wi(e,t,o){return Object(ao.b)(t)||t===Ti(e,o)?o:Pi(Pi({},Object(L.g)(o)),{},{[e]:t})}function Ei(e,t){return Object(Rn.k)(e).reduce((e,[t,...o])=>t&&t(...o,e)||e,t)}function zi(e,t,o){return(n,i)=>void 0===e(n)||t(i)===n?i:o(n,i)}function ki(e,t){return(o,n)=>e(n)===o?n:t(o,n)}const Fi=e=>e.opacity,_i=ki(Fi,(e,t)=>{const o=xi(t.palette,t.tempPalette);return Ei([[wi,"tempOpacity",0===e?Fi(t):void 0],[wi,"opacity",e],[wi,"palette",e?o:""],[wi,"tempPalette",e?void 0:o]],t)}),Ri=e=>e.hex,Hi=ki(Ri,(e,t)=>Ei([[wi,"hex",e],[wi,"opacity",e?t.opacity||t.tempOpacity||1:0],[wi,"tempOpacity",e?void 0:t.opacity],[wi,"palette",e?"":void 0],[wi,"tempPalette",e?"":void 0]],t)),Li=e=>e.palette,Mi=ki(Li,(e,t)=>{const o=Li(t)||t.tempPalette,n=Fi(t)||t.tempOpacity;return Ei([[wi,"tempPalette",e?void 0:o],[wi,"palette",e],[wi,"opacity",e?Fi(t)||n:void 0]],t)});function Ii(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Wi(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Ii(Object(o),!0).forEach((function(t){Object(n.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Ii(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const Ni=(e,t,o,n)=>Wi(Wi({},e(t,o)),{},{tempOpacity:0!==t&&n?o.opacity:o.tempOpacity}),Vi=(e,t)=>{const o=e?Fi(t)||Ti("tempOpacity",t):0,n=e?Li(t)||Ti("tempPalette",t):"";return Ei([[_i,o],[Mi,n]],t)},Ai=(e,t)=>{var o;return null===(o=t.find(t=>t.id===e))||void 0===o?void 0:o.hex},Di=({className:e="",value:t,onChange:o,onBlur:n,size:i="auto",placeholder:r=""})=>{const l=s()("brz-ed-control__input2",e,"brz-ed-control__input2--"+i);return a.a.createElement("div",{className:l},a.a.createElement("input",{type:"text",value:t,placeholder:r,onChange:({target:{value:e}})=>o(e),onBlur:n}))};var $i=o(115);const Gi=({className:e,value:t,onChange:o})=>{const[n,i]=Object(r.useState)(t);return Object($i.a)(()=>{t!==n&&Object(ao.d)(o,Object(Bi.b)(n))},1e3,[n]),Object(r.useEffect)(()=>i(t),[t]),a.a.createElement(Di,{className:s()("brz-ed-control__input-hex",e),value:n,onChange:i})},Ui=({value:e,onChange:t,children:o})=>a.a.createElement("div",{className:"brz-ed-control__color-picker-inputs"},a.a.createElement(Gi,{value:e,onChange:t}),o);var Ki;(Ki||(Ki={})).opacity="opacity";const Yi=Object(Ro.b)(Object(Ro.c)(e=>Object(W.c)(0,1,e))),qi=Ni.bind(null,_i),Xi=({className:e,attr:t,onChange:o,value:n,config:i})=>{var l;const c=Object(y.c)(),d=s()("brz-ed-option__colorPicker",e,null==t?void 0:t.className),u=Object(r.useCallback)(()=>c(Object(p.S)("leftSidebar",{isOpen:!0,drawerContentType:"styling"})),[c]),b=Object(r.useCallback)((e,t)=>{switch(t.isChanged){case"palette":Object(Ro.b)(()=>e.palette,Oi,e=>Mi(e,n),o)();break;case"hex":Object(Ro.b)(()=>e.hex,Bi.b,e=>Hi(e,n),o)();break;case"opacity":Object(Ro.b)(()=>e.opacity,Yi,e=>qi(e,n,!!t.opacityDragEnd),o)()}},[n,o]),m=Object(r.useCallback)(e=>o(Hi(e,n)),[n,o]);return a.a.createElement("div",Object(g.a)({},t,{className:d}),a.a.createElement(vi,{value:n,opacity:null===(l=null==i?void 0:i.opacity)||void 0===l||l,onChange:b,palette:Object(ve.c)(),paletteOpenSettings:u}),a.a.createElement(Ui,{value:n.hex,onChange:m}))},Ji={hex:Bi.a,opacity:1,tempOpacity:1,palette:"",tempPalette:""};Xi.defaultValue=Ji,Xi.fromElementModel=e=>{var t,o,n,i,r,a;const l=null!==(t=Object(Ro.b)(()=>e("palette"),mo.d,Oi)())&&void 0!==t?t:Ji.palette;return{hex:null!==(o=null!==(n=Ai(l,Object(ve.c)()))&&void 0!==n?n:Object(Ro.b)(e,mo.d,Bi.b)("hex"))&&void 0!==o?o:Ji.hex,opacity:null!==(i=Object(Ro.b)(()=>e("opacity"),Ci.b,Yi)())&&void 0!==i?i:Ji.opacity,palette:l,tempOpacity:null!==(r=Object(Ro.b)(()=>e("tempOpacity"),Ci.b,Yi)())&&void 0!==r?r:Ji.tempOpacity,tempPalette:null!==(a=Object(Ro.b)(e,mo.d,Oi)("tempPalette"))&&void 0!==a?a:Ji.palette}},Xi.toElementModel=e=>({hex:e.hex,opacity:e.opacity,palette:e.palette,tempOpacity:e.tempOpacity,tempPalette:e.tempPalette});var Zi=o(130);function Qi(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function er(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Qi(Object(o),!0).forEach((function(t){Object(n.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Qi(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function tr(e){const t=s()(e.className,"brz-ed-control__colorPickerSelect"),o=Object(r.useCallback)(t=>{e.onChange(er(er({},e.value),{},{select:t}),{isChanged:"select"})},[e.onChange,e.value]);return a.a.createElement("div",{className:t},e.children.length&&a.a.createElement(Zi.a,{className:"brz-control__select--dark brz-control__select__auto brz-ed-control__colorPickerSelect--select",value:e.value.select,editable:!1,onChange:o,size:"short"},e.children),a.a.createElement(vi,{onChange:(t,o)=>{e.onChange(er(er({},t),{},{select:e.value.select}),o)},palette:e.palette,paletteOpenSettings:e.paletteOpenSettings,opacity:e.opacity,value:e.value}))}var or=o(105);const nr=({start:e,end:t,active:o,onStartChange:n,onEndChange:i,onActiveChange:r,hex1:l,hex2:c})=>a.a.createElement(Ct,{onChange:t=>{(t[0]===e?i:n)(t[0]===e?t[1]:t[0])},min:0,max:100,step:1,startPointer:e,finishPointer:t,railStyle:{backgroundImage:`linear-gradient(to right, ${l}, ${c})`},handle:e=>{const t=e,{className:n,index:i,dragging:l}=t,c=Object(Xe.a)(t,["className","index","dragging"]),d=0===i?"start":"end",p=s()(n,{"brz-ed-rc-slider-handle":!0,"brz-ed-rc-slider-handle--active":0===i&&"start"===o||1===i&&"end"===o});return a.a.createElement(xt.a,Object(g.a)({},c,{key:i,className:p,onMouseDown:()=>r(d)}))}});function ir(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function rr(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?ir(Object(o),!0).forEach((function(t){Object(n.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):ir(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const ar=({className:e,onChange:t,value:o,paletteOpenSettings:n,palette:i,opacity:l,gradientColors:[c,d]})=>{const p=Object(r.useCallback)((e,n)=>{t({type:e.select,hex:e.hex,opacity:e.opacity,palette:e.palette,gradientType:o.gradientType,start:o.start,end:o.end,active:o.active,degree:o.degree},(e=>({isChanged:"select"===e.isChanged?"type":e.isChanged,opacityDragEnd:e.opacityDragEnd}))(n))},[t]),u=Object(r.useCallback)(e=>t(rr(rr({},o),{},{gradientType:e}),{isChanged:"gradientType"}),[t,o]),b=s()("brz-ed-control__backgroundColor",e);return a.a.createElement("div",{className:b},"gradient"===o.type?a.a.createElement(nr,{start:o.start,end:o.end,active:o.active,hex1:c,hex2:d,onStartChange:e=>t(rr(rr({},o),{},{start:e}),{isChanged:"start"}),onEndChange:e=>t(rr(rr({},o),{},{end:e}),{isChanged:"end"}),onActiveChange:e=>t(rr(rr({},o),{},{active:e}),{isChanged:"active"})}):null,a.a.createElement(tr,{palette:i,opacity:l,value:{hex:o.hex,palette:o.palette,opacity:o.opacity,select:o.type},onChange:p,paletteOpenSettings:n},a.a.createElement(or.a,{value:"none"},Object(C.a)("None")),a.a.createElement(or.a,{value:"solid"},Object(C.a)("Solid")),a.a.createElement(or.a,{value:"gradient"},Object(C.a)("Gradient"))),a.a.createElement(Ui,{value:o.hex,onChange:e=>t(rr(rr({},o),{},{hex:e}),{isChanged:"hex"})},"gradient"===o.type?a.a.createElement(a.a.Fragment,null,a.a.createElement(Zi.a,{editable:!1,className:s()("brz-ed-control__backgroundColor__gradientType","brz-ed-control__backgroundColor__gradientType--"+o.gradientType),onChange:u,value:o.gradientType},a.a.createElement(or.a,{value:"linear"},Object(C.a)("Linear")),a.a.createElement(or.a,{value:"radial"},Object(C.a)("Radial"))),a.a.createElement("div",{className:"brz-ed-control__backgroundColor--degree"},a.a.createElement(wo.a,{className:"brz-input",min:-359,max:359,step:1,value:o.degree,onChange:e=>t(rr(rr({},o),{},{degree:e}),{isChanged:"degree"})}))):null))},lr=e=>"none"===e||"solid"===e||"gradient"===e?e:void 0,sr=(e,t)=>"none"===e?t:e,cr=e=>"linear"===e||"radial"===e?e:void 0,dr=e=>"start"===e||"end"===e?e:void 0,pr={type:"none",tempType:"solid",hex:Bi.a,opacity:0,tempOpacity:1,palette:"",tempPalette:"",gradientHex:Bi.a,gradientOpacity:1,tempGradientOpacity:1,gradientPalette:"",tempGradientPalette:"",gradientType:"linear",start:0,end:100,active:"start",linearDegree:0,radialDegree:0},ur=e=>{const t="gradient"===e.type&&"end"===e.active;return{hex:t?e.gradientHex:e.hex,opacity:t?e.gradientOpacity:e.opacity,palette:t?e.gradientPalette:e.palette,type:e.type,start:e.start,end:e.end,active:e.active,degree:(e.gradientType,e.linearDegree),gradientType:e.gradientType}},br=e=>({hex:e.gradientHex,opacity:e.gradientOpacity,tempOpacity:e.tempGradientOpacity,palette:e.gradientPalette,tempPalette:e.tempGradientPalette}),mr=e=>({gradientHex:e.hex,gradientOpacity:e.opacity,tempGradientOpacity:e.tempOpacity,gradientPalette:e.palette,tempGradientPalette:e.tempPalette}),hr=e=>Object(ao.d)(e=>Object(W.c)(0,100,e)?e:void 0,Ci.b(e));function gr(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function fr(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?gr(Object(o),!0).forEach((function(t){Object(n.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):gr(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const vr=(e,t)=>{const o=e?sr(t.type,t.tempType):"none";return jr(o,t)},yr=(e,t)=>vr(!0,fr(fr({},t),Hi(e,t))),Sr=(e,t)=>vr(e>0,fr(fr({},t),_i(e,t))),Or=(e,t)=>vr(""!==e,fr(fr({},t),Mi(e,t))),xr=(Object(ao.e)(Ri,br),(e,t)=>vr(!0,fr(fr({},t),mr(Hi(e,br(t)))))),Cr=(Object(ao.e)(Fi,br),(e,t)=>vr(e>0,fr(fr({},t),mr(_i(e,br(t)))))),Br=(Object(ao.e)(Li,br),(e,t)=>vr(""!==e,fr(fr({},t),mr(Mi(e,br(t)))))),jr=(e,t)=>fr(fr(fr({},t),Vi("none"!==e,t)),{},{type:e,tempType:sr(e,t.tempType)}),Pr=e=>e.start,Tr=zi(hr,Pr,(e,t)=>fr(fr({},t),{},{start:e})),wr=zi(hr,Pr,(e,t)=>fr(fr({},t),{},{end:e})),Er=(e,t)=>fr(fr({},t),{},{linearDegree:e}),zr=(e,t)=>fr(fr({},t),{},{radialDegree:e});function kr(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Fr(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?kr(Object(o),!0).forEach((function(t){Object(n.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):kr(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const _r=()=>{Object(d.b)().dispatch(Object(p.S)("leftSidebar",{isOpen:!0,drawerContentType:"styling"}))},Rr=({value:e,onChange:t,config:o})=>{var n,i,l;const s=Object(r.useCallback)((o,n)=>{const i=!("gradient"===e.type&&"end"===e.active);switch(n.isChanged){case"type":t(jr(o.type,e));break;case"gradientType":t(((e,t)=>fr(fr({},t),{},{gradientType:e}))(o.gradientType,e));break;case"start":t(Tr(o.start,e));break;case"end":t(wr(o.end,e));break;case"active":t(((e,t)=>fr(fr({},t),{},{active:e}))(o.active,e));break;case"degree":if("gradient"===e.type){const n="radial"===e.gradientType?zr:Er;t(n(o.degree,e))}break;case"hex":{const n=i?yr:xr,r=Bi.b(o.hex);void 0!==r&&t(n(r,e));break}case"opacity":{const r=i?Sr:Cr,a=Yi(o.opacity);void 0!==a&&t(Ni(r,a,e,!!n.opacityDragEnd));break}case"palette":{const n=i?Or:Br,r=Oi(o.palette);void 0!==r&&t(n(r,e));break}}},[e]),c=Object(ve.c)(),d=Fr(Fr({},e),{},{hex:null!==(n=Ai(e.palette,c))&&void 0!==n?n:e.hex,gradientHex:null!==(i=Ai(e.gradientPalette,c))&&void 0!==i?i:e.gradientHex});return a.a.createElement(ar,{value:ur(d),onChange:s,paletteOpenSettings:_r,palette:Object(ve.c)(),opacity:null===(l=null==o?void 0:o.opacity)||void 0===l||l,gradientColors:[d.hex,d.gradientHex]})};Rr.fromElementModel=e=>{var t,o,n,i,r,a,l,s,c,d,p,u,b,m,h;const g=e("gradientActivePointer"),f="startPointer"===g?"start":"finishPointer"===g?"end":g;return{type:lr(e("bgColorType")),tempType:lr(e("tempBgColorType")),hex:null!==(t=Object(Ro.b)(()=>e("bgColorHex"),mo.d,Bi.b)())&&void 0!==t?t:pr.hex,opacity:null!==(o=Object(Ro.b)(()=>e("bgColorOpacity"),Ci.b,Yi)())&&void 0!==o?o:pr.opacity,tempOpacity:null!==(n=Object(Ro.b)(()=>e("tempBgColorOpacity"),Ci.b,Yi)())&&void 0!==n?n:pr.tempOpacity,palette:null!==(i=Object(Ro.b)(()=>e("bgColorPalette"),mo.d,Oi)())&&void 0!==i?i:pr.palette,tempPalette:null!==(r=Object(Ro.b)(()=>e("tempPalette"),mo.d,Oi)())&&void 0!==r?r:pr.tempPalette,gradientHex:null!==(a=Object(Ro.b)(()=>e("gradientColorHex"),mo.d,Bi.b)())&&void 0!==a?a:pr.gradientHex,gradientOpacity:null!==(l=Object(Ro.b)(()=>e("gradientColorOpacity"),Ci.b,Yi)())&&void 0!==l?l:pr.gradientOpacity,tempGradientOpacity:null!==(s=Object(Ro.b)(()=>e("tempGradientColorOpacity"),Ci.b,Yi)())&&void 0!==s?s:pr.tempGradientOpacity,gradientPalette:null!==(c=Object(Ro.b)(()=>e("gradientColorPalette"),mo.d,Oi)())&&void 0!==c?c:pr.gradientPalette,tempGradientPalette:null!==(d=Object(Ro.b)(()=>e("tempGradientColorPalette"),mo.d,Oi)())&&void 0!==d?d:pr.tempGradientPalette,gradientType:null!==(p=cr(e("gradientType")))&&void 0!==p?p:pr.gradientType,start:null!==(u=W.h(e("gradientStartPointer")))&&void 0!==u?u:pr.start,end:null!==(b=W.h(e("gradientFinishPointer")))&&void 0!==b?b:pr.end,active:dr(f),linearDegree:null!==(m=Ci.b(e("gradientLinearDegree")))&&void 0!==m?m:pr.linearDegree,radialDegree:null!==(h=Ci.b(e("gradientRadialDegree")))&&void 0!==h?h:pr.radialDegree}},Rr.toElementModel=e=>{const t="start"===e.active?"startPointer":"finishPointer";return{bgColorType:e.type,tempBgColorType:e.tempType,bgColorHex:e.hex,bgColorOpacity:e.opacity,tempBgColorOpacity:e.tempOpacity,bgColorPalette:e.palette,tempBgColorPalette:e.tempPalette,gradientColorHex:e.gradientHex,gradientColorOpacity:e.gradientOpacity,tempGradientColorOpacity:e.tempGradientOpacity,gradientColorPalette:e.gradientPalette,tempGradientColorPalette:e.tempGradientPalette,gradientType:e.gradientType,gradientStartPointer:e.start,gradientFinishPointer:e.end,gradientActivePointer:t,gradientLinearDegree:e.linearDegree,gradientRadialDegree:e.radialDegree}},Rr.defaultValue=pr;function Hr(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Lr(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Hr(Object(o),!0).forEach((function(t){Object(n.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Hr(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const Mr=e=>{let{value:t,types:o,onChange:n}=e,i=Object(Xe.a)(e,["value","types","onChange"]);const l=s()("brz-ed-control__boxShadow",i.className),c=Object(r.useCallback)(e=>n(Lr(Lr({},t),{},{hex:e}),{isChanged:"hex"}),[n]),d=Object(r.useCallback)(e=>{const[o,i,r,a]=e,l=(([e,t,o,n],[i,r,a,l])=>e!==i?"blur":t!==r?"spread":o!==a?"vertical":n!==l?"horizontal":void 0)(e,[t.blur,t.spread,t.vertical,t.horizontal]);l&&n(Lr(Lr({},t),{},{blur:o,spread:i,vertical:r,horizontal:a}),{isChanged:l})},[n]);return a.a.createElement("div",{className:l},a.a.createElement(tr,{onChange:(e,o)=>{let{select:i}=e,r=Object(Xe.a)(e,["select"]);n(Lr(Lr({},t),{},{hex:r.hex,opacity:r.opacity,palette:r.palette,type:i}),Lr(Lr({},o),{},{isChanged:"select"===o.isChanged?"type":o.isChanged}))},value:{select:t.type,hex:t.hex,opacity:t.opacity,palette:t.palette},opacity:i.opacity,palette:i.palette,paletteOpenSettings:i.paletteOpenSettings},o.map(({id:e,title:t})=>a.a.createElement(or.a,{value:e,key:e},a.a.createElement("span",null,t)))),a.a.createElement(Ui,{value:t.hex,onChange:c},a.a.createElement(zo,{config:{defaultIcon:["nc-shadow"],icons:["nc-blur","nc-size","nc-vertical","nc-horizontal"]},value:[t.blur,t.spread,t.vertical,t.horizontal],onChange:d})))},Ir=["none","inset","outset"],Wr=e=>Ir.includes(e)?e:void 0,Nr=e=>e.type,Vr=(e,t)=>{if(void 0===Wr(e)||Nr(t)===e)return t;const o="none"===e;return Ei([[wi,"tempType",o?Ti("type",t):void 0],[wi,"type",e],[aa,!o],[ia,!o]],t)},Ar=(e,t)=>{if(Fi(t)===e)return t;return Ei([[_i,e],[ra,e>0]],t)},Dr=(e,t)=>{if(Li(t)===e)return t;return Ei([[Mi,e],[ra,""!==e]],t)},$r=e=>e.blur,Gr=(e,t,o)=>wi("temp"+Object(Jt.c)(e),t||(la(o)?0:o[e]||void 0),o),Ur=ki($r,(e,t)=>Ei([[wi,"blur",e],[Gr,"blur",e],[e=>ra(la(e),e)]],t)),Kr=e=>e.spread,Yr=ki(Kr,(e,t)=>Ei([[wi,"spread",e],[Gr,"spread",e],[e=>ra(la(e),e)]],t)),qr=e=>e.horizontal,Xr=ki(qr,(e,t)=>Ei([[wi,"horizontal",e],[wi,"tempHorizontal",e]],t)),Jr=e=>e.vertical,Zr=ki(Jr,(e,t)=>Ei([[wi,"vertical",e],[wi,"tempVertical",e]],t));var Qr;(Qr||(Qr={})).blur="blur";const ea=Object(Ro.b)(Object(Ro.c)(e=>e>=0));function ta(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function oa(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?ta(Object(o),!0).forEach((function(t){Object(n.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):ta(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const na={type:"none",tempType:"outset",hex:Bi.a,opacity:0,tempOpacity:1,palette:"",tempPalette:"",blur:0,tempBlur:4,spread:0,tempSpread:2,vertical:0,tempVertical:0,horizontal:0,tempHorizontal:0},ia=(e,t)=>{const o=e?Fi(t)||Ti("tempOpacity",t):0,n=e?Li(t)||Ti("tempPalette",t):"";return Ei([[Ar,o],[Dr,n]],t)},ra=(e,t)=>{var o;const n=e?null!==(o="none"===(i=Nr(t))?void 0:i)&&void 0!==o?o:t.tempType:"none";var i;return Vr(n,t)},aa=(e,t)=>{const o=(n=t.blur,i=t.tempBlur,n||i);var n,i;const r=t.spread||t.tempSpread,a=qr(t)||t.tempHorizontal,l=Jr(t)||t.tempVertical;return oa(oa({},t),{},{blur:e?o:0,tempBlur:o,spread:e?r:0,tempSpread:r,vertical:e?l:0,tempVertical:l,horizontal:e?a:0,tempHorizontal:a})},la=e=>!(!$r(e)&&!Kr(e)),sa=e=>{switch(e){case"none":return Object(C.a)("None");case"inset":return Object(C.a)("Inset");case"outset":return Object(C.a)("Outset")}},ca=e=>e.map(e=>({id:e,title:sa(e)})),da=e=>{return"on"===e?"outset":""===e?"none":(t=e,Ir.includes(t)?t:void 0);var t},pa=e=>{switch(e){case"none":return"";case"outset":return"on";default:return e}},ua=({onChange:e,value:t,className:o,config:n})=>{var i;const l=Object(y.c)(),c=s()("brz-ed-option__boxShadow",o),d=Object(r.useMemo)(Object(Ro.d)(()=>null==n?void 0:n.type,Wr,e=>e?["none",e]:Ir,ca),[null==n?void 0:n.type]),u=Object(r.useCallback)((o,n)=>{switch(n.isChanged){case"opacity":{const i=Yi(o.opacity);void 0!==i&&e(((e,t,o)=>Ni(Ar,e,t,o))(i,t,!!n.isChanged));break}case"type":e(Vr(o.type,t));break;case"blur":{const n=ea(o.blur);n&&e(Ur(n,t));break}case"hex":{const n=Bi.b(o.hex);n&&e(((e,t)=>{if(Ri(t)===e)return t;return Ei([[Hi,e],[ra,""!==e]],t)})(n,t));break}case"spread":e(Yr(o.spread,t));break;case"palette":e(Dr(o.palette,t));break;case"horizontal":e(Xr(o.horizontal,t));break;case"vertical":e(Zr(o.vertical,t))}},[e,t]),b=Object(r.useCallback)(()=>l(Object(p.S)("leftSidebar",{isOpen:!0,drawerContentType:"styling"})),[l]);return a.a.createElement(Mr,{opacity:null===(i=null==n?void 0:n.opacity)||void 0===i||i,className:c,value:t,onChange:u,types:d,palette:Object(ve.c)(),paletteOpenSettings:b})};ua.fromElementModel=e=>{var t,o,n,i,r,a,l,s,c,d,p,u,b,m,h;const g={type:null!==(t=Object(Ro.b)(()=>e("value"),mo.d,da)())&&void 0!==t?t:"none",opacity:null!==(o=Object(Ro.b)(()=>e("colorOpacity"),Ci.b,Yi)())&&void 0!==o?o:0,blur:null!==(n=Object(Ro.b)(()=>e("blur"),Ci.b,ea)())&&void 0!==n?n:0,spread:null!==(i=Object(Ro.b)(()=>e("spread"),Ci.b)())&&void 0!==i?i:0},f="none"===g.type||0===g.opacity||0===g.blur&&0===g.spread;return{type:f?na.type:g.type,tempType:null!==(r=Object(Ro.b)(()=>e("tempValue"),mo.d,da)())&&void 0!==r?r:na.tempType,hex:null!==(a=Object(Ro.b)(()=>e("colorHex"),mo.d,Bi.b)())&&void 0!==a?a:na.hex,opacity:f?na.opacity:g.opacity,tempOpacity:null!==(l=Object(Ro.b)(()=>e("tempColorOpacity"),Ci.b,Yi)())&&void 0!==l?l:na.tempOpacity,palette:f?na.palette:null!==(s=Object(Ro.b)(()=>e("colorPalette"),mo.d,Oi)())&&void 0!==s?s:"",tempPalette:null!==(c=Object(Ro.b)(()=>e("tempColorPalette"),mo.d,Oi)())&&void 0!==c?c:na.tempPalette,blur:f?na.blur:g.blur,tempBlur:null!==(d=Object(Ro.b)(()=>e("tempBlur"),Ci.b,ea)())&&void 0!==d?d:na.tempBlur,spread:f?na.spread:g.spread,tempSpread:null!==(p=Object(Ro.b)(()=>e("tempSpread"),Ci.b)())&&void 0!==p?p:na.tempSpread,vertical:f?0:null!==(u=Ci.b(e("vertical")))&&void 0!==u?u:na.vertical,tempVertical:null!==(b=Ci.b(e("tempVertical")))&&void 0!==b?b:na.tempVertical,horizontal:f?0:null!==(m=Ci.b(e("horizontal")))&&void 0!==m?m:na.horizontal,tempHorizontal:null!==(h=Ci.b(e("tempHorizontal")))&&void 0!==h?h:na.tempHorizontal}},ua.toElementModel=e=>({value:pa(e.type),tempValue:pa(e.tempType),colorHex:e.hex,colorPalette:e.palette,tempColorPalette:e.tempPalette,colorOpacity:e.opacity,tempColorOpacity:e.tempOpacity,blur:e.blur,tempBlur:e.tempBlur,spread:e.spread,tempSpread:e.tempSpread,vertical:e.vertical,tempVertical:e.tempVertical,horizontal:e.horizontal,tempHorizontal:e.tempHorizontal}),ua.defaultValue=na;const ba=["none","solid","dashed","dotted","double","groove","ridge","inset","outset"],ma=Object(Ro.c)(e=>ba.includes(e)),ha=Object(Ro.b)(mo.d,ma),ga=e=>"none"===e?void 0:e;var fa;!function(e){e.borderWidth="borderWidth"}(fa||(fa={}));const va=Object(Ro.c)(e=>e>=0),ya=(e,t)=>0===e?t:e,Sa={style:"none",tempStyle:"solid",hex:Bi.a,opacity:0,tempOpacity:1,palette:"",tempPalette:"",widthType:"grouped",width:0,tempWidth:1,topWidth:0,tempTopWidth:1,rightWidth:0,tempRightWidth:1,bottomWidth:0,tempBottomWidth:1,leftWidth:0,tempLeftWidth:1},Oa=e=>"grouped"===Fa(e)?0===Ra(e):0===La(e)&&0===Ma(e)&&0===Ia(e)&&0===Wa(e),xa=e=>[e.topWidth,e.rightWidth,e.bottomWidth,e.leftWidth].every((e,t,o)=>e===o[0]),Ca=(e,t)=>t[e],Ba=(e,t)=>{var o;const n=e?null!==(o=Object(ao.d)(ga,wa(t)))&&void 0!==o?o:ha(null==t?void 0:t.tempStyle):"none";return Ei([[Ea,n]],t)},ja=(e,t,o)=>{if(Ca(e,o)===t)return o;const n=["topWidth","rightWidth","bottomWidth","leftWidth"].reduce((e,t)=>{var o;const n=null!==(o=Ca(t,e))&&void 0!==o?o:0;return wi(Object(Jt.b)("temp",t),n,e)},o),i=(r=e,Object(Jt.b)("temp",r));var r;const a=Ei([[wi,Object(Jt.b)("temp",e),t],[wi,e,t],[t=>wi(i,xa(t)?o[e]:t[e],t)],[e=>t>0&&xa(e)?wi("width",t,e):e]],n),l=!Oa(a);return Ei([[Ba,l],[Vi,l]],a)},Pa=(e,t)=>["width","topWidth","rightWidth","bottomWidth","leftWidth"].reduce((t,o)=>{const n=Object(Jt.b)("temp",o),i=Ca(o,t),r=Ca(n,t);return Ei([[wi,n,e||0===i?void 0:i],[wi,o,e?ya(i,r):0]],t)},t),Ta=e=>{switch(e){case"none":return{id:"none",title:Object(C.a)("None")};case"solid":return{id:"solid",icon:"nc-solid"};case"dashed":return{id:"dashed",icon:"nc-dashed"};case"dotted":return{id:"dotted",icon:"nc-dotted"};case"double":return{id:"double",icon:"nc-double"};case"groove":return{id:"groove",icon:"nc-groove"};case"ridge":return{id:"ridge",icon:"nc-ridge"};case"inset":return{id:"inset",icon:"nc-inset"};case"outset":return{id:"outset",icon:"nc-outset"}}},wa=e=>e.style,Ea=ki(wa,(e,t)=>Ei([[wi,"tempStyle",Object(ao.d)(ga,t.style)],[wi,"style",e],[Vi,"none"!==e],[Pa,"none"!==e]],t)),za=ki(Fi,(e,t)=>Ei([[_i,e],[Ba,!0],[Pa,!0]],t)),ka=ki(Li,(e,t)=>{const o=""!==e;return Ei([[Mi,e],[Ba,o],[Pa,o]],t)}),Fa=e=>e.widthType,_a=ki(Fa,(e,t)=>wi("widthType",e,t)),Ra=e=>e.width,Ha=ki(Ra,(e,t)=>Ei([[wi,"width",e],[wi,"tempWidth",e>0?e:void 0],[wi,"topWidth",e>0?e:void 0],[wi,"rightWidth",e>0?e:void 0],[wi,"bottomWidth",e>0?e:void 0],[wi,"leftWidth",e>0?e:void 0],[Ba,e>0],[Vi,e>0]],t)),La=e=>e.topWidth,Ma=e=>e.rightWidth,Ia=e=>e.bottomWidth,Wa=e=>e.leftWidth;var Na=o(301);const Va=({onChange:e,value:t})=>a.a.createElement(wo.a,{className:"brz-input",min:0,max:9999,step:1,value:t,onChange:e}),Aa=e=>{let{className:t,widthTypes:o,styles:n,hex:i,onChangeHex:l,palette:d,onChangePalette:p,opacity:u,onChangeOpacity:b,style:m,onChangeStyle:h,widthType:g,onChangeWidthType:f,width:v,onChangeWidth:y,topWidth:S,onChangeTopWidth:O,rightWidth:x,onChangeRightWidth:C,bottomWidth:B,onChangeBottomWidth:j,leftWidth:P,onChangeLeftWidth:T}=e,w=Object(Xe.a)(e,["className","widthTypes","styles","hex","onChangeHex","palette","onChangePalette","opacity","onChangeOpacity","style","onChangeStyle","widthType","onChangeWidthType","width","onChangeWidth","topWidth","onChangeTopWidth","rightWidth","onChangeRightWidth","bottomWidth","onChangeBottomWidth","leftWidth","onChangeLeftWidth"]);const E=s()("brz-ed-control__border",t),z=Object(r.useCallback)((e,t)=>{var o;switch(t.isChanged){case"select":Object(ao.d)(h,e.select);break;case"hex":l(e.hex);break;case"opacity":b(e.opacity,null===(o=null==t?void 0:t.opacityDragEnd)||void 0===o||o);break;case"palette":p(e.palette)}},[i,l,d,p,u,b,m,h]),k=Object(r.useCallback)(()=>f("grouped"===g?"ungrouped":"grouped"),[g,f]),F=s()("brz-button",{"brz-ed-control__border__widthType":!0,"brz-ed-control__border__widthType--active":"grouped"===g}),_="grouped"===g||!o.includes("ungrouped");return a.a.createElement("div",{className:E},a.a.createElement(tr,{onChange:z,value:{select:m,hex:i,opacity:u,palette:d},opacity:w.enableOpacity,palette:w.paletteList,paletteOpenSettings:w.paletteOpenSettings},n.map(({id:e,title:t,icon:o})=>a.a.createElement(or.a,{key:e,value:e},t&&a.a.createElement("span",null,t),o&&a.a.createElement(c.b,{icon:o,className:"brz-icon"})))),a.a.createElement(Ui,{value:i,onChange:l},_?a.a.createElement("div",{className:"brz-ed-control__border__width"},a.a.createElement("div",{className:"brz-label"},Object(Na.a)("Size")),a.a.createElement(Va,{value:v,onChange:y})):a.a.createElement("div",{className:"brz-ed-control__border__width"},a.a.createElement(Va,{value:S,onChange:O}),a.a.createElement(Va,{value:x,onChange:C}),a.a.createElement(Va,{value:B,onChange:j}),a.a.createElement(Va,{value:P,onChange:T})),o.length<2?null:a.a.createElement("button",{className:F,onClick:k},a.a.createElement(c.b,{icon:"nc-combined-shape",className:"brz-icon"}))))},Da=({value:e,onChange:t,className:o,config:n})=>{var i,l,s;const c=Object(y.c)(),d=null!==(i=null==n?void 0:n.styles)&&void 0!==i?i:ba,u=d.includes("none"),b=Object(r.useMemo)(()=>u?v.identity:e=>Math.max(1,e),[u,v.identity]),m=Object(r.useCallback)(o=>t(Ea(o,e)),[t,e]),h=Object(r.useCallback)(o=>{const n=Bi.b(o);void 0!==n&&t(((e,t)=>{if(void 0===Bi.b(e)||Ri(t)===e)return t;const o=""!==e;return Ei([[Hi,e],[Ba,o],[Pa,o]],t)})(n,e))},[t,e]),g=Object(r.useCallback)((o,n)=>{const i=Yi(o);void 0!==i&&t(((e,t,o)=>Ni(za,e,t,o))(i,e,n))},[t,e]),f=Object(r.useCallback)(o=>t(ka(o,e)),[t,e]),S=Object(r.useCallback)(o=>t(_a(o,e)),[t,e]),O=Object(r.useCallback)(o=>{const n=va(b(o));void 0!==n&&t(Ha(n,e))},[t,e]),x=Object(r.useCallback)(o=>{const n=va(b(o));void 0!==n&&t(((e,t)=>ja("topWidth",e,t))(n,e))},[t,e]),C=Object(r.useCallback)(o=>{const n=va(b(o));void 0!==n&&t(((e,t)=>ja("rightWidth",e,t))(n,e))},[t,e]),B=Object(r.useCallback)(o=>{const n=va(b(o));void 0!==n&&t(((e,t)=>ja("bottomWidth",e,t))(n,e))},[t,e]),j=Object(r.useCallback)(o=>{const n=va(b(o));void 0!==n&&t(((e,t)=>ja("leftWidth",e,t))(n,e))},[t,e]),P=Object(r.useCallback)(()=>c(Object(p.S)("leftSidebar",{isOpen:!0,drawerContentType:"styling"})),[c]);return a.a.createElement(Aa,{className:o,paletteList:Object(ve.c)(),paletteOpenSettings:P,enableOpacity:null===(l=null==n?void 0:n.opacity)||void 0===l||l,styles:d.map(Ta).filter(Boolean),widthTypes:null!==(s=null==n?void 0:n.width)&&void 0!==s?s:["grouped","ungrouped"],style:e.style,onChangeStyle:m,hex:e.hex,onChangeHex:h,opacity:e.opacity,onChangeOpacity:g,palette:e.palette,onChangePalette:f,widthType:e.widthType,onChangeWidthType:S,width:e.width,onChangeWidth:O,topWidth:e.topWidth,onChangeTopWidth:x,rightWidth:e.rightWidth,onChangeRightWidth:C,bottomWidth:e.bottomWidth,onChangeBottomWidth:B,leftWidth:e.leftWidth,onChangeLeftWidth:j})};Da.fromElementModel=e=>{var t,o,n,i,r,a,l,s,c,d,p,u,b,m,h,g,f,v,y;const S={style:null!==(t=Object(Ro.b)(()=>e("style"),mo.d,ma)())&&void 0!==t?t:Sa.style,opacity:null!==(o=Object(Ro.b)(()=>e("colorOpacity"),Ci.b,Yi)())&&void 0!==o?o:Sa.opacity,widthType:null!==(n=Object(Ro.b)(()=>e("widthType"),mo.d,Lo)())&&void 0!==n?n:Sa.widthType,width:null!==(i=Object(Ro.b)(()=>e("width"),Ci.b,va)())&&void 0!==i?i:Sa.width,topWidth:null!==(r=Object(Ro.b)(()=>e("topWidth"),Ci.b,va)())&&void 0!==r?r:Sa.topWidth,rightWidth:null!==(a=Object(Ro.b)(()=>e("rightWidth"),Ci.b,va)())&&void 0!==a?a:Sa.rightWidth,bottomWidth:null!==(l=Object(Ro.b)(()=>e("bottomWidth"),Ci.b,va)())&&void 0!==l?l:Sa.bottomWidth,leftWidth:null!==(s=Object(Ro.b)(()=>e("leftWidth"),Ci.b,va)())&&void 0!==s?s:Sa.leftWidth},O="none"===S.style||Oa(S);return{style:O?"none":S.style,tempStyle:null!==(c=Object(Ro.b)(()=>e("tempStyle"),mo.d,ma)())&&void 0!==c?c:Sa.tempStyle,hex:null!==(d=Object(Ro.b)(()=>e("colorHex"),mo.d,Bi.b)())&&void 0!==d?d:Sa.hex,opacity:O?0:S.opacity,tempOpacity:null!==(p=Object(Ro.b)(()=>e("tempColorOpacity"),Ci.b,Yi)())&&void 0!==p?p:Sa.tempOpacity,palette:O?"":null!==(u=Object(Ro.b)(()=>e("colorPalette"),mo.d,Oi)())&&void 0!==u?u:Sa.palette,tempPalette:O?"":null!==(b=Object(Ro.b)(()=>e("tempColorPalette"),mo.d,Oi)())&&void 0!==b?b:Sa.tempPalette,widthType:null!==(m=Object(Ro.b)(()=>e("widthType"),mo.d,Lo)())&&void 0!==m?m:Sa.widthType,width:O?0:S.width,tempWidth:null!==(h=Object(Ro.b)(()=>e("tempWidth"),Ci.b,va)())&&void 0!==h?h:Sa.tempWidth,topWidth:O?0:S.topWidth,tempTopWidth:null!==(g=Object(Ro.b)(()=>e("tempTopWidth"),Ci.b,va)())&&void 0!==g?g:Sa.tempTopWidth,rightWidth:O?0:S.rightWidth,tempRightWidth:null!==(f=Object(Ro.b)(()=>e("tempRightWidth"),Ci.b,va)())&&void 0!==f?f:Sa.tempRightWidth,bottomWidth:O?0:S.bottomWidth,tempBottomWidth:null!==(v=Object(Ro.b)(()=>e("tempBottomWidth"),Ci.b,va)())&&void 0!==v?v:Sa.tempBottomWidth,leftWidth:O?0:S.leftWidth,tempLeftWidth:null!==(y=Object(Ro.b)(()=>e("tempLeftWidth"),Ci.b,va)())&&void 0!==y?y:Sa.tempLeftWidth}},Da.toElementModel=e=>({style:e.style,tempStyle:e.tempStyle,colorHex:e.hex,colorOpacity:e.opacity,tempColorOpacity:e.tempOpacity,colorPalette:e.palette,tempColorPalette:e.tempPalette,widthType:e.widthType,width:e.width,tempWidth:e.tempWidth,topWidth:e.topWidth,tempTopWidth:e.tempTopWidth,rightWidth:e.rightWidth,tempRightWidth:e.tempRightWidth,bottomWidth:e.bottomWidth,tempBottomWidth:e.tempBottomWidth,leftWidth:e.leftWidth,tempLeftWidth:e.tempLeftWidth}),Da.defaultValue=Sa;const $a=({className:e,onClick:t,icon:o,label:n,reverse:i,align:r="center"})=>n||o?a.a.createElement("div",{className:s()("brz-ed-control__button","brz-ed-control__button-"+r,e,{reverse:!!i}),onClick:t},o&&a.a.createElement(c.b,{icon:o}),a.a.createElement("span",{className:"brz-ed-control__label"},n)):null,Ga=({label:e,onClick:t,config:o})=>a.a.createElement(a.a.Fragment,null,e,a.a.createElement($a,{onClick:t,label:null==o?void 0:o.text,icon:null==o?void 0:o.icon,reverse:null==o?void 0:o.reverse}));Ga.fromElementModel=()=>{},Ga.toElementModel=()=>({}),Ga.defaultValue=void 0;const Ua=({className:e,children:t,grid:o,separator:n})=>{const i={gridTemplateColumns:o.map(e=>{switch(e){case"auto":return e;default:return e+"fr"}}).join(" ")};return a.a.createElement("div",{className:s()("brz-ed-control__grid",e,{"brz-ed-control__grid--separator":n}),style:i},t)},Ka={start:"brz-ed-control__grid__column--align-start",center:"brz-ed-control__grid__column--align-center",end:"brz-ed-control__grid__column--align-end"},Ya=({className:e,children:t,align:o})=>a.a.createElement("div",{className:s()("brz-ed-control__grid__column",e,Ka[o])},t);function qa(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Xa(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?qa(Object(o),!0).forEach((function(t){Object(n.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):qa(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const Ja=({className:e,columns:t,toolbar:o,config:n})=>{var i;const l=Object(r.useMemo)(()=>{var e;return null!==(e=null==t?void 0:t.map(e=>{var t;return null!==(t=e.size)&&void 0!==t?t:"auto"}))&&void 0!==e?e:[]},[t]);return t?a.a.createElement(Ua,{className:e,grid:l,separator:null!==(i=null==n?void 0:n.separator)&&void 0!==i&&i},t.map((e,t)=>{var n;return a.a.createElement(Ya,{key:t,align:null!==(n=e.align)&&void 0!==n?n:"start"},a.a.createElement(ro.a,{wrapOptions:!1,data:e.options,toolbar:o}))})):null};Ja.fromElementModel=()=>{},Ja.toElementModel=()=>({}),Ja.defaultValue=void 0,Ja.filter=(e,t)=>{var o,n;const i=null===(o=t.columns)||void 0===o?void 0:o.map(t=>{var o;return li(li({},t),{},{options:null===(o=t.options)||void 0===o?void 0:o.map(e).filter(ao.c)})}).filter(e=>{var t,o;return(null!==(t=null===(o=e.options)||void 0===o?void 0:o.length)&&void 0!==t?t:0)>0});return(null!==(n=null==i?void 0:i.reduce((e,t)=>{var o,n;return(null!==(o=null===(n=t.options)||void 0===n?void 0:n.length)&&void 0!==o?o:0)+e},0))&&void 0!==n?n:0)>0?li(li({},t),{},{columns:i}):void 0},Ja.reduce=(e,t,o)=>{var n,i;return null!==(n=null===(i=o.columns)||void 0===i?void 0:i.reduce((o,n)=>{var i,r;return null!==(i=null===(r=n.options)||void 0===r?void 0:r.reduce(e,o))&&void 0!==i?i:t},t))&&void 0!==n?n:t},Ja.map=(e,t)=>{var o;return Xa(Xa({},t),{},{columns:null===(o=t.columns)||void 0===o?void 0:o.map(t=>{var o;return Xa(Xa({},t),{},{options:null===(o=t.options)||void 0===o?void 0:o.map(e)})})})};const Za=({className:e,children:t})=>a.a.createElement("div",{className:s()("brz-ed-control__group",e)},t);function Qa(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function el(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Qa(Object(o),!0).forEach((function(t){Object(n.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Qa(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const tl=({className:e,options:t,toolbar:o})=>a.a.createElement(Za,{className:e},a.a.createElement(ro.a,{wrapOptions:!1,data:t,toolbar:o}));tl.fromElementModel=()=>{},tl.toElementModel=()=>({}),tl.defaultValue=void 0,tl.filter=si,tl.reduce=(e,t,o)=>{var n,i;return null!==(n=null===(i=o.options)||void 0===i?void 0:i.reduce(e,t))&&void 0!==n?n:t},tl.map=(e,t)=>{var o;return el(el({},t),{},{options:null===(o=t.options)||void 0===o?void 0:o.map(e)})};const ol=J.a.getAll(),nl=Object(Et.b)(ol)&&Object(Et.g)(ol),il=e=>{const t=s()("brz-ed-control__font-style",e.className);return a.a.createElement("div",{className:t},a.a.createElement(yt.a,{className:"brz-control__select--dark",defaultValue:e.value,itemHeight:30,onChange:e.onChange},e.styles.map(({id:t,title:o})=>a.a.createElement(Ot.a,{key:t,active:e.value===t,value:t},o))),!nl&&e.openSettings&&a.a.createElement("div",{className:"brz-ed-control__font-style--settings",onClick:e.openSettings},a.a.createElement(c.b,{icon:"nc-cog"})))};il.propTypes={className:pn.a.string,styles:pn.a.arrayOf(pn.a.shape({id:pn.a.string,title:pn.a.string})).isRequired,label:pn.a.string,value:pn.a.string.isRequired,onChange:pn.a.func.isRequired,openSettings:pn.a.func},il.defaultProps={className:""};var rl=o(175);function al(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function ll(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?al(Object(o),!0).forEach((function(t){Object(n.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):al(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const sl={default:"17px",great_vibes:"18px",alex_brush:"18px",allura:"18px",parisienne:"18px"};class cl extends r.Component{constructor(...e){super(...e),Object(n.a)(this,"handleOpenFonts",e=>{e.preventDefault(),this.props.addFont()})}renderFontList(e,t){const{value:o,onChange:n}=this.props;return e.map(e=>{const{id:i,family:r,title:l}=e,c=s()("brz-ed-font__name",{active:i===o}),d={fontFamily:r,fontSize:sl[i]||sl.default};return a.a.createElement("div",{key:i,className:c,style:d,onClick:()=>n(ll(ll({},e),{},{type:t}))},l)})}render(){const{config:e=[],blocks:t=[],google:o=[],upload:n=[]}=this.props.fonts,i=n.length>0||o.length>0,r=s()("brz-ed-font__typography",this.props.className);return a.a.createElement("div",{className:r},a.a.createElement(S.a,{className:"brz-ed-scroll--dark brz-ed-scroll--small",style:{height:"100%"}},n.length>0&&this.renderFontList(n,"upload"),o.length>0&&this.renderFontList(o,"google"),i&&a.a.createElement("hr",{className:"brz-hr brz-ed-font__separator"}),t&&this.renderFontList(t,"google"),this.renderFontList(e,"google")),this.props.addFont&&a.a.createElement("div",{className:"brz-ed-font__typography-adder",onClick:this.handleOpenFonts},a.a.createElement(c.b,{icon:"nc-add"}),this.props.addFontLabel))}}const dl=pn.a.shape({id:pn.a.string,family:pn.a.string,title:pn.a.string,size:pn.a.string});cl.propTypes={className:pn.a.string,addFont:pn.a.func,addFontLabel:pn.a.string,fonts:pn.a.shape({config:pn.a.arrayOf(dl),blocks:pn.a.arrayOf(dl),google:pn.a.arrayOf(dl),upload:pn.a.arrayOf(dl)}).isRequired,value:pn.a.string.isRequired,onChange:pn.a.func.isRequired},cl.defaultProps={className:"",addFontLabel:Object(C.a)("Add New Font")};class pl extends r.PureComponent{constructor(...e){super(...e),Object(n.a)(this,"onFontFamily",e=>this.props.onChange(e,{isChanged:"fontFamily"})),Object(n.a)(this,"onFontStyle",e=>this.props.onChange(e,{isChanged:"fontStyle"})),Object(n.a)(this,"onFontSize",e=>this.props.onChange(e,{isChanged:"fontSize"})),Object(n.a)(this,"onFontSizeSuffix",e=>this.props.onChange(e,{isChanged:"fontSizeSuffix"})),Object(n.a)(this,"onFontWeight",e=>this.props.onChange(e,{isChanged:"fontWeight"})),Object(n.a)(this,"onLineHeight",e=>this.props.onChange(e,{isChanged:"lineHeight"})),Object(n.a)(this,"onLetterSpacing",e=>this.props.onChange(e,{isChanged:"letterSpacing"}))}render(){const e=this.props,t=s()("brz-ed-control__typography",e.className);return a.a.createElement("div",{className:t},e.fontFamily&&a.a.createElement(cl,{onChange:this.onFontFamily,value:e.font,fonts:e.fonts,addFont:e.fontAdd,addFontLabel:e.fontAddLabel}),a.a.createElement("div",{className:"brz-ed-control__typography-styles"},a.a.createElement("div",{className:"brz-ed__col brz-ed__col-1-1"},a.a.createElement(rl.a,null,e.styleLabel),a.a.createElement(il,{styles:e.styles,openSettings:e.styleOpenSettings,onChange:this.onFontStyle,value:e.style})),a.a.createElement("div",{className:"brz-ed__col brz-ed__col-1-2"},$.d?a.a.createElement(rl.a,null,e.sizeLabel):a.a.createElement("div",{className:"brz-control__typography-suffix"},a.a.createElement(rl.a,null,e.sizeLabel),a.a.createElement(yt.a,{className:"brz-control__select--dark",defaultValue:e.sizeSuffix,itemHeight:30,onChange:this.onFontSizeSuffix},e.sizeSuffixes.map(({value:t,title:o})=>a.a.createElement(Ot.a,{key:t,value:t,title:o,active:t===e.sizeSuffix},o)))),a.a.createElement(Cn,{min:e.sizeMin,max:e.sizeMax,step:e.sizeStep,value:e.size,onChange:this.onFontSize})),a.a.createElement("div",{className:"brz-ed__col brz-ed__col-1-2"},a.a.createElement(rl.a,null,e.weightLabel),a.a.createElement(yt.a,{className:"brz-control__select--dark",defaultValue:e.weight,itemHeight:30,onChange:this.onFontWeight},e.weights.map(({value:t,title:o})=>a.a.createElement(Ot.a,{key:t,value:t,title:o,active:t===e.weight},o)))),a.a.createElement("div",{className:"brz-ed__col brz-ed__col-1-2"},a.a.createElement(rl.a,null,e.lineHeightLabel),a.a.createElement(Cn,{min:e.lineHeightMin,max:e.lineHeightMax,step:e.lineHeightStep,value:e.lineHeight,onChange:this.onLineHeight})),a.a.createElement("div",{className:"brz-ed__col brz-ed__col-1-2"},a.a.createElement(rl.a,null,e.letterSpacingLabel),a.a.createElement(Cn,{min:e.letterSpacingMin,max:e.letterSpacingMax,step:e.letterSpacingStep,value:e.letterSpacing,onChange:this.onLetterSpacing}))))}}let ul;pl.propTypes={className:pn.a.string,onChange:pn.a.func.isRequired,fontFamily:pn.a.bool,fonts:cl.propTypes.fonts,font:pn.a.string.isRequired,fontAdd:cl.propTypes.addFont,fontAddLabel:cl.propTypes.addFontLabel,styles:il.propTypes.styles,style:pn.a.string.isRequired,styleLabel:il.propTypes.label,styleOpenSettings:il.propTypes.openSettings,size:pn.a.number.isRequired,sizeSuffix:pn.a.string.isRequired,sizeMin:pn.a.number,sizeMax:pn.a.number,sizeStep:pn.a.number,sizeLabel:pn.a.string,weights:pn.a.arrayOf(pn.a.shape({value:pn.a.number,title:pn.a.string})).isRequired,weight:pn.a.number.isRequired,weightLabel:pn.a.string,lineHeight:pn.a.number.isRequired,lineHeightMin:pn.a.number,lineHeightMax:pn.a.number,lineHeightStep:pn.a.number,lineHeightLabel:pn.a.string,letterSpacing:pn.a.number.isRequired,letterSpacingMin:pn.a.number,letterSpacingMax:pn.a.number,letterSpacingStep:pn.a.number,letterSpacingLabel:pn.a.string},pl.defaultProps={className:"",styleLabel:Object(C.a)("Typography"),sizeLabel:Object(C.a)("Size"),weightLabel:Object(C.a)("Weight"),lineHeightLabel:Object(C.a)("Line Hgt."),letterSpacingLabel:Object(C.a)("Letter Sp."),fontFamily:!0,sizeMin:0,sizeMax:100,sizeStep:1,lineHeightMin:1,lineHeightMax:10,lineHeightStep:.1,letterSpacingMin:-20,letterSpacingMax:20,letterSpacingStep:.5},function(e){e.google="google",e.upload="upload"}(ul||(ul={}));ul.google,ul.upload;const bl=Object.values(ul),ml=e=>bl.includes(e),hl=Object(Ro.c)(ml);var gl=o(122),fl=o(44),vl=o(3);function yl(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Sl(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?yl(Object(o),!0).forEach((function(t){Object(n.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):yl(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const Ol=e=>({fontFamilyType:e.fontFamilyType,fontWeight:e.fontWeight,fontFamily:e.fontFamily}),xl=e=>ml(e.fontFamilyType),Cl=e=>({fontSize:e.fontSize,fontWeight:e.fontWeight,fontSizeSuffix:e.fontSizeSuffix,letterSpacing:e.letterSpacing,lineHeight:e.lineHeight}),Bl=e=>Xt.d(e.fontSizeSuffix);function jl(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Pl(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?jl(Object(o),!0).forEach((function(t){Object(n.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):jl(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const Tl={fontFamily:"",fontFamilyType:ul.google,fontStyle:"",fontSize:fl.d(17),fontSizeSuffix:Xt.a,fontWeight:gl.b,letterSpacing:0,lineHeight:fl.d(1)},wl=e=>{var t,o,n,i,r,a,l,s;return{fontFamily:null!==(t=Object(Ro.b)(()=>e("fontFamily"),mo.d)())&&void 0!==t?t:Tl.fontFamily,fontFamilyType:null!==(o=Object(Ro.b)(()=>e("fontFamilyType"),mo.d,hl)())&&void 0!==o?o:Tl.fontFamilyType,fontStyle:null!==(n=Object(Ro.b)(()=>e("fontStyle"),mo.d)())&&void 0!==n?n:Tl.fontStyle,fontSize:null!==(i=Object(Ro.b)(()=>e("fontSize"),Ci.b,fl.b)())&&void 0!==i?i:Tl.fontSize,fontSizeSuffix:null!==(r=Object(Ro.b)(()=>e("fontSizeSuffix"),mo.d,Xt.b)())&&void 0!==r?r:Tl.fontSizeSuffix,fontWeight:null!==(a=Object(Ro.b)(()=>e("fontWeight"),Ci.b,gl.c)())&&void 0!==a?a:Tl.fontWeight,letterSpacing:null!==(l=Object(Ro.b)(()=>e("letterSpacing"),Ci.b)())&&void 0!==l?l:Tl.letterSpacing,lineHeight:null!==(s=Object(Ro.b)(()=>e("lineHeight"),Ci.b,fl.b)())&&void 0!==s?s:Tl.lineHeight}},El=(e,t,o,n)=>{const i=Object(Mt.f)(n.fontStyle)||n,r=Pl(Pl({},Tl),wl(t=>"fontStyle"===t?n.fontStyle:Object(vl.defaultValueValue)({key:t,v:i,device:e})));if(((e,t)=>Object.values(e).some(e=>null==e?void 0:e.some(e=>e.id===t)))(t,r.fontFamily))return r;const{group:a,font:l}=o,s=(0,Mt.b[a])(l).id;switch(a){case"config":case"blocks":case"google":return Pl(Pl({},r),{},{fontFamilyType:ul.google,fontFamily:s});case"upload":return Pl(Pl({},r),{},{fontFamilyType:ul.upload,fontFamily:s})}};function zl(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function kl(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?zl(Object(o),!0).forEach((function(t){Object(n.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):zl(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const Fl=()=>{F.a.open({prompt:"fonts",mode:"single"})},_l=({value:e,onChange:t,config:o})=>{var n,i,l,s,c,d,b,m,h,g,f,v;const S=Object(y.c)(),O=Object(y.d)(u.S),x=Object(y.d)(u.k),B=Object(y.d)(u.p),j=Object(r.useMemo)(()=>Object.entries(O).reduce((e,[t,o])=>(e[t]=null==o?void 0:o.data.map(Mt.b[t]),e),{}),[O]),P=El(x,j,B,e),T=Object(r.useCallback)((e,n)=>{const i=!1!==(null==o?void 0:o.fontFamily);switch(n.isChanged){case"fontFamily":{const{id:o,type:n,weights:r}=e,a=Ol(kl(kl({},P),{},{fontFamily:o,fontWeight:r.includes(P.fontWeight)?P.fontWeight:gl.b,fontFamilyType:n}));return t(i?kl(kl({},P),a):a)}case"fontStyle":return t((e=>({fontStyle:e}))(e));case"fontSize":case"fontWeight":case"letterSpacing":case"lineHeight":case"fontSizeSuffix":{const o=i?(e=>Sl(Sl({},Ol(e)),Cl(e)))(kl(kl({},P),{},{[n.isChanged]:e})):Cl(kl(kl({},P),{},{[n.isChanged]:e}));return t(o)}}},[t,P]),w=Object(r.useCallback)(()=>{S(Object(p.S)("leftSidebar",{isOpen:!0,drawerContentType:"styling"}))},[]),E=[{id:"",title:Object(C.a)("Custom")},...Object(Mt.g)()],z=Object(Mt.n)({type:P.fontFamilyType,family:P.fontFamily});return a.a.createElement(pl,{onChange:T,fontFamily:null==o?void 0:o.fontFamily,fonts:j,font:P.fontFamily,fontAdd:"admin"===Object(Lt.b)()?Fl:void 0,fontAddLabel:Object(C.a)("Add New Font"),styles:E,style:P.fontStyle,styleOpenSettings:w,size:P.fontSize,sizeSuffix:P.fontSizeSuffix,sizeSuffixes:Xt.c,weights:z,weight:P.fontWeight,lineHeight:P.lineHeight,letterSpacing:P.letterSpacing,letterSpacingMin:null!==(n=null==o||null===(i=o.letterSpacing)||void 0===i?void 0:i.min)&&void 0!==n?n:-20,letterSpacingMax:null!==(l=null==o||null===(s=o.letterSpacing)||void 0===s?void 0:s.max)&&void 0!==l?l:20,letterSpacingStep:.1,lineHeightMin:null!==(c=null==o||null===(d=o.lineHeight)||void 0===d?void 0:d.min)&&void 0!==c?c:1,lineHeightMax:null!==(b=null==o||null===(m=o.lineHeight)||void 0===m?void 0:m.max)&&void 0!==b?b:10,lineHeightStep:.1,sizeMin:null!==(h=null==o||null===(g=o.fontSize)||void 0===g?void 0:g.min)&&void 0!==h?h:0,sizeMax:null!==(f=null==o||null===(v=o.fontSize)||void 0===v?void 0:v.max)&&void 0!==f?f:100,sizeStep:1})};_l.fromElementModel=wl,_l.toElementModel=e=>{return xl(t=e)&&Bl(t)?{fontStyle:"",fontFamily:e.fontFamily,fontFamilyType:e.fontFamilyType,fontSize:e.fontSize,fontSizeSuffix:e.fontSizeSuffix,fontWeight:e.fontWeight,letterSpacing:e.letterSpacing,lineHeight:e.lineHeight}:xl(e)?{fontStyle:"",fontFamily:e.fontFamily,fontFamilyType:e.fontFamilyType,fontWeight:e.fontWeight}:Bl(e)?{fontStyle:"",fontSize:e.fontSize,fontSizeSuffix:e.fontSizeSuffix,fontWeight:e.fontWeight,letterSpacing:e.letterSpacing,lineHeight:e.lineHeight}:(e=>"string"==typeof e.fontStyle)(e)?{fontStyle:e.fontStyle}:{};var t},_l.defaultValue=Tl;const Rl={src:"",extension:"",width:0,height:0,x:50,y:50,sizeType:"custom"},Hl=Object(Jn.match)([e=>"imageSrc"in e,e=>({imageSrc:e.imageSrc,imageExtension:e.imageExtension,imageWidth:e.imageWidth,imageHeight:e.imageHeight})],[e=>"positionX"in e,e=>({positionX:e.positionX,positionY:e.positionY})],[e=>"sizeType"in e,e=>({sizeType:e.sizeType})]),Ll=e=>({value:e.name,label:e.label}),Ml=({onChange:e,value:t,config:o,label:n})=>{var i,l,c;const d=s()("brz-ed-option__focal-point","brz-ed-option__inline"),p=null!==(i=null==o?void 0:o.disableSizes)&&void 0!==i&&i,u=Object(r.useMemo)(()=>{var e;return[{value:"custom",label:Object(C.a)("Custom")},...(null!==(e=J.a.getAll().imageSizes)&&void 0!==e?e:[]).map(Ll)]},[]),b=Object(r.useCallback)((t,o)=>{switch(o.isChanged){case"image":e({imageSrc:t.src,imageExtension:t.extension,imageWidth:t.width,imageHeight:t.height});break;case"pointer":e({positionX:t.x,positionY:t.y})}},[e]),m=Object(r.useCallback)(t=>e({sizeType:t}),[e]);return a.a.createElement(a.a.Fragment,null,n,a.a.createElement(bo.a,{className:d,onlyPointer:!(null===(l=null==o?void 0:o.edit)||void 0===l||l),showPointer:"custom"===t.sizeType&&"svg"!==t.extension&&(null===(c=null==o?void 0:o.pointer)||void 0===c||c),extension:t.extension,x:t.x,y:t.y,width:t.width,height:t.height,src:t.src,onChange:b,size:t.sizeType,sizes:p||"svg"===t.extension?void 0:u,onSizeChange:m}))};Ml.fromElementModel=e=>{var t;return{src:Jt.g(e("imageSrc")),extension:Jt.g(e("imageExtension")),width:W.h(e("imageWidth")),height:W.h(e("imageHeight")),x:W.h(e("positionX")),y:W.h(e("positionY")),sizeType:null!==(t=Jt.g(e("sizeType")))&&void 0!==t?t:Rl.sizeType}},Ml.toElementModel=Hl,Ml.defaultValue=Rl;const Il=e=>{if("object"==typeof e){const t=mo.a.read(Object(i.a)("population",e));return void 0===t?void 0:{population:t}}if("string"==typeof e)return{population:e}},Wl={population:""},Nl=(e,t)=>mo.a.eq(e.population,t.population);function Vl(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Al(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Vl(Object(o),!0).forEach((function(t){Object(n.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Vl(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const Dl=({config:e,value:t=Wl,onChange:o,options:n=[],className:i,label:r})=>{let l;const c=[...null!=e&&e.iconOnly?[{title:Object(C.a)("Custom Text"),value:Wl.population}]:[],...(null==e?void 0:e.choices)||[]],d=e=>{o(Il(e)||Wl)},p=s()(i,"brz-ed-option-population",{"brz-control__select-population--only-icon":!(null==e||!e.iconOnly)});if(Nl(t,Wl))l=a.a.createElement(ro.a,{data:n,wrapOptions:!1,optionClassName:"brz-ed-option-population"});else{const o=Object(L.a)(c,e=>!Object(go.b)(e)&&e.value===t.population).obj;null!=e&&e.iconOnly?o||c.push({title:Object(C.a)("N/A"),value:t.population}):l=a.a.createElement(ho,{value:o?o.title:Object(C.a)("N/A"),onChange:d})}return a.a.createElement(a.a.Fragment,null,r,a.a.createElement("div",{className:"brz-ed-control__population"},l,c.length>0?a.a.createElement(vo,{className:p,choices:c,value:t.population,onChange:d}):null))};Dl.fromElementModel=e=>({population:mo.a.read(e("population"))}),Dl.toElementModel=e=>({population:e.population}),Dl.defaultValue={population:""},Dl.filter=(e,t)=>{var o;return Al(Al({},t),{},{options:null===(o=t.options)||void 0===o?void 0:o.map(e).filter(Jn.isT)})},Dl.reduce=(e,t,o)=>{var n,i;return null!==(n=null===(i=o.options)||void 0===i?void 0:i.reduce(e,t))&&void 0!==n?n:t},Dl.map=(e,t)=>{var o;return Al(Al({},t),{},{options:null===(o=t.options)||void 0===o?void 0:o.map(e)})};const $l=({className:e,onChange:t,value:{value:o},config:n={},placeholder:i,label:l})=>{var s;const[c,d]=Object(r.useState)(o),p=Object(r.useRef)(c);Object(r.useEffect)(()=>{p.current!==o&&(p.current=o,d(o))},[o]),Object($i.a)(()=>{p.current!==c&&(p.current=c,t({value:c}))},1e3,[t,c]);const u=Object(r.useCallback)(()=>{p.current!==c&&(p.current=c,t({value:c}))},[t,c]);return a.a.createElement(a.a.Fragment,null,l,a.a.createElement(Di,{className:e,onChange:d,onBlur:u,value:c,size:null!==(s=n.size)&&void 0!==s?s:"auto",placeholder:i}))};$l.defaultValue={value:""},$l.fromElementModel=e=>({value:mo.a.read(e("value"))}),$l.toElementModel=e=>({value:e.value});var Gl=o(147),Ul=o(153),Kl=o(89);function Yl({children:e,onChange:t,className:o}){const n="brz-ed-control__radio-group2",i=s()(n,o);return a.a.createElement("div",{className:i},e.map((e,o)=>{const i=s()(n+"__item",{[n+"__item--active"]:e.props.active});return a.a.createElement("div",{className:i,key:o,onClick:()=>t(e.props.value),title:e.props.title},e)}))}function ql({icon:e}){return a.a.createElement(c.a,{icon:e})}var Xl=o(149),Jl=o(119);function Zl({value:e,unit:t,onUnit:o,onValue:n,label:i,icon:l,units:c,min:d,max:p,step:u,className:b}){const m=Object(r.useMemo)(()=>({number:e,unit:t}),[e,t]),h=Object(r.useCallback)(i=>{i.number!==e&&n(i.number),i.unit!==t&&o(i.unit)},[e,t,n,o]);return a.a.createElement(Kl.a,{className:s()("brz-ed-option",b),display:"inline"},a.a.createElement(Jl.a,{label:i,icon:l}),a.a.createElement(Xl.a,{value:m,onChange:h,step:u,min:d,max:p,units:c}))}const Ql=["all","top","right","bottom","left"],es=["grouped","ungrouped"];function ts({className:e,label:t,type:o,value:n,onType:i,onValue:l,onUnit:c,units:d,getIcon:p,min:u,max:b,step:m}){const h=Object(r.useMemo)(()=>Ql.reduce((e,t)=>(e[t]={onValue:l.bind(null,t),onUnit:c.bind(null,t)},e),{}),[l,c]);return a.a.createElement(Za,{className:s()("brz-ed-control__spacing",e)},a.a.createElement(Kl.a,{display:"inline",className:"brz-ed-option"},t,a.a.createElement(Yl,{onChange:i},es.map(e=>a.a.createElement(ql,{key:e,icon:p(e),value:e,active:e===o})))),"grouped"===o&&a.a.createElement(Zl,{value:n.all.number,unit:n.all.unit,onValue:h.all.onValue,onUnit:h.all.onUnit,units:d,step:m,min:u,max:b}),"ungrouped"===o&&Object.keys(n).filter(e=>"all"!==e).map(e=>a.a.createElement(Zl,{key:e,icon:p(e),value:n[e].number,unit:n[e].unit,onValue:h[e].onValue,onUnit:h[e].onUnit,units:d,step:m,min:u,max:b})))}const os=({value:e,onChange:t,label:o,config:n})=>{var i;const l=null!==(i=null==n?void 0:n.edges)&&void 0!==i?i:"all",s=Object(r.useCallback)(Object(Ro.d)(t=>Gl.i(t,e),t),[e,t]),c=Object(r.useMemo)(()=>Object(Ul.e)(l,e),[e]),d=Object(r.useCallback)(Object(Ro.d)((t,o)=>Object(Ul.g)(t)(o,e),t),[t,e]),p=Object(r.useCallback)(Object(Ro.d)((t,o)=>Object(Ul.f)(t)(o,e),t),[t,e]),u=Object(r.useMemo)(()=>{var e;return(null!==(e=null==n?void 0:n.units)&&void 0!==e?e:["px","%"]).map(e=>({value:e,title:e}))},[n]);return a.a.createElement(ts,{label:o,type:e.type,value:c,units:u,onType:s,onValue:d,onUnit:p,getIcon:Ul.c,step:1,min:-100,max:100})};os.fromElementModel=Ul.b,os.toElementModel=Ul.d,os.defaultValue=Ul.a;var ns=o(57);const is=e=>"number"==typeof e?Ci.a.read(e):mo.a.read(e),rs={value:[]};function as(e,t){return v.default.difference(e,v.default.pluck(t,"value")).map(e=>{var t;return{title:Object(Jt.f)(Object(C.a)("? (%s)"),null!==(t=ns.a(e))&&void 0!==t?t:"?"),value:e}})}function ls(e,t,...o){const n=new Set,i=[];for(const r of[e,t,...o])for(const e of r)n.has(e.value)||(n.add(e.value),i.push(e));return i}var ss=o(303),cs=o(967),ds=o(973),ps=o(80);const us=(bs=C.a,(e,t)=>{const o=e.filter(e=>t.includes(e.value));return 1===o.length?o[0].title:o.length>1?Object(Jt.f)(bs("%s Selected"),String(o.length)):void 0});var bs;function ms(e){return a.a.createElement("span",e)}function hs({value:e,valueIsLoading:t,children:o,className:n,placeholder:i,search:l,searchIsEmpty:c,searchIsLoading:d,onChange:p,onSearchChange:u}){const[b,m]=Object(r.useState)(!1),h=o.map(({props:e})=>({title:e.title,value:e.value})),g=s()("brz-ed-control__multiSelect2",n);return a.a.createElement(ps.a,{onClickOutside:()=>m(!1)},a.a.createElement("div",{className:g},a.a.createElement(ss.a,null,a.a.createElement(cs.a,null,({ref:o})=>a.a.createElement(gs,{customRef:o,items:h,value:e,valueIsLoading:t,placeholder:i,onClick:()=>m(!b)})),a.a.createElement("div",{className:"brz-ed-control__multiSelect2__dropdown-container"},a.a.createElement(ds.a,null,({ref:t,style:o})=>b?a.a.createElement(fs,{customRef:t,items:h,value:e,style:o,search:l,searchIsEmpty:c,searchIsLoading:d,onItemClick:t=>p(((e,t)=>t.includes(e.value)?t.filter(t=>t!==e.value):t.concat(e.value))(t,e)),onSearchChange:u&&(e=>u(e))}):null)))))}function gs({customRef:e,items:t,value:o,valueIsLoading:n,placeholder:i,onClick:r}){if(null!=n&&n)return a.a.createElement("div",{ref:e,className:"brz-ed-control__multiSelect2__value brz-ed-control__multiSelect2__value--loading"},a.a.createElement(c.b,{icon:"nc-circle-02",className:"brz-ed-control__multiSelect2__spinner brz-ed-animated--spin"}));const l=us(t,o),d=s()("brz-ed-control__multiSelect2__value",{"brz-ed-control__multiSelect2__value--placeholder":void 0===l&&void 0!==i});return a.a.createElement("div",{ref:e,className:d,onClick:r},a.a.createElement("span",{className:"brz-span"},null!=l?l:i))}function fs({customRef:e,items:t,value:o,style:n,search:i,searchIsEmpty:l,searchIsLoading:d,onItemClick:p,onSearchChange:u}){Object(r.useEffect)(()=>()=>{null==u||u("")},[]);const b=s()("brz-ed-control__multiSelect2__dropdown",{"brz-ed-control__multiSelect2__dropdown--with-search":i,"brz-ed-control__multiSelect2__dropdown--search-loading":d}),m=s()("brz-ed-control__multiSelect2__spinner",{"brz-ed-control__multiSelect2__spinner--hidden":!d,"brz-ed-animated--spin":d});return a.a.createElement("div",{ref:e,className:b,style:n},i&&a.a.createElement("div",{className:"brz-ed-control__multiSelect2__search"},a.a.createElement("input",{className:"brz-input",placeholder:Object(C.a)("Type to Search ..."),autoFocus:!0,spellCheck:!1,onChange:u&&(e=>u(e.target.value))}),a.a.createElement(c.b,{icon:"nc-circle-02",className:m})),a.a.createElement(Kt.Scrollbars,{autoHeight:!0,autoHeightMax:150,renderThumbVertical:e=>a.a.createElement("div",Object(g.a)({className:"brz-ed-control__multiSelect__scroll-thumb"},e))},a.a.createElement("ul",{className:"brz-ul"},t.map(e=>a.a.createElement(vs,{key:String(e.value),title:e.title,value:e.value,active:o.includes(e.value),onClick:()=>p(e)})),i&&l&&a.a.createElement(ys,null))))}function vs({title:e,active:t=!1,onClick:o}){const n=s()("brz-ed-control__multiSelect2__option",{"brz-ed-control__multiSelect2__option--active":t}),i=t?"nc-check-square-on":"nc-check-square-off";return a.a.createElement("li",{className:n,title:e,onClick:o},a.a.createElement(c.b,{icon:i,className:"brz-ed-control__multiSelect2__option-checkbox"}),a.a.createElement("span",{className:"brz-ed-control__multiSelect2__option-text"},e))}function ys(){return a.a.createElement("li",{className:"brz-ed-control__multiSelect2__option brz-ed-control__multiSelect2__option--disabled"},Object(C.a)("No results"))}function Ss({value:e,title:t}){return a.a.createElement(ms,{key:e,title:t,value:e})}const Os=({choices:e,value:{value:t},placeholder:o,config:n,onChange:i})=>{var l;const[s,c]=Object(r.useState)(""),d=function(e,t){return""===e?t:t.filter(({title:t})=>t.toLowerCase().includes(e.toLowerCase()))}(s,e),p=Object(r.useCallback)(e=>i({value:e}),[i]);return a.a.createElement(hs,{value:t,placeholder:o,search:null!==(l=null==n?void 0:n.search)&&void 0!==l&&l,searchIsEmpty:0===d.length,onChange:p,onSearchChange:c},d.map(Ss))};function xs(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Cs(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?xs(Object(o),!0).forEach((function(t){Object(n.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):xs(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function Bs(e,t){switch(e.state){case"INACTIVE":switch(t.type){case"idle":case"loading":return Cs(Cs({},e),{},{state:"idle"===t.type?"IDLE":"LOADING"})}break;case"LOADING":switch(t.type){case"load_success":case"load_fail":return Cs(Cs({},e),{},{state:"IDLE",vChoices:"load_success"===t.type?t.choices:[]})}break;case"IDLE":switch(t.type){case"search_changed":return Cs(Cs({},e),{},{state:"HAS_INPUT",sChoices:[],search:t.search});case"value_changed":return Cs(Cs({},e),{},{vChoices:t.choices})}break;case"HAS_INPUT":switch(t.type){case"search_erased":return Cs(Cs({},e),{},{state:"IDLE",sChoices:[],search:""});case"search_changed":return Cs(Cs({},e),{},{sChoices:[],search:t.search});case"search_debounce_success":return Cs(Cs({},e),{},{state:"FETCHING"})}break;case"FETCHING":switch(t.type){case"fetch_found":return Cs(Cs({},e),{},{state:"FETCH_FOUND",sChoices:t.choices});case"fetch_not_found":return Cs(Cs({},e),{},{state:"FETCH_NOT_FOUND",sChoices:[]});case"search_erased":return Cs(Cs({},e),{},{state:"IDLE",sChoices:[],search:""});case"search_changed":return Cs(Cs({},e),{},{state:"HAS_INPUT",sChoices:[],search:t.search})}break;case"FETCH_FOUND":switch(t.type){case"value_changed":return Cs(Cs({},e),{},{state:"SELECTED",vChoices:t.choices});case"search_erased":return Cs(Cs({},e),{},{state:"IDLE",sChoices:[],search:""});case"search_changed":return Cs(Cs({},e),{},{state:"HAS_INPUT",sChoices:[],search:t.search})}break;case"FETCH_NOT_FOUND":switch(t.type){case"search_erased":return Cs(Cs({},e),{},{state:"IDLE",sChoices:[],search:""});case"search_changed":return Cs(Cs({},e),{},{state:"HAS_INPUT",sChoices:[],search:t.search})}break;case"SELECTED":switch(t.type){case"value_changed":return Cs(Cs({},e),{},{vChoices:t.choices});case"search_erased":return Cs(Cs({},e),{},{state:"IDLE",sChoices:[],search:""});case"search_changed":return Cs(Cs({},e),{},{state:"HAS_INPUT",sChoices:[],search:t.search})}}return e}const js={state:"INACTIVE",vChoices:[],sChoices:[],search:""};function Ps({value:e,title:t}){return a.a.createElement(ms,{key:e,title:t,value:e})}const Ts=({placeholder:e,choices:t,value:{value:o},onChange:n})=>{const[i,l]=Object(r.useReducer)(Bs,js),s=function(e,t){const[o,n]=Object(r.useState)(e);return Object(r.useEffect)(()=>{const o=setTimeout(()=>{n(e)},t);return()=>{clearTimeout(o)}},[e]),o}(i.search,1e3),c=Object(r.useRef)(),d=Object(r.useRef)([]),{vChoices:p,sChoices:u}=i,b=Object(r.useCallback)(e=>{const t=d.current,o=[...p,...u],i=e.map(e=>o.find(t=>t.value===e)).filter(e=>void 0!==e),r=v.default.difference(e,v.default.pluck(u,"value"));(0===u.length||r.length>0||i.length<t.length)&&(d.current=i),l({type:"value_changed",choices:i}),n({value:e})},[n,p,u]);Object(r.useEffect)(()=>{let e;return 0===o.length?l({type:"idle"}):o.length>0&&(l({type:"loading"}),e=new AbortController,t.load(o,e.signal).then(t=>{e.signal.aborted||(d.current=t,l({type:"load_success",choices:t}))}).catch(()=>{e.signal.aborted||l({type:"load_fail"})})),()=>{var t;null===(t=e)||void 0===t||t.abort()}},[]),Object(r.useEffect)(()=>{if(""!==s){l({type:"search_debounce_success"});const e=new AbortController;c.current=e,t.search(s,e.signal).then(t=>{e.signal.aborted||(t.length>0?l({type:"fetch_found",choices:t}):l({type:"fetch_not_found"}))}).catch(()=>{e.signal.aborted||l({type:"fetch_not_found"})})}},[s]),Object(r.useEffect)(()=>{"IDLE"===i.state&&(d.current=i.vChoices)},["IDLE"===i.state]);const m="SELECTED"===i.state?ls(as(o,i.vChoices),d.current,i.sChoices):ls(as(o,i.vChoices),i.vChoices,i.sChoices);return a.a.createElement(hs,{value:o,valueIsLoading:"LOADING"===i.state,placeholder:e,search:!0,searchIsLoading:"FETCHING"===i.state,searchIsEmpty:"FETCH_NOT_FOUND"===i.state,onChange:b,onSearchChange:e=>{var t;null===(t=c.current)||void 0===t||t.abort(),l(""===e?{type:"search_erased"}:{type:"search_changed",search:e})}},m.map(Ps))},ws=e=>{return t=e.choices,Array.isArray(t)?a.a.createElement(a.a.Fragment,null,e.label,a.a.createElement(Os,Object(g.a)({},e,{choices:e.choices}))):a.a.createElement(a.a.Fragment,null,e.label,a.a.createElement(Ts,Object(g.a)({},e,{choices:e.choices})));var t};ws.fromElementModel=e=>{let t;try{var o;t=JSON.parse(null!==(o=ns.a(e("value")))&&void 0!==o?o:"[]")}catch(e){t=rs.value}if(!Array.isArray(t)||!t.length)return rs;return{value:t.reduce((e,t)=>{const o=is(t);return o&&e.push(o),e},[])}},ws.toElementModel=e=>({value:JSON.stringify(e.value)}),ws.defaultValue=rs;const Es=({config:e,value:{value:t},placeholder:o,choices:n,onChange:i})=>{var r;return a.a.createElement(Zi.a,{placeholder:o,size:null==e?void 0:e.size,value:t,editable:null!==(r=null==e?void 0:e.search)&&void 0!==r&&r,onChange:e=>{i({value:e})}},n.map(({title:e,icon:t,value:o},n)=>a.a.createElement(or.a,{key:n,value:o},t&&a.a.createElement(c.a,{icon:t,className:"brz--space-right"}),e)))},zs=e=>{var t,o;const[n,i]=Object(r.useState)(!1),[l,s]=Object(r.useState)([]),[d,p]=Object(r.useState)(!1);if(Object(r.useEffect)(()=>{const t=new AbortController;return e.choices.load(t.signal).then(e=>{t.signal.aborted||(i(!0),s(e))}).catch(()=>{t.signal.aborted||p(!0)}),()=>{null==t||t.abort()}},[e.choices]),!n)return a.a.createElement("div",{className:"brz-ed-option-type__select-dev__spinner-container"},a.a.createElement(c.b,{icon:"nc-circle-02",className:"brz-ed-option-type__select-dev__spinner brz-ed-animated--spin"}));if(d)return a.a.createElement("p",{style:{color:"white"}},"Error");if(l.length)return a.a.createElement(Es,Object(g.a)({},e,{choices:l}));const u=[{title:null!==(t=null===(o=e.choices.emptyLoad)||void 0===o?void 0:o.title)&&void 0!==t?t:Object(C.a)("Don't have items"),value:""}];return a.a.createElement(Es,Object(g.a)({},e,{choices:u}))},ks=e=>{return t=e.choices,Array.isArray(t)?a.a.createElement(a.a.Fragment,null,e.label,a.a.createElement(Es,Object(g.a)({},e,{choices:e.choices}))):a.a.createElement(a.a.Fragment,null,e.label,a.a.createElement(zs,Object(g.a)({},e,{choices:e.choices})));var t};function Fs({className:e,value:t,onChange:o}){const n=Object(r.useCallback)(()=>o(!t),[o,t]),i=s()({[e||""]:!0,"brz-ed-control__switch2":!0,"brz-ed-control__switch2--on":t});return a.a.createElement("div",{className:i,onClick:n},a.a.createElement("label",{className:"brz-label brz-ed-control__switch2-label"},a.a.createElement("span",{className:"brz-span brz-ed-control__switch2-arrows"},a.a.createElement(c.b,{className:"brz-ed-control__switch2--check",icon:"nc-check-small"}),a.a.createElement(c.b,{className:"brz-icon-svg brz-ed-control__switch2--un-check",icon:"nc-remove"}),a.a.createElement("span",{className:"brz-span brz-ed-control__switch2--handle"}))))}ks.fromElementModel=e=>({value:is(e("value"))}),ks.toElementModel=e=>({value:e.value}),ks.defaultValue={value:""};const _s=({onChange:e,config:t,className:o,value:{value:n},label:i})=>{var r,l;const s=null!==(r=null==t?void 0:t.on)&&void 0!==r?r:"on",c=null!==(l=null==t?void 0:t.off)&&void 0!==l?l:"off";return a.a.createElement(a.a.Fragment,null,i,a.a.createElement(Fs,{className:o,value:n===s,onChange:t=>e({value:t?s:c})}))};_s.fromElementModel=e=>({value:is(e("value"))}),_s.toElementModel=e=>({value:e.value}),_s.defaultValue={value:""};const Rs=(e,t)=>e.value===t.value&&e.unit===t.unit,Hs=({className:e,onChange:t,value:o,config:n={},label:i})=>{var l,s,c,d,p,u;const b=null!==(l=n.debounceUpdate)&&void 0!==l&&l,m=Object(r.useRef)(),[h,g]=Object(r.useState)(o),[f,v]=Object(r.useState)(!1),y=Object(r.useCallback)((e,t)=>{g({value:e.number,unit:e.unit}),v(t.editing)},[g,v]);return Object($i.c)(()=>{Rs(o,h)||b&&f||(t(h),m.current=h)},Math.max(0,null!==(s=null==n?void 0:n.updateRate)&&void 0!==s?s:16),[h.value,h.unit,b,f]),Object(r.useEffect)(()=>{m.current&&Rs(o,m.current)||g(o)},[o.value,o.unit]),a.a.createElement(a.a.Fragment,null,i,a.a.createElement(Xl.a,{className:e,min:null!==(c=n.min)&&void 0!==c?c:0,max:null!==(d=n.max)&&void 0!==d?d:100,inputMin:null==n?void 0:n.inputMin,inputMax:null==n?void 0:n.inputMax,step:null!==(p=n.step)&&void 0!==p?p:1,value:{number:h.value,unit:h.unit},onChange:y,units:null!==(u=n.units)&&void 0!==u?u:[]}))};Hs.fromElementModel=e=>({value:Ci.a.read(e("value")),unit:mo.a.read(e("suffix"))}),Hs.toElementModel=e=>({value:e.value,suffix:e.unit}),Hs.defaultValue={value:0,unit:""};const Ls=({className:e,choices:t,value:{value:o},onChange:n,label:i})=>{const r=s()("brz-ed-option__toggle",e);return t.length?a.a.createElement(a.a.Fragment,null,i,a.a.createElement(Hn,{value:o,onChange:e=>n({value:e}),className:r},t.map(({icon:e,value:t,title:o},n)=>a.a.createElement(Mn,{key:n,value:t,icon:e,title:o})))):null};Ls.fromElementModel=e=>({value:is(e("value"))}),Ls.toElementModel=e=>({value:e.value}),Ls.defaultValue={value:""};var Ms=o(281),Is=o(114),Ws=o(240),Ns=o(52);const Vs=e=>t=>t(e),As=Object(Ns.c)({type:Object(Ro.d)(Object(Ro.b)(Vs("type"),mo.d,Ws.a),Object(ao.g)("grouped")),value:Object(Ro.d)(Object(Ro.b)(Vs("value"),Ci.b,fl.b),Object(ao.g)(fl.a)),tempValue:Object(Ro.d)(Object(Ro.b)(Vs("tempValue"),Ci.b,fl.b),Object(ao.g)(fl.a)),unit:Object(Ro.d)(Object(Ro.b)(Vs("suffix"),mo.d,Is.a),Object(ao.g)("px")),tempUnit:Object(Ro.d)(Object(Ro.b)(Vs("tempSuffix"),mo.d,Is.a),Object(ao.g)("px")),top:Object(Ro.d)(Object(Ro.b)(Vs("top"),Ci.b,fl.b),Object(ao.g)(fl.a)),tempTop:Object(Ro.d)(Object(Ro.b)(Vs("tempTop"),Ci.b,fl.b),Object(ao.g)(fl.a)),topUnit:Object(Ro.d)(Object(Ro.b)(Vs("topSuffix"),mo.d,Is.a),Object(ao.g)("px")),tempTopUnit:Object(Ro.d)(Object(Ro.b)(Vs("tempTopSuffix"),mo.d,Is.a),Object(ao.g)("px")),right:Object(Ro.d)(Object(Ro.b)(Vs("right"),Ci.b,fl.b),Object(ao.g)(fl.a)),tempRight:Object(Ro.d)(Object(Ro.b)(Vs("tempRight"),Ci.b,fl.b),Object(ao.g)(fl.a)),rightUnit:Object(Ro.d)(Object(Ro.b)(Vs("rightSuffix"),mo.d,Is.a),Object(ao.g)("px")),tempRightUnit:Object(Ro.d)(Object(Ro.b)(Vs("tempRightSuffix"),mo.d,Is.a),Object(ao.g)("px")),bottom:Object(Ro.d)(Object(Ro.b)(Vs("bottom"),Ci.b,fl.b),Object(ao.g)(fl.a)),tempBottom:Object(Ro.d)(Object(Ro.b)(Vs("tempBottom"),Ci.b,fl.b),Object(ao.g)(fl.a)),bottomUnit:Object(Ro.d)(Object(Ro.b)(Vs("bottomSuffix"),mo.d,Is.a),Object(ao.g)("px")),tempBottomUnit:Object(Ro.d)(Object(Ro.b)(Vs("tempBottomSuffix"),mo.d,Is.a),Object(ao.g)("px")),left:Object(Ro.d)(Object(Ro.b)(Vs("left"),Ci.b,fl.b),Object(ao.g)(fl.a)),tempLeft:Object(Ro.d)(Object(Ro.b)(Vs("tempLeft"),Ci.b,fl.b),Object(ao.g)(fl.a)),leftUnit:Object(Ro.d)(Object(Ro.b)(Vs("leftSuffix"),mo.d,Is.a),Object(ao.g)("px")),tempLeftUnit:Object(Ro.d)(Object(Ro.b)(Vs("tempLeftSuffix"),mo.d,Is.a),Object(ao.g)("px"))}),Ds={type:"grouped",value:fl.a,tempValue:fl.a,unit:"px",tempUnit:"px",top:fl.a,tempTop:fl.a,topUnit:"px",tempTopUnit:"px",right:fl.a,tempRight:fl.a,rightUnit:"px",tempRightUnit:"px",bottom:fl.a,tempBottom:fl.a,bottomUnit:"px",tempBottomUnit:"px",left:fl.a,tempLeft:fl.a,leftUnit:"px",tempLeftUnit:"px"},$s=(Object(Ns.d)({number:Object(Ro.b)(Object(i.c)("number"),fl.b),unit:e=>e.unit}),Ul.c),Gs=({value:e,onChange:t,label:o,config:n})=>{const i=Object(r.useCallback)(Object(Ro.d)(t=>Ms.i(t,e),t),[e,t]),{value:l,unit:s,top:c,topUnit:d,right:p,rightUnit:u,bottom:b,bottomUnit:m,left:h,leftUnit:g}=e,f=Object(r.useMemo)(()=>({all:{number:l,unit:s},top:{number:c,unit:d},right:{number:p,unit:u},bottom:{number:b,unit:m},left:{number:h,unit:g}}),[e,c,p,b,h,s,d,u,m,g]),v=Object(r.useCallback)(Object(Ro.b)((t,o)=>Object(Ro.b)(fl.b,o=>(e=>{switch(e){case"all":return Ms.k;case"top":return Ms.g;case"right":return Ms.e;case"bottom":return Ms.a;case"left":return Ms.c}})(t)(o,e))(o),t),[t,e]),y=Object(r.useMemo)(()=>{var e;return(null!==(e=null==n?void 0:n.units)&&void 0!==e?e:["px","%"]).map(e=>({value:e,title:e}))},[n]),S=Object(r.useCallback)(Object(Ro.d)((t,o)=>(e=>{switch(e){case"all":return Ms.j;case"top":return Ms.h;case"right":return Ms.f;case"bottom":return Ms.b;case"left":return Ms.d}})(t)(o,e),t),[t,e]);return a.a.createElement(ts,{label:o,type:e.type,value:f,units:y,onType:i,onValue:v,onUnit:S,getIcon:$s,step:1,min:0,max:100})};Gs.fromElementModel=As,Gs.toElementModel=e=>({type:e.type,value:e.value,tempValue:e.tempValue,suffix:e.unit,tempSuffix:e.tempUnit,top:e.top,tempTop:e.tempTop,topSuffix:e.topUnit,tempTopSuffix:e.tempTopUnit,right:e.right,tempRight:e.tempRight,rightSuffix:e.rightUnit,tempRightSuffix:e.tempRightUnit,bottom:e.bottom,tempBottom:e.tempBottom,bottomSuffix:e.bottomUnit,tempBottomSuffix:e.tempBottomUnit,left:e.left,tempLeft:e.tempLeft,leftSuffix:e.leftUnit,tempLeftSuffix:e.tempLeftUnit}),Gs.defaultValue=Ds;const Us=({className:e,title:t,size:o,placement:n,onOpen:i,onClose:r,children:l,trigger:c,toolbar:d,clickOutsideExceptions:p=[]})=>{const u=s()("brz-ed-control__popover",e),b=a.a.createElement("div",{className:"brz-ed-control__popover--content"},l);return a.a.createElement("div",{className:u},a.a.createElement(le.a,{className:"brz-ed-control__popover--tooltip",placement:n,overlay:b,title:t,size:o,onOpen:i,onClose:r,openOnClick:!0,toolbar:d,clickOutsideExceptions:p},c))},Ks=e=>{let{className:t,content:o}=e,n=Object(Xe.a)(e,["className","content"]);const i=s()("brz-ed-popover__tooltip--icon-custom",t);return a.a.createElement("div",Object(g.a)({},n,{className:i,dangerouslySetInnerHTML:{__html:null!=o?o:""}}))},Ys=({icon:e})=>a.a.createElement(c.b,{icon:e});function qs(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Xs(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?qs(Object(o),!0).forEach((function(t){Object(n.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):qs(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const Js=e=>{switch(typeof e){case"object":return a.a.createElement(Ks,e);case"string":return a.a.createElement(Ys,{icon:e})}},Zs=({className:e,config:t,options:o,toolbar:n})=>{var i,r,l;return null!=o&&o.length?a.a.createElement(Us,{title:null==t?void 0:t.title,trigger:Js(null!==(i=null==t?void 0:t.icon)&&void 0!==i?i:"nc-cog"),className:e,placement:null!==(r=null==t?void 0:t.placement)&&void 0!==r?r:"top",size:null!==(l=null==t?void 0:t.size)&&void 0!==l?l:"medium",toolbar:n,clickOutsideExceptions:[".brz-ed-fixed",".media-modal",".media-modal-backdrop",...n?[".brz-ed-sidebar__right"]:[]]},a.a.createElement(ro.a,{wrapOptions:!1,data:o,toolbar:n})):null};function Qs({className:e,active:t,onChange:o,align:n,position:i,children:r}){const l=s()("brz-ul brz-ed-control__tabs","brz-justify-content-xs-"+n,"brz-ed-control__tabs__"+i,e),d=r.map((e,n)=>{const{icon:i,value:r,title:l,label:d}=e.props,p=s()("brz-li brz-ed-control__tab",{"brz-ed-control__tab__icon":i,active:t===r});return a.a.createElement("li",{key:n,title:l,className:p,onClick:()=>o(r)},i&&a.a.createElement(c.b,{icon:i}),a.a.createElement("span",{className:"brz-span"},d))});return a.a.createElement("ul",{className:l},d)}function ec({className:e,showSingle:t,children:o,value:n,onChange:i,align:r,position:l}){var c;const d=s()("brz-ed-control__tabs-wrapper",e);if(0===o.length)return null;const p=o.length>1||t&&1===o.length,u=null!==(c=o.find(e=>e.props.value===n))&&void 0!==c?c:o[0],b=a.a.createElement("div",{className:s()("brz-ed-control__tab__content","brz-ed-control__tabs__content__"+l,u.props.className)},u.props.children);return p?a.a.createElement("div",{className:d},a.a.createElement(Qs,{active:u.props.value,align:r,position:l,onChange:i},o),b):b}function tc({children:e}){return a.a.createElement(a.a.Fragment,null,e)}function oc(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function nc(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?oc(Object(o),!0).forEach((function(t){Object(n.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):oc(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}Zs.fromElementModel=()=>{},Zs.toElementModel=()=>({}),Zs.defaultValue=void 0,Zs.filter=si,Zs.reduce=(e,t,o)=>{var n,i;return null!==(n=null===(i=o.options)||void 0===i?void 0:i.reduce(e,t))&&void 0!==n?n:t},Zs.map=(e,t)=>{var o;return Xs(Xs({},t),{},{options:null===(o=t.options)||void 0===o?void 0:o.map(e)})};const ic=({tabs:e=[],onChange:t,value:{value:o},config:n,toolbar:i,className:l})=>{var s,c,d;const[p,u]=Object(r.useState)(o),b=null!==(s=null==n?void 0:n.position)&&void 0!==s?s:"top",m=null!==(c=null==n?void 0:n.align)&&void 0!==c?c:"center",h=Object(r.useCallback)(u,[o]);return Object(r.useEffect)(()=>{null!=n&&n.saveTab&&t({value:p})},[p]),a.a.createElement(ec,{align:m,value:p,onChange:h,position:b,showSingle:null!==(d=null==n?void 0:n.showSingle)&&void 0!==d&&d,className:l},Object(v.sortBy)(e,({position:e=100})=>e).map(({id:e,title:t,label:o,options:n,className:r})=>a.a.createElement(tc,{key:e,value:e,title:t,label:o,className:r},a.a.createElement(ro.a,{wrapOptions:!1,data:n,toolbar:i}))))};ic.fromElementModel=e=>({value:is(e("value"))}),ic.toElementModel=e=>({value:e.value}),ic.defaultValue={value:""},ic.filter=ci,ic.reduce=(e,t,o)=>{var n,i;return null!==(n=null===(i=o.tabs)||void 0===i?void 0:i.reduce((o,n)=>{var i,r;return null!==(i=null===(r=n.options)||void 0===r?void 0:r.reduce(e,o))&&void 0!==i?i:t},t))&&void 0!==n?n:t},ic.map=(e,t)=>{var o;return nc(nc({},t),{},{tabs:null===(o=t.tabs)||void 0===o?void 0:o.map(t=>{var o;return nc(nc({},t),{},{options:null===(o=t.options)||void 0===o?void 0:o.map(e)})})})};var rc=o(72);const ac=({className:e="",value:t,onChange:o,size:n="auto",placeholder:i="",rows:l=5})=>{const c=s()("brz-ed-control__textarea2",e,"brz-ed-control__textarea2--"+n),d=Object(r.useCallback)(Object(ao.e)(o,rc.b),[t]);return a.a.createElement("textarea",{rows:l,className:c,value:t,placeholder:i,onChange:d})},lc=({className:e,onChange:t,value:{value:o},config:n={},placeholder:i,label:l})=>{var s;const[c,d]=Object(r.useState)(o);return Object($i.a)(()=>{o!==c&&t({value:c})},1e3,[c]),a.a.createElement(a.a.Fragment,null,l,a.a.createElement(ac,{className:e,onChange:d,value:c,size:null!==(s=n.size)&&void 0!==s?s:"auto",placeholder:i,rows:n.lines}))};lc.fromElementModel=e=>({value:mo.a.read(e("value"))}),lc.toElementModel=e=>({value:e.value}),lc.defaultValue={value:""};var sc=o(310);const cc=({className:e,onChange:t,value:{value:o},config:n={},placeholder:i,label:l})=>{const[s,c]=Object(r.useState)(o),d=Object(r.useRef)();let p;var u;(Object($i.a)(()=>{o!==s&&(t({value:s}),d.current=s)},1e3,[s]),Object(r.useEffect)(()=>{o!==d.current&&c(o)},[o]),"html"===(null==n?void 0:n.language))?p="htmlmixed":p=null!==(u=null==n?void 0:n.language)&&void 0!==u?u:"css";return a.a.createElement(a.a.Fragment,null,l,a.a.createElement(sc.a,{className:e,onChange:c,value:s,language:p,placeholder:i}))};cc.defaultValue={value:""},cc.fromElementModel=e=>({value:mo.a.read(e("value"))}),cc.toElementModel=e=>({value:e.value});const dc=({value:{value:e},choices:t,onChange:o,label:n})=>{const i=Object(r.useCallback)(e=>o({value:e}),[o,e]);return a.a.createElement(a.a.Fragment,null,n,a.a.createElement(Yl,{onChange:i},t.map(({value:t,icon:o,title:n},i)=>{return a.a.createElement(ql,{title:null!=n?n:"",key:i,icon:o,value:t,active:(r=t,l=e,r===l)});var r,l})))};dc.fromElementModel=e=>({value:is(e("value"))}),dc.toElementModel=e=>({value:e.value}),dc.defaultValue={value:""};const pc=({value:e,onChange:t,className:o,size:n="auto",spinner:i=!0,onIncrease:l,onDecrease:d})=>{const p=Object(r.useRef)(),[u,b]=Object(r.useState)("none"),m="brz-ed-control__number",h=s()(m,`${m}--${n}`,o),g=Object(r.useCallback)(()=>b("none"),[b]),f=Object(r.useCallback)(()=>b("increase"),[b]),v=Object(r.useCallback)(()=>b("decrease"),[b]),y=Object(r.useCallback)(Object(Ro.d)(rc.b,Ci.b,t),[t]);return Object(r.useEffect)(()=>{switch(u){case"increase":return p.current&&clearInterval(p.current),void(p.current=setInterval(l,150));case"decrease":return p.current&&clearInterval(p.current),void(p.current=setInterval(d,150));case"none":return void(p.current&&clearInterval(p.current))}},[u,e,t]),a.a.createElement("div",{className:h},a.a.createElement("input",{className:"brz-input",type:"number",value:e,min:-999999,max:999999,onChange:y}),i?a.a.createElement("div",{className:m+"--arrows"},a.a.createElement("div",{className:m+"--up",onClick:l,onMouseDown:f,onMouseUp:g},a.a.createElement(c.b,{icon:"nc-stre-up"})),a.a.createElement("div",{className:m+"--down",onClick:d,onMouseDown:v,onMouseUp:g},a.a.createElement(c.b,{icon:"nc-stre-down"}))):null)},uc=({className:e,onChange:t,value:{value:o},config:n,label:l})=>{var s,c,d,p,u,b;const m=null!==(s=null==n?void 0:n.updateRate)&&void 0!==s?s:16,h=null!==(c=null==n?void 0:n.min)&&void 0!==c?c:0,g=null!==(d=null==n?void 0:n.max)&&void 0!==d?d:100,f=null!==(p=null==n?void 0:n.step)&&void 0!==p?p:1,v=null!==(u=null==n?void 0:n.size)&&void 0!==u?u:"short",y=null===(b=null==n?void 0:n.spinner)||void 0===b||b,S=Object(r.useCallback)(Object(Ro.d)(Object(i.d)("value"),t),[t]),O=Object(r.useCallback)(e=>Object(W.b)(e,h,g),[h,g]),x=Object(r.useCallback)(Object(Jn.mPipe)(O,S),[O,S]),[C,B]=Object($i.b)(o,x,m),j=Object(r.useCallback)(Object(Jn.mPipe)(()=>C,Object(W.a)(f),O,x),[C,f]),P=Object(r.useCallback)(Object(Jn.mPipe)(()=>C,Object(W.g)(f),O,x),[C,f]);return a.a.createElement(a.a.Fragment,null,l,a.a.createElement(pc,{className:e,onChange:B,onIncrease:j,onDecrease:P,value:C,size:v,spinner:y}))};uc.fromElementModel=e=>({value:Ci.a.read(e("value"))}),uc.toElementModel=e=>({value:e.value}),uc.defaultValue={value:0};const bc=Object(ao.e)(Object(v.partial)(Rn.j,e=>{if("object"!=typeof e)return;const t=Ci.a.read(e.ID),o=mo.a.read(e.title);return t&&o?{id:t,title:o}:void 0}),Object(v.property)("posts"),L.g);let mc,hc=0;const gc=()=>mc||(mc=Object(H.t)().then(bc).then((e=[])=>(hc||setTimeout(()=>{mc=void 0,hc=0},6e4),e)).catch(e=>{throw mc=void 0,e})),fc=({className:e,onChange:t,value:o,config:n,label:i})=>{var l,s;let c=!1;const d=Object(r.useRef)(),[p,u]=Object(r.useState)(o?[o]:[]),b=Object(r.useCallback)(Object(Ro.d)(e=>p.find(t=>t.id===e),t),[t,p]);return Object(r.useEffect)(()=>()=>{c=!0},[]),a.a.createElement(a.a.Fragment,null,i,a.a.createElement(Zi.a,{className:e,onChange:b,size:null!==(l=null==n?void 0:n.size)&&void 0!==l?l:"auto",editable:!0,value:null!==(s=null==o?void 0:o.id)&&void 0!==s?s:0,onOpen:()=>{d.current||gc().then(e=>{c||(u(e),d.current=!0)}).catch(()=>u([]))}},p.map(({id:e,title:t})=>{return a.a.createElement(or.a,{value:e,key:e},(o=t).length>24?o.slice(0,23)+"...":o);var o})))};fc.fromElementModel=e=>(e=>{if("object"!=typeof e)return;const t=Ci.a.read(null==e?void 0:e.id),o=mo.a.read(null==e?void 0:e.title);return t&&o?{id:t,title:o}:void 0})({id:e("value"),title:e("title")}),fc.toElementModel=e=>({value:null==e?void 0:e.id,title:null==e?void 0:e.title}),fc.defaultValue={id:null,title:""};const vc=({config:e,label:t})=>a.a.createElement(a.a.Fragment,null,t,a.a.createElement("div",{style:{width:"100%"},dangerouslySetInnerHTML:{__html:(null==e?void 0:e.html)||""}}));function yc(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Sc(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?yc(Object(o),!0).forEach((function(t){Object(n.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):yc(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}vc.fromElementModel=()=>{},vc.toElementModel=()=>({}),vc.defaultValue=void 0;function Oc(e,t){switch(e){case"ungrouped":return"grouped"===t.type?(e=>Sc(Sc({},e),{},{type:"ungrouped"}))(t):t;case"grouped":return"ungrouped"===t.type?(e=>Sc(Sc({},e),{},{type:"grouped"}))(t):t}}const xc=(e,t)=>Sc(Sc({},t),{},{value:e,topLeft:e,topRight:e,bottomRight:e,bottomLeft:e,tempTopLeft:e,tempTopRight:e,tempBottomRight:e,tempBottomLeft:e,tempTopLeftUnit:t.unit,tempTopRightUnit:t.unit,tempBottomRightUnit:t.unit,tempBottomLeftUnit:t.unit}),Cc=(e,t)=>Sc(Sc({},t),{},{unit:e,topLeftUnit:e,topRightUnit:e,bottomRightUnit:e,bottomLeftUnit:e,tempTopLeft:t.value,tempTopRight:t.value,tempBottomRight:t.value,tempBottomLeft:t.value,tempTopLeftUnit:e,tempTopRightUnit:e,tempBottomRightUnit:e,tempBottomLeftUnit:e}),Bc=(e,t)=>Sc(Sc({},t),{},{topLeft:e,tempTopLeft:e}),jc=(e,t)=>Sc(Sc({},t),{},{topLeftUnit:e,tempTopLeftUnit:e}),Pc=(e,t)=>Sc(Sc({},t),{},{topRight:e,tempTopRight:e}),Tc=(e,t)=>Sc(Sc({},t),{},{topRightUnit:e,tempTopRightUnit:e}),wc=(e,t)=>Sc(Sc({},t),{},{bottomRight:e,tempBottomRight:e}),Ec=(e,t)=>Sc(Sc({},t),{},{bottomRightUnit:e,tempBottomRightUnit:e}),zc=(e,t)=>Sc(Sc({},t),{},{bottomLeft:e,tempBottomLeft:e}),kc=(e,t)=>Sc(Sc({},t),{},{bottomLeftUnit:e,tempBottomLeftUnit:e}),Fc=Object(Ro.c)(e=>"px"===e||"%"===e),_c=e=>t=>t(e),Rc=Object(Ns.c)({type:Object(Ro.d)(Object(Ro.b)(_c("radiusType"),mo.d,Ws.a),Object(ao.g)("grouped")),value:Object(Ro.d)(Object(Ro.b)(_c("radius"),Ci.b,fl.b),Object(ao.g)(fl.a)),unit:Object(Ro.d)(Object(Ro.b)(_c("radiusSuffix"),mo.d,Fc),Object(ao.g)("px")),topLeft:Object(Ro.d)(Object(Ro.b)(_c("topLeftRadius"),Ci.b,fl.b),Object(ao.g)(fl.a)),tempTopLeft:Object(Ro.d)(Object(Ro.b)(_c("tempTopLeft"),Ci.b,fl.b),Object(ao.g)(fl.a)),topLeftUnit:Object(Ro.d)(Object(Ro.b)(_c("topLeftRadiusSuffix"),mo.d,Fc),Object(ao.g)("px")),tempTopLeftUnit:Object(Ro.d)(Object(Ro.b)(_c("tempTopLeftRadiusSuffix"),mo.d,Fc),Object(ao.g)("px")),topRight:Object(Ro.d)(Object(Ro.b)(_c("topRightRadius"),Ci.b,fl.b),Object(ao.g)(fl.a)),tempTopRight:Object(Ro.d)(Object(Ro.b)(_c("tempTopRightRadius"),Ci.b,fl.b),Object(ao.g)(fl.a)),topRightUnit:Object(Ro.d)(Object(Ro.b)(_c("topRightRadiusSuffix"),mo.d,Fc),Object(ao.g)("px")),tempTopRightUnit:Object(Ro.d)(Object(Ro.b)(_c("tempTopRightRadiusSuffix"),mo.d,Fc),Object(ao.g)("px")),bottomRight:Object(Ro.d)(Object(Ro.b)(_c("bottomRightRadius"),Ci.b,fl.b),Object(ao.g)(fl.a)),tempBottomRight:Object(Ro.d)(Object(Ro.b)(_c("tempBottomRight"),Ci.b,fl.b),Object(ao.g)(fl.a)),bottomRightUnit:Object(Ro.d)(Object(Ro.b)(_c("bottomRightRadiusSuffix"),mo.d,Fc),Object(ao.g)("px")),tempBottomRightUnit:Object(Ro.d)(Object(Ro.b)(_c("tempBottomRightRadiusSuffix"),mo.d,Fc),Object(ao.g)("px")),bottomLeft:Object(Ro.d)(Object(Ro.b)(_c("bottomLeftRadius"),Ci.b,fl.b),Object(ao.g)(fl.a)),tempBottomLeft:Object(Ro.d)(Object(Ro.b)(_c("tempBottomLeftRadius"),Ci.b,fl.b),Object(ao.g)(fl.a)),bottomLeftUnit:Object(Ro.d)(Object(Ro.b)(_c("bottomLeftRadiusSuffix"),mo.d,Fc),Object(ao.g)("px")),tempBottomLeftUnit:Object(Ro.d)(Object(Ro.b)(_c("tempBottomLeftRadiusSuffix"),mo.d,Fc),Object(ao.g)("px"))}),Hc={type:"grouped",value:fl.a,unit:"px",topLeft:fl.a,tempTopLeft:fl.a,topLeftUnit:"px",tempTopLeftUnit:"px",topRight:fl.a,tempTopRight:fl.a,topRightUnit:"px",tempTopRightUnit:"px",bottomRight:fl.a,tempBottomRight:fl.a,bottomRightUnit:"px",tempBottomRightUnit:"px",bottomLeft:fl.a,tempBottomLeft:fl.a,bottomLeftUnit:"px",tempBottomLeftUnit:"px"},Lc=(Object(Ns.d)({number:e=>e.number,unit:e=>e.unit}),e=>{switch(e){case"grouped":return"nc-corners-all";case"ungrouped":return"nc-corners-individual";case"top":return"nc-corners-top-left";case"right":return"nc-corners-top-right";case"bottom":return"nc-corners-bottom-right";case"left":return"nc-corners-bottom-left"}}),Mc=e=>{switch(e){case"%":case"px":return e}},Ic=({value:e,onChange:t,label:o,config:n})=>{const i=Object(r.useCallback)(Object(Ro.d)(t=>Oc(t,e),t),[e,t]),{value:l,unit:s,topLeft:c,topLeftUnit:d,topRight:p,topRightUnit:u,bottomRight:b,bottomRightUnit:m,bottomLeft:h,bottomLeftUnit:g}=e,f=Object(r.useMemo)(()=>({all:{number:l,unit:s},top:{number:c,unit:d},right:{number:p,unit:u},bottom:{number:b,unit:m},left:{number:h,unit:g}}),[e,c,p,b,h,s,d,u,m,g]),v=Object(r.useCallback)(Object(Ro.b)((t,o)=>Object(Ro.b)(fl.b,o=>(e=>{switch(e){case"all":return xc;case"top":return Bc;case"right":return Pc;case"bottom":return wc;case"left":return zc}})(t)(o,e))(o),t),[t,e]),y=Object(r.useCallback)(Object(Ro.d)((t,o)=>(e=>{switch(e){case"all":return Cc;case"top":return jc;case"right":return Tc;case"bottom":return Ec;case"left":return kc}})(t)(o,e),t),[t,e]),S=Object(r.useMemo)(()=>{var e;return(null!==(e=null==n?void 0:n.units)&&void 0!==e?e:["px","%"]).map(e=>({value:e,title:Mc(e)}))},[null==n?void 0:n.units]);return a.a.createElement(ts,{label:o,type:e.type,value:f,units:S,onType:i,onValue:v,onUnit:y,getIcon:Lc,step:1,min:0,max:100})};Ic.fromElementModel=Rc,Ic.toElementModel=e=>({radiusType:e.type,radius:e.value,radiusSuffix:e.unit,topLeftRadius:e.topLeft,tempTopLeftRadius:e.tempTopLeft,topLeftRadiusSuffix:e.topLeftUnit,tempTopLeftRadiusSuffix:e.tempTopLeftUnit,topRightRadius:e.topRight,tempTopRightRadius:e.tempTopRight,topRightRadiusSuffix:e.topRightUnit,tempTopRightRadiusSuffix:e.tempTopRightUnit,bottomRightRadius:e.bottomRight,tempBottomRightRadius:e.tempBottomRight,bottomRightRadiusSuffix:e.bottomRightUnit,tempBottomRightRadiusSuffix:e.tempBottomRightUnit,bottomLeftRadius:e.bottomLeft,tempBottomLeftRadius:e.tempBottomLeft,bottomLeftRadiusSuffix:e.bottomLeftUnit,tempBottomLeftRadiusSuffix:e.tempBottomLeftUnit}),Ic.defaultValue=Hc;const Wc=(e,t)=>"all"===t||t===e,Nc=e=>{switch(e){case"horizontal":return Object(C.a)("Move left");case"vertical":return Object(C.a)("Move up")}},Vc=e=>{switch(e){case"horizontal":return Object(C.a)("Move right");case"vertical":return Object(C.a)("Move down")}},Ac=e=>{switch(e){case"horizontal":return"nc-left-arrow-heavy";case"vertical":return"nc-arrow-up"}},Dc=e=>{switch(e){case"horizontal":return"nc-right-arrow-heavy";case"vertical":return"nc-down-arrow-heavy"}},$c=()=>{},Gc=({className:e,config:t,label:o})=>{var n,i,l;const d=null!==(n=null==t?void 0:t.onChange)&&void 0!==n?n:$c,p=null!==(i=null==t?void 0:t.disable)&&void 0!==i?i:"none",u=Object(r.useCallback)(()=>!Wc("prev",p)&&d("prev"),[d,p]),b=Object(r.useCallback)(()=>!Wc("next",p)&&d("next"),[d,p]),m=null!==(l=null==t?void 0:t.align)&&void 0!==l?l:"horizontal";return a.a.createElement("div",{className:s()(e,"brz-ed-option__order","brz-ed-option__order__"+m)},o,a.a.createElement("span",{title:Nc(m),onClick:u},a.a.createElement(c.b,{icon:Ac(m),className:s()({"brz-ed__disabled":Wc("prev",p)})})),a.a.createElement("span",{title:Vc(m),onClick:b},a.a.createElement(c.b,{icon:Dc(m),className:s()({"brz-ed__disabled":Wc("next",p)})})))};Gc.fromElementModel=()=>{},Gc.toElementModel=()=>({}),Gc.defaultValue=void 0;const Uc=({active:e,className:t,icon:o,label:n,onClick:i})=>a.a.createElement("div",{className:s()(t,"brz-ed--fat-icon",{"brz-ed--fat-icon__active":!!e}),onClick:i},a.a.createElement("div",{className:"brz-ed--fat-icon__wrapper"},a.a.createElement(c.a,{icon:o})),a.a.createElement("div",{className:"brz-ed--fat-icon__label"},n)),Kc=({children:e})=>a.a.createElement("div",{className:"brz-ed--fat-icons-grid"},e),Yc=({className:e,choices:t,label:o,onChange:n,value:i})=>{const l=Object(r.useMemo)(()=>null==t?void 0:t.map(({icon:e,title:t,value:o})=>a.a.createElement(Uc,{key:o,icon:e,label:t,active:o===i,onClick:()=>n(o)})),[t]);return a.a.createElement("div",{className:s()(e,"brz-ed-option__icon-picker")},o,a.a.createElement(Kc,null,l))};Yc.fromElementModel=e=>mo.d(e("value")),Yc.toElementModel=e=>({value:e}),Yc.defaultValue=void 0;const qc=Object(Ns.c)({value:e=>{var t,o;return null!==(t=Rn.f(is,null!==(o=mo.d(e("value")))&&void 0!==o?o:""))&&void 0!==t?t:[]},active:Object(Ns.a)(e=>is(e("active")))}),Xc=({checked:e,onClick:t,className:o})=>a.a.createElement("span",{className:s()("brz-ed--check-mark",o,{checked:e}),onClick:t},a.a.createElement(c.b,{icon:"nc-check-circle"})),Jc=({active:e,checked:t,className:o,icon:n,label:i,onCheck:l,onClick:d,disabled:p})=>{const u=Object(r.useCallback)(e=>{l&&e.stopPropagation(),null==l||l()},[l]);return a.a.createElement("div",{className:s()(o,"brz-ed--fat-icon","brz-ed--fat-check-icon",{"brz-ed--fat-icon__active":!!e,"brz-ed--fat-icon__disabled":!!p}),onClick:d,title:i},a.a.createElement("div",{className:"brz-ed--fat-icon__wrapper"},a.a.createElement(Xc,{checked:!!t,onClick:u,className:"brz-ed--fat-check-icon__check"}),a.a.createElement(c.a,{icon:n})),a.a.createElement("div",{className:"brz-ed--fat-icon__label"},i))},Zc=({className:e,choices:t,label:o,onChange:n,value:i})=>{const l=Object(r.useMemo)(()=>null==t?void 0:t.map(({icon:e,title:t,value:o})=>{const r=i.active===o,l=i.value.includes(o);return a.a.createElement(Jc,{key:o,icon:e,label:t,active:r,checked:l,onClick:()=>n({value:l?i.value:[...i.value,o],active:r?void 0:o}),onCheck:()=>{n({value:l?i.value.filter(e=>e!==o):[...i.value,o],active:l?void 0:i.active})}})}),[t,i]);return a.a.createElement("div",{className:s()(e,"brz-ed-option__icon-picker")},o,a.a.createElement(Kc,null,l))};function Qc({active:e,onClick:t,checked:o,onCheck:n,label:i,icon:l,id:s}){const c=Object(r.useCallback)(()=>t(s),[t,s]),d=Object(r.useCallback)(()=>n(s),[n,s]);return a.a.createElement(Jc,{active:e,icon:l,label:i,onClick:c,checked:o,onCheck:d})}function ed({label:e,icon:t}){return a.a.createElement(Jc,{icon:t,label:e,disabled:!0})}Zc.fromElementModel=qc,Zc.toElementModel=({value:e,active:t})=>({value:JSON.stringify(e),active:t}),Zc.defaultValue=void 0;var td,od=o(76),nd=o(161),id=o(313),rd=o(314),ad=o(315),ld=o(316),sd=o(317),cd=o(318),dd=o(319),pd=o(320);function ud(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function bd(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?ud(Object(o),!0).forEach((function(t){Object(n.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):ud(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}!function(e){e.active="active",e.enable="enable",e.effect="effect"}(td||(td={}));const md=e=>({type:td.active,active:e}),hd=e=>(e=>"mouseTilt"===e||"mouseTrack"===e)(e)?{verticalEnabled:!1,horizontalEnabled:!1,transparencyEnabled:!1,blurEnabled:!1,rotateEnabled:!1,scaleEnabled:!1}:{mouseTrackEnabled:!1,mouseTiltEnabled:!1},gd=({className:e,label:t,value:o,onChange:n,config:i})=>{var l;const{active:s}=o,c=null!==(l=null==i?void 0:i.disabled)&&void 0!==l?l:[],d=s?o[s]:void 0,p=s&&Object(od.b)(s),u=Object(r.useCallback)(e=>n(((e,t,o)=>({type:td.enable,effect:e,value:t,active:o}))(e,!o[e],s===e)),[o,n]),b=Object(r.useCallback)(Object(Ro.d)(md,n),[n]),m=Object(r.useMemo)(()=>s?e=>n(((e,t)=>({type:td.effect,effect:e,value:t}))(s,e)):v.identity,[s,n]);return a.a.createElement("div",{className:e},a.a.createElement(Kl.a,{display:"block",className:"brz-ed-option"},t,a.a.createElement(Kc,null,nd.a.map(e=>c.includes(e)?a.a.createElement(ed,{key:e,icon:Object(od.a)(e),label:Object(od.c)(e)}):a.a.createElement(Qc,{key:e,id:e,active:s===e,checked:!!o[e],icon:Object(od.a)(e),label:Object(od.c)(e),onClick:b,onCheck:u})))),d&&p?a.a.createElement(Kl.a,{className:"brz-ed-option"},a.a.createElement(Za,null,a.a.createElement(p,{value:d,onChange:m}))):null)};gd.defaultValue={active:void 0,vertical:void 0,horizontal:void 0,blur:void 0,mouseTrack:void 0,rotate:void 0,scale:void 0,mouseTilt:void 0,transparency:void 0},gd.fromElementModel=nd.b,gd.toElementModel=e=>{switch(e.type){case td.active:return bd(bd({active:e.active},e.active?{[Object(Jt.b)(e.active,"enabled")]:!0}:{}),e.active?hd(e.active):{});case td.enable:return bd(bd({[Object(Jt.b)(e.effect,"enabled")]:e.value},e.active&&!e.value?{active:void 0}:{}),hd(e.effect));case td.effect:switch(e.effect){case"vertical":return Object(od.d)({vertical:id.b(e.value)});case"horizontal":return Object(od.d)({horizontal:rd.b(e.value)});case"transparency":return Object(od.d)({transparency:ad.b(e.value)});case"blur":return Object(od.d)({blur:ld.b(e.value)});case"rotate":return Object(od.d)({rotate:sd.b(e.value)});case"scale":return Object(od.d)({scale:cd.b(e.value)});case"mouseTrack":return Object(od.d)({mouseTrack:dd.b(e.value)});case"mouseTilt":return Object(od.d)({mouseTilt:pd.b(e.value)})}}};const fd=e=>{switch(e){case"right":return"nc-hrz-align-right";case"left":return"nc-hrz-align-left"}},vd=e=>{switch(e){case"right":return Object(C.a)("Aligned Right");case"left":return Object(C.a)("Aligned Left")}},yd=e=>{switch(e){case!0:return"nc-lock";case!1:return"nc-unlock"}},Sd=e=>{switch(e){case!0:return Object(C.a)("Locked");case!1:return Object(C.a)("Unlocked")}},Od=({icon:e,title:t,onClick:o})=>a.a.createElement("div",{className:"brz-ed-control__right-sidebar-tabs__icon"},a.a.createElement(c.b,{icon:e,onClick:o}),a.a.createElement("div",{className:"brz-ed-control__right-sidebar-tabs__icon__tooltip"},t));function xd({children:e,value:t,onChange:o,align:n,onAlign:i,locked:l,onLock:c}){const d=Object(r.useMemo)(()=>{var o;return null!==(o=e.find(e=>e.props.value===t))&&void 0!==o?o:e[0]},[e]),p=Object(r.useMemo)(()=>d?a.a.createElement("div",{className:s()("brz-ed-control__tab__content",d.props.className)},d.props.children):null,[d]);return a.a.createElement("div",{className:"brz-ed-control__right-sidebar-tabs"},a.a.createElement("div",{className:"brz-ed-control__right-sidebar-tabs__header"},a.a.createElement(Qs,{onChange:o,active:null==d?void 0:d.props.value,align:"start",position:"top"},e),i&&a.a.createElement(Od,{icon:fd(n),title:vd(n),onClick:i}),c&&a.a.createElement(Od,{icon:yd(l),title:Sd(l),onClick:c})),p)}const Cd=e=>{switch(e){case"right":return"left";case"left":return"right"}};function Bd(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function jd(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Bd(Object(o),!0).forEach((function(t){Object(n.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Bd(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const Pd=Object(Ro.d)(It.m,Object(i.c)("rightSidebar")),Td=({tabs:e,toolbar:t})=>{var o;const{alignment:n,lock:i,isOpen:l,activeTab:s}=Object(y.d)(Pd),c=Object(y.c)(),d=Object(r.useCallback)(Object(Ro.d)(()=>i?void 0:"manual",e=>Object(p.S)("rightSidebar",{alignment:n,isOpen:l,lock:e,activeTab:s}),c),[c,n,l,i,s]),u=Object(r.useCallback)(Object(Ro.d)(Object(Ro.a)(n),Cd,e=>Object(p.S)("rightSidebar",{alignment:e,isOpen:l,lock:i,activeTab:s}),c),[c,n,l,i,s]),b=Object(r.useCallback)(Object(Ro.d)(e=>Object(p.S)("rightSidebar",{alignment:n,isOpen:l,lock:i,activeTab:e}),c),[c,n,l,i]);return a.a.createElement(xd,{value:null!=s?s:null===(o=e[0])||void 0===o?void 0:o.id,onChange:b,align:n,onAlign:u,locked:!!i,onLock:d},e.map(({id:e,title:o,label:n,className:i,options:r})=>a.a.createElement(tc,{key:e,value:e,title:o,label:n,className:i},a.a.createElement(ro.a,{wrapOptions:!1,data:r,toolbar:t}))))};function wd(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Ed(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?wd(Object(o),!0).forEach((function(t){Object(n.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):wd(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}Td.defaultValue=void 0,Td.fromElementModel=()=>{},Td.toElementModel=()=>({}),Td.filter=ci,Td.reduce=(e,t,o)=>{var n,i;return null!==(n=null===(i=o.tabs)||void 0===i?void 0:i.reduce((t,{options:o})=>o.reduce(e,t),t))&&void 0!==n?n:t},Td.map=(e,t)=>{var o;return jd(jd({},t),{},{tabs:null===(o=t.tabs)||void 0===o?void 0:o.map(t=>jd(jd({},t),{},{options:t.options.map(e)}))})};const zd=Object(Ro.d)(It.m,Object(i.c)("rightSidebar")),kd=({config:e})=>{const t=Object(y.c)(),o=Object(y.d)(zd),n=Object(r.useCallback)(Object(Ro.d)(()=>null==e?void 0:e.tabId,e=>Object(p.S)("rightSidebar",Ed(Ed({},o),{},{isOpen:!0,activeTab:e})),t),[t,o]);return a.a.createElement(a.a.Fragment,null,a.a.createElement($a,{onClick:n,label:null==e?void 0:e.text,icon:null==e?void 0:e.icon,align:null==e?void 0:e.align}))};kd.fromElementModel=()=>{},kd.toElementModel=()=>({}),kd.defaultValue=void 0;var Fd=o(31),_d=o(177),Rd=o(28);const Hd=Object(Ns.d)({type:Object(Ro.b)(e=>e.name,Fd.d,Object(Ro.c)(Object(Fd.e)(Fd.a.None))),duration:e=>e.duration,delay:e=>e.delay});var Ld=o(215),Md=o(146),Id=o(216),Wd=o(217),Nd=o(184);const Vd=e=>!(e=>e.type===Fd.a.None)(e),Ad=Ns.b([_d.a,Hd,Ld.b,Md.b,Id.b,Wd.b,Nd.b]);var Dd=o(90);const $d=Object(Ns.c)({name:Object(Ns.b)([Object(Ro.b)(Object(Dd.a)("name"),mo.d,Rd.c),()=>Rd.a.none]),duration:Object(Ns.b)([Object(Ro.b)(Object(Dd.a)("duration"),Ci.b,fl.b),()=>fl.a]),delay:Object(Ns.b)([Object(Ro.b)(Object(Dd.a)("delay"),Ci.b,fl.b),()=>fl.a])}),Gd=Object(Ro.d)(Object(Ro.b)($d,Ad),e=>null!=e?e:{type:Fd.a.None}),Ud=Object(Ro.d)(e=>{switch(e.type){case Fd.a.Attention:return _d.e(e);case Fd.a.None:return(e=>({name:Rd.a.none,duration:e.duration,delay:e.delay}))(e);case Fd.a.Bounce:return Ld.d(e);case Fd.a.Fade:return Md.d(e);case Fd.a.Rotate:return Id.d(e);case Fd.a.Slide:return Wd.d(e);case Fd.a.Zoom:return Nd.d(e)}},e=>({name:e.name,duration:e.duration,delay:e.delay})),Kd=[{title:"s",value:"s"}],Yd=({value:e,onChange:t})=>{const o=Object(r.useMemo)(()=>({number:e/1e3,unit:"s"}),[e]),n=Object(r.useCallback)(e=>t(1e3*e.number),[t]);return a.a.createElement(Kl.a,{display:"inline",className:"brz-ed-option"},a.a.createElement(Jl.a,{label:Object(C.a)("Duration")}),a.a.createElement(Xl.a,{value:o,onChange:n,step:.1,min:0,max:5,units:Kd}))},qd=[{title:"s",value:"s"}],Xd=({value:e,onChange:t})=>{const o=Object(r.useMemo)(()=>({number:e/1e3,unit:"s"}),[e]),n=Object(r.useCallback)(e=>t(1e3*e.number),[t]);return a.a.createElement(Kl.a,{display:"inline",className:"brz-ed-option"},a.a.createElement(Jl.a,{label:Object(C.a)("Delay")}),a.a.createElement(Xl.a,{value:o,onChange:n,step:.1,min:0,max:5,units:qd}))};function Jd(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Zd(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Jd(Object(o),!0).forEach((function(t){Object(n.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Jd(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const Qd=(e,t)=>Zd(Zd({},t),{},{duration:e});function ep(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function tp(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?ep(Object(o),!0).forEach((function(t){Object(n.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):ep(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function op({active:e,onClick:t,label:o,icon:n,id:i}){const l=Object(r.useCallback)(()=>t(i),[t,i]);return a.a.createElement(Uc,{active:e,icon:n,label:o,onClick:l})}const np=({className:e,onClick:t})=>a.a.createElement($a,{className:s()("brz-ed-control__reload-button",e),icon:"nc-reverse",label:Object(C.a)("Replay Animation"),onClick:t});function ip({styles:e,value:t,onChange:o}){return a.a.createElement(Kl.a,{display:"inline",className:"brz-ed-option"},a.a.createElement(Jl.a,{label:Object(C.a)("Style")}),a.a.createElement(Zi.a,{value:t,onChange:o,editable:!1},e.map(e=>a.a.createElement(or.a,{key:e,value:e},Object(_d.c)(e)))))}function rp({value:e,onChange:t,directions:o}){return o.length>1?a.a.createElement(Kl.a,{display:"inline",className:"brz-ed-option"},a.a.createElement(Jl.a,{label:Object(C.a)("Direction")}),a.a.createElement(Zi.a,{value:e,onChange:t,editable:!1},o.map(([e,t])=>a.a.createElement(or.a,{key:e,value:e},t)))):null}const ap=({value:e,onChange:t})=>a.a.createElement(Kl.a,{display:"inline",className:"brz-ed-option"},a.a.createElement(Jl.a,{label:Object(C.a)("Big")}),a.a.createElement(Fs,{value:e,onChange:t}));function lp(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function sp(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?lp(Object(o),!0).forEach((function(t){Object(n.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):lp(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const cp=({label:e,value:t,onChange:o,className:n,config:i})=>{const l=Object(r.useMemo)(()=>{var e;return Object(v.unique)([Fd.a.None,...null!==(e=null==i?void 0:i.types)&&void 0!==e?e:Dd.b])},[null==i?void 0:i.types]),s=Object(Dd.g)(l,t),c=Object(r.useCallback)(e=>o(function(e,t){if(e===t.type)return t;switch(e){case Fd.a.Attention:case Fd.a.Attention2:return{type:Fd.a.Attention,style:Rd.a.flash,duration:t.duration,delay:t.delay};case Fd.a.Bounce:return{type:Fd.a.Bounce,direction:Ld.a.none,duration:t.duration,delay:t.delay};case Fd.a.Fade:case Fd.a.Fade2:return{type:Fd.a.Fade,direction:Md.a.none,big:!1,duration:t.duration,delay:t.delay};case Fd.a.None:return{type:Fd.a.None,duration:t.duration,delay:t.delay};case Fd.a.Rotate:return{type:Fd.a.Rotate,direction:Id.a.none,duration:t.duration,delay:t.delay};case Fd.a.Slide:return{type:Fd.a.Slide,direction:Wd.a.up,duration:t.duration,delay:t.delay};case Fd.a.Zoom:case Fd.a.Zoom2:return{type:Fd.a.Zoom,direction:Nd.a.none,duration:t.duration,delay:t.delay}}}(e,t)),[t]),d=Object(r.useCallback)(Object(Ro.b)(fl.b,e=>Vd(t)&&o(Qd(e,t))),[t]),p=Object(r.useCallback)(Object(Ro.b)(fl.b,e=>{return Vd(t)&&o((n=e,tp(tp({},t),{},{delay:n})));var n}),[t]),u=Object(r.useCallback)(Object(Ro.b)(Object(Ro.a)(t.duration),e=>e+1e-5,fl.b,e=>Vd(t)&&o(Qd(e,t))),[t]),b=Object(r.useMemo)(()=>{switch(t.type){case Fd.a.None:return null;case Fd.a.Attention:{const e=e=>o(_d.b(e,t));return a.a.createElement(ip,{styles:Object(Dd.c)(s),value:t.style,onChange:e})}case Fd.a.Bounce:case Fd.a.Rotate:case Fd.a.Slide:case Fd.a.Zoom:return a.a.createElement(rp,{directions:Object(Dd.d)(s),value:t.direction,onChange:Object(Dd.e)(t,o)});case Fd.a.Fade:switch(t.direction){case Md.a.none:return a.a.createElement(rp,{directions:Object(Dd.d)(t.type),value:t.direction,onChange:Object(Dd.e)(t,o)});case Md.a.up:case Md.a.down:case Md.a.left:case Md.a.right:return a.a.createElement(a.a.Fragment,null,a.a.createElement(rp,{directions:Object(Dd.d)(t.type),value:t.direction,onChange:Object(Dd.e)(t,o)}),s===Fd.a.Fade?a.a.createElement(ap,{value:t.big,onChange:()=>o(sp(sp({},t),{},{big:!t.big}))}):null)}}},[t,s]);return a.a.createElement("div",{className:n},a.a.createElement(Kl.a,{display:"block",className:"brz-ed-option"},e,a.a.createElement(Kc,null,l.map(e=>a.a.createElement(op,{key:e,id:e,active:s===e,icon:Object(Fd.b)(e),label:Object(Fd.c)(e),onClick:c})))),s!==Fd.a.None&&a.a.createElement(a.a.Fragment,null,a.a.createElement(Kl.a,{className:"brz-ed-option"},a.a.createElement(Za,null,b,a.a.createElement(Yd,{value:t.duration,onChange:d}),a.a.createElement(Xd,{value:t.delay,onChange:p}))),a.a.createElement(Kl.a,{className:"brz-ed-option brz-justify-content-xs-center"},a.a.createElement(np,{onClick:u}))))};cp.defaultValue={type:Fd.a.None,duration:fl.a,delay:fl.a},cp.toElementModel=Ud,cp.fromElementModel=Gd;function dp(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function pp(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?dp(Object(o),!0).forEach((function(t){Object(n.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):dp(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const up={defaultIcon:["nc-shadow"],icons:["nc-blur","nc-vertical","nc-horizontal"]};function bp(e){let{value:t,onChange:o,options:n}=e,i=Object(Xe.a)(e,["value","onChange","options"]);const l=s()("brz-ed-control__textShadow",i.className),c=Object(r.useCallback)((e,n)=>{o(pp(pp(pp({},t),e),{},{hex:e.hex,palette:e.palette}),n)},[o,t]),d=Object(r.useCallback)(e=>o(pp(pp({},t),{},{hex:e}),{isChanged:"hex"}),[o]),p=Object(r.useCallback)(e=>{const[n,i,r]=e,a=(([e,t,o],[n,i,r])=>e!==n?"blur":t!==i?"vertical":o!==r?"horizontal":void 0)(e,[t.blur,t.vertical,t.horizontal]);a&&o(pp(pp({},t),{},{blur:n,vertical:i,horizontal:r}),{isChanged:a})},[o,t]),u=Object(r.useMemo)(()=>{var e;return{hex:t.hex,opacity:t.opacity,select:t.select,palette:null!==(e=t.palette)&&void 0!==e?e:""}},[t.hex,t.opacity,t.palette]),b=Object(r.useMemo)(()=>[t.blur,t.vertical,t.horizontal],[t.blur,t.vertical,t.horizontal]);return a.a.createElement("div",{className:l},a.a.createElement(tr,{onChange:c,value:u,opacity:i.opacity,palette:i.palette,paletteOpenSettings:i.paletteOpenSettings},n.map(({id:e,title:t})=>a.a.createElement(or.a,{value:e,key:e},a.a.createElement("span",null,t)))),a.a.createElement(Ui,{value:t.hex,onChange:d},a.a.createElement(zo,{config:up,value:b,onChange:p})))}function mp(...e){return t=>{for(let o=0;o<e.length;o++)if(e[o][0](t))return e[o][1](t)}}function hp(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function gp(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?hp(Object(o),!0).forEach((function(t){Object(n.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):hp(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const fp=e=>0===e.opacity,vp=e=>({opacity:0,blur:0,vertical:0,horizontal:0,hex:e.hex,tempVertical:e.vertical,tempHorizontal:e.horizontal,tempBlur:e.blur,tempOpacity:e.opacity,tempPalette:e.palette}),yp=e=>0!==e.opacity,Sp=e=>({opacity:e.tempOpacity,blur:e.tempBlur,horizontal:e.tempHorizontal,vertical:e.tempVertical,hex:e.hex,palette:e.tempPalette}),Op=e=>0===e,xp=e=>0!==e,Cp=e=>0!==e;var Bp;!function(e){e.noEmptyBlur="noEmptyBlur"}(Bp||(Bp={}));const jp=e=>0!==e?e:void 0;var Pp;!function(e){e.noEmptyOpacity="noEmptyOpacity"}(Pp||(Pp={}));const Tp=e=>0!==e?e:void 0,wp={blur:0,opacity:0,hex:Bi.a,horizontal:0,vertical:0,tempPalette:void 0,tempBlur:1,tempOpacity:1,tempHorizontal:0,tempVertical:0},Ep=Object(Ns.d)({opacity:Object(Ro.b)(Object(Dd.a)("colorOpacity"),Ci.b,Yi,Tp),blur:Object(Ro.b)(Object(Dd.a)("blur"),Ci.b,ea,jp),palette:Object(Ns.a)(Object(Ro.b)(Object(Dd.a)("colorPalette"),mo.d,Si)),hex:Object(Ro.b)(Object(Dd.a)("colorHex"),mo.d,Bi.b),horizontal:Object(Ro.b)(Object(Dd.a)("horizontal"),Ci.b),vertical:Object(Ro.b)(Object(Dd.a)("vertical"),Ci.b)}),zp=Object(Ns.c)({opacity:()=>0,tempOpacity:Object(Ro.d)(Object(Ro.b)(Object(Dd.a)("tempColorOpacity"),Ci.b,Yi,Tp),Object(ao.g)(wp.tempOpacity)),blur:()=>0,tempBlur:Object(Ro.d)(Object(Ro.b)(Object(Dd.a)("tempBlur"),Ci.b,ea,jp),Object(ao.g)(wp.tempBlur)),tempPalette:Object(Ns.a)(Object(Ro.b)(Object(Dd.a)("tempColorPalette"),mo.d,Si)),hex:Object(Ro.d)(Object(Ro.b)(Object(Dd.a)("colorHex"),mo.d,Bi.b),Object(ao.g)(wp.hex)),horizontal:()=>0,tempHorizontal:Object(Ro.d)(Object(Ro.b)(Object(Dd.a)("tempHorizontal"),Ci.b),Object(ao.g)(wp.tempHorizontal)),vertical:()=>0,tempVertical:Object(Ro.d)(Object(Ro.b)(Object(Dd.a)("tempVertical"),Ci.b),Object(ao.g)(wp.tempVertical))}),kp=mp([fp,e=>({colorHex:e.hex,colorOpacity:e.opacity,colorPalette:void 0,blur:e.blur,horizontal:e.horizontal,vertical:e.vertical})],[yp,e=>({colorHex:e.hex,colorOpacity:e.opacity,colorPalette:e.palette,blur:e.blur,horizontal:e.horizontal,vertical:e.vertical,tempBlur:e.blur,tempHorizontal:e.horizontal,tempColorOpacity:e.opacity,tempColorPalette:e.palette,tempVertical:e.vertical})]),Fp=mp([fp,()=>{}],[yp,e=>e.palette]),_p=[{id:"none",title:Object(C.a)("None")},{id:"shadow",title:Object(C.a)("Shadow")}],Rp=mp([fp,()=>"none"],[yp,()=>"shadow"]),Hp=Object(Jn.or)(Object(Jn.match2)([Object(ao.a)("shadow"),fp,(e,t)=>Sp(t)],[Object(ao.a)("none"),yp,(e,t)=>vp(t)]),(e,t)=>t);function Lp(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Mp(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Lp(Object(o),!0).forEach((function(t){Object(n.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Lp(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const Ip=({onChange:e,value:t,className:o})=>{const n=Object(y.c)(),i=s()("brz-ed-option__textShadow",o),l=Object(r.useCallback)(Object(Ro.b)((e,o)=>{switch(o.isChanged){case"opacity":return((e,t)=>mp([fp,t=>mp([Op,()=>t],[xp,e=>gp(gp({},Sp(t)),{},{opacity:e})])(e)],[yp,t=>mp([Op,()=>vp(t)],[xp,e=>gp(gp({},t),{},{opacity:e})])(e)])(t))(e.opacity,t);case"blur":return((e,t)=>mp([fp,t=>mp([Op,()=>t],[Cp,e=>gp(gp({},Sp(t)),{},{blur:e})])(e)],[yp,t=>mp([Op,()=>vp(t)],[Cp,e=>gp(gp({},t),{},{blur:e})])(e)])(t))(e.blur,t);case"hex":return((e,t)=>mp([fp,t=>({palette:void 0,horizontal:t.tempHorizontal,vertical:t.tempVertical,blur:t.tempBlur,opacity:t.tempOpacity,hex:e})],[yp,t=>gp(gp({},t),{},{hex:e,palette:void 0})])(t))(e.hex,t);case"palette":return e.palette?((e,t)=>mp([fp,t=>({palette:e,horizontal:t.tempHorizontal,vertical:t.tempVertical,blur:t.tempBlur,opacity:t.tempOpacity,hex:t.hex})],[yp,t=>gp(gp({},t),{},{palette:e})])(t))(e.palette,t):t;case"horizontal":return((e,t)=>mp([fp,t=>0==e?t:gp(gp({},Sp(t)),{},{horizontal:e})],[yp,t=>gp(gp({},t),{},{horizontal:e})])(t))(e.horizontal,t);case"vertical":return((e,t)=>mp([fp,t=>0==e?t:gp(gp({},Sp(t)),{},{vertical:e})],[yp,t=>gp(gp({},t),{},{vertical:e})])(t))(e.vertical,t);case"select":return Hp(e.select,t)}},e),[e,t]),c=Object(r.useCallback)(()=>n(Object(p.S)("leftSidebar",{isOpen:!0,drawerContentType:"styling"})),[n]),d=Object(r.useMemo)(()=>Mp(Mp({},t),{},{palette:Fp(t),select:Rp(t)}),[t]);return a.a.createElement(bp,{opacity:!0,className:i,value:d,onChange:l,palette:Object(ve.c)(),paletteOpenSettings:c,options:_p})};Ip.fromElementModel=e=>{var t;return null!==(t=Ep(e))&&void 0!==t?t:zp(e)},Ip.toElementModel=kp,Ip.defaultValue=wp;var Wp=o(174);const Np=e=>{e.stopPropagation()};function Vp({id:e,onRemove:t,children:o,className:n}){const i=Object(r.useCallback)(()=>t(e),[e,t]);return a.a.createElement("div",{className:s()("brz-ed-control__gallery__item",n)},a.a.createElement("button",{onMouseDown:Np,onClick:i,className:"brz-ed-control__gallery__item__remove"},a.a.createElement(c.a,{icon:"nc-circle-remove",className:"brz-ed-control__gallery__item__remove__icon",onClick:i})),o)}function Ap({id:e,onRemove:t}){return a.a.createElement(Vp,{className:"brz-ed-control__gallery__item--loading",id:e,onRemove:t},a.a.createElement(c.a,{icon:"nc-circle-02",className:"brz-ed-animated--spin brz-ed-control__gallery__item__icon"}))}function Dp({id:e,onRemove:t,src:o}){const n=Object(r.useMemo)(()=>({backgroundImage:`url(${o})`}),[o]);return a.a.createElement(Vp,{id:e,className:"brz-ed-control__gallery__item--thumbnail",onRemove:t},a.a.createElement("span",{style:n,className:"brz-ed-control__gallery__item--thumbnail__image"}))}function $p({id:e,onRemove:t,message:o}){return a.a.createElement(le.c,{overlay:a.a.createElement("div",null,o),openOnClick:!0},a.a.createElement(Vp,{className:"brz-ed-control__gallery__item--error",id:e,onRemove:t},a.a.createElement(c.a,{icon:"nc-warning",className:"brz-ed-control__gallery__item__icon"})))}var Gp=o(583);const Up=Object(Wp.b)((function({item:e,onRemove:t}){const o=Object(r.useCallback)(()=>t(e.id),[e.id,t]);switch(e.__type){case"thumbnail":return a.a.createElement("div",{className:"brz-ed-control__gallery__draggable"},a.a.createElement(Dp,{onRemove:o,id:e.id,src:e.payload}));case"error":return a.a.createElement("div",{className:"brz-ed-control__gallery__draggable"},a.a.createElement($p,{onRemove:o,id:e.id,message:e.payload}));case"loading":return a.a.createElement("div",{className:"brz-ed-control__gallery__draggable"},a.a.createElement(Ap,{onRemove:o,id:e.id}))}})),Kp=Object(Wp.a)((function({allowedExtensions:e,items:t,onAdd:o,onRemove:n,className:i}){return a.a.createElement("div",{className:s()("brz-ed-control__gallery",i)},t.map((e,t)=>a.a.createElement(Up,{key:e.id,index:t,item:e,onRemove:n})),a.a.createElement(Gp.ImageUpload,{onChange:o,allowedExtensions:e,className:"brz-ed-control__gallery__item brz-ed-control__gallery__item--add"},a.a.createElement(c.a,{icon:"nc-add",className:"brz-ed-control__gallery__item__icon"})))}));function Yp({className:e,items:t,onSort:o,onAdd:n,onRemove:i,allowedExtensions:l}){const s=Object(r.useCallback)(({oldIndex:e,newIndex:t})=>o(e,t),[o]);return a.a.createElement(Kp,{axis:"xy",allowedExtensions:l,onAdd:n,onSortEnd:s,onRemove:i,className:e,items:t})}const qp=Object(Ns.d)({name:Object(Ro.b)(Object(i.c)("name"),mo.d)}),Xp=(e,t)=>e.name===t.name;var Jp=o(136),Zp=o(49);const Qp=Object(Ro.d)(Object(Ro.b)(Object(ri.a)("value"),Jp.a,Object(Ro.c)(Array.isArray),e=>e.filter(Zp.b).map(qp).filter(ao.c)),Object(ao.g)([])),eu=e=>"thumbnail"===e.__type,tu=(e,t)=>({id:e,payload:t,__type:"thumbnail"}),ou=e=>"loading"===e.__type,nu=e=>{var t,o,n;switch(e.__type){case"thumbnail":return o=e.id,n=null!==(t=Object(x.d)(e.payload.name,{iW:100,iH:100}))&&void 0!==t?t:"",{id:o,payload:n,__type:"thumbnail"};case"loading":return(e=>({id:e,__type:"loading"}))(e.id);case"error":return((e,t)=>({id:e,payload:t,__type:"error"}))(e.id,e.payload)}},iu=["jpeg","jpg","png","gif","svg"],ru=e=>e.reduce((e,t)=>t.id>e?t.id:e,0),au=({label:e,value:t,onChange:o})=>{const[n,l]=Object(r.useState)(t.map((e,t)=>tu(t,e))),s=Object(r.useCallback)(e=>{const t=ru(n);l([...n,...e.map((e,o)=>({id:o+t+1,payload:e,__type:"loading"}))])},[n,l]),c=Object(r.useCallback)(e=>l(n.filter(t=>t.id!==e)),[n,l]),d=Object(r.useCallback)((e,t)=>{const o=Rn.d(e=>e.id===t,n);void 0!==o&&l(Object(Qo.replaceAt)(n,o,tu(t,{name:e.name})))},[n,l]),p=Object(r.useCallback)((e,t)=>{const o="string"==typeof e?e:Object(C.a)("Unable to upload"),i=Rn.d(e=>e.id===t,n);void 0!==i&&l(Object(Qo.replaceAt)(n,i,((e,t)=>({id:e,payload:t,__type:"error"}))(t,o)))},[n,l]),u=Object(r.useCallback)((e,t)=>l(Rn.h(e,t,n)),[n,l]);Object(r.useEffect)(()=>{const e=n.filter(eu).map(Object(i.c)("payload"));if(!Rn.c(Xp,t,e)){const e=ru(n);l([...t.map((t,o)=>tu(o+e+1,t),...n.filter(e=>!eu(e)))])}},[t,l]),Object(r.useEffect)(()=>{const e=n.filter(eu).map(Object(i.c)("payload"));Rn.c(Xp,t,e)||o(e)},[n,o]),Object(r.useEffect)(()=>{let e=!0;return n.filter(ou).map(t=>t.payload.then(o=>(e&&d(o,t.id),o)).catch(o=>{throw e&&p(o,t.id),o})),()=>{e=!1}},[n,p,d]);const b=Object(r.useMemo)(()=>n.map(nu),[n]);return a.a.createElement(a.a.Fragment,null,e,a.a.createElement(Yp,{allowedExtensions:iu,onSort:u,onAdd:s,items:b,onRemove:c}))};function lu(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function su(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?lu(Object(o),!0).forEach((function(t){Object(n.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):lu(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}au.defaultValue=[],au.fromElementModel=Qp,au.toElementModel=e=>({value:JSON.stringify(e)});const cu=e=>t=>t(e),du=Object(Jn.parseStrict)({hue:Object(Jn.or)(Object(Jn.mPipe)(cu("hue"),Ci.b),Object(Ro.a)(0)),brightness:Object(Jn.or)(Object(Jn.mPipe)(cu("brightness"),Ci.b,fl.b),Object(Ro.a)(0)),contrast:Object(Jn.or)(Object(Jn.mPipe)(cu("contrast"),Ci.b,fl.b),Object(Ro.a)(0)),saturation:Object(Jn.or)(Object(Jn.mPipe)(cu("saturation"),Ci.b,fl.b),Object(Ro.a)(0))}),pu=()=>{},uu=(e,t)=>o=>su(su({},t),{},{[e]:o}),bu=[{value:"%",title:"%"}],mu=({icon:e,value:t,onChange:o,className:n})=>a.a.createElement(Zl,{className:n,icon:e,value:t,unit:"%",onValue:o,onUnit:pu,units:bu,step:1,min:0,max:200}),hu=({value:e,onChange:t})=>a.a.createElement("div",{className:"brz-ed-control__filters"},a.a.createElement(Zl,{className:"brz-ed-control__filters__hue",icon:"nc-hue",value:e.hue,unit:"deg",onValue:Object(Jn.mPipe)(uu("hue",e),t),onUnit:pu,units:[{value:"deg",title:"deg"}],step:1,min:0,max:360}),a.a.createElement(mu,{className:"brz-ed-control__filters__saturation",icon:"nc-saturation",value:e.saturation,onChange:Object(Jn.mPipe)(fl.b,uu("saturation",e),t)}),a.a.createElement(mu,{className:"brz-ed-control__filters__brightness",icon:"nc-brightness",value:e.brightness,onChange:Object(Jn.mPipe)(fl.b,uu("brightness",e),t)}),a.a.createElement(mu,{className:"brz-ed-control__filters__contrast",icon:"nc-contrast",value:e.contrast,onChange:Object(Jn.mPipe)(fl.b,uu("contrast",e),t)}));hu.defaultValue={hue:0,saturation:0,contrast:0,brightness:0},hu.fromElementModel=du,hu.toElementModel=e=>su({},e);var gu=o(311);const fu=(e,t)=>e.from===t.from&&e.to===t.to;function vu(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}const yu={from:0,to:100},Su=Object(Jn.parseStrict)({from:Object(Jn.or)(Object(Jn.mPipe)(Object(ri.a)("from"),Ci.b),Object(Ro.a)(yu.from)),to:Object(Jn.or)(Object(Jn.mPipe)(Object(ri.a)("to"),Ci.b),Object(Ro.a)(yu.to))}),Ou=({className:e,onChange:t,value:o,config:n={},label:i})=>{var l,s,c,d;const[p,u]=Object($i.d)(o,t,null!==(l=n.updateRate)&&void 0!==l?l:10,fu),b=Object(r.useCallback)(e=>u({from:e,to:p.to}),[u,p.to]),m=Object(r.useCallback)(e=>u({to:e,from:p.from}),[u,p.from]);return a.a.createElement(a.a.Fragment,null,i,a.a.createElement(gu.a,{className:e,min:null!==(s=n.min)&&void 0!==s?s:0,max:null!==(c=n.max)&&void 0!==c?c:100,step:null!==(d=n.step)&&void 0!==d?d:1,start:p.from,end:p.to,unit:n.unit,onChangeStart:b,onChangeEnd:m,startLabel:n.startLabel,endLabel:n.endLabel}))};function xu(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Cu(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?xu(Object(o),!0).forEach((function(t){Object(n.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):xu(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}Ou.defaultValue=yu,Ou.fromElementModel=Su,Ou.toElementModel=e=>function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?vu(Object(o),!0).forEach((function(t){Object(n.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):vu(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({},e);const Bu={"alert-dev":vc,"animation-dev":cp,"backgroundColor-dev":Rr,"button-dev":Ga,"order-dev":Gc,"codeMirror-dev":cc,"colorPicker-dev":Xi,"corners-dev":Ic,"boxShadow-dev":ua,"border-dev":Da,"filters-dev":hu,"group-dev":tl,"grid-dev":Ja,"imageUpload-dev":Ml,"iconPicker-dev":Yc,"iconsPicker-dev":Zc,"inputText-dev":$l,"internalLink-dev":fc,"margin-dev":os,"motion-dev":gd,"multiSelect-dev":ws,"number-dev":uc,"textarea-dev":lc,"radioGroup-dev":dc,"range-dev":Ou,"padding-dev":Gs,"popover-dev":Zs,"population-dev":Dl,"select-dev":ks,"sidebarTabs-dev":Td,"sidebarTabsButton-dev":kd,"slider-dev":Hs,"switch-dev":_s,"tabs-dev":ic,"toggle-dev":Ls,"typography-dev":_l,"textShadow-dev":Ip,"gallery-dev":au,"stateMode-dev":ui},ju=Cu(Cu({},{advancedSettings:h,blockThumbnail:E,button:k,savedBlock:A,globalBlock:ae,codeMirror:de,colorFields:fe,colorPaletteEditor:Te,colorPalette:Se,colorPalette2:xe,colorPicker:qe,colorPicker2:Ht,fontFamily:Dt,fontStyle:Ut,fontStyleEditor:oo,formApps:io,grid:uo,iconSetter:To,imageSetter:Co,input:Ao,multiInput:zo,multiInputPicker:Io,multiPicker:_o,textarea:$o,popover:Yo,popupConditions:Xo,gbConditions:Jo,promptAddPopup:on,promptIcon:rn,radioGroup:cn,checkGroup:hn,select:Gt,slider:xn,stepper:jn,switch:Tn,tabs:_n,toggle:Nn,inputNumber:An,range:Kn,range2:wt,integrationsApps:qn,fileUpload:Xn.a}),Bu);const Pu=e=>t=>{const o=ju[e];return function(e,t){const o=Bu[t];return o.defaultValue?Object.entries(o.defaultValue).reduce((t,[o,n])=>(t[o]=Object.prototype.hasOwnProperty.call(e,o)?e[o]:n,t),e):e}(Object(i.b)(()=>({}),"fromElementModel",o)(t),e)},Tu=(e,t)=>o=>{const n=ju[e],r=Object(i.b)(()=>({}),"toElementModel",n);return Object.entries(r(o)).reduce((e,[o,n])=>(e[t(o)]=n,e),{})};t.a=ju},function(e,t,o){"use strict";o.d(t,"a",(function(){return r})),o.d(t,"c",(function(){return a})),o.d(t,"b",(function(){return s}));var n=o(14),i=o(56);function r(e){const t=n.a.get("urls").editorIcons;return t?`${t}/icons.svg#${e}`:Object(i.a)("editor/icons/icons.svg#"+e)}function a(e,t){const o=n.a.getAll().urls;return"templateIcons"in o?`${o.templateIcons}/${e}/${t}.txt`:Object(i.a)(`editor/icons/${e}/${t}.txt`)}var l=o(572);function s(e,t){const o={1:`<svg viewBox="0 0 1920 200" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><path d="M1920 .023L0 200V0h1920z" fill="${n=t}" fill-rule="nonzero"/></svg>`,2:`<svg viewBox="0 0 1920 240" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><g fill="${n}" fill-rule="nonzero"><path d="M0 200V0h1920z"/><path opacity=".251" d="M0 240V0h1920L137.195 222.85z"/></g></svg>`,3:`<svg viewBox="0 0 1920 200" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><path d="M1920 200L1374.256 11.518 0 200V0h1920z" fill="${n}" fill-rule="nonzero"/></svg>`,4:`<svg viewBox="0 0 1920 250" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><g fill="${n}" fill-rule="nonzero"><path opacity=".25" d="M1920 240L1374.256 11.518 0 250V0h1920z"/><path d="M1920 200L1374.256 11.518 0 200V0h1920z"/></g></svg>`,5:`<svg viewBox="0 0 1920 69" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><path d="M1920 32.332L1872.003 69l-47.999-36.668L1776.008 69l-47.997-36.668-48 36.668-47.998-36.668L1584.016 69l-47.997-36.668L1488.02 69l-47.999-36.668L1392.022 69l-48-36.668-48 36.668-48-36.668L1200.025 69l-47.999-36.668-48 36.668-48-36.668-48 36.668-48-36.668L912.027 69l-48-36.668L816.032 69l-47.997-36.668L720.033 69l-47.998-36.668-48 36.668-47.998-36.668L528.04 69l-48-36.668L432.036 69l-48.004-36.668-48 36.668-48.005-36.668-48 36.668-48.003-36.668L144.02 69 96.018 32.332 48.01 69 0 32.332V0h1920z" fill="${n}" fill-rule="nonzero"/></svg>`,6:`<svg viewBox="0 0 1919 100" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><path d="M1865.687 100c-26.657 0-26.657-33.314-53.315-33.314-26.654 0-26.654 33.314-53.308 33.314s-26.654-33.314-53.31-33.314c-26.653 0-26.653 33.314-53.306 33.314s-26.653-33.314-53.306-33.314c-26.655 0-26.655 33.314-53.31 33.314-26.652 0-26.652-33.314-53.305-33.314-26.654 0-26.654 33.314-53.31 33.314-26.653 0-26.653-33.314-53.307-33.314-26.652 0-26.652 33.314-53.305 33.314-26.652 0-26.652-33.314-53.304-33.314-26.651 0-26.651 33.314-53.303 33.314-26.653 0-26.653-33.314-53.305-33.314-26.65 0-26.65 33.314-53.301 33.314-26.653 0-26.653-33.314-53.307-33.314-26.65 0-26.65 33.314-53.301 33.314-26.654 0-26.654-33.314-53.306-33.314-26.652 0-26.653 33.314-53.305 33.314s-26.653-33.314-53.305-33.314S826.216 100 799.564 100c-26.654 0-26.654-33.314-53.306-33.314-26.652 0-26.652 33.314-53.304 33.314-26.653 0-26.653-33.314-53.306-33.314-26.652 0-26.652 33.314-53.304 33.314-26.653 0-26.653-33.314-53.304-33.314-26.65 0-26.652 33.314-53.304 33.314s-26.652-33.314-53.305-33.314S399.778 100 373.126 100c-26.653 0-26.653-33.314-53.306-33.314-26.652 0-26.652 33.314-53.304 33.314s-26.652-33.314-53.304-33.314c-26.651 0-26.651 33.314-53.302 33.314s-26.651-33.314-53.303-33.314c-26.65 0-26.65 33.314-53.302 33.314C26.652 100 26.652 66.686 0 66.686V0h1919.003L1919 66.686c-26.657 0-26.657 33.314-53.314 33.314z" fill="${n}" fill-rule="nonzero"/></svg>`,7:`<svg viewBox="0 0 1920 200" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><path d="M0 111.22c39.924 57.863 43.635-81.12 86.057-49.377 22.96 17.18 28.423 139.795 63.67 131.577 29.69-6.92 46.923-44.683 62.128-71.756 31.87-50.039 80.334 24.686 134.72 4.477 43.687-16.232 35.42-36.266 70.842-.398 38.085 38.563 65.343-59.381 92.63-51.265 52.535 15.626 66.523 175.912 107.386 83.442 21.395-48.414 68.874-121.81 103.424-45.875 45.148 99.23 54.337 15.01 73.935-36.992 27.286-72.402 47.559 50.828 90.996 61.402 25.52 6.212 43.74-24.442 56.396-47.275 50.19-67.647 72.223 38.517 105.804 42.913 33.582 4.395 43.952-40.933 78.17-31.257 38.657 10.932 44.729 99.625 75.705 98.585 32.066-1.077 10.475-113.292 58.263-131.984 37.054-14.492 44.996 46.504 87.28 45.715 42.285-.789 53.14-137.725 95.082-44.886 9.373 20.75 16.322 103.621 43.433 109.406 35.063 7.48 43.86-81.364 90.923-81.714 68.327 5.077 61.933 82.101 96.71 70.335 29.87-10.106 49.187-131.546 72.779-122.802 26.43 9.797 29.214 119.883 77.916 70.624 23.122-23.385 34.37-82.184 69.35-36.356 21.163 27.726 4.003 7.799 26.401 35.202V0H0v111.22z" fill="${n}" fill-rule="nonzero"/></svg>`,8:`<svg viewBox="0 0 1920 200" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><g fill="${n}" fill-rule="nonzero"><path d="M0 111.22c39.924 57.863 43.635-81.12 86.057-49.377 22.96 17.18 28.423 139.795 63.67 131.577 29.69-6.92 46.923-44.683 62.128-71.756 31.87-50.039 80.334 24.686 134.72 4.477 43.687-16.232 35.42-36.266 70.842-.398 38.085 38.563 65.343-59.381 92.63-51.265 52.535 15.626 66.523 175.912 107.386 83.442 21.395-48.414 68.874-121.81 103.424-45.875 45.148 99.23 54.337 15.01 73.935-36.992 27.286-72.402 47.559 50.828 90.996 61.402 25.52 6.212 43.74-24.442 56.396-47.275 50.19-67.647 72.223 38.517 105.804 42.913 33.582 4.395 43.952-40.933 78.17-31.257 38.657 10.932 44.729 99.625 75.705 98.585 32.066-1.077 10.475-113.292 58.263-131.984 37.054-14.492 44.996 46.504 87.28 45.715 42.285-.789 53.14-137.725 95.082-44.886 9.373 20.75 16.322 103.621 43.433 109.406 35.063 7.48 43.86-81.364 90.923-81.714 68.327 5.077 61.933 82.101 96.71 70.335 29.87-10.106 49.187-131.546 72.779-122.802 26.43 9.797 29.214 119.883 77.916 70.624 23.122-23.385 34.37-82.184 69.35-36.356 21.163 27.726 4.003 7.799 26.401 35.202V0H0v111.22z"/><path d="M1920 111.22c-39.924 57.863-113.614-125.271-101.202-93.282C1832 51.96 1784.872 112.96 1758 112.96s-60.795-67.95-76-95.023c-31.87-50.04-69.614 138.725-124 118.517-43.688-16.233-19.995-46.58-55.417-10.712-38.085 38.563-65.343-59.381-92.63-51.265-52.535 15.626-70.09 139.656-110.953 47.186-21.395-48.414-65.307-56.142-99.857 19.793-16.433 36.118-28.102 47.932-37.243 45.841-15.973-3.652-24.227-49.759-36.692-82.834-27.286-72.4-47.559 21.417-90.996 31.99-25.52 6.213-43.74-24.44-56.396-47.274-50.19-67.647-75.234 42.88-108.816 47.275-33.582 4.395-40.94-45.295-75.159-35.619-38.656 10.932-35.865 78.636-66.841 77.595-32.066-1.077-19.338-92.302-67.126-110.994C622.82 52.945 610.284 172.357 568 171.57c-42.285-.79-33-144.118-70-104.132-19.133 20.677-28.889 84.699-56 90.483-35.063 7.48-59.936-56.734-107-57.084-68.327 5.078-56.327 40.621-95 40.621s-48.408-37.24-72-28.496c-26.431 9.796-25.751 94.007-62 36.554-14.795-23.45-44.62-117.584-79.6-71.756C5.239 105.485 22.399 85.558 0 112.96V0h1920v111.22z" opacity=".25"/></g></svg>`,9:`<svg viewBox="0 0 1920 200" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><g fill="${n}" fill-rule="nonzero"><path d="M1000.521.023L0 200V0h1000.521z"/><path d="M919.479.023L1920 200V0H919.479z"/></g></svg>`,10:`<svg viewBox="0 0 1920 240" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><g fill="${n}" fill-rule="nonzero"><path opacity=".25" d="M1920 0v240L959.944 9.734 0 240V0z"/><path d="M1920 0v198.347L959.944 8.044 0 198.347V0z"/></g></svg>`,11:`<svg viewBox="0 0 1920 240" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><path d="M1920 5.206c-320 1.996-640 21.432-960 58.308C640 100.39 320 159.22 0 240V0h1920v5.206z" fill="${n}" fill-rule="nonzero"/></svg>`,12:`<svg viewBox="0 0 1920 240" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><g fill="${n}" fill-rule="nonzero"><path d="M0 240V0h1920v4.538c-312.667-.827-632.667 14.938-960 47.295C632.667 84.191 312.667 146.913 0 240z" opacity=".15"/><path d="M0 210.704V0h1920v4.507c-332 1.2-652 16.735-960 46.605C652 80.982 332 134.18 0 210.704z" opacity=".3"/><path d="M0 4.507V0h1920v4.507c-320 1.494-640 16.045-960 43.651C640 75.765 320 119.806 0 180.282V4.507z"/></g></svg>`,13:`<svg viewBox="0 0 1920 240" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><path d="M1920 5.206V240c-160-80.78-320-139.61-480-176.486-160-36.876-320-56.312-480-58.308-160 1.996-320 21.432-480 58.308C320 100.39 160 159.22 0 240V0h1920v5.206z" fill="${n}" fill-rule="nonzero"/></svg>`,14:`<svg viewBox="0 0 1920 240" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><g fill="${n}" fill-rule="nonzero"><path d="M0 240V0l960 .03V4C754 7.849 600 23.182 498 50 354.334 87.773 188.334 151.106 0 240z" opacity=".15"/><path d="M0 211V0h960v5C794 1.667 634 17.187 480 51.56 326 85.935 166 139.08 0 211z" opacity=".3"/><path d="M0 4.5V0h960v5C800 6.158 640 20.52 480 48.083 320 75.647 160 119.62 0 180V4.5z"/><g><path d="M1920 240V0L960 .03V4c206 3.849 360 19.182 462 46 143.666 37.773 309.666 101.106 498 190z" opacity=".15"/><path d="M1920 211V0H960v5c166-3.333 326 12.187 480 46.56 154 34.374 314 87.52 480 159.44z" opacity=".3"/><path d="M1920 4.5V0H960v5c160 1.158 320 15.52 480 43.083C1600 75.647 1760 119.62 1920 180V4.5z"/></g></g></svg>`,15:`<svg viewBox="0 0 1920 200" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><path d="M0 0h1920v200l-160-15.833L1438 70 707 184.167 211 90 0 200z" fill="${n}" fill-rule="nonzero"/></svg>`,16:`<svg viewBox="0 0 1920 240" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><g fill="${n}" fill-rule="nonzero"><path d="M0 0h1920v198.347L1760 182 1438 70 707 183 211 89 0 198.347z"/><path opacity=".2" d="M0 0h1920v228.1L1721 240 1438 70l-283 122.397-347.347-25.04L707 183l-81.92-15.517L383 192.397 211 89 0 228.1z"/><path opacity=".25" d="M1920 0H0v228.1l193 9.917L390 123l317 60 67-11.43 477-23.801 271 44.628L1616 132l144 50 110 12 50 34.1z"/></g></svg>`,17:`<svg viewBox="0 0 1920 240" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><path d="M1920 0H0v144.419L640 240l640-189.197 640 93.616z" fill="${n}" fill-rule="nonzero"/></svg>`,18:`<svg viewBox="0 0 1920 240" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><g fill="${n}" fill-rule="nonzero"><path opacity=".25" d="M0 0h1920v144.419L1277 221l-286-85-351 104L0 144.419z"/><path opacity=".2" d="M1920 0H0v144.419L640 240l167.811-49.89L1038 240l393-167 489 71.419z"/><path d="M1920 0H0v144.419L640 240l640-189.197 640 93.616z"/></g></svg>`,19:`<svg viewBox="0 0 1920 240" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><path d="M0 172.043C160 217.348 320 240 480 240c240 0 720-138.495 960-136.774 160 1.147 320 24.086 480 68.817V0H0v172.043z" fill="${n}" fill-rule="nonzero"/></svg>`,20:`<svg viewBox="0 0 1920 240" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><g fill="${n}" fill-rule="nonzero"><path d="M1920 129.751C1760 191.917 1600 223 1440 223c-152.892 0-399.532-31.384-620.475-53.784C687 191 557.108 205.465 470 206c-162-2-318.667-21.333-470-58V0h1920v129.751z" opacity=".203"/><path d="M230 190c160 33.333 320 50 480 50 240 0 776-105 923-115 98-6.667 193.667 1 287 23V0H0v148c45.073 10.416 81.073 18.083 108 23 26.927 4.917 67.594 11.25 122 19z" opacity=".3"/><path d="M0 148c160 38.476 320 57.714 480 57.714 240 0 720-118.71 960-117.235 160 .983 320 20.824 480 59.521V0H0v148z"/></g></svg>`,21:`<svg viewBox="0 0 1920 240" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><g stroke="none" fill="none" fill-rule="evenodd"><g transform="translate(0.000000, -8261.000000)" fill="${n}" fill-rule="nonzero"><g id="21" transform="translate(0.000000, 8261.000000)"><path d="M0,168.988943 C80.5473907,217.603736 160.512186,220.954929 239.894386,179.042522 C358.967686,116.173913 359.812598,59.826087 443.76887,59.826087 C527.725143,59.826087 547.8693,208.397586 697.791216,199.354108 C847.713131,190.310629 776.750091,26.8323684 937.666281,1.78889015 C1098.58247,-23.2545881 1239.52127,223.162118 1417.41641,209.093238 C1553.34561,198.343244 1504.21655,68.173913 1615.15877,45.2173913 C1689.12025,29.9130435 1790.73399,71.5072464 1920,170 L1920,240 L0,240 L0,168.988943 Z" transform="translate(960.000000, 120.000000) scale(1, -1) translate(-960.000000, -120.000000) "></path></g></g></g></svg>`,22:`<svg viewBox="0 0 1919 255" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g transform="translate(0.000000, -8701.000000)" fill="${n}" fill-rule="nonzero"><g transform="translate(959.500000, 8828.500000) scale(1, -1) translate(-959.500000, -8828.500000) translate(0.000000, 8701.000000)"><path d="M0,183.988943 C80.5473907,232.603736 160.512186,235.954929 239.894386,194.042522 C358.967686,131.173913 359.812598,74.826087 443.76887,74.826087 C527.725143,74.826087 547.8693,223.397586 697.791216,214.354108 C847.713131,205.310629 776.750091,41.8323684 937.666281,16.7888902 C1098.58247,-8.25458811 1239.52127,238.162118 1417.41641,224.093238 C1553.34561,213.343244 1504.21655,83.173913 1615.15877,60.2173913 C1689.12025,44.9130435 1790.40066,86.1702275 1919,183.988943 L1919,255 L0,255 L0,183.988943 Z"></path><path d="M0,184 C55.2272449,222.607421 122.531967,220.954929 201.914167,179.042522 C320.987468,116.173913 321.832379,59.826087 405.788652,59.826087 C489.744925,59.826087 509.889081,208.397586 659.810997,199.354108 C809.732913,190.310629 738.769873,26.8323684 899.686062,1.78889015 C1060.60225,-23.2545881 1201.54105,223.162118 1379.43619,209.093238 C1515.3654,198.343244 1466.23634,68.173913 1577.17855,45.2173913 C1651.14003,29.9130435 1765.08051,76.173913 1919,184 L1919,255 L0,255 L0,184 Z" opacity="0.3"></path></g></g></g></svg>`,23:`<svg viewBox="0 0 1920 240" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><path d="M1920 0v131.144c-95.98 0-96.336 108.856-192.319 108.856-95.982 0-95.982-108.856-191.969-108.856-95.986 0-95.986 54.68-191.969 54.68-95.986 0-95.986-125.11-191.969-125.11-95.982 0-95.982 173.868-191.965 173.868s-95.983-103.438-191.965-103.438c-95.98 0-95.98 70.933-191.959 70.933s-95.979-98.021-191.958-98.021-95.979 81.768-191.958 81.768c-95.986 0-95.986-54.68-191.969-54.68V0h1920z" fill="${n}" fill-rule="nonzero"/></svg>`,24:`<svg viewBox="0 0 1920 398" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><g fill="${n}" fill-rule="nonzero"><path d="M1920 0v198.247c-95.98 0-96.336 114.753-192.319 114.753-95.982 0-95.982-114.753-191.969-114.753-95.986 0-95.986 57.642-191.969 57.642-95.986 0-95.986-131.885-191.969-131.885-95.982 0-95.982 183.285-191.965 183.285s-95.983-109.042-191.965-109.042c-95.98 0-95.98 74.776-191.959 74.776s-95.979-103.33-191.958-103.33-95.979 86.196-191.958 86.196c-95.986 0-95.986-57.642-191.969-57.642V0h1920z" opacity=".25"/><path d="M1920 0v158.358c-95.98 0-96.336 81.642-192.319 81.642-95.982 0-95.982-81.642-191.969-81.642-95.986 0-95.986 41.01-191.969 41.01-95.986 0-95.986-93.832-191.969-93.832-95.982 0-95.982 130.4-191.965 130.4s-95.983-77.578-191.965-77.578c-95.98 0-95.98 53.2-191.959 53.2s-95.979-73.516-191.958-73.516-95.979 61.326-191.958 61.326c-95.986 0-95.986-41.01-191.969-41.01V0h1920z" opacity=".35"/><path d="M0 0v244.694C95.98 244.694 96.336 398 192.319 398c95.982 0 95.982-153.306 191.969-153.306 95.986 0 95.986 77.008 191.969 77.008 95.986 0 95.986-176.195 191.969-176.195 95.982 0 95.982 244.863 191.965 244.863s95.983-145.676 191.965-145.676c95.98 0 95.98 99.897 191.959 99.897s95.979-138.046 191.958-138.046 95.979 115.157 191.958 115.157c95.986 0 95.986-77.008 191.969-77.008V0H0z" opacity=".134"/><path d="M1920 0v131.144c-95.98 0-96.336 108.856-192.319 108.856-95.982 0-95.982-108.856-191.969-108.856-95.986 0-95.986 54.68-191.969 54.68-95.986 0-95.986-125.11-191.969-125.11-95.982 0-95.982 173.868-191.965 173.868s-95.983-103.438-191.965-103.438c-95.98 0-95.98 70.933-191.959 70.933s-95.979-98.021-191.958-98.021-95.979 81.768-191.958 81.768c-95.986 0-95.986-54.68-191.969-54.68V0h1920z"/></g></svg>`,25:`<svg viewBox="0 0 1920 788" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><path d="M1920 0H0v173c48-38.667 95.667-75.333 143-110 71-51 110-58 206-40 366 84 1154 243 1293 297 58 22 88 44 121 101 23.333 52 75.667 174.333 157 367V0z" fill="${n}" fill-rule="nonzero"/></svg>`,26:`<svg viewBox="0 0 1920 798" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><g fill="${n}" fill-rule="nonzero"><path d="M1920 0H0v189c24-18 60.347-41.755 109.04-71.264C207.368 57.772 261.38 50.915 394.33 78.549 902 172 1349 270 1534.999 319.512c80.324 21.553 121.87 53.106 167.572 108.947C1734.886 479.402 1807.361 602.583 1920 798V0z" opacity=".25"/><path d="M1920 0H0v173c48-38.667 95.667-75.333 143-110 71-51 110-58 206-40 366 84 1154 243 1293 297 58 22 88 44 121 101 23.333 52 75.667 174.333 157 367V0z"/></g></svg>`,27:`<svg viewBox="0 0 1920 800" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><path d="M1920 0H0v12.984c1029.719 130.503 1587.292 213.733 1672.719 249.688 53.468 21.972 81.125 43.945 111.547 100.874C1805.776 415.48 1851.02 560.966 1920 800V0z" fill="${n}" fill-rule="nonzero"/></svg>`,28:`<svg viewBox="0 0 1920 800" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><g fill="${n}" fill-rule="nonzero"><path d="M1920 0H0v12.984c1029.719 130.503 1587.292 213.733 1672.719 249.688 53.468 21.972 81.125 43.945 111.547 100.874C1805.776 415.48 1851.02 560.966 1920 800V0z"/><path d="M1920 0H0v13c996.788 159.826 1536.916 257.717 1620.386 293.672 52.243 21.972 79.265 43.945 108.99 100.874L1920 800V0z" opacity=".25"/></g></svg>`,29:`<svg viewBox="0 0 1920 144" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><path d="M0 0h1920v70c-96-31-184 1.639-289 21-145 28-245 41-373 50-66 4-150 7-327-30-171-31-301-83-399-83-114 4-258 70-362 77-44 .667-100.667-11-170-35V0z" fill="${n}" fill-rule="nonzero"/></svg>`,30:`<svg viewBox="0 0 1920 99" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><path d="M781.659 67.679c5.394-.297 18.088 1.159 22.66-1.526-2.846 1.667-19.23.32-21.954.394-5.954.164-11.903.198-17.902.532-10.396.578-20.684.776-31.023 1.7-30.343 2.713-60.606 3.909-90.983 4.702-.776.26-6.442-.068-9.11 1.099.969-.476 2.062-.742 3.212-.923-12.678.311-25.374.572-38.12.821-18.571.363-37.346.906-55.894 2.175-13.194.907-26.309 1.303-39.486 2.204-8.555.584-28.417 4.827-35.323 1.094 13.602-3.898 29.658-1.78 43.702-2.742 9.608-.663 19.108-.765 28.694-1.422 19.601-1.343 38.993-2.793 58.737-3.473 37.118-1.275 75.018-5.218 112.006-5.382 23.33-.102 47.316-2.974 70.504-3.501 16.673-.38 33.646-.816 50.137-2.232 36.036-3.093 72.702-.93 108.795-3.853 12.588-1.02 25.703 1.79 38.359-.204 7.177-1.133 13.97-2.045 21.873-2.039 11.795.006 23.403-.85 35.357-.872 8.514-.017 17.868.702 26.167-1.541-15.942-2.187-31.974.39-48.012.238-20.367-.199-40.835-.3-61.264.611-34.348 1.53-69.042 1.292-103.509 3.014-116.714 5.824-233.554 11.914-350.342 16.225-61.75 2.278-123.75 7.45-185.28 10.475-27.222 1.343-54.086 3.938-81.29 5.36-10.345.538-97.176 10.905-98.564 6.175 14.543-4.782 33.057-2.963 48.398-3.949 11.025-.708 22.032-1.983 33.051-2.884 29.414-2.402 59.428-4.005 89.034-5.772 77.2-4.612 154.037-11.557 231.305-14.09 35.64-1.167 71.336-3.2 106.987-4.436 25.947-.9 51.82-3.603 77.784-4.231 16.236-.391 33.232.203 49.4-2.51-27.453-2.93-57.241 2.187-84.847 3.104-21.766.726-45.282 5.564-66.827 3.337 2.577-1.15 7.755.77 9.778-1.2-.011.005-14.713-.879-16.237-.743-4.214.38-8.424 1.042-12.707 1.32-13.947.906-27.799.855-41.74 1.796a1687.78 1687.78 0 0 1-58.766 2.934c-70.226 2.278-140.865 8.544-211.154 13.444-33.6 2.345-66.962 2.748-100.602 5.846-5.292.488-55.961 3.405-89.006 6.442 4.005-.465 7.127-.884 8.078-1.23-6.158-.645 6.787-1.45 9.795-1.625 7.666-.448 15.297-1.57 22.967-2.04 5.773-.351 11.37-.799 17.098-1.479 11.868-1.405 33.623 1.45 43.713-4.713a5.205 5.205 0 0 1-1.966-.397c4.86-2.237 11.84-.215 16.927-1.852-14.191-3.348-29.827 2.674-43.203 3.444-12.837.743-26.06 1.87-38.863 3.388a1546.6 1546.6 0 0 1-39.815 4.192c-9.704.901-19.069 2.827-28.915 3.75-9.976.936-19.953 1.865-29.93 2.8-2.798.26-16.372-.307-19.216 1.217 2.47-2.243 15.79-1.988 18.656-2.996-5.58-.697-12.81.373-18.469.94-2.49.25-10.413-.36-13.559.166C.342 96.926.024 64.672 0 0h1920v25c-1.187.402-.707.537-.245.687-3.116-.769-12.798 2.086-16.785 2.523-10.299 1.122-21.3.992-31.55 1.014-15.239.034-30.353 3.858-45.933 4.793-14.174.85-28.643 2.034-42.664 2.43-5.966.17-12.571-.589-18.554.38-1.575.255-17.992 3.037-11.313 1.348-32.298-1.847-65.824 1.819-98.139 2.13-13.998.136-28.2 1.275-42.12.788-13.047-.459-33.374-3.507-45.424 1.586 5.569-2.35 21.114.725 28.252.46 9.66-.363 19.075-.771 28.683-.941 21.386-.38 42.705-.516 64.164-1.145 28.32-.833 56.279 2.567 84.877 1.558 11.137-.396 21.408-.334 32.625-.668 6.852-.203 20.95-4.053 27.32-.207-2.45-1.183-23.322 1.227-26.283 1.272-4.504.068-32.07-1.711-33.94.895.787-.952 7.387 1.382 7.909 1.609-2.182.3-8.034 1.393-9.847.612 2.074 1.02 4.674 1.507 7.54 1.7-1.455.243-2.786.424-3.914.498 3.96.13 10.13-.425 11.212-.544 3.25-.257 6.224-.57 9.14-.922l.11-.002c.403-.05.8-.096 1.202-.147a2.793 2.793 0 0 0-.009-.008c4.738-.572 8.317-.986 11.249-1.023 8.509-.108 16.304-.793 24.592.266-19.21 6.164-43.916 3.875-64.05 4.68-17.285.691-34.677.663-52.035 1.382-28.173 1.167-56.392.748-84.616 1.875-10.061.403-20.344.38-30.456.873-14.776.718-35.283 5.175-49.465 1.064 1.823.39 13.264.051 20.669-.792-8.186.277-21.726-1.326-25.375-1.088-3.116.204-19.601 1.966-14.457.493-15.93-2.634-34.87.736-51.05.714-16.904-.023-33.243 1.49-50.091 1.512-15.914.023-31.6.255-47.531.64-21.21.516-42.416 1.02-63.626 1.61-11.585.317-23.165.656-34.74 1.013-2.554.08-21.289-1.036-25.311.142 3.722-1.79 15.08-1.405 18.633-2.272-3.213-6.078-58.539-.985-64.6-.436-18.917 1.717-37.102 2.22-55.758 1.853-63.342-1.258-127.586 1.161-191.155 3.461-32.082 1.161-64.34 1.314-96.512 2.912-14.34.708-28.36.844-42.756 1.632-5.601.305-45.334 3.228-46.227.471a5.557 5.557 0 0 0 .013-.002zm-559.447 11.45c8.345-2.776 19.947-2.804 28.864-3.263.25.023-26.462 3.518-28.864 3.263zm48.25-4.583c5.065-.991 10.413-1.161 15.512-.73-4.521 1.46-10.792 1.342-15.511.73zM630.34 61.822c.895 2.249 11.036-1.042 12.497-.584-1.427-.566-4.934-.164-6.31-.328-.363-.012-6.42.334-6.187.912zm18.429-.952zm14.242-.453c5.099-.159 11.336.56 16.531-.606-2.356.096-5.886-.47-7.03-.606-5.039.316-19.504-1.012-23.706 1.641 2.032-1.256 11.193-.339 14.205-.43zm139.092-4.951c1.394.113 1.15.243-.72.396-1.399-.102-1.155-.238.72-.396zm12.82-.833a1.207 1.207 0 0 0 0 0zm31.833-.895c-4.152-.244-8.798-.068-12.905.657 2.906.606 6.09-.153 9.053.283 1.28-.311 2.566-.629 3.852-.94zm10.294-.006c-1.988.425-3.84.646-5.297-.244 2.244-.453 3.705.046 5.297.244zm-44.934 11.71c-1.052.02-2.09.127-2.076.465.555.068 1.518-.077 2.39-.216l-.314-.249zm20.54-.736c-1.383-.97-11.642-.618-12.741.657-.204.362 8.39.09 9.177.192 1.808.686 2.992.403 3.564-.85zm27.986-.998c-4.974-.764-17.806-1.235-22.338.986 2.759-1.286 10.786-.26 14.033.176 2.923.102 5.512-.391 8.305-1.162zm208.644-11.24c-.737.409-3.224-.65-4.346.018.499.583 3.881.294 4.346-.017zm46.777-1.206c-8.962-2.481-24.666-1.076-33.85-.074.64 1.116-.056 1.547-2.095 1.286 1.535 1.983 33.215.918 35.945-1.212zm25.431-.946c-1.41-.924-13.064 1.41-11.024 1.58.668-.022 11.194-1.467 11.024-1.58zm56.607-.98c-.402-1.74-11.421-1.054-12.367.25l3.484.662c.753-.028 9.07-.113 8.883-.912zm28.043-.958c.062.844 8.447.777 9.24.93 3.807-.669-9.495-3.502-9.24-.93zm35.713-.657c-4.674-.957-11.993-.833-16.525.182-.068.005-4.306.583-3.269.929 4.442 1.49 15.534.696 19.794-1.11zm18.078-.606c-3.2-1.173-4.515.074-7.438.737.696 2.096 8.934-1.117 7.438-.737zm19.89.09c-1.971.035-2.3-.073-.985-.328 1.949-.04 2.277.068.985.329zm6.311 8.011c-5.63-.147-12.208-1.127-17.709.63 0 1.495 5.971.237 6.696.084 3.58-.017 7.694.578 11.013-.714zm22.248-.362c-1.932.04-2.26-.068-.986-.323 1.988-.023 2.317.085.986.323zm12.837-.13c-1.852.096-2.09.22-.708.373 1.88-.107 2.119-.232.708-.374zm18.429-8.73c-1.734-2.488-9.251-1.162-11.886-.539-13.596.334-28.615-.974-41.967 1.377 7.97 1.631 16.53.56 24.57.119 9.727-.538 19.714.968 29.283-.958zm7.348-.414c-1.745.124-4.572.272-5.195-.402-.306-.335 2.81.113 5.195.402zm.589-.102c-.142.013-.198.037-.198.068.204-.017.392-.031.548-.042l-.35-.026zm.935.36c.409.038.827.028 1.065-.083-.071.04-.322.041-.689.017l-.376.066zm9.925.439c-3.875-1.893 16.628-1.167 16.514-1.11-4.107 2.124-12.01 1.002-16.514 1.11zm19.522 7.172c-1.223-.221-2.453-.436-3.676-.657-.391-.023-6.481-.006-6.306.68.357 1.41 8.963.345 9.982-.023zm3.847.13c-1.388-.153-1.144-.278.73-.374 1.412.153 1.162.278-.73.374zm17.964-1.422c4.42 1.156-5.512 2.668-6.05 1.144-.255-.725 5.337-1.155 6.05-1.144zm2.017-7.438c2.827-.595 5.903-1.145 8.787-.539-5.886 1.473-10.418 1.32-16.384.726 2.527-.063 5.07-.193 7.597-.187zm12.407 8.435c-1.564.623-9.5 1.603-10.288-.294 3.501-.856 7.376-1.598 10.288.294zm4.997-8.107c-1.61-.255-2.997-.782-5.297-.402 1.45.946 3.28.76 5.297.402zm9.88 7.325c-.674-.447-1.445-.544-2.306-.3a4.858 4.858 0 0 0-1.756.133c.976-.14 3.035.68 4.062.167zm-4.328-.09a5.2 5.2 0 0 1 .266-.077.874.874 0 0 0-.266.077zm16.141.202a3.06 3.06 0 0 0-.726.189c.26-.046.52-.09.782-.134l-.056-.055zm1.007-.106l.42-.068c-.114.006-.182.006-.278.006-.051.017-.09.04-.142.062zm-.934.436c.237-.147.566-.272.872-.402.714-.011.969.13-.872.402zm6.112-.9c-1.342-.556-3.37-.238-4.906.34 1.745-.097 5.116-.256 4.906-.34zm7.507-7.439c-4.266 1.745-16.197-4.651-20.117-.833-.136.12 8.123 1.031 9.25 1.218 2.216-.04 8.51.697 10.867-.385zm23.17-.47c-.555.277-2.453-.096-2.17-.238 1.185.113 2.216.22 2.17.238zm-3.133-.521c-.356-.063-.73-.04-1.082-.142-.062-.09.539.017 1.082.142zm-1.404 8.039c3.132 1.11 8.067.753 11.319.005 2.128-.04 11.108-1.363 13.483-.59-7.455-2.427-17.615 2.85-24.802.585zm35.48-8.136c-2.13-1.779-8.118-.651-10.576-.453 2.034 1.847 8.384 1.043 10.577.453zm4.97-.402c-.414-.821 8.916-1.218 9.432-1.184 2.056 2.572-8.764 2.51-9.433 1.184zm237.717 2.232c-1.394-.175-1.156-.294.714-.345 1.41.164 1.172.277-.714.345zm-70.978 2.064a2.374 2.374 0 0 0-.545.259c.173-.09.355-.177.545-.26zm0 0c3.221-1.087 11.33 2.36 14.06 2.604 6.118.556 12.242-.464 18.326-.617 7.592-.187 15.908.26 23.579-.737-7.931-.402-17.313-1.439-20.655-1.416-8.98.055-27.991-3.006-35.31.166zm-67.14 1.403c2.538-.187 5.801-.708 7.914.555-2.056.476-7.081 1.881-7.914-.555zm-20.485.403c5.421-1.434 12.525-.8 18.032.305-5.914.726-12.192.595-18.032-.305zm.028 3.96c-2.181.022-6.215.674-8.436-.074.04.006 10.69-.232 8.436.073zm-10.038-3.596c-1.046-.026-2.083.038-2.086.378.573.104 1.52-.002 2.38-.109l-.294-.27zm-12.696 3.725c-1.562.13-3.028.194-3.61.006 1.09.296 2.352.326 3.688.234l-.078-.24zm-33.34-3.138c.9-.073 1.915-.164 2.94-.22-4.18.453-9.093 2.203-12.622.741 1.79.499 7.982-.487 9.682-.52z" fill="${n}" fill-rule="evenodd"/></svg>`,31:`<svg viewBox="0 0 1920 359" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><path d="M1900.821 32.686c-8.161 5.646-17.284 11.593-25.72 16.295-7.624 4.25-11.488 9.048-18.584 13.977-5.919 4.109-10.999 9.104-16.88 13.298-13.43 9.594-27.453 20.046-41.722 27.566-5.032 2.649-10.602 4.59-15.682 7.596-5.956 3.525-4.967 6.324-11.658 9.547-.773-.895-.226-1.686 1.65-2.384-18.077 6.503-35.286 17.746-52.787 26.85-13.788 7.182-27.765 12.535-41.901 18.378-13.242 5.476-25.192 13.402-38.782 16.992-7.134 1.885-13.157 4.977-19.716 8.115-3.619 1.734-7.172 2.328-10.687 4.486-2.931 1.79-9.274 4.166-11.234 6.946-.32.462 11.29-3.695 12.515-4.119 4.618-1.592 9.67-3.345 14.24-5.504 8.86-4.194 17.323-8.387 26.069-12.534 18.811-8.925 39.253-14.467 57.941-24.221 9.161-4.778 17.172-9.962 26.662-13.76 16.342-6.54 32.402-10.612 48.715-18.443 5.41-2.602 11.526-4.854 16.578-8.087 2.554-1.64 4.938-5.127 7.577-6.399 1.386-.669 5.57-.952 7.191-1.517 4.203-1.48 7.954-4.307 11.611-6.588 5.193-3.242 16.512-14.598 23.326-12.516 1.78.84-9.49 6.767-10.33 7.257-4.184 2.432-8.52 5.334-12.902 7.728-2.86 1.564-28.342 13.533-30.951 16.368 1.421-1.03 7.593-1.03 8.408-.695-1.338 1.027-7.672 5.448-8.868 5.268 2.035.481 6.851-1.592 11.799-4.156-5.136 3.384-9.905 6.805-10.395 6.362 1.216 1.102 12.336-5.25 13.816-6.277.961-1.037 9.227-6.22 9.622-5.928-1.507-.622-.282-1.338.472-1.762 3.317-1.876 6.54-4.354 10-6.249 7.925-4.354 13.1-8.67 21.364-11.224-2.818 4.1-12.138 10.763-16.276 14.212-5.833 4.853-13.194 8.727-19.81 12.402-8.246 4.58-16.512 9.293-24.664 13.826-15.098 8.388-31.242 14.75-46.415 23.175-26.021 14.448-53.654 25.399-80.485 38.197-9.312 4.43-19.509 7.144-28.679 11.856a259.32 259.32 0 0 1-18.802 8.765c-5.871 2.45-11.714 4.957-17.652 7.247-.688.274-10.442 3.412-10.235 3.082 3.1-4.91 21.582-6.427 25.145-12.11-3.27 2.667-24.334 8.66-27.35 9.82-5.843 2.243-12.045 8.576-19.17 8.143.575-.528 1.15-1.046 1.725-1.574-5.965.33-13.203 4.693-19.094 6.38-4.985 1.433-10.357 3.46-14.966 5.297-8.2 3.26-16.719 5.975-24.786 8.897-23.995 8.68-47.64 18.227-72.644 24.06-17.718 4.138-35.342 9.406-52.947 14.59-8.387 2.46-16.737 5.08-25.163 7.398-10.97 3.025-22.12 5.503-33.193 8.133-2.036.48-13.91 2.563-22.732 4.43 7.248-2.837 14.024-8.549 1.33-6.579-10.349 1.612-21.121 3.977-31.168 6.4-11.507 2.78-22.628 5.305-34.088 8.208-4.533 1.15-8.5 2.545-13.477 2.931-7.483.575-11.837 3.553-18.5 4.184-30.96 2.922-64.303 8.35-96.073 12.648-7.992 1.084-14.4 3.874-22.704 3.968-4.552.056-8.039 1.074-12.365 1.63-4.721.603-9.188-1.121-13.75-.839-18.265 1.15-36.209 6.598-54.897 6.701-17.181.085-35.22 2.818-52.363 4.241-14.09 1.169-29.037.396-42.89 1.527-15.673 1.282-31.968 1.687-47.415 3.016-2.875.245-69.977 2.158-70.712-1.932 4.967-.141 19.952 2.243 23.816-1.103 1.63-1.413-7.125-.358-6.918-.358-6.04.066-12.647-.17-18.84-.32-5.946-.151-12.034-.424-18.15-.255-10.575.292-20.876-.085-31.384.81-13.487 1.15-26.917-1.903-40.365-1.988-12.3-.085-21.507.142-33.533-.839-10.828-.876-21.393-2.016-32.297-1.64-12.921.453-25.512-2.195-38.367-3.873-20.367-2.658-40.893-4.948-61.363-6.503-11.413-.867-22.468-2.535-33.872-3.411-8.086-.623-31.996.179-36.529-5.797 7.521-1.47 18.689 1.292 26.257 2.347 5.834.81 11.13 1.536 16.85 2.158 8.37.915 16.626 1.574 24.834 2.8 26.351 3.91 52.711 4.928 79.345 7.294 11.743 1.037 24.004-.18 35.813 1.725 8.604 1.376 18.16.433 26.878.64 21.743.519 42.335 2.432 64.219 1.848 23.09-.613 45.105-.424 67.828-1.056 7.87-.226 14.975-.047 22.873.245 10.263.387 21.016-1.074 31.327-.763 34.88 1.055 69.835-4.873 104.329-5.702 13.024-.311 25.512-.066 37.405-4.08 5.702-1.923 14.392-2.036 21.064-2.922 12.092-1.603 23.75-2.102 36.313-2.573 7.671-.283 18.01-1.093 24.833-4.6-15.692-2.374-31.035 2.319-46.755 3.073-20.752.99-42.589 1.395-63.313 4.656-15.014 2.365-30.696 1.47-46.058 2.695-18.34 1.46-36.99 1.197-55.36 1.838-54.84 1.913-110.275 2.535-165.342 1.084-28.217-.745-57-1.706-85.367-3.808-26.238-1.95-52.193-5.56-78.506-7.568-14.212-1.083-29.696-1.96-43.861-4.184-68.591-10.772-137.57-22.44-205.538-34.927-27.633-5.08-54.907-11.121-82.314-17.473-