Orbit Fox by ThemeIsle - Version 2.9.13

Version Description

Download this release

Release Info

Developer themeisle
Plugin Icon 128x128 Orbit Fox by ThemeIsle
Version 2.9.13
Comparing to
See all releases

Code changes from version 2.9.12 to 2.9.13

CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
 
 
 
 
 
 
1
  ##### [Version 2.9.12](https://github.com/Codeinwp/themeisle-companion/compare/v2.9.11...v2.9.12) (2020-07-20)
2
 
3
  - New checkbox field in the Contact widget for both Elementor and Beaver Builder
1
+ ##### [Version 2.9.13](https://github.com/Codeinwp/themeisle-companion/compare/v2.9.12...v2.9.13) (2020-08-04)
2
+
3
+ - Removed Starter Sites library and import process used for the Neve theme
4
+ - [Fix] Menu Icons module not working with WP 5.5
5
+ - [Fix] Empty team member widget appearing on mobile in Hestia theme
6
+
7
  ##### [Version 2.9.12](https://github.com/Codeinwp/themeisle-companion/compare/v2.9.11...v2.9.12) (2020-07-20)
8
 
9
  - New checkbox field in the Contact widget for both Elementor and Beaver Builder
core/includes/class-orbit-fox.php CHANGED
@@ -69,7 +69,7 @@ class Orbit_Fox {
69
 
70
  $this->plugin_name = 'orbit-fox';
71
 
72
- $this->version = '2.9.12';
73
 
74
  $this->load_dependencies();
75
  $this->set_locale();
@@ -193,8 +193,6 @@ class Orbit_Fox {
193
  $this->loader->add_action( 'wp_enqueue_scripts', $plugin_public, 'enqueue_styles' );
194
  $this->loader->add_action( 'wp_enqueue_scripts', $plugin_public, 'enqueue_scripts' );
195
 
196
- $this->loader->add_action( 'after_setup_theme', $this, 'load_onboarding', 999999 );
197
-
198
  $this->loader->add_action( 'init', Orbit_Fox_Neve_Dropin::instance(), 'init' );
199
 
200
  // Fix update checks on themeisle.com for non-premium themes
@@ -212,37 +210,6 @@ class Orbit_Fox {
212
 
213
  }
214
 
215
- /**
216
- * Load onboarding, if missing.
217
- */
218
- public function load_onboarding() {
219
- if ( defined( 'TI_ONBOARDING_DISABLED' ) ) {
220
- return;
221
- }
222
- $theme_support = get_theme_support( 'themeisle-demo-import' );
223
-
224
- if ( empty( $theme_support ) ) {
225
- return;
226
- }
227
-
228
- $library = OBX_PATH . '/vendor/codeinwp/themeisle-onboarding/load.php';
229
-
230
- if ( ! is_file( $library ) ) {
231
- return;
232
- }
233
- require_once $library;
234
-
235
- add_filter(
236
- 'themeisle_site_import_uri',
237
- function () {
238
- return OBFX_URL . \TIOB\Main::OBOARDING_PATH;
239
- }
240
- );
241
-
242
- \TIOB\Main::instance();
243
-
244
- }
245
-
246
  /**
247
  * The name of the plugin used to uniquely identify it within the context of
248
  * WordPress and to define internationalization functionality.
69
 
70
  $this->plugin_name = 'orbit-fox';
71
 
72
+ $this->version = '2.9.13';
73
 
74
  $this->load_dependencies();
75
  $this->set_locale();
193
  $this->loader->add_action( 'wp_enqueue_scripts', $plugin_public, 'enqueue_styles' );
194
  $this->loader->add_action( 'wp_enqueue_scripts', $plugin_public, 'enqueue_scripts' );
195
 
 
 
196
  $this->loader->add_action( 'init', Orbit_Fox_Neve_Dropin::instance(), 'init' );
197
 
198
  // Fix update checks on themeisle.com for non-premium themes
210
 
211
  }
212
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
213
  /**
214
  * The name of the plugin used to uniquely identify it within the context of
215
  * WordPress and to define internationalization functionality.
obfx_modules/companion-legacy/inc/hestia/inc/sections/hestia-team-section.php CHANGED
@@ -113,142 +113,137 @@ endif;
113
  * @access public
114
  * @param string $hestia_team_content Section content in json format.
115
  * @param bool $is_callback Flag to check if it's callback or not.
 
 
116
  */
117
  function hestia_team_content( $hestia_team_content, $is_callback = false ) {
 
 
 
 
 
 
 
 
 
 
118
  if ( ! $is_callback ) {
119
- ?>
120
- <div class="hestia-team-content">
121
- <?php
122
  }
123
- ?>
124
- <?php
125
- if ( ! empty( $hestia_team_content ) ) :
126
- $hestia_team_content = json_decode( $hestia_team_content );
127
-
128
- if ( ! empty( $hestia_team_content ) ) {
129
- echo '<div class="row">';
130
- foreach ( $hestia_team_content as $team_item ) :
131
- $image = ! empty( $team_item->image_url ) ? apply_filters( 'hestia_translate_single_string', $team_item->image_url, 'Team section' ) : '';
132
- $title = ! empty( $team_item->title ) ? apply_filters( 'hestia_translate_single_string', $team_item->title, 'Team section' ) : '';
133
- $subtitle = ! empty( $team_item->subtitle ) ? apply_filters( 'hestia_translate_single_string', $team_item->subtitle, 'Team section' ) : '';
134
- $text = ! empty( $team_item->text ) ? apply_filters( 'hestia_translate_single_string', $team_item->text, 'Team section' ) : '';
135
- $link = ! empty( $team_item->link ) ? apply_filters( 'hestia_translate_single_string', $team_item->link, 'Team section' ) : '';
136
-
137
- if( function_exists( 'maybe_trigger_fa_loading' ) ) {
138
- maybe_trigger_fa_loading( $text );
139
- } ?>
140
- <div class="col-xs-12 col-ms-6 col-sm-6">
141
- <div class="card card-profile card-plain">
142
- <div class="col-md-5">
143
- <div class="card-image">
144
- <?php
145
- if ( ! empty( $image ) ) :
146
- /**
147
- * Alternative text for the Team box image
148
- * It first checks for the Alt Text option of the attachment
149
- * If that field is empty, uses the Title of the Testimonial box as alt text
150
- */
151
- $alt_image = '';
152
- $image_id = function_exists( 'attachment_url_to_postid' ) ? attachment_url_to_postid( preg_replace( '/-\d{1,4}x\d{1,4}/i', '', $image ) ) : '';
153
- if ( ! empty( $image_id ) && $image_id !== 0 ) {
154
- $alt_image = get_post_meta( $image_id, '_wp_attachment_image_alt', true );
155
- }
156
- if ( empty( $alt_image ) ) {
157
- if ( ! empty( $title ) ) {
158
- $alt_image = $title;
159
- }
160
- }
161
- if ( ! empty( $link ) ) :
162
- $link_html = '<a href="' . esc_url( $link ) . '"';
163
- if ( function_exists( 'hestia_is_external_url' ) ) {
164
- $link_html .= hestia_is_external_url( $link );
165
- }
166
- $link_html .= '>';
167
- echo wp_kses_post( $link_html );
168
- endif;
169
- echo '<img class="img" src="' . esc_url( $image ) . '" ';
170
- if ( ! empty( $alt_image ) ) {
171
- echo ' alt="' . esc_attr( $alt_image ) . '" ';
172
- }
173
- if ( ! empty( $title ) ) {
174
- echo ' title="' . esc_attr( $title ) . '" ';
175
- }
176
- echo '/>';
177
- if ( ! empty( $link ) ) {
178
- echo '</a>';
179
- }
180
- ?>
181
- <?php endif; ?>
182
- </div>
183
- </div>
184
- <div class="col-md-7">
185
- <div class="content">
186
- <?php
187
- if ( ! empty( $link ) ) :
188
- $link_html = '<a href="' . esc_url( $link ) . '"';
189
- if ( function_exists( 'hestia_is_external_url' ) ) {
190
- $link_html .= hestia_is_external_url( $link );
191
- }
192
- $link_html .= '>';
193
- echo wp_kses_post( $link_html );
194
- endif;
195
- ?>
196
- <?php if ( ! empty( $title ) ) : ?>
197
- <h4 class="card-title"><?php echo esc_html( $title ); ?></h4>
198
- <?php endif; ?>
199
- <?php if ( ! empty( $subtitle ) ) : ?>
200
- <h6 class="category text-muted"><?php echo esc_html( $subtitle ); ?></h6>
201
- <?php endif; ?>
202
- <?php if ( ! empty( $text ) ) : ?>
203
- <p class="card-description"><?php echo wp_kses_post( html_entity_decode( $text ) ); ?></p>
204
- <?php endif; ?>
205
- <?php
206
- if ( ! empty( $link ) ) {
207
- echo '</a>';
208
- }
209
- ?>
210
- <?php
211
- if ( ! empty( $team_item->social_repeater ) ) :
212
- $icons = html_entity_decode( $team_item->social_repeater );
213
- $icons_decoded = json_decode( $icons, true );
214
- if ( ! empty( $icons_decoded ) ) :
215
- ?>
216
- <div class="footer">
217
- <?php
218
- foreach ( $icons_decoded as $value ) {
219
- $social_icon = ! empty( $value['icon'] ) ? apply_filters( 'hestia_translate_single_string', $value['icon'], 'Team section' ) : '';
220
- $social_link = ! empty( $value['link'] ) ? apply_filters( 'hestia_translate_single_string', $value['link'], 'Team section' ) : '';
221
-
222
- if ( ! empty( $social_icon ) ) {
223
- $link = '<a href="' . esc_url( $social_link ) . '"';
224
- if ( function_exists( 'hestia_is_external_url' ) ) {
225
- $link .= hestia_is_external_url( $social_link );
226
- }
227
- $link .= ' class="btn btn-just-icon btn-simple"><i class="' . esc_attr( hestia_display_fa_icon( $social_icon ) ) . '"></i></a>';
228
- echo $link;
229
- }
230
- }
231
- ?>
232
- </div>
233
- <?php
234
- endif;
235
- endif;
236
- ?>
237
- </div>
238
- </div>
239
- </div>
240
- </div>
241
- <?php
242
- endforeach;
243
  echo '</div>';
244
- }// End if().
245
- endif;
246
- if ( ! $is_callback ) {
247
- ?>
248
- </div>
249
- <?php
250
  }
251
-
 
 
 
 
 
 
 
 
 
 
 
252
  }
253
 
254
 
113
  * @access public
114
  * @param string $hestia_team_content Section content in json format.
115
  * @param bool $is_callback Flag to check if it's callback or not.
116
+ *
117
+ * @return bool
118
  */
119
  function hestia_team_content( $hestia_team_content, $is_callback = false ) {
120
+
121
+ if ( empty( $hestia_team_content ) ) {
122
+ return false;
123
+ }
124
+
125
+ $hestia_team_content = json_decode( $hestia_team_content );
126
+ if ( empty( $hestia_team_content ) ) {
127
+ return false;
128
+ }
129
+
130
  if ( ! $is_callback ) {
131
+ echo '<div class="hestia-team-content">';
 
 
132
  }
133
+ echo '<div class="row">';
134
+
135
+ foreach ( $hestia_team_content as $team_item ) {
136
+ $image = ! empty( $team_item->image_url ) ? apply_filters( 'hestia_translate_single_string', $team_item->image_url, 'Team section' ) : '';
137
+ $title = ! empty( $team_item->title ) ? apply_filters( 'hestia_translate_single_string', $team_item->title, 'Team section' ) : '';
138
+ $subtitle = ! empty( $team_item->subtitle ) ? apply_filters( 'hestia_translate_single_string', $team_item->subtitle, 'Team section' ) : '';
139
+ $text = ! empty( $team_item->text ) ? apply_filters( 'hestia_translate_single_string', $team_item->text, 'Team section' ) : '';
140
+ $link = ! empty( $team_item->link ) ? apply_filters( 'hestia_translate_single_string', $team_item->link, 'Team section' ) : '';
141
+
142
+ $data = array( $image, $title, $subtitle, $text, $link );
143
+ if ( ! array_filter( $data ) ) {
144
+ continue;
145
+ }
146
+
147
+ $link_markup_open = '';
148
+ $link_markup_close = '';
149
+ if ( ! empty( $link ) ) {
150
+ $link_markup_open = '<a href="' . esc_url( $link ) . '"';
151
+ if ( function_exists( 'hestia_is_external_url' ) ) {
152
+ $link_markup_open .= hestia_is_external_url( $link );
153
+ }
154
+ $link_markup_open .= '>';
155
+
156
+ $link_markup_close = '</a>';
157
+ }
158
+
159
+ if ( function_exists( 'maybe_trigger_fa_loading' ) ) {
160
+ maybe_trigger_fa_loading( $text );
161
+ }
162
+
163
+ echo '<div class="col-xs-12 col-ms-6 col-sm-6">';
164
+ echo '<div class="card card-profile card-plain">';
165
+ echo '<div class="col-md-5">';
166
+ echo '<div class="card-image">';
167
+
168
+ if ( ! empty( $image ) ) {
169
+ /**
170
+ * Alternative text for the Team box image
171
+ * It first checks for the Alt Text option of the attachment
172
+ * If that field is empty, uses the Title of the Testimonial box as alt text
173
+ */
174
+ $alt_image = $title;
175
+ $image_id = function_exists( 'attachment_url_to_postid' ) ? attachment_url_to_postid( preg_replace( '/-\d{1,4}x\d{1,4}/i', '', $image ) ) : '';
176
+ if ( ! empty( $image_id ) && $image_id !== 0 ) {
177
+ $alt_image = get_post_meta( $image_id, '_wp_attachment_image_alt', true );
178
+ }
179
+
180
+ echo $link_markup_open;
181
+
182
+ echo '<img class="img" src="' . esc_url( $image ) . '" ';
183
+ if ( ! empty( $alt_image ) ) {
184
+ echo ' alt="' . esc_attr( $alt_image ) . '" ';
185
+ }
186
+ if ( ! empty( $title ) ) {
187
+ echo ' title="' . esc_attr( $title ) . '" ';
188
+ }
189
+ echo '/>';
190
+
191
+ echo $link_markup_close;
192
+ }
193
+ echo '</div>';
194
+ echo '</div>';
195
+
196
+ echo '<div class="col-md-7">';
197
+ echo '<div class="content">';
198
+
199
+ echo $link_markup_open;
200
+ if ( ! empty( $title ) ) {
201
+ echo '<h4 class="card-title">' . esc_html( $title ) . '</h4>';
202
+ }
203
+
204
+ if ( ! empty( $subtitle ) ) {
205
+ echo '<h6 class="category text-muted">' . esc_html( $subtitle ) . '</h6>';
206
+ }
207
+
208
+ if ( ! empty( $text ) ) {
209
+ echo '<p class="card-description">' . wp_kses_post( html_entity_decode( $text ) ) . '</p>';
210
+ }
211
+ echo $link_markup_close;
212
+
213
+
214
+ if ( ! empty( $team_item->social_repeater ) ) {
215
+ $icons = html_entity_decode( $team_item->social_repeater );
216
+ $icons_decoded = json_decode( $icons, true );
217
+ if ( ! empty( $icons_decoded ) ) {
218
+ echo '<div class="footer">';
219
+ foreach ( $icons_decoded as $value ) {
220
+ $social_icon = ! empty( $value['icon'] ) ? apply_filters( 'hestia_translate_single_string', $value['icon'], 'Team section' ) : '';
221
+ $social_link = ! empty( $value['link'] ) ? apply_filters( 'hestia_translate_single_string', $value['link'], 'Team section' ) : '';
222
+
223
+ if ( ! empty( $social_icon ) ) {
224
+ $link = '<a href="' . esc_url( $social_link ) . '"';
225
+ if ( function_exists( 'hestia_is_external_url' ) ) {
226
+ $link .= hestia_is_external_url( $social_link );
227
+ }
228
+ $link .= ' class="btn btn-just-icon btn-simple"><i class="' . esc_attr( hestia_display_fa_icon( $social_icon ) ) . '"></i></a>';
229
+ echo $link;
230
+ }
231
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
232
  echo '</div>';
233
+ }
 
 
 
 
 
234
  }
235
+
236
+ echo '</div>';
237
+ echo '</div>';
238
+ echo '</div>';
239
+ echo '</div>';
240
+ };
241
+ echo '</div>';
242
+
243
+ if ( ! $is_callback ) {
244
+ echo '</div>';
245
+ }
246
+ return true;
247
  }
248
 
249
 
obfx_modules/menu-icons/js/admin.js CHANGED
@@ -74,7 +74,7 @@ var obfx_menuicons_module_admin = function( $, menu_icons ) {
74
  $( el ).find( '.menu-item-bar .menu-item-handle' ).css( 'overflow', 'initial' );
75
 
76
  $( el ).find( '.obfx-menu-icon ~ span' ).on(
77
- 'hover', function(){
78
  $( this ).parent().find( '.obfx-menu-icon' ).iconpicker(
79
  {
80
  icons: all_icons,
74
  $( el ).find( '.menu-item-bar .menu-item-handle' ).css( 'overflow', 'initial' );
75
 
76
  $( el ).find( '.obfx-menu-icon ~ span' ).on(
77
+ 'mouseover', function(){
78
  $( this ).parent().find( '.obfx-menu-icon' ).iconpicker(
79
  {
80
  icons: all_icons,
readme.md CHANGED
@@ -109,6 +109,15 @@ Activating the Orbit Fox plugin is just like any other plugin. If you've uploade
109
 
110
  ## Changelog ##
111
 
 
 
 
 
 
 
 
 
 
112
  ##### [Version 2.9.12](https://github.com/Codeinwp/themeisle-companion/compare/v2.9.11...v2.9.12) (2020-07-20)
113
 
114
  - New checkbox field in the Contact widget for both Elementor and Beaver Builder
109
 
110
  ## Changelog ##
111
 
112
+ ##### [Version 2.9.13](https://github.com/Codeinwp/themeisle-companion/compare/v2.9.12...v2.9.13) (2020-08-04)
113
+
114
+ - Removed Starter Sites library and import process used for the Neve theme
115
+ - [Fix] Menu Icons module not working with WP 5.5
116
+ - [Fix] Empty team member widget appearing on mobile in Hestia theme
117
+
118
+
119
+
120
+
121
  ##### [Version 2.9.12](https://github.com/Codeinwp/themeisle-companion/compare/v2.9.11...v2.9.12) (2020-07-20)
122
 
123
  - New checkbox field in the Contact widget for both Elementor and Beaver Builder
readme.txt CHANGED
@@ -109,6 +109,15 @@ Activating the Orbit Fox plugin is just like any other plugin. If you've uploade
109
 
110
  == Changelog ==
111
 
 
 
 
 
 
 
 
 
 
112
  ##### [Version 2.9.12](https://github.com/Codeinwp/themeisle-companion/compare/v2.9.11...v2.9.12) (2020-07-20)
113
 
114
  - New checkbox field in the Contact widget for both Elementor and Beaver Builder
109
 
110
  == Changelog ==
111
 
112
+ ##### [Version 2.9.13](https://github.com/Codeinwp/themeisle-companion/compare/v2.9.12...v2.9.13) (2020-08-04)
113
+
114
+ - Removed Starter Sites library and import process used for the Neve theme
115
+ - [Fix] Menu Icons module not working with WP 5.5
116
+ - [Fix] Empty team member widget appearing on mobile in Hestia theme
117
+
118
+
119
+
120
+
121
  ##### [Version 2.9.12](https://github.com/Codeinwp/themeisle-companion/compare/v2.9.11...v2.9.12) (2020-07-20)
122
 
123
  - New checkbox field in the Contact widget for both Elementor and Beaver Builder
themeisle-companion.php CHANGED
@@ -15,7 +15,7 @@
15
  * Plugin Name: Orbit Fox Companion
16
  * Plugin URI: https://orbitfox.com/
17
  * Description: This swiss-knife plugin comes with a quality template library, menu/sharing icons modules, Gutenberg blocks, and newly added Elementor/BeaverBuilder page builder widgets on each release.
18
- * Version: 2.9.12
19
  * Author: Themeisle
20
  * Author URI: https://orbitfox.com/
21
  * License: GPL-2.0+
15
  * Plugin Name: Orbit Fox Companion
16
  * Plugin URI: https://orbitfox.com/
17
  * Description: This swiss-knife plugin comes with a quality template library, menu/sharing icons modules, Gutenberg blocks, and newly added Elementor/BeaverBuilder page builder widgets on each release.
18
+ * Version: 2.9.13
19
  * Author: Themeisle
20
  * Author URI: https://orbitfox.com/
21
  * License: GPL-2.0+
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
- return ComposerAutoloaderInit1e269f633082fed79b894754c7016454::getLoader();
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInit2a1cccd14037edb023a18d5cc807dc24::getLoader();
vendor/codeinwp/gutenberg-blocks/CHANGELOG.md CHANGED
@@ -1,3 +1,12 @@
 
 
 
 
 
 
 
 
 
1
  ##### [Version 1.5.3](https://github.com/Codeinwp/gutenberg-blocks/compare/v1.5.2...v1.5.3) (2020-06-22)
2
 
3
  - Store images locally when importing templates
1
+ ##### [Version 1.5.4](https://github.com/Codeinwp/gutenberg-blocks/compare/v1.5.3...v1.5.4) (2020-08-03)
2
+
3
+ - Button Group Improvements
4
+ - Fixed Caption field missing from Slider Block
5
+ - Image management in Slider & Gallery Block
6
+ - Fix issue with CSS inline loading twice
7
+ - Fix Posts Block offset bug
8
+ - Remove default font size from Posts Block
9
+
10
  ##### [Version 1.5.3](https://github.com/Codeinwp/gutenberg-blocks/compare/v1.5.2...v1.5.3) (2020-06-22)
11
 
12
  - Store images locally when importing templates
vendor/codeinwp/gutenberg-blocks/build/blocks.js CHANGED
@@ -1 +1 @@
1
- !function(e){function t(t){for(var a,r,i=t[0],c=t[1],d=t[2],u=0,m=[];u<i.length;u++)r=i[u],Object.prototype.hasOwnProperty.call(l,r)&&l[r]&&m.push(l[r][0]),l[r]=0;for(a in c)Object.prototype.hasOwnProperty.call(c,a)&&(e[a]=c[a]);for(p&&p(t);m.length;)m.shift()();return o.push.apply(o,d||[]),n()}function n(){for(var e,t=0;t<o.length;t++){for(var n=o[t],a=!0,i=1;i<n.length;i++){var c=n[i];0!==l[c]&&(a=!1)}a&&(o.splice(t--,1),e=r(r.s=n[0]))}return e}var a={},l={2:0},o=[];function r(t){if(a[t])return a[t].exports;var n=a[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,r),n.l=!0,n.exports}r.e=function(e){var t=[],n=l[e];if(0!==n)if(n)t.push(n[2]);else{var a=new Promise((function(t,a){n=l[e]=[t,a]}));t.push(n[2]=a);var o,i=document.createElement("script");i.charset="utf-8",i.timeout=120,r.nc&&i.setAttribute("nonce",r.nc),i.src=function(e){return r.p+"chunk-"+({}[e]||e)+".js"}(e);var c=new Error;o=function(t){i.onerror=i.onload=null,clearTimeout(d);var n=l[e];if(0!==n){if(n){var a=t&&("load"===t.type?"missing":t.type),o=t&&t.target&&t.target.src;c.message="Loading chunk "+e+" failed.\n("+a+": "+o+")",c.name="ChunkLoadError",c.type=a,c.request=o,n[1](c)}l[e]=void 0}};var d=setTimeout((function(){o({type:"timeout",target:i})}),12e4);i.onerror=i.onload=o,document.head.appendChild(i)}return Promise.all(t)},r.m=e,r.c=a,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)r.d(n,a,function(t){return e[t]}.bind(null,a));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r.oe=function(e){throw console.error(e),e};var i=window.tiOtterWebpackJsonp=window.tiOtterWebpackJsonp||[],c=i.push.bind(i);i.push=t,i=i.slice();for(var d=0;d<i.length;d++)t(i[d]);var p=c;o.push([36,0]),n()}([,,function(e,t,n){"use strict";var a=n(0),l=n.n(a),o=(n(40),wp.components.ColorIndicator);t.a=function(e){var t=e.label,n=e.colorValue,a=e.className,r=e.children;return wp.element.createElement("div",{className:l()("components-base-control","wp-block-themeisle-blocks-color-base-control",a)},wp.element.createElement("div",{className:"components-base-control__field"},t&&wp.element.createElement("span",{className:"components-base-control__label"},t,n&&wp.element.createElement(o,{colorValue:n})),r))}},function(e,t,n){"use strict";n.d(t,"m",(function(){return r})),n.d(t,"a",(function(){return i})),n.d(t,"d",(function(){return c})),n.d(t,"g",(function(){return d})),n.d(t,"f",(function(){return p})),n.d(t,"i",(function(){return u})),n.d(t,"h",(function(){return m})),n.d(t,"r",(function(){return s})),n.d(t,"j",(function(){return b})),n.d(t,"o",(function(){return g})),n.d(t,"n",(function(){return f})),n.d(t,"q",(function(){return y})),n.d(t,"p",(function(){return h})),n.d(t,"s",(function(){return w})),n.d(t,"b",(function(){return v})),n.d(t,"t",(function(){return k})),n.d(t,"k",(function(){return T})),n.d(t,"c",(function(){return E})),n.d(t,"l",(function(){return x})),n.d(t,"e",(function(){return C}));var a=wp.components,l=a.Path,o=a.SVG,r=function(){return wp.element.createElement(o,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 29 32",width:"20",height:"20",className:"otter-icon"},wp.element.createElement(l,{d:"M19.831 7.877c0.001-0.003 0.001-0.005 0.001-0.009s-0-0.006-0.001-0.009l0 0c-0.047-0.081-0.092-0.164-0.132-0.247l-0.057-0.115c-0.277-0.498-0.381-0.99-1.033-1.064h-0.045c-0.001 0-0.002 0-0.003 0-0.486 0-0.883 0.382-0.908 0.862l-0 0.002c0.674 0.126 1.252 0.278 1.813 0.468l-0.092-0.027 0.283 0.096 0.147 0.053s0.028 0 0.028-0.011z"}),wp.element.createElement(l,{d:"M23.982 13.574c-0.008-2.41-0.14-4.778-0.39-7.112l0.026 0.299 0.070-0.019c0.459-0.139 0.787-0.558 0.787-1.053 0-0.479-0.307-0.887-0.735-1.037l-0.008-0.002h-0.026c-0.479-0.164-0.874-0.468-1.149-0.861l-0.005-0.007c-2.7-3.96-8.252-3.781-8.252-3.781s-5.55-0.179-8.25 3.781c-0.28 0.401-0.676 0.704-1.14 0.862l-0.016 0.005c-0.441 0.148-0.754 0.557-0.754 1.040 0 0.009 0 0.017 0 0.026l-0-0.001c-0 0.010-0.001 0.022-0.001 0.034 0 0.493 0.335 0.907 0.789 1.029l0.007 0.002 0.045 0.011c-0.224 2.034-0.356 4.403-0.364 6.801l-0 0.012s-9.493 13.012-1.277 17.515c4.733 2.431 6.881-0.769 6.881-0.769s1.397-1.661-1.784-3.355v-4.609c0.006-0.344 0.282-0.621 0.625-0.628h1.212v-0.59c0-0.275 0.223-0.498 0.498-0.498v0h1.665c0.274 0.001 0.496 0.224 0.496 0.498 0 0 0 0 0 0v0 0.59h2.721v-0.59c0-0.275 0.223-0.498 0.498-0.498v0h1.665c0.271 0.005 0.49 0.226 0.49 0.498 0 0 0 0 0 0v0 0.59h1.209c0 0 0 0 0 0 0.349 0 0.633 0.28 0.639 0.627v4.584c-3.193 1.703-1.784 3.355-1.784 3.355s2.148 3.193 6.879 0.769c8.222-4.503-1.269-17.515-1.269-17.515zM22.586 10.261c-0.097 1.461-0.67 2.772-1.563 3.797l0.007-0.008c-1.703 2.010-4.407 3.249-6.721 4.432v0c-2.325-1.177-5.026-2.416-6.736-4.432-0.883-1.019-1.455-2.329-1.555-3.769l-0.001-0.020c-0.126-2.22 0.583-5.929 3.044-6.74 2.416-0.788 3.947 1.288 4.494 2.227 0.152 0.258 0.429 0.428 0.745 0.428s0.593-0.17 0.743-0.424l0.002-0.004c0.551-0.932 2.080-3.008 4.494-2.22 2.474 0.805 3.174 4.513 3.046 6.734z"}),wp.element.createElement(l,{d:"M19.463 10.087h-0.028c-0.192 0.026-0.121 0.251-0.047 0.356 0.254 0.349 0.407 0.787 0.407 1.26 0 0.006-0 0.012-0 0.018v-0.001c-0.001 0.469-0.255 0.878-0.633 1.1l-0.006 0.003c-0.739 0.426-1.377-0.145-2.054-0.398-0.72-0.269-1.552-0.434-2.42-0.455l-0.009-0v-1.033c1.020-0.233 1.894-0.76 2.551-1.486l0.004-0.004c0.151-0.163 0.244-0.383 0.244-0.623 0-0.316-0.159-0.595-0.402-0.76l-0.003-0.002c-0.768-0.551-1.728-0.881-2.764-0.881-1.054 0-2.029 0.341-2.819 0.92l0.013-0.009c-0.224 0.166-0.367 0.429-0.367 0.726 0 0.226 0.083 0.433 0.221 0.591l-0.001-0.001c0.665 0.751 1.55 1.295 2.553 1.53l0.033 0.007v1.050c-0.742 0.021-1.448 0.14-2.118 0.343l0.057-0.015c-0.341 0.103-0.631 0.219-0.908 0.358l0.033-0.015c-0.519 0.26-1.037 0.436-1.58 0.121-0.371-0.213-0.617-0.607-0.617-1.058 0-0.002 0-0.004 0-0.007v0c0-0.002 0-0.004 0-0.007 0-0.47 0.153-0.905 0.411-1.257l-0.004 0.006c0.047-0.068 0.089-0.17 0.026-0.241s-0.189 0-0.27 0.030c-0.189 0.099-0.348 0.227-0.479 0.381l-0.002 0.002c-0.245 0.296-0.394 0.679-0.394 1.097 0 0.004 0 0.007 0 0.011v-0.001c0.008 0.706 0.393 1.321 0.964 1.651l0.009 0.005c0.296 0.178 0.654 0.283 1.036 0.283 0.364 0 0.706-0.095 1.001-0.263l-0.010 0.005c0.877-0.461 1.917-0.731 3.019-0.731 0.069 0 0.137 0.001 0.206 0.003l-0.010-0h0.030c1.277 0 2.382 0.266 3.266 0.775 0.27 0.159 0.594 0.253 0.94 0.253 0.001 0 0.002 0 0.003 0h-0c0.355-0.002 0.688-0.098 0.974-0.265l-0.009 0.005c0.606-0.357 1.007-1.007 1.007-1.75 0-0.001 0-0.003 0-0.004v0c0.001-0.026 0.002-0.056 0.002-0.086 0-0.625-0.34-1.171-0.846-1.462l-0.008-0.004c-0.056-0.040-0.125-0.065-0.199-0.070l-0.001-0zM13.101 8.831c-0.238 0.213-0.468 0.581-0.832 0.345-0.061-0.041-0.114-0.086-0.161-0.136l-0-0c-0.063-0.063-0.101-0.15-0.101-0.247 0-0.133 0.074-0.248 0.182-0.308l0.002-0.001c0.594-0.309 1.203-0.543 1.884-0.49-0.324 0.281-0.649 0.56-0.973 0.837z"}),wp.element.createElement(l,{d:"M15.89 13.578c-0.367 0.483-0.941 0.792-1.588 0.792s-1.221-0.309-1.585-0.787l-0.004-0.005c-0.064-0.103-0.177-0.171-0.306-0.171-0.199 0-0.36 0.161-0.36 0.36 0 0.091 0.034 0.174 0.090 0.238l-0-0c0.499 0.659 1.283 1.080 2.164 1.080s1.665-0.421 2.159-1.073l0.005-0.007c0.043-0.059 0.068-0.132 0.068-0.212 0-0.116-0.055-0.22-0.14-0.286l-0.001-0.001c-0.059-0.045-0.134-0.072-0.215-0.072-0.117 0-0.221 0.056-0.286 0.143l-0.001 0.001z"}),wp.element.createElement(l,{d:"M18.507 11.707c0 0.194-0.157 0.351-0.351 0.351s-0.351-0.157-0.351-0.351c0-0.194 0.157-0.351 0.351-0.351s0.351 0.157 0.351 0.351z"}),wp.element.createElement(l,{d:"M17.389 11.049c0 0.194-0.157 0.351-0.351 0.351s-0.351-0.157-0.351-0.351c0-0.194 0.157-0.351 0.351-0.351s0.351 0.157 0.351 0.351z"}),wp.element.createElement(l,{d:"M10.798 11.707c0 0.194-0.157 0.351-0.351 0.351s-0.351-0.157-0.351-0.351c0-0.194 0.157-0.351 0.351-0.351s0.351 0.157 0.351 0.351z"}),wp.element.createElement(l,{d:"M11.918 11.049c0 0.194-0.157 0.351-0.351 0.351s-0.351-0.157-0.351-0.351c0-0.194 0.157-0.351 0.351-0.351s0.351 0.157 0.351 0.351z"}),wp.element.createElement(l,{d:"M8.773 7.877c-0.001-0.003-0.002-0.005-0.002-0.009s0.001-0.006 0.002-0.009l-0 0c0.047-0.081 0.089-0.164 0.132-0.247 0.019-0.038 0.036-0.079 0.057-0.115 0.275-0.498 0.379-0.99 1.033-1.064h0.045c0 0 0.001 0 0.001 0 0.487 0 0.884 0.382 0.91 0.862l0 0.002c-0.678 0.124-1.261 0.277-1.827 0.468l0.092-0.027-0.275 0.096-0.1 0.036-0.045 0.017s-0.023 0-0.023-0.011z"}))},i=function(){return wp.element.createElement(o,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l,{d:"M17.348 20.657v-0.135c1.029-0.471 1.758-1.446 1.916-2.563 0.434-0.157 0.739-0.576 0.739-1.051 0-0.408-0.221-0.774-0.562-0.969 0.036-0.111 0.065-0.223 0.087-0.335 0.182-0.901-0.025-1.822-0.583-2.592-0.548-0.758-1.373-1.281-2.321-1.473-0.255-0.051-0.515-0.077-0.773-0.077-0.813 0-1.607 0.262-2.234 0.739-0.646 0.49-1.088 1.187-1.244 1.962-0.118 0.587-0.070 1.193 0.139 1.762-0.355 0.191-0.59 0.566-0.59 0.985 0 0.481 0.31 0.901 0.751 1.055 0.163 1.144 0.916 2.128 1.978 2.587v0.106c-2.207 0.5-3.729 2.151-3.729 4.079v0.515h10.153v-0.515c0-1.929-1.522-3.58-3.729-4.080zM15.853 12.492c0.189 0 0.381 0.019 0.569 0.057 0.693 0.14 1.293 0.519 1.689 1.066 0.369 0.511 0.518 1.111 0.423 1.701-0.507-0.237-1.173-0.487-1.874-0.583-1.318-0.18-1.339-0.241-1.417-0.469l-0.252-0.728-0.579 0.512c-0.062 0.054-0.528 0.464-1.066 0.91-0.015-0.198-0.002-0.396 0.037-0.593 0.219-1.086 1.257-1.873 2.469-1.873zM13.67 16.025c0.361-0.292 0.718-0.594 0.977-0.816 0.358 0.323 0.916 0.414 1.874 0.545 0.65 0.089 1.287 0.349 1.748 0.578v1.161c0 1.268-1.031 2.299-2.299 2.299s-2.299-1.031-2.299-2.299v-1.468zM15.682 20.81c0.213 0.019 0.425 0.017 0.635-0.006v0.318l-0.318 0.177-0.317-0.176v-0.313zM12.006 24.22c0.237-1.154 1.25-2.113 2.646-2.501v0.010l1.346 0.748 1.35-0.748v-0.010c1.396 0.388 2.409 1.348 2.646 2.502l-7.987-0zM21.076 27.499h-10.153c-0.307 0-0.556-0.249-0.556-0.556s0.249-0.556 0.556-0.556h10.153c0.307 0 0.556 0.249 0.556 0.556s-0.249 0.556-0.556 0.556zM28.112 3.393h-9.422v-1.689c0-0.832-0.677-1.509-1.509-1.509h-2.363c-0.832 0-1.509 0.677-1.509 1.509v1.689h-9.422c-0.832 0-1.509 0.677-1.509 1.509v25.395c0 0.832 0.677 1.509 1.509 1.509h24.225c0.832 0 1.509-0.677 1.509-1.509v-25.395c-0-0.832-0.677-1.509-1.509-1.509zM14.421 1.703c0-0.219 0.178-0.397 0.397-0.397h2.363c0.219 0 0.397 0.178 0.397 0.397v5.083c0 0.219-0.178 0.397-0.397 0.397h-2.363c-0.219 0-0.397-0.178-0.397-0.397v-5.083zM28.509 30.297c0 0.219-0.178 0.397-0.397 0.397h-24.225c-0.219 0-0.397-0.178-0.397-0.397v-25.395c0-0.219 0.178-0.397 0.397-0.397h9.422v2.282c0 0.832 0.677 1.509 1.509 1.509h2.363c0.832 0 1.509-0.677 1.509-1.509v-2.282h9.422c0.219 0 0.397 0.178 0.397 0.397v25.395z"}))},c=function(){return wp.element.createElement(o,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l,{d:"M30.457 11.777h-28.914c-0.829 0-1.503 0.674-1.503 1.503v5.606c0 0.829 0.674 1.503 1.503 1.503h28.914c0.829 0 1.503-0.674 1.503-1.503v-5.606c-0-0.829-0.674-1.503-1.503-1.503zM30.84 18.886c0 0.211-0.172 0.383-0.383 0.383h-28.914c-0.211 0-0.383-0.172-0.383-0.383v-5.606c0-0.211 0.172-0.383 0.383-0.383h28.914c0.211 0 0.383 0.172 0.383 0.383v5.606zM4.67 15.133c-0.525 0-0.95 0.425-0.95 0.95s0.425 0.95 0.95 0.95 0.95-0.425 0.95-0.95c0-0.525-0.425-0.95-0.95-0.95zM7.947 15.133c-0.525 0-0.95 0.425-0.95 0.95s0.425 0.95 0.95 0.95c0.525 0 0.95-0.425 0.95-0.95s-0.425-0.95-0.95-0.95zM11.224 15.133c-0.525 0-0.95 0.425-0.95 0.95s0.425 0.95 0.95 0.95c0.525 0 0.95-0.425 0.95-0.95s-0.425-0.95-0.95-0.95zM27.871 15.523h-11.386c-0.309 0-0.56 0.251-0.56 0.56s0.251 0.56 0.56 0.56h11.386c0.309 0 0.56-0.251 0.56-0.56s-0.251-0.56-0.56-0.56zM30.457 23.388h-28.914c-0.829 0-1.503 0.674-1.503 1.503v5.606c0 0.829 0.674 1.503 1.503 1.503h28.914c0.829 0 1.503-0.674 1.503-1.503v-5.606c-0-0.829-0.674-1.503-1.503-1.503zM30.84 30.497c0 0.211-0.172 0.383-0.383 0.383h-28.914c-0.211 0-0.383-0.172-0.383-0.383v-5.606c0-0.211 0.172-0.383 0.383-0.383h28.914c0.211 0 0.383 0.172 0.383 0.383v5.606zM4.67 26.744c-0.525 0-0.95 0.425-0.95 0.95s0.425 0.95 0.95 0.95 0.95-0.425 0.95-0.95c0-0.525-0.425-0.95-0.95-0.95zM7.947 26.744c-0.525 0-0.95 0.425-0.95 0.95s0.425 0.95 0.95 0.95c0.525 0 0.95-0.425 0.95-0.95s-0.425-0.95-0.95-0.95zM11.224 26.744c-0.525 0-0.95 0.425-0.95 0.95s0.425 0.95 0.95 0.95c0.525 0 0.95-0.425 0.95-0.95s-0.425-0.95-0.95-0.95zM27.871 27.134h-11.386c-0.309 0-0.56 0.251-0.56 0.56s0.251 0.56 0.56 0.56h11.386c0.309 0 0.56-0.251 0.56-0.56s-0.251-0.56-0.56-0.56zM30.457 0h-28.914c-0.829 0-1.503 0.674-1.503 1.503v5.606c0 0.829 0.674 1.503 1.503 1.503h28.914c0.829 0 1.503-0.674 1.503-1.503v-5.606c0-0.829-0.674-1.503-1.503-1.503zM30.84 7.109c0 0.211-0.172 0.383-0.383 0.383h-28.914c-0.211 0-0.383-0.172-0.383-0.383v-5.606c0-0.211 0.172-0.383 0.383-0.383h28.914c0.211 0 0.383 0.172 0.383 0.383v5.606zM5.62 4.306c0 0.525-0.425 0.95-0.95 0.95s-0.95-0.425-0.95-0.95c0-0.525 0.425-0.95 0.95-0.95s0.95 0.425 0.95 0.95zM7.947 3.356c-0.525 0-0.95 0.425-0.95 0.95s0.425 0.95 0.95 0.95c0.525 0 0.95-0.425 0.95-0.95s-0.425-0.95-0.95-0.95zM11.224 3.356c-0.525 0-0.95 0.425-0.95 0.95s0.425 0.95 0.95 0.95c0.525 0 0.95-0.425 0.95-0.95s-0.425-0.95-0.95-0.95zM27.871 3.746h-11.386c-0.309 0-0.56 0.251-0.56 0.56s0.251 0.56 0.56 0.56h11.386c0.309 0 0.56-0.251 0.56-0.56s-0.251-0.56-0.56-0.56z"}))},d=function(){return wp.element.createElement(o,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l,{d:"M30.584 0.099h-29.068c-0.781 0-1.417 0.635-1.417 1.416v29.068c0 0.781 0.635 1.416 1.417 1.416h29.068c0.781 0 1.416-0.635 1.416-1.416v-29.068c0-0.781-0.635-1.416-1.416-1.416zM1.515 1.219h29.068c0.163 0 0.296 0.133 0.296 0.296v3.476h-29.661v-3.476c0-0.163 0.133-0.296 0.296-0.296zM30.584 30.88h-29.068c-0.163 0-0.296-0.133-0.296-0.296v-24.472h29.661v24.472c0 0.163-0.133 0.296-0.296 0.296zM26.999 20.461h-21.062c-0.838 0-1.52 0.682-1.52 1.52v5.601c0 0.838 0.682 1.52 1.52 1.52h21.062c0.838 0 1.52-0.682 1.52-1.52v-5.601c0-0.838-0.682-1.52-1.52-1.52zM27.399 27.582c0 0.221-0.18 0.4-0.4 0.4h-21.062c-0.221 0-0.4-0.18-0.4-0.4v-5.601c0-0.221 0.179-0.4 0.4-0.4h21.062c0.221 0 0.4 0.179 0.4 0.4v5.601zM5.937 16.247h5.432c0.838 0 1.52-0.682 1.52-1.52v-5.432c0-0.838-0.682-1.52-1.52-1.52h-5.432c-0.838 0-1.52 0.682-1.52 1.52v5.432c0 0.838 0.682 1.52 1.52 1.52zM5.537 9.294c0-0.221 0.179-0.4 0.4-0.4h5.432c0.221 0 0.4 0.179 0.4 0.4v5.432c0 0.221-0.18 0.4-0.4 0.4h-5.432c-0.221 0-0.4-0.18-0.4-0.4v-5.432zM27.959 17.714h-22.982c-0.309 0-0.56 0.251-0.56 0.56s0.251 0.56 0.56 0.56h22.982c0.309 0 0.56-0.251 0.56-0.56s-0.251-0.56-0.56-0.56zM27.959 14.793h-12.696c-0.309 0-0.56 0.251-0.56 0.56s0.251 0.56 0.56 0.56h12.696c0.309 0 0.56-0.251 0.56-0.56s-0.251-0.56-0.56-0.56zM27.959 11.433h-12.696c-0.309 0-0.56 0.251-0.56 0.56s0.251 0.56 0.56 0.56h12.696c0.309 0 0.56-0.251 0.56-0.56s-0.251-0.56-0.56-0.56zM27.959 8.072h-12.696c-0.309 0-0.56 0.251-0.56 0.56s0.251 0.56 0.56 0.56h12.696c0.309 0 0.56-0.251 0.56-0.56s-0.251-0.56-0.56-0.56zM4.543 3.051c0 0.497-0.403 0.9-0.9 0.9s-0.9-0.403-0.9-0.9c0-0.497 0.403-0.9 0.9-0.9s0.9 0.403 0.9 0.9zM7.384 3.051c0 0.497-0.403 0.9-0.9 0.9s-0.9-0.403-0.9-0.9c0-0.497 0.403-0.9 0.9-0.9s0.9 0.403 0.9 0.9zM10.224 3.051c0 0.497-0.403 0.9-0.9 0.9s-0.9-0.403-0.9-0.9c0-0.497 0.403-0.9 0.9-0.9s0.9 0.403 0.9 0.9z"}))},p=function(){return wp.element.createElement(o,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l,{d:"M31.276 3.351h-14.587l-3.23-3.028c-0.103-0.097-0.239-0.15-0.38-0.15h-12.354c-0.307 0-0.556 0.249-0.556 0.556v30.697c0 0.307 0.249 0.556 0.556 0.556h30.551c0.307 0 0.556-0.249 0.556-0.556v-27.518c0-0.307-0.249-0.556-0.556-0.556zM1.281 1.286h11.578l3.23 3.028c0.103 0.097 0.239 0.15 0.38 0.15h14.25v3.013h-29.439v-6.191zM30.719 30.87h-29.439v-22.281h29.439v22.281z"}))},u=function(){return wp.element.createElement(o,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l,{d:"M30.958 13.988h-0.64c-0.572-5.298-4.029-9.744-8.764-11.73h5.439v0.555c0 0.309 0.25 0.559 0.559 0.559h2.23c0.309 0 0.559-0.25 0.559-0.559v-2.229c0-0.309-0.25-0.559-0.559-0.559h-2.23c-0.309 0-0.559 0.25-0.559 0.559v0.555h-9.319v-0.555c0-0.309-0.25-0.559-0.559-0.559h-2.23c-0.309 0-0.559 0.25-0.559 0.559v0.555h-9.319v-0.555c0-0.309-0.25-0.559-0.559-0.559h-2.229c-0.309 0-0.559 0.25-0.559 0.559v2.229c0 0.309 0.25 0.559 0.559 0.559h2.229c0.309 0 0.559-0.25 0.559-0.559v-0.555h5.439c-4.735 1.987-8.191 6.432-8.764 11.73h-0.64c-0.309 0-0.559 0.25-0.559 0.559v2.229c0 0.309 0.25 0.559 0.559 0.559h2.23c0.309 0 0.559-0.25 0.559-0.559v-2.229c0-0.309-0.25-0.559-0.559-0.559h-0.464c0.709-6.044 5.49-10.86 11.518-11.621v0.446c0 0.309 0.25 0.559 0.559 0.559h2.23c0.309 0 0.559-0.25 0.559-0.559v-0.446c6.028 0.761 10.809 5.578 11.518 11.621h-0.464c-0.309 0-0.559 0.25-0.559 0.559v2.23c0 0.309 0.25 0.559 0.559 0.559h2.23c0.309 0 0.559-0.25 0.559-0.559v-2.229c0-0.309-0.25-0.559-0.559-0.559zM29.223 2.253h-1.111v-1.111h1.111v1.111zM2.777 1.142h1.111v1.111h-1.111v-1.111zM2.712 15.608v0.609h-1.111v-0.973c0.001-0.046 0.002-0.092 0.003-0.138h1.108v0.501zM16 1.142c0.186 0 0.371 0.005 0.555 0.012v1.099h-1.111v-1.099c0.184-0.007 0.37-0.012 0.556-0.012zM30.399 15.25v0.967h-1.111v-1.111h1.107c0.002 0.048 0.003 0.096 0.004 0.144zM16.512 4.461c-0.089-0.204-0.29-0.336-0.513-0.336s-0.424 0.132-0.513 0.336l-7.287 16.694c-0.058 0.134-0.062 0.285-0.011 0.421l0.009 0.023c0.059 0.157 0.186 0.279 0.345 0.333 1.743 0.585 2.914 2.213 2.914 4.052 0 0.766-0.206 1.518-0.595 2.175-0.012 0.020-0.022 0.041-0.032 0.063-0.063 0.091-0.101 0.201-0.101 0.32v2.832c0 0.307 0.248 0.557 0.555 0.559l9.42 0.068c0.001 0 0.003 0 0.004 0 0.307 0 0.557-0.248 0.559-0.555 0.002-0.309-0.246-0.561-0.555-0.563l-8.865-0.064v-1.405h8.654c0.234 0 0.443-0.145 0.524-0.364l0.153-0.41c0.059-0.158 0.043-0.335-0.043-0.48-0.389-0.657-0.595-1.409-0.595-2.174 0-1.838 1.171-3.467 2.914-4.052 0.16-0.054 0.287-0.176 0.346-0.334l0.009-0.023c0.051-0.136 0.047-0.287-0.011-0.42l-7.287-16.694zM16 20.028c0.619 0 1.122 0.503 1.122 1.122s-0.504 1.122-1.122 1.122c-0.619 0-1.122-0.503-1.122-1.122s0.503-1.122 1.122-1.122zM19.424 25.983c0 0.802 0.179 1.591 0.52 2.31h-7.887c0.341-0.719 0.52-1.509 0.52-2.31 0-2.121-1.235-4.020-3.127-4.894l5.991-13.726v11.616c-0.966 0.249-1.682 1.128-1.682 2.17 0 1.236 1.005 2.241 2.241 2.241s2.241-1.005 2.241-2.241c0-1.043-0.716-1.921-1.682-2.17v-11.616l5.991 13.726c-1.892 0.874-3.127 2.773-3.127 4.894z"}))},m=function(){return wp.element.createElement(o,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l,{d:"M30.424 0.171h-28.847c-0.775 0-1.406 0.631-1.406 1.406v28.848c0 0.775 0.631 1.406 1.406 1.406h28.847c0.775 0 1.406-0.631 1.406-1.406v-28.848c0-0.775-0.631-1.406-1.406-1.406zM1.576 1.282h28.847c0.162 0 0.294 0.132 0.294 0.294v3.45h-29.435v-3.45c0-0.162 0.132-0.294 0.294-0.294zM30.424 30.718h-28.847c-0.162 0-0.294-0.132-0.294-0.294v-24.286h29.435v24.286c0 0.162-0.132 0.294-0.294 0.294zM3.688 3.994c0.493 0 0.893-0.4 0.893-0.893s-0.4-0.893-0.893-0.893-0.893 0.4-0.893 0.893c0 0.493 0.4 0.893 0.893 0.893zM6.507 3.994c0.493 0 0.893-0.4 0.893-0.893s-0.4-0.893-0.893-0.893-0.893 0.4-0.893 0.893c0 0.493 0.4 0.893 0.893 0.893zM9.326 3.994c0.493 0 0.893-0.4 0.893-0.893s-0.4-0.893-0.893-0.893-0.893 0.4-0.893 0.893c0 0.493 0.4 0.893 0.893 0.893zM20.662 19.394l3.855-3.758c0.152-0.148 0.206-0.369 0.141-0.57s-0.239-0.348-0.449-0.378l-5.328-0.774-2.383-4.828c-0.094-0.19-0.287-0.31-0.498-0.31s-0.405 0.12-0.498 0.31l-2.383 4.828-5.328 0.774c-0.209 0.030-0.383 0.177-0.449 0.378s-0.011 0.422 0.141 0.57l3.855 3.758-0.91 5.307c-0.036 0.209 0.050 0.419 0.221 0.544s0.398 0.141 0.585 0.042l4.766-2.506 4.766 2.506c0.081 0.043 0.17 0.064 0.259 0.064 0.115 0 0.23-0.036 0.327-0.106 0.171-0.124 0.257-0.335 0.221-0.544l-0.91-5.307zM16.259 21.661c-0.162-0.085-0.355-0.085-0.517 0l-4.027 2.117 0.769-4.485c0.031-0.18-0.029-0.364-0.16-0.492l-3.258-3.176 4.503-0.654c0.181-0.026 0.338-0.14 0.418-0.304l2.014-4.080 2.014 4.080c0.081 0.164 0.238 0.278 0.419 0.304l4.503 0.654-3.258 3.176c-0.131 0.128-0.191 0.312-0.16 0.492l0.769 4.485-4.027-2.117zM16 25.179c-0.307 0-0.556 0.249-0.556 0.556v1.887c0 0.307 0.249 0.556 0.556 0.556s0.556-0.249 0.556-0.556v-1.887c0-0.307-0.249-0.556-0.556-0.556zM25.319 20.446l-1.794-0.583c-0.293-0.095-0.606 0.065-0.7 0.357s0.065 0.606 0.357 0.7l1.794 0.583c0.057 0.019 0.115 0.027 0.172 0.027 0.234 0 0.452-0.149 0.529-0.384 0.095-0.292-0.065-0.606-0.357-0.7zM20.218 12.197c0.099 0.072 0.213 0.106 0.326 0.106 0.172 0 0.341-0.079 0.45-0.229l1.109-1.526c0.18-0.248 0.125-0.596-0.123-0.776s-0.596-0.125-0.776 0.123l-1.109 1.526c-0.18 0.248-0.125 0.596 0.123 0.776zM11.006 12.075c0.109 0.15 0.278 0.229 0.45 0.229 0.113 0 0.228-0.034 0.326-0.106 0.248-0.18 0.303-0.528 0.123-0.776l-1.109-1.526c-0.18-0.248-0.528-0.303-0.776-0.123s-0.303 0.528-0.123 0.776l1.109 1.526zM8.475 19.863l-1.794 0.583c-0.292 0.095-0.452 0.408-0.357 0.7 0.076 0.235 0.294 0.384 0.529 0.384 0.057 0 0.115-0.009 0.172-0.027l1.794-0.583c0.292-0.095 0.452-0.408 0.357-0.7s-0.408-0.452-0.7-0.357z"}))},s=function(){return wp.element.createElement(o,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l,{d:"M6.348 13.197c-0.308 0-0.557 0.249-0.557 0.557s0.249 0.557 0.557 0.557c0.495 0 1.655 0.598 1.655 1.759 0 0.308 0.249 0.557 0.557 0.557s0.557-0.249 0.557-0.557c0-1.886-1.803-2.873-2.769-2.873zM25.842 3.161c0.495 0 1.655 0.598 1.655 1.759 0 0.308 0.249 0.557 0.557 0.557s0.557-0.249 0.557-0.557c0-1.886-1.802-2.873-2.769-2.873-0.308 0-0.557 0.249-0.557 0.557s0.249 0.557 0.557 0.557zM25.742 22.433c-0.826 0-1.641 0.22-2.359 0.636-0.567 0.328-1.040 0.758-1.41 1.252l-11.344-6.569c0.069-0.174 0.13-0.353 0.179-0.537 0.276-1.036 0.194-2.11-0.226-3.079l11.319-6.555c0.878 1.235 2.316 1.986 3.848 1.986 0.825 0 1.641-0.22 2.359-0.636 1.090-0.631 1.869-1.649 2.194-2.866s0.155-2.488-0.476-3.578c-0.841-1.452-2.406-2.353-4.085-2.353-0.826 0-1.641 0.22-2.359 0.636-2.051 1.188-2.872 3.694-2.015 5.833l-11.344 6.569c-0.884-1.176-2.285-1.888-3.776-1.888-0.825 0-1.641 0.22-2.359 0.636-2.25 1.303-3.021 4.194-1.718 6.444 0.841 1.452 2.406 2.353 4.085 2.353 0.826 0 1.641-0.22 2.359-0.636 0.595-0.345 1.097-0.805 1.483-1.35l11.319 6.554c-0.567 1.323-0.526 2.888 0.249 4.227 0.841 1.452 2.406 2.353 4.085 2.353 0.825 0 1.641-0.22 2.359-0.636 1.090-0.631 1.869-1.649 2.194-2.866s0.155-2.488-0.476-3.578c-0.841-1.452-2.406-2.353-4.085-2.353zM23.941 1.734c0.549-0.318 1.171-0.486 1.801-0.486 1.283 0 2.479 0.689 3.121 1.798 0.482 0.833 0.611 1.803 0.363 2.733s-0.843 1.707-1.675 2.189c-0.549 0.318-1.171 0.486-1.801 0.486-1.283 0-2.479-0.689-3.121-1.798-0.995-1.719-0.407-3.927 1.312-4.922zM8.056 19.117c-0.549 0.318-1.171 0.486-1.801 0.486-1.283 0-2.479-0.689-3.121-1.797-0.995-1.719-0.407-3.927 1.312-4.922 0.549-0.318 1.171-0.486 1.801-0.486 1.283 0 2.479 0.689 3.121 1.798 0.482 0.833 0.611 1.803 0.363 2.733s-0.843 1.707-1.675 2.189zM29.226 28.077c-0.248 0.93-0.843 1.707-1.675 2.189-0.549 0.318-1.171 0.486-1.801 0.486-1.283 0-2.479-0.689-3.121-1.797-0.995-1.719-0.407-3.927 1.312-4.922 0.549-0.318 1.171-0.486 1.801-0.486 1.283 0 2.479 0.689 3.121 1.798 0.482 0.832 0.611 1.803 0.363 2.733zM25.842 24.346c-0.308 0-0.557 0.249-0.557 0.557s0.249 0.557 0.557 0.557c0.495 0 1.655 0.598 1.655 1.759 0 0.308 0.249 0.557 0.557 0.557s0.557-0.249 0.557-0.557c0-1.886-1.802-2.873-2.769-2.873z"}))},b=function(){return wp.element.createElement(o,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l,{d:"M16 27.667l7.849-7.849c0.146-0.139 0.464-0.469 0.478-0.483l0.006-0.007c1.972-2.116 3.059-4.874 3.059-7.766 0-6.282-5.11-11.392-11.392-11.392s-11.392 5.11-11.392 11.392c0 2.893 1.086 5.651 3.058 7.766l8.334 8.339zM16 1.265c5.677 0 10.297 4.619 10.297 10.297 0 2.613-0.981 5.104-2.761 7.016-0.092 0.096-0.343 0.353-0.446 0.451l-7.089 7.089-7.539-7.543c-1.779-1.911-2.758-4.401-2.758-7.012 0-5.678 4.619-10.297 10.297-10.297zM17.755 4.005c1.966 0 5.792 2.149 5.792 6.090 0 0.303 0.245 0.548 0.548 0.548s0.548-0.245 0.548-0.548c0-2.051-0.906-3.953-2.552-5.354-1.306-1.112-3.008-1.831-4.335-1.831-0.302 0-0.548 0.245-0.548 0.548s0.245 0.548 0.548 0.548zM22.875 24.197c-0.427-0.174-0.886-0.33-1.371-0.467l-0.897 0.897c2.645 0.631 4.275 1.756 4.275 2.802 0 1.564-3.648 3.306-8.882 3.306s-8.882-1.742-8.882-3.306c0-1.045 1.631-2.171 4.275-2.802l-0.897-0.897c-0.485 0.137-0.944 0.293-1.371 0.467-2.001 0.818-3.102 1.966-3.102 3.232s1.102 2.415 3.102 3.232c1.845 0.754 4.287 1.169 6.875 1.169s5.030-0.415 6.875-1.169c2.001-0.818 3.102-1.966 3.102-3.232s-1.102-2.415-3.102-3.232zM16.032 16.804c-3.043 0-5.519-2.476-5.519-5.519s2.476-5.519 5.519-5.519c3.043 0 5.519 2.476 5.519 5.519s-2.476 5.519-5.519 5.519zM16.032 6.862c-2.439 0-4.423 1.984-4.423 4.423s1.984 4.423 4.423 4.423c2.439 0 4.423-1.984 4.423-4.423s-1.984-4.423-4.423-4.423z"}))},g=function(){return wp.element.createElement(o,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l,{d:"M4.285 5.775c0.004 0 0.009 0.001 0.013 0.001h8.279c0.307 0 0.556-0.249 0.556-0.556s-0.249-0.556-0.556-0.556h-8.279c-0.307 0-0.556 0.249-0.556 0.556 0 0.302 0.242 0.548 0.542 0.555zM3.743 8.005c0 0.307 0.249 0.556 0.556 0.556h13.679c0.307 0 0.556-0.249 0.556-0.556s-0.249-0.556-0.556-0.556h-13.679c-0.307 0-0.556 0.249-0.556 0.556zM17.977 10.236h-13.679c-0.145 0-0.276 0.056-0.375 0.147-0.11 0.102-0.18 0.247-0.18 0.409 0 0.307 0.249 0.556 0.556 0.556h13.679c0.307 0 0.556-0.249 0.556-0.556 0-0.162-0.070-0.307-0.18-0.409-0.099-0.091-0.23-0.147-0.375-0.147zM17.977 13.022h-13.679c-0.307 0-0.556 0.249-0.556 0.556s0.249 0.556 0.556 0.556h13.679c0.307 0 0.556-0.249 0.556-0.556s-0.249-0.556-0.556-0.556zM17.977 15.807h-13.679c-0.145 0-0.276 0.056-0.375 0.147-0.11 0.102-0.18 0.247-0.18 0.409 0 0.307 0.249 0.556 0.556 0.556h13.679c0.307 0 0.556-0.249 0.556-0.556 0-0.162-0.070-0.307-0.18-0.409-0.099-0.091-0.23-0.147-0.375-0.147zM17.977 18.593h-13.679c-0.307 0-0.556 0.249-0.556 0.555s0.249 0.556 0.556 0.556h13.679c0.307 0 0.556-0.249 0.556-0.556s-0.249-0.555-0.556-0.555zM17.977 21.379h-13.679c-0.307 0-0.556 0.249-0.556 0.556s0.249 0.556 0.556 0.556h13.679c0.307 0 0.556-0.249 0.556-0.556s-0.249-0.556-0.556-0.556zM17.977 24.165h-13.679c-0.145 0-0.276 0.056-0.375 0.147-0.11 0.102-0.18 0.247-0.18 0.409 0 0.307 0.249 0.556 0.556 0.556h13.679c0.307 0 0.556-0.249 0.556-0.556 0-0.162-0.070-0.307-0.18-0.409-0.099-0.091-0.23-0.147-0.375-0.147zM21.93 4.466l-4.277-3.87c-0.094-0.085-0.212-0.132-0.334-0.139h-15.831c-0.812 0-1.473 0.664-1.473 1.481v28.153c0 0.817 0.661 1.481 1.473 1.481h19.174c0.812 0 1.473-0.664 1.473-1.481v-25.222c-0.008-0.163-0.086-0.308-0.205-0.403zM17.833 2.238l2.331 2.109h-2.331v-2.109zM21.043 30.091c0 0.215-0.171 0.39-0.381 0.39h-19.174c-0.21 0-0.382-0.175-0.382-0.39v-28.153c0-0.215 0.171-0.39 0.382-0.39h15.251v3.348c0 0.303 0.245 0.549 0.547 0.549h3.758v24.647zM31.975 3.213c-0.125-1.57-1.442-2.809-3.044-2.809-0 0-0 0-0 0-0.816 0-1.583 0.318-2.16 0.895-0.519 0.519-0.827 1.191-0.884 1.915h-0.010v0.242c0 0.001-0 0.002-0 0.003s0 0.001 0 0.001l-0 24.342h0.003c0.010 0.096 0.045 0.191 0.108 0.273l2.509 3.305c0.103 0.136 0.264 0.216 0.435 0.216s0.331-0.080 0.435-0.216l2.508-3.305c0.063-0.083 0.098-0.177 0.108-0.274h0.003v-24.589h-0.011zM27.543 2.070c0.371-0.371 0.864-0.575 1.388-0.575h0c0.893 0 1.649 0.6 1.886 1.417h-3.772c0.091-0.315 0.26-0.604 0.498-0.842zM28.362 26.711l-1.394 0 0-22.406h3.926v22.406h-1.442l0-18.071-1.090 0 0 18.071zM28.931 30.148l-1.781-2.346 3.562-0-1.781 2.346z"}))},f=function(){return wp.element.createElement(o,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l,{d:"M31.908 1.543c0-0.815-0.677-1.478-1.51-1.478h-28.731c-0.815 0-1.478 0.677-1.478 1.51v14.441c0 0.022 0.002 0.044 0.004 0.065-0.003 0.021-0.004 0.043-0.004 0.065v14.357c0 0.815 0.677 1.478 1.51 1.478h28.731c0.815 0 1.478-0.677 1.478-1.51v-14.441c0-0.022-0.002-0.044-0.004-0.065 0.003-0.021 0.004-0.043 0.004-0.065v-14.357zM30.792 1.543v13.799h-4.324c0.587-0.66 0.932-1.525 0.932-2.453 0-0.737-0.218-1.423-0.592-2-0.648-1.066-1.82-1.78-3.156-1.78-2.034 0-3.689 1.655-3.689 3.689 0 0.745 0.223 1.449 0.615 2.039 0.111 0.178 0.236 0.347 0.376 0.504h-4.372v-6.025c0-0.184-0.090-0.347-0.228-0.449-0.101-0.103-0.242-0.167-0.398-0.167h-0.173c-0.24 0-0.453 0.153-0.529 0.38-0.352 1.049-1.332 1.754-2.439 1.754-0.419 0-0.815-0.101-1.166-0.28-0.776-0.444-1.301-1.279-1.301-2.235 0-1.419 1.154-2.574 2.574-2.574 0.408 0 0.799 0.096 1.147 0.27 0.546 0.305 0.976 0.804 1.185 1.426 0.052 0.155 0.169 0.275 0.314 0.335 0.092 0.065 0.204 0.103 0.322 0.103h0.133c0.308 0 0.558-0.25 0.558-0.558v-6.142h13.816c0.217 0 0.394 0.162 0.394 0.362zM1.305 1.575c0-0.217 0.162-0.394 0.362-0.394h13.732v4.404c-0.239-0.216-0.505-0.401-0.793-0.549-0.536-0.297-1.148-0.464-1.791-0.464-2.034 0-3.689 1.655-3.689 3.689 0 1.423 0.81 2.659 1.992 3.274 0.534 0.301 1.149 0.473 1.804 0.473 0.939 0 1.813-0.354 2.476-0.955v4.404h-6.016c-0.308 0-0.558 0.25-0.558 0.558v0.173c0 0.127 0.043 0.245 0.117 0.34 0.065 0.129 0.178 0.231 0.321 0.279 0.562 0.189 1.023 0.558 1.332 1.030 0.232 0.39 0.364 0.842 0.364 1.318 0 1.419-1.154 2.574-2.574 2.574-0.894 0-1.682-0.458-2.144-1.151-0.236-0.389-0.372-0.844-0.372-1.331-0-1.107 0.705-2.087 1.754-2.44 0.227-0.076 0.38-0.289 0.38-0.529v-0.133c0-0.106-0.030-0.204-0.081-0.288-0.068-0.231-0.282-0.4-0.535-0.4h-6.084v-13.883zM1.305 30.505v-13.799h4.324c-0.587 0.66-0.932 1.525-0.932 2.453 0 0.737 0.218 1.424 0.592 2 0.647 1.066 1.82 1.78 3.156 1.78 2.034 0 3.689-1.655 3.689-3.689-0-0.745-0.223-1.449-0.615-2.040-0.111-0.178-0.236-0.347-0.376-0.504h4.372v6.025c0 0.184 0.090 0.347 0.228 0.449 0.101 0.103 0.242 0.167 0.398 0.167h0.173c0.24 0 0.453-0.153 0.529-0.38 0.352-1.049 1.332-1.754 2.439-1.754 0.419 0 0.815 0.101 1.165 0.28 0.776 0.444 1.301 1.279 1.301 2.236 0 1.419-1.154 2.574-2.574 2.574-0.408 0-0.799-0.096-1.147-0.27-0.546-0.305-0.976-0.804-1.185-1.426-0.052-0.155-0.169-0.275-0.314-0.336-0.092-0.065-0.204-0.103-0.322-0.103h-0.133c-0.308 0-0.558 0.25-0.558 0.558v6.142h-13.816c-0.217-0-0.394-0.163-0.394-0.362zM30.792 30.472c0 0.217-0.162 0.394-0.362 0.394h-13.732v-4.404c0.239 0.216 0.505 0.401 0.792 0.548 0.536 0.297 1.148 0.464 1.791 0.464 2.034 0 3.689-1.655 3.689-3.689 0-1.423-0.81-2.659-1.993-3.274-0.534-0.301-1.149-0.473-1.804-0.473-0.939 0-1.813 0.354-2.476 0.955v-4.404h6.016c0.308 0 0.558-0.25 0.558-0.558v-0.173c0-0.126-0.044-0.245-0.117-0.34-0.064-0.129-0.178-0.231-0.321-0.279-0.562-0.189-1.023-0.558-1.332-1.030-0.232-0.389-0.363-0.842-0.363-1.318 0-1.419 1.154-2.574 2.574-2.574 0.894 0 1.682 0.458 2.144 1.151 0.236 0.389 0.372 0.844 0.372 1.331 0 1.107-0.705 2.087-1.754 2.439-0.227 0.076-0.38 0.289-0.38 0.529v0.133c0 0.106 0.030 0.204 0.081 0.289 0.068 0.231 0.282 0.4 0.535 0.4h6.084v13.883z"}))},y=function(){return wp.element.createElement(o,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l,{d:"M15.517 23.581c-0.036 0.002-0.069-0.003-0.102-0.009-0.108-0.019-0.211-0.070-0.294-0.153l-9.153-9.153c-0.104-0.104-0.162-0.245-0.162-0.392s0.058-0.288 0.163-0.392l2.13-2.129c0.217-0.217 0.568-0.217 0.784 0l6.633 6.633 12.94-12.94c0.217-0.217 0.568-0.217 0.785 0l2.13 2.13c0.104 0.104 0.163 0.245 0.163 0.392s-0.058 0.288-0.162 0.392l-15.46 15.46c-0.104 0.104-0.245 0.163-0.392 0.163zM7.145 13.873l8.37 8.37 14.678-14.678-1.345-1.345-12.94 12.94c-0.217 0.217-0.568 0.217-0.785 0l-6.633-6.633-1.345 1.345zM30.087 11.781c0.401 1.337 0.618 2.753 0.618 4.219 0 8.108-6.596 14.704-14.705 14.704s-14.704-6.596-14.704-14.704c0-8.108 6.596-14.705 14.704-14.705 3.79 0 7.25 1.442 9.86 3.805l0.785-0.785c-2.812-2.564-6.549-4.129-10.645-4.129-8.72 0-15.814 7.094-15.814 15.814s7.094 15.814 15.814 15.814c8.72 0 15.814-7.094 15.814-15.814 0-1.784-0.297-3.501-0.845-5.102l-0.883 0.883z"}))},h=function(){return wp.element.createElement(o,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l,{d:"M17.425 25.368h-3.22v-2.107c-1.234-0.109-2.518-0.463-3.389-0.944l-0.373-0.206 0.93-3.628 0.622 0.341c0.602 0.33 1.835 0.883 3.323 0.883 0.769 0 1.545-0.244 1.545-0.789 0-0.365-0.235-0.783-1.938-1.358-1.985-0.668-4.264-1.78-4.264-4.477 0-2.098 1.387-3.709 3.652-4.289v-2.162h3.22v1.931c1.366 0.11 2.263 0.465 2.838 0.736l0.416 0.196-0.937 3.53-0.621-0.298c-0.539-0.259-1.442-0.692-2.853-0.692-0.488 0-1.307 0.088-1.307 0.681 0 0.448 1.192 0.94 2.231 1.319 2.781 0.973 3.971 2.344 3.971 4.58 0 1.114-0.391 2.124-1.13 2.922-0.668 0.721-1.601 1.236-2.716 1.503v2.328zM15.307 24.266h1.016v-2.139l0.457-0.079c2.090-0.36 3.389-1.676 3.389-3.433 0-1.446-0.551-2.601-3.24-3.542-1.624-0.592-2.962-1.176-2.962-2.357 0-0.862 0.633-1.783 2.409-1.783 1.213 0 2.119 0.278 2.746 0.536l0.36-1.354c-0.565-0.222-1.372-0.445-2.517-0.479l-0.535-0.016v-1.886h-1.016v1.959l-0.45 0.084c-2.005 0.375-3.202 1.61-3.202 3.305 0 1.577 1.051 2.604 3.514 3.432 1.396 0.472 2.688 1.089 2.688 2.402 0 1.149-1.039 1.891-2.647 1.891-1.312 0-2.447-0.366-3.222-0.708l-0.369 1.437c0.709 0.309 1.808 0.617 3.045 0.654l0.535 0.016v2.058zM15.901 30.607c-8.054 0-14.607-6.552-14.607-14.606s6.552-14.607 14.607-14.607c8.054 0 14.607 6.552 14.607 14.607 0 2.567-0.667 4.981-1.834 7.079l1.095 0.293c1.174-2.2 1.841-4.71 1.841-7.373 0-8.662-7.047-15.709-15.709-15.709s-15.709 7.047-15.709 15.709 7.047 15.709 15.709 15.709c2.752 0 5.34-0.712 7.592-1.96l-0.294-1.099c-2.148 1.244-4.641 1.957-7.297 1.957zM29.539 31.709c-0.141 0-0.282-0.054-0.39-0.161l-2.673-2.673-0.86 1.786c-0.1 0.208-0.32 0.331-0.548 0.31s-0.421-0.184-0.481-0.406l-1.977-7.377c-0.051-0.19 0.004-0.393 0.143-0.532s0.342-0.194 0.532-0.143l7.377 1.977c0.222 0.060 0.385 0.252 0.406 0.481s-0.102 0.448-0.31 0.548l-1.787 0.86 2.673 2.672c0.103 0.103 0.161 0.244 0.161 0.39s-0.058 0.286-0.161 0.39l-1.717 1.717c-0.108 0.107-0.249 0.161-0.39 0.161zM26.318 27.385c0.145 0 0.285 0.057 0.39 0.161l2.832 2.832 0.938-0.938-2.832-2.832c-0.126-0.126-0.184-0.306-0.154-0.482s0.143-0.327 0.304-0.404l1.148-0.552-5.020-1.345 1.345 5.020 0.552-1.148c0.077-0.161 0.228-0.274 0.404-0.304 0.031-0.005 0.062-0.008 0.092-0.008zM20.272 5.201c1.977 0 5.826 2.162 5.826 6.126 0 0.304 0.247 0.551 0.551 0.551s0.551-0.247 0.551-0.551c0-2.063-0.912-3.976-2.568-5.387-1.314-1.119-3.025-1.842-4.361-1.842-0.304 0-0.551 0.247-0.551 0.551s0.247 0.551 0.551 0.551z"}))},w=function(){return wp.element.createElement(o,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l,{d:"M31.438 1.423h-30.877c-0.31 0-0.562 0.251-0.562 0.562v22.175c0 0.31 0.251 0.562 0.562 0.562h3.103v5.294c0 0.201 0.107 0.386 0.281 0.486 0.087 0.050 0.184 0.075 0.281 0.075s0.194-0.025 0.281-0.075l10.012-5.78h16.919c0.31 0 0.562-0.251 0.562-0.562v-22.175c0-0.31-0.251-0.562-0.562-0.562zM30.877 23.598h-16.508c-0.099 0-0.195 0.026-0.281 0.075l-9.3 5.369v-4.883c0-0.31-0.251-0.562-0.562-0.562h-3.103v-21.052h29.753v21.052zM4.386 7.532h22.894c0.31 0 0.562-0.251 0.562-0.562s-0.251-0.562-0.562-0.562h-22.894c-0.31 0-0.562 0.251-0.562 0.562s0.251 0.562 0.562 0.562zM4.386 11.865h22.894c0.31 0 0.562-0.251 0.562-0.562s-0.251-0.562-0.562-0.562h-22.894c-0.31 0-0.562 0.251-0.562 0.562s0.251 0.562 0.562 0.562zM4.386 16.198h22.894c0.31 0 0.562-0.251 0.562-0.562s-0.251-0.562-0.562-0.562h-22.894c-0.31 0-0.562 0.251-0.562 0.562s0.251 0.562 0.562 0.562zM4.386 20.53h22.894c0.31 0 0.562-0.251 0.562-0.562s-0.251-0.562-0.562-0.562h-22.894c-0.31 0-0.562 0.252-0.562 0.562s0.251 0.562 0.562 0.562z"}))},v=function(){return wp.element.createElement(o,{viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l,{d:"M0 448V64h18v384H0zm26.857-.273V64H36v383.727h-9.143zm27.143 0V64h8.857v383.727H54zm44.857 0V64h8.857v383.727h-8.857zm36 0V64h17.714v383.727h-17.714zm44.857 0V64h8.857v383.727h-8.857zm18 0V64h8.857v383.727h-8.857zm18 0V64h8.857v383.727h-8.857zm35.715 0V64h18v383.727h-18zm44.857 0V64h18v383.727h-18zm35.999 0V64h18.001v383.727h-18.001zm36.001 0V64h18.001v383.727h-18.001zm26.857 0V64h18v383.727h-18zm45.143 0V64h26.857v383.727h-26.857zm35.714 0V64h9.143v383.727H476zm18 .273V64h18v384h-18z"}))},k=function(){return wp.element.createElement(o,{className:"wp-block-themeisle-icon-buttom-group-custom-icon",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l,{d:"M17.294,17.287l-14.588,0l0,-14.574l14.588,0c0,4.858 0,9.716 0,14.574Zm-13.738,-0.85l12.888,0l0,-12.874l-12.888,0c0,4.291 0,8.583 0,12.874Z"}),wp.element.createElement("rect",{x:"4.489",y:"4.744",width:"11.022",height:"2.512"}))},T=function(){return wp.element.createElement(o,{className:"wp-block-themeisle-icon-buttom-group-custom-icon",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l,{d:"M17.294,17.287l-14.588,0l0,-14.574l14.588,0c0,4.858 0,9.716 0,14.574Zm-13.738,-0.85l12.888,0l0,-12.874l-12.888,0c0,4.291 0,8.583 0,12.874Z"}),wp.element.createElement("rect",{y:"8.744",width:"11.022",x:"4.489",height:"2.512"}))},E=function(){return wp.element.createElement(o,{className:"wp-block-themeisle-icon-buttom-group-custom-icon",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l,{d:"M17.294,17.287l-14.588,0l0,-14.574l14.588,0c0,4.858 0,9.716 0,14.574Zm-13.738,-0.85l12.888,0l0,-12.874l-12.888,0c0,4.291 0,8.583 0,12.874Z"}),wp.element.createElement("rect",{x:"4.489",y:"12.802",width:"11.022",height:"2.512"}))},x=wp.element.createElement(o,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"20",height:"20"},wp.element.createElement(l,{d:"M5 5H3v2h2V5zm3 8h11v-2H8v2zm9-8H6v2h11V5zM7 11H5v2h2v-2zm0 8h2v-2H7v2zm3-2v2h11v-2H10z"})),C=wp.element.createElement(o,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},wp.element.createElement(l,{d:"M9 18.6L3.5 13l1-1L9 16.4l9.5-9.9 1 1z"}))},function(e,t,n){"use strict";var a=n(0),l=n.n(a),o=(n(42),n(3)),r=wp.i18n.__,i=wp.components,c=i.Button,d=i.Dropdown,p=i.Icon,u=wp.compose,m=u.useInstanceId,s=u.useViewportMatch,b=wp.data,g=b.useSelect,f=b.useDispatch;t.a=function e(t){var n=t.label,a=t.className,i=t.children,u=m(e),b=s("large",">="),y=s("large","<="),h=s("small",">="),w=s("small","<="),v=!(b||y||h||w),k=g((function(e){var t=e("themeisle-gutenberg/data").getView,n=e("core/edit-post").__experimentalGetPreviewDeviceType;return n&&!v?n():t()})),T=f("themeisle-gutenberg/data").updateView,E=f("core/edit-post").__experimentalSetPreviewDeviceType,x=E&&!v?E:T,C="inspector-responsive-control-".concat(u);return wp.element.createElement("div",{id:C,className:l()("wp-block-themeisle-blocks-responsive-control",a)},wp.element.createElement("div",{className:"components-base-control__field"},wp.element.createElement("div",{className:"components-base-control__title"},wp.element.createElement("label",{className:"components-base-control__label"},n),wp.element.createElement("div",{className:"floating-controls"},wp.element.createElement(d,{position:"top left",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return wp.element.createElement(c,{icon:"Mobile"===k?"smartphone":k.toLowerCase(),label:r("Responsiveness Settings"),showTooltip:!0,className:"is-button",onClick:n,"aria-expanded":t})},renderContent:function(){return wp.element.createElement("div",{className:"wp-block-themeisle-blocks-responsive-control-settings"},wp.element.createElement("div",{className:"wp-block-themeisle-blocks-responsive-control-settings-title"},r("View")),wp.element.createElement(c,{className:l()("wp-block-themeisle-blocks-responsive-control-settings-item",{"is-selected":"Desktop"===k}),onClick:function(){return x("Desktop")}},"Desktop"===k&&wp.element.createElement(p,{icon:o.e}),wp.element.createElement("span",{className:"popover-title"},r("Desktop"))),wp.element.createElement(c,{className:l()("wp-block-themeisle-blocks-responsive-control-settings-item",{"is-selected":"Tablet"===k}),onClick:function(){return x("Tablet")}},"Tablet"===k&&wp.element.createElement(p,{icon:o.e}),wp.element.createElement("span",{className:"popover-title"},r("Tablet"))),wp.element.createElement(c,{className:l()("wp-block-themeisle-blocks-responsive-control-settings-item",{"is-selected":"Mobile"===k}),onClick:function(){return x("Mobile")}},"Mobile"===k&&wp.element.createElement(p,{icon:o.e}),wp.element.createElement("span",{className:"popover-title"},r("Mobile"))))}}))),i))}},function(e,t,n){"use strict";var a=n(0),l=n.n(a),o=(n(43),wp.element),r=o.Fragment,i=o.useRef,c=function(e){var t=e.id,n=e.index,a=e.option,l=e.min,o=e.max,c=e.onChange,d=i(null);return wp.element.createElement("div",{className:"wp-block-themeisle-blocks-sizing-control-item"},n.disabled?wp.element.createElement("input",{type:"number",disabled:n.disabled,className:"wp-block-themeisle-blocks-sizing-control-item-input",id:"wp-block-themeisle-blocks-sizing-control-item-input-".concat(a)}):wp.element.createElement(r,null,wp.element.createElement("input",{type:"number",className:"wp-block-themeisle-blocks-sizing-control-item-input",id:"wp-block-themeisle-blocks-sizing-control-item-input-".concat(a,"-").concat(t),value:void 0!==n.value?n.value:"",min:l,max:o,ref:d,onChange:function(e){return c(n.type,parseInt(e.target.value))}})),n.label&&wp.element.createElement("label",{className:"wp-block-themeisle-blocks-sizing-control-item-label",htmlFor:"wp-block-themeisle-blocks-sizing-control-item-input-".concat(a,"-").concat(t)},n.label))},d=wp.i18n.__,p=wp.components.Button,u=wp.compose.useInstanceId;t.a=function e(t){var n=t.label,a=t.type,o=t.min,r=t.max,i=t.changeType,m=t.options,s=t.onChange,b=u(e),g="inspector-sizing-control-".concat(b);return m&&1>m.length?d("Please specify more options."):wp.element.createElement("div",{id:g,className:"wp-block-themeisle-blocks-sizing-control"},wp.element.createElement("div",{className:"components-base-control__field"},n&&wp.element.createElement("label",{className:"components-base-control__label",htmlFor:g},n),wp.element.createElement("div",{className:l()("wp-block-themeisle-blocks-sizing-control-wrapper",{linking:a})},m.map((function(e,t){return wp.element.createElement(c,{id:b,index:e,option:t,min:o,max:r,onChange:s})})),a&&wp.element.createElement("div",{className:l()("wp-block-themeisle-blocks-sizing-control-item","toggle-linking",{"is-linked":"linked"===a})},wp.element.createElement(p,{icon:"linked"===a?"admin-links":"editor-unlink",label:d("linked"===a?"Unlink Values":"Link Values"),showTooltip:!0,className:"wp-block-themeisle-blocks-sizing-control-item-input",onClick:function(){return i("linked"===a?"unlinked":"linked")}})))))}},function(e,t,n){"use strict";t.a={"themeisle-blocks/advanced-heading":{tag:"h2",headingColor:"#000000",fontStyle:"normal",textTransform:"none",paddingType:"linked",paddingTypeTablet:"linked",paddingTypeMobile:"linked",padding:0,paddingTop:0,paddingRight:0,paddingBottom:0,paddingLeft:0,marginType:"unlinked",marginTypeTablet:"unlinked",marginTypeMobile:"unlinked",margin:0,marginTop:0,marginBottom:25},"themeisle-blocks/button-group":{spacing:20,collapse:"collapse-none",fontSize:18,fontStyle:"normal",data:{color:"#ffffff",background:"#32373c",paddingTopBottom:12,paddingLeftRight:24}},"themeisle-blocks/font-awesome-icons":{fontSize:16,padding:5,margin:5},"themeisle-blocks/advanced-columns":{columnsGap:"default",paddingType:"linked",paddingTypeTablet:"linked",paddingTypeMobile:"linked",padding:20,paddingTop:20,paddingRight:20,paddingBottom:20,paddingLeft:20,marginType:"unlinked",marginTypeTablet:"unlinked",marginTypeMobile:"unlinked",margin:20,marginTop:20,marginBottom:20,columnsHTMLTag:"div",horizontalAlign:"unset",columnsHeight:"auto",verticalAlign:"unset",hide:!1,hideTablet:!1,hideMobile:!1},"themeisle-blocks/advanced-column":{paddingType:"linked",paddingTypeTablet:"linked",paddingTypeMobile:"linked",padding:20,paddingTop:20,paddingRight:20,paddingBottom:20,paddingLeft:20,marginType:"unlinked",marginTypeTablet:"unlinked",marginTypeMobile:"unlinked",margin:20,marginTop:20,marginRight:0,marginBottom:20,marginLeft:0,columnsHTMLTag:"div"}}},,function(e,t,n){"use strict";n(53);var a=wp.components,l=a.Button,o=a.Dropdown,r=wp.compose.useInstanceId;t.a=function e(t){var n=t.label,a=t.children,i=r(e),c="inspector-control-panel-control-".concat(i);return wp.element.createElement("div",{className:"wp-block-themeisle-blocks-control-panel-control"},wp.element.createElement("div",{className:"components-base-control__field"},wp.element.createElement("div",{className:"components-base-control__title"},wp.element.createElement("label",{className:"components-base-control__label",for:c},n),wp.element.createElement("div",{className:"floating-controls"},wp.element.createElement(o,{position:"top left",headerTitle:n,expandOnMobile:!0,renderToggle:function(e){var t=e.isOpen,a=e.onToggle;return wp.element.createElement(l,{id:c,icon:"admin-settings",label:n,shotTooltip:!0,className:"is-button",onClick:a,"aria-expanded":t})},renderContent:function(){return wp.element.createElement("div",{className:"wp-block-themeisle-popover-settings"},a)}})))))}},function(e,t,n){"use strict";var a=n(0),l=n.n(a);n(41);function o(e){return function(e){if(Array.isArray(e))return c(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||i(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||i(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,t){if(e){if("string"==typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(e,t):void 0}}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var d=lodash,p=d.startCase,u=d.toLower,m=wp.i18n.__,s=wp.compose.useInstanceId,b=wp.components,g=b.Button,f=b.BaseControl,y=b.Dropdown,h=b.MenuGroup,w=b.MenuItem,v=b.SelectControl,k=b.TextControl,T=wp.element,E=T.useEffect,x=T.useState;t.a=function e(t){var n=t.label,a=t.value,i=t.valueVariant,c=t.valueStyle,d=t.valueTransform,b=t.isSelect,T=void 0!==b&&b,C=t.onChangeFontFamily,S=t.onChangeFontVariant,M=t.onChangeFontStyle,B=t.onChangeTextTransform,O=s(e);E((function(){fetch("https://www.googleapis.com/webfonts/v1/webfonts?key=AIzaSyClGdkPJ1BvgLOol5JAkQY4Mv2lkLYu00k").then((function(e){return e.json()})).then((function(e){A(e.items),a&&e.items.find((function(e){if(a===e.family){var t=e.variants.filter((function(e){return!1===e.includes("italic")})).map((function(e){return{label:p(u(e)),value:e}}));return z(t)}}))}))}),[]);var R=r(x(null),2),L=R[0],A=R[1],N=r(x(null),2),P=N[0],z=N[1],H=r(x(""),2),_=H[0],I=H[1],j="inspector-google-fonts-control-".concat(O);return wp.element.createElement("div",{className:"wp-block-themeisle-blocks-google-fonts-control"},wp.element.createElement(f,{label:n,id:j},null!==L?T?wp.element.createElement(v,{value:a||"",id:j,options:[{label:m("Default"),value:""}].concat(o(L.map((function(e){return{label:e.family,value:e.family}})))),onChange:function(e){var t=[];if(""===e)return t=[{label:m("Regular"),value:"regular"},{label:m("Italic"),value:"italic"}],C(void 0),void z(t);C(e),t=L.find((function(t){return e===t.family})).variants.filter((function(e){return!1===e.includes("italic")})).map((function(e){return{label:p(u(e)),value:e}})),z(t)}}):wp.element.createElement(y,{contentClassName:"wp-block-themeisle-blocks-google-fonts-popover",position:"bottom center",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return wp.element.createElement(g,{isLarge:!0,className:"wp-block-themeisle-blocks-google-fonts-button",id:j,onClick:n,"aria-expanded":t},a||m("Select Font Family"))},renderContent:function(e){var t=e.onToggle;return wp.element.createElement(h,{label:m("Google Fonts")},wp.element.createElement(k,{value:_,onChange:function(e){return I(e)}}),wp.element.createElement("div",{className:"components-popover__items"},wp.element.createElement(w,{onClick:function(){t(),C(void 0),z([]),I("")}},m("Default")),L.map((function(e){if(!_||e.family.toLowerCase().includes(_.toLowerCase()))return wp.element.createElement(w,{className:l()({"is-selected":e.family===a}),onClick:function(){t(),C(e.family);var n=e.variants.filter((function(e){return!1===e.includes("italic")})).map((function(e){return{label:p(u(e)),value:e}}));z(n),I("")}},e.family)}))))}}):m("Loading…")),P&&wp.element.createElement(v,{label:m("Font Width"),value:i||"regular",options:P,onChange:S}),wp.element.createElement(v,{label:m("Font Style"),value:c,options:[{label:m("Regular"),value:"normal"},{label:m("Italic"),value:"italic"}],onChange:M}),wp.element.createElement(v,{label:m("Font Transform"),value:d,options:[{label:m("Default"),value:"none"},{label:m("Uppercase"),value:"uppercase"},{label:m("Lowercase"),value:"lowercase"},{label:m("Capitalize"),value:"capitalize"}],onChange:B}))}},function(e,t,n){"use strict";n.d(t,"b",(function(){return l})),n.d(t,"a",(function(){return o}));var a=wp.i18n.__,l=function(e){var t=document.createElement("div");return t.innerHTML=e,void 0!==t.innerText?t.innerText:t.textContent},o=function(e){var t=[a("January"),a("February"),a("March"),a("April"),a("May"),a("June"),a("July"),a("August"),a("September"),a("October"),a("November"),a("December")],n=(e=new Date(e)).getDate(),l=e.getMonth(),o=e.getFullYear();return n+" "+t[l]+", "+o}},function(e,t){e.exports=React},function(e,t,n){"use strict";n.d(t,"b",(function(){return s})),n.d(t,"a",(function(){return b}));var a=n(0),l=n.n(a),o=(n(62),wp.components),r=o.BaseControl,i=o.Button,c=o.Dropdown,d=o.Toolbar,p=wp.compose.useInstanceId,u=wp.blockEditor.BlockControls,m=wp.element.Fragment,s=function e(t){var n=t.label,a=t.value,o=t.options,c=t.onChange,d=p(e),u="inspector-style-switcher-control-".concat(d);return wp.element.createElement(r,{id:u,label:n},wp.element.createElement("div",{className:"wp-block-themeisle-blocks-style-switcher"},o.map((function(e){return wp.element.createElement(i,{className:l()("wp-block-themeisle-blocks-style-switcher-item",{"is-active":e.value===a}),tabIndex:"0",onClick:function(){return function(e){return c(e)}(e.value)}},wp.element.createElement("div",{className:"wp-block-themeisle-blocks-style-switcher-item-preview"},wp.element.createElement("img",{src:e.image})),wp.element.createElement("div",{className:"wp-block-themeisle-blocks-style-switcher-item-label"},e.label))}))))},b=function(e){var t=e.label,n=e.value,a=e.options,o=e.onChange;return wp.element.createElement(u,null,wp.element.createElement(d,{className:"wp-themesiel-blocks-block-styles-components-toolbar"},wp.element.createElement(c,{contentClassName:"wp-themesiel-blocks-block-styles-popover-content",position:"bottom center",renderToggle:function(e){var n=e.isOpen,a=e.onToggle;return wp.element.createElement(i,{className:"components-dropdown-menu__toggle",icon:"admin-appearance",onClick:a,"aria-haspopup":"true","aria-expanded":n,label:t,showTooltip:!0},wp.element.createElement("span",{className:"components-dropdown-menu__indicator"}))},renderContent:function(){return wp.element.createElement(m,null,wp.element.createElement("div",{className:"wp-block-themeisle-blocks-style-switcher"},a.map((function(e){return wp.element.createElement(i,{className:l()("wp-block-themeisle-blocks-style-switcher-item",{"is-active":e.value===n}),tabIndex:"0",onClick:function(){return function(e){return o(e)}(e.value)}},wp.element.createElement("div",{className:"wp-block-themeisle-blocks-style-switcher-item-preview"},wp.element.createElement("img",{src:e.image})),wp.element.createElement("div",{className:"wp-block-themeisle-blocks-style-switcher-item-label"},e.label))}))))}})))}},,function(e,t,n){"use strict";n.r(t);var a=n(0),l=n.n(a);n(70),n(71);t.default=function(e){var t=e.type,n=e.front,a=e.style,o=e.fill,r=e.invert,i=e.width,c=e.height;return"none"!==a&&wp.element.createElement("div",{className:l()("wp-block-themeisle-blocks-advanced-columns-separators",t),style:!n&&i?{transform:"".concat(i?"scaleX( ".concat(i/100," )"):"")}:{}},"bigTriangle"===a&&!1===r&&wp.element.createElement("svg",{id:"bigTriangle",fill:o,viewBox:"0 0 100 100",width:"100%",height:c?"".concat(c,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",className:l()({rotate:"bottom"===t})},wp.element.createElement("path",{d:"M0 0 L50 100 L100 0 Z"})),"bigTriangle"===a&&!0===r&&wp.element.createElement("svg",{id:"bigTriangle",fill:o,viewBox:"0 0 100 100",width:"100%",height:c?"".concat(c,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",className:l()({rotate:"top"===t})},wp.element.createElement("path",{d:"M100, 0l-50, 100l-50, -100l0, 100l100, 0l0, -100Z"})),"rightCurve"===a&&!1===r&&wp.element.createElement("svg",{id:"rightCurve",fill:o,viewBox:"0 0 100 100",width:"100%",height:c?"".concat(c,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",className:l()({rotate:"top"===t})},wp.element.createElement("path",{d:"M0 100 C 20 0 50 0 100 100 Z"})),"rightCurve"===a&&!0===r&&wp.element.createElement("svg",{id:"rightCurve",fill:o,viewBox:"0 0 100 100",width:"100%",height:c?"".concat(c,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",className:l()({rotate:"top"===t})},wp.element.createElement("path",{d:"M0 100 C 50 0 70 0 100 100 Z"})),"curve"===a&&wp.element.createElement("svg",{id:"curve",fill:o,viewBox:"0 0 100 100",width:"100%",height:c?"".concat(c,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",className:l()({rotate:"top"===t})},wp.element.createElement("path",{d:"M0 100 C40 0 60 0 100 100 Z"})),"slant"===a&&!1===r&&wp.element.createElement("svg",{id:"slant",fill:o,viewBox:"0 0 100 100",width:"100%",height:c?"".concat(c,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",className:l()({rotate:"bottom"===t})},wp.element.createElement("path",{d:"M0 0 L100 100 L100 0 Z"})),"slant"===a&&!0===r&&wp.element.createElement("svg",{id:"slant",fill:o,viewBox:"0 0 100 100",width:"100%",height:c?"".concat(c,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",className:l()({rotate:"bottom"===t})},wp.element.createElement("path",{d:"M0 0 L0 100 L100 0 Z"})),"cloud"===a&&wp.element.createElement("svg",{id:"cloud",fill:o,viewBox:"0 0 100 100",width:"100%",height:c?"".concat(c,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",className:l()({rotate:"top"===t})},wp.element.createElement("path",{d:"M-5 100 Q 10 -100 15 100 Z M10 100 Q 20 -20 30 100 M25 100 Q 35 -70 45 100 M40 100 Q 50 -100 60 100 M55 100 Q 65 -20 75 100 M70 100 Q 75 -45 90 100 M85 100 Q 90 -50 95 100 M90 100 Q 95 -25 105 100 Z"})))}},function(e,t,n){"use strict";n.r(t);n(67);var a=n(3),l=wp.i18n.__,o=wp.components,r=o.Button,i=o.ButtonGroup,c=o.Icon,d=wp.compose.useInstanceId;t.default=function e(t){var n=t.label,o=t.backgroundType,p=t.changeBackgroundType,u=d(e),m="inspector-background-control-".concat(u);return wp.element.createElement("div",{id:m,className:"components-base-control wp-block-themeisle-blocks-advanced-columns-background-control"},wp.element.createElement("div",{className:"components-base-control__field"},wp.element.createElement("div",{className:"components-base-control__title"},wp.element.createElement("label",{className:"components-base-control__label"},n),wp.element.createElement(i,{className:"linking-controls"},wp.element.createElement(r,{icon:"admin-customizer",label:l("Color"),showTootlip:!0,isPrimary:"color"===o,onClick:function(){return p("color")}}),wp.element.createElement(r,{icon:"format-image",label:l("Image"),showTootlip:!0,isPrimary:"image"===o,onClick:function(){return p("image")}}),wp.element.createElement(r,{icon:function(){return wp.element.createElement(c,{icon:a.b})},label:l("Gradient"),showTootlip:!0,isPrimary:"gradient"===o,onClick:function(){return p("gradient")}})))))}},function(e,t){e.exports=ReactDOM},function(e,t,n){"use strict";t.a={1:{equal:["100"]},2:{equal:["50","50"],oneTwo:["33.34","66.66"],twoOne:["66.66","33.34"]},3:{equal:["33.33","33.33","33.33"],oneOneTwo:["25","25","50"],twoOneOne:["50","25","25"],oneTwoOne:["25","50","25"],oneThreeOne:["20","60","20"]},4:{equal:["25","25","25","25"]},5:{equal:["20","20","20","20","20"]},6:{equal:["16.66","16.66","16.66","16.66","16.66","16.66"]}}},function(e,t,n){"use strict";n(68);var a=n(2),l=n(0),o=n.n(l),r=wp.components,i=r.Dashicon,c=r.Tooltip,d=function(e){var t=e.title,n=e.firstColor,a=e.secondColor,l=e.isSelected,r=e.onChange,d=wp.element.createElement("button",{type:"button","aria-pressed":l,className:o()("wp-block-themeisle-blocks-gradient-picker-control-option",{"is-active":l}),style:{background:"linear-gradient(90deg, ".concat(n," 0%, ").concat(a," 100%)")},onClick:function(){return r(n,0,a,100,"linear",90,"center center")}});return wp.element.createElement("div",{className:"wp-block-themeisle-blocks-gradient-picker-control-option-wrapper"},t?wp.element.createElement(c,{text:t},d):d,l&&wp.element.createElement(i,{icon:"saved"}))},p=wp.i18n.__,u=[{title:p("Reef"),firstColor:"#36d1dc",secondColor:"#5b86e5"},{title:p("Mild"),firstColor:"#67B26F",secondColor:"#4ca2cd"},{title:p("Mojito"),firstColor:"#1D976C",secondColor:"#93F9B9"},{title:p("Nelson"),firstColor:"#f2709c",secondColor:"#ff9472"},{title:p("Orange Fun"),firstColor:"#fc4a1a",secondColor:"#f7b733"},{title:p("Evening Night"),firstColor:"#005AA7",secondColor:"#FFFDE4"},{title:p("Calm Darya"),firstColor:"#5f2c82",secondColor:"#49a09d"},{title:p("Opa"),firstColor:"#3D7EAA",secondColor:"#FFE47A"},{title:p("Bora Bora"),firstColor:"#2BC0E4",secondColor:"#EAECC6"},{title:p("Electric Violet"),firstColor:"#4776E6",secondColor:"#8E54E9"},{title:p("Pinky"),firstColor:"#DD5E89",secondColor:"#F7BB97"},{title:p("Purple Paradise"),firstColor:"#1D2B64",secondColor:"#F8CDDA"}],m=wp.i18n.__,s=wp.components,b=s.Button,g=s.ColorIndicator,f=s.Dropdown,y=s.RangeControl,h=s.SelectControl,w=wp.compose.useInstanceId,v=wp.blockEditor.ColorPalette,k=wp.element.Fragment;t.a=function e(t){var n,l=t.label,o=t.value,r=t.customGradient,i=void 0===r||r,c=t.onChange,p=t.onChangeValue,s=w(e),T="inspector-gradient-picker-control-".concat(s);n="linear"===o.type?"".concat(o.angle,"deg"):"at ".concat(o.position);var E="".concat(o.type,"-gradient( ").concat(n,", ").concat(o.firstColor||"rgba( 0, 0, 0, 0 )"," ").concat(o.firstLocation,"%, ").concat(o.secondColor||"rgba( 0, 0, 0, 0 )"," ").concat(o.secondLocation,"% )"),x=u.some((function(e){return e.firstColor===o.firstColor&&e.secondColor===o.secondColor}));return wp.element.createElement("div",{id:T,className:"wp-block-themeisle-blocks-gradient-picker-control"},wp.element.createElement("div",{className:"components-base-control__field"},l&&wp.element.createElement("div",{className:"components-base-control__title"},wp.element.createElement("label",{className:"components-base-control__label"},l,!x&&wp.element.createElement(g,{colorValue:E}))),wp.element.createElement("div",{className:"wp-block-themeisle-blocks-gradient-picker-control-presets"},u.map((function(e){return wp.element.createElement(d,{title:e.title,firstColor:e.firstColor,secondColor:e.secondColor,isSelected:e.firstColor===o.firstColor&&e.secondColor===o.secondColor,onChange:c})})),wp.element.createElement("div",{className:"wp-block-themeisle-blocks-gradient-picker-control-custom-wrapper"},i&&wp.element.createElement(f,{className:"wp-block-themeisle-blocks-gradient-picker-control-dropdown-link-action",contentClassName:"wp-block-themeisle-blocks-gradient-picker-control-dropdown-content",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return wp.element.createElement(b,{"aria-expanded":t,onClick:n,isLink:!0},m("Custom Gradient"))},renderContent:function(){return wp.element.createElement(k,null,wp.element.createElement(a.a,{label:m("First Color"),colorValue:o.firstColor},wp.element.createElement(v,{label:m("Color"),clearable:!1,value:o.firstColor,onChange:function(e){return p({firstColor:e})}})),wp.element.createElement(y,{label:m("Location"),value:o.firstLocation,min:0,max:100,onChange:function(e){return p({firstLocation:e})}}),wp.element.createElement(a.a,{label:m("Second Color"),colorValue:o.secondColor},wp.element.createElement(v,{label:m("Color"),clearable:!1,value:o.secondColor,onChange:function(e){return p({secondColor:e})}})),wp.element.createElement(y,{label:m("Location"),value:o.secondLocation,min:0,max:100,onChange:function(e){return p({secondLocation:e})}}),wp.element.createElement(h,{label:m("Type"),value:o.type,options:[{label:"Linear",value:"linear"},{label:"Radial",value:"radial"}],onChange:function(e){return p({type:e})}}),"linear"===o.type?wp.element.createElement(y,{label:m("Angle"),value:o.angle,min:0,max:360,onChange:function(e){return p({angle:e})}}):wp.element.createElement(h,{label:m("Position"),value:o.position,options:[{label:"Top Left",value:"top left"},{label:"Top Center",value:"top center"},{label:"Top Right",value:"top right"},{label:"Center Left",value:"center left"},{label:"Center Center",value:"center center"},{label:"Center Right",value:"center right"},{label:"Bottom Left",value:"bottom left"},{label:"Bottom Center",value:"bottom center"},{label:"Bottom Right",value:"bottom right"}],onChange:function(e){return p({position:e})}}))}}),wp.element.createElement(b,{className:"wp-block-themeisle-blocks-gradient-picker-control-clear",type:"button",isSmall:!0,isSecondary:!0,onClick:function(){return c("#ffffff",0,"#ffffff",100,"linear",90,"center center")}},m("Clear"))))))}},,function(e,t,n){"use strict";var a=n(0),l=n.n(a);n(54);function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return r(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var i=wp.i18n.__,c=wp.blockEditor.InspectorAdvancedControls,d=wp.compose.useInstanceId,p=wp.components,u=p.BaseControl,m=p.Button,s=p.Notice,b=wp.element,g=b.useEffect,f=b.useState;t.a=function e(t){var n=t.value,a=t.onChange,r=d(e);g((function(){return v(n)}),[n]);var p=o(f(!1),2),b=p[0],y=p[1],h=o(f(null),2),w=h[0],v=h[1],k=void 0!==window.themeisleGutenberg.blockIDs&&n!==w&&window.themeisleGutenberg.blockIDs.includes(w);return wp.element.createElement(c,null,wp.element.createElement(u,{label:i("HTML Anchor"),help:i("Anchors lets you link directly to a section on a page."),id:"wp-block-themeisle-blocks-html-anchor-control-".concat(r)},wp.element.createElement("div",{className:"wp-block-themeisle-blocks-html-anchor-control"},wp.element.createElement("input",{type:"text",className:"wp-block-themeisle-blocks-html-anchor-control-input",readonly:!b&&"readonly",value:b?w:n,onChange:function(e){return v(e.target.value)},onClick:function(e){return e.target.select()}}),wp.element.createElement(m,{icon:b?"yes":"edit",label:i(b?"Save":"Edit"),showTooltip:!0,disabled:!!k,className:l()("wp-block-themeisle-blocks-html-anchor-control-button",{"is-saved":!b}),onClick:function(){if(b&&n!==w){var e=window.themeisleGutenberg.blockIDs.findIndex((function(e){return e===n}));window.themeisleGutenberg.blockIDs[e]=w,a(w)}y(!b)}}))),k&&wp.element.createElement(s,{status:"warning",isDismissible:!1,className:"wp-block-themeisle-blocks-anchor-control-notice"},i("This ID has already been used in this page. Please consider using a different ID to avoid conflict.")))}},function(e,t,n){"use strict";var a=n(0),l=n.n(a),o=n(22);n(57);function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return i(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var c=wp.i18n.__,d=wp.apiFetch,p=wp.components,u=p.Button,m=p.BaseControl,s=p.Popover,b=wp.compose.useInstanceId,g=wp.data.useSelect,f=wp.element,y=f.useEffect,h=f.useRef,w=f.useState,v=wp.keycodes,k=v.DOWN,T=v.ENTER,E=v.TAB,x=v.UP,C=wp.url.addQueryArgs;t.a=function e(t){var n=t.label,a=t.help,i=t.placeholder,p=t.value,f=t.className,v=t.onChange,S=t.children,M=b(e),B=g((function(e){return(0,e("core/block-editor").getSettings)().__experimentalFetchLinkSuggestions}),[]);y((function(){_&&null!==D&&void 0!==L[D]&&!R&&null!==O.current&&(R=!0,Object(o.a)(L[D],O.current,{onlyScrollIfNeeded:!0}),setTimeout((function(){R=!1}),100))}));var O=h(null),R=!1,L=[],A=[],N=r(w(!1),2),P=N[0],z=N[1],H=r(w(!1),2),_=H[0],I=H[1],j=r(w(null),2),D=j[0],G=j[1],V=r(w([]),2),F=V[0],W=V[1],q=function(e){return function(t){L[e]=t}},U=function(e){v(e),I(!1)},Z="inspector-link-control-".concat(M);return wp.element.createElement(m,{label:n,id:Z,help:a,className:f},wp.element.createElement("div",{className:l()("wp-block-themeisle-blocks-link-control-wrapper",{"is-open":P})},wp.element.createElement("input",{type:"url",placeholder:i,value:p,onChange:function(e){v(e.target.value),function(e){var t;1>=e.length||/^https?:/.test(e)?I(!1):(I(!0),(t=B?B(e):d({path:C("/wp/v2/search",{search:e,per_page:20,type:"post"})})).then((function(e){A===t&&(W(e),G(null))})),A=t)}(e.target.value)},onKeyDown:function(e){if(_&&1<=F.length){var t=F[D];switch(e.keyCode){case x:e.stopPropagation(),e.preventDefault();var n=D?D-1:F.length-1;G(n);break;case k:e.stopPropagation(),e.preventDefault();var a=null===D||D===F.length-1?0:D+1;G(a);break;case E:case T:null!==D&&(e.stopPropagation(),U(t.url))}}},className:l()("components-text-control__input",{"is-full":void 0===S})}),_&&0<F.length&&wp.element.createElement(s,{position:"bottom",noArrow:!0,focusOnMount:!1,className:"wp-block-themeisle-blocks-link-control-popover"},wp.element.createElement("div",{ref:O,className:"wp-block-themeisle-blocks-link-control-popover-container"},F.map((function(e,t){return wp.element.createElement("button",{key:e.id,role:"option",tabIndex:"-1",ref:q(t),className:l()("block-editor-url-input__suggestion","editor-url-input__suggestion",{"is-selected":t===D}),onClick:function(){return U(e.url)}},e.title||c("Untitled Post"))})))),void 0!==S&&wp.element.createElement(u,{icon:"admin-generic",label:c("Link Options"),showTooltip:!0,onClick:function(){return z(!P)}})),P&&S)}},,,,function(e,t,n){"use strict";n.r(t);var a=n(0),l=n.n(a),o=(n(69),n(4)),r=wp.i18n.__,i=wp.components,c=i.Button,d=i.Path,p=i.Rect,u=i.SVG,m=i.Tooltip,s=wp.data.useSelect,b=wp.element.Fragment;t.default=function(e){var t,n=e.label,a=e.onClick,i=e.layout,g=e.layoutTablet,f=e.layoutMobile,y=e.columns,h=s((function(e){var t=e("themeisle-gutenberg/data").getView,n=e("core/edit-post").__experimentalGetPreviewDeviceType;return n?n():t()}),[]);return"Desktop"===h?t=i:"Tablet"===h?t=g:"Mobile"===h&&(t=f),wp.element.createElement(o.a,{label:n,className:"wp-block-themeisle-blocks-advanced-columns-layout-control"},1===y&&wp.element.createElement(m,{text:r("Single Row")},wp.element.createElement(c,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"equal"===t}),onClick:function(){return a("equal")}},wp.element.createElement(u,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(d,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}))))||2===y&&wp.element.createElement(b,null,wp.element.createElement(m,{text:r("Equal")},wp.element.createElement(c,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"equal"===t}),onClick:function(){return a("equal")}},wp.element.createElement(u,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(d,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(p,{x:"22.9",y:"13",width:"2.2",height:"22"})))),wp.element.createElement(m,{text:r("1:2")},wp.element.createElement(c,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"oneTwo"===t}),onClick:function(){return a("oneTwo")}},wp.element.createElement(u,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(d,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(p,{x:"16.9",y:"13",width:"2.2",height:"22"})))),wp.element.createElement(m,{text:r("2:1")},wp.element.createElement(c,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"twoOne"===t}),onClick:function(){return a("twoOne")}},wp.element.createElement(u,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(d,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(p,{x:"28.9",y:"13",width:"2.2",height:"22"})))),("Mobile"==h||"Tablet"==h)&&wp.element.createElement(m,{text:r("Collapsed Rows")},wp.element.createElement(c,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"collapsedRows"===t}),onClick:function(){return a("collapsedRows")}},wp.element.createElement(u,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(d,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(p,{x:"6",y:"22.9",width:"36",height:"2.2"})))))||3===y&&wp.element.createElement(b,null,wp.element.createElement(m,{text:r("Equal")},wp.element.createElement(c,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"equal"===t}),onClick:function(){return a("equal")}},wp.element.createElement(u,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(d,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(p,{x:"28.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(p,{x:"16.9",y:"13",width:"2.2",height:"22"})))),wp.element.createElement(m,{text:r("1:1:2")},wp.element.createElement(c,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"oneOneTwo"===t}),onClick:function(){return a("oneOneTwo")}},wp.element.createElement(u,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(d,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(p,{x:"22.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(p,{x:"12.9",y:"13",width:"2.2",height:"22"})))),wp.element.createElement(m,{text:r("2:1:1")},wp.element.createElement(c,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"twoOneOne"===t}),onClick:function(){return a("twoOneOne")}},wp.element.createElement(u,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(d,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(p,{x:"22.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(p,{x:"32.9",y:"13",width:"2.2",height:"22"})))),wp.element.createElement(m,{text:r("1:2:1")},wp.element.createElement(c,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"oneTwoOne"===t}),onClick:function(){return a("oneTwoOne")}},wp.element.createElement(u,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(d,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(p,{x:"13.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(p,{x:"31.9",y:"13",width:"2.2",height:"22"})))),wp.element.createElement(m,{text:r("1:3:1")},wp.element.createElement(c,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"oneThreeOne"===t}),onClick:function(){return a("oneThreeOne")}},wp.element.createElement(u,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(d,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(p,{x:"11.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(p,{x:"33.9",y:"13",width:"2.2",height:"22"})))),("Mobile"==h||"Tablet"==h)&&wp.element.createElement(m,{text:r("Collapsed Rows")},wp.element.createElement(c,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"collapsedRows"===t}),onClick:function(){return a("collapsedRows")}},wp.element.createElement(u,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(d,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(p,{x:"6",y:"22.9",width:"36",height:"2.2"})))))||4===y&&wp.element.createElement(b,null,wp.element.createElement(m,{text:r("Equal")},wp.element.createElement(c,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"equal"===t}),onClick:function(){return a("equal")}},wp.element.createElement(u,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(d,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(p,{x:"13.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(p,{x:"32.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(p,{x:"22.9",y:"13",width:"2.2",height:"22"})))),("Mobile"==h||"Tablet"==h)&&wp.element.createElement(b,null,wp.element.createElement(m,{text:r("Two Column Grid")},wp.element.createElement(c,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"twoColumnGrid"===t}),onClick:function(){return a("twoColumnGrid")}},wp.element.createElement(u,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(d,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(p,{x:"4",y:"22.9",width:"40",height:"2.2"}),wp.element.createElement(p,{x:"22.9",y:"13",width:"2.2",height:"22"})))),wp.element.createElement(m,{text:r("Collapsed Rows")},wp.element.createElement(c,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"collapsedRows"===t}),onClick:function(){return a("collapsedRows")}},wp.element.createElement(u,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(d,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(p,{x:"6",y:"22.9",width:"36",height:"2.2"}))))))||5===y&&wp.element.createElement(b,null,wp.element.createElement(m,{text:r("Equal")},wp.element.createElement(c,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"equal"===t}),onClick:function(){return a("equal")}},wp.element.createElement(u,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(d,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(p,{x:"10.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(p,{x:"34.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(p,{x:"26.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(p,{x:"18.9",y:"13",width:"2.2",height:"22"})))),("Mobile"==h||"Tablet"==h)&&wp.element.createElement(m,{text:r("Collapsed Rows")},wp.element.createElement(c,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"collapsedRows"===t}),onClick:function(){return a("collapsedRows")}},wp.element.createElement(u,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(d,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(p,{x:"6",y:"22.9",width:"36",height:"2.2"})))))||6===y&&wp.element.createElement(b,null,wp.element.createElement(m,{text:r("Equal")},wp.element.createElement(c,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"equal"===t}),onClick:function(){return a("equal")}},wp.element.createElement(u,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(d,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(p,{x:"10.4",y:"13",width:"2.2",height:"22"}),wp.element.createElement(p,{x:"35.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(p,{x:"29.4",y:"13",width:"2.2",height:"22"}),wp.element.createElement(p,{x:"16.4",y:"13",width:"2.2",height:"22"}),wp.element.createElement(p,{x:"22.9",y:"13",width:"2.2",height:"22"})))),("Mobile"==h||"Tablet"==h)&&wp.element.createElement(b,null,wp.element.createElement(m,{text:r("Two Column Grid")},wp.element.createElement(c,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"twoColumnGrid"===t}),onClick:function(){return a("twoColumnGrid")}},wp.element.createElement(u,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(d,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(p,{x:"4",y:"18.9",width:"40",height:"2.2"}),wp.element.createElement(p,{x:"22.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(p,{x:"4",y:"26.9",width:"40",height:"2.2"})))),wp.element.createElement(m,{text:r("Three Column Grid")},wp.element.createElement(c,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"threeColumnGrid"===t}),onClick:function(){return a("threeColumnGrid")}},wp.element.createElement(u,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(d,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(p,{x:"4",y:"22.9",width:"40",height:"2.2"}),wp.element.createElement(p,{x:"28.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(p,{x:"16.9",y:"13",width:"2.2",height:"22"})))),wp.element.createElement(m,{text:r("Collapsed Rows")},wp.element.createElement(c,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"collapsedRows"===t}),onClick:function(){return a("collapsedRows")}},wp.element.createElement(u,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(d,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(p,{x:"6",y:"22.9",width:"36",height:"2.2"})))))))}},function(e,t,n){"use strict";n.r(t);n(72);var a=n(3),l=n(0),o=n.n(l);n(73);function r(e){return function(e){if(Array.isArray(e))return i(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return i(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var c=lodash,d=c.startCase,p=c.toLower,u=wp.i18n.__,m=wp.components,s=m.Button,b=m.Dashicon,g=m.Icon,f=m.TextControl,y=m.Tooltip,h=m.SelectControl,w=function(e){var t,n=e.preview,l=e.tab,i=e.blocksCategories,c=e.templateCategories,m=e.selectedCategory,w=e.selectedTemplate,v=e.search,k=e.setPreview,T=e.changeTab,E=e.close,x=e.importTemplate,C=e.selectCategory,S=e.changeSearch,M=(t=("block"===l?i:c).map((function(e){return{label:d(p(e)),value:e}})),[{label:u("All Categories"),value:"all"}].concat(r(t)));return wp.element.createElement("div",{className:"library-modal-control-panel"},wp.element.createElement("div",{className:"library-modal-header"},wp.element.createElement("div",{className:"library-modal-header-logo"},n?wp.element.createElement(s,{className:"library-modal-header-tabs-button back-to-library","aria-label":u("Back to Library"),onClick:function(){return k(!1)}},wp.element.createElement(b,{icon:"arrow-left-alt"})," ",u("Back to Library")):wp.element.createElement("div",{className:"library-modal-header-tabs-button"},wp.element.createElement(g,{icon:a.m}))),!n&&wp.element.createElement("div",{className:"library-modal-header-tabs"},wp.element.createElement(s,{className:o()("library-modal-header-tabs-button",{"is-selected":"block"===l}),onClick:function(){return T("block")}},wp.element.createElement(b,{icon:"screenoptions"}),u("Blocks")),wp.element.createElement(s,{className:o()("library-modal-header-tabs-button",{"is-selected":"template"===l}),onClick:function(){return T("template")}},wp.element.createElement(b,{icon:"editor-table"}),u("Templates"))),wp.element.createElement("div",{className:"library-modal-header-actions"},n&&wp.element.createElement(s,{className:"library-modal-header-tabs-button insert-button",onClick:function(){return x(w.template_url)},tabindex:"0"},wp.element.createElement(b,{icon:"arrow-down-alt",size:16}),u("Insert")),wp.element.createElement(y,{text:u("Close")},wp.element.createElement(s,{className:"library-modal-header-tabs-button","aria-label":u("Close settings"),onClick:E},wp.element.createElement(b,{icon:"no-alt"}))))),!n&&wp.element.createElement("div",{className:"library-modal-actions"},wp.element.createElement(h,{className:"library-modal-category-control",value:"all"===m?"all":m,onChange:C,options:M}),wp.element.createElement(f,{type:"text",value:v||"",placeholder:u("Search"),className:"library-modal-search-control",onChange:S})))},v=wp.components.Notice,k=wp.data,T=k.useDispatch,E=k.useSelect,x=function(){var e=E((function(e){return e("core/notices").getNotices("themeisle-blocks/notices/template-library")})),t=T("core/notices").removeNotice;return wp.element.createElement("div",{className:"library-modal-error"},e.map((function(e){return wp.element.createElement(v,{status:e.status,isDismissible:e.isDismissible,onRemove:function(){return t(e.id,"themeisle-blocks/notices/template-library")},actions:e.actions},e.content)})))},C=n(23),S=n.n(C),M=wp.i18n.__,B=wp.components.Button,O=function(e){var t=e.template,n=e.importPreview,a=e.importTemplate;return wp.element.createElement("div",{"aria-label":t.title||M("Untitled Gutenberg Template"),className:"library-modal-content__item",tabindex:"0"},wp.element.createElement("div",{className:"library-modal-content__preview"},wp.element.createElement(S.a,null,wp.element.createElement("img",{src:t.screenshot_url||"https://raw.githubusercontent.com/Codeinwp/gutenberg-templates/master/assets/images/default.jpg"}))),wp.element.createElement("div",{className:"library-modal-content__footer"},wp.element.createElement("div",{className:"library-modal-content__footer_meta"},wp.element.createElement("h4",{className:"library-modal-content__footer_meta_area"},t.title&&t.title+(t.author&&M(" by ")+t.author),!t.title&&t.author&&M("Author: ")+t.author)),wp.element.createElement("div",{className:"library-modal-content__footer_actions"},wp.element.createElement(B,{isSecondary:!0,isLarge:!0,className:"library-modal-overlay__actions",onClick:function(){return n(t)},tabindex:"0"},M("Preview")),wp.element.createElement(B,{isPrimary:!0,isLarge:!0,className:"library-modal-overlay__actions",onClick:function(){return a(t.template_url)},tabindex:"0"},M("Insert")))))},R=wp.i18n.__,L=wp.blockEditor.BlockPreview,A=wp.components.Spinner,N=wp.compose.useViewportMatch,P=function(e){var t=e.preview,n=e.isLoading,a=e.data,l=e.tab,o=e.selectedTemplateContent,r=e.selectedCategory,i=e.search,c=e.importPreview,d=e.importTemplate,p=N("large",">="),u=N("large","<="),m=N("small",">="),s=N("small","<="),b=1400;return!p&&!u&&m&&!s?b=960:!(p||u||m||s)&&(b=600),t?wp.element.createElement("div",{className:"library-modal-preview"},wp.element.createElement(L,{blocks:o,viewportWidth:b})):n?wp.element.createElement("div",{className:"library-modal-loader"},wp.element.createElement(A,null)):wp.element.createElement("div",{className:"library-modal-content"},a.map((function(e){if(e.template_url&&("all"===r||e.categories&&e.categories.includes(r))&&(!i||e.keywords&&e.keywords.some((function(e){return e.toLowerCase().includes(i.toLowerCase())})))&&l===e.type)return wp.element.createElement(O,{template:e,importPreview:c,importTemplate:d})})),wp.element.createElement("div",{"aria-label":R("Coming Soon"),className:"library-modal-content__item"},wp.element.createElement("div",{className:"library-modal-content__preview"},wp.element.createElement(S.a,null,wp.element.createElement("img",{src:"https://raw.githubusercontent.com/Codeinwp/gutenberg-templates/master/assets/images/coming-soon.jpg"})))))};function z(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return H(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return H(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function H(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}function _(e,t,n,a,l,o,r){try{var i=e[o](r),c=i.value}catch(e){return void n(e)}i.done?t(c):Promise.resolve(c).then(a,l)}function I(e){return function(){var t=this,n=arguments;return new Promise((function(a,l){var o=e.apply(t,n);function r(e){_(o,a,l,r,i,"next",e)}function i(e){_(o,a,l,r,i,"throw",e)}r(void 0)}))}}var j=wp.i18n.__,D=wp.apiFetch,G=wp.blocks.parse,V=wp.components.Modal,F=wp.data,W=F.useSelect,q=F.useDispatch,U=wp.element,Z=U.useEffect,$=U.useState,Q=function(e){var t=e.clientId,n=e.close,a=W((function(e){return e("core/block-editor").getBlock(t)})),l=q("core/block-editor").replaceBlocks,r=q("core/notices").createNotice;Z((function(){(function(){var e=I(regeneratorRuntime.mark((function e(){var t,n,a;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return Boolean(themeisleGutenberg.isCompatible)||r("warning",j("You are using an older version of Otter. Use the latest version of Otter to have maximum compatibility with Template Library."),{context:"themeisle-blocks/notices/template-library",id:"compatibility-warning",isDismissible:!1,actions:[{label:j("Update Now"),url:themeisleGutenberg.updatePath}]}),e.prev=1,e.next=4,D({path:"themeisle-gutenberg-blocks/v1/fetch_templates"});case 4:t=e.sent,n=[],a=[],t.map((function(e){e.categories&&e.template_url&&("block"===e.type&&e.categories.map((function(e){n.push(e)})),"template"===e.type&&e.categories.map((function(e){a.push(e)})))})),n=n.filter((function(e,t,n){return n.indexOf(e)===t})).sort(),a=a.filter((function(e,t,n){return n.indexOf(e)===t})).sort(),T(n),S(a),O(t),e.next=18;break;case 15:e.prev=15,e.t0=e.catch(1),r("error",j("There seems to be an error. Please try again."),{context:"themeisle-blocks/notices/template-library",isDismissible:!0});case 18:m(!1);case 19:case"end":return e.stop()}}),e,null,[[1,15]])})));return function(){return e.apply(this,arguments)}})()()}),[]);var i=z($("block"),2),c=i[0],d=i[1],p=z($(!0),2),u=p[0],m=p[1],s=z($("all"),2),b=s[0],g=s[1],f=z($(""),2),y=f[0],h=f[1],v=z($([]),2),k=v[0],T=v[1],E=z($([]),2),C=E[0],S=E[1],M=z($([]),2),B=M[0],O=M[1],R=z($(!1),2),L=R[0],A=R[1],N=z($(null),2),H=N[0],_=N[1],F=z($(null),2),U=F[0],Q=F[1],K=function(){var e=I(regeneratorRuntime.mark((function e(){var t,n,a=arguments;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=a.length>0&&void 0!==a[0]?a[0]:null,m(!0),e.prev=2,e.next=5,D({path:"themeisle-gutenberg-blocks/v1/import_template?url=".concat(t.template_url,"&preview=true")});case 5:(n=e.sent).__file&&n.content&&"wp_export"===n.__file&&(n=G(n.content)),_(t),Q(n),A(!0),e.next=15;break;case 12:e.prev=12,e.t0=e.catch(2),e.t0.message&&r("error",e.t0.message,{context:"themeisle-blocks/notices/template-library",isDismissible:!0});case 15:m(!1);case 16:case"end":return e.stop()}}),e,null,[[2,12]])})));return function(){return e.apply(this,arguments)}}(),J=function(){var e=I(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return A(!1),m(!0),e.prev=2,e.next=5,D({path:"themeisle-gutenberg-blocks/v1/import_template?url=".concat(t)});case 5:(n=e.sent).__file&&n.content&&"wp_export"===n.__file&&(n=G(n.content)),o=n,l(a.clientId,o),e.next=14;break;case 10:e.prev=10,e.t0=e.catch(2),e.t0.message&&r("error",e.t0.message,{context:"themeisle-blocks/notices/template-library",isDismissible:!0}),m(!1);case 14:case"end":return e.stop()}var o}),e,null,[[2,10]])})));return function(t){return e.apply(this,arguments)}}();return wp.element.createElement(V,{className:o()("wp-block-themeisle-library-modal",{"is-preview":L}),onRequestClose:n,isDismissable:!1,shouldCloseOnClickOutside:!1},wp.element.createElement(w,{preview:L,tab:c,changeTab:function(e){d(e),g("all"),h("")},blocksCategories:k,templateCategories:C,selectedTemplate:H,selectedCategory:b,search:y,setPreview:A,close:n,importTemplate:J,selectCategory:function(e){return g(e)},changeSearch:function(e){return h(e)}}),wp.element.createElement(x,null),wp.element.createElement(P,{preview:L,isLoading:u,data:B,tab:c,selectedTemplateContent:U,selectedCategory:b,search:y,importPreview:K,importTemplate:J}))};function K(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return J(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return J(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function J(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var Y=wp.i18n.__,X=wp.components,ee=X.Button,te=X.Dashicon,ne=X.Icon,ae=X.Path,le=X.Placeholder,oe=X.Rect,re=X.SVG,ie=X.Tooltip,ce=wp.element.useState;t.default=function(e){var t=e.clientId,n=e.setupColumns,l=K(ce(!1),2),o=l[0],r=l[1];return wp.element.createElement(le,{label:Y("Select Layout"),instructions:Y("Select a layout to start with, or make one yourself."),icon:wp.element.createElement(ne,{icon:a.g}),isColumnLayout:!0,className:"wp-block-themeisle-onboarding-component"},wp.element.createElement("div",{className:"wp-block-themeisle-layout-picker"},wp.element.createElement(ie,{text:Y("Equal")},wp.element.createElement(ee,{isLarge:!0,className:"wp-block-themeisle-blocks-advanced-column-layout",onClick:function(){return n(2,"equal")}},wp.element.createElement(re,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(ae,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(oe,{x:"22.9",y:"13",width:"2.2",height:"22"})))),wp.element.createElement(ie,{text:Y("1:2")},wp.element.createElement(ee,{isLarge:!0,className:"wp-block-themeisle-blocks-advanced-column-layout",onClick:function(){return n(2,"oneTwo")}},wp.element.createElement(re,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(ae,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(oe,{x:"16.9",y:"13",width:"2.2",height:"22"})))),wp.element.createElement(ie,{text:Y("2:1")},wp.element.createElement(ee,{isLarge:!0,className:"wp-block-themeisle-blocks-advanced-column-layout",onClick:function(){return n(2,"twoOne")}},wp.element.createElement(re,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(ae,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(oe,{x:"28.9",y:"13",width:"2.2",height:"22"})))),wp.element.createElement(ie,{text:Y("Equal")},wp.element.createElement(ee,{isLarge:!0,className:"wp-block-themeisle-blocks-advanced-column-layout",onClick:function(){return n(3,"equal")}},wp.element.createElement(re,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(ae,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(oe,{x:"28.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(oe,{x:"16.9",y:"13",width:"2.2",height:"22"})))),wp.element.createElement(ie,{text:Y("1:1:2")},wp.element.createElement(ee,{isLarge:!0,className:"wp-block-themeisle-blocks-advanced-column-layout",onClick:function(){return n(3,"oneOneTwo")}},wp.element.createElement(re,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(ae,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(oe,{x:"22.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(oe,{x:"12.9",y:"13",width:"2.2",height:"22"})))),wp.element.createElement(ie,{text:Y("2:1:1")},wp.element.createElement(ee,{isLarge:!0,className:"wp-block-themeisle-blocks-advanced-column-layout",onClick:function(){return n(3,"twoOneOne")}},wp.element.createElement(re,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(ae,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(oe,{x:"22.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(oe,{x:"32.9",y:"13",width:"2.2",height:"22"})))),wp.element.createElement(ie,{text:Y("Equal")},wp.element.createElement(ee,{isLarge:!0,className:"wp-block-themeisle-blocks-advanced-column-layout",onClick:function(){return n(4,"equal")}},wp.element.createElement(re,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(ae,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(oe,{x:"13.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(oe,{x:"32.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(oe,{x:"22.9",y:"13",width:"2.2",height:"22"}))))),wp.element.createElement(ie,{text:Y("Open Template Library")},wp.element.createElement(ee,{isPrimary:!0,isLarge:!0,className:"wp-block-themeisle-template-library",onClick:function(){return r(!0)}},wp.element.createElement(te,{icon:"category"}),Y("Template Library")),o&&wp.element.createElement(Q,{clientId:t,close:function(){return r(!1)}})),wp.element.createElement("div",{className:"wp-block-themeisle-layout-skipper"},wp.element.createElement(ee,{isLink:!0,onClick:function(){return n(1,"equal")}},Y("Skip"))))}},function(e,t,n){"use strict";n.r(t);var a=n(0),l=n.n(a),o=n(10),r=wp.components,i=r.Placeholder,c=r.Spinner,d=wp.data.useSelect,p=function(e){var t=e.id,n=e.link,a=e.alt,l=e.size,o=d((function(e){var n=e("core").getMedia(t);return{featuredImage:n?0<Object.keys(n.media_details.sizes).length&&n.media_details.sizes[l]?n.media_details.sizes[l].source_url:n.source_url:null,altText:n&&n.alt_text?n.alt_text:a}}),[l]),r=o.featuredImage,p=o.altText;return wp.element.createElement("div",{className:"wp-block-themeisle-blocks-posts-grid-post-image"},wp.element.createElement("a",{href:n},r?wp.element.createElement("img",{src:r,size:l,alt:p,"data-id":t}):wp.element.createElement(i,null,wp.element.createElement(c,null))))},u=wp.i18n,m=u.__,s=u.sprintf,b=function(e){var t=e.className,n=e.attributes,a=e.posts,r=e.categoriesList,i=e.authors,c=n.titleTag||"h5";return wp.element.createElement("div",{className:l()(t,"is-grid","wp-block-themeisle-blocks-posts-grid-columns-".concat(n.columns),{"has-shadow":n.imageBoxShadow})},a.map((function(e){var t,a;return r&&(t=r.find((function(t){return t.id===e.categories[0]}))),i&&(a=i.find((function(t){return t.id===e.author}))),wp.element.createElement("div",{className:"wp-block-themeisle-blocks-posts-grid-post-blog wp-block-themeisle-blocks-posts-grid-post-plain"},wp.element.createElement("div",{className:"wp-block-themeisle-blocks-posts-grid-post"},void 0!==e.featured_media&&0!==e.featured_media&&n.displayFeaturedImage&&wp.element.createElement(p,{id:e.featured_media,link:e.link,alt:e.title.rendered,size:n.imageSize}),wp.element.createElement("div",{className:"wp-block-themeisle-blocks-posts-grid-post-body"},n.template.map((function(l){return"category"===l&&void 0!==t&&n.displayCategory&&r?wp.element.createElement("span",{class:"wp-block-themeisle-blocks-posts-grid-post-category"},t.name):"title"===l&&n.displayTitle?wp.element.createElement(c,{className:"wp-block-themeisle-blocks-posts-grid-post-title"},wp.element.createElement("a",{href:e.link},Object(o.b)(e.title.rendered))):"meta"===l&&n.displayMeta&&(n.displayDate||n.displayAuthor)?wp.element.createElement("p",{className:"wp-block-themeisle-blocks-posts-grid-post-meta"},n.displayDate&&s(m("on %s"),Object(o.a)(e.date)),n.displayAuthor&&void 0!==a&&i&&s(m(" by %s"),a.name)):"description"===l&&0<n.excerptLength&&n.displayDescription?wp.element.createElement("p",{className:"wp-block-themeisle-blocks-posts-grid-post-description"},Object(o.b)(e.excerpt.rendered).substring(0,n.excerptLength)+"…"):void 0})))))})))},g=wp.i18n,f=g.__,y=g.sprintf,h=function(e){var t=e.className,n=e.attributes,a=e.posts,r=e.categoriesList,i=e.authors,c=n.titleTag||"h5";return wp.element.createElement("div",{className:l()(t,"is-list",{"has-shadow":n.imageBoxShadow})},a.map((function(e){var t,a;return r&&(t=r.find((function(t){return t.id===e.categories[0]}))),i&&(a=i.find((function(t){return t.id===e.author}))),wp.element.createElement("div",{className:"wp-block-themeisle-blocks-posts-grid-post-blog wp-block-themeisle-blocks-posts-grid-post-plain"},wp.element.createElement("div",{className:"wp-block-themeisle-blocks-posts-grid-post"},0!==e.featured_media&&n.displayFeaturedImage&&wp.element.createElement(p,{id:e.featured_media,link:e.link,alt:e.title.rendered,size:n.imageSize}),wp.element.createElement("div",{className:l()("wp-block-themeisle-blocks-posts-grid-post-body",{"is-full":!n.displayFeaturedImage})},n.template.map((function(l){return"category"===l&&void 0!==t&&n.displayCategory&&r?wp.element.createElement("span",{class:"wp-block-themeisle-blocks-posts-grid-post-category"},t.name):"title"===l&&n.displayTitle?wp.element.createElement(c,{className:"wp-block-themeisle-blocks-posts-grid-post-title"},wp.element.createElement("a",{href:e.link},Object(o.b)(e.title.rendered))):"meta"===l&&n.displayMeta&&(n.displayDate||n.displayAuthor)?wp.element.createElement("p",{className:"wp-block-themeisle-blocks-posts-grid-post-meta"},n.displayDate&&y(f("on %s"),Object(o.a)(e.date)),n.displayAuthor&&void 0!==a&&i&&y(f(" by %s"),a.name)):"description"===l&&0<n.excerptLength&&n.displayDescription?wp.element.createElement("p",{className:"wp-block-themeisle-blocks-posts-grid-post-description"},Object(o.b)(e.excerpt.rendered).substring(0,n.excerptLength)+"…"):void 0})))))})))};t.default=function(e){var t=e.className,n=e.attributes,a=e.posts,l=e.categoriesList,o=e.authors;return"grid"===n.style?wp.element.createElement(b,{className:t,attributes:n,posts:a,categoriesList:l,authors:o}):"list"===n.style?wp.element.createElement(h,{className:t,attributes:n,posts:a,categoriesList:l,authors:o}):void 0}},,,function(e,t,n){"use strict";n.r(t);var a,l=n(3);function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var r,i=(o(a={id:{type:"string"},columns:{type:"number"},layout:{type:"string"},layoutTablet:{type:"string",default:"equal"},layoutMobile:{type:"string",default:"equal"},columnsGap:{type:"string",default:"default"},paddingType:{type:"string",default:"linked"},paddingTypeTablet:{type:"string",default:"linked"},paddingTypeMobile:{type:"string",default:"linked"},padding:{type:"number",default:20},paddingTablet:{type:"number"},paddingMobile:{type:"number"},paddingTop:{type:"number",default:20},paddingTopTablet:{type:"number"},paddingTopMobile:{type:"number"},paddingRight:{type:"number",default:20},paddingRightTablet:{type:"number"},paddingRightMobile:{type:"number"},paddingBottom:{type:"number",default:20},paddingBottomTablet:{type:"number"},paddingBottomMobile:{type:"number"},paddingLeft:{type:"number",default:20},paddingLeftTablet:{type:"number"},paddingLeftMobile:{type:"number"},marginType:{type:"string",default:"unlinked"},marginTypeTablet:{type:"string",default:"unlinked"},marginTypeMobile:{type:"string",default:"unlinked"},margin:{type:"number",default:20},marginTablet:{type:"number"},marginMobile:{type:"number"},marginTop:{type:"number",default:20},marginTopTablet:{type:"number"},marginTopMobile:{type:"number"},marginBottom:{type:"number",default:20},marginBottomTablet:{type:"number"},marginBottomMobile:{type:"number"},columnsWidth:{type:"number"},horizontalAlign:{type:"string",default:"unset"},columnsHeight:{type:"string",default:"auto"},columnsHeightCustom:{type:"number"},columnsHeightCustomTablet:{type:"number"},columnsHeightCustomMobile:{type:"number"},verticalAlign:{type:"string",default:"unset"},backgroundType:{type:"string",default:"color"},backgroundColor:{type:"string"},backgroundImageID:{type:"number"},backgroundImageURL:{type:"string"},backgroundAttachment:{type:"string",default:"scroll"},backgroundPosition:{type:"string",default:"top left"},backgroundRepeat:{type:"string",default:"repeat"},backgroundSize:{type:"string",default:"auto"},backgroundGradientFirstColor:{type:"string",default:"#36d1dc"},backgroundGradientFirstLocation:{type:"number",default:0},backgroundGradientSecondColor:{type:"string",default:"#5b86e5"},backgroundGradientSecondLocation:{type:"number",default:100},backgroundGradientType:{type:"string",default:"linear"},backgroundGradientAngle:{type:"number",default:90},backgroundGradientPosition:{type:"string",default:"center center"},backgroundOverlayOpacity:{type:"number",default:50},backgroundOverlayType:{type:"string",default:"color"},backgroundOverlayColor:{type:"string"},backgroundOverlayImageID:{type:"number"},backgroundOverlayImageURL:{type:"string"},backgroundOverlayAttachment:{type:"string",default:"scroll"},backgroundOverlayPosition:{type:"string",default:"top left"},backgroundOverlayRepeat:{type:"string",default:"repeat"},backgroundOverlaySize:{type:"string",default:"auto"},backgroundOverlayGradientFirstColor:{type:"string",default:"#36d1dc"},backgroundOverlayGradientFirstLocation:{type:"number",default:0},backgroundOverlayGradientSecondColor:{type:"string",default:"#5b86e5"},backgroundOverlayGradientSecondLocation:{type:"number",default:100},backgroundOverlayGradientType:{type:"string",default:"linear"},backgroundOverlayGradientAngle:{type:"number",default:90},backgroundOverlayGradientPosition:{type:"string",default:"center center"},backgroundOverlayFilterBlur:{type:"number",default:0},backgroundOverlayFilterBrightness:{type:"number",default:10},backgroundOverlayFilterContrast:{type:"number",default:10},backgroundOverlayFilterGrayscale:{type:"number",default:0},backgroundOverlayFilterHue:{type:"number",default:0},backgroundOverlayFilterSaturate:{type:"number",default:10},backgroundOverlayBlend:{type:"string",default:"normal"},borderType:{type:"string",default:"linked"},border:{type:"number",default:0},borderTop:{type:"number",default:0},borderRight:{type:"number",default:0},borderBottom:{type:"number",default:0},borderLeft:{type:"number",default:0},borderColor:{type:"string",default:"#000000"},borderRadiusType:{type:"string",default:"linked"},borderRadius:{type:"number",default:0},borderRadiusTop:{type:"number",default:0},borderRadiusRight:{type:"number",default:0},borderRadiusBottom:{type:"number",default:0},borderRadiusLeft:{type:"number",default:0},boxShadow:{type:"boolean",default:!1},boxShadowColor:{type:"string",default:"#000000"},boxShadowColorOpacity:{type:"number",default:50},boxShadowBlur:{type:"number",default:5},boxShadowSpread:{type:"number",default:0},boxShadowHorizontal:{type:"number",default:0},boxShadowVertical:{type:"number",default:0},dividerTopType:{type:"string",default:"none"},dividerTopColor:{type:"string",default:"#000000"},dividerTopWidth:{type:"number",default:100},dividerTopWidthTablet:{type:"number",default:100},dividerTopWidthMobile:{type:"number",default:100},dividerTopHeight:{type:"number",default:100},dividerTopHeightTablet:{type:"number",default:100},dividerTopHeightMobile:{type:"number",default:100},dividerTopInvert:{type:"boolean",default:!1},dividerBottomType:{type:"string",default:"none"},dividerBottomColor:{type:"string",default:"#000000"},dividerBottomWidth:{type:"number",default:100},dividerBottomWidthTablet:{type:"number",default:100},dividerBottomWidthMobile:{type:"number",default:100},dividerBottomHeight:{type:"number",default:100},dividerBottomHeightTablet:{type:"number",default:100},dividerBottomHeightMobile:{type:"number",default:100},dividerBottomInvert:{type:"boolean",default:!1},hide:{type:"boolean",default:!1},hideTablet:{type:"boolean",default:!1},hideMobile:{type:"boolean",default:!1},reverseColumnsTablet:{type:"boolean",default:!1}},"reverseColumnsTablet",{type:"boolean",default:!1}),o(a,"columnsHTMLTag",{type:"string",default:"div"}),a),c=n(0),d=n.n(c),p=n(7),u=n.n(p);function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?m(Object(n),!0).forEach((function(t){b(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function b(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var g=wp.blockEditor.InnerBlocks,f=wp.components,y=f.SVG,h=f.Path,w=function(e){var t=e.type,n=e.front,a=e.style,l=e.fill,o=e.invert,r=e.width,i=e.height;return"none"!==a&&wp.element.createElement("div",{className:d()("wp-block-themeisle-blocks-advanced-columns-separators",t),style:!n&&r?{transform:"".concat(r?"scaleX( ".concat(r/100," )"):"")}:{}},"bigTriangle"===a&&!1===o&&wp.element.createElement(y,{id:"bigTriangle",fill:l,viewBox:"0 0 100 100",width:"100%",height:i?"".concat(i,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",style:"bottom"===t?{transform:"".concat("bottom"===t?"rotate(180deg)":"")}:{}},wp.element.createElement(h,{d:"M0 0 L50 100 L100 0 Z"})),"bigTriangle"===a&&!0===o&&wp.element.createElement(y,{id:"bigTriangle",fill:l,viewBox:"0 0 100 100",width:"100%",height:i?"".concat(i,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",style:"top"===t?{transform:"".concat("top"===t?"rotate(180deg)":"")}:{}},wp.element.createElement(h,{d:"M100, 0l-50, 100l-50, -100l0, 100l100, 0l0, -100Z"})),"rightCurve"===a&&!1===o&&wp.element.createElement(y,{id:"rightCurve",fill:l,viewBox:"0 0 100 100",width:"100%",height:i?"".concat(i,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",style:"top"===t?{transform:"".concat("top"===t?"rotate(180deg)":"")}:{}},wp.element.createElement(h,{d:"M0 100 C 20 0 50 0 100 100 Z"})),"rightCurve"===a&&!0===o&&wp.element.createElement(y,{id:"rightCurve",fill:l,viewBox:"0 0 100 100",width:"100%",height:i?"".concat(i,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",style:"top"===t?{transform:"".concat("top"===t?"rotate(180deg)":"")}:{}},wp.element.createElement(h,{d:"M0 100 C 50 0 70 0 100 100 Z"})),"curve"===a&&wp.element.createElement(y,{id:"curve",fill:l,viewBox:"0 0 100 100",width:"100%",height:i?"".concat(i,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",style:"top"===t?{transform:"".concat("top"===t?"rotate(180deg)":"")}:{}},wp.element.createElement(h,{d:"M0 100 C40 0 60 0 100 100 Z"})),"slant"===a&&!1===o&&wp.element.createElement(y,{id:"slant",fill:l,viewBox:"0 0 100 100",width:"100%",height:i?"".concat(i,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",style:"bottom"===t?{transform:"".concat("bottom"===t?"rotate(180deg)":"")}:{}},wp.element.createElement(h,{d:"M0 0 L100 100 L100 0 Z"})),"slant"===a&&!0===o&&wp.element.createElement(y,{id:"slant",fill:l,viewBox:"0 0 100 100",width:"100%",height:i?"".concat(i,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",style:"bottom"===t?{transform:"".concat("bottom"===t?"rotate(180deg)":"")}:{}},wp.element.createElement(h,{d:"M0 0 L0 100 L100 0 Z"})),"cloud"===a&&wp.element.createElement(y,{id:"cloud",fill:l,viewBox:"0 0 100 100",width:"100%",height:i?"".concat(i,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",style:"top"===t?{transform:"".concat("top"===t?"rotate(180deg)":"")}:{}},wp.element.createElement(h,{d:"M-5 100 Q 10 -100 15 100 Z M10 100 Q 20 -20 30 100 M25 100 Q 35 -70 45 100 M40 100 Q 50 -100 60 100 M55 100 Q 65 -20 75 100 M70 100 Q 75 -45 90 100 M85 100 Q 90 -50 95 100 M90 100 Q 95 -25 105 100 Z"})))},v=[{attributes:{align:{type:"string"},id:{type:"string"},columns:{type:"number"},layout:{type:"string"},layoutTablet:{type:"string",default:"equal"},layoutMobile:{type:"string",default:"equal"},columnsGap:{type:"string",default:"default"},paddingType:{type:"string",default:"linked"},paddingTypeTablet:{type:"string",default:"linked"},paddingTypeMobile:{type:"string",default:"linked"},padding:{type:"number",default:20},paddingTablet:{type:"number",default:20},paddingMobile:{type:"number",default:20},paddingTop:{type:"number",default:20},paddingTopTablet:{type:"number",default:20},paddingTopMobile:{type:"number",default:20},paddingRight:{type:"number",default:20},paddingRightTablet:{type:"number",default:20},paddingRightMobile:{type:"number",default:20},paddingBottom:{type:"number",default:20},paddingBottomTablet:{type:"number",default:20},paddingBottomMobile:{type:"number",default:20},paddingLeft:{type:"number",default:20},paddingLeftTablet:{type:"number",default:20},paddingLeftMobile:{type:"number",default:20},marginType:{type:"string",default:"unlinked"},marginTypeTablet:{type:"string",default:"unlinked"},marginTypeMobile:{type:"string",default:"unlinked"},margin:{type:"number",default:20},marginTablet:{type:"number",default:20},marginMobile:{type:"number",default:20},marginTop:{type:"number",default:20},marginTopTablet:{type:"number",default:20},marginTopMobile:{type:"number",default:20},marginBottom:{type:"number",default:20},marginBottomTablet:{type:"number",default:20},marginBottomMobile:{type:"number",default:20},columnsWidth:{type:"number"},columnsHeight:{type:"string",default:"auto"},columnsHeightCustom:{type:"number"},columnsHeightCustomTablet:{type:"number"},columnsHeightCustomMobile:{type:"number"},horizontalAlign:{type:"string",default:"unset"},verticalAlign:{type:"string",default:"unset"},backgroundType:{type:"string",default:"color"},backgroundColor:{type:"string"},backgroundImageID:{type:"number"},backgroundImageURL:{type:"string"},backgroundAttachment:{type:"string",default:"scroll"},backgroundPosition:{type:"string",default:"top left"},backgroundRepeat:{type:"string",default:"repeat"},backgroundSize:{type:"string",default:"auto"},backgroundGradientFirstColor:{type:"string",default:"#36d1dc"},backgroundGradientFirstLocation:{type:"number",default:0},backgroundGradientSecondColor:{type:"string",default:"#5b86e5"},backgroundGradientSecondLocation:{type:"number",default:100},backgroundGradientType:{type:"string",default:"linear"},backgroundGradientAngle:{type:"number",default:90},backgroundGradientPosition:{type:"string",default:"center center"},backgroundOverlayOpacity:{type:"number",default:50},backgroundOverlayType:{type:"string",default:"color"},backgroundOverlayColor:{type:"string"},backgroundOverlayImageID:{type:"number"},backgroundOverlayImageURL:{type:"string"},backgroundOverlayAttachment:{type:"string",default:"scroll"},backgroundOverlayPosition:{type:"string",default:"top left"},backgroundOverlayRepeat:{type:"string",default:"repeat"},backgroundOverlaySize:{type:"string",default:"auto"},backgroundOverlayGradientFirstColor:{type:"string",default:"#36d1dc"},backgroundOverlayGradientFirstLocation:{type:"number",default:0},backgroundOverlayGradientSecondColor:{type:"string",default:"#5b86e5"},backgroundOverlayGradientSecondLocation:{type:"number",default:100},backgroundOverlayGradientType:{type:"string",default:"linear"},backgroundOverlayGradientAngle:{type:"number",default:90},backgroundOverlayGradientPosition:{type:"string",default:"center center"},backgroundOverlayFilterBlur:{type:"number",default:0},backgroundOverlayFilterBrightness:{type:"number",default:10},backgroundOverlayFilterContrast:{type:"number",default:10},backgroundOverlayFilterGrayscale:{type:"number",default:0},backgroundOverlayFilterHue:{type:"number",default:0},backgroundOverlayFilterSaturate:{type:"number",default:10},backgroundOverlayBlend:{type:"string",default:"normal"},borderType:{type:"string",default:"linked"},border:{type:"number",default:0},borderTop:{type:"number",default:0},borderRight:{type:"number",default:0},borderBottom:{type:"number",default:0},borderLeft:{type:"number",default:0},borderColor:{type:"string",default:"#000000"},borderRadiusType:{type:"string",default:"linked"},borderRadius:{type:"number",default:0},borderRadiusTop:{type:"number",default:0},borderRadiusRight:{type:"number",default:0},borderRadiusBottom:{type:"number",default:0},borderRadiusLeft:{type:"number",default:0},boxShadow:{type:"boolean",default:!1},boxShadowColor:{type:"string",default:"#000000"},boxShadowColorOpacity:{type:"number",default:50},boxShadowBlur:{type:"number",default:5},boxShadowSpread:{type:"number",default:0},boxShadowHorizontal:{type:"number",default:0},boxShadowVertical:{type:"number",default:0},dividerTopType:{type:"string",default:"none"},dividerTopColor:{type:"string",default:"#000000"},dividerTopWidth:{type:"number",default:100},dividerTopWidthTablet:{type:"number",default:100},dividerTopWidthMobile:{type:"number",default:100},dividerTopHeight:{type:"number",default:100},dividerTopHeightTablet:{type:"number",default:100},dividerTopHeightMobile:{type:"number",default:100},dividerTopInvert:{type:"boolean",default:!1},dividerBottomType:{type:"string",default:"none"},dividerBottomColor:{type:"string",default:"#000000"},dividerBottomWidth:{type:"number",default:100},dividerBottomWidthTablet:{type:"number",default:100},dividerBottomWidthMobile:{type:"number",default:100},dividerBottomHeight:{type:"number",default:100},dividerBottomHeightTablet:{type:"number",default:100},dividerBottomHeightMobile:{type:"number",default:100},dividerBottomInvert:{type:"boolean",default:!1},hide:{type:"boolean",default:!1},hideTablet:{type:"boolean",default:!1},hideMobile:{type:"boolean",default:!1},columnsHTMLTag:{type:"string",default:"div"}},supports:{align:["wide","full"],html:!1},save:function(e){var t,n,a,l,o,r,i=e.attributes,c=i.id,p=i.columns,m=i.layout,b=i.layoutTablet,f=i.layoutMobile,y=i.columnsGap,h=i.columnsWidth,v=i.horizontalAlign,k=i.verticalAlign,T=i.backgroundType,E=i.backgroundColor,x=i.backgroundImageURL,C=i.backgroundAttachment,S=i.backgroundPosition,M=i.backgroundRepeat,B=i.backgroundSize,O=i.backgroundGradientFirstColor,R=i.backgroundGradientFirstLocation,L=i.backgroundGradientSecondColor,A=i.backgroundGradientSecondLocation,N=i.backgroundGradientType,P=i.backgroundGradientAngle,z=i.backgroundGradientPosition,H=i.backgroundOverlayOpacity,_=i.backgroundOverlayType,I=i.backgroundOverlayColor,j=i.backgroundOverlayImageURL,D=i.backgroundOverlayAttachment,G=i.backgroundOverlayPosition,V=i.backgroundOverlayRepeat,F=i.backgroundOverlaySize,W=i.backgroundOverlayGradientFirstColor,q=i.backgroundOverlayGradientFirstLocation,U=i.backgroundOverlayGradientSecondColor,Z=i.backgroundOverlayGradientSecondLocation,$=i.backgroundOverlayGradientType,Q=i.backgroundOverlayGradientAngle,K=i.backgroundOverlayGradientPosition,J=i.backgroundOverlayFilterBlur,Y=i.backgroundOverlayFilterBrightness,X=i.backgroundOverlayFilterContrast,ee=i.backgroundOverlayFilterGrayscale,te=i.backgroundOverlayFilterHue,ne=i.backgroundOverlayFilterSaturate,ae=i.backgroundOverlayBlend,le=i.borderType,oe=i.border,re=i.borderTop,ie=i.borderRight,ce=i.borderBottom,de=i.borderLeft,pe=i.borderColor,ue=i.borderRadiusType,me=i.borderRadius,se=i.borderRadiusTop,be=i.borderRadiusRight,ge=i.borderRadiusBottom,fe=i.borderRadiusLeft,ye=i.boxShadow,he=i.boxShadowColor,we=i.boxShadowColorOpacity,ve=i.boxShadowBlur,ke=i.boxShadowSpread,Te=i.boxShadowHorizontal,Ee=i.boxShadowVertical,xe=i.dividerTopType,Ce=i.dividerTopColor,Se=i.dividerTopInvert,Me=i.dividerBottomType,Be=i.dividerBottomColor,Oe=i.dividerBottomInvert,Re=i.hide,Le=i.hideTablet,Ae=i.hideMobile,Ne=i.columnsHTMLTag;("color"===T&&(t={background:E}),"image"===T&&(t={backgroundImage:"url( '".concat(x,"' )"),backgroundAttachment:C,backgroundPosition:S,backgroundRepeat:M,backgroundSize:B}),"gradient"===T)&&(r="linear"===N?"".concat(P,"deg"):"at ".concat(z),t={background:"".concat(N,"-gradient( ").concat(r,", ").concat(O||"rgba( 0, 0, 0, 0 )"," ").concat(R,"%, ").concat(L||"rgba( 0, 0, 0, 0 )"," ").concat(A,"% )")});"linked"===le&&(a={borderWidth:"".concat(oe,"px"),borderStyle:"solid",borderColor:pe}),"unlinked"===le&&(a={borderTopWidth:"".concat(re,"px"),borderRightWidth:"".concat(ie,"px"),borderBottomWidth:"".concat(ce,"px"),borderLeftWidth:"".concat(de,"px"),borderStyle:"solid",borderColor:pe}),"linked"===ue&&(l={borderRadius:"".concat(me,"px")}),"unlinked"===ue&&(l={borderTopLeftRadius:"".concat(se,"px"),borderTopRightRadius:"".concat(be,"px"),borderBottomRightRadius:"".concat(ge,"px"),borderBottomLeftRadius:"".concat(fe,"px")}),!0===ye&&(o={boxShadow:"".concat(Te,"px ").concat(Ee,"px ").concat(ve,"px ").concat(ke,"px ").concat(u()(he||"#000000",we))});var Pe,ze=s(s(s(s(s({},t),a),l),o),{},{justifyContent:v});("color"===_&&(n={background:I,opacity:H/100}),"image"===_&&(n={backgroundImage:"url( '".concat(j,"' )"),backgroundAttachment:D,backgroundPosition:G,backgroundRepeat:V,backgroundSize:F,opacity:H/100}),"gradient"===_)&&(Pe="linear"===$?"".concat(Q,"deg"):"at ".concat(K),n={background:"".concat($,"-gradient( ").concat(Pe,", ").concat(W||"rgba( 0, 0, 0, 0 )"," ").concat(q,"%, ").concat(U||"rgba( 0, 0, 0, 0 )"," ").concat(Z,"% )"),opacity:H/100});var He=s(s({},n),{},{mixBlendMode:ae,filter:"blur( ".concat(J/10,"px ) brightness( ").concat(Y/10," ) contrast( ").concat(X/10," ) grayscale( ").concat(ee/100," ) hue-rotate( ").concat(te,"deg ) saturate( ").concat(ne/10," )")}),_e={};h&&(_e={maxWidth:h+"px"});var Ie=Re?"":"has-desktop-".concat(m,"-layout"),je=Le?"":"has-tablet-".concat(b,"-layout"),De=Ae?"":"has-mobile-".concat(f,"-layout"),Ge=d()(e.className,"has-".concat(p,"-columns"),Ie,je,De,{"hide-in-desktop":Re},{"hide-in-tablet":Le},{"hide-in-mobile":Ae},"has-".concat(y,"-gap"),"has-vertical-".concat(k));return wp.element.createElement(Ne,{className:Ge,id:c,style:ze},wp.element.createElement("div",{className:"wp-themeisle-block-overlay",style:He}),wp.element.createElement(w,{type:"top",front:!0,style:xe,fill:Ce,invert:Se}),wp.element.createElement("div",{className:"innerblocks-wrap",style:_e},wp.element.createElement(g.Content,null)),wp.element.createElement(w,{type:"bottom",front:!0,style:Me,fill:Be,invert:Oe}))}},{attributes:{id:{type:"string"},columns:{type:"number"},layout:{type:"string"},layoutTablet:{type:"string",default:"equal"},layoutMobile:{type:"string",default:"equal"},columnsGap:{type:"string",default:"default"},paddingType:{type:"string",default:"linked"},paddingTypeTablet:{type:"string",default:"linked"},paddingTypeMobile:{type:"string",default:"linked"},padding:{type:"number",default:20},paddingTablet:{type:"number",default:20},paddingMobile:{type:"number",default:20},paddingTop:{type:"number",default:20},paddingTopTablet:{type:"number",default:20},paddingTopMobile:{type:"number",default:20},paddingRight:{type:"number",default:20},paddingRightTablet:{type:"number",default:20},paddingRightMobile:{type:"number",default:20},paddingBottom:{type:"number",default:20},paddingBottomTablet:{type:"number",default:20},paddingBottomMobile:{type:"number",default:20},paddingLeft:{type:"number",default:20},paddingLeftTablet:{type:"number",default:20},paddingLeftMobile:{type:"number",default:20},marginType:{type:"string",default:"unlinked"},marginTypeTablet:{type:"string",default:"unlinked"},marginTypeMobile:{type:"string",default:"unlinked"},margin:{type:"number",default:20},marginTablet:{type:"number",default:20},marginMobile:{type:"number",default:20},marginTop:{type:"number",default:20},marginTopTablet:{type:"number",default:20},marginTopMobile:{type:"number",default:20},marginBottom:{type:"number",default:20},marginBottomTablet:{type:"number",default:20},marginBottomMobile:{type:"number",default:20},columnsWidth:{type:"number"},horizontalAlign:{type:"string",default:"unset"},columnsHeight:{type:"string",default:"auto"},columnsHeightCustom:{type:"number"},columnsHeightCustomTablet:{type:"number"},columnsHeightCustomMobile:{type:"number"},verticalAlign:{type:"string",default:"unset"},backgroundType:{type:"string",default:"color"},backgroundColor:{type:"string"},backgroundImageID:{type:"number"},backgroundImageURL:{type:"string"},backgroundAttachment:{type:"string",default:"scroll"},backgroundPosition:{type:"string",default:"top left"},backgroundRepeat:{type:"string",default:"repeat"},backgroundSize:{type:"string",default:"auto"},backgroundGradientFirstColor:{type:"string",default:"#36d1dc"},backgroundGradientFirstLocation:{type:"number",default:0},backgroundGradientSecondColor:{type:"string",default:"#5b86e5"},backgroundGradientSecondLocation:{type:"number",default:100},backgroundGradientType:{type:"string",default:"linear"},backgroundGradientAngle:{type:"number",default:90},backgroundGradientPosition:{type:"string",default:"center center"},backgroundOverlayOpacity:{type:"number",default:50},backgroundOverlayType:{type:"string",default:"color"},backgroundOverlayColor:{type:"string"},backgroundOverlayImageID:{type:"number"},backgroundOverlayImageURL:{type:"string"},backgroundOverlayAttachment:{type:"string",default:"scroll"},backgroundOverlayPosition:{type:"string",default:"top left"},backgroundOverlayRepeat:{type:"string",default:"repeat"},backgroundOverlaySize:{type:"string",default:"auto"},backgroundOverlayGradientFirstColor:{type:"string",default:"#36d1dc"},backgroundOverlayGradientFirstLocation:{type:"number",default:0},backgroundOverlayGradientSecondColor:{type:"string",default:"#5b86e5"},backgroundOverlayGradientSecondLocation:{type:"number",default:100},backgroundOverlayGradientType:{type:"string",default:"linear"},backgroundOverlayGradientAngle:{type:"number",default:90},backgroundOverlayGradientPosition:{type:"string",default:"center center"},backgroundOverlayFilterBlur:{type:"number",default:0},backgroundOverlayFilterBrightness:{type:"number",default:10},backgroundOverlayFilterContrast:{type:"number",default:10},backgroundOverlayFilterGrayscale:{type:"number",default:0},backgroundOverlayFilterHue:{type:"number",default:0},backgroundOverlayFilterSaturate:{type:"number",default:10},backgroundOverlayBlend:{type:"string",default:"normal"},borderType:{type:"string",default:"linked"},border:{type:"number",default:0},borderTop:{type:"number",default:0},borderRight:{type:"number",default:0},borderBottom:{type:"number",default:0},borderLeft:{type:"number",default:0},borderColor:{type:"string",default:"#000000"},borderRadiusType:{type:"string",default:"linked"},borderRadius:{type:"number",default:0},borderRadiusTop:{type:"number",default:0},borderRadiusRight:{type:"number",default:0},borderRadiusBottom:{type:"number",default:0},borderRadiusLeft:{type:"number",default:0},boxShadow:{type:"boolean",default:!1},boxShadowColor:{type:"string",default:"#000000"},boxShadowColorOpacity:{type:"number",default:50},boxShadowBlur:{type:"number",default:5},boxShadowSpread:{type:"number",default:0},boxShadowHorizontal:{type:"number",default:0},boxShadowVertical:{type:"number",default:0},dividerTopType:{type:"string",default:"none"},dividerTopColor:{type:"string",default:"#000000"},dividerTopWidth:{type:"number",default:100},dividerTopWidthTablet:{type:"number",default:100},dividerTopWidthMobile:{type:"number",default:100},dividerTopHeight:{type:"number",default:100},dividerTopHeightTablet:{type:"number",default:100},dividerTopHeightMobile:{type:"number",default:100},dividerTopInvert:{type:"boolean",default:!1},dividerBottomType:{type:"string",default:"none"},dividerBottomColor:{type:"string",default:"#000000"},dividerBottomWidth:{type:"number",default:100},dividerBottomWidthTablet:{type:"number",default:100},dividerBottomWidthMobile:{type:"number",default:100},dividerBottomHeight:{type:"number",default:100},dividerBottomHeightTablet:{type:"number",default:100},dividerBottomHeightMobile:{type:"number",default:100},dividerBottomInvert:{type:"boolean",default:!1},hide:{type:"boolean",default:!1},hideTablet:{type:"boolean",default:!1},hideMobile:{type:"boolean",default:!1},columnsHTMLTag:{type:"string",default:"div"}},supports:{align:["wide","full"],html:!1},save:function(e){var t,n,a,l,o,r,i=e.attributes,c=e.className,p=i.columnsHTMLTag;("color"===i.backgroundType&&(t={background:i.backgroundColor}),"image"===i.backgroundType&&(t={backgroundImage:"url( '".concat(i.backgroundImageURL,"' )"),backgroundAttachment:i.backgroundAttachment,backgroundPosition:i.backgroundPosition,backgroundRepeat:i.backgroundRepeat,backgroundSize:i.backgroundSize}),"gradient"===i.backgroundType)&&(r="linear"===i.backgroundGradientType?"".concat(i.backgroundGradientAngle,"deg"):"at ".concat(i.backgroundGradientPosition),t={background:"".concat(i.backgroundGradientType,"-gradient( ").concat(r,", ").concat(i.backgroundGradientFirstColor||"rgba( 0, 0, 0, 0 )"," ").concat(i.backgroundGradientFirstLocation,"%, ").concat(i.backgroundGradientSecondColor||"rgba( 0, 0, 0, 0 )"," ").concat(i.backgroundGradientSecondLocation,"% )")});"linked"===i.borderType&&(a={borderWidth:"".concat(i.border,"px"),borderStyle:"solid",borderColor:i.borderColor}),"unlinked"===i.borderType&&(a={borderTopWidth:"".concat(i.borderTop,"px"),borderRightWidth:"".concat(i.borderRight,"px"),borderBottomWidth:"".concat(i.borderBottom,"px"),borderLeftWidth:"".concat(i.borderLeft,"px"),borderStyle:"solid",borderColor:i.borderColor}),"linked"===i.borderRadiusType&&(l={borderRadius:"".concat(i.borderRadius,"px")}),"unlinked"===i.borderRadiusType&&(l={borderTopLeftRadius:"".concat(i.borderRadiusTop,"px"),borderTopRightRadius:"".concat(i.borderRadiusRight,"px"),borderBottomRightRadius:"".concat(i.borderRadiusBottom,"px"),borderBottomLeftRadius:"".concat(i.borderRadiusLeft,"px")}),!0===i.boxShadow&&(o={boxShadow:"".concat(i.boxShadowHorizontal,"px ").concat(i.boxShadowVertical,"px ").concat(i.boxShadowBlur,"px ").concat(i.boxShadowSpread,"px ").concat(u()(i.boxShadowColor?i.boxShadowColor:"#000000",i.boxShadowColorOpacity))});var m,b=s(s(s(s(s({},t),a),l),o),{},{justifyContent:i.horizontalAlign});("color"===i.backgroundOverlayType&&(n={background:i.backgroundOverlayColor,opacity:i.backgroundOverlayOpacity/100}),"image"===i.backgroundOverlayType&&(n={backgroundImage:"url( '".concat(i.backgroundOverlayImageURL,"' )"),backgroundAttachment:i.backgroundOverlayAttachment,backgroundPosition:i.backgroundOverlayPosition,backgroundRepeat:i.backgroundOverlayRepeat,backgroundSize:i.backgroundOverlaySize,opacity:i.backgroundOverlayOpacity/100}),"gradient"===i.backgroundOverlayType)&&(m="linear"===i.backgroundOverlayGradientType?"".concat(i.backgroundOverlayGradientAngle,"deg"):"at ".concat(i.backgroundOverlayGradientPosition),n={background:"".concat(i.backgroundOverlayGradientType,"-gradient( ").concat(m,", ").concat(i.backgroundOverlayGradientFirstColor||"rgba( 0, 0, 0, 0 )"," ").concat(i.backgroundOverlayGradientFirstLocation,"%, ").concat(i.backgroundOverlayGradientSecondColor||"rgba( 0, 0, 0, 0 )"," ").concat(i.backgroundOverlayGradientSecondLocation,"% )"),opacity:i.backgroundOverlayOpacity/100});var f=s(s({},n),{},{mixBlendMode:i.backgroundOverlayBlend}),y={};i.columnsWidth&&(y={maxWidth:i.columnsWidth+"px"});var h=i.hide?"":"has-desktop-".concat(i.layout,"-layout"),v=i.hideTablet?"":"has-tablet-".concat(i.layoutTablet,"-layout"),k=i.hideMobile?"":"has-mobile-".concat(i.layoutMobile,"-layout"),T=d()(c,"has-".concat(i.columns,"-columns"),h,v,k,{"hide-in-desktop":i.hide},{"hide-in-tablet":i.hideTablet},{"hide-in-mobile":i.hideMobile},"has-".concat(i.columnsGap,"-gap"),"has-vertical-".concat(i.verticalAlign));return wp.element.createElement(p,{className:T,id:i.id,style:b},wp.element.createElement("div",{className:"wp-themeisle-block-overlay",style:f}),wp.element.createElement(w,{type:"top",front:!0,style:i.dividerTopType,fill:i.dividerTopColor,invert:i.dividerTopInvert}),wp.element.createElement("div",{className:"innerblocks-wrap",style:y},wp.element.createElement(g.Content,null)),wp.element.createElement(w,{type:"bottom",front:!0,style:i.dividerBottomType,fill:i.dividerBottomColor,invert:i.dividerBottomInvert}))}},{attributes:(r={id:{type:"string"},columns:{type:"number"},layout:{type:"string"},layoutTablet:{type:"string",default:"equal"},layoutMobile:{type:"string",default:"equal"},columnsGap:{type:"string",default:"default"},paddingType:{type:"string",default:"linked"},paddingTypeTablet:{type:"string",default:"linked"},paddingTypeMobile:{type:"string",default:"linked"},padding:{type:"number",default:20},paddingTablet:{type:"number"},paddingMobile:{type:"number"},paddingTop:{type:"number",default:20},paddingTopTablet:{type:"number"},paddingTopMobile:{type:"number"},paddingRight:{type:"number",default:20},paddingRightTablet:{type:"number"},paddingRightMobile:{type:"number"},paddingBottom:{type:"number",default:20},paddingBottomTablet:{type:"number"},paddingBottomMobile:{type:"number"},paddingLeft:{type:"number",default:20},paddingLeftTablet:{type:"number"},paddingLeftMobile:{type:"number"},marginType:{type:"string",default:"unlinked"},marginTypeTablet:{type:"string",default:"unlinked"},marginTypeMobile:{type:"string",default:"unlinked"},margin:{type:"number",default:20},marginTablet:{type:"number"},marginMobile:{type:"number"},marginTop:{type:"number",default:20},marginTopTablet:{type:"number"},marginTopMobile:{type:"number"},marginBottom:{type:"number",default:20},marginBottomTablet:{type:"number"},marginBottomMobile:{type:"number"},columnsWidth:{type:"number"},horizontalAlign:{type:"string",default:"unset"},columnsHeight:{type:"string",default:"auto"},columnsHeightCustom:{type:"number"},columnsHeightCustomTablet:{type:"number"},columnsHeightCustomMobile:{type:"number"},verticalAlign:{type:"string",default:"unset"},backgroundType:{type:"string",default:"color"},backgroundColor:{type:"string"},backgroundImageID:{type:"number"},backgroundImageURL:{type:"string"},backgroundAttachment:{type:"string",default:"scroll"},backgroundPosition:{type:"string",default:"top left"},backgroundRepeat:{type:"string",default:"repeat"},backgroundSize:{type:"string",default:"auto"},backgroundGradientFirstColor:{type:"string",default:"#36d1dc"},backgroundGradientFirstLocation:{type:"number",default:0},backgroundGradientSecondColor:{type:"string",default:"#5b86e5"},backgroundGradientSecondLocation:{type:"number",default:100},backgroundGradientType:{type:"string",default:"linear"},backgroundGradientAngle:{type:"number",default:90},backgroundGradientPosition:{type:"string",default:"center center"},backgroundOverlayOpacity:{type:"number",default:50},backgroundOverlayType:{type:"string",default:"color"},backgroundOverlayColor:{type:"string"},backgroundOverlayImageID:{type:"number"},backgroundOverlayImageURL:{type:"string"},backgroundOverlayAttachment:{type:"string",default:"scroll"},backgroundOverlayPosition:{type:"string",default:"top left"},backgroundOverlayRepeat:{type:"string",default:"repeat"},backgroundOverlaySize:{type:"string",default:"auto"},backgroundOverlayGradientFirstColor:{type:"string",default:"#36d1dc"},backgroundOverlayGradientFirstLocation:{type:"number",default:0},backgroundOverlayGradientSecondColor:{type:"string",default:"#5b86e5"},backgroundOverlayGradientSecondLocation:{type:"number",default:100},backgroundOverlayGradientType:{type:"string",default:"linear"},backgroundOverlayGradientAngle:{type:"number",default:90},backgroundOverlayGradientPosition:{type:"string",default:"center center"},backgroundOverlayFilterBlur:{type:"number",default:0},backgroundOverlayFilterBrightness:{type:"number",default:10},backgroundOverlayFilterContrast:{type:"number",default:10},backgroundOverlayFilterGrayscale:{type:"number",default:0},backgroundOverlayFilterHue:{type:"number",default:0},backgroundOverlayFilterSaturate:{type:"number",default:10},backgroundOverlayBlend:{type:"string",default:"normal"},borderType:{type:"string",default:"linked"},border:{type:"number",default:0},borderTop:{type:"number",default:0},borderRight:{type:"number",default:0},borderBottom:{type:"number",default:0},borderLeft:{type:"number",default:0},borderColor:{type:"string",default:"#000000"},borderRadiusType:{type:"string",default:"linked"},borderRadius:{type:"number",default:0},borderRadiusTop:{type:"number",default:0},borderRadiusRight:{type:"number",default:0},borderRadiusBottom:{type:"number",default:0},borderRadiusLeft:{type:"number",default:0},boxShadow:{type:"boolean",default:!1},boxShadowColor:{type:"string",default:"#000000"},boxShadowColorOpacity:{type:"number",default:50},boxShadowBlur:{type:"number",default:5},boxShadowSpread:{type:"number",default:0},boxShadowHorizontal:{type:"number",default:0},boxShadowVertical:{type:"number",default:0},dividerTopType:{type:"string",default:"none"},dividerTopColor:{type:"string",default:"#000000"},dividerTopWidth:{type:"number",default:100},dividerTopWidthTablet:{type:"number",default:100},dividerTopWidthMobile:{type:"number",default:100},dividerTopHeight:{type:"number",default:100},dividerTopHeightTablet:{type:"number",default:100},dividerTopHeightMobile:{type:"number",default:100},dividerTopInvert:{type:"boolean",default:!1},dividerBottomType:{type:"string",default:"none"},dividerBottomColor:{type:"string",default:"#000000"},dividerBottomWidth:{type:"number",default:100},dividerBottomWidthTablet:{type:"number",default:100},dividerBottomWidthMobile:{type:"number",default:100},dividerBottomHeight:{type:"number",default:100},dividerBottomHeightTablet:{type:"number",default:100},dividerBottomHeightMobile:{type:"number",default:100},dividerBottomInvert:{type:"boolean",default:!1},hide:{type:"boolean",default:!1},hideTablet:{type:"boolean",default:!1},hideMobile:{type:"boolean",default:!1},reverseColumnsTablet:{type:"boolean",default:!1}},b(r,"reverseColumnsTablet",{type:"boolean",default:!1}),b(r,"columnsHTMLTag",{type:"string",default:"div"}),r),supports:{align:["wide","full"],html:!1},save:function(e){var t=e.attributes,n=e.className,a=t.columnsHTMLTag,l=t.hide?"":"has-desktop-".concat(t.layout,"-layout"),o=t.hideTablet?"":"has-tablet-".concat(t.layoutTablet,"-layout"),r=t.hideMobile?"":"has-mobile-".concat(t.layoutMobile,"-layout"),i=d()(n,"has-".concat(t.columns,"-columns"),l,o,r,{"hide-in-desktop":t.hide},{"hide-in-tablet":t.hideTablet},{"hide-in-mobile":t.hideMobile},{"has-reverse-columns-tablet":t.reverseColumnsTablet&&!t.hideTablet&&"collapsedRows"===t.layoutTablet},{"has-reverse-columns-mobile":t.reverseColumnsMobile&&!t.hideMobile&&"collapsedRows"===t.layoutMobile},"has-".concat(t.columnsGap,"-gap"),"has-vertical-".concat(t.verticalAlign)),c=function(e){var t=e.type,n=e.front,a=e.style,l=e.fill,o=e.invert,r=e.width,i=e.height;return"none"!==a&&wp.element.createElement("div",{className:d()("wp-block-themeisle-blocks-advanced-columns-separators",t),style:!n&&r?{transform:"".concat(r?"scaleX( ".concat(r/100," )"):"")}:{}},"bigTriangle"===a&&!1===o&&wp.element.createElement(y,{id:"bigTriangle",fill:l,viewBox:"0 0 100 100",width:"100%",height:i?"".concat(i,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",className:d()({rotate:"bottom"===t})},wp.element.createElement(h,{d:"M0 0 L50 100 L100 0 Z"})),"bigTriangle"===a&&!0===o&&wp.element.createElement(y,{id:"bigTriangle",fill:l,viewBox:"0 0 100 100",width:"100%",height:i?"".concat(i,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",className:d()({rotate:"top"===t})},wp.element.createElement(h,{d:"M100, 0l-50, 100l-50, -100l0, 100l100, 0l0, -100Z"})),"rightCurve"===a&&!1===o&&wp.element.createElement(y,{id:"rightCurve",fill:l,viewBox:"0 0 100 100",width:"100%",height:i?"".concat(i,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",className:d()({rotate:"top"===t})},wp.element.createElement(h,{d:"M0 100 C 20 0 50 0 100 100 Z"})),"rightCurve"===a&&!0===o&&wp.element.createElement(y,{id:"rightCurve",fill:l,viewBox:"0 0 100 100",width:"100%",height:i?"".concat(i,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",className:d()({rotate:"top"===t})},wp.element.createElement(h,{d:"M0 100 C 50 0 70 0 100 100 Z"})),"curve"===a&&wp.element.createElement(y,{id:"curve",fill:l,viewBox:"0 0 100 100",width:"100%",height:i?"".concat(i,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",className:d()({rotate:"top"===t})},wp.element.createElement(h,{d:"M0 100 C40 0 60 0 100 100 Z"})),"slant"===a&&!1===o&&wp.element.createElement(y,{id:"slant",fill:l,viewBox:"0 0 100 100",width:"100%",height:i?"".concat(i,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",className:d()({rotate:"bottom"===t})},wp.element.createElement(h,{d:"M0 0 L100 100 L100 0 Z"})),"slant"===a&&!0===o&&wp.element.createElement(y,{id:"slant",fill:l,viewBox:"0 0 100 100",width:"100%",height:i?"".concat(i,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",className:d()({rotate:"bottom"===t})},wp.element.createElement(h,{d:"M0 0 L0 100 L100 0 Z"})),"cloud"===a&&wp.element.createElement(y,{id:"cloud",fill:l,viewBox:"0 0 100 100",width:"100%",height:i?"".concat(i,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",className:d()({rotate:"top"===t})},wp.element.createElement(h,{d:"M-5 100 Q 10 -100 15 100 Z M10 100 Q 20 -20 30 100 M25 100 Q 35 -70 45 100 M40 100 Q 50 -100 60 100 M55 100 Q 65 -20 75 100 M70 100 Q 75 -45 90 100 M85 100 Q 90 -50 95 100 M90 100 Q 95 -25 105 100 Z"})))};return wp.element.createElement(a,{className:i,id:t.id},wp.element.createElement("div",{className:"wp-block-themeisle-blocks-advanced-columns-overlay"}),wp.element.createElement(c,{type:"top",front:!0,style:t.dividerTopType,fill:t.dividerTopColor,invert:t.dividerTopInvert}),wp.element.createElement("div",{className:"innerblocks-wrap"},wp.element.createElement(g.Content,null)),wp.element.createElement(c,{type:"bottom",front:!0,style:t.dividerBottomType,fill:t.dividerBottomColor,invert:t.dividerBottomInvert}))}}],k=n(6),T=n(17),E=wp.blockEditor,x=E.BlockControls,C=E.BlockVerticalAlignmentToolbar,S=function(e){var t=e.attributes,n=e.setAttributes,a=function(){return"flex-start"===t.verticalAlign?"top":"flex-end"===t.verticalAlign?"bottom":t.verticalAlign};return a=a(),wp.element.createElement(x,null,wp.element.createElement(C,{onChange:function(e){if(t.verticalAlign===e)return n({verticalAlign:"unset"});"top"===e?e="flex-start":"bottom"===e&&(e="flex-end"),n({verticalAlign:e})},value:a}))},M=n(2),B=n(25),O=n(5),R=n(4),L=n(15),A=n(18),N=n(8),P=n(20);function z(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function H(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return _(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var I=wp.i18n.__,j=wp.blockEditor,D=j.ColorPalette,G=j.InspectorControls,V=j.MediaPlaceholder,F=wp.components,W=F.BaseControl,q=F.Button,U=F.ButtonGroup,Z=F.Dashicon,$=F.PanelBody,Q=F.ToggleControl,K=F.RangeControl,J=F.SelectControl,Y=wp.data.useSelect,X=wp.element,ee=X.Fragment,te=X.useState,ne=function(e){var t=e.attributes,n=e.setAttributes,a=e.updateColumnsWidth,l=e.dividerViewType,o=e.setDividerViewType,r=Y((function(e){var t=e("themeisle-gutenberg/data").getView,n=e("core/edit-post").__experimentalGetPreviewDeviceType;return n?n():t()}),[]),i=H(te("layout"),2),c=i[0],p=i[1],u=function(){var e;return"Desktop"===r&&(e=t.paddingType),"Tablet"===r&&(e=t.paddingTypeTablet),"Mobile"===r&&(e=t.paddingTypeMobile),e};u=u();var m={top:"paddingTop",right:"paddingRight",bottom:"paddingBottom",left:"paddingLeft"},s={top:"paddingTopTablet",right:"paddingRightTablet",bottom:"paddingBottomTablet",left:"paddingLeftTablet"},b={top:"paddingTopMobile",right:"paddingRightMobile",bottom:"paddingBottomMobile",left:"paddingLeftMobile"},g=function(e){var n;return"top"==e&&("Desktop"===r&&(n="linked"===t.paddingType?t.padding:t.paddingTop),"Tablet"===r&&(n="linked"===t.paddingTypeTablet?t.paddingTablet:t.paddingTopTablet),"Mobile"===r&&(n="linked"===t.paddingTypeMobile?t.paddingMobile:t.paddingTopMobile)),"right"==e&&("Desktop"===r&&(n="linked"===t.paddingType?t.padding:t.paddingRight),"Tablet"===r&&(n="linked"===t.paddingTypeTablet?t.paddingTablet:t.paddingRightTablet),"Mobile"===r&&(n="linked"===t.paddingTypeMobile?t.paddingMobile:t.paddingRightMobile)),"bottom"==e&&("Desktop"===r&&(n="linked"===t.paddingType?t.padding:t.paddingBottom),"Tablet"===r&&(n="linked"===t.paddingTypeTablet?t.paddingTablet:t.paddingBottomTablet),"Mobile"===r&&(n="linked"===t.paddingTypeMobile?t.paddingMobile:t.paddingBottomMobile)),"left"==e&&("Desktop"===r&&(n="linked"===t.paddingType?t.padding:t.paddingLeft),"Tablet"===r&&(n="linked"===t.paddingTypeTablet?t.paddingTablet:t.paddingLeftTablet),"Mobile"===r&&(n="linked"===t.paddingTypeMobile?t.paddingMobile:t.paddingLeftMobile)),n},f=function(){var e;return"Desktop"===r&&(e=t.marginType),"Tablet"===r&&(e=t.marginTypeTablet),"Mobile"===r&&(e=t.marginTypeMobile),e};f=f();var y={top:"marginTop",bottom:"marginBottom"},h={top:"marginTopTablet",bottom:"marginBottomTablet"},w={top:"marginTopMobile",bottom:"marginBottomMobile"},v=function(e){var n;return"top"==e&&("Desktop"===r&&(n="linked"===t.marginType?t.margin:t.marginTop),"Tablet"===r&&(n="linked"===t.marginTypeTablet?t.marginTablet:t.marginTopTablet),"Mobile"===r&&(n="linked"===t.marginTypeMobile?t.marginMobile:t.marginTopMobile)),"bottom"==e&&("Desktop"===r&&(n="linked"===t.marginType?t.margin:t.marginBottom),"Tablet"===r&&(n="linked"===t.marginTypeTablet?t.marginTablet:t.marginBottomTablet),"Mobile"===r&&(n="linked"===t.marginTypeMobile?t.marginMobile:t.marginBottomMobile)),n},k=function(e){if(t.horizontalAlign===e)return n({horizontalAlign:"unset"});n({horizontalAlign:e})},T=function(){var e;return"Desktop"===r&&(e=t.columnsHeightCustom),"Tablet"===r&&(e=t.columnsHeightCustomTablet),"Mobile"===r&&(e=t.columnsHeightCustomMobile),e};T=T();var E=function(){n({backgroundImageID:"",backgroundImageURL:""})},x=function(){n({backgroundOverlayImageID:"",backgroundOverlayImageURL:""})},C={top:"borderTop",right:"borderRight",bottom:"borderBottom",left:"borderLeft"},S=function(e){var n;return"top"==e&&(n="linked"===t.borderType?t.border:t.borderTop),"right"==e&&(n="linked"===t.borderType?t.border:t.borderRight),"bottom"==e&&(n="linked"===t.borderType?t.border:t.borderBottom),"left"==e&&(n="linked"===t.borderType?t.border:t.borderLeft),n},_={top:"borderRadiusTop",right:"borderRadiusRight",bottom:"borderRadiusBottom",left:"borderRadiusLeft"},j=function(e){var n;return"top"==e&&(n="linked"===t.borderRadiusType?t.borderRadius:t.borderRadiusTop),"right"==e&&(n="linked"===t.borderRadiusType?t.borderRadius:t.borderRadiusRight),"bottom"==e&&(n="linked"===t.borderRadiusType?t.borderRadius:t.borderRadiusBottom),"left"==e&&(n="linked"===t.borderRadiusType?t.borderRadius:t.borderRadiusLeft),n},F=function(){var e;return"top"==l&&(e=t.dividerTopType),"bottom"==l&&(e=t.dividerBottomType),e};F=F();var X=function(){var e;return"top"==l&&(e=t.dividerTopColor),"bottom"==l&&(e=t.dividerBottomColor),e};X=X();var ne=function(){var e;return"top"==l&&("Desktop"==r&&(e=t.dividerTopWidth),"Tablet"==r&&(e=t.dividerTopWidthTablet),"Mobile"==r&&(e=t.dividerTopWidthMobile)),"bottom"==l&&("Desktop"==r&&(e=t.dividerBottomWidth),"Tablet"==r&&(e=t.dividerBottomWidthTablet),"Mobile"==r&&(e=t.dividerBottomWidthMobile)),e};ne=ne();var ae=function(){var e;return"top"==l&&("Desktop"==r&&(e=t.dividerTopHeight),"Tablet"==r&&(e=t.dividerTopHeightTablet),"Mobile"==r&&(e=t.dividerTopHeightMobile)),"bottom"==l&&("Desktop"==r&&(e=t.dividerBottomHeight),"Tablet"==r&&(e=t.dividerBottomHeightTablet),"Mobile"==r&&(e=t.dividerBottomHeightMobile)),e};ae=ae();var le=function(){var e;return"top"==l&&(e=t.dividerTopInvert),"bottom"==l&&(e=t.dividerBottomInvert),e};le=le();var oe=function(e,t){"Desktop"===t&&n({hide:e}),"Tablet"===t&&n({hideTablet:e}),"Mobile"===t&&n({hideMobile:e})},re=function(e,t){"Tablet"===t&&n({reverseColumnsTablet:e}),"Mobile"===t&&n({reverseColumnsMobile:e})};return wp.element.createElement(ee,null,wp.element.createElement(G,null,wp.element.createElement($,{className:"wp-block-themeisle-blocks-advanced-columns-header-panel"},wp.element.createElement(q,{className:d()("header-tab",{"is-selected":"layout"===c}),onClick:function(){return p("layout")}},wp.element.createElement("span",null,wp.element.createElement(Z,{icon:"editor-table"}),I("Layout"))),wp.element.createElement(q,{className:d()("header-tab",{"is-selected":"style"===c}),onClick:function(){return p("style")}},wp.element.createElement("span",null,wp.element.createElement(Z,{icon:"admin-customizer"}),I("Style"))),wp.element.createElement(q,{className:d()("header-tab",{"is-selected":"advanced"===c}),onClick:function(){return p("advanced")}},wp.element.createElement("span",null,wp.element.createElement(Z,{icon:"admin-generic"}),I("Advanced")))),"layout"===c&&wp.element.createElement(ee,null,wp.element.createElement($,{title:I("Columns & Layout")},wp.element.createElement(K,{label:I("Columns"),value:t.columns,onChange:function(e){6>=e&&(n({columns:e,layout:"equal",layoutTablet:"equal",layoutMobile:"collapsedRows"}),a(e,"equal")),6<e&&(n({columns:6,layout:"equal",layoutTablet:"equal",layoutMobile:"collapsedRows"}),a(6,"equal")),1>=e&&(n({columns:1,layout:"equal",layoutTablet:"equal",layoutMobile:"equal"}),a(1,"equal"))},min:1,max:6}),wp.element.createElement(B.default,{label:I("Layout"),columns:t.columns,layout:t.layout,layoutTablet:t.layoutTablet,layoutMobile:t.layoutMobile,onClick:function(e){"Desktop"===r&&(n({layout:e}),a(t.columns,e)),"Tablet"===r&&n({layoutTablet:e}),"Mobile"===r&&n({layoutMobile:e})}}),wp.element.createElement(J,{label:I("Columns Gap"),value:t.columnsGap,options:[{label:"Default (10px)",value:"default"},{label:"No Gap",value:"nogap"},{label:"Narrow (5px)",value:"narrow"},{label:"Extended (15px)",value:"extended"},{label:"Wide (20px)",value:"wide"},{label:"Wider (30px)",value:"wider"}],onChange:function(e){n({columnsGap:e})}})),wp.element.createElement($,{title:I("Spacing"),initialOpen:!1},wp.element.createElement(R.a,{label:"Padding"},wp.element.createElement(O.a,{type:u,min:0,max:500,changeType:function(e){"Desktop"===r&&n({paddingType:e}),"Tablet"===r&&n({paddingTypeTablet:e}),"Mobile"===r&&n({paddingTypeMobile:e})},onChange:function(e,a){"Desktop"===r&&("linked"===t.paddingType?n({padding:a}):n(z({},m[e],a))),"Tablet"===r&&("linked"===t.paddingTypeTablet?n({paddingTablet:a}):n(z({},s[e],a))),"Mobile"===r&&("linked"===t.paddingTypeMobile?n({paddingMobile:a}):n(z({},b[e],a)))},options:[{label:I("Top"),type:"top",value:g("top")},{label:I("Right"),type:"right",value:g("right")},{label:I("Bottom"),type:"bottom",value:g("bottom")},{label:I("Left"),type:"left",value:g("left")}]})),wp.element.createElement(R.a,{label:"Margin"},wp.element.createElement(O.a,{type:f,min:-500,max:500,changeType:function(e){"Desktop"===r&&n({marginType:e}),"Tablet"===r&&n({marginTypeTablet:e}),"Mobile"===r&&n({marginTypeMobile:e})},onChange:function(e,a){"Desktop"===r&&("linked"===t.marginType?n({margin:a}):n(z({},y[e],a))),"Tablet"===r&&("linked"===t.marginTypeTablet?n({marginTablet:a}):n(z({},h[e],a))),"Mobile"===r&&("linked"===t.marginTypeMobile?n({marginMobile:a}):n(z({},w[e],a)))},options:[{label:I("Top"),type:"top",value:v("top")},{label:I("Right"),disabled:!0},{label:I("Bottom"),type:"bottom",value:v("bottom")},{label:I("Left"),disabled:!0}]}))),wp.element.createElement($,{title:I("Section Structure"),initialOpen:!1},wp.element.createElement(K,{label:I("Maximum Content Width"),value:t.columnsWidth||"",onChange:function(e){(0<=e&&1200>=e||void 0===e)&&n({columnsWidth:e})},min:0,max:1200}),t.columnsWidth&&wp.element.createElement(W,{label:"Horizontal Align"},wp.element.createElement(U,{className:"wp-block-themeisle-icon-buttom-group"},wp.element.createElement(q,{icon:"editor-alignleft",label:I("Left"),showTooltip:!0,isLarge:!0,isPrimary:"flex-start"===t.horizontalAlign,onClick:function(){return k("flex-start")}}),wp.element.createElement(q,{icon:"editor-aligncenter",label:I("Center"),showTooltip:!0,isLarge:!0,isPrimary:"center"===t.horizontalAlign,onClick:function(){return k("center")}}),wp.element.createElement(q,{icon:"editor-alignright",label:I("Right"),showTooltip:!0,isLarge:!0,isPrimary:"flex-end"===t.horizontalAlign,onClick:function(){return k("flex-end")}}))),wp.element.createElement(J,{label:I("Minimum Height"),value:t.columnsHeight,options:[{label:"Default",value:"auto"},{label:"Fit to Screen",value:"100vh"},{label:"Custom",value:"custom"}],onChange:function(e){n({columnsHeight:e})}}),"custom"===t.columnsHeight&&wp.element.createElement(R.a,{label:"Custom Height"},wp.element.createElement(K,{value:T||"",onChange:function(e){"Desktop"===r&&n({columnsHeightCustom:e}),"Tablet"===r&&n({columnsHeightCustomTablet:e}),"Mobile"===r&&n({columnsHeightCustomMobile:e})},min:0,max:1e3}))))||"style"===c&&wp.element.createElement(ee,null,wp.element.createElement($,{title:I("Background Settings"),className:"wp-block-themeisle-image-container"},wp.element.createElement(L.default,{label:I("Background Type"),backgroundType:t.backgroundType,changeBackgroundType:function(e){n({backgroundType:e})}}),"color"===t.backgroundType&&wp.element.createElement(M.a,{label:I("Background Color"),colorValue:t.backgroundColor},wp.element.createElement(D,{label:"Background Color",value:t.backgroundColor,onChange:function(e){n({backgroundColor:e})}}))||"image"===t.backgroundType&&(t.backgroundImageURL?wp.element.createElement(ee,null,wp.element.createElement("div",{className:"wp-block-themeisle-image-container-body"},wp.element.createElement("div",{className:"wp-block-themeisle-image-container-area"},wp.element.createElement("div",{className:"wp-block-themeisle-image-container-holder",style:{backgroundImage:"url('".concat(t.backgroundImageURL,"')")}}),wp.element.createElement("div",{className:"wp-block-themeisle-image-container-delete",onClick:E},wp.element.createElement(Z,{icon:"trash"}),wp.element.createElement("span",null,I("Remove Image"))))),wp.element.createElement(q,{isSecondary:!0,className:"wp-block-themeisle-image-container-delete-button",onClick:E},I("Change or Remove Image")),wp.element.createElement(N.a,{label:"Background Settings"},wp.element.createElement(J,{label:I("Background Attachment"),value:t.backgroundAttachment,options:[{label:"Scroll",value:"scroll"},{label:"Fixed",value:"fixed"},{label:"Local",value:"local"}],onChange:function(e){n({backgroundAttachment:e})}}),wp.element.createElement(J,{label:I("Background Position"),value:t.backgroundPosition,options:[{label:"Default",value:"top left"},{label:"Top Left",value:"top left"},{label:"Top Center",value:"top center"},{label:"Top Right",value:"top right"},{label:"Center Left",value:"center left"},{label:"Center Center",value:"center center"},{label:"Center Right",value:"center right"},{label:"Bottom Left",value:"bottom left"},{label:"Bottom Center",value:"bottom center"},{label:"Bottom Right",value:"bottom right"}],onChange:function(e){n({backgroundPosition:e})}}),wp.element.createElement(J,{label:I("Background Repeat"),value:t.backgroundRepeat,options:[{label:"Repeat",value:"repeat"},{label:"No-repeat",value:"no-repeat"}],onChange:function(e){n({backgroundRepeat:e})}}),wp.element.createElement(J,{label:I("Background Size"),value:t.backgroundSize,options:[{label:"Auto",value:"auto"},{label:"Cover",value:"cover"},{label:"Contain",value:"contain"}],onChange:function(e){n({backgroundSize:e})}}))):wp.element.createElement(V,{icon:"format-image",labels:{title:I("Background Image"),name:I("an image")},value:t.backgroundImageID,onSelect:function(e){n({backgroundImageID:e.id,backgroundImageURL:e.url})},accept:"image/*",allowedTypes:["image"]}))||"gradient"===t.backgroundType&&wp.element.createElement(A.a,{label:"Background Gradient",value:{firstColor:t.backgroundGradientFirstColor,firstLocation:t.backgroundGradientFirstLocation,secondColor:t.backgroundGradientSecondColor,secondLocation:t.backgroundGradientSecondLocation,type:t.backgroundGradientType,angle:t.backgroundGradientAngle,position:t.backgroundGradientPosition},onChange:function(e,t,a,l,o,r,i){n({backgroundGradientFirstColor:e,backgroundGradientFirstLocation:t,backgroundGradientSecondColor:a,backgroundGradientSecondLocation:l,backgroundGradientType:o,backgroundGradientAngle:r,backgroundGradientPosition:i})},onChangeValue:function(e){var t={firstColor:"backgroundGradientFirstColor",firstLocation:"backgroundGradientFirstLocation",secondColor:"backgroundGradientSecondColor",secondLocation:"backgroundGradientSecondLocation",type:"backgroundGradientType",angle:"backgroundGradientAngle",position:"backgroundGradientPosition"};for(var a in e)n(z({},t[a],e[a]))}})),wp.element.createElement($,{title:I("Background Overlay"),className:"wp-block-themeisle-image-container",initialOpen:!1},wp.element.createElement(L.default,{label:I("Overlay Type"),backgroundType:t.backgroundOverlayType,changeBackgroundType:function(e){n({backgroundOverlayType:e})}}),wp.element.createElement(K,{label:I("Overlay Opacity"),value:t.backgroundOverlayOpacity,onChange:function(e){n({backgroundOverlayOpacity:e})},min:0,max:100}),"color"===t.backgroundOverlayType&&wp.element.createElement(M.a,{label:I("Overlay Color"),colorValue:t.backgroundOverlayColor},wp.element.createElement(D,{label:"Overlay Color",value:t.backgroundOverlayColor,onChange:function(e){n({backgroundOverlayColor:e})}}))||"image"===t.backgroundOverlayType&&(t.backgroundOverlayImageURL?wp.element.createElement(ee,null,wp.element.createElement("div",{className:"wp-block-themeisle-image-container-body"},wp.element.createElement("div",{className:"wp-block-themeisle-image-container-area"},wp.element.createElement("div",{className:"wp-block-themeisle-image-container-holder",style:{backgroundImage:"url('".concat(t.backgroundOverlayImageURL,"')")}}),wp.element.createElement("div",{className:"wp-block-themeisle-image-container-delete",onClick:x},wp.element.createElement(Z,{icon:"trash"}),wp.element.createElement("span",null,I("Remove Image"))))),wp.element.createElement(q,{isSecondary:!0,className:"wp-block-themeisle-image-container-delete-button",onClick:x},I("Change or Remove Image")),wp.element.createElement(N.a,{label:"Background Settings"},wp.element.createElement(J,{label:I("Background Attachment"),value:t.backgroundOverlayAttachment,options:[{label:"Scroll",value:"scroll"},{label:"Fixed",value:"fixed"},{label:"Local",value:"local"}],onChange:function(e){n({backgroundOverlayAttachment:e})}}),wp.element.createElement(J,{label:I("Background Position"),value:t.backgroundOverlayPosition,options:[{label:"Default",value:"top left"},{label:"Top Left",value:"top left"},{label:"Top Center",value:"top center"},{label:"Top Right",value:"top right"},{label:"Center Left",value:"center left"},{label:"Center Center",value:"center center"},{label:"Center Right",value:"center right"},{label:"Bottom Left",value:"bottom left"},{label:"Bottom Center",value:"bottom center"},{label:"Bottom Right",value:"bottom right"}],onChange:function(e){n({backgroundOverlayPosition:e})}}),wp.element.createElement(J,{label:I("Background Repeat"),value:t.backgroundOverlayRepeat,options:[{label:"Repeat",value:"repeat"},{label:"No-repeat",value:"no-repeat"}],onChange:function(e){n({backgroundOverlayRepeat:e})}}),wp.element.createElement(J,{label:I("Background Size"),value:t.backgroundOverlaySize,options:[{label:"Auto",value:"auto"},{label:"Cover",value:"cover"},{label:"Contain",value:"contain"}],onChange:function(e){n({backgroundOverlaySize:e})}}))):wp.element.createElement(V,{icon:"format-image",labels:{title:I("Background Image"),name:I("an image")},value:t.backgroundOverlayImageID,onSelect:function(e){n({backgroundOverlayImageID:e.id,backgroundOverlayImageURL:e.url})},accept:"image/*",allowedTypes:["image"]}))||"gradient"===t.backgroundOverlayType&&wp.element.createElement(A.a,{label:"Background Gradient",value:{firstColor:t.backgroundOverlayGradientFirstColor,firstLocation:t.backgroundOverlayGradientFirstLocation,secondColor:t.backgroundOverlayGradientSecondColor,secondLocation:t.backgroundOverlayGradientSecondLocation,type:t.backgroundOverlayGradientType,angle:t.backgroundOverlayGradientAngle,position:t.backgroundOverlayGradientPosition},onChange:function(e,t,a,l,o,r,i){n({backgroundOverlayGradientFirstColor:e,backgroundOverlayGradientFirstLocation:t,backgroundOverlayGradientSecondColor:a,backgroundOverlayGradientSecondLocation:l,backgroundOverlayGradientType:o,backgroundOverlayGradientAngle:r,backgroundOverlayGradientPosition:i})},onChangeValue:function(e){var t={firstColor:"backgroundOverlayGradientFirstColor",firstLocation:"backgroundOverlayGradientFirstLocation",secondColor:"backgroundOverlayGradientSecondColor",secondLocation:"backgroundOverlayGradientSecondLocation",type:"backgroundOverlayGradientType",angle:"backgroundOverlayGradientAngle",position:"backgroundOverlayGradientPosition"};for(var a in e)n(z({},t[a],e[a]))}}),wp.element.createElement(N.a,{label:"CSS Filters"},wp.element.createElement(K,{label:I("Blur"),value:t.backgroundOverlayFilterBlur,onChange:function(e){n({backgroundOverlayFilterBlur:e})},min:0,max:100}),wp.element.createElement(K,{label:I("Brightness"),value:t.backgroundOverlayFilterBrightness,onChange:function(e){n({backgroundOverlayFilterBrightness:e})},min:0,max:100}),wp.element.createElement(K,{label:I("Contrast"),value:t.backgroundOverlayFilterContrast,onChange:function(e){n({backgroundOverlayFilterContrast:e})},min:0,max:100}),wp.element.createElement(K,{label:I("Grayscale"),value:t.backgroundOverlayFilterGrayscale,onChange:function(e){n({backgroundOverlayFilterGrayscale:e})},min:0,max:100}),wp.element.createElement(K,{label:I("Hue"),value:t.backgroundOverlayFilterHue,onChange:function(e){n({backgroundOverlayFilterHue:e})},min:0,max:360}),wp.element.createElement(K,{label:I("Saturation"),value:t.backgroundOverlayFilterSaturate,onChange:function(e){n({backgroundOverlayFilterSaturate:e})},min:0,max:100})),wp.element.createElement(J,{label:I("Blend Mode"),value:t.backgroundOverlayBlend,options:[{label:"Normal",value:"normal"},{label:"Multiply",value:"multiply"},{label:"Screen",value:"screen"},{label:"Overlay",value:"overlay"},{label:"Darken",value:"darken"},{label:"Lighten",value:"lighten"},{label:"Color Dodge",value:"color-dodge"},{label:"Color Burn",value:"color-burn"},{label:"Hard Light",value:"hard-light"},{label:"Soft Light",value:"soft-light"},{label:"Difference",value:"difference"},{label:"Exclusion",value:"exclusion"},{label:"Hue",value:"hue"},{label:"Saturation",value:"saturation"},{label:"Color",value:"color"},{label:"Luminosity",value:"luminosity"}],onChange:function(e){n({backgroundOverlayBlend:e})}})),wp.element.createElement($,{title:I("Border"),className:"wp-block-themeisle-border-container",initialOpen:!1},wp.element.createElement(O.a,{label:I("Border Width"),type:t.borderType,min:0,max:500,changeType:function(e){n({borderType:e})},onChange:function(e,a){"linked"===t.borderType?n({border:a}):n(z({},C[e],a))},options:[{label:I("Top"),type:"top",value:S("top")},{label:I("Right"),type:"right",value:S("right")},{label:I("Bottom"),type:"bottom",value:S("bottom")},{label:I("Left"),type:"left",value:S("left")}]}),wp.element.createElement(M.a,{label:I("Border Color"),colorValue:t.borderColor},wp.element.createElement(D,{label:"Border Color",value:t.borderColor,onChange:function(e){n({borderColor:e})}})),wp.element.createElement(O.a,{label:I("Border Radius"),type:t.borderRadiusType,min:0,max:500,changeType:function(e){n({borderRadiusType:e})},onChange:function(e,a){"linked"===t.borderRadiusType?n({borderRadius:a}):n(z({},_[e],a))},options:[{label:I("Top"),type:"top",value:j("top")},{label:I("Right"),type:"right",value:j("right")},{label:I("Bottom"),type:"bottom",value:j("bottom")},{label:I("Left"),type:"left",value:j("left")}]}),wp.element.createElement(Q,{label:"Box Shadow",checked:t.boxShadow,onChange:function(){n({boxShadow:!t.boxShadow})}}),t.boxShadow&&wp.element.createElement(ee,null,wp.element.createElement(M.a,{label:I("Shadow Color"),colorValue:t.boxShadowColor},wp.element.createElement(D,{label:"Shadow Color",value:t.boxShadowColor,onChange:function(e){n({boxShadowColor:e})}})),wp.element.createElement(N.a,{label:"Border Shadow"},wp.element.createElement(K,{label:I("Opacity"),value:t.boxShadowColorOpacity,onChange:function(e){n({boxShadowColorOpacity:e})},min:0,max:100}),wp.element.createElement(K,{label:I("Blur"),value:t.boxShadowBlur,onChange:function(e){n({boxShadowBlur:e})},min:0,max:100}),wp.element.createElement(K,{label:I("Spread"),value:t.boxShadowSpread,onChange:function(e){n({boxShadowSpread:e})},min:-100,max:100}),wp.element.createElement(K,{label:I("Horizontal"),value:t.boxShadowHorizontal,onChange:function(e){n({boxShadowHorizontal:e})},min:-100,max:100}),wp.element.createElement(K,{label:I("Vertical"),value:t.boxShadowVertical,onChange:function(e){n({boxShadowVertical:e})},min:-100,max:100})))),wp.element.createElement($,{title:I("Shape Divider"),initialOpen:!1,className:"wp-block-themeisle-shape-divider"},wp.element.createElement(U,null,wp.element.createElement(q,{isSmall:!0,isSecondary:"top"!==l,isPrimary:"top"===l,onClick:function(){return o("top")}},I("Top")),wp.element.createElement(q,{isSmall:!0,isSecondary:"bottom"!==l,isPrimary:"bottom"===l,onClick:function(){return o("bottom")}},I("Bottom"))),wp.element.createElement(J,{label:I("Type"),value:F,options:[{label:"None",value:"none"},{label:"Triangle",value:"bigTriangle"},{label:"Right Curve",value:"rightCurve"},{label:"Curve",value:"curve"},{label:"Slant",value:"slant"},{label:"Cloud",value:"cloud"}],onChange:function(e){"top"==l&&n({dividerTopType:e}),"bottom"==l&&n({dividerBottomType:e})}}),"none"!==F&&wp.element.createElement(ee,null,wp.element.createElement(M.a,{label:I("Color"),colorValue:X},wp.element.createElement(D,{label:I("Color"),value:X,onChange:function(e){"top"==l&&n({dividerTopColor:e}),"bottom"==l&&n({dividerBottomColor:e})}})),wp.element.createElement(R.a,{label:"Width"},wp.element.createElement(K,{value:ne,onChange:function(e){"top"==l&&("Desktop"==r&&n({dividerTopWidth:e}),"Tablet"==r&&n({dividerTopWidthTablet:e}),"Mobile"==r&&n({dividerTopWidthMobile:e})),"bottom"==l&&("Desktop"==r&&n({dividerBottomWidth:e}),"Tablet"==r&&n({dividerBottomWidthTablet:e}),"Mobile"==r&&n({dividerBottomWidthMobile:e}))},min:0,max:500})),wp.element.createElement(R.a,{label:"Height"},wp.element.createElement(K,{value:ae,onChange:function(e){"top"==l&&("Desktop"==r&&n({dividerTopHeight:e}),"Tablet"==r&&n({dividerTopHeightTablet:e}),"Mobile"==r&&n({dividerTopHeightMobile:e})),"bottom"==l&&("Desktop"==r&&n({dividerBottomHeight:e}),"Tablet"==r&&n({dividerBottomHeightTablet:e}),"Mobile"==r&&n({dividerBottomHeightMobile:e}))},min:0,max:500})),"curve"!==F&&"cloud"!==F&&wp.element.createElement(Q,{label:"Invert Shape Divider",checked:le,onChange:function(){"top"==l&&n({dividerTopInvert:!t.dividerTopInvert}),"bottom"==l&&n({dividerBottomInvert:!t.dividerBottomInvert})}}))))||"advanced"===c&&wp.element.createElement(ee,null,wp.element.createElement($,{title:I("Responsive")},wp.element.createElement(Q,{label:"Hide this section in Desktop devices?",checked:t.hide,onChange:function(e){return oe(e,"Desktop")}}),wp.element.createElement(Q,{label:"Hide this section in Tablet devices?",checked:t.hideTablet,onChange:function(e){return oe(e,"Tablet")}}),wp.element.createElement(Q,{label:"Hide this section in Mobile devices?",checked:t.hideMobile,onChange:function(e){return oe(e,"Mobile")}}),wp.element.createElement("hr",null),!t.hideTablet&&"collapsedRows"===t.layoutTablet&&wp.element.createElement(Q,{label:"Reverse Columns in Tablet devices?",checked:t.reverseColumnsTablet,onChange:function(e){return re(e,"Tablet")}}),!t.hideMobile&&"collapsedRows"===t.layoutMobile&&wp.element.createElement(Q,{label:"Reverse Columns in Mobile devices?",checked:t.reverseColumnsMobile,onChange:function(e){return re(e,"Mobile")}})),wp.element.createElement($,{title:I("Section Settings"),initialOpen:!1},wp.element.createElement(J,{label:I("HTML Tag"),value:t.columnsHTMLTag,options:[{label:"Default (div)",value:"div"},{label:"section",value:"section"},{label:"header",value:"header"},{label:"footer",value:"footer"},{label:"article",value:"article"},{label:"main",value:"main"}],onChange:function(e){n({columnsHTMLTag:e})}})))),wp.element.createElement(P.a,{value:t.id,onChange:function(e){n({id:e})}}))};function ae(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return le(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return le(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function le(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var oe=wp.i18n.__,re=wp.blockEditor,ie=re.__experimentalBlockNavigationList,ce=re.__experimentalBlockNavigationTree,de=re.BlockControls,pe=wp.components,ue=pe.Button,me=pe.Modal,se=pe.Toolbar,be=wp.data,ge=be.useSelect,fe=be.useDispatch,ye=wp.element,he=ye.Fragment,we=ye.useState,ve=function(e){var t=e.clientId,n=ge((function(e){var n=e("core/block-editor"),a=n.getSelectedBlockClientId;return{block:(0,n.getBlock)(t),selectedBlockClientId:a()}}),[]),a=n.block,o=n.selectedBlockClientId,r=fe("core/block-editor").selectBlock,i=ae(we(!1),2),c=i[0],d=i[1],p=ie||ce;return wp.element.createElement(he,null,wp.element.createElement(de,null,wp.element.createElement(se,null,wp.element.createElement(ue,{className:"components-toolbar__control",label:oe("Open block navigator"),showTooltip:!0,onClick:function(){return d(!0)},icon:l.l}))),c&&wp.element.createElement(me,{title:oe("Block Navigator"),closeLabel:oe("Close"),onRequestClose:function(){return d(!1)}},wp.element.createElement(p,{blocks:[a],selectedBlockClientId:o,selectBlock:r,showNestedBlocks:!0})))},ke=n(14),Te=n(26);function Ee(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||Ce(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function xe(e){return function(e){if(Array.isArray(e))return Se(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||Ce(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ce(e,t){if(e){if("string"==typeof e)return Se(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Se(e,t):void 0}}function Se(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}function Me(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Be(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Me(Object(n),!0).forEach((function(t){Oe(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Me(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Oe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Re=lodash,Le=Re.isEqual,Ae=Re.times,Ne=wp.compose.useViewportMatch,Pe=wp.data,ze=Pe.useDispatch,He=Pe.useSelect,_e=wp.blockEditor.InnerBlocks,Ie=wp.element,je=Ie.Fragment,De=Ie.useEffect,Ge=Ie.useState,Ve=[],Fe=function(e){var t=e.attributes,n=e.setAttributes,a=e.className,l=e.clientId,o=e.name,r=ze("core/block-editor").updateBlockAttributes,c=He((function(e){var t=e("core/block-editor").getBlock,n=e("core/edit-post").__experimentalGetPreviewDeviceType;return{sectionBlock:t(l),isViewportAvailable:!!n,isPreviewDesktop:!!n&&"Desktop"===n(),isPreviewTablet:!!n&&"Tablet"===n(),isPreviewMobile:!!n&&"Mobile"===n()}}),[]),p=c.sectionBlock,m=c.isViewportAvailable,s=c.isPreviewDesktop,b=c.isPreviewTablet,g=c.isPreviewMobile,f=Ne("large",">="),y=Ne("large","<="),h=Ne("small",">="),w=Ne("small","<=");De((function(){v()}),[]);var v=function(){var e=window.themeisleGutenberg.blockIDs?window.themeisleGutenberg.blockIDs:[];if(void 0===t.id){var a,r="wp-block-themeisle-blocks-advanced-columns-".concat(l.substr(0,8));void 0!==(window.themeisleGutenberg.globalDefaults?window.themeisleGutenberg.globalDefaults:void 0)&&(Le(k.a[o],window.themeisleGutenberg.globalDefaults[o])||(a=Be({},window.themeisleGutenberg.globalDefaults[o]),Object.keys(a).map((function(e){if(t[e]!==a[e]&&void 0!==i[e].default&&t[e]!==i[e].default)return delete a[e]})))),n(Be(Be({},a),{},{id:r})),Ve.push(r),e.push(r)}else if(Ve.includes(t.id)){var c="wp-block-themeisle-blocks-advanced-columns-".concat(l.substr(0,8));n({id:c}),Ve.push(c),e.push(c)}else Ve.push(t.id),e.push(t.id);window.themeisleGutenberg.blockIDs=xe(e)},E=Ee(Ge("top"),2),x=E[0],C=E[1],M=f&&!y&&h&&!w,B=!f&&!y&&h&&!w,O=!(f||y||h||w);m&&!O&&(M=s,B=b,O=g);var R,L,A,N,P,z,H,_=t.columnsHTMLTag;(M&&(R={paddingTop:"linked"===t.paddingType?"".concat(t.padding,"px"):"".concat(t.paddingTop,"px"),paddingRight:"linked"===t.paddingType?"".concat(t.padding,"px"):"".concat(t.paddingRight,"px"),paddingBottom:"linked"===t.paddingType?"".concat(t.padding,"px"):"".concat(t.paddingBottom,"px"),paddingLeft:"linked"===t.paddingType?"".concat(t.padding,"px"):"".concat(t.paddingLeft,"px"),marginTop:"linked"===t.marginType?"".concat(t.margin,"px"):"".concat(t.marginTop,"px"),marginBottom:"linked"===t.marginType?"".concat(t.margin,"px"):"".concat(t.marginBottom,"px"),minHeight:"custom"===t.columnsHeight?"".concat(t.columnsHeightCustom,"px"):t.columnsHeight}),B&&(R={paddingTop:"linked"===t.paddingTypeTablet?"".concat(t.paddingTablet,"px"):"".concat(t.paddingTopTablet,"px"),paddingRight:"linked"===t.paddingTypeTablet?"".concat(t.paddingTablet,"px"):"".concat(t.paddingRightTablet,"px"),paddingBottom:"linked"===t.paddingTypeTablet?"".concat(t.paddingTablet,"px"):"".concat(t.paddingBottomTablet,"px"),paddingLeft:"linked"===t.paddingTypeTablet?"".concat(t.paddingTablet,"px"):"".concat(t.paddingLeftTablet,"px"),marginTop:"linked"===t.marginTypeTablet?"".concat(t.marginTablet,"px"):"".concat(t.marginTopTablet,"px"),marginBottom:"linked"===t.marginTypeTablet?"".concat(t.marginTablet,"px"):"".concat(t.marginBottomTablet,"px"),minHeight:"custom"===t.columnsHeight?"".concat(t.columnsHeightCustomTablet,"px"):t.columnsHeight}),O&&(R={paddingTop:"linked"===t.paddingTypeMobile?"".concat(t.paddingMobile,"px"):"".concat(t.paddingTopMobile,"px"),paddingRight:"linked"===t.paddingTypeMobile?"".concat(t.paddingMobile,"px"):"".concat(t.paddingRightMobile,"px"),paddingBottom:"linked"===t.paddingTypeMobile?"".concat(t.paddingMobile,"px"):"".concat(t.paddingBottomMobile,"px"),paddingLeft:"linked"===t.paddingTypeMobile?"".concat(t.paddingMobile,"px"):"".concat(t.paddingLeftMobile,"px"),marginTop:"linked"===t.marginTypeMobile?"".concat(t.marginMobile,"px"):"".concat(t.marginTopMobile,"px"),marginBottom:"linked"===t.marginTypeMobile?"".concat(t.marginMobile,"px"):"".concat(t.marginBottomMobile,"px"),minHeight:"custom"===t.columnsHeight?"".concat(t.columnsHeightCustomMobile,"px"):t.columnsHeight}),"color"===t.backgroundType&&(L={background:t.backgroundColor}),"image"===t.backgroundType&&(L={backgroundImage:"url( '".concat(t.backgroundImageURL,"' )"),backgroundAttachment:t.backgroundAttachment,backgroundPosition:t.backgroundPosition,backgroundRepeat:t.backgroundRepeat,backgroundSize:t.backgroundSize}),"gradient"===t.backgroundType)&&(H="linear"===t.backgroundGradientType?"".concat(t.backgroundGradientAngle,"deg"):"at ".concat(t.backgroundGradientPosition),(t.backgroundGradientFirstColor||t.backgroundGradientSecondColor)&&(L={background:"".concat(t.backgroundGradientType,"-gradient( ").concat(H,", ").concat(t.backgroundGradientFirstColor||"rgba( 0, 0, 0, 0 )"," ").concat(t.backgroundGradientFirstLocation,"%, ").concat(t.backgroundGradientSecondColor||"rgba( 0, 0, 0, 0 )"," ").concat(t.backgroundGradientSecondLocation,"% )")}));"linked"===t.borderType&&(N={borderWidth:"".concat(t.border,"px"),borderStyle:"solid",borderColor:t.borderColor}),"unlinked"===t.borderType&&(N={borderTopWidth:"".concat(t.borderTop,"px"),borderRightWidth:"".concat(t.borderRight,"px"),borderBottomWidth:"".concat(t.borderBottom,"px"),borderLeftWidth:"".concat(t.borderLeft,"px"),borderStyle:"solid",borderColor:t.borderColor}),"linked"===t.borderRadiusType&&(P={borderRadius:"".concat(t.borderRadius,"px")}),"unlinked"===t.borderRadiusType&&(P={borderTopLeftRadius:"".concat(t.borderRadiusTop,"px"),borderTopRightRadius:"".concat(t.borderRadiusRight,"px"),borderBottomRightRadius:"".concat(t.borderRadiusBottom,"px"),borderBottomLeftRadius:"".concat(t.borderRadiusLeft,"px")}),!0===t.boxShadow&&(z={boxShadow:"".concat(t.boxShadowHorizontal,"px ").concat(t.boxShadowVertical,"px ").concat(t.boxShadowBlur,"px ").concat(t.boxShadowSpread,"px ").concat(u()(t.boxShadowColor?t.boxShadowColor:"#000000",t.boxShadowColorOpacity))});var I,j=Be(Be(Be(Be(Be({},R),L),N),P),z);("color"===t.backgroundOverlayType&&(A={background:t.backgroundOverlayColor,opacity:t.backgroundOverlayOpacity/100}),"image"===t.backgroundOverlayType&&(A={backgroundImage:"url( '".concat(t.backgroundOverlayImageURL,"' )"),backgroundAttachment:t.backgroundOverlayAttachment,backgroundPosition:t.backgroundOverlayPosition,backgroundRepeat:t.backgroundOverlayRepeat,backgroundSize:t.backgroundOverlaySize,opacity:t.backgroundOverlayOpacity/100}),"gradient"===t.backgroundOverlayType)&&(I="linear"===t.backgroundOverlayGradientType?"".concat(t.backgroundOverlayGradientAngle,"deg"):"at ".concat(t.backgroundOverlayGradientPosition),A={background:"".concat(t.backgroundOverlayGradientType,"-gradient( ").concat(I,", ").concat(t.backgroundOverlayGradientFirstColor||"rgba( 0, 0, 0, 0 )"," ").concat(t.backgroundOverlayGradientFirstLocation,"%, ").concat(t.backgroundOverlayGradientSecondColor||"rgba( 0, 0, 0, 0 )"," ").concat(t.backgroundOverlayGradientSecondLocation,"% )"),opacity:t.backgroundOverlayOpacity/100});var D=Be(Be({},A),{},{mixBlendMode:t.backgroundOverlayBlend,filter:"blur( ".concat(t.backgroundOverlayFilterBlur/10,"px ) brightness( ").concat(t.backgroundOverlayFilterBrightness/10," ) contrast( ").concat(t.backgroundOverlayFilterContrast/10," ) grayscale( ").concat(t.backgroundOverlayFilterGrayscale/100," ) hue-rotate( ").concat(t.backgroundOverlayFilterHue,"deg ) saturate( ").concat(t.backgroundOverlayFilterSaturate/10," )")}),G={};t.columnsWidth&&(G={maxWidth:t.columnsWidth+"px"});var V=d()(a,"has-".concat(t.columns,"-columns"),"has-desktop-".concat(t.layout,"-layout"),"has-tablet-".concat(t.layoutTablet,"-layout"),"has-mobile-".concat(t.layoutMobile,"-layout"),"has-".concat(t.columnsGap,"-gap"),"has-vertical-".concat(t.verticalAlign),"has-horizontal-".concat(t.horizontalAlign),{"has-reverse-columns-tablet":t.reverseColumnsTablet&&!t.hideTablet&&"collapsedRows"===t.layoutTablet},{"has-reverse-columns-mobile":t.reverseColumnsMobile&&!t.hideMobile&&"collapsedRows"===t.layoutMobile},{"has-viewport-desktop":M},{"has-viewport-tablet":B},{"has-viewport-mobile":O}),F=function(){var e;return M&&(e=t.dividerTopWidth),B&&(e=t.dividerTopWidthTablet),O&&(e=t.dividerTopWidthMobile),e};F=F();var W=function(){var e;return M&&(e=t.dividerBottomWidth),B&&(e=t.dividerBottomWidthTablet),O&&(e=t.dividerBottomWidthMobile),e};W=W();var q=function(){var e;return M&&(e=t.dividerTopHeight),B&&(e=t.dividerTopHeightTablet),O&&(e=t.dividerTopHeightMobile),e};q=q();var U=function(){var e;return M&&(e=t.dividerBottomHeight),B&&(e=t.dividerBottomHeightTablet),O&&(e=t.dividerBottomHeightMobile),e};U=U();var Z;return t.columns?wp.element.createElement(je,null,wp.element.createElement(ve,{clientId:l}),wp.element.createElement(S,{attributes:t,setAttributes:n}),wp.element.createElement(ne,{attributes:t,setAttributes:n,updateColumnsWidth:function(e,t){p.innerBlocks.map((function(n,a){r(n.clientId,{columnWidth:T.a[e][t][a]})}))},dividerViewType:x,setDividerViewType:C}),wp.element.createElement(_,{className:V,id:t.id,style:j},wp.element.createElement("div",{className:"wp-block-themeisle-blocks-advanced-columns-overlay",style:D}),wp.element.createElement(ke.default,{type:"top",style:t.dividerTopType,fill:t.dividerTopColor,invert:t.dividerTopInvert,width:F,height:q}),wp.element.createElement("div",{className:"innerblocks-wrap",style:G},wp.element.createElement(_e,{allowedBlocks:["themeisle-blocks/advanced-column"],template:(Z=t.columns,Ae(Z,(function(e){return["themeisle-blocks/advanced-column",{columnWidth:T.a[Z][t.layout][e]}]}))),templateLock:"all"})),wp.element.createElement(ke.default,{type:"bottom",style:t.dividerBottomType,fill:t.dividerBottomColor,invert:t.dividerBottomInvert,width:W,height:U}))):wp.element.createElement(Te.default,{clientId:l,setupColumns:function(e,t){n(1>=e?{columns:e,layout:t,layoutTablet:"equal",layoutMobile:"equal"}:{columns:e,layout:t,layoutTablet:"equal",layoutMobile:"collapsedRows"})}})},We=wp.blockEditor.InnerBlocks,qe=function(e){var t=e.attributes,n=e.className,a=t.columnsHTMLTag,l=t.hide?"":"has-desktop-".concat(t.layout,"-layout"),o=t.hideTablet?"":"has-tablet-".concat(t.layoutTablet,"-layout"),r=t.hideMobile?"":"has-mobile-".concat(t.layoutMobile,"-layout"),i=d()(n,"has-".concat(t.columns,"-columns"),l,o,r,{"hide-in-desktop":t.hide},{"hide-in-tablet":t.hideTablet},{"hide-in-mobile":t.hideMobile},{"has-reverse-columns-tablet":t.reverseColumnsTablet&&!t.hideTablet&&"collapsedRows"===t.layoutTablet},{"has-reverse-columns-mobile":t.reverseColumnsMobile&&!t.hideMobile&&"collapsedRows"===t.layoutMobile},"has-".concat(t.columnsGap,"-gap"),"has-vertical-".concat(t.verticalAlign));return wp.element.createElement(a,{className:i,id:t.id},wp.element.createElement("div",{className:"wp-block-themeisle-blocks-advanced-columns-overlay"}),wp.element.createElement(ke.default,{type:"top",front:!0,style:t.dividerTopType,fill:t.dividerTopColor,invert:t.dividerTopInvert}),wp.element.createElement("div",{className:"innerblocks-wrap"},wp.element.createElement(We.Content,null)),wp.element.createElement(ke.default,{type:"bottom",front:!0,style:t.dividerBottomType,fill:t.dividerBottomColor,invert:t.dividerBottomInvert}))},Ue=wp.i18n.__;(0,wp.blocks.registerBlockType)("themeisle-blocks/advanced-columns",{title:Ue("Section"),description:Ue("Add a Section block that displays content in multiple columns, then add whatever content blocks you’d like."),icon:l.g,category:"themeisle-blocks",keywords:["advanced columns","layout","grid"],attributes:i,supports:{align:["wide","full"],html:!1},deprecated:v,edit:Fe,save:qe})},function(e,t,n){"use strict";n.r(t);var a=n(3),l={id:{type:"string"},paddingType:{type:"string",default:"linked"},paddingTypeTablet:{type:"string",default:"linked"},paddingTypeMobile:{type:"string",default:"linked"},padding:{type:"number",default:20},paddingTablet:{type:"number"},paddingMobile:{type:"number"},paddingTop:{type:"number",default:20},paddingTopTablet:{type:"number"},paddingTopMobile:{type:"number"},paddingRight:{type:"number",default:20},paddingRightTablet:{type:"number"},paddingRightMobile:{type:"number"},paddingBottom:{type:"number",default:20},paddingBottomTablet:{type:"number"},paddingBottomMobile:{type:"number"},paddingLeft:{type:"number",default:20},paddingLeftTablet:{type:"number"},paddingLeftMobile:{type:"number"},marginType:{type:"string",default:"unlinked"},marginTypeTablet:{type:"string",default:"unlinked"},marginTypeMobile:{type:"string",default:"unlinked"},margin:{type:"number",default:20},marginTablet:{type:"number"},marginMobile:{type:"number"},marginTop:{type:"number",default:20},marginTopTablet:{type:"number"},marginTopMobile:{type:"number"},marginRight:{type:"number",default:0},marginRightTablet:{type:"number"},marginRightMobile:{type:"number"},marginBottom:{type:"number",default:20},marginBottomTablet:{type:"number"},marginBottomMobile:{type:"number"},marginLeft:{type:"number",default:0},marginLeftTablet:{type:"number"},marginLeftMobile:{type:"number"},backgroundType:{type:"string",default:"color"},backgroundColor:{type:"string"},backgroundImageID:{type:"number"},backgroundImageURL:{type:"string"},backgroundAttachment:{type:"string",default:"scroll"},backgroundPosition:{type:"string",default:"top left"},backgroundRepeat:{type:"string",default:"repeat"},backgroundSize:{type:"string",default:"auto"},backgroundGradientFirstColor:{type:"string",default:"#36d1dc"},backgroundGradientFirstLocation:{type:"number",default:0},backgroundGradientSecondColor:{type:"string",default:"#5b86e5"},backgroundGradientSecondLocation:{type:"number",default:100},backgroundGradientType:{type:"string",default:"linear"},backgroundGradientAngle:{type:"number",default:90},backgroundGradientPosition:{type:"string",default:"center center"},borderType:{type:"string",default:"linked"},border:{type:"number",default:0},borderTop:{type:"number",default:0},borderRight:{type:"number",default:0},borderBottom:{type:"number",default:0},borderLeft:{type:"number",default:0},borderColor:{type:"string",default:"#000000"},borderRadiusType:{type:"string",default:"linked"},borderRadius:{type:"number",default:0},borderRadiusTop:{type:"number",default:0},borderRadiusRight:{type:"number",default:0},borderRadiusBottom:{type:"number",default:0},borderRadiusLeft:{type:"number",default:0},boxShadow:{type:"boolean",default:!1},boxShadowColor:{type:"string",default:"#000000"},boxShadowColorOpacity:{type:"number",default:50},boxShadowBlur:{type:"number",default:5},boxShadowSpread:{type:"number",default:0},boxShadowHorizontal:{type:"number",default:0},boxShadowVertical:{type:"number",default:0},columnsHTMLTag:{type:"string",default:"div"},columnWidth:{type:"string"}},o=n(7),r=n.n(o);function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){d(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function d(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var p=wp.blockEditor.InnerBlocks,u=[{attributes:{id:{type:"string"},paddingType:{type:"string",default:"linked"},paddingTypeTablet:{type:"string",default:"linked"},paddingTypeMobile:{type:"string",default:"linked"},padding:{type:"number",default:20},paddingTablet:{type:"number",default:20},paddingMobile:{type:"number",default:20},paddingTop:{type:"number",default:20},paddingTopTablet:{type:"number",default:20},paddingTopMobile:{type:"number",default:20},paddingRight:{type:"number",default:20},paddingRightTablet:{type:"number",default:20},paddingRightMobile:{type:"number",default:20},paddingBottom:{type:"number",default:20},paddingBottomTablet:{type:"number",default:20},paddingBottomMobile:{type:"number",default:20},paddingLeft:{type:"number",default:20},paddingLeftTablet:{type:"number",default:20},paddingLeftMobile:{type:"number",default:20},marginType:{type:"string",default:"unlinked"},marginTypeTablet:{type:"string",default:"unlinked"},marginTypeMobile:{type:"string",default:"unlinked"},margin:{type:"number",default:20},marginTablet:{type:"number",default:20},marginMobile:{type:"number",default:20},marginTop:{type:"number",default:20},marginTopTablet:{type:"number",default:20},marginTopMobile:{type:"number",default:20},marginRight:{type:"number",default:0},marginRightTablet:{type:"number",default:0},marginRightMobile:{type:"number",default:0},marginBottom:{type:"number",default:20},marginBottomTablet:{type:"number",default:20},marginBottomMobile:{type:"number",default:20},marginLeft:{type:"number",default:0},marginLeftTablet:{type:"number",default:0},marginLeftMobile:{type:"number",default:0},backgroundType:{type:"string",default:"color"},backgroundColor:{type:"string"},backgroundImageID:{type:"number"},backgroundImageURL:{type:"string"},backgroundAttachment:{type:"string",default:"scroll"},backgroundPosition:{type:"string",default:"top left"},backgroundRepeat:{type:"string",default:"repeat"},backgroundSize:{type:"string",default:"auto"},backgroundGradientFirstColor:{type:"string",default:"#36d1dc"},backgroundGradientFirstLocation:{type:"number",default:0},backgroundGradientSecondColor:{type:"string",default:"#5b86e5"},backgroundGradientSecondLocation:{type:"number",default:100},backgroundGradientType:{type:"string",default:"linear"},backgroundGradientAngle:{type:"number",default:90},backgroundGradientPosition:{type:"string",default:"center center"},borderType:{type:"string",default:"linked"},border:{type:"number",default:0},borderTop:{type:"number",default:0},borderRight:{type:"number",default:0},borderBottom:{type:"number",default:0},borderLeft:{type:"number",default:0},borderColor:{type:"string",default:"#000000"},borderRadiusType:{type:"string",default:"linked"},borderRadius:{type:"number",default:0},borderRadiusTop:{type:"number",default:0},borderRadiusRight:{type:"number",default:0},borderRadiusBottom:{type:"number",default:0},borderRadiusLeft:{type:"number",default:0},boxShadow:{type:"boolean",default:!1},boxShadowColor:{type:"string",default:"#000000"},boxShadowColorOpacity:{type:"number",default:50},boxShadowBlur:{type:"number",default:5},boxShadowSpread:{type:"number",default:0},boxShadowHorizontal:{type:"number",default:0},boxShadowVertical:{type:"number",default:0},columnsHTMLTag:{type:"string",default:"div"},columnWidth:{type:"string"}},supports:{inserter:!1,reusable:!1,html:!1},save:function(e){var t,n,a,l,o,i=e.attributes,d=e.className,u=i.columnsHTMLTag;("color"===i.backgroundType&&(t={background:i.backgroundColor}),"image"===i.backgroundType&&(t={backgroundImage:"url( '".concat(i.backgroundImageURL,"' )"),backgroundAttachment:i.backgroundAttachment,backgroundPosition:i.backgroundPosition,backgroundRepeat:i.backgroundRepeat,backgroundSize:i.backgroundSize}),"gradient"===i.backgroundType)&&(o="linear"===i.backgroundGradientType?"".concat(i.backgroundGradientAngle,"deg"):"at ".concat(i.backgroundGradientPosition),t={background:"".concat(i.backgroundGradientType,"-gradient( ").concat(o,", ").concat(i.backgroundGradientFirstColor||"rgba( 0, 0, 0, 0 )"," ").concat(i.backgroundGradientFirstLocation,"%, ").concat(i.backgroundGradientSecondColor||"rgba( 0, 0, 0, 0 )"," ").concat(i.backgroundGradientSecondLocation,"% )")});"linked"===i.borderType&&(n={borderWidth:"".concat(i.border,"px"),borderStyle:"solid",borderColor:i.borderColor}),"unlinked"===i.borderType&&(n={borderTopWidth:"".concat(i.borderTop,"px"),borderRightWidth:"".concat(i.borderRight,"px"),borderBottomWidth:"".concat(i.borderBottom,"px"),borderLeftWidth:"".concat(i.borderLeft,"px"),borderStyle:"solid",borderColor:i.borderColor}),"linked"===i.borderRadiusType&&(a={borderRadius:"".concat(i.borderRadius,"px")}),"unlinked"===i.borderRadiusType&&(a={borderTopLeftRadius:"".concat(i.borderRadiusTop,"px"),borderTopRightRadius:"".concat(i.borderRadiusRight,"px"),borderBottomRightRadius:"".concat(i.borderRadiusBottom,"px"),borderBottomLeftRadius:"".concat(i.borderRadiusLeft,"px")}),!0===i.boxShadow&&(l={boxShadow:"".concat(i.boxShadowHorizontal,"px ").concat(i.boxShadowVertical,"px ").concat(i.boxShadowBlur,"px ").concat(i.boxShadowSpread,"px ").concat(r()(i.boxShadowColor?i.boxShadowColor:"#000000",i.boxShadowColorOpacity))});var m=c(c(c(c({},t),n),a),l);return wp.element.createElement(u,{className:d,id:i.id,style:m},wp.element.createElement(p.Content,null))}}],m=n(6),s=n(17),b=n(0),g=n.n(b),f=n(2),y=n(5),h=n(4),w=n(15),v=n(18),k=n(8);function T(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function E(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return x(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return x(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function x(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var C=wp.i18n.__,S=wp.blockEditor,M=S.ColorPalette,B=S.InspectorControls,O=S.MediaPlaceholder,R=wp.components,L=R.Button,A=R.Dashicon,N=R.PanelBody,P=R.ToggleControl,z=R.RangeControl,H=R.SelectControl,_=wp.data.useSelect,I=wp.element,j=I.Fragment,D=I.useEffect,G=I.useRef,V=I.useState,F=function(e){var t=e.attributes,n=e.setAttributes,a=e.isSelected,l=e.clientId,o=e.adjacentBlock,r=e.parentBlock,i=e.updateBlockAttributes,c=e.adjacentBlockClientId,d=_((function(e){var t=e("themeisle-gutenberg/data").getView,n=e("core/edit-post").__experimentalGetPreviewDeviceType;return n?n():t()}),[]);D((function(){if(1<r.innerBlocks.length&&!c){var e=r.innerBlocks.findIndex((function(e){return e.clientId===l})),t=r.innerBlocks[e-1];b.current=t.clientId,x.current=t.attributes.columnWidth}}),[]),D((function(){if(1<r.innerBlocks.length)if(c)x.current=o.attributes.columnWidth,b.current=c,s.current=t.columnWidth;else{var e=r.innerBlocks.findIndex((function(e){return e.clientId===l})),n=r.innerBlocks[e-1];x.current=n.attributes.columnWidth,b.current=n.clientId,s.current=t.columnWidth}}),[a,t.columnWidth,r.innerBlocks.length]);var p=E(V("layout"),2),u=p[0],m=p[1],s=G(t.columnWidth),b=G(c&&c),x=G(o&&o.attributes.columnWidth),S=function(){var e;return"Desktop"===d&&(e=t.paddingType),"Tablet"===d&&(e=t.paddingTypeTablet),"Mobile"===d&&(e=t.paddingTypeMobile),e};S=S();var R={top:"paddingTop",right:"paddingRight",bottom:"paddingBottom",left:"paddingLeft"},I={top:"paddingTopTablet",right:"paddingRightTablet",bottom:"paddingBottomTablet",left:"paddingLeftTablet"},F={top:"paddingTopMobile",right:"paddingRightMobile",bottom:"paddingBottomMobile",left:"paddingLeftMobile"},W=function(e){var n;return"top"==e&&("Desktop"===d&&(n="linked"===t.paddingType?t.padding:t.paddingTop),"Tablet"===d&&(n="linked"===t.paddingTypeTablet?t.paddingTablet:t.paddingTopTablet),"Mobile"===d&&(n="linked"===t.paddingTypeMobile?t.paddingMobile:t.paddingTopMobile)),"right"==e&&("Desktop"===d&&(n="linked"===t.paddingType?t.padding:t.paddingRight),"Tablet"===d&&(n="linked"===t.paddingTypeTablet?t.paddingTablet:t.paddingRightTablet),"Mobile"===d&&(n="linked"===t.paddingTypeMobile?t.paddingMobile:t.paddingRightMobile)),"bottom"==e&&("Desktop"===d&&(n="linked"===t.paddingType?t.padding:t.paddingBottom),"Tablet"===d&&(n="linked"===t.paddingTypeTablet?t.paddingTablet:t.paddingBottomTablet),"Mobile"===d&&(n="linked"===t.paddingTypeMobile?t.paddingMobile:t.paddingBottomMobile)),"left"==e&&("Desktop"===d&&(n="linked"===t.paddingType?t.padding:t.paddingLeft),"Tablet"===d&&(n="linked"===t.paddingTypeTablet?t.paddingTablet:t.paddingLeftTablet),"Mobile"===d&&(n="linked"===t.paddingTypeMobile?t.paddingMobile:t.paddingLeftMobile)),n},q=function(){var e;return"Desktop"===d&&(e=t.marginType),"Tablet"===d&&(e=t.marginTypeTablet),"Mobile"===d&&(e=t.marginTypeMobile),e};q=q();var U={top:"marginTop",right:"marginRight",bottom:"marginBottom",left:"marginLeft"},Z={top:"marginTopTablet",right:"marginRightTablet",bottom:"marginBottomTablet",left:"marginLeftTablet"},$={top:"marginTopMobile",right:"marginRightMobile",bottom:"marginBottomMobile",left:"marginLeftMobile"},Q=function(e){var n;return"top"==e&&("Desktop"===d&&(n="linked"===t.marginType?t.margin:t.marginTop),"Tablet"===d&&(n="linked"===t.marginTypeTablet?t.marginTablet:t.marginTopTablet),"Mobile"===d&&(n="linked"===t.marginTypeMobile?t.marginMobile:t.marginTopMobile)),"right"==e&&("Desktop"===d&&(n="linked"===t.marginType?t.margin:t.marginRight),"Tablet"===d&&(n="linked"===t.marginTypeTablet?t.marginTablet:t.marginRightTablet),"Mobile"===d&&(n="linked"===t.marginTypeMobile?t.marginMobile:t.marginRightMobile)),"bottom"==e&&("Desktop"===d&&(n="linked"===t.marginType?t.margin:t.marginBottom),"Tablet"===d&&(n="linked"===t.marginTypeTablet?t.marginTablet:t.marginBottomTablet),"Mobile"===d&&(n="linked"===t.marginTypeMobile?t.marginMobile:t.marginBottomMobile)),"left"==e&&("Desktop"===d&&(n="linked"===t.marginType?t.margin:t.marginLeft),"Tablet"===d&&(n="linked"===t.marginTypeTablet?t.marginTablet:t.marginLeftTablet),"Mobile"===d&&(n="linked"===t.marginTypeMobile?t.marginMobile:t.marginLeftMobile)),n},K=function(){n({backgroundImageID:"",backgroundImageURL:""})},J={top:"borderTop",right:"borderRight",bottom:"borderBottom",left:"borderLeft"},Y=function(e){var n;return"top"==e&&(n="linked"===t.borderType?t.border:t.borderTop),"right"==e&&(n="linked"===t.borderType?t.border:t.borderRight),"bottom"==e&&(n="linked"===t.borderType?t.border:t.borderBottom),"left"==e&&(n="linked"===t.borderType?t.border:t.borderLeft),n},X={top:"borderRadiusTop",right:"borderRadiusRight",bottom:"borderRadiusBottom",left:"borderRadiusLeft"},ee=function(e){var n;return"top"==e&&(n="linked"===t.borderRadiusType?t.borderRadius:t.borderRadiusTop),"right"==e&&(n="linked"===t.borderRadiusType?t.borderRadius:t.borderRadiusRight),"bottom"==e&&(n="linked"===t.borderRadiusType?t.borderRadius:t.borderRadiusBottom),"left"==e&&(n="linked"===t.borderRadiusType?t.borderRadius:t.borderRadiusLeft),n};return wp.element.createElement(B,null,wp.element.createElement(N,{className:"wp-block-themeisle-blocks-advanced-columns-header-panel"},wp.element.createElement(L,{className:g()("header-tab",{"is-selected":"layout"===u}),onClick:function(){return m("layout")}},wp.element.createElement("span",null,wp.element.createElement(A,{icon:"editor-table"}),C("Layout"))),wp.element.createElement(L,{className:g()("header-tab",{"is-selected":"style"===u}),onClick:function(){return m("style")}},wp.element.createElement("span",null,wp.element.createElement(A,{icon:"admin-customizer"}),C("Style"))),wp.element.createElement(L,{className:g()("header-tab",{"is-selected":"advanced"===u}),onClick:function(){return m("advanced")}},wp.element.createElement("span",null,wp.element.createElement(A,{icon:"admin-generic"}),C("Advanced")))),"layout"===u&&wp.element.createElement(j,null,wp.element.createElement(N,{title:C("Spacing")},1<r.innerBlocks.length&&wp.element.createElement(z,{label:C("Column Width"),value:Number(t.columnWidth),onChange:function(e){var t=e||10,a=Number(s.current)-t+Number(x.current);s.current=t,x.current=a,n({columnWidth:t.toFixed(2)}),i(b.current,{columnWidth:a.toFixed(2)})},min:10,max:Number(t.columnWidth)+Number(x.current)-10}),wp.element.createElement(h.a,{label:"Padding"},wp.element.createElement(y.a,{type:S,min:0,max:500,changeType:function(e){"Desktop"===d&&n({paddingType:e}),"Tablet"===d&&n({paddingTypeTablet:e}),"Mobile"===d&&n({paddingTypeMobile:e})},onChange:function(e,a){"Desktop"===d&&("linked"===t.paddingType?n({padding:a}):n(T({},R[e],a))),"Tablet"===d&&("linked"===t.paddingTypeTablet?n({paddingTablet:a}):n(T({},I[e],a))),"Mobile"===d&&("linked"===t.paddingTypeMobile?n({paddingMobile:a}):n(T({},F[e],a)))},options:[{label:C("Top"),type:"top",value:W("top")},{label:C("Right"),type:"right",value:W("right")},{label:C("Bottom"),type:"bottom",value:W("bottom")},{label:C("Left"),type:"left",value:W("left")}]})),wp.element.createElement(h.a,{label:"Margin"},wp.element.createElement(y.a,{type:q,min:-500,max:500,changeType:function(e){"Desktop"===d&&n({marginType:e}),"Tablet"===d&&n({marginTypeTablet:e}),"Mobile"===d&&n({marginTypeMobile:e})},onChange:function(e,a){"Desktop"===d&&("linked"===t.marginType?n({margin:a}):n(T({},U[e],a))),"Tablet"===d&&("linked"===t.marginTypeTablet?n({marginTablet:a}):n(T({},Z[e],a))),"Mobile"===d&&("linked"===t.marginTypeMobile?n({marginMobile:a}):n(T({},$[e],a)))},options:[{label:C("Top"),type:"top",value:Q("top")},{label:C("Right"),type:"right",value:Q("right")},{label:C("Bottom"),type:"bottom",value:Q("bottom")},{label:C("Left"),type:"left",value:Q("left")}]}))))||"style"===u&&wp.element.createElement(j,null,wp.element.createElement(N,{title:C("Background Settings"),className:"wp-block-themeisle-image-container"},wp.element.createElement(w.default,{label:C("Background Type"),backgroundType:t.backgroundType,changeBackgroundType:function(e){n({backgroundType:e})}}),"color"===t.backgroundType&&wp.element.createElement(f.a,{label:C("Background Color"),colorValue:t.headingColor},wp.element.createElement(M,{label:"Background Color",value:t.backgroundColor,onChange:function(e){n({backgroundColor:e})}}))||"image"===t.backgroundType&&(t.backgroundImageURL?wp.element.createElement(j,null,wp.element.createElement("div",{className:"wp-block-themeisle-image-container-body"},wp.element.createElement("div",{className:"wp-block-themeisle-image-container-area"},wp.element.createElement("div",{className:"wp-block-themeisle-image-container-holder",style:{backgroundImage:"url('".concat(t.backgroundImageURL,"')")}}),wp.element.createElement("div",{className:"wp-block-themeisle-image-container-delete",onClick:K},wp.element.createElement(A,{icon:"trash"}),wp.element.createElement("span",null,C("Remove Image"))))),wp.element.createElement(L,{isSecondary:!0,className:"wp-block-themeisle-image-container-delete-button",onClick:K},C("Change or Remove Image")),wp.element.createElement(k.a,{label:"Background Settings"},wp.element.createElement(H,{label:C("Background Attachment"),value:t.backgroundAttachment,options:[{label:"Scroll",value:"scroll"},{label:"Fixed",value:"fixed"},{label:"Local",value:"local"}],onChange:function(e){n({backgroundAttachment:e})}}),wp.element.createElement(H,{label:C("Background Position"),value:t.backgroundPosition,options:[{label:"Default",value:"top left"},{label:"Top Left",value:"top left"},{label:"Top Center",value:"top center"},{label:"Top Right",value:"top right"},{label:"Center Left",value:"center left"},{label:"Center Center",value:"center center"},{label:"Center Right",value:"center right"},{label:"Bottom Left",value:"bottom left"},{label:"Bottom Center",value:"bottom center"},{label:"Bottom Right",value:"bottom right"}],onChange:function(e){n({backgroundPosition:e})}}),wp.element.createElement(H,{label:C("Background Repeat"),value:t.backgroundRepeat,options:[{label:"Repeat",value:"repeat"},{label:"No-repeat",value:"no-repeat"}],onChange:function(e){n({backgroundRepeat:e})}}),wp.element.createElement(H,{label:C("Background Size"),value:t.backgroundSize,options:[{label:"Auto",value:"auto"},{label:"Cover",value:"cover"},{label:"Contain",value:"contain"}],onChange:function(e){n({backgroundSize:e})}}))):wp.element.createElement(O,{icon:"format-image",labels:{title:C("Background Image"),name:C("an image")},value:t.backgroundImageID,onSelect:function(e){n({backgroundImageID:e.id,backgroundImageURL:e.url})},accept:"image/*",allowedTypes:["image"]}))||"gradient"===t.backgroundType&&wp.element.createElement(v.a,{label:"Background Gradient",value:{firstColor:t.backgroundGradientFirstColor,firstLocation:t.backgroundGradientFirstLocation,secondColor:t.backgroundGradientSecondColor,secondLocation:t.backgroundGradientSecondLocation,type:t.backgroundGradientType,angle:t.backgroundGradientAngle,position:t.backgroundGradientPosition},onChange:function(e,t,a,l,o,r,i){n({backgroundGradientFirstColor:e,backgroundGradientFirstLocation:t,backgroundGradientSecondColor:a,backgroundGradientSecondLocation:l,backgroundGradientType:o,backgroundGradientAngle:r,backgroundGradientPosition:i})},onChangeValue:function(e){var t={firstColor:"backgroundGradientFirstColor",firstLocation:"backgroundGradientFirstLocation",secondColor:"backgroundGradientSecondColor",secondLocation:"backgroundGradientSecondLocation",type:"backgroundGradientType",angle:"backgroundGradientAngle",position:"backgroundGradientPosition"};for(var a in e)n(T({},t[a],e[a]))}})),wp.element.createElement(N,{title:C("Border"),className:"wp-block-themeisle-border-container",initialOpen:!1},wp.element.createElement(y.a,{label:C("Border Width"),type:t.borderType,min:0,max:500,changeType:function(e){n({borderType:e})},onChange:function(e,a){"linked"===t.borderType?n({border:a}):n(T({},J[e],a))},options:[{label:C("Top"),type:"top",value:Y("top")},{label:C("Right"),type:"right",value:Y("right")},{label:C("Bottom"),type:"bottom",value:Y("bottom")},{label:C("Left"),type:"left",value:Y("left")}]}),wp.element.createElement(f.a,{label:C("Border Color"),colorValue:t.borderColor},wp.element.createElement(M,{label:"Border Color",value:t.borderColor,onChange:function(e){n({borderColor:e})}})),wp.element.createElement(y.a,{label:C("Border Radius"),type:t.borderRadiusType,min:0,max:500,changeType:function(e){n({borderRadiusType:e})},onChange:function(e,a){"linked"===t.borderRadiusType?n({borderRadius:a}):n(T({},X[e],a))},options:[{label:C("Top"),type:"top",value:ee("top")},{label:C("Right"),type:"right",value:ee("right")},{label:C("Bottom"),type:"bottom",value:ee("bottom")},{label:C("Left"),type:"left",value:ee("left")}]}),wp.element.createElement(P,{label:"Box Shadow",checked:t.boxShadow,onChange:function(){n({boxShadow:!t.boxShadow})}}),t.boxShadow&&wp.element.createElement(j,null,wp.element.createElement(f.a,{label:C("Shadow Color"),colorValue:t.boxShadowColor},wp.element.createElement(M,{label:"Shadow Color",value:t.boxShadowColor,onChange:function(e){n({boxShadowColor:e})}})),wp.element.createElement(k.a,{label:"Shadow Properties"},wp.element.createElement(z,{label:C("Opacity"),value:t.boxShadowColorOpacity,onChange:function(e){n({boxShadowColorOpacity:e})},min:0,max:100}),wp.element.createElement(z,{label:C("Blur"),value:t.boxShadowBlur,onChange:function(e){n({boxShadowBlur:e})},min:0,max:100}),wp.element.createElement(z,{label:C("Spread"),value:t.boxShadowSpread,onChange:function(e){n({boxShadowSpread:e})},min:-100,max:100}),wp.element.createElement(z,{label:C("Horizontal"),value:t.boxShadowHorizontal,onChange:function(e){n({boxShadowHorizontal:e})},min:-100,max:100}),wp.element.createElement(z,{label:C("Vertical"),value:t.boxShadowVertical,onChange:function(e){n({boxShadowVertical:e})},min:-100,max:100})))))||"advanced"===u&&wp.element.createElement(N,{title:C("Section Settings")},wp.element.createElement(H,{label:C("HTML Tag"),value:t.columnsHTMLTag,options:[{label:"Default (div)",value:"div"},{label:"section",value:"section"},{label:"header",value:"header"},{label:"footer",value:"footer"},{label:"article",value:"article"},{label:"main",value:"main"}],onChange:function(e){n({columnsHTMLTag:e})}})))};function W(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||U(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function q(e){return function(e){if(Array.isArray(e))return Z(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||U(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function U(e,t){if(e){if("string"==typeof e)return Z(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Z(e,t):void 0}}function Z(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}function $(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Q(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?$(Object(n),!0).forEach((function(t){K(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function K(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var J=lodash.isEqual,Y=wp.components.ResizableBox,X=wp.compose.useViewportMatch,ee=wp.data,te=ee.useDispatch,ne=ee.useSelect,ae=wp.blockEditor.InnerBlocks,le=wp.element,oe=le.Fragment,re=le.useEffect,ie=le.useState,ce=[],de=function(e){var t=e.attributes,n=e.setAttributes,a=e.className,o=e.isSelected,i=e.clientId,c=e.name,d=e.toggleSelection,p=te("core/block-editor").updateBlockAttributes,u=ne((function(e){var t=e("core/block-editor"),n=t.getAdjacentBlockClientId,a=t.getBlock,l=t.getBlockRootClientId,o=e("core/edit-post").__experimentalGetPreviewDeviceType,r=a(i),c=n(i),d=a(c),p=l(i);return{adjacentBlockClientId:c,adjacentBlock:d,parentClientId:p,parentBlock:a(p),hasInnerBlocks:!(!r||!r.innerBlocks.length),isViewportAvailable:!!o,isPreviewDesktop:!!o&&"Desktop"===o(),isPreviewTablet:!!o&&"Tablet"===o(),isPreviewMobile:!!o&&"Mobile"===o()}}),[]),b=u.adjacentBlockClientId,g=u.adjacentBlock,f=u.parentClientId,y=u.parentBlock,h=u.hasInnerBlocks,w=u.isViewportAvailable,v=u.isPreviewDesktop,k=u.isPreviewTablet,T=u.isPreviewMobile,E=X("large",">="),x=X("large","<="),C=X("small",">="),S=X("small","<=");re((function(){M()}),[]);var M=function(){var e=window.themeisleGutenberg.blockIDs?window.themeisleGutenberg.blockIDs:[];if(void 0===t.id){var a,o="wp-block-themeisle-blocks-advanced-column-".concat(i.substr(0,8));void 0!==(window.themeisleGutenberg.globalDefaults?window.themeisleGutenberg.globalDefaults:void 0)&&(J(m.a[c],window.themeisleGutenberg.globalDefaults[c])||(a=Q({},window.themeisleGutenberg.globalDefaults[c]),Object.keys(a).map((function(e){if(t[e]!==a[e]&&void 0!==l[e].default&&t[e]!==l[e].default)return delete a[e]})))),n(Q(Q({},a),{},{id:o})),ce.push(o),e.push(o)}else if(ce.includes(t.id)){var r="wp-block-themeisle-blocks-advanced-column-".concat(i.substr(0,8));n({id:r}),ce.push(r)}else ce.push(t.id),e.push(t.id);window.themeisleGutenberg.blockIDs=q(e)},B=W(ie(0),2),O=B[0],R=B[1],L=W(ie(0),2),A=L[0],N=L[1],P=E&&!x&&C&&!S,z=!E&&!x&&C&&!S,H=!(E||x||C||S);w&&!H&&(P=v,z=k,H=T),void 0===t.columnWidth&&y.innerBlocks.map((function(e,t){if(i===e.clientId){var n=y.attributes.columns,a=y.attributes.layout;p(i,{columnWidth:s.a[n][a][t]})}}));var _=document.getElementById("block-".concat(i));null!==_&&(_.style.flexBasis=P?"".concat(t.columnWidth,"%"):"");var I,j,D,G,V,U,Z=t.columnsHTMLTag;(P&&(I={paddingTop:"linked"===t.paddingType?"".concat(t.padding,"px"):"".concat(t.paddingTop,"px"),paddingRight:"linked"===t.paddingType?"".concat(t.padding,"px"):"".concat(t.paddingRight,"px"),paddingBottom:"linked"===t.paddingType?"".concat(t.padding,"px"):"".concat(t.paddingBottom,"px"),paddingLeft:"linked"===t.paddingType?"".concat(t.padding,"px"):"".concat(t.paddingLeft,"px"),marginTop:"linked"===t.marginType?"".concat(t.margin,"px"):"".concat(t.marginTop,"px"),marginRight:"linked"===t.marginType?"".concat(t.margin,"px"):"".concat(t.marginRight,"px"),marginBottom:"linked"===t.marginType?"".concat(t.margin,"px"):"".concat(t.marginBottom,"px"),marginLeft:"linked"===t.marginType?"".concat(t.margin,"px"):"".concat(t.marginLeft,"px")}),z&&(I={paddingTop:"linked"===t.paddingTypeTablet?"".concat(t.paddingTablet,"px"):"".concat(t.paddingTopTablet,"px"),paddingRight:"linked"===t.paddingTypeTablet?"".concat(t.paddingTablet,"px"):"".concat(t.paddingRightTablet,"px"),paddingBottom:"linked"===t.paddingTypeTablet?"".concat(t.paddingTablet,"px"):"".concat(t.paddingBottomTablet,"px"),paddingLeft:"linked"===t.paddingTypeTablet?"".concat(t.paddingTablet,"px"):"".concat(t.paddingLeftTablet,"px"),marginTop:"linked"===t.marginTypeTablet?"".concat(t.marginTablet,"px"):"".concat(t.marginTopTablet,"px"),marginRight:"linked"===t.marginTypeTablet?"".concat(t.marginTablet,"px"):"".concat(t.marginRightTablet,"px"),marginBottom:"linked"===t.marginTypeTablet?"".concat(t.marginTablet,"px"):"".concat(t.marginBottomTablet,"px"),marginLeft:"linked"===t.marginTypeTablet?"".concat(t.marginTablet,"px"):"".concat(t.marginLeftTablet,"px")}),H&&(I={paddingTop:"linked"===t.paddingTypeMobile?"".concat(t.paddingMobile,"px"):"".concat(t.paddingTopMobile,"px"),paddingRight:"linked"===t.paddingTypeMobile?"".concat(t.paddingMobile,"px"):"".concat(t.paddingRightMobile,"px"),paddingBottom:"linked"===t.paddingTypeMobile?"".concat(t.paddingMobile,"px"):"".concat(t.paddingBottomMobile,"px"),paddingLeft:"linked"===t.paddingTypeMobile?"".concat(t.paddingMobile,"px"):"".concat(t.paddingLeftMobile,"px"),marginTop:"linked"===t.marginTypeMobile?"".concat(t.marginMobile,"px"):"".concat(t.marginTopMobile,"px"),marginRight:"linked"===t.marginTypeMobile?"".concat(t.marginMobile,"px"):"".concat(t.marginRightMobile,"px"),marginBottom:"linked"===t.marginTypeMobile?"".concat(t.marginMobile,"px"):"".concat(t.marginBottomMobile,"px"),marginLeft:"linked"===t.marginTypeMobile?"".concat(t.marginMobile,"px"):"".concat(t.marginLeftMobile,"px")}),"color"===t.backgroundType&&(j={background:t.backgroundColor}),"image"===t.backgroundType&&(j={backgroundImage:"url( '".concat(t.backgroundImageURL,"' )"),backgroundAttachment:t.backgroundAttachment,backgroundPosition:t.backgroundPosition,backgroundRepeat:t.backgroundRepeat,backgroundSize:t.backgroundSize}),"gradient"===t.backgroundType)&&(U="linear"===t.backgroundGradientType?"".concat(t.backgroundGradientAngle,"deg"):"at ".concat(t.backgroundGradientPosition),(t.backgroundGradientFirstColor||t.backgroundGradientSecondColor)&&(j={background:"".concat(t.backgroundGradientType,"-gradient( ").concat(U,", ").concat(t.backgroundGradientFirstColor||"rgba( 0, 0, 0, 0 )"," ").concat(t.backgroundGradientFirstLocation,"%, ").concat(t.backgroundGradientSecondColor||"rgba( 0, 0, 0, 0 )"," ").concat(t.backgroundGradientSecondLocation,"% )")}));"linked"===t.borderType&&(D={borderWidth:"".concat(t.border,"px"),borderStyle:"solid",borderColor:t.borderColor}),"unlinked"===t.borderType&&(D={borderTopWidth:"".concat(t.borderTop,"px"),borderRightWidth:"".concat(t.borderRight,"px"),borderBottomWidth:"".concat(t.borderBottom,"px"),borderLeftWidth:"".concat(t.borderLeft,"px"),borderStyle:"solid",borderColor:t.borderColor}),"linked"===t.borderRadiusType&&(G={borderRadius:"".concat(t.borderRadius,"px")}),"unlinked"===t.borderRadiusType&&(G={borderTopLeftRadius:"".concat(t.borderRadiusTop,"px"),borderTopRightRadius:"".concat(t.borderRadiusRight,"px"),borderBottomRightRadius:"".concat(t.borderRadiusBottom,"px"),borderBottomLeftRadius:"".concat(t.borderRadiusLeft,"px")}),!0===t.boxShadow&&(V={boxShadow:"".concat(t.boxShadowHorizontal,"px ").concat(t.boxShadowVertical,"px ").concat(t.boxShadowBlur,"px ").concat(t.boxShadowSpread,"px ").concat(r()(t.boxShadowColor?t.boxShadowColor:"#000000",t.boxShadowColorOpacity))});var $=Q(Q(Q(Q(Q({},I),j),D),G),V);return wp.element.createElement(oe,null,wp.element.createElement(F,{attributes:t,setAttributes:n,isSelected:o,clientId:i,adjacentBlock:g,parentBlock:y,updateBlockAttributes:p,adjacentBlockClientId:b}),wp.element.createElement(Y,{className:"block-library-spacer__resize-container wp-themeisle-block-advanced-column-resize-container",enable:{right:!!b},handleWrapperClass:"wp-themeisle-block-advanced-column-resize-container-handle",onResizeStart:function(){var e=document.querySelector("#block-".concat(i," .wp-themeisle-block-advanced-column-resize-container-handle .components-resizable-box__handle")),n=document.createElement("div"),a=document.createElement("div");n.setAttribute("class","resizable-tooltip resizable-tooltip-left"),n.innerHTML="".concat(parseFloat(t.columnWidth).toFixed(0),"%"),e.appendChild(n),a.setAttribute("class","resizable-tooltip resizable-tooltip-right"),a.innerHTML="".concat(parseFloat(g.attributes.columnWidth).toFixed(0),"%"),e.appendChild(a),R(t.columnWidth),N(g.attributes.columnWidth),d(!1)},onResize:function(e,t,a,l){var o=document.getElementById("block-".concat(f)).getBoundingClientRect().width,r=l.width/o*100,i=parseFloat(O)+r,c=A-r,d=document.querySelector(".resizable-tooltip-left"),u=document.querySelector(".resizable-tooltip-right");10<=i&&10<=c&&(d.innerHTML="".concat(i.toFixed(0),"%"),u.innerHTML="".concat(c.toFixed(0),"%"),n({columnWidth:i.toFixed(2)}),p(b,{columnWidth:c.toFixed(2)}))},onResizeStop:function(){var e=document.querySelector(".resizable-tooltip-left"),t=document.querySelector(".resizable-tooltip-right");e.parentNode.removeChild(e),t.parentNode.removeChild(t),d(!0)}},wp.element.createElement(Z,{className:a,id:t.id,style:$},wp.element.createElement(ae,{templateLock:!1,renderAppender:!h&&ae.ButtonBlockAppender}))))},pe=wp.blockEditor.InnerBlocks,ue=function(e){var t=e.attributes,n=e.className,a=t.columnsHTMLTag;return wp.element.createElement(a,{className:n,id:t.id},wp.element.createElement(pe.Content,null))},me=wp.i18n.__;(0,wp.blocks.registerBlockType)("themeisle-blocks/advanced-column",{title:me("Section Column"),description:me("A single column within a Section block."),parent:["themeisle-blocks/advanced-columns"],icon:a.f,category:"themeisle-blocks",attributes:l,deprecated:u,supports:{inserter:!1,reusable:!1,html:!1},edit:de,save:ue})},function(e,t,n){"use strict";n.r(t);var a=n(3),l=wp.i18n.__,o=wp.blockEditor.InnerBlocks,r=[["themeisle-blocks/advanced-heading",{content:l("Basic"),align:"center",tag:"h3",fontSize:24}],["themeisle-blocks/advanced-heading",{content:l("$9.99"),align:"center",tag:"h4",fontSize:36,fontFamily:"Roboto Slab",fontVariant:"normal"}],["themeisle-blocks/advanced-heading",{content:l("Per Month"),align:"center",tag:"p",fontSize:12,marginBottom:0}],["themeisle-blocks/advanced-heading",{content:l("First Feature"),align:"center",tag:"p",fontSize:12,marginBottom:0}],["themeisle-blocks/advanced-heading",{content:l("Second Feature"),align:"center",tag:"p",fontSize:12,marginBottom:0}],["themeisle-blocks/advanced-heading",{content:l("Last Feature"),align:"center",tag:"p",fontSize:12,marginBottom:0}],["themeisle-blocks/button-group",{align:"center",buttons:1,data:[{text:l("Buy Now"),newTab:!1,color:"#ffffff",background:"#32373c",hoverColor:"#ffffff",hoverBackground:"#444a50",borderSize:0,borderRadius:3,boxShadow:!1,boxShadowColorOpacity:50,boxShadowBlur:5,boxShadowSpread:1,boxShadowHorizontal:0,boxShadowVertical:0,hoverBoxShadowColorOpacity:50,hoverBoxShadowBlur:5,hoverBoxShadowSpread:1,hoverBoxShadowHorizontal:0,hoverBoxShadowVertical:0,iconType:"none",paddingTopBottom:12,paddingLeftRight:24}]}]],i=function(e){var t=e.className;return wp.element.createElement("div",{className:t},wp.element.createElement(o,{template:r}))},c=wp.blockEditor.InnerBlocks,d=function(e){var t=e.className;return wp.element.createElement("div",{className:t},wp.element.createElement(c.Content,null))},p=wp.i18n.__;(0,wp.blocks.registerBlockType)("themeisle-blocks/pricing",{title:p("Pricing"),description:p("Pricing tables are a critical part in showcasing your services, prices and overall offerings."),icon:a.p,category:"themeisle-blocks",keywords:["pricing","table","money"],edit:i,save:d})},function(e,t,n){"use strict";n.r(t);var a=n(3),l=wp.i18n.__,o=wp.blockEditor.InnerBlocks,r=[["themeisle-blocks/font-awesome-icons",{fontSize:62,prefix:"fab",icon:"angellist"}],["themeisle-blocks/advanced-heading",{content:l("Basic"),align:"center",tag:"h4",marginBottom:20}],["themeisle-blocks/advanced-heading",{content:l("Lorem ipsum dolor sit amet elit do, consectetur adipiscing, sed eiusmod tempor incididunt ut labore et dolore magna aliqua."),align:"center",color:"#999999",tag:"p",fontSize:14,marginBottom:20}],["themeisle-blocks/button-group",{align:"center",buttons:1,data:[{text:l("Know More"),newTab:!1,color:"#ffffff",background:"#32373c",hoverColor:"#ffffff",hoverBackground:"#444a50",borderSize:0,borderRadius:3,boxShadow:!1,boxShadowColorOpacity:50,boxShadowBlur:5,boxShadowSpread:1,boxShadowHorizontal:0,boxShadowVertical:0,hoverBoxShadowColorOpacity:50,hoverBoxShadowBlur:5,hoverBoxShadowSpread:1,hoverBoxShadowHorizontal:0,hoverBoxShadowVertical:0,iconType:"none",paddingTopBottom:12,paddingLeftRight:24}]}]],i=function(e){var t=e.className;return wp.element.createElement("div",{className:t},wp.element.createElement(o,{template:r}))},c=wp.blockEditor.InnerBlocks,d=function(e){var t=e.className;return wp.element.createElement("div",{className:t},wp.element.createElement(c.Content,null))},p=wp.i18n.__;(0,wp.blocks.registerBlockType)("themeisle-blocks/service",{title:p("Service"),description:p("Use this Service block to showcase services your website offers."),icon:a.q,category:"themeisle-blocks",keywords:["services","icon","features"],edit:i,save:d})},function(e,t,n){"use strict";n.r(t);var a=n(3),l=wp.i18n.__,o=wp.blockEditor.InnerBlocks,r=[["core/image",{align:"center"}],["themeisle-blocks/advanced-heading",{content:l("John Doe"),align:"center",fontSize:24,tag:"h3",marginTop:25,marginBottom:10,marginTopTablet:25,marginTopMobile:25}],["themeisle-blocks/advanced-heading",{content:l("Jedi Master"),align:"center",fontSize:14,tag:"h4",marginTop:10,marginBottom:10}],["themeisle-blocks/advanced-heading",{content:l('"What is the point of being alive if you don’t at least try to do something remarkable?"'),align:"center",color:"#999999",tag:"p",fontSize:14,marginTop:10,marginBottom:20}]],i=function(e){var t=e.className;return wp.element.createElement("div",{className:t},wp.element.createElement(o,{template:r}))},c=wp.blockEditor.InnerBlocks,d=function(e){var t=e.className;return wp.element.createElement("div",{className:t},wp.element.createElement(c.Content,null))},p=wp.i18n.__;(0,wp.blocks.registerBlockType)("themeisle-blocks/testimonials",{title:p("Testimonials"),description:p("Display kudos from customers and clients and display them on your website."),icon:a.s,category:"themeisle-blocks",keywords:["testimonials","quotes","business"],edit:i,save:d})},,function(e,t,n){n(37),n(93),n(100),n(95),n(94),n(96),n(91),n(99),n(27),n(97),n(31),n(30),n(15),n(25),n(26),n(14),n(80),n(98),n(92),n(87),n(32),n(33),e.exports=n(34)},function(e,t,n){n.p=window.themeisleGutenberg.packagePath},,,,,,,function(e,t){function n(e,t,n,a,l,o,r){try{var i=e[o](r),c=i.value}catch(e){return void n(e)}i.done?t(c):Promise.resolve(c).then(a,l)}function a(e){return function(){var t=this,a=arguments;return new Promise((function(l,o){var r=e.apply(t,a);function i(e){n(r,l,o,i,c,"next",e)}function c(e){n(r,l,o,i,c,"throw",e)}i(void 0)}))}}var l=lodash.debounce,o=wp.apiFetch,r=wp.data,i=r.select,c=r.subscribe,d=l(a(regeneratorRuntime.mark((function e(){var t,n,a;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=i("core/editor"),n=t.getCurrentPostId,a=n(),e.next=4,o({path:"themeisle-gutenberg-blocks/v1/save_post_meta/".concat(a),method:"POST"});case 4:case"end":return e.stop()}}),e)}))),1e3),p={};c((function(){var e=i("core/editor"),t=e.isCurrentPostPublished,n=e.isSavingPost,a=e.isPublishingPost,l=e.isAutosavingPost,r=e.__experimentalGetReusableBlocks,c=e.__experimentalIsSavingReusableBlock,u=l(),m=a(),s=n(),b=r(),g=t();b.map((function(e){if(e){var t=(n=e.id,c(n));t&&!e.isTemporary&&(p[e.id]={id:e.id,isSaving:!0}),t||e.isTemporary||!p[e.id]||e.id===p[e.id].id&&!t&&p[e.id].isSaving&&(p[e.id].isSaving=!1,o({path:"themeisle-gutenberg-blocks/v1/save_block_meta/".concat(e.id),method:"POST"}))}var n})),!(m||g&&s)||u||status||d()}))},function(e,t){var n=wp.data.registerStore,a={viewType:"Desktop"};n("themeisle-gutenberg/data",{reducer:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a,t=arguments.length>1?arguments[1]:void 0;return"UPDATE_VIEW"===t.type?{viewType:t.viewType}:e},selectors:{getView:function(e){return e.viewType}},actions:{updateView:function(e){return{type:"UPDATE_VIEW",viewType:e}}}})},,function(e,t,n){},,function(e,t,n){},function(e,t){var n=wp.i18n.__,a=wp.richText,l=a.registerFormatType,o=a.toggleFormat,r=wp.blockEditor,i=r.RichTextShortcut,c=r.RichTextToolbarButton,d=wp.element.Fragment,p="themeisle-blocks/mark";l(p,{name:p,title:n("Highlight"),tagName:"mark",className:null,edit:function(e){var t=e.isActive,a=e.value,l=e.onChange,r=function(){return l(o(a,{type:p}))};return wp.element.createElement(d,null,wp.element.createElement(i,{type:"primary",character:"m",onUse:r}),wp.element.createElement(c,{icon:"admin-customizer",title:n("Highlight"),onClick:r,isActive:t,shortcutType:"access",shortcutCharacter:"m"}))}})},,,,,,function(e,t,n){},,function(e,t,n){},,function(e,t,n){},,,,function(e,t,n){},function(e,t,n){},,,,,function(e,t,n){},,,,,,,,,,function(e,t,n){"use strict";n.r(t);n(81),n(82),n(30),n(31)},function(e,t,n){},,function(e,t,n){},,function(e,t,n){},,function(e,t,n){"use strict";n.r(t);n(32),n(33),n(34)},,,,function(e,t,n){"use strict";n.r(t);n(60),n(61);var a=n(3),l={id:{type:"string"},style:{type:"string",default:"standard"},location:{type:"string",default:"La Sagrada Familia, Barcelona, Spain"},latitude:{type:"string"},longitude:{type:"string"},type:{type:"string",default:"roadmap"},zoom:{type:"number",default:15},height:{type:"number",default:400},draggable:{type:"boolean",default:!0},mapTypeControl:{type:"boolean",default:!0},zoomControl:{type:"boolean",default:!0},fullscreenControl:{type:"boolean",default:!0},streetViewControl:{type:"boolean",default:!0},markers:{type:"array",default:[]}},o=n(0),r=n.n(o),i=n(104),c=wp.i18n.__,d=wp.components,p=d.Button,u=d.ExternalLink,m=d.Placeholder,s=d.Spinner,b=d.TextControl,g=function(e){var t=e.className,n=e.api,a=e.isAPILoaded,l=e.isAPISaved,o=e.isSaving,r=e.changeAPI,i=e.saveAPIKey;return a?l?void 0:wp.element.createElement(m,{icon:"admin-site",label:c("Google Maps"),instructions:c("A Google Maps API key is required, please enter one below."),className:t},wp.element.createElement("div",{className:"components-placeholder__actions"},wp.element.createElement(b,{type:"text",placeholder:c("Google Maps API Key"),value:n,className:"components-placeholder__input",onChange:r}),wp.element.createElement(p,{isLarge:!0,isSecondary:!0,type:"submit",onClick:i,isBusy:o,disabled:""===n},c("Save"))),wp.element.createElement("div",{className:"components-placeholder__learn-more"},c("You need to activate Maps and Places API.")," ",wp.element.createElement(u,{href:"https://developers.google.com/maps/documentation/javascript/get-api-key"},c("Need an API key? Get one here.")))):wp.element.createElement(m,{className:"wp-themeisle-block-spinner"},wp.element.createElement(s,null),c("Loading…"))},f=n(12);function y(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?y(Object(n),!0).forEach((function(t){w(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):y(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function w(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var v=wp.i18n.__,k=wp.components.BaseControl,T=wp.compose.useInstanceId,E=wp.element,x=E.useEffect,C=E.useRef,S=function e(t){var n=t.value,a=t.onChange,l=T(e);x((function(){wp.oldEditor.initialize(r.current.id,{tinymce:h({},{classic_block_editor:!0,plugins:"lists,media,paste,tabfocus,wordpress,wpautoresize,wpeditimage,wpgallery,wplink,wpdialogs,wptextpattern,wpview",toolbar1:"formatselect,bold,italic,bullist,numlist,alignleft,aligncenter,alignright,link,unlink,spellchecker,wp_add_media"})});var e=window.tinymce.get(r.current.id);return e.on("change",(function(){return a(e.getContent())})),function(){return wp.oldEditor.remove(r.current.id)}}),[]);var o="inspector-textarea-control-".concat(l),r=C(null);return wp.element.createElement(k,{id:o,label:v("Description")},wp.element.createElement("textarea",{id:o,className:"components-textarea-control__input",rows:4,value:n,onChange:function(e){return a(e.target.value)},ref:r}))},M=wp.i18n.__,B=wp.components,O=B.BaseControl,R=B.Button,L=B.ExternalLink,A=B.SelectControl,N=B.TextControl,P=wp.element.useRef,z=function(e){var t=e.marker,n=e.isOpen,a=e.isPlaceAPIAvailable,l=e.openMarker,o=e.removeMarker,i=e.changeMarkerProp,c=P(null);return wp.element.createElement("div",{className:"wp-block-themeisle-blocks-google-map-marker"},wp.element.createElement("div",{className:"wp-block-themeisle-blocks-google-map-marker-title-area"},wp.element.createElement(R,{className:"wp-block-themeisle-blocks-google-map-marker-title",onClick:function(){return l(t.id)}},t.title||M("Custom Marker")),wp.element.createElement(R,{icon:"no-alt",label:M("Remove Marker"),showTooltip:!0,className:"wp-block-themeisle-blocks-google-map-marker-remove",onClick:function(){return o(t.id)}})),wp.element.createElement("div",{className:r()("wp-block-themeisle-blocks-google-map-marker-control-area",{opened:t.id===n})},wp.element.createElement(O,{label:M("Location"),id:"themeisle-location-search-".concat(t.id)},wp.element.createElement("input",{type:"text",id:"themeisle-location-search-".concat(t.id),placeholder:M("Enter a location…"),value:t.location,className:"wp-block-themeisle-blocks-google-map-search",ref:c,onFocus:function(){var e=document.getElementsByClassName("pac-container");Object.keys(e).forEach((function(t){return e[t].remove()}));var n=new google.maps.places.SearchBox(c.current);n.addListener("places_changed",(function(){var e=n.getPlaces();e&&0<e.length&&e.forEach((function(e){var n=e.formatted_address||e.name,a=e.geometry.location.lat(),l=e.geometry.location.lng();i(t.id,"location",n),i(t.id,"latitude",a),i(t.id,"longitude",l)}))}))},onChange:function(e){return i(t.id,"location",e.target.value)},disabled:!a}),!a&&wp.element.createElement("p",null,M("To enable locations earch, please ensure Places API is activated in the Google Developers Console.")+" ",wp.element.createElement(L,{href:"https://developers.google.com/places/web-service/intro"},M("More info.")))),wp.element.createElement(N,{label:M("Latitude"),type:"text",value:t.latitude,onChange:function(e){return i(t.id,"latitude",e)}}),wp.element.createElement(N,{label:M("Longitude"),type:"text",value:t.longitude,onChange:function(e){return i(t.id,"longitude",e)}}),wp.element.createElement(A,{label:M("Map Icon"),value:t.icon||"https://maps.google.com/mapfiles/ms/icons/red-dot.png",options:[{label:M("Red"),value:"https://maps.google.com/mapfiles/ms/icons/red-dot.png"},{label:M("Blue"),value:"https://maps.google.com/mapfiles/ms/icons/blue-dot.png"},{label:M("Yellow"),value:"https://maps.google.com/mapfiles/ms/icons/yellow-dot.png"},{label:M("Green"),value:"https://maps.google.com/mapfiles/ms/icons/green-dot.png"},{label:M("Orange"),value:"https://maps.google.com/mapfiles/ms/icons/orange-dot.png"}],onChange:function(e){return i(t.id,"icon",e)}}),wp.element.createElement(N,{label:M("Title"),type:"text",value:t.title,onChange:function(e){return i(t.id,"title",e)}}),wp.element.createElement(S,{label:M("Description"),type:"text",value:t.description,onChange:function(e){return i(t.id,"description",e)}})))};function H(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return _(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var I=wp.i18n.__,j=wp.components.Button,D=wp.element,G=D.Fragment,V=D.useEffect,F=D.useState,W=function(e){var t=e.initialOpen,n=e.markers,a=e.isPlaceAPIAvailable,l=e.addMarker,o=e.removeMarker,r=e.changeMarkerProp;V((function(){!1!==t&&d(t)}),[t]);var i=H(F(null),2),c=i[0],d=i[1],p=function(e){c===e&&(e=null),d(e)};return wp.element.createElement(G,null,wp.element.createElement("div",{className:"wp-block-themeisle-blocks-google-map-marker-group"},n.map((function(e){return wp.element.createElement(z,{marker:e,isOpen:c,isPlaceAPIAvailable:a,openMarker:p,removeMarker:o,changeMarkerProp:r})}))),wp.element.createElement(j,{isSecondary:!0,isLarge:!0,className:"wp-block-themeisle-blocks-google-map-marker-add",onClick:l},I("Add Marker")))},q=wp.i18n.__,U=wp.components,Z=U.BaseControl,$=U.Button,Q=U.ExternalLink,K=U.PanelBody,J=U.RangeControl,Y=U.SelectControl,X=U.TextControl,ee=U.ToggleControl,te=wp.blockEditor.InspectorControls,ne=wp.element.useRef,ae=function(e){var t=e.attributes,n=e.setAttributes,a=e.map,l=e.changeStyle,o=e.isPlaceAPIAvailable,r=e.isMarkerOpen,i=e.setMarkerOpen,c=e.removeMarker,d=e.changeMarkerProp,p=e.addMarkerManual,u=e.api,m=e.isSaving,s=e.changeAPI,b=e.saveAPIKey,g=ne(null);return wp.element.createElement(te,null,wp.element.createElement(K,{title:q("Styles"),initialOpen:!1},wp.element.createElement(f.b,{value:t.style,options:[{label:q("Standard"),value:"standard",image:themeisleGutenberg.assetsPath+"/icons/map-standard.png"},{label:q("Silver"),value:"silver",image:themeisleGutenberg.assetsPath+"/icons/map-silver.png"},{label:q("Retro"),value:"retro",image:themeisleGutenberg.assetsPath+"/icons/map-retro.png"},{label:q("Dark"),value:"dark",image:themeisleGutenberg.assetsPath+"/icons/map-dark.png"},{label:q("Night"),value:"night",image:themeisleGutenberg.assetsPath+"/icons/map-night.png"},{label:q("Aubergine"),value:"aubergine",image:themeisleGutenberg.assetsPath+"/icons/map-aubergine.png"}],onChange:l})),wp.element.createElement(K,{title:q("Location")},wp.element.createElement(Z,{label:q("Location"),id:"wp-block-themeisle-blocks-google-map-search"},wp.element.createElement("input",{type:"text",id:"wp-block-themeisle-blocks-google-map-search",placeholder:q("Enter a location…"),value:t.location,className:"wp-block-themeisle-blocks-google-map-search",ref:g,onFocus:function(){var e=document.getElementsByClassName("pac-container");Object.keys(e).forEach((function(t){return e[t].remove()}));var t=new google.maps.places.SearchBox(g.current);t.addListener("places_changed",(function(){var e=t.getPlaces();e&&0<e.length&&e.forEach((function(e){var t=e.geometry.location.lat(),l=e.geometry.location.lng(),o=new google.maps.LatLng(t,l);a.setCenter(o),n({location:e.formatted_address||e.name,latitude:t.toString(),longitude:l.toString()})}))}))},onChange:function(e){n({location:e.target.value})},disabled:!o}),!o&&wp.element.createElement("p",null,q("To enable locations earch, please ensure Places API is activated in the Google Developers Console.")+" ",wp.element.createElement(Q,{href:"https://developers.google.com/places/web-service/intro"},q("More info.")))),wp.element.createElement(X,{label:q("Latitude"),type:"text",placeholder:q("Enter latitude…"),value:t.latitude,onChange:function(e){n({latitude:e.toString()});var l=Number(e),o=t.longitude,r=new google.maps.LatLng(l,o);a.setCenter(r)}}),wp.element.createElement(X,{label:q("Longitude"),type:"text",placeholder:q("Enter longitude"),value:t.longitude,onChange:function(e){n({longitude:e.toString()});var l=t.latitude,o=Number(e),r=new google.maps.LatLng(l,o);a.setCenter(r)}})),wp.element.createElement(K,{title:q("Positioning & Zooming"),initialOpen:!1},wp.element.createElement(Y,{label:q("Map Type"),value:t.type,options:[{label:q("Road Map"),value:"roadmap"},{label:q("Satellite View"),value:"satellite"},{label:q("Hybrid"),value:"hybrid"},{label:q("Terrain"),value:"terrain"}],onChange:function(e){n({type:e}),a.setMapTypeId(google.maps.MapTypeId[e.toUpperCase()])}}),wp.element.createElement(J,{label:q("Map Zoom Level"),value:t.zoom,onChange:function(e){n({zoom:e}),a.setZoom(e)},min:0,max:20}),wp.element.createElement(J,{label:q("Map Height"),value:t.height,onChange:function(e){n({height:e})},min:100,max:1400})),wp.element.createElement(K,{title:q("Controls"),initialOpen:!1},wp.element.createElement(Z,null,q("The following changes will not affect block preview during the editing process. You can click outside the block to see the changes take effect.")),wp.element.createElement(ee,{label:"Draggable Map",checked:t.draggable,onChange:function(){n({draggable:!t.draggable})}}),wp.element.createElement(ee,{label:"Map Type Control",checked:t.mapTypeControl,onChange:function(){n({mapTypeControl:!t.mapTypeControl})}}),wp.element.createElement(ee,{label:"Zoom Control",checked:t.zoomControl,onChange:function(){n({zoomControl:!t.zoomControl})}}),wp.element.createElement(ee,{label:"Full Screen Control",checked:t.fullscreenControl,onChange:function(){n({fullscreenControl:!t.fullscreenControl})}}),wp.element.createElement(ee,{label:"Streen View Control",checked:t.streetViewControl,onChange:function(){n({streetViewControl:!t.streetViewControl})}})),wp.element.createElement(K,{title:q("Markers"),initialOpen:!1,opened:!1!==r||void 0,onToggle:function(){!1!==r&&i(!0)}},wp.element.createElement(W,{markers:t.markers,removeMarker:c,changeMarkerProp:d,addMarker:p,isPlaceAPIAvailable:o,initialOpen:r})),wp.element.createElement(K,{title:q("Global Settings"),initialOpen:!1},wp.element.createElement(X,{label:q("Google Maps API Key"),type:"text",placeholder:q("Google Maps API Key"),value:u,className:"components-placeholder__input",onChange:s,help:q("Changing the API key effects all Google Map Embed blocks. You will have to refresh the page after changing your API keys.")}),wp.element.createElement($,{isLarge:!0,isSecondary:!0,type:"submit",onClick:b,isBusy:m},q("Save API Key"))))};function le(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return oe(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return oe(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function oe(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var re=wp.i18n.__,ie=wp.components,ce=ie.BaseControl,de=ie.Button,pe=ie.ButtonGroup,ue=ie.Modal,me=ie.SelectControl,se=ie.TextControl,be=wp.element,ge=be.useEffect,fe=be.useRef,ye=be.useState,he=be.Fragment,we=function(e){var t=e.marker,n=e.isAdvanced,a=e.isPlaceAPIAvailable,l=e.addMarker,o=e.close;ge((function(){d(t.id),m(t.location),g(t.title),h(t.icon),k(t.description),x(t.latitude),B(t.longitude)}),[t]);var r=fe(null),i=le(ye(t.id),2),c=i[0],d=i[1],p=le(ye(t.location),2),u=p[0],m=p[1],s=le(ye(t.title),2),b=s[0],g=s[1],f=le(ye(t.icon),2),y=f[0],h=f[1],w=le(ye(t.description),2),v=w[0],k=w[1],T=le(ye(t.latitude),2),E=T[0],x=T[1],C=le(ye(t.longitude),2),M=C[0],B=C[1];return wp.element.createElement(ue,{title:re("Add Marker"),onRequestClose:o,shouldCloseOnClickOutside:!1},n&&wp.element.createElement(he,null,wp.element.createElement(ce,{label:re("Location"),id:"themeisle-location-search-".concat(t.id)},wp.element.createElement("input",{type:"text",id:"themeisle-location-search-".concat(c),placeholder:re("Enter a location…"),value:u,className:"wp-block-themeisle-blocks-google-map-search",ref:r,onFocus:function(){var e=document.getElementsByClassName("pac-container");Object.keys(e).forEach((function(t){return e[t].remove()}));var t=new google.maps.places.SearchBox(r.current);t.addListener("places_changed",(function(){var e=t.getPlaces();e&&0<e.length&&e.forEach((function(e){var t=e.formatted_address||e.name,n=e.geometry.location.lat(),a=e.geometry.location.lng();m(t),x(n),B(a)}))}))},onChange:function(e){return m(e.target.value)},disabled:!a})),wp.element.createElement(se,{label:re("Latitude"),type:"text",value:E,onChange:x}),wp.element.createElement(se,{label:re("Longitude"),type:"text",value:M,onChange:B})),wp.element.createElement(se,{label:re("Title"),type:"text",value:b,onChange:g}),wp.element.createElement(S,{label:re("Description"),type:"text",value:v,onChange:k}),wp.element.createElement(me,{label:re("Map Icon"),value:y||"https://maps.google.com/mapfiles/ms/icons/red-dot.png",options:[{label:re("Red"),value:"https://maps.google.com/mapfiles/ms/icons/red-dot.png"},{label:re("Blue"),value:"https://maps.google.com/mapfiles/ms/icons/blue-dot.png"},{label:re("Yellow"),value:"https://maps.google.com/mapfiles/ms/icons/yellow-dot.png"},{label:re("Green"),value:"https://maps.google.com/mapfiles/ms/icons/green-dot.png"},{label:re("Orange"),value:"https://maps.google.com/mapfiles/ms/icons/orange-dot.png"}],onChange:h}),wp.element.createElement(pe,null,wp.element.createElement(de,{isLarge:!0,isPrimary:!0,onClick:function(){return l(u,b,y,v,E,M)}},re("Add")),wp.element.createElement(de,{isLarge:!0,isSecondary:!0,onClick:o},re("Cancel"))))},ve=wp.i18n.__,ke=wp.components.Button,Te=wp.element,Ee=Te.Fragment,xe=Te.useEffect,Ce=function(e){var t=e.attributes,n=e.className,a=e.initMap,l=e.displayMap,o=e.isMapLoaded,i=e.selectMarker,c=e.isSelectingMarker;return xe((function(){l&&a()}),[l]),wp.element.createElement(Ee,null,wp.element.createElement("div",{id:t.id,className:r()(n,{"is-selecting-marker":c}),style:{height:t.height+"px"}}),o&&wp.element.createElement(ke,{className:"wp-block-themeisle-blocks-google-map-marker-button",title:ve("Add Button"),onClick:i},wp.element.createElement("span",{className:"dashicons dashicons-sticky"})))},Se={standard:[],silver:[{elementType:"geometry",stylers:[{color:"#f5f5f5"}]},{elementType:"labels.icon",stylers:[{visibility:"off"}]},{elementType:"labels.text.fill",stylers:[{color:"#616161"}]},{elementType:"labels.text.stroke",stylers:[{color:"#f5f5f5"}]},{featureType:"administrative.land_parcel",elementType:"labels.text.fill",stylers:[{color:"#bdbdbd"}]},{featureType:"poi",elementType:"geometry",stylers:[{color:"#eeeeee"}]},{featureType:"poi",elementType:"labels.text.fill",stylers:[{color:"#757575"}]},{featureType:"poi.park",elementType:"geometry",stylers:[{color:"#e5e5e5"}]},{featureType:"poi.park",elementType:"labels.text.fill",stylers:[{color:"#9e9e9e"}]},{featureType:"road",elementType:"geometry",stylers:[{color:"#ffffff"}]},{featureType:"road.arterial",elementType:"labels.text.fill",stylers:[{color:"#757575"}]},{featureType:"road.highway",elementType:"geometry",stylers:[{color:"#dadada"}]},{featureType:"road.highway",elementType:"labels.text.fill",stylers:[{color:"#616161"}]},{featureType:"road.local",elementType:"labels.text.fill",stylers:[{color:"#9e9e9e"}]},{featureType:"transit.line",elementType:"geometry",stylers:[{color:"#e5e5e5"}]},{featureType:"transit.station",elementType:"geometry",stylers:[{color:"#eeeeee"}]},{featureType:"water",elementType:"geometry",stylers:[{color:"#c9c9c9"}]},{featureType:"water",elementType:"labels.text.fill",stylers:[{color:"#9e9e9e"}]}],retro:[{elementType:"geometry",stylers:[{color:"#ebe3cd"}]},{elementType:"labels.text.fill",stylers:[{color:"#523735"}]},{elementType:"labels.text.stroke",stylers:[{color:"#f5f1e6"}]},{featureType:"administrative",elementType:"geometry.stroke",stylers:[{color:"#c9b2a6"}]},{featureType:"administrative.land_parcel",elementType:"geometry.stroke",stylers:[{color:"#dcd2be"}]},{featureType:"administrative.land_parcel",elementType:"labels.text.fill",stylers:[{color:"#ae9e90"}]},{featureType:"landscape.natural",elementType:"geometry",stylers:[{color:"#dfd2ae"}]},{featureType:"poi",elementType:"geometry",stylers:[{color:"#dfd2ae"}]},{featureType:"poi",elementType:"labels.text.fill",stylers:[{color:"#93817c"}]},{featureType:"poi.park",elementType:"geometry.fill",stylers:[{color:"#a5b076"}]},{featureType:"poi.park",elementType:"labels.text.fill",stylers:[{color:"#447530"}]},{featureType:"road",elementType:"geometry",stylers:[{color:"#f5f1e6"}]},{featureType:"road.arterial",elementType:"geometry",stylers:[{color:"#fdfcf8"}]},{featureType:"road.highway",elementType:"geometry",stylers:[{color:"#f8c967"}]},{featureType:"road.highway",elementType:"geometry.stroke",stylers:[{color:"#e9bc62"}]},{featureType:"road.highway.controlled_access",elementType:"geometry",stylers:[{color:"#e98d58"}]},{featureType:"road.highway.controlled_access",elementType:"geometry.stroke",stylers:[{color:"#db8555"}]},{featureType:"road.local",elementType:"labels.text.fill",stylers:[{color:"#806b63"}]},{featureType:"transit.line",elementType:"geometry",stylers:[{color:"#dfd2ae"}]},{featureType:"transit.line",elementType:"labels.text.fill",stylers:[{color:"#8f7d77"}]},{featureType:"transit.line",elementType:"labels.text.stroke",stylers:[{color:"#ebe3cd"}]},{featureType:"transit.station",elementType:"geometry",stylers:[{color:"#dfd2ae"}]},{featureType:"water",elementType:"geometry.fill",stylers:[{color:"#b9d3c2"}]},{featureType:"water",elementType:"labels.text.fill",stylers:[{color:"#92998d"}]}],dark:[{elementType:"geometry",stylers:[{color:"#212121"}]},{elementType:"labels.icon",stylers:[{visibility:"off"}]},{elementType:"labels.text.fill",stylers:[{color:"#757575"}]},{elementType:"labels.text.stroke",stylers:[{color:"#212121"}]},{featureType:"administrative",elementType:"geometry",stylers:[{color:"#757575"}]},{featureType:"administrative.country",elementType:"labels.text.fill",stylers:[{color:"#9e9e9e"}]},{featureType:"administrative.land_parcel",stylers:[{visibility:"off"}]},{featureType:"administrative.locality",elementType:"labels.text.fill",stylers:[{color:"#bdbdbd"}]},{featureType:"poi",elementType:"labels.text.fill",stylers:[{color:"#757575"}]},{featureType:"poi.park",elementType:"geometry",stylers:[{color:"#181818"}]},{featureType:"poi.park",elementType:"labels.text.fill",stylers:[{color:"#616161"}]},{featureType:"poi.park",elementType:"labels.text.stroke",stylers:[{color:"#1b1b1b"}]},{featureType:"road",elementType:"geometry.fill",stylers:[{color:"#2c2c2c"}]},{featureType:"road",elementType:"labels.text.fill",stylers:[{color:"#8a8a8a"}]},{featureType:"road.arterial",elementType:"geometry",stylers:[{color:"#373737"}]},{featureType:"road.highway",elementType:"geometry",stylers:[{color:"#3c3c3c"}]},{featureType:"road.highway.controlled_access",elementType:"geometry",stylers:[{color:"#4e4e4e"}]},{featureType:"road.local",elementType:"labels.text.fill",stylers:[{color:"#616161"}]},{featureType:"transit",elementType:"labels.text.fill",stylers:[{color:"#757575"}]},{featureType:"water",elementType:"geometry",stylers:[{color:"#000000"}]},{featureType:"water",elementType:"labels.text.fill",stylers:[{color:"#3d3d3d"}]}],night:[{elementType:"geometry",stylers:[{color:"#242f3e"}]},{elementType:"labels.text.fill",stylers:[{color:"#746855"}]},{elementType:"labels.text.stroke",stylers:[{color:"#242f3e"}]},{featureType:"administrative.locality",elementType:"labels.text.fill",stylers:[{color:"#d59563"}]},{featureType:"poi",elementType:"labels.text.fill",stylers:[{color:"#d59563"}]},{featureType:"poi.park",elementType:"geometry",stylers:[{color:"#263c3f"}]},{featureType:"poi.park",elementType:"labels.text.fill",stylers:[{color:"#6b9a76"}]},{featureType:"road",elementType:"geometry",stylers:[{color:"#38414e"}]},{featureType:"road",elementType:"geometry.stroke",stylers:[{color:"#212a37"}]},{featureType:"road",elementType:"labels.text.fill",stylers:[{color:"#9ca5b3"}]},{featureType:"road.highway",elementType:"geometry",stylers:[{color:"#746855"}]},{featureType:"road.highway",elementType:"geometry.stroke",stylers:[{color:"#1f2835"}]},{featureType:"road.highway",elementType:"labels.text.fill",stylers:[{color:"#f3d19c"}]},{featureType:"transit",elementType:"geometry",stylers:[{color:"#2f3948"}]},{featureType:"transit.station",elementType:"labels.text.fill",stylers:[{color:"#d59563"}]},{featureType:"water",elementType:"geometry",stylers:[{color:"#17263c"}]},{featureType:"water",elementType:"labels.text.fill",stylers:[{color:"#515c6d"}]},{featureType:"water",elementType:"labels.text.stroke",stylers:[{color:"#17263c"}]}],aubergine:[{elementType:"geometry",stylers:[{color:"#1d2c4d"}]},{elementType:"labels.text.fill",stylers:[{color:"#8ec3b9"}]},{elementType:"labels.text.stroke",stylers:[{color:"#1a3646"}]},{featureType:"administrative.country",elementType:"geometry.stroke",stylers:[{color:"#4b6878"}]},{featureType:"administrative.land_parcel",elementType:"labels.text.fill",stylers:[{color:"#64779e"}]},{featureType:"administrative.province",elementType:"geometry.stroke",stylers:[{color:"#4b6878"}]},{featureType:"landscape.man_made",elementType:"geometry.stroke",stylers:[{color:"#334e87"}]},{featureType:"landscape.natural",elementType:"geometry",stylers:[{color:"#023e58"}]},{featureType:"poi",elementType:"geometry",stylers:[{color:"#283d6a"}]},{featureType:"poi",elementType:"labels.text.fill",stylers:[{color:"#6f9ba5"}]},{featureType:"poi",elementType:"labels.text.stroke",stylers:[{color:"#1d2c4d"}]},{featureType:"poi.park",elementType:"geometry.fill",stylers:[{color:"#023e58"}]},{featureType:"poi.park",elementType:"labels.text.fill",stylers:[{color:"#3C7680"}]},{featureType:"road",elementType:"geometry",stylers:[{color:"#304a7d"}]},{featureType:"road",elementType:"labels.text.fill",stylers:[{color:"#98a5be"}]},{featureType:"road",elementType:"labels.text.stroke",stylers:[{color:"#1d2c4d"}]},{featureType:"road.highway",elementType:"geometry",stylers:[{color:"#2c6675"}]},{featureType:"road.highway",elementType:"geometry.stroke",stylers:[{color:"#255763"}]},{featureType:"road.highway",elementType:"labels.text.fill",stylers:[{color:"#b0d5ce"}]},{featureType:"road.highway",elementType:"labels.text.stroke",stylers:[{color:"#023e58"}]},{featureType:"transit",elementType:"labels.text.fill",stylers:[{color:"#98a5be"}]},{featureType:"transit",elementType:"labels.text.stroke",stylers:[{color:"#1d2c4d"}]},{featureType:"transit.line",elementType:"geometry.fill",stylers:[{color:"#283d6a"}]},{featureType:"transit.station",elementType:"geometry",stylers:[{color:"#3a4762"}]},{featureType:"water",elementType:"geometry",stylers:[{color:"#0e1626"}]},{featureType:"water",elementType:"labels.text.fill",stylers:[{color:"#4e6d70"}]}]};function Me(e,t,n,a,l,o,r){try{var i=e[o](r),c=i.value}catch(e){return void n(e)}i.done?t(c):Promise.resolve(c).then(a,l)}function Be(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||Re(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Oe(e){return function(e){if(Array.isArray(e))return Le(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||Re(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Re(e,t){if(e){if("string"==typeof e)return Le(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Le(e,t):void 0}}function Le(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var Ae=wp.i18n.__,Ne=wp.components.ResizableBox,Pe=wp.element,ze=Pe.Fragment,He=Pe.useEffect,_e=Pe.useRef,Ie=Pe.useState,je=[],De=function(e){var t=e.attributes,n=e.setAttributes,a=e.className,l=e.clientId,o=e.isSelected,c=e.toggleSelection;He((function(){X(),window.isMapLoaded=window.isMapLoaded||!1,window["removeMarker_".concat(l.substr(0,8))]=oe,u.current=document.createElement("script"),u.current.type="text/javascript",u.current.async=!0,u.current.defer=!0,u.current.id="themeisle-google-map-api-loading"}),[]),He((function(){!1!==x&&void 0!==window.google&&m.current.setOptions({mapTypeControl:!!o||t.mapTypeControl,zoomControl:!!o||t.zoomControl,fullscreenControl:!!o||t.fullscreenControl,streetViewControl:!!o||t.streetViewControl})}),[o]),He((function(){b.current=Oe(t.markers)}),[t.markers]);var d=_e([]),p=_e(null),u=_e(null),m=_e(null),s=_e(null),b=_e(Oe(t.markers)),y=Be(Ie(""),2),h=y[0],w=y[1],v=Be(Ie(!1),2),k=v[0],T=v[1],E=Be(Ie(!1),2),x=E[0],C=E[1],S=Be(Ie(!1),2),M=S[0],B=S[1],O=Be(Ie(!1),2),R=O[0],L=O[1],A=Be(Ie(!0),2),N=A[0],P=A[1],z=Be(Ie(!1),2),H=z[0],_=z[1],I=Be(Ie(!1),2),j=I[0],D=I[1],G=Be(Ie(!1),2),V=G[0],F=G[1],W=Be(Ie(!1),2),q=W[0],U=W[1],Z=Be(Ie(!1),2),$=Z[0],Q=Z[1],K=Be(Ie({}),2),J=K[0],Y=K[1],X=function(){var e,a=(e=regeneratorRuntime.mark((function e(){var a,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0!==t.id){e.next=7;break}return a="wp-block-themeisle-blocks-google-map-".concat(l.substr(0,8)),e.next=4,n({id:a});case 4:je.push(a),e.next=15;break;case 7:if(!je.includes(t.id)){e.next=14;break}return o="wp-block-themeisle-blocks-google-map-".concat(l.substr(0,8)),e.next=11,n({id:o});case 11:je.push(o),e.next=15;break;case 14:je.push(t.id);case 15:return e.next=17,wp.api.loadPromise.then((function(){p.current=new wp.api.models.Settings}));case 17:!1===Boolean(themeisleGutenberg.mapsAPI)?k||p.current.fetch().then((function(e){w(e.themeisle_google_map_block_api_key),T(!0),""!==e.themeisle_google_map_block_api_key&&(C(!0),ee(e.themeisle_google_map_block_api_key))})):k||(w(themeisleGutenberg.mapsAPI),T(!0),C(!0),ee(themeisleGutenberg.mapsAPI));case 18:case"end":return e.stop()}}),e)})),function(){var t=this,n=arguments;return new Promise((function(a,l){var o=e.apply(t,n);function r(e){Me(o,a,l,r,i,"next",e)}function i(e){Me(o,a,l,r,i,"throw",e)}r(void 0)}))});return function(){return a.apply(this,arguments)}}(),ee=function(e){window.isMapLoaded||(window.isMapLoaded=!0,u.current.onload=function(){document.getElementById("themeisle-google-map-api-loading").id="themeisle-google-map-api",_(!0)},u.current.src="https://maps.googleapis.com/maps/api/js?key=".concat(e,"&libraries=places&cache=").concat(Math.random()),document.head.appendChild(u.current)),document.getElementById("themeisle-google-map-api")&&_(!0)},te=function(e,t,n,a){var o='<div class="wp-block-themeisle-blocks-map-overview"><h6 class="wp-block-themeisle-blocks-map-overview-title">'.concat(n,'</h6><div class="wp-block-themeisle-blocks-map-overview-content">').concat(a?"<p>".concat(a,"</p>"):"",'<a class="wp-block-themeisle-blocks-map-overview-delete" onclick="removeMarker_').concat(l.substr(0,8),"( '").concat(t,"' )\">").concat(Ae("Delete Marker"),"</a></div></div>"),r=new google.maps.InfoWindow({content:o});e.addListener("click",(function(){s.current=r,r.open(m.current,e)})),google.maps.event.addListener(r,"domready",(function(){D(t)})),google.maps.event.addListener(r,"closeclick",(function(){D(!1)}))},ne=function(e){e.forEach((function(e){var t=e.latitude,n=e.longitude,a=new google.maps.LatLng(t,n),l=new google.maps.Marker({position:a,map:m.current,title:e.title,draggable:!0,icon:e.icon||"https://maps.google.com/mapfiles/ms/icons/red-dot.png"});google.maps.event.addListener(l,"dragend",(function(t){var n=t.latLng.lat(),a=t.latLng.lng();le(e.id,"latitude",n),le(e.id,"longitude",a)})),d.current.push(l),google.maps.event.addListener(l,"click",(function(){s.current&&s.current.close()})),te(l,e.id,e.title,e.description)}))},le=function(e,t,a){var l=Oe(b.current);l.map((function(n){if(n.id===e)return n[t]=a.toString()})),re(),ne(l),n({markers:l})},oe=function(e){var t=Oe(b.current);t=t.filter((function(t){return t.id!==e})),n({markers:t}),re(),D(!1),0<t.length&&ne(t)},re=function(){for(var e=0;e<d.current.length;e++)d.current[e].setMap(null);d.current=[]},ie=function(){!1===Boolean(themeisleGutenberg.mapsAPI)&&(L(!0),new wp.api.models.Settings({themeisle_google_map_block_api_key:h}).save().then((function(e){var t=!1;""!==e.themeisle_google_map_block_api_key&&(t=!0),L(!1),C(t),""!==e.themeisle_google_map_block_api_key&&(window.isMapLoaded=!1,ee(e.themeisle_google_map_block_api_key))})))},ce=function(e){n({style:e}),m.current.setOptions({styles:Se[e]})};return k&&x?wp.element.createElement(ze,null,wp.element.createElement(f.a,{label:Ae("Block Styles"),value:t.style,options:[{label:Ae("Standard"),value:"standard",image:themeisleGutenberg.assetsPath+"/icons/map-standard.png"},{label:Ae("Silver"),value:"silver",image:themeisleGutenberg.assetsPath+"/icons/map-silver.png"},{label:Ae("Retro"),value:"retro",image:themeisleGutenberg.assetsPath+"/icons/map-retro.png"},{label:Ae("Dark"),value:"dark",image:themeisleGutenberg.assetsPath+"/icons/map-dark.png"},{label:Ae("Night"),value:"night",image:themeisleGutenberg.assetsPath+"/icons/map-night.png"},{label:Ae("Aubergine"),value:"aubergine",image:themeisleGutenberg.assetsPath+"/icons/map-aubergine.png"}],onChange:ce}),wp.element.createElement(ae,{attributes:t,setAttributes:n,map:m.current,changeStyle:ce,isPlaceAPIAvailable:N,isMarkerOpen:j,setMarkerOpen:D,removeMarker:oe,changeMarkerProp:le,addMarkerManual:function(){var e=Object(i.a)(),t=Ae("Custom Marker"),n=m.current.getCenter(),a=n.lat(),l=n.lng();U(!0),Q(!0),Y({id:e,location:"",title:t,icon:"https://maps.google.com/mapfiles/ms/icons/red-dot.png",description:"",latitude:a,longitude:l})},api:h,isSaving:R,changeAPI:w,saveAPIKey:ie}),q&&wp.element.createElement(we,{marker:J,isAdvanced:$,isPlaceAPIAvailable:N,close:function(){return U(!1)},addMarker:function(e,a,l,o,r,c){var p=new google.maps.LatLng(r,c),u=Object(i.a)(),b=new google.maps.Marker({position:p,map:m.current,title:a,draggable:!0,icon:l});google.maps.event.addListener(b,"dragend",(function(e){var t=e.latLng.lat(),n=e.latLng.lng();le(u,"latitude",t),le(u,"longitude",n)})),d.current.push(b);var g=Oe(t.markers),f={id:u,location:e,title:a,icon:l,description:o,latitude:r,longitude:c};g.push(f),n({markers:g}),google.maps.event.addListener(b,"click",(function(){s.current&&s.current.close()})),te(b,f.id,a,o),U(!1),F(!1)}}),wp.element.createElement(Ne,{size:{height:t.height},enable:{top:!1,right:!1,bottom:!0,left:!1},minHeight:100,maxHeight:1400,onResizeStart:function(){c(!1)},onResizeStop:function(e,a,l,o){n({height:parseInt(t.height+o.height,10)}),c(!0)},className:r()("wp-block-themeisle-blocks-google-map-resizer",{"is-focused":o})},wp.element.createElement(Ce,{attributes:t,className:a,initMap:function(){if(m.current=new google.maps.Map(document.getElementById(t.id),{center:{lat:Number(t.latitude)||41.4036299,lng:Number(t.longitude)||2.1743558000000576},gestureHandling:"cooperative",zoom:t.zoom,mapTypeId:t.type,styles:Se[t.style]}),t.location&&void 0===t.latitude&&void 0===t.longitude){var e={query:t.location,fields:["name","geometry"]};new google.maps.places.PlacesService(m.current).findPlaceFromQuery(e,(function(e,t){t===google.maps.places.PlacesServiceStatus.OK&&0<e.length&&m.current.setCenter(e[0].geometry.location)}))}google.maps.event.addListenerOnce(m.current,"idle",(function(){B(!0)})),m.current.addListener("zoom_changed",(function(){var e=m.current.getZoom();n({zoom:e})})),m.current.addListener("maptypeid_changed",(function(){var e=m.current.getMapTypeId();n({type:e})})),m.current.addListener("bounds_changed",(function(){var e=m.current.getCenter(),t=e.lat(),a=e.lng();n({latitude:t.toString(),longitude:a.toString()})})),0<t.markers.length&&ne(t.markers);var a={query:t.location,fields:["name","geometry"]};new google.maps.places.PlacesService(m.current).findPlaceFromQuery(a,(function(e,t){"REQUEST_DENIED"===t&&P(!1)}))},displayMap:H,isMapLoaded:M,selectMarker:function(){F(!V),V?google.maps.event.clearListeners(m.current,"click"):m.current.addListener("click",(function(e){google.maps.event.clearListeners(m.current,"click");var t=Object(i.a)(),n=Ae("Custom Marker"),a=e.latLng.lat(),l=e.latLng.lng();U(!0),Q(!1),Y({id:t,location:"",title:n,icon:"https://maps.google.com/mapfiles/ms/icons/red-dot.png",description:"",latitude:a,longitude:l})}))},isSelectingMarker:V}))):wp.element.createElement(g,{className:a,api:h,isAPILoaded:k,isAPISaved:x,changeAPI:w,saveAPIKey:ie})},Ge=wp.i18n.__;(0,wp.blocks.registerBlockType)("themeisle-blocks/google-map",{title:Ge("Google Maps"),description:Ge("Display Google Maps on your website with Google Map block."),icon:a.j,category:"themeisle-blocks",keywords:["map","google","orbitfox"],attributes:l,supports:{align:["wide","full"],html:!1},edit:De,save:function(){return null}})},function(e,t,n){"use strict";n.r(t);n(85),n(86);var a={id:{type:"string"},images:{type:"array",default:[],source:"query",selector:".wp-block-themeisle-blocks-slider-item-wrapper",query:{id:{type:"number",source:"attribute",selector:"img",attribute:"data-id"},url:{type:"string",source:"attribute",selector:"img",attribute:"src"},alt:{type:"string",source:"attribute",selector:"img",attribute:"alt",default:""},caption:{type:"string",source:"html",selector:"figcaption",default:""}}},perView:{type:"number",default:1},gap:{type:"number",default:0},peek:{type:"number",default:0},autoplay:{type:"boolean",default:!0},delay:{type:"number",default:2},hideArrows:{type:"boolean",default:!1},hideBullets:{type:"boolean",default:!1},height:{type:"number",default:400}},l=n(0),o=n.n(l),r=wp.components,i=r.Path,c=r.SVG,d=wp.element.Fragment,p=function(e){var t=e.attributes;return wp.element.createElement(d,null,!t.hideArrows&&wp.element.createElement("div",{className:"glide__arrows","data-glide-el":"controls"},wp.element.createElement("button",{className:"glide__arrow glide__arrow--left","data-glide-dir":"<"},wp.element.createElement(c,{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 100 100"},wp.element.createElement(i,{d:"M 10,50 L 60,100 L 70,90 L 30,50 L 70,10 L 60,0 Z"}))),wp.element.createElement("button",{className:"glide__arrow glide__arrow--right","data-glide-dir":">"},wp.element.createElement(c,{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 100 100"},wp.element.createElement(i,{d:"M 10,50 L 60,100 L 70,90 L 30,50 L 70,10 L 60,0 Z"})))))},u=function(e){var t=e.attributes;return wp.element.createElement(d,null,!t.hideBullets&&wp.element.createElement("div",{className:"glide__bullets","data-glide-el":"controls[nav]"},t.images.map((function(e,t){return wp.element.createElement("button",{className:"glide__bullet","data-glide-dir":"=".concat(t)})}))))},m=function(e){var t=e.attributes;return wp.element.createElement(d,null,wp.element.createElement(p,{attributes:t}),wp.element.createElement(u,{attributes:t}))},s=wp.blockEditor.RichText,b=[{attributes:{id:{type:"string"},align:{type:"string"},images:{type:"array",default:[],source:"query",selector:".wp-block-themeisle-blocks-slider-item-wrapper",query:{id:{type:"number",source:"attribute",selector:"img",attribute:"data-id"},url:{type:"string",source:"attribute",selector:"img",attribute:"src"},alt:{type:"string",source:"attribute",selector:"img",attribute:"alt",default:""},caption:{type:"string",source:"html",selector:"figcaption",default:""}}},perView:{type:"number",default:1},gap:{type:"number",default:0},peek:{type:"number",default:0},autoplay:{type:"boolean",default:!0},height:{type:"number",default:400}},supports:{align:["wide","full"]},save:function(e){var t=e.attributes,n=e.className;return wp.element.createElement("div",{id:t.id,className:o()("wp-block-themeisle-blocks-slider","glide",n),"data-per-view":t.perView,"data-gap":t.gap,"data-peek":t.peek,"data-autoplay":t.autoplay},wp.element.createElement("div",{className:"glide__track","data-glide-el":"track"},wp.element.createElement("div",{className:"glide__slides",style:{height:"".concat(t.height,"px")}},t.images.map((function(e){return wp.element.createElement("div",{className:"wp-block-themeisle-blocks-slider-item-wrapper glide__slide",tabIndex:"0"},wp.element.createElement("figure",null,wp.element.createElement("img",{key:e.id,className:"wp-block-themeisle-blocks-slider-item",src:e.url,alt:e.alt,title:e.alt,"data-id":e.id}),!s.isEmpty(e.caption)&&wp.element.createElement(s.Content,{tagName:"figcaption",value:e.caption})))}))),wp.element.createElement(m,{attributes:t})))}},{attributes:{id:{type:"string"},images:{type:"array",default:[],source:"query",selector:".wp-block-themeisle-blocks-slider-item-wrapper",query:{id:{type:"number",source:"attribute",selector:"img",attribute:"data-id"},url:{type:"string",source:"attribute",selector:"img",attribute:"src"},alt:{type:"string",source:"attribute",selector:"img",attribute:"alt",default:""},caption:{type:"string",source:"html",selector:"figcaption",default:""}}},perView:{type:"number",default:1},gap:{type:"number",default:0},peek:{type:"number",default:0},autoplay:{type:"boolean",default:!0},delay:{type:"number",default:2},hideArrows:{type:"boolean",default:!1},hideBullets:{type:"boolean",default:!1},height:{type:"number",default:400}},supports:{align:["wide","full"]},save:function(e){var t=e.attributes,n=e.className,a=t.autoplay&&2!==t.delay?1e3*t.delay:t.autoplay;return wp.element.createElement("div",{id:t.id,className:o()("wp-block-themeisle-blocks-slider","glide",n),"data-per-view":t.perView,"data-gap":t.gap,"data-peek":t.peek,"data-autoplay":a,"data-height":"".concat(t.height,"px")},wp.element.createElement("div",{className:"glide__track","data-glide-el":"track"},wp.element.createElement("div",{className:"glide__slides"},t.images.map((function(e){return wp.element.createElement("div",{className:"wp-block-themeisle-blocks-slider-item-wrapper glide__slide",tabIndex:"0"},wp.element.createElement("figure",null,wp.element.createElement("img",{key:e.id,className:"wp-block-themeisle-blocks-slider-item",src:e.url,alt:e.alt,title:e.alt,"data-id":e.id}),!s.isEmpty(e.caption)&&wp.element.createElement(s.Content,{tagName:"figcaption",value:e.caption})))}))),wp.element.createElement(m,{attributes:t})))}}],g=lodash,f=g.filter,y=g.every,h=wp.blocks.createBlock,w={from:[{type:"block",isMultiBlock:!0,blocks:["core/image"],transform:function(e){var t=e[0].align;t=y(e,["align",t])?t:void 0;var n=f(e,(function(e){return e.url}));return h("themeisle-blocks/slider",{images:n.map((function(e){return{id:e.id,url:e.url,alt:e.alt,caption:e.caption}})),align:t})}},{type:"block",blocks:["core/gallery"],transform:function(e){var t=e.images,n=e.align;return h("themeisle-blocks/slider",{images:t.map((function(e){return{id:e.id,url:e.url,alt:e.alt,caption:e.caption}})),align:n})}}],to:[{type:"block",blocks:["core/image"],transform:function(e){var t=e.images,n=e.align;return 0<t.length?t.map((function(e){var t=e.id,a=e.url,l=e.alt,o=e.caption;return h("core/image",{id:t,url:a,alt:l,caption:o,align:n})})):h("core/image",{align:n})}},{type:"block",blocks:["core/gallery"],transform:function(e){var t=e.images,n=e.align;return h("core/gallery",{images:t.map((function(e){return{id:e.id,url:e.url,alt:e.alt,caption:e.caption}})),align:n})}}]},v=lodash.debounce,k=wp.blockEditor.MediaPlaceholder,T=function(e){var t=e.labels,n=e.icon,a=e.isAppender,l=void 0!==a&&a,o=e.value,r=void 0===o?{}:o,i=e.onSelectImages,c=v(i,250);return wp.element.createElement(k,{labels:t,icon:n,accept:"image/*",allowedTypes:["image"],isAppender:l,className:"wp-block-themeisle-blocks-slider-uploader",value:r,onSelect:c,multiple:!0})},E=wp.i18n.__,x=lodash.max,C=wp.blockEditor.InspectorControls,S=wp.components,M=S.PanelBody,B=S.RangeControl,O=S.ToggleControl,R=wp.element.Fragment,L=function(e){var t=e.attributes,n=e.setAttributes,a=e.slider,l=e.changePerView;return wp.element.createElement(C,null,wp.element.createElement(M,{title:E("Settings")},t.images.length&&wp.element.createElement(R,null,wp.element.createElement(B,{label:E("Slides Per Page"),help:E("A number of visible slides."),value:t.perView,onChange:l,min:1,max:x([Math.round(t.images.length/2),1])}),1<t.perView&&wp.element.createElement(R,null,wp.element.createElement(B,{label:E("Gap"),help:E("A size of the space between slides."),value:t.gap,onChange:function(e){n({gap:Number(e)}),a.update({gap:Number(e)})},min:0,max:100}),wp.element.createElement(B,{label:E("Peek"),help:E("The value of the future slides which have to be visible in the current slide."),value:t.peek,onChange:function(e){n({peek:Number(e)}),a.update({peek:Number(e)})},min:0,max:100})),wp.element.createElement(B,{label:E("Height"),help:E("Slider height in pixels."),value:t.height,onChange:function(e){n({height:Number(e)})},min:100,max:1400}),wp.element.createElement(O,{label:E("Autoplay"),help:E("Autoplay slider in the front."),checked:t.autoplay,onChange:function(e){n({autoplay:e})}}),t.autoplay&&wp.element.createElement(B,{label:E("Delay"),help:E("Delay in slide change (in seconds)."),value:t.delay,onChange:function(e){n({delay:e})},min:1,max:10}),wp.element.createElement(O,{label:E("Hide Arrows"),help:E("Hide navigation arrows."),checked:t.hideArrows,onChange:function(e){n({hideArrows:e})}}),wp.element.createElement(O,{label:E("Hide Bullets"),help:E("Hide navigation bullets."),checked:t.hideBullets,onChange:function(e){n({hideBullets:e})}}))))};function A(e){return function(e){if(Array.isArray(e))return N(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return N(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return N(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function N(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var P=wp.i18n.__,z=lodash.filter,H=wp.blockEditor.RichText,_=wp.components.Button,I=wp.element.Fragment,j=function(e){var t=e.images,n=e.image,a=e.index,l=e.isFirstItem,r=e.isLastItem,i=e.isSelected,c=e.setAttributes,d=e.setSelectedImage,p=function(e,n){var a=A(t);a.splice(n,1,t[e]),a.splice(e,1,t[n]),d(n),c({images:a})};return wp.element.createElement("div",{className:o()("wp-block-themeisle-blocks-slider-item-wrapper glide__slide",{"is-selected":i}),tabIndex:"0",onClick:function(){return d(n.id)},onFocus:function(){return d(n.id)}},wp.element.createElement("figure",null,wp.element.createElement("img",{key:n.id,className:"wp-block-themeisle-blocks-slider-item",src:n.url,alt:n.alt,title:n.alt,"data-id":n.id}),i&&wp.element.createElement(I,null,wp.element.createElement("div",{className:"wp-block-themeisle-blocks-slider-item-move-menu"},wp.element.createElement(_,{icon:"arrow-left-alt2",label:P("Move image backward"),showTooltip:!0,onClick:l?void 0:function(){0!==a&&p(a,a-1)},className:"wp-block-themeisle-blocks-slider-item-move-backward","aria-disabled":l,disabled:!i}),wp.element.createElement(_,{icon:"arrow-right-alt2",label:P("Move image forward"),showTooltip:!0,onClick:r?void 0:function(){a!==t.length-1&&p(a,a+1)},className:"wp-block-themeisle-blocks-slider-item-move-forward","aria-disabled":r,disabled:!i})),wp.element.createElement("div",{className:"wp-block-themeisle-blocks-slider-item-delete-menu"},wp.element.createElement(_,{icon:"no-alt",label:P("Remove image"),showTooltip:!0,onClick:function(){var e=z(t,(function(e,t){return a!==t}));d(null),c({images:e})},className:"wp-block-themeisle-blocks-slider-item-delete"}))),(i||!H.isEmpty(n.caption))&&wp.element.createElement(H,{tagName:"figcaption",placeholder:i?P("Write caption…"):null,value:n.caption,onChange:function(e){var n=A(t);n[a].caption=e,c({images:n})},multiline:!1})))};function D(e){return function(e){if(Array.isArray(e))return W(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||F(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function G(e,t,n,a,l,o,r){try{var i=e[o](r),c=i.value}catch(e){return void n(e)}i.done?t(c):Promise.resolve(c).then(a,l)}function V(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||F(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function F(e,t){if(e){if("string"==typeof e)return W(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?W(e,t):void 0}}function W(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var q=wp.i18n.__,U=lodash.max,Z=wp.components.ResizableBox,$=wp.element,Q=$.Fragment,K=$.useEffect,J=$.useRef,Y=$.useState,X=[],ee=function(e){var t=e.attributes,n=e.setAttributes,a=e.className,l=e.clientId,r=e.isSelected,i=e.toggleSelection;K((function(){return b(),function(){t.images.length&&c.current.destroy()}}),[]),K((function(){t.images.length&&(s(null),null!==c.current&&(c.current.destroy(),g()))}),[r,t.align]),K((function(){t.images.length&&t.perView>t.images.length&&y(U([Math.round(t.images.length/2),1]))}),[t.images]);var c=J(null),d=J(null),p=V(Y(null),2),u=p[0],s=p[1],b=function(){var e,a=(e=regeneratorRuntime.mark((function e(){var a,o,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(a=window.themeisleGutenberg.blockIDs?window.themeisleGutenberg.blockIDs:[],void 0!==t.id){e.next=10;break}return o="wp-block-themeisle-blocks-slider-".concat(l.substr(0,8)),e.next=5,n({id:o});case 5:X.push(o),d.current=o,a.push(o),e.next=21;break;case 10:if(!X.includes(t.id)){e.next=18;break}return r="wp-block-themeisle-blocks-slider-".concat(l.substr(0,8)),e.next=14,n({id:r});case 14:X.push(r),d.current=r,e.next=21;break;case 18:X.push(t.id),d.current=t.id,a.push(t.id);case 21:window.themeisleGutenberg.blockIDs=D(a),t.images.length&&g();case 23:case"end":return e.stop()}}),e)})),function(){var t=this,n=arguments;return new Promise((function(a,l){var o=e.apply(t,n);function r(e){G(o,a,l,r,i,"next",e)}function i(e){G(o,a,l,r,i,"throw",e)}r(void 0)}))});return function(){return a.apply(this,arguments)}}(),g=function(){c.current=new Glide("#".concat(t.id||d.current),{type:"carousel",keyboard:!1,perView:t.perView,gap:t.gap,peek:t.peek,autoplay:!1,breakpoints:{800:{perView:1,peek:0,gap:0}}}).mount()},f=function(e){n({images:e.map((function(e){return{id:e.id,url:e.url,alt:e.alt,caption:e.caption}}))}),null!==c.current&&c.current.destroy(),g()},y=function(e){n({perView:Number(e)}),c.current.update({perView:Number(e)}),1===e&&(n({gap:0,peek:0}),c.current.update({gap:0,peek:0}))};return Array.isArray(t.images)&&!t.images.length?wp.element.createElement(T,{labels:{title:q("Slider"),instructions:q("Drag images, upload new ones or select files from your library.")},icon:"images-alt2",onSelectImages:f}):wp.element.createElement(Q,null,wp.element.createElement(L,{attributes:t,setAttributes:n,slider:c.current,changePerView:y}),wp.element.createElement(Z,{size:{height:t.height},enable:{top:!1,right:!1,bottom:!0,left:!1},minHeight:100,maxHeight:1400,onResizeStart:function(){i(!1)},onResizeStop:function(e,a,l,o){n({height:parseInt(t.height+o.height,10)}),i(!0)},className:o()("wp-block-themeisle-blocks-slider-resizer",{"is-focused":r})},wp.element.createElement("div",{id:t.id,className:o()("wp-block-themeisle-blocks-slider","glide",a)},wp.element.createElement("div",{className:"glide__track","data-glide-el":"track"},wp.element.createElement("div",{className:"glide__slides",style:{height:"".concat(t.height,"px")}},t.images.map((function(e,a){return wp.element.createElement(j,{images:t.images,image:e,index:a,isFirstItem:0===a,isLastItem:a+1===t.images.length,isSelected:r&&e.id===u,setAttributes:n,setSelectedImage:s})}))),wp.element.createElement(m,{attributes:t})))),r&&wp.element.createElement(T,{labels:{title:"",instructions:""},icon:null,onSelectImages:f,isAppender:!0,value:t.images}))},te=wp.blockEditor.RichText,ne=function(e){var t=e.attributes,n=e.className,a=t.autoplay&&2!==t.delay?1e3*t.delay:t.autoplay;return wp.element.createElement("div",{id:t.id,className:o()("wp-block-themeisle-blocks-slider","glide",n),"data-per-view":t.perView,"data-gap":t.gap,"data-peek":t.peek,"data-autoplay":a,"data-height":"".concat(t.height,"px"),"data-hide-arrows":t.hideArrows},wp.element.createElement("div",{className:"glide__track","data-glide-el":"track"},wp.element.createElement("div",{className:"glide__slides"},t.images.map((function(e){return wp.element.createElement("div",{className:"wp-block-themeisle-blocks-slider-item-wrapper glide__slide",tabIndex:"0"},wp.element.createElement("figure",null,wp.element.createElement("img",{key:e.id,className:"wp-block-themeisle-blocks-slider-item",src:e.url,alt:e.alt,title:e.alt,"data-id":e.id}),!te.isEmpty(e.caption)&&wp.element.createElement(te.Content,{tagName:"figcaption",value:e.caption})))}))),wp.element.createElement(u,{attributes:t})))},ae=wp.i18n.__;(0,wp.blocks.registerBlockType)("themeisle-blocks/slider",{title:ae("Slider"),description:ae("Minimal image slider to showcase beautiful images."),icon:"images-alt2",category:"themeisle-blocks",keywords:["slider","gallery","carousel"],attributes:a,deprecated:b,transforms:w,supports:{align:["wide","full"]},edit:ee,save:ne})},function(e,t,n){"use strict";n.r(t);n(38);var a=n(3);n(39);function l(e,t,n,a,l,o,r){try{var i=e[o](r),c=i.value}catch(e){return void n(e)}i.done?t(c):Promise.resolve(c).then(a,l)}function o(e){return function(){var t=this,n=arguments;return new Promise((function(a,o){var r=e.apply(t,n);function i(e){l(r,a,o,i,c,"next",e)}function c(e){l(r,a,o,i,c,"throw",e)}i(void 0)}))}}function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return i(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var c=wp.i18n.__,d=wp.blocks.getBlockType,p=wp.components,u=p.Button,m=p.Icon,s=p.Modal,b=wp.element,g=b.Fragment,f=b.useState,y=function(e){var t=e.blockName,n=e.saveConfig,a=e.resetConfig,l=e.children,i=d(t),p=r(f(!1),2),b=p[0],y=p[1],h=r(f(!1),2),w=h[0],v=h[1];return i?wp.element.createElement(g,null,wp.element.createElement(u,{className:"wp-block-themeisle-blocks-options-global-defaults-list-item block-editor-block-types-list__item",onClick:function(){return y(!0)}},wp.element.createElement("div",{className:"wp-block-themeisle-blocks-options-global-defaults-list-item-icon"},wp.element.createElement(m,{icon:i.icon.src})),wp.element.createElement("div",{className:"wp-block-themeisle-blocks-options-global-defaults-list-item-title"},i.title)),b&&wp.element.createElement(s,{title:i.title,onRequestClose:function(){return y(!1)},shouldCloseOnClickOutside:!1,overlayClassName:"wp-block-themeisle-blocks-options-global-defaults-modal"},l,wp.element.createElement("div",{className:"wp-block-themeisle-blocks-options-global-defaults-actions"},wp.element.createElement(u,{isLink:!0,isDestructive:!0,onClick:function(){return a(t)}},c("Reset")),wp.element.createElement("div",{className:"wp-block-themeisle-blocks-options-global-defaults-actions-primary"},wp.element.createElement(u,{isSecondary:!0,isLarge:!0,onClick:function(){return y(!1)}},c("Close")),wp.element.createElement(u,{isPrimary:!0,isLarge:!0,isBusy:w,onClick:o(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return v(!0),e.next=3,n();case 3:v(!1);case 4:case"end":return e.stop()}}),e)})))},c("Save")))))):null},h=n(2),w=n(9),v=n(4),k=n(5);function T(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var E=wp.i18n.__,x=wp.blockEditor.ColorPalette,C=wp.components,S=C.PanelBody,M=C.RangeControl,B=C.SelectControl,O=wp.data.useSelect,R=wp.element.Fragment,L=function(e){var t=e.blockName,n=e.defaults,a=e.changeConfig,l=O((function(e){var t=e("themeisle-gutenberg/data").getView,n=e("core/edit-post").__experimentalGetPreviewDeviceType;return n?n():t()}),[]),o=function(){var e;return"Desktop"===l&&(e=n.fontSize),"Tablet"===l&&(e=n.fontSizeTablet),"Mobile"===l&&(e=n.fontSizeMobile),e};o=o();var r=function(){var e;return"Desktop"===l&&(e=n.paddingType),"Tablet"===l&&(e=n.paddingTypeTablet),"Mobile"===l&&(e=n.paddingTypeMobile),e};r=r();var i={top:"paddingTop",right:"paddingRight",bottom:"paddingBottom",left:"paddingLeft"},c={top:"paddingTopTablet",right:"paddingRightTablet",bottom:"paddingBottomTablet",left:"paddingLeftTablet"},d={top:"paddingTopMobile",right:"paddingRightMobile",bottom:"paddingBottomMobile",left:"paddingLeftMobile"},p=function(e){var t;return"top"==e&&("Desktop"===l&&(t="linked"===n.paddingType?n.padding:n.paddingTop),"Tablet"===l&&(t="linked"===n.paddingTypeTablet?n.paddingTablet:n.paddingTopTablet),"Mobile"===l&&(t="linked"===n.paddingTypeMobile?n.paddingMobile:n.paddingTopMobile)),"right"==e&&("Desktop"===l&&(t="linked"===n.paddingType?n.padding:n.paddingRight),"Tablet"===l&&(t="linked"===n.paddingTypeTablet?n.paddingTablet:n.paddingRightTablet),"Mobile"===l&&(t="linked"===n.paddingTypeMobile?n.paddingMobile:n.paddingRightMobile)),"bottom"==e&&("Desktop"===l&&(t="linked"===n.paddingType?n.padding:n.paddingBottom),"Tablet"===l&&(t="linked"===n.paddingTypeTablet?n.paddingTablet:n.paddingBottomTablet),"Mobile"===l&&(t="linked"===n.paddingTypeMobile?n.paddingMobile:n.paddingBottomMobile)),"left"==e&&("Desktop"===l&&(t="linked"===n.paddingType?n.padding:n.paddingLeft),"Tablet"===l&&(t="linked"===n.paddingTypeTablet?n.paddingTablet:n.paddingLeftTablet),"Mobile"===l&&(t="linked"===n.paddingTypeMobile?n.paddingMobile:n.paddingLeftMobile)),t},u=function(){var e;return"Desktop"===l&&(e=n.marginType),"Tablet"===l&&(e=n.marginTypeTablet),"Mobile"===l&&(e=n.marginTypeMobile),e};u=u();var m={top:"marginTop",bottom:"marginBottom"},s={top:"marginTopTablet",bottom:"marginBottomTablet"},b={top:"marginTopMobile",bottom:"marginBottomMobile"},g=function(e){var t;return"top"==e&&("Desktop"===l&&(t="linked"===n.marginType?n.margin:n.marginTop),"Tablet"===l&&(t="linked"===n.marginTypeTablet?n.marginTablet:n.marginTopTablet),"Mobile"===l&&(t="linked"===n.marginTypeMobile?n.marginMobile:n.marginTopMobile)),"bottom"==e&&("Desktop"===l&&(t="linked"===n.marginType?n.margin:n.marginBottom),"Tablet"===l&&(t="linked"===n.marginTypeTablet?n.marginTablet:n.marginBottomTablet),"Mobile"===l&&(t="linked"===n.marginTypeMobile?n.marginMobile:n.marginBottomMobile)),t};return wp.element.createElement(R,null,wp.element.createElement(S,{title:E("General Settings")},wp.element.createElement(B,{label:E("HTML Tag"),value:n.tag,options:[{label:E("Heading 1"),value:"h1"},{label:E("Heading 2"),value:"h2"},{label:E("Heading 3"),value:"h3"},{label:E("Heading 4"),value:"h4"},{label:E("Heading 5"),value:"h5"},{label:E("Heading 6"),value:"h6"},{label:E("Division"),value:"div"},{label:E("Paragraph"),value:"p"},{label:E("Span"),value:"span"}],onChange:function(e){return a(t,{tag:e})}}),wp.element.createElement(h.a,{label:"Heading Color",colorValue:n.headingColor},wp.element.createElement(x,{value:n.headingColor,onChange:function(e){return a(t,{headingColor:e})}})),wp.element.createElement("hr",null),wp.element.createElement(v.a,{label:"Font Size"},wp.element.createElement(M,{value:o||"",onChange:function(e){"Desktop"===l&&a(t,{fontSize:e}),"Tablet"===l&&a(t,{fontSizeTablet:e}),"Mobile"===l&&a(t,{fontSizeMobile:e})},min:1,max:500}))),wp.element.createElement(S,{title:E("Typography Settings"),initialOpen:!1},wp.element.createElement(w.a,{label:E("Font Family"),value:n.fontFamily,onChangeFontFamily:function(e){a(t,e?{fontFamily:e,fontVariant:"normal",fontStyle:"normal"}:{fontFamily:e,fontVariant:e})},valueVariant:n.fontVariant,onChangeFontVariant:function(e){return a(t,{fontVariant:e})},valueStyle:n.fontStyle,onChangeFontStyle:function(e){return a(t,{fontStyle:e})},valueTransform:n.textTransform,onChangeTextTransform:function(e){return a(t,{textTransform:e})}}),wp.element.createElement("hr",null),wp.element.createElement(M,{label:E("Line Height"),value:n.lineHeight||"",onChange:function(e){return a(t,{lineHeight:e})},min:0,max:200}),wp.element.createElement("hr",null),wp.element.createElement(M,{label:E("Letter Spacing"),value:n.letterSpacing||"",onChange:function(e){return a(t,{letterSpacing:e})},min:-50,max:100})),wp.element.createElement(S,{title:E("Spacing"),initialOpen:!1},wp.element.createElement(v.a,{label:"Padding"},wp.element.createElement(k.a,{type:r,min:0,max:500,changeType:function(e){"Desktop"===l&&a(t,{paddingType:e}),"Tablet"===l&&a(t,{paddingTypeTablet:e}),"Mobile"===l&&a(t,{paddingTypeMobile:e})},onChange:function(e,o){"Desktop"===l&&("linked"===n.paddingType?a(t,{padding:o}):a(t,T({},i[e],o))),"Tablet"===l&&("linked"===n.paddingTypeTablet?a(t,{paddingTablet:o}):a(t,T({},c[e],o))),"Mobile"===l&&("linked"===n.paddingTypeMobile?a(t,{paddingMobile:o}):a(t,T({},d[e],o)))},options:[{label:E("Top"),type:"top",value:p("top")},{label:E("Right"),type:"right",value:p("right")},{label:E("Bottom"),type:"bottom",value:p("bottom")},{label:E("Left"),type:"left",value:p("left")}]})),wp.element.createElement("hr",null),wp.element.createElement(v.a,{label:"Margin"},wp.element.createElement(k.a,{type:u,min:-500,max:500,changeType:function(e){"Desktop"===l&&a(t,{marginType:e}),"Tablet"===l&&a(t,{marginTypeTablet:e}),"Mobile"===l&&a(t,{marginTypeMobile:e})},onChange:function(e,o){"Desktop"===l&&("linked"===n.marginType?a(t,{margin:o}):a(t,T({},m[e],o))),"Tablet"===l&&("linked"===n.marginTypeTablet?a(t,{marginTablet:o}):a(t,T({},s[e],o))),"Mobile"===l&&("linked"===n.marginTypeMobile?a(t,{marginMobile:o}):a(t,T({},b[e],o)))},options:[{label:E("Top"),type:"top",value:g("top")},{label:E("Right"),disabled:!0},{label:E("Bottom"),type:"bottom",value:g("bottom")},{label:E("Left"),disabled:!0}]}))))};function A(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return N(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return N(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function N(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var P=wp.i18n.__,z=lodash.cloneDeep,H=wp.components,_=H.Button,I=H.ButtonGroup,j=H.PanelBody,D=H.RangeControl,G=H.SelectControl,V=wp.blockEditor.ColorPalette,F=wp.element,W=F.Fragment,q=F.useState,U=function(e){var t=e.blockName,n=e.defaults,a=e.changeConfig,l=A(q(!1),2),o=l[0],r=l[1],i=function(e,l){var o=z(n.data);o[e]=l,a(t,{data:o})};return wp.element.createElement(W,null,wp.element.createElement(j,{title:P("Color & Border")},wp.element.createElement(I,null,wp.element.createElement(_,{isSmall:!0,isSecondary:o,isPrimary:!o,onClick:function(){return r(!1)}},P("Normal")),wp.element.createElement(_,{isSmall:!0,isSecondary:!o,isPrimary:o,onClick:function(){return r(!0)}},P("Hover"))),o?wp.element.createElement(W,null,wp.element.createElement(h.a,{label:"Hover Color",colorValue:n.data.hoverColor},wp.element.createElement(V,{label:"Hover Color",value:n.data.hoverColor,onChange:function(e){return i("hoverColor",e)}})),wp.element.createElement("hr",null),wp.element.createElement(h.a,{label:"Hover Background",colorValue:n.data.hoverBackground},wp.element.createElement(V,{label:"Hover Background",value:n.data.hoverBackground,onChange:function(e){return i("hoverBackground",e)}})),wp.element.createElement("hr",null),wp.element.createElement(h.a,{label:"Hover Border",colorValue:n.data.hoverBorder},wp.element.createElement(V,{label:"Hover Border",value:n.data.hoverBorder,onChange:function(e){return i("hoverBorder",e)}}))):wp.element.createElement(W,null,wp.element.createElement(h.a,{label:"Color",colorValue:n.data.color},wp.element.createElement(V,{label:"Color",value:n.data.color,onChange:function(e){return i("color",e)}})),wp.element.createElement("hr",null),wp.element.createElement(h.a,{label:"Background",colorValue:n.data.background},wp.element.createElement(V,{label:"Background",value:n.data.background,onChange:function(e){return i("background",e)}})),wp.element.createElement("hr",null),wp.element.createElement(h.a,{label:"Border",colorValue:n.data.border},wp.element.createElement(V,{label:"Border",value:n.data.border,onChange:function(e){return i("border",e)}}))),wp.element.createElement("hr",null),wp.element.createElement(D,{label:P("Border Size"),value:n.data.borderSize||"",onChange:function(e){return i("borderSize",e)},min:0,max:10}),wp.element.createElement("hr",null),wp.element.createElement(D,{label:P("Border Radius"),value:n.data.borderRadius||"",onChange:function(e){return i("borderRadius",e)},min:0,max:100})),wp.element.createElement(j,{title:P("Spacing"),initialOpen:!1},wp.element.createElement(k.a,{label:P("Button Padding"),min:0,max:100,onChange:i,options:[{label:P("Top"),type:"paddingTopBottom",value:n.data.paddingTopBottom},{label:P("Right"),type:"paddingLeftRight",value:n.data.paddingLeftRight},{label:P("Bottom"),type:"paddingTopBottom",value:n.data.paddingTopBottom},{label:P("Left"),type:"paddingLeftRight",value:n.data.paddingLeftRight}]}),wp.element.createElement("hr",null),wp.element.createElement(D,{label:P("Group Spacing"),value:n.spacing,onChange:function(e){return a(t,{spacing:e})},min:0,max:50}),wp.element.createElement("hr",null),wp.element.createElement(G,{label:P("Collapse On"),value:n.collapse,options:[{label:"None",value:"collapse-none"},{label:"Desktop",value:"collapse-desktop"},{label:"Tablet",value:"collapse-tablet"},{label:"Mobile",value:"collapse-mobile"}],onChange:function(e){return a(t,{collapse:e})}})),wp.element.createElement(j,{title:P("Typography Settings"),initialOpen:!1},wp.element.createElement(D,{label:P("Font Size"),value:n.fontSize||"",onChange:function(e){return a(t,{fontSize:e})},min:0,max:50}),wp.element.createElement("hr",null),wp.element.createElement(w.a,{label:P("Font Family"),value:n.fontFamily,onChangeFontFamily:function(e){a(t,e?{fontFamily:e,fontVariant:"normal",fontStyle:"normal"}:{fontFamily:e,fontVariant:e})},valueVariant:n.fontVariant,onChangeFontVariant:function(e){return a(t,{fontVariant:e})},valueStyle:n.fontStyle,onChangeFontStyle:function(e){return a(t,{fontStyle:e})},valueTransform:n.textTransform,onChangeTextTransform:function(e){return a(t,{textTransform:e})}}),wp.element.createElement("hr",null),wp.element.createElement(D,{label:P("Line Height"),value:n.lineHeight||"",onChange:function(e){return a(t,{lineHeight:e})},min:0,max:200})))};function Z(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return $(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return $(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function $(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var Q=wp.i18n.__,K=wp.components,J=K.Button,Y=K.ButtonGroup,X=K.PanelBody,ee=K.RangeControl,te=wp.blockEditor,ne=te.ColorPalette,ae=te.ContrastChecker,le=wp.element,oe=le.Fragment,re=le.useState,ie=function(e){var t=e.blockName,n=e.defaults,a=e.changeConfig,l=Z(re(!1),2),o=l[0],r=l[1];return wp.element.createElement(oe,null,wp.element.createElement(X,{title:Q("Sizing")},wp.element.createElement(ee,{label:Q("Icon Size"),value:n.fontSize||"",initialPosition:16,onChange:function(e){return a(t,{fontSize:e})},min:12,max:140}),wp.element.createElement("hr",null),wp.element.createElement(ee,{label:Q("Padding"),value:n.padding||"",initialPosition:5,onChange:function(e){return a(t,{padding:e})},min:0,max:100}),wp.element.createElement("hr",null),wp.element.createElement(ee,{label:Q("Margin"),value:n.margin||"",initialPosition:5,onChange:function(e){return a(t,{margin:e})},min:0,max:100})),wp.element.createElement(X,{title:Q("Color"),initialOpen:!1},wp.element.createElement(Y,null,wp.element.createElement(J,{isSmall:!0,isSecondary:o,isPrimary:!o,onClick:function(){return r(!1)}},Q("Normal")),wp.element.createElement(J,{isSmall:!0,isSecondary:!o,isPrimary:o,onClick:function(){return r(!0)}},Q("Hover"))),o?wp.element.createElement(oe,null,wp.element.createElement(h.a,{label:"Hover Background",colorValue:n.backgroundColorHover},wp.element.createElement(ne,{label:"Hover Background",value:n.backgroundColorHover,onChange:function(e){return a(t,{backgroundColorHover:e})}})),wp.element.createElement(h.a,{label:"Hover Icon",colorValue:n.textColorHover},wp.element.createElement(ne,{label:"Hover Icon",value:n.textColorHover,onChange:function(e){return a(t,{textColorHover:e})}})),wp.element.createElement(ae,{textColor:n.textColorHover,backgroundColor:n.backgroundColorHover})):wp.element.createElement(oe,null,wp.element.createElement(h.a,{label:"Background",colorValue:n.backgroundColor},wp.element.createElement(ne,{label:"Background",value:n.backgroundColor,onChange:function(e){return a(t,{backgroundColor:e})}})),wp.element.createElement(h.a,{label:"Icon",colorValue:n.textColor},wp.element.createElement(ne,{label:"Icon",value:n.textColor,onChange:function(e){return a(t,{textColor:e})}})),wp.element.createElement(ae,{textColor:n.textColor,backgroundColor:n.backgroundColor}))))};function ce(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var de=wp.i18n.__,pe=wp.components,ue=pe.BaseControl,me=pe.Button,se=pe.ButtonGroup,be=pe.Icon,ge=pe.PanelBody,fe=pe.RangeControl,ye=pe.SelectControl,he=pe.ToggleControl,we=wp.data.useSelect,ve=wp.element.Fragment,ke=function(e){var t=e.blockName,n=e.defaults,l=e.changeConfig,o=we((function(e){var t=e("themeisle-gutenberg/data").getView,n=e("core/edit-post").__experimentalGetPreviewDeviceType;return n?n():t()}),[]),r=function(){var e;return"Desktop"===o&&(e=n.paddingType),"Tablet"===o&&(e=n.paddingTypeTablet),"Mobile"===o&&(e=n.paddingTypeMobile),e};r=r();var i={top:"paddingTop",right:"paddingRight",bottom:"paddingBottom",left:"paddingLeft"},c={top:"paddingTopTablet",right:"paddingRightTablet",bottom:"paddingBottomTablet",left:"paddingLeftTablet"},d={top:"paddingTopMobile",right:"paddingRightMobile",bottom:"paddingBottomMobile",left:"paddingLeftMobile"},p=function(e){var t;return"top"==e&&("Desktop"===o&&(t="linked"===n.paddingType?n.padding:n.paddingTop),"Tablet"===o&&(t="linked"===n.paddingTypeTablet?n.paddingTablet:n.paddingTopTablet),"Mobile"===o&&(t="linked"===n.paddingTypeMobile?n.paddingMobile:n.paddingTopMobile)),"right"==e&&("Desktop"===o&&(t="linked"===n.paddingType?n.padding:n.paddingRight),"Tablet"===o&&(t="linked"===n.paddingTypeTablet?n.paddingTablet:n.paddingRightTablet),"Mobile"===o&&(t="linked"===n.paddingTypeMobile?n.paddingMobile:n.paddingRightMobile)),"bottom"==e&&("Desktop"===o&&(t="linked"===n.paddingType?n.padding:n.paddingBottom),"Tablet"===o&&(t="linked"===n.paddingTypeTablet?n.paddingTablet:n.paddingBottomTablet),"Mobile"===o&&(t="linked"===n.paddingTypeMobile?n.paddingMobile:n.paddingBottomMobile)),"left"==e&&("Desktop"===o&&(t="linked"===n.paddingType?n.padding:n.paddingLeft),"Tablet"===o&&(t="linked"===n.paddingTypeTablet?n.paddingTablet:n.paddingLeftTablet),"Mobile"===o&&(t="linked"===n.paddingTypeMobile?n.paddingMobile:n.paddingLeftMobile)),t},u=function(){var e;return"Desktop"===o&&(e=n.marginType),"Tablet"===o&&(e=n.marginTypeTablet),"Mobile"===o&&(e=n.marginTypeMobile),e};u=u();var m={top:"marginTop",bottom:"marginBottom"},s={top:"marginTopTablet",bottom:"marginBottomTablet"},b={top:"marginTopMobile",bottom:"marginBottomMobile"},g=function(e){var t;return"top"==e&&("Desktop"===o&&(t="linked"===n.marginType?n.margin:n.marginTop),"Tablet"===o&&(t="linked"===n.marginTypeTablet?n.marginTablet:n.marginTopTablet),"Mobile"===o&&(t="linked"===n.marginTypeMobile?n.marginMobile:n.marginTopMobile)),"bottom"==e&&("Desktop"===o&&(t="linked"===n.marginType?n.margin:n.marginBottom),"Tablet"===o&&(t="linked"===n.marginTypeTablet?n.marginTablet:n.marginBottomTablet),"Mobile"===o&&(t="linked"===n.marginTypeMobile?n.marginMobile:n.marginBottomMobile)),t},f=function(e){if(n.horizontalAlign===e)return l(t,{horizontalAlign:"unset"});l(t,{horizontalAlign:e})},y=function(){var e;return"Desktop"===o&&(e=n.columnsHeightCustom),"Tablet"===o&&(e=n.columnsHeightCustomTablet),"Mobile"===o&&(e=n.columnsHeightCustomMobile),e};y=y();var h=function(e){if(n.verticalAlign===e)return l(t,{verticalAlign:"unset"});l(t,{verticalAlign:e})};return wp.element.createElement(ve,null,wp.element.createElement(ge,{title:de("Sizing")},wp.element.createElement(ye,{label:de("Columns Gap"),value:n.columnsGap,options:[{label:"Default (10px)",value:"default"},{label:"No Gap",value:"nogap"},{label:"Narrow (5px)",value:"narrow"},{label:"Extended (15px)",value:"extended"},{label:"Wide (20px)",value:"wide"},{label:"Wider (30px)",value:"wider"}],onChange:function(e){return l(t,{columnsGap:e})}}),wp.element.createElement(v.a,{label:"Padding"},wp.element.createElement(k.a,{type:r,min:0,max:500,changeType:function(e){"Desktop"===o&&l(t,{paddingType:e}),"Tablet"===o&&l(t,{paddingTypeTablet:e}),"Mobile"===o&&l(t,{paddingTypeMobile:e})},onChange:function(e,a){"Desktop"===o&&("linked"===n.paddingType?l(t,{padding:a}):l(t,ce({},i[e],a))),"Tablet"===o&&("linked"===n.paddingTypeTablet?l(t,{paddingTablet:a}):l(t,ce({},c[e],a))),"Mobile"===o&&("linked"===n.paddingTypeMobile?l(t,{paddingMobile:a}):l(t,ce({},d[e],a)))},options:[{label:de("Top"),type:"top",value:p("top")},{label:de("Right"),type:"right",value:p("right")},{label:de("Bottom"),type:"bottom",value:p("bottom")},{label:de("Left"),type:"left",value:p("left")}]})),wp.element.createElement("hr",null),wp.element.createElement(v.a,{label:"Margin"},wp.element.createElement(k.a,{type:u,min:-500,max:500,changeType:function(e){"Desktop"===o&&l(t,{marginType:e}),"Tablet"===o&&l(t,{marginTypeTablet:e}),"Mobile"===o&&l(t,{marginTypeMobile:e})},onChange:function(e,a){"Desktop"===o&&("linked"===n.marginType?l(t,{margin:a}):l(t,ce({},m[e],a))),"Tablet"===o&&("linked"===n.marginTypeTablet?l(t,{marginTablet:a}):l(t,ce({},s[e],a))),"Mobile"===o&&("linked"===n.marginTypeMobile?l(t,{marginMobile:a}):l(t,ce({},b[e],a)))},options:[{label:de("Top"),type:"top",value:g("top")},{label:de("Right"),disabled:!0},{label:de("Bottom"),type:"bottom",value:g("bottom")},{label:de("Left"),disabled:!0}]}))),wp.element.createElement(ge,{title:de("Section Structure"),initialOpen:!1},wp.element.createElement(ye,{label:de("HTML Tag"),value:n.columnsHTMLTag,options:[{label:"Default (div)",value:"div"},{label:"section",value:"section"},{label:"header",value:"header"},{label:"footer",value:"footer"},{label:"article",value:"article"},{label:"main",value:"main"}],onChange:function(e){return l(t,{columnsHTMLTag:e})}}),wp.element.createElement("hr",null),wp.element.createElement(fe,{label:de("Maximum Content Width"),value:n.columnsWidth||"",onChange:function(e){(0<=e&&1200>=e||void 0===e)&&l(t,{columnsWidth:e})},min:0,max:1200}),wp.element.createElement("hr",null),n.columnsWidth&&wp.element.createElement(ve,null,wp.element.createElement(ue,{label:"Horizontal Align"},wp.element.createElement(se,{className:"wp-block-themeisle-icon-buttom-group"},wp.element.createElement(me,{icon:"editor-alignleft",label:de("Left"),showTooltip:!0,isLarge:!0,isPrimary:"flex-start"===n.horizontalAlign,onClick:function(){return f("flex-start")}}),wp.element.createElement(me,{icon:"editor-aligncenter",label:de("Center"),showTooltip:!0,isLarge:!0,isPrimary:"center"===n.horizontalAlign,onClick:function(){return f("center")}}),wp.element.createElement(me,{icon:"editor-alignright",label:de("Right"),showTooltip:!0,isLarge:!0,isPrimary:"flex-end"===n.horizontalAlign,onClick:function(){return f("flex-end")}}))),wp.element.createElement("hr",null)),wp.element.createElement(ye,{label:de("Minimum Height"),value:n.columnsHeight,options:[{label:"Default",value:"auto"},{label:"Fit to Screen",value:"100vh"},{label:"Custom",value:"custom"}],onChange:function(e){return l(t,{columnsHeight:e})}}),wp.element.createElement("hr",null),"custom"===n.columnsHeight&&wp.element.createElement(ve,null,wp.element.createElement(v.a,{label:"Custom Height"},wp.element.createElement(fe,{value:y||"",onChange:function(e){"Desktop"===o&&l(t,{columnsHeightCustom:e}),"Tablet"===o&&l(t,{columnsHeightCustomTablet:e}),"Mobile"===o&&l(t,{columnsHeightCustomMobile:e})},min:0,max:1e3})),wp.element.createElement("hr",null)),wp.element.createElement(ue,{label:"Vertical Align"},wp.element.createElement(se,{className:"wp-block-themeisle-icon-buttom-group"},wp.element.createElement(me,{icon:wp.element.createElement(be,{icon:a.t,size:20}),label:de("Top"),showTooltip:!0,isLarge:!0,isPrimary:"flex-start"===n.verticalAlign,onClick:function(){return h("flex-start")}}),wp.element.createElement(me,{icon:wp.element.createElement(be,{icon:a.k,size:20}),label:de("Middle"),showTooltip:!0,isLarge:!0,isPrimary:"center"===n.verticalAlign,onClick:function(){return h("center")}}),wp.element.createElement(me,{icon:wp.element.createElement(be,{icon:a.c,size:20}),label:de("Bottom"),showTooltip:!0,isLarge:!0,isPrimary:"flex-end"===n.verticalAlign,onClick:function(){return h("flex-end")}})))),wp.element.createElement(ge,{title:de("Responsive"),initialOpen:!1},wp.element.createElement(he,{label:"Hide this section in Desktop devices?",checked:n.hide,onChange:function(e){return l(t,{hide:e})}}),wp.element.createElement(he,{label:"Hide this section in Tablet devices?",checked:n.hideTablet,onChange:function(e){return l(t,{hideTablet:e})}}),wp.element.createElement(he,{label:"Hide this section in Mobile devices?",checked:n.hideMobile,onChange:function(e){return l(t,{hideMobile:e})}})))};function Te(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ee=wp.i18n.__,xe=wp.components,Ce=xe.PanelBody,Se=xe.SelectControl,Me=wp.data.useSelect,Be=wp.element.Fragment,Oe=function(e){var t=e.blockName,n=e.defaults,a=e.changeConfig,l=Me((function(e){var t=e("themeisle-gutenberg/data").getView,n=e("core/edit-post").__experimentalGetPreviewDeviceType;return n?n():t()}),[]),o=function(){var e;return"Desktop"===l&&(e=n.paddingType),"Tablet"===l&&(e=n.paddingTypeTablet),"Mobile"===l&&(e=n.paddingTypeMobile),e};o=o();var r={top:"paddingTop",right:"paddingRight",bottom:"paddingBottom",left:"paddingLeft"},i={top:"paddingTopTablet",right:"paddingRightTablet",bottom:"paddingBottomTablet",left:"paddingLeftTablet"},c={top:"paddingTopMobile",right:"paddingRightMobile",bottom:"paddingBottomMobile",left:"paddingLeftMobile"},d=function(e){var t;return"top"==e&&("Desktop"===l&&(t="linked"===n.paddingType?n.padding:n.paddingTop),"Tablet"===l&&(t="linked"===n.paddingTypeTablet?n.paddingTablet:n.paddingTopTablet),"Mobile"===l&&(t="linked"===n.paddingTypeMobile?n.paddingMobile:n.paddingTopMobile)),"right"==e&&("Desktop"===l&&(t="linked"===n.paddingType?n.padding:n.paddingRight),"Tablet"===l&&(t="linked"===n.paddingTypeTablet?n.paddingTablet:n.paddingRightTablet),"Mobile"===l&&(t="linked"===n.paddingTypeMobile?n.paddingMobile:n.paddingRightMobile)),"bottom"==e&&("Desktop"===l&&(t="linked"===n.paddingType?n.padding:n.paddingBottom),"Tablet"===l&&(t="linked"===n.paddingTypeTablet?n.paddingTablet:n.paddingBottomTablet),"Mobile"===l&&(t="linked"===n.paddingTypeMobile?n.paddingMobile:n.paddingBottomMobile)),"left"==e&&("Desktop"===l&&(t="linked"===n.paddingType?n.padding:n.paddingLeft),"Tablet"===l&&(t="linked"===n.paddingTypeTablet?n.paddingTablet:n.paddingLeftTablet),"Mobile"===l&&(t="linked"===n.paddingTypeMobile?n.paddingMobile:n.paddingLeftMobile)),t},p=function(){var e;return"Desktop"===l&&(e=n.marginType),"Tablet"===l&&(e=n.marginTypeTablet),"Mobile"===l&&(e=n.marginTypeMobile),e};p=p();var u={top:"marginTop",right:"marginRight",bottom:"marginBottom",left:"marginLeft"},m={top:"marginTopTablet",right:"marginRightTablet",bottom:"marginBottomTablet",left:"marginLeftTablet"},s={top:"marginTopMobile",right:"marginRightMobile",bottom:"marginBottomMobile",left:"marginLeftMobile"},b=function(e){var t;return"top"==e&&("Desktop"===l&&(t="linked"===n.marginType?n.margin:n.marginTop),"Tablet"===l&&(t="linked"===n.marginTypeTablet?n.marginTablet:n.marginTopTablet),"Mobile"===l&&(t="linked"===n.marginTypeMobile?n.marginMobile:n.marginTopMobile)),"right"==e&&("Desktop"===l&&(t="linked"===n.marginType?n.margin:n.marginRight),"Tablet"===l&&(t="linked"===n.marginTypeTablet?n.marginTablet:n.marginRightTablet),"Mobile"===l&&(t="linked"===n.marginTypeMobile?n.marginMobile:n.marginRightMobile)),"bottom"==e&&("Desktop"===l&&(t="linked"===n.marginType?n.margin:n.marginBottom),"Tablet"===l&&(t="linked"===n.marginTypeTablet?n.marginTablet:n.marginBottomTablet),"Mobile"===l&&(t="linked"===n.marginTypeMobile?n.marginMobile:n.marginBottomMobile)),"left"==e&&("Desktop"===l&&(t="linked"===n.marginType?n.margin:n.marginLeft),"Tablet"===l&&(t="linked"===n.marginTypeTablet?n.marginTablet:n.marginLeftTablet),"Mobile"===l&&(t="linked"===n.marginTypeMobile?n.marginMobile:n.marginLeftMobile)),t};return wp.element.createElement(Be,null,wp.element.createElement(Ce,{title:Ee("Sizing")},wp.element.createElement(v.a,{label:"Padding"},wp.element.createElement(k.a,{type:o,min:0,max:500,changeType:function(e){"Desktop"===l&&a(t,{paddingType:e}),"Tablet"===l&&a(t,{paddingTypeTablet:e}),"Mobile"===l&&a(t,{paddingTypeMobile:e})},onChange:function(e,o){"Desktop"===l&&("linked"===n.paddingType?a(t,{padding:o}):a(t,Te({},r[e],o))),"Tablet"===l&&("linked"===n.paddingTypeTablet?a(t,{paddingTablet:o}):a(t,Te({},i[e],o))),"Mobile"===l&&("linked"===n.paddingTypeMobile?a(t,{paddingMobile:o}):a(t,Te({},c[e],o)))},options:[{label:Ee("Top"),type:"top",value:d("top")},{label:Ee("Right"),type:"right",value:d("right")},{label:Ee("Bottom"),type:"bottom",value:d("bottom")},{label:Ee("Left"),type:"left",value:d("left")}]})),wp.element.createElement("hr",null),wp.element.createElement(v.a,{label:"Margin"},wp.element.createElement(k.a,{type:p,min:-500,max:500,changeType:function(e){"Desktop"===l&&a(t,{marginType:e}),"Tablet"===l&&a(t,{marginTypeTablet:e}),"Mobile"===l&&a(t,{marginTypeMobile:e})},onChange:function(e,o){"Desktop"===l&&("linked"===n.marginType?a(t,{margin:o}):a(t,Te({},u[e],o))),"Tablet"===l&&("linked"===n.marginTypeTablet?a(t,{marginTablet:o}):a(t,Te({},m[e],o))),"Mobile"===l&&("linked"===n.marginTypeMobile?a(t,{marginMobile:o}):a(t,Te({},s[e],o)))},options:[{label:Ee("Top"),type:"top",value:b("top")},{label:Ee("Right"),type:"right",value:b("right")},{label:Ee("Bottom"),type:"bottom",value:b("bottom")},{label:Ee("Left"),type:"left",value:b("left")}]}))),wp.element.createElement(Ce,{title:Ee("Section Settings"),initialOpen:!1},wp.element.createElement(Se,{label:Ee("HTML Tag"),value:n.columnsHTMLTag,options:[{label:"Default (div)",value:"div"},{label:"section",value:"section"},{label:"header",value:"header"},{label:"footer",value:"footer"},{label:"article",value:"article"},{label:"main",value:"main"}],onChange:function(e){return a(t,{columnsHTMLTag:e})}})))},Re=wp.i18n.__,Le=wp.components.PanelBody,Ae=function(e){var t=e.blockDefaults,n=e.changeConfig,a=e.resetConfig,l=e.saveConfig,o=[{name:"themeisle-blocks/advanced-heading",control:L},{name:"themeisle-blocks/button-group",control:U},{name:"themeisle-blocks/font-awesome-icons",control:ie},{name:"themeisle-blocks/advanced-columns",control:ke},{name:"themeisle-blocks/advanced-column",control:Oe}];return wp.element.createElement(Le,{title:"Global Defaults",className:"wp-block-themeisle-blocks-options-global-defaults"},Re("With Global Defaults, you can set site-wide block defaults for Otter."),wp.element.createElement("div",{className:"wp-block-themeisle-blocks-options-global-defaults-list"},o.map((function(e){var o=e.control;return wp.element.createElement(y,{blockName:e.name,saveConfig:l,resetConfig:a},wp.element.createElement(o,{blockName:e.name,defaults:t[e.name],changeConfig:n}))}))))},Ne=n(6);function Pe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function ze(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function He(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return _e(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _e(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _e(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}function Ie(e){return(Ie="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function je(e,t,n,a,l,o,r){try{var i=e[o](r),c=i.value}catch(e){return void n(e)}i.done?t(c):Promise.resolve(c).then(a,l)}function De(e){return function(){var t=this,n=arguments;return new Promise((function(a,l){var o=e.apply(t,n);function r(e){je(o,a,l,r,i,"next",e)}function i(e){je(o,a,l,r,i,"throw",e)}r(void 0)}))}}var Ge=wp.i18n.__,Ve=lodash,Fe=Ve.cloneDeep,We=Ve.isEqual,qe=Ve.merge,Ue=wp.apiFetch,Ze=wp.components,$e=Ze.PanelBody,Qe=Ze.Snackbar,Ke=Ze.ToggleControl,Je=wp.data.useDispatch,Ye=wp.element,Xe=Ye.Fragment,et=Ye.useEffect,tt=Ye.useRef,nt=Ye.useState,at=wp.editPost,lt=at.PluginSidebar,ot=at.PluginSidebarMoreMenuItem,rt=function(){var e=Je("core/notices").createNotice;et(De(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Ue({path:"wp/v2/users/me?context=edit"});case 2:if(!e.sent.capabilities.manage_options){e.next=8;break}return a(!0),e.next=7,wp.api.loadPromise.then((function(){s.current=new wp.api.models.Settings}));case 7:!1===o&&s.current.fetch().then((function(e){if(m(Boolean(e.themeisle_blocks_settings_default_block)),""!==e.themeisle_blocks_settings_global_defaults){var t=Fe(Ne.a);"object"===Ie(window.themeisleGutenberg.themeDefaults)&&(t=qe(t,window.themeisleGutenberg.themeDefaults)),t=qe(t,JSON.parse(e.themeisle_blocks_settings_global_defaults)),window.themeisleGutenberg.globalDefaults=JSON.parse(e.themeisle_blocks_settings_global_defaults),d(t)}else{var n=Fe(Ne.a);"object"===Ie(window.themeisleGutenberg.themeDefaults)&&(n=qe(n,window.themeisleGutenberg.themeDefaults)),window.themeisleGutenberg.globalDefaults={},d(n)}r(!1)}));case 8:case"end":return e.stop()}}),e)}))),[]);var t=He(nt(!1),2),n=t[0],a=t[1],l=He(nt(!1),2),o=l[0],r=l[1],i=He(nt({}),2),c=i[0],d=i[1],p=He(nt(!1),2),u=p[0],m=p[1],s=tt(null),b=function(t){Qe&&e("info",t,{isDismissible:!0,type:"snackbar"})},g=function(){var e=De(regeneratorRuntime.mark((function e(){var t,n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=Fe(c),Object.keys(t).forEach((function(e){Object.keys(t[e]).forEach((function(n){(void 0!==Ne.a[e][n]&&t[e][n]===Ne.a[e][n]||"object"===Ie(t[e][n])&&We(t[e][n],Ne.a[e][n]))&&delete t[e][n]}))})),n=new wp.api.models.Settings({themeisle_blocks_settings_global_defaults:JSON.stringify(t)}),e.next=5,n.save().then((function(){window.themeisleGutenberg.globalDefaults=t,b(Ge("Option updated."))}));case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return wp.element.createElement(Xe,null,n&&wp.element.createElement(ot,{target:"wp-block-themeisle-blocks-options"},Ge("Otter Options")),wp.element.createElement(lt,{title:Ge("Otter Options"),name:"wp-block-themeisle-blocks-options"},wp.element.createElement($e,{className:"wp-block-themeisle-blocks-options-general"},wp.element.createElement(Ke,{label:Ge("Make Section block your default block for Pages?"),checked:u,onChange:function(){new wp.api.models.Settings({themeisle_blocks_settings_default_block:!Boolean(u)}).save().then((function(e){m(Boolean(e.themeisle_blocks_settings_default_block)),b(Ge("Option updated."))}))}})),wp.element.createElement(Ae,{blockDefaults:c,changeConfig:function(e,t){var n=Fe(c);for(var a in t)n[e][a]=t[a];d(n)},resetConfig:function(e){var t=Fe(c),n=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Pe(Object(n),!0).forEach((function(t){ze(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Pe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},Ne.a[e]);t[e]=n,d(t)},saveConfig:g})))},it=(n(44),n(45),wp.components.Icon);(0,wp.plugins.registerPlugin)("themeisle-blocks",{icon:wp.element.createElement(it,{icon:a.m}),render:rt})},function(e,t,n){"use strict";n.r(t);n(55),n(56);var a=n(3),l={id:{type:"string"},buttons:{type:"number",default:2},align:{type:"string"},spacing:{type:"number",default:20},collapse:{type:"string",default:"collapse-none"},fontSize:{type:"number"},fontFamily:{type:"string"},fontVariant:{type:"string"},textTransform:{type:"string"},fontStyle:{type:"string"},lineHeight:{type:"number"},data:{type:"array",default:[{text:"",link:"",newTab:!1,color:"",background:"",border:"",hoverColor:"",hoverBackground:"",hoverBorder:"",borderSize:"",borderRadius:"",boxShadow:!1,boxShadowColor:"",boxShadowColorOpacity:50,boxShadowBlur:5,boxShadowSpread:1,boxShadowHorizontal:0,boxShadowVertical:0,hoverBoxShadowColor:"",hoverBoxShadowColorOpacity:50,hoverBoxShadowBlur:5,hoverBoxShadowSpread:1,hoverBoxShadowHorizontal:0,hoverBoxShadowVertical:0,iconType:"none",prefix:"",icon:"",paddingTopBottom:"",paddingLeftRight:""},{text:"",link:"",newTab:!1,color:"",background:"",border:"",hoverColor:"",hoverBackground:"",hoverBorder:"",borderSize:"",borderRadius:"",boxShadow:!1,boxShadowColor:"",boxShadowColorOpacity:50,boxShadowBlur:5,boxShadowSpread:1,boxShadowHorizontal:0,boxShadowVertical:0,hoverBoxShadowColor:"",hoverBoxShadowColorOpacity:50,hoverBoxShadowBlur:5,hoverBoxShadowSpread:1,hoverBoxShadowHorizontal:0,hoverBoxShadowVertical:0,iconType:"none",prefix:"",icon:"",paddingTopBottom:"",paddingLeftRight:""}]}},o=n(0),r=n.n(o);function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){d(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function d(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var p=lodash.times,u=wp.editor.RichText,m=wp.element.Fragment,s=[{attributes:{id:{type:"string"},buttons:{type:"number",default:2},align:{type:"string"},spacing:{type:"number",default:20},collapse:{type:"string",default:"collapse-none"},fontSize:{type:"number",default:18},fontFamily:{type:"string"},fontVariant:{type:"string"},textTransform:{type:"string"},fontStyle:{type:"string",default:"normal"},lineHeight:{type:"number"},data:{type:"array",default:[{text:"",link:"",newTab:!1,color:"#ffffff",background:"#32373c",border:"",hoverColor:"",hoverBackground:"",hoverBorder:"",borderSize:0,borderRadius:0,boxShadow:!1,boxShadowColor:"",boxShadowColorOpacity:50,boxShadowBlur:5,boxShadowSpread:1,boxShadowHorizontal:0,boxShadowVertical:0,hoverBoxShadowColor:"",hoverBoxShadowColorOpacity:50,hoverBoxShadowBlur:5,hoverBoxShadowSpread:1,hoverBoxShadowHorizontal:0,hoverBoxShadowVertical:0,iconType:"none",prefix:"",icon:"",paddingTopBottom:12,paddingLeftRight:24},{text:"",link:"",newTab:!1,color:"#ffffff",background:"#32373c",border:"",hoverColor:"",hoverBackground:"",hoverBorder:"",borderSize:0,borderRadius:0,boxShadow:!1,boxShadowColor:"",boxShadowColorOpacity:50,boxShadowBlur:5,boxShadowSpread:1,boxShadowHorizontal:0,boxShadowVertical:0,hoverBoxShadowColor:"",hoverBoxShadowColorOpacity:50,hoverBoxShadowBlur:5,hoverBoxShadowSpread:1,hoverBoxShadowHorizontal:0,hoverBoxShadowVertical:0,iconType:"none",prefix:"",icon:"",paddingTopBottom:12,paddingLeftRight:24}]}},save:function(e){var t=e.attributes,n=t.id,a=t.buttons,l=t.align,o=t.collapse,i=t.fontSize,d=t.fontFamily,s=t.fontStyle,b=t.fontVariant,g=t.textTransform,f=t.lineHeight,y=t.data,h={fontSize:"".concat(i,"px"),fontFamily:d,fontWeight:b,fontStyle:s,textTransform:g,lineHeight:f&&"".concat(f,"px")},w="collapse-none"!==o?o:"";return wp.element.createElement("div",{id:n,className:r()(e.className,w),style:{justifyContent:l,alignItems:l||"flex-start"}},p(a,(function(e){return function(e){var t=c(c({},h),{},{borderWidth:"".concat(y[e].borderSize,"px"),borderRadius:"".concat(y[e].borderRadius,"px"),padding:"".concat(y[e].paddingTopBottom,"px ").concat(y[e].paddingLeftRight,"px")});return wp.element.createElement(m,null,wp.element.createElement("a",{href:y[e].link,target:y[e].newTab?"_blank":"_self",className:r()("wp-block-themeisle-blocks-button","wp-block-themeisle-blocks-button-".concat(e)),style:t},("left"===y[e].iconType||"only"===y[e].iconType)&&wp.element.createElement("i",{className:r()(y[e].prefix,"fa-fw","fa-".concat(y[e].icon),{"margin-right":"left"===y[e].iconType})}),"only"!==y[e].iconType&&wp.element.createElement(u.Content,{tagName:"span",value:y[e].text}),"right"===y[e].iconType&&wp.element.createElement("i",{className:"".concat(y[e].prefix," fa-fw fa-").concat(y[e].icon," margin-left")})))}(e)})))}},{attributes:{id:{type:"string"},buttons:{type:"number",default:2},align:{type:"string"},spacing:{type:"number",default:20},collapse:{type:"string",default:"collapse-none"},fontSize:{type:"number",default:18},fontFamily:{type:"string"},fontVariant:{type:"string"},textTransform:{type:"string"},fontStyle:{type:"string",default:"normal"},lineHeight:{type:"number"},data:{type:"array",default:[{text:"",link:"",newTab:!1,color:"#ffffff",background:"#32373c",border:"",hoverColor:"",hoverBackground:"",hoverBorder:"",borderSize:0,borderRadius:0,boxShadow:!1,boxShadowColor:"",boxShadowColorOpacity:50,boxShadowBlur:5,boxShadowSpread:1,boxShadowHorizontal:0,boxShadowVertical:0,hoverBoxShadowColor:"",hoverBoxShadowColorOpacity:50,hoverBoxShadowBlur:5,hoverBoxShadowSpread:1,hoverBoxShadowHorizontal:0,hoverBoxShadowVertical:0,iconType:"none",prefix:"",icon:"",paddingTopBottom:12,paddingLeftRight:24},{text:"",link:"",newTab:!1,color:"#ffffff",background:"#32373c",border:"",hoverColor:"",hoverBackground:"",hoverBorder:"",borderSize:0,borderRadius:0,boxShadow:!1,boxShadowColor:"",boxShadowColorOpacity:50,boxShadowBlur:5,boxShadowSpread:1,boxShadowHorizontal:0,boxShadowVertical:0,hoverBoxShadowColor:"",hoverBoxShadowColorOpacity:50,hoverBoxShadowBlur:5,hoverBoxShadowSpread:1,hoverBoxShadowHorizontal:0,hoverBoxShadowVertical:0,iconType:"none",prefix:"",icon:"",paddingTopBottom:12,paddingLeftRight:24}]}},save:function(e){var t=e.attributes,n=e.className,a="collapse-none"!==t.collapse?t.collapse:"",l={fontSize:"".concat(t.fontSize,"px"),fontFamily:t.fontFamily,fontWeight:t.fontVariant,fontStyle:t.fontStyle,textTransform:t.textTransform,lineHeight:t.lineHeight&&"".concat(t.lineHeight,"px")};return wp.element.createElement("div",{id:t.id,className:r()(n,a),style:{justifyContent:t.align,alignItems:t.align?t.align:"flex-start"}},p(t.buttons,(function(e){return function(e){var n=c(c({},l),{},{borderWidth:"".concat(t.data[e].borderSize,"px"),borderRadius:"".concat(t.data[e].borderRadius,"px"),padding:"".concat(t.data[e].paddingTopBottom,"px ").concat(t.data[e].paddingLeftRight,"px")});return wp.element.createElement(m,null,wp.element.createElement("a",{href:t.data[e].link,target:t.data[e].newTab?"_blank":"_self",className:r()("wp-block-themeisle-blocks-button","wp-block-themeisle-blocks-button-".concat(e)),style:n,rel:"noopener noreferrer"},("left"===t.data[e].iconType||"only"===t.data[e].iconType)&&wp.element.createElement("i",{className:r()(t.data[e].prefix,"fa-fw","fa-".concat(t.data[e].icon),{"margin-right":"left"===t.data[e].iconType})}),"only"!==t.data[e].iconType&&wp.element.createElement(u.Content,{tagName:"span",value:t.data[e].text}),"right"===t.data[e].iconType&&wp.element.createElement("i",{className:"".concat(t.data[e].prefix," fa-fw fa-").concat(t.data[e].icon," margin-left")})))}(e)})))}}],b=n(19),g=n.n(b),f=n(6),y=n(9),h=wp.i18n.__,w=wp.components,v=w.Button,k=w.Dropdown,T=w.RangeControl,E=w.Toolbar,x=wp.blockEditor,C=x.AlignmentToolbar,S=x.BlockControls,M=wp.element.Fragment,B=function(e){var t=e.attributes,n=e.setAttributes,a=e.changeFontSize,l=e.changeFontFamily,o=e.changeFontVariant,r=e.changeFontStyle,i=e.changeTextTransform,c=e.changeLineHeight;return wp.element.createElement(S,null,wp.element.createElement(C,{value:t.align,onChange:function(e){n({align:e})},alignmentControls:[{icon:"editor-alignleft",title:h("Align left"),align:"flex-start"},{icon:"editor-aligncenter",title:h("Align center"),align:"center"},{icon:"editor-alignright",title:h("Align right"),align:"flex-end"}]}),wp.element.createElement(E,{className:"wp-themesiel-blocks-button-group-components-toolbar"},wp.element.createElement(k,{contentClassName:"wp-themesiel-blocks-button-group-popover-content",position:"bottom center",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return wp.element.createElement(v,{className:"components-dropdown-menu__toggle",icon:"editor-textcolor",onClick:n,"aria-haspopup":"true","aria-expanded":t,label:h("Typography Settings"),showTooltip:!0},wp.element.createElement("span",{className:"components-dropdown-menu__indicator"}))},renderContent:function(){return wp.element.createElement(M,null,wp.element.createElement(T,{label:h("Font Size"),value:t.fontSize,onChange:a,min:0,max:50}),wp.element.createElement(y.a,{label:h("Font Family"),value:t.fontFamily,onChangeFontFamily:l,isSelect:!0,valueVariant:t.fontVariant,onChangeFontVariant:o,valueStyle:t.fontStyle,onChangeFontStyle:r,valueTransform:t.textTransform,onChangeTextTransform:i}),wp.element.createElement(T,{label:h("Line Height"),value:t.lineHeight,onChange:c,min:0,max:200}))}})))},O=n(10),R=n(2),L=n(8),A=n(21),N=n(5);function P(e){return(P="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function z(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return H(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return H(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function H(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var _=wp.i18n.__,I=lodash.times,j=wp.components,D=j.BaseControl,G=j.Button,V=j.ButtonGroup,F=j.Dashicon,W=j.Dropdown,q=j.MenuGroup,U=j.MenuItem,Z=j.Icon,$=j.PanelBody,Q=j.Placeholder,K=j.RangeControl,J=j.SelectControl,Y=j.Spinner,X=j.ToggleControl,ee=wp.blockEditor,te=ee.ColorPalette,ne=ee.InspectorControls,ae=wp.element,le=ae.Fragment,oe=ae.useState,re=React.lazy((function(){return Promise.all([n.e(0),n.e(1)]).then(n.bind(null,106))})),ie=function(e){var t=e.attributes,n=e.setAttributes,l=e.selectedButton,o=e.wait,i=e.changeButtons,c=e.changeButton,d=e.updateButton,p=e.changeFontSize,u=e.changeFontFamily,m=e.changeFontVariant,s=e.changeFontStyle,b=e.changeTextTransform,g=e.changeLineHeight,f=z(oe("buttons"),2),h=f[0],w=f[1],v=z(oe(!1),2),k=v[0],T=v[1];return wp.element.createElement(ne,null,wp.element.createElement($,{className:"wp-block-themeisle-blocks-button-group-header-panel"},wp.element.createElement(G,{className:r()("header-tab",{"is-selected":"buttons"===h}),onClick:function(){return w("buttons")}},wp.element.createElement("span",null,wp.element.createElement(Z,{icon:a.d}),_("Buttons"))),wp.element.createElement(G,{className:r()("header-tab",{"is-selected":"group"===h}),onClick:function(){return w("group")}},wp.element.createElement("span",null,wp.element.createElement(F,{icon:"admin-generic"}),_("Group Settings")))),"buttons"===h&&wp.element.createElement(le,null,wp.element.createElement($,{opened:!0},wp.element.createElement(K,{label:_("Number of Buttons"),value:t.buttons,onChange:i,min:1,max:5}),wp.element.createElement(D,{label:_("Edit Button"),className:"wp-block-themeisle-blocks-select-button-container"},wp.element.createElement(W,{contentClassName:"wp-block-themeisle-blocks-select-button-popover",position:"bottom center",renderToggle:function(e){var n=e.isOpen,a=e.onToggle;return wp.element.createElement(G,{isLarge:!0,className:"wp-block-themeisle-blocks-select-button-button",onClick:a,"aria-expanded":n},_("Button")+" "+(l+1)+": "+Object(O.b)(t.data[l].text))},renderContent:function(e){var n=e.onToggle;return wp.element.createElement(q,null,I(t.buttons,(function(e){return wp.element.createElement(U,{onClick:function(){c(e),n()}},_("Button")+" "+(e+1)+": "+Object(O.b)(t.data[e].text))})))}}))),o?wp.element.createElement(Q,{className:"wp-themeisle-block-spinner"},wp.element.createElement(Y,null)):wp.element.createElement(le,null,wp.element.createElement($,{title:_("Link")},wp.element.createElement(A.a,{label:"Link",placeholder:_("https://…"),value:t.data[l].link,onChange:function(e){return d({link:e},l)}},wp.element.createElement(X,{label:"Open in New Tab?",checked:t.data[l].newTab,onChange:function(){return d({newTab:!t.data[l].newTab},l)}}))),wp.element.createElement($,{title:_("Color & Border"),initialOpen:!1},wp.element.createElement(V,null,wp.element.createElement(G,{isSmall:!0,isSecondary:k,isPrimary:!k,onClick:function(){return T(!1)}},_("Normal")),wp.element.createElement(G,{isSmall:!0,isSecondary:!k,isPrimary:k,onClick:function(){return T(!0)}},_("Hover"))),k?wp.element.createElement(le,null,wp.element.createElement(R.a,{label:"Hover Color",colorValue:t.data[l].hoverColor},wp.element.createElement(te,{label:"Hover Color",value:t.data[l].hoverColor,onChange:function(e){return d({hoverColor:e},l)}})),wp.element.createElement(R.a,{label:"Hover Background",colorValue:t.data[l].hoverBackground},wp.element.createElement(te,{label:"Hover Background",value:t.data[l].hoverBackground,onChange:function(e){return d({hoverBackground:e},l)}})),wp.element.createElement(R.a,{label:"Hover Border",colorValue:t.data[l].hoverBorder},wp.element.createElement(te,{label:"Hover Border",value:t.data[l].hoverBorder,onChange:function(e){return d({hoverBorder:e},l)}}))):wp.element.createElement(le,null,wp.element.createElement(R.a,{label:"Color",colorValue:t.data[l].color},wp.element.createElement(te,{label:"Color",value:t.data[l].color,onChange:function(e){return d({color:e},l)}})),wp.element.createElement(R.a,{label:"Background",colorValue:t.data[l].background},wp.element.createElement(te,{label:"Background",value:t.data[l].background,onChange:function(e){return d({background:e},l)}})),wp.element.createElement(R.a,{label:"Border",colorValue:t.data[l].border},wp.element.createElement(te,{label:"Border",value:t.data[l].border,onChange:function(e){return d({border:e},l)}}))),wp.element.createElement(K,{label:_("Border Width"),className:"border-width",value:t.data[l].borderSize,onChange:function(e){return d({borderSize:e},l)},min:0,max:10}),wp.element.createElement(K,{label:_("Border Radius"),value:t.data[l].borderRadius,onChange:function(e){return d({borderRadius:e},l)},min:0,max:100})),wp.element.createElement($,{title:_("Box Shadow"),initialOpen:!1},wp.element.createElement(X,{label:"Box Shadow",checked:t.data[l].boxShadow,onChange:function(){return d({boxShadow:!t.data[l].boxShadow},l)}}),t.data[l].boxShadow&&wp.element.createElement(le,null,wp.element.createElement(V,null,wp.element.createElement(G,{isSmall:!0,isSecondary:k,isPrimary:!k,onClick:function(){return T(!1)}},_("Normal")),wp.element.createElement(G,{isSmall:!0,isSecondary:!k,isPrimary:k,onClick:function(){return T(!0)}},_("Hover"))),!k&&wp.element.createElement(le,null,wp.element.createElement(R.a,{label:"Shadow Color",colorValue:t.data[l].boxShadowColor},wp.element.createElement(te,{label:"Shadow Color",value:t.data[l].boxShadowColor,onChange:function(e){return d({boxShadowColor:e},l)}})),wp.element.createElement(L.a,{label:"Shadow Properties"},wp.element.createElement(K,{label:_("Opacity"),value:t.data[l].boxShadowColorOpacity,onChange:function(e){return d({boxShadowColorOpacity:e},l)},min:0,max:100}),wp.element.createElement(K,{label:_("Blur"),value:t.data[l].boxShadowBlur,onChange:function(e){return d({boxShadowBlur:e},l)},min:0,max:100}),wp.element.createElement(K,{label:_("Spread"),value:t.data[l].boxShadowSpread,onChange:function(e){return d({boxShadowSpread:e},l)},min:-100,max:100}),wp.element.createElement(K,{label:_("Horizontal"),value:t.data[l].boxShadowHorizontal,onChange:function(e){return d({boxShadowHorizontal:e},l)},min:-100,max:100}),wp.element.createElement(K,{label:_("Vertical"),value:t.data[l].boxShadowVertical,onChange:function(e){return d({boxShadowVertical:e},l)},min:-100,max:100})))||k&&wp.element.createElement(le,null,wp.element.createElement(R.a,{label:"Hover Shadow Color",colorValue:t.data[l].hoverBoxShadowColor},wp.element.createElement(te,{label:"Hover Shadow Color",value:t.data[l].hoverBoxShadowColor,onChange:function(e){return d({hoverBoxShadowColor:e},l)}})),wp.element.createElement(L.a,{label:"Hover Shadow Properties"},wp.element.createElement(K,{label:_("Opacity"),value:t.data[l].hoverBoxShadowColorOpacity,onChange:function(e){return d({hoverBoxShadowColorOpacity:e},l)},min:0,max:100}),wp.element.createElement(K,{label:_("Blur"),value:t.data[l].hoverBoxShadowBlur,onChange:function(e){return d({hoverBoxShadowBlur:e},l)},min:0,max:100}),wp.element.createElement(K,{label:_("Spread"),value:t.data[l].hoverBoxShadowSpread,onChange:function(e){return d({hoverBoxShadowSpread:e},l)},min:-100,max:100}),wp.element.createElement(K,{label:_("Horizontal"),value:t.data[l].hoverBoxShadowHorizontal,onChange:function(e){return d({hoverBoxShadowHorizontal:e},l)},min:-100,max:100}),wp.element.createElement(K,{label:_("Vertical"),value:t.data[l].hoverBoxShadowVertical,onChange:function(e){return d({hoverBoxShadowVertical:e},l)},min:-100,max:100}))))),wp.element.createElement($,{title:_("Icon Settings"),initialOpen:!1},wp.element.createElement(J,{label:_("Icon Position"),value:t.data[l].iconType,options:[{label:"No Icon",value:"none"},{label:"Left",value:"left"},{label:"Right",value:"right"},{label:"Icon Only",value:"only"}],onChange:function(e){return d({iconType:e},l)}}),"none"!==t.data[l].iconType&&wp.element.createElement(le,null,wp.element.createElement(React.Suspense,{fallback:wp.element.createElement(Q,{className:"wp-themeisle-block-spinner"},wp.element.createElement(Y,null))},wp.element.createElement(re,{label:_("Icon Picker"),prefix:t.data[l].prefix,icon:t.data[l].icon,onChange:function(e){"object"===P(e)?d({icon:e.name,prefix:e.prefix},l):d({icon:e},l)}})))),wp.element.createElement($,{title:_("Spacing"),initialOpen:!1},wp.element.createElement(N.a,{label:_("Padding"),min:0,max:100,onChange:function(e,t){return function(e,t,n){"top"!==e&&"bottom"!==e||d({paddingTopBottom:t},n),"left"!==e&&"right"!==e||d({paddingLeftRight:t},n)}(e,t,l)},options:[{label:_("Top"),type:"top",value:t.data[l].paddingTopBottom},{label:_("Right"),type:"right",value:t.data[l].paddingLeftRight},{label:_("Bottom"),type:"bottom",value:t.data[l].paddingTopBottom},{label:_("Left"),type:"left",value:t.data[l].paddingLeftRight}]}))))||"group"===h&&wp.element.createElement(le,null,wp.element.createElement($,{title:_("Spacing")},wp.element.createElement(K,{label:_("Spacing"),value:t.spacing,onChange:function(e){n({spacing:e})},min:0,max:50}),wp.element.createElement(J,{label:_("Collapse On"),value:t.collapse,options:[{label:"None",value:"collapse-none"},{label:"Desktop",value:"collapse-desktop"},{label:"Tablet",value:"collapse-tablet"},{label:"Mobile",value:"collapse-mobile"}],onChange:function(e){n({collapse:e})}})),wp.element.createElement($,{title:_("Typography Settings"),initialOpen:!1},wp.element.createElement(K,{label:_("Font Size"),value:t.fontSize,onChange:p,min:0,max:50}),wp.element.createElement(y.a,{label:_("Font Family"),value:t.fontFamily,onChangeFontFamily:u,valueVariant:t.fontVariant,onChangeFontVariant:m,valueStyle:t.fontStyle,onChangeFontStyle:s,valueTransform:t.textTransform,onChangeTextTransform:b}),wp.element.createElement(K,{label:_("Line Height"),value:t.lineHeight,onChange:g,min:0,max:200}))))},ce=n(7),de=n.n(ce);function pe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function ue(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function me(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return se(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return se(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function se(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var be=wp.i18n.__,ge=wp.blockEditor.RichText,fe=wp.element,ye=fe.Fragment,he=fe.useState,we=function(e){var t=e.index,n=e.attributes,a=e.changeButton,l=e.updateButton,o=me(he((function(){return 0===t})),2),i=o[0],c=o[1],d={};n.data[t].boxShadow&&(d={boxShadow:"".concat(n.data[t].boxShadowHorizontal,"px ").concat(n.data[t].boxShadowVertical,"px ").concat(n.data[t].boxShadowBlur,"px ").concat(n.data[t].boxShadowSpread,"px ").concat(de()(n.data[t].boxShadowColor?n.data[t].boxShadowColor:"#000000",n.data[t].boxShadowColorOpacity))});var p=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?pe(Object(n),!0).forEach((function(t){ue(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):pe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({fontSize:"".concat(n.fontSize,"px"),fontFamily:n.fontFamily,fontWeight:n.fontVariant,fontStyle:n.fontStyle,textTransform:n.textTransform,lineHeight:n.lineHeight&&"".concat(n.lineHeight,"px"),color:n.data[t].color,background:n.data[t].background,border:"".concat(n.data[t].borderSize,"px solid ").concat(n.data[t].border),borderRadius:"".concat(n.data[t].borderRadius,"px"),paddingTop:"".concat(n.data[t].paddingTopBottom,"px"),paddingBottom:"".concat(n.data[t].paddingTopBottom,"px"),paddingLeft:"".concat(n.data[t].paddingLeftRight,"px"),paddingRight:"".concat(n.data[t].paddingLeftRight,"px"),marginLeft:0===t?"0px":"".concat(n.spacing/2,"px"),marginRight:n.buttons===t+1?"0px":"".concat(n.spacing/2,"px")},d);return wp.element.createElement(ye,null,wp.element.createElement("style",null,"#".concat(n.id," .wp-block-themeisle-blocks-button-").concat(t,":hover {\n\t\t\t\t\tcolor: ").concat(n.data[t].hoverColor?n.data[t].hoverColor:n.data[t].color," !important;\n\t\t\t\t\tbackground: ").concat(n.data[t].hoverBackground?n.data[t].hoverBackground:n.data[t].background," !important;\n\t\t\t\t\tborder: ").concat(n.data[t].borderSize,"px solid ").concat(n.data[t].hoverBorder?n.data[t].hoverBorder:n.data[t].border," !important;\n\t\t\t\t\t").concat(n.data[t].boxShadow?"box-shadow: ".concat(n.data[t].hoverBoxShadowHorizontal,"px ").concat(n.data[t].hoverBoxShadowVertical,"px ").concat(n.data[t].hoverBoxShadowBlur,"px ").concat(n.data[t].hoverBoxShadowSpread,"px ").concat(de()(n.data[t].hoverBoxShadowColor?n.data[t].hoverBoxShadowColor:"#000000",n.data[t].hoverBoxShadowColorOpacity)," !important;"):"","\n\t\t\t\t}")),wp.element.createElement("div",{style:p,className:r()("wp-block-themeisle-blocks-button","wp-block-themeisle-blocks-button-".concat(t),"wp-block-button__link"),onClick:function(){c(!0),a(t)},onBlur:function(){return c(!1)}},("left"===n.data[t].iconType||"only"===n.data[t].iconType)&&wp.element.createElement("i",{className:r()(n.data[t].prefix,"fa-fw","fa-".concat(n.data[t].icon),{"margin-right":"left"===n.data[t].iconType})}),"only"!==n.data[t].iconType&&wp.element.createElement(ge,{placeholder:be("Add text…"),value:n.data[t].text,onChange:function(e){return l({text:e},t)},tagName:"div",keepPlaceholderOnFocus:i,withoutInteractiveFormatting:!0}),"right"===n.data[t].iconType&&wp.element.createElement("i",{className:"".concat(n.data[t].prefix," fa-fw fa-").concat(n.data[t].icon," margin-left")})))};function ve(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||Te(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ke(e){return function(e){if(Array.isArray(e))return Ee(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||Te(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Te(e,t){if(e){if("string"==typeof e)return Ee(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ee(e,t):void 0}}function Ee(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}function xe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Ce(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?xe(Object(n),!0).forEach((function(t){Se(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):xe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Se(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Me=wp.i18n.__,Be=lodash,Oe=Be.isEqual,Re=Be.omit,Le=Be.pick,Ae=Be.times,Ne=wp.components.Button,Pe=wp.element,ze=Pe.Fragment,He=Pe.useEffect,_e=Pe.useRef,Ie=Pe.useState,je=[],De=function(e){var t=e.attributes,n=e.setAttributes,a=e.className,o=e.name,i=e.isSelected,c=e.clientId;He((function(){d()}),[]);var d=function(){var e=window.themeisleGutenberg.blockIDs?window.themeisleGutenberg.blockIDs:[];if(void 0===t.id){var a,r="wp-block-themeisle-blocks-button-group-".concat(c.substr(0,8));if(void 0!==(window.themeisleGutenberg.globalDefaults?window.themeisleGutenberg.globalDefaults:void 0)&&!Oe(f.a[o],window.themeisleGutenberg.globalDefaults[o])){a=Re(Ce({},window.themeisleGutenberg.globalDefaults[o]),"data"),Object.keys(a).map((function(e){if(t[e]!==a[e]&&(void 0!==l[e].default||void 0!==l[e].default&&t[e]!==l[e].default))return delete a[e]}));var i=Le(Ce({},window.themeisleGutenberg.globalDefaults[o]),"data"),d=[];t.data.forEach((function(e,t){var n=Ce({},i.data);Object.keys(n).map((function(a){if(e[a]!==n[a]&&(void 0===l.data.default[t][a]||void 0!==l.data.default[t][a]&&e[a]!==l.data.default[t][a]))return delete n[a]})),d.push(Ce(Ce({},e),n))})),Oe(d,t.data)||(a.data=d)}n(Ce(Ce({},a),{},{id:r})),je.push(r),e.push(r)}else if(je.includes(t.id)){var p="wp-block-themeisle-blocks-button-group-".concat(c.substr(0,8));n({id:p}),je.push(p)}else je.push(t.id),e.push(t.id);window.themeisleGutenberg.blockIDs=ke(e)},p=_e(t.data),u=ve(Ie(0),2),m=u[0],s=u[1],b=ve(Ie(!1),2),y=b[0],h=b[1],w=function(e){s(e),h(!0),setTimeout((function(){h(!1)}),500)},v=function(e){1<=e&&5>=e&&(t.data.length<e&&(Ae(e-t.data.length,(function(){p.current.push({text:t.data[0].text,link:t.data[0].link,newTab:t.data[0].newTab,color:t.data[0].color,border:t.data[0].border,background:t.data[0].background,hoverColor:t.data[0].hoverColor,hoverBackground:t.data[0].hoverBackground,hoverBorder:t.data[0].hoverBorder,borderSize:t.data[0].borderSize,borderRadius:t.data[0].borderRadius,boxShadow:t.data[0].boxShadow,boxShadowColor:t.data[0].boxShadowColor,boxShadowColorOpacity:t.data[0].boxShadowColorOpacity,boxShadowBlur:t.data[0].boxShadowBlur,boxShadowSpread:t.data[0].boxShadowSpread,boxShadowHorizontal:t.data[0].boxShadowHorizontal,boxShadowVertical:t.data[0].boxShadowVertical,hoverBoxShadowColor:t.data[0].hoverBoxShadowColor,hoverBoxShadowColorOpacity:t.data[0].hoverBoxShadowColorOpacity,hoverBoxShadowBlur:t.data[0].hoverBoxShadowBlur,hoverBoxShadowSpread:t.data[0].hoverBoxShadowSpread,hoverBoxShadowHorizontal:t.data[0].hoverBoxShadowHorizontal,hoverBoxShadowVertical:t.data[0].hoverBoxShadowVertical,iconType:t.data[0].iconType,prefix:t.data[0].prefix,icon:t.data[0].icon,paddingTopBottom:t.data[0].paddingTopBottom,paddingLeftRight:t.data[0].paddingLeftRight})})),n({data:p.current})),n({buttons:e}),s(0))},k=function(e){n({fontSize:e})},T=function(e){n(e?{fontFamily:e,fontVariant:"normal",fontStyle:"normal"}:{fontFamily:e,fontVariant:e})},E=function(e){n({fontVariant:e})},x=function(e){n({fontStyle:e})},C=function(e){n({textTransform:e})},S=function(e){n({lineHeight:e})},M=function(e,t){p.current=p.current.map((function(n,a){return t===a&&(n=Ce(Ce({},n),e)),n})),n({data:p.current})},O="collapse-none"!==t.collapse?t.collapse:"";return wp.element.createElement(ze,null,t.fontFamily&&wp.element.createElement(g.a,{fonts:[{font:t.fontFamily,weights:t.fontVariant&&["".concat(t.fontVariant+("italic"===t.fontStyle?":i":""))]}]}),wp.element.createElement(B,{attributes:t,setAttributes:n,changeFontSize:k,changeFontFamily:T,changeFontVariant:E,changeFontStyle:x,changeTextTransform:C,changeLineHeight:S}),wp.element.createElement(ie,{attributes:t,setAttributes:n,selectedButton:m,wait:y,changeButtons:v,changeButton:w,updateButton:M,changeFontSize:k,changeFontFamily:T,changeFontVariant:E,changeFontStyle:x,changeTextTransform:C,changeLineHeight:S}),wp.element.createElement("div",{id:t.id,className:r()(a,O,"wp-block-button"),style:{justifyContent:t.align,alignItems:t.align?t.align:"flex-start"}},Ae(t.buttons,(function(e){return wp.element.createElement(we,{index:e,attributes:t,isSelected:i,changeButton:w,updateButton:M})})),i&&4>=t.buttons&&wp.element.createElement(Ne,{className:"wp-block-themeisle-blocks-button-inserter",icon:"plus-alt",onClick:function(){return v(t.buttons+1)},label:Me("Add Button"),showTooltip:!0})))},Ge=wp.blockEditor.RichText,Ve=wp.element.Fragment,Fe=function(e){var t=e.index,n=e.attributes;return wp.element.createElement(Ve,null,wp.element.createElement("a",{href:n.data[t].link,target:n.data[t].newTab?"_blank":"_self",className:r()("wp-block-themeisle-blocks-button","wp-block-themeisle-blocks-button-".concat(t),"wp-block-button__link"),rel:"noopener noreferrer"},("left"===n.data[t].iconType||"only"===n.data[t].iconType)&&wp.element.createElement("i",{className:r()(n.data[t].prefix,"fa-fw","fa-".concat(n.data[t].icon),{"margin-right":"left"===n.data[t].iconType})}),"only"!==n.data[t].iconType&&wp.element.createElement(Ge.Content,{tagName:"span",value:n.data[t].text}),"right"===n.data[t].iconType&&wp.element.createElement("i",{className:"".concat(n.data[t].prefix," fa-fw fa-").concat(n.data[t].icon," margin-left")})))},We=lodash.times,qe=function(e){var t=e.attributes,n=e.className,a="collapse-none"!==t.collapse&&t.collapse;return wp.element.createElement("div",{id:t.id,className:r()(n,a,"wp-block-button")},We(t.buttons,(function(e){return wp.element.createElement(Fe,{index:e,attributes:t})})))},Ue=wp.i18n.__;(0,wp.blocks.registerBlockType)("themeisle-blocks/button-group",{title:Ue("Button Group"),description:Ue("Prompt visitors to take action with a button group."),icon:a.d,category:"themeisle-blocks",keywords:[Ue("buttons"),Ue("button group"),Ue("advanced buttons")],attributes:l,deprecated:s,edit:De,save:qe})},function(e,t,n){"use strict";n.r(t);n(48),n(49),n(50);var a=n(3),l={id:{type:"string"},content:{type:"string",source:"html",selector:"h1,h2,h3,h4,h5,h6,div,p,span",default:""},tag:{default:"h2",type:"string"},align:{type:"string"},alignTablet:{type:"string"},alignMobile:{type:"string"},headingColor:{type:"string",default:"#000000"},highlightColor:{type:"string"},highlightBackground:{type:"string"},fontSize:{type:"number"},fontSizeTablet:{type:"number"},fontSizeMobile:{type:"number"},fontFamily:{type:"string"},fontVariant:{type:"string"},fontStyle:{type:"string",default:"normal"},textTransform:{type:"string",default:"none"},lineHeight:{type:"number"},letterSpacing:{type:"number"},textShadow:{type:"boolean",default:!1},textShadowColor:{type:"string",default:"#000000"},textShadowColorOpacity:{type:"number",default:50},textShadowBlur:{type:"number",default:5},textShadowHorizontal:{type:"number",default:0},textShadowVertical:{type:"number",default:0},paddingType:{type:"string",default:"linked"},paddingTypeTablet:{type:"string",default:"linked"},paddingTypeMobile:{type:"string",default:"linked"},padding:{type:"number",default:0},paddingTablet:{type:"number"},paddingMobile:{type:"number"},paddingTop:{type:"number",default:0},paddingTopTablet:{type:"number"},paddingTopMobile:{type:"number"},paddingRight:{type:"number",default:0},paddingRightTablet:{type:"number"},paddingRightMobile:{type:"number"},paddingBottom:{type:"number",default:0},paddingBottomTablet:{type:"number"},paddingBottomMobile:{type:"number"},paddingLeft:{type:"number",default:0},paddingLeftTablet:{type:"number"},paddingLeftMobile:{type:"number"},marginType:{type:"string",default:"unlinked"},marginTypeTablet:{type:"string",default:"unlinked"},marginTypeMobile:{type:"string",default:"unlinked"},margin:{type:"number",default:0},marginTablet:{type:"number"},marginMobile:{type:"number"},marginTop:{type:"number",default:0},marginTopTablet:{type:"number"},marginTopMobile:{type:"number"},marginBottom:{type:"number",default:25},marginBottomTablet:{type:"number"},marginBottomMobile:{type:"number"}},o=n(0),r=n.n(o),i=n(7),c=n.n(i);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function p(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var u=wp.blockEditor.RichText,m=[{attributes:{id:{type:"string"},content:{type:"string",source:"html",selector:"h1,h2,h3,h4,h5,h6,div,p,span",default:""},tag:{default:"h2",type:"string"},align:{type:"string"},alignTablet:{type:"string"},alignMobile:{type:"string"},headingColor:{type:"string",default:"#000000"},highlightColor:{type:"string"},highlightBackground:{type:"string"},fontSize:{type:"number"},fontSizeTablet:{type:"number"},fontSizeMobile:{type:"number"},fontFamily:{type:"string"},fontVariant:{type:"string"},fontStyle:{type:"string",default:"normal"},textTransform:{type:"string",default:"none"},lineHeight:{type:"number"},letterSpacing:{type:"number"},textShadow:{type:"boolean",default:!1},textShadowColor:{type:"string",default:"#000000"},textShadowColorOpacity:{type:"number",default:50},textShadowBlur:{type:"number",default:5},textShadowHorizontal:{type:"number",default:0},textShadowVertical:{type:"number",default:0},paddingType:{type:"string",default:"linked"},paddingTypeTablet:{type:"string",default:"linked"},paddingTypeMobile:{type:"string",default:"linked"},padding:{type:"number",default:0},paddingTablet:{type:"number",default:0},paddingMobile:{type:"number",default:0},paddingTop:{type:"number",default:0},paddingTopTablet:{type:"number",default:0},paddingTopMobile:{type:"number",default:0},paddingRight:{type:"number",default:0},paddingRightTablet:{type:"number",default:0},paddingRightMobile:{type:"number",default:0},paddingBottom:{type:"number",default:0},paddingBottomTablet:{type:"number",default:0},paddingBottomMobile:{type:"number",default:0},paddingLeft:{type:"number",default:0},paddingLeftTablet:{type:"number",default:0},paddingLeftMobile:{type:"number",default:0},marginType:{type:"string",default:"unlinked"},marginTypeTablet:{type:"string",default:"unlinked"},marginTypeMobile:{type:"string",default:"unlinked"},margin:{type:"number",default:0},marginTablet:{type:"number",default:0},marginMobile:{type:"number",default:0},marginTop:{type:"number",default:0},marginTopTablet:{type:"number",default:0},marginTopMobile:{type:"number",default:0},marginBottom:{type:"number",default:25},marginBottomTablet:{type:"number",default:25},marginBottomMobile:{type:"number",default:20}},save:function(e){var t,n=e.attributes,a=e.className;n.textShadow&&(t={textShadow:"".concat(n.textShadowHorizontal,"px ").concat(n.textShadowVertical,"px ").concat(n.textShadowBlur,"px ").concat(c()(n.textShadowColor?n.textShadowColor:"#000000",n.textShadowColorOpacity))});var l=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){p(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({color:n.headingColor,fontFamily:n.fontFamily,fontWeight:"regular"===n.fontVariant?"normal":n.fontVariant,fontStyle:n.fontStyle,textTransform:n.textTransform,lineHeight:n.lineHeight&&"".concat(n.lineHeight,"px"),letterSpacing:n.letterSpacing&&"".concat(n.letterSpacing,"px")},t);return wp.element.createElement(u.Content,{tagName:n.tag,value:n.content,id:n.id,className:r()(n.id,a),style:l})}}],s=wp.blocks.createBlock,b={from:[{type:"block",blocks:["core/heading"],transform:function(e){var t=e.content;return s("themeisle-blocks/advanced-heading",{content:t})}},{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.content;return s("themeisle-blocks/advanced-heading",{content:t})}}],to:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.content;return s("core/paragraph",{content:t})}}]},g=n(19),f=n.n(g),y=n(6),h=n(9),w=wp.i18n.__,v=wp.components,k=v.Button,T=v.Dropdown,E=v.DropdownMenu,x=v.RangeControl,C=v.SVG,S=v.Toolbar,M=wp.blockEditor.BlockControls,B=wp.element.Fragment,O=function(e){var t=e.attributes,n=e.setAttributes,a=e.changeFontFamily,l=e.changeFontVariant,o=e.changeFontStyle,r=e.changeTextTransform,i=e.changeLineHeight,c=e.changeLetterSpacing,d=function(e){return"h1"===e?wp.element.createElement(C,{style:{width:"25px",height:"20px"}},wp.element.createElement("text",{style:{fontSize:"12px"},x:"0",y:"15"},"H1")):"h2"===e?wp.element.createElement(C,{style:{width:"25px",height:"20px"}},wp.element.createElement("text",{style:{fontSize:"12px"},x:"0",y:"15"},"H2")):"h3"===e?wp.element.createElement(C,{style:{width:"25px",height:"20px"}},wp.element.createElement("text",{style:{fontSize:"12px"},x:"0",y:"15"},"H3")):"h4"===e?wp.element.createElement(C,{style:{width:"25px",height:"20px"}},wp.element.createElement("text",{style:{fontSize:"12px"},x:"0",y:"15"},"H4")):"h5"===e?wp.element.createElement(C,{style:{width:"25px",height:"20px"}},wp.element.createElement("text",{style:{fontSize:"12px"},x:"0",y:"15"},"H5")):"h6"===e?wp.element.createElement(C,{style:{width:"25px",height:"20px"}},wp.element.createElement("text",{style:{fontSize:"12px"},x:"0",y:"15"},"H6")):"div"===e?wp.element.createElement(C,{style:{width:"25px",height:"20px"}},wp.element.createElement("text",{style:{fontSize:"12px"},x:"0",y:"15"},"DIV")):"p"===e?wp.element.createElement(C,{style:{width:"25px",height:"20px"}},wp.element.createElement("text",{x:"0",y:"15"},"P")):"span"===e?wp.element.createElement(C,{style:{width:"25px",height:"20px"}},wp.element.createElement("text",{style:{fontSize:"12px"},x:"0",y:"15"},"SPAN")):void 0},p=function(e){n({tag:e})};return wp.element.createElement(M,null,wp.element.createElement(E,{icon:d(t.tag),label:w("Select tag"),className:"components-toolbar",controls:[{title:w("Heading 1"),icon:d("h1"),onClick:function(){return p("h1")}},{title:w("Heading 2"),icon:d("h2"),onClick:function(){return p("h2")}},{title:w("Heading 3"),icon:d("h3"),onClick:function(){return p("h3")}},{title:w("Heading 4"),icon:d("h4"),onClick:function(){return p("h4")}},{title:w("Heading 5"),icon:d("h5"),onClick:function(){return p("h5")}},{title:w("Heading 6"),icon:d("h6"),onClick:function(){return p("h6")}},{title:w("Division"),icon:d("div"),onClick:function(){return p("div")}},{title:w("Paragraph"),icon:d("p"),onClick:function(){return p("p")}},{title:w("Span Tag"),icon:d("span"),onClick:function(){return p("span")}}]}),wp.element.createElement(S,{className:"wp-themesiel-blocks-advanced-heading-components-toolbar"},wp.element.createElement(T,{contentClassName:"wp-themesiel-blocks-advanced-heading-popover-content",position:"bottom center",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return wp.element.createElement(k,{className:"components-dropdown-menu__toggle",icon:"editor-textcolor",onClick:n,"aria-haspopup":"true","aria-expanded":t,label:w("Typography Settings"),showTooltip:!0},wp.element.createElement("span",{className:"components-dropdown-menu__indicator"}))},renderContent:function(){return wp.element.createElement(B,null,wp.element.createElement(h.a,{label:w("Font Family"),value:t.fontFamily,onChangeFontFamily:a,isSelect:!0,valueVariant:t.fontVariant,onChangeFontVariant:l,valueStyle:t.fontStyle,onChangeFontStyle:o,valueTransform:t.textTransform,onChangeTextTransform:r}),wp.element.createElement(x,{label:w("Line Height"),value:t.lineHeight,onChange:i,min:0,max:200}),wp.element.createElement(x,{label:w("Letter Spacing"),value:t.letterSpacing,onChange:c,min:-50,max:100}))}})))},R=n(2),L=n(8),A=n(4),N=n(5),P=n(20);function z(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function H(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return _(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var I=wp.i18n.__,j=wp.blockEditor,D=j.AlignmentToolbar,G=j.ColorPalette,V=j.InspectorControls,F=wp.components,W=F.Button,q=F.Dashicon,U=F.PanelBody,Z=F.RangeControl,$=F.ToggleControl,Q=wp.data.useSelect,K=wp.element,J=K.Fragment,Y=K.useState,X=function(e){var t=e.attributes,n=e.setAttributes,a=e.changeFontFamily,l=e.changeFontVariant,o=e.changeFontStyle,i=e.changeTextTransform,c=e.changeLineHeight,d=e.changeLetterSpacing,p=Q((function(e){var t=e("themeisle-gutenberg/data").getView,n=e("core/edit-post").__experimentalGetPreviewDeviceType;return n?n():t()}),[]),u=H(Y("style"),2),m=u[0],s=u[1],b=function(){var e;return"Desktop"===p&&(e=t.fontSize),"Tablet"===p&&(e=t.fontSizeTablet),"Mobile"===p&&(e=t.fontSizeMobile),e};b=b();var g=function(){var e;return"Desktop"===p&&(e=t.align),"Tablet"===p&&(e=t.alignTablet),"Mobile"===p&&(e=t.alignMobile),e};g=g();var f=function(){var e;return"Desktop"===p&&(e=t.paddingType),"Tablet"===p&&(e=t.paddingTypeTablet),"Mobile"===p&&(e=t.paddingTypeMobile),e};f=f();var y={top:"paddingTop",right:"paddingRight",bottom:"paddingBottom",left:"paddingLeft"},w={top:"paddingTopTablet",right:"paddingRightTablet",bottom:"paddingBottomTablet",left:"paddingLeftTablet"},v={top:"paddingTopMobile",right:"paddingRightMobile",bottom:"paddingBottomMobile",left:"paddingLeftMobile"},k=function(e){var n;return"top"==e&&("Desktop"===p&&(n="linked"===t.paddingType?t.padding:t.paddingTop),"Tablet"===p&&(n="linked"===t.paddingTypeTablet?t.paddingTablet:t.paddingTopTablet),"Mobile"===p&&(n="linked"===t.paddingTypeMobile?t.paddingMobile:t.paddingTopMobile)),"right"==e&&("Desktop"===p&&(n="linked"===t.paddingType?t.padding:t.paddingRight),"Tablet"===p&&(n="linked"===t.paddingTypeTablet?t.paddingTablet:t.paddingRightTablet),"Mobile"===p&&(n="linked"===t.paddingTypeMobile?t.paddingMobile:t.paddingRightMobile)),"bottom"==e&&("Desktop"===p&&(n="linked"===t.paddingType?t.padding:t.paddingBottom),"Tablet"===p&&(n="linked"===t.paddingTypeTablet?t.paddingTablet:t.paddingBottomTablet),"Mobile"===p&&(n="linked"===t.paddingTypeMobile?t.paddingMobile:t.paddingBottomMobile)),"left"==e&&("Desktop"===p&&(n="linked"===t.paddingType?t.padding:t.paddingLeft),"Tablet"===p&&(n="linked"===t.paddingTypeTablet?t.paddingTablet:t.paddingLeftTablet),"Mobile"===p&&(n="linked"===t.paddingTypeMobile?t.paddingMobile:t.paddingLeftMobile)),n},T=function(){var e;return"Desktop"===p&&(e=t.marginType),"Tablet"===p&&(e=t.marginTypeTablet),"Mobile"===p&&(e=t.marginTypeMobile),e};T=T();var E={top:"marginTop",bottom:"marginBottom"},x={top:"marginTopTablet",bottom:"marginBottomTablet"},C={top:"marginTopMobile",bottom:"marginBottomMobile"},S=function(e){var n;return"top"==e&&("Desktop"===p&&(n="linked"===t.marginType?t.margin:t.marginTop),"Tablet"===p&&(n="linked"===t.marginTypeTablet?t.marginTablet:t.marginTopTablet),"Mobile"===p&&(n="linked"===t.marginTypeMobile?t.marginMobile:t.marginTopMobile)),"bottom"==e&&("Desktop"===p&&(n="linked"===t.marginType?t.margin:t.marginBottom),"Tablet"===p&&(n="linked"===t.marginTypeTablet?t.marginTablet:t.marginBottomTablet),"Mobile"===p&&(n="linked"===t.marginTypeMobile?t.marginMobile:t.marginBottomMobile)),n};return wp.element.createElement(J,null,wp.element.createElement(V,null,wp.element.createElement(U,{className:"wp-block-themeisle-blocks-advanced-heading-header-panel"},wp.element.createElement(W,{className:r()("header-tab",{"is-selected":"style"===m}),onClick:function(){return s("style")}},wp.element.createElement("span",null,wp.element.createElement(q,{icon:"admin-customizer"}),I("Style"))),wp.element.createElement(W,{className:r()("header-tab",{"is-selected":"advanced"===m}),onClick:function(){return s("advanced")}},wp.element.createElement("span",null,wp.element.createElement(q,{icon:"admin-generic"}),I("Advanced")))),"style"===m&&wp.element.createElement(J,null,wp.element.createElement(U,{title:I("General Settings")},wp.element.createElement(R.a,{label:I("Heading Color"),colorValue:t.headingColor},wp.element.createElement(G,{label:"Heading Color",value:t.headingColor,onChange:function(e){n({headingColor:e})}})),wp.element.createElement(A.a,{label:"Font Size"},wp.element.createElement(Z,{value:b||"",onChange:function(e){"Desktop"===p&&n({fontSize:e}),"Tablet"===p&&n({fontSizeTablet:e}),"Mobile"===p&&n({fontSizeMobile:e})},min:1,max:500})),wp.element.createElement(A.a,{label:"Alignment"},wp.element.createElement(D,{value:g,onChange:function(e){"Desktop"===p&&n({align:e}),"Tablet"===p&&n({alignTablet:e}),"Mobile"===p&&n({alignMobile:e})},isCollapsed:!1}))),wp.element.createElement(U,{title:I("Typography Settings"),initialOpen:!1},wp.element.createElement(h.a,{label:I("Font Family"),value:t.fontFamily,onChangeFontFamily:a,valueVariant:t.fontVariant,onChangeFontVariant:l,valueStyle:t.fontStyle,onChangeFontStyle:o,valueTransform:t.textTransform,onChangeTextTransform:i}),wp.element.createElement(Z,{label:I("Line Height"),value:t.lineHeight,onChange:c,min:0,max:200}),wp.element.createElement(Z,{label:I("Letter Spacing"),value:t.letterSpacing,onChange:d,min:-50,max:100}),wp.element.createElement($,{label:"Shadow Properties",checked:t.textShadow,onChange:function(e){n({textShadow:e})}}),t.textShadow&&wp.element.createElement(J,null,wp.element.createElement(R.a,{label:I("Color"),colorValue:t.textShadowColor},wp.element.createElement(G,{label:I("Color"),value:t.textShadowColor,onChange:function(e){n({textShadowColor:e})}})),wp.element.createElement(L.a,{label:"Shadow Properties"},wp.element.createElement(Z,{label:I("Opacity"),value:t.textShadowColorOpacity,onChange:function(e){n({textShadowColorOpacity:e})},min:0,max:100}),wp.element.createElement(Z,{label:I("Blur"),value:t.textShadowBlur,onChange:function(e){n({textShadowBlur:e})},min:0,max:100}),wp.element.createElement(Z,{label:I("Horizontal"),value:t.textShadowHorizontal,onChange:function(e){n({textShadowHorizontal:e})},min:-100,max:100}),wp.element.createElement(Z,{label:I("Vertical"),value:t.textShadowVertical,onChange:function(e){n({textShadowVertical:e})},min:-100,max:100})))))||"advanced"===m&&wp.element.createElement(J,null,wp.element.createElement(U,{title:I("Highlight Color")},wp.element.createElement(R.a,{label:I("Highlight Color"),colorValue:t.highlightColor},wp.element.createElement(G,{label:"Highlight Color",value:t.highlightColor,onChange:function(e){n({highlightColor:e})}})),wp.element.createElement(R.a,{label:I("Highlight Background"),colorValue:t.highlightBackground},wp.element.createElement(G,{label:"Highlight Background",value:t.highlightBackground,onChange:function(e){n({highlightBackground:e})}}))),wp.element.createElement(U,{title:I("Spacing"),initialOpen:!1},wp.element.createElement(A.a,{label:"Padding"},wp.element.createElement(N.a,{type:f,min:0,max:500,changeType:function(e){"Desktop"===p&&n({paddingType:e}),"Tablet"===p&&n({paddingTypeTablet:e}),"Mobile"===p&&n({paddingTypeMobile:e})},onChange:function(e,a){"Desktop"===p&&("linked"===t.paddingType?n({padding:a}):n(z({},y[e],a))),"Tablet"===p&&("linked"===t.paddingTypeTablet?n({paddingTablet:a}):n(z({},w[e],a))),"Mobile"===p&&("linked"===t.paddingTypeMobile?n({paddingMobile:a}):n(z({},v[e],a)))},options:[{label:I("Top"),type:"top",value:k("top")},{label:I("Right"),type:"right",value:k("right")},{label:I("Bottom"),type:"bottom",value:k("bottom")},{label:I("Left"),type:"left",value:k("left")}]})),wp.element.createElement(A.a,{label:"Margin"},wp.element.createElement(N.a,{type:T,min:-500,max:500,changeType:function(e){"Desktop"===p&&n({marginType:e}),"Tablet"===p&&n({marginTypeTablet:e}),"Mobile"===p&&n({marginTypeMobile:e})},onChange:function(e,a){"Desktop"===p&&("linked"===t.marginType?n({margin:a}):n(z({},E[e],a))),"Tablet"===p&&("linked"===t.marginTypeTablet?n({marginTablet:a}):n(z({},x[e],a))),"Mobile"===p&&("linked"===t.marginTypeMobile?n({marginMobile:a}):n(z({},C[e],a)))},options:[{label:I("Top"),type:"top",value:S("top")},{label:I("Right"),disabled:!0},{label:I("Bottom"),type:"bottom",value:S("bottom")},{label:I("Left"),disabled:!0}]}))))),wp.element.createElement(P.a,{value:t.id,onChange:function(e){n({id:e})}}))};function ee(e){return function(e){if(Array.isArray(e))return te(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return te(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return te(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function te(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}function ne(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function ae(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ne(Object(n),!0).forEach((function(t){le(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ne(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function le(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var oe=wp.i18n.__,re=lodash.isEqual,ie=wp.blocks.createBlock,ce=wp.blockEditor.RichText,de=wp.compose.useViewportMatch,pe=wp.data.useSelect,ue=wp.element,me=ue.Fragment,se=ue.useEffect,be=[],ge=function(e){var t=e.attributes,n=e.setAttributes,a=e.className,o=e.clientId,i=e.mergeBlocks,d=e.name,p=e.insertBlocksAfter,u=e.onReplace,m=pe((function(e){var t=e("core/edit-post").__experimentalGetPreviewDeviceType;return{isViewportAvailable:!!t,isPreviewDesktop:!!t&&"Desktop"===t(),isPreviewTablet:!!t&&"Tablet"===t(),isPreviewMobile:!!t&&"Mobile"===t()}}),[]),s=m.isViewportAvailable,b=m.isPreviewDesktop,g=m.isPreviewTablet,h=m.isPreviewMobile,w=de("large",">="),v=de("large","<="),k=de("small",">="),T=de("small","<=");se((function(){E()}),[]);var E=function(){var e=window.themeisleGutenberg.blockIDs?window.themeisleGutenberg.blockIDs:[];if(void 0===t.id){var a,r="wp-block-themeisle-blocks-advanced-heading-".concat(o.substr(0,8));void 0!==(window.themeisleGutenberg.globalDefaults?window.themeisleGutenberg.globalDefaults:void 0)&&(re(y.a[d],window.themeisleGutenberg.globalDefaults[d])||(a=ae({},window.themeisleGutenberg.globalDefaults[d]),Object.keys(a).map((function(e){if(t[e]!==a[e]&&void 0!==l[e].default&&t[e]!==l[e].default)return delete a[e]})))),n(ae(ae({},a),{},{id:r})),be.push(r),e.push(r)}else if(be.includes(t.id)){var i="wp-block-themeisle-blocks-advanced-heading-".concat(o.substr(0,8));n({id:i}),be.push(i)}else be.push(t.id),e.push(t.id);window.themeisleGutenberg.blockIDs=ee(e)},x=w&&!v&&k&&!T,C=!w&&!v&&k&&!T,S=!(w||v||k||T);s&&!S&&(x=b,C=g,S=h);var M,B,R,L=function(e){n(e?{fontFamily:e,fontVariant:"normal",fontStyle:"normal"}:{fontFamily:e,fontVariant:e})},A=function(e){n({fontVariant:e})},N=function(e){n({fontStyle:e})},P=function(e){n({textTransform:e})},z=function(e){n({lineHeight:e})},H=function(e){n({letterSpacing:e})};x&&(M={fontSize:"".concat(t.fontSize,"px")},B={textAlign:t.align,paddingTop:"linked"===t.paddingType?"".concat(t.padding,"px"):"".concat(t.paddingTop,"px"),paddingRight:"linked"===t.paddingType?"".concat(t.padding,"px"):"".concat(t.paddingRight,"px"),paddingBottom:"linked"===t.paddingType?"".concat(t.padding,"px"):"".concat(t.paddingBottom,"px"),paddingLeft:"linked"===t.paddingType?"".concat(t.padding,"px"):"".concat(t.paddingLeft,"px"),marginTop:"linked"===t.marginType?"".concat(t.margin,"px"):"".concat(t.marginTop,"px"),marginBottom:"linked"===t.marginType?"".concat(t.margin,"px"):"".concat(t.marginBottom,"px")}),C&&(M={fontSize:"".concat(t.fontSizeTablet,"px")},B={textAlign:t.alignTablet,paddingTop:"linked"===t.paddingTypeTablet?"".concat(t.paddingTablet,"px"):"".concat(t.paddingTopTablet,"px"),paddingRight:"linked"===t.paddingTypeTablet?"".concat(t.paddingTablet,"px"):"".concat(t.paddingRightTablet,"px"),paddingBottom:"linked"===t.paddingTypeTablet?"".concat(t.paddingTablet,"px"):"".concat(t.paddingBottomTablet,"px"),paddingLeft:"linked"===t.paddingTypeTablet?"".concat(t.paddingTablet,"px"):"".concat(t.paddingLeftTablet,"px"),marginTop:"linked"===t.marginTypeTablet?"".concat(t.marginTablet,"px"):"".concat(t.marginTopTablet,"px"),marginBottom:"linked"===t.marginTypeTablet?"".concat(t.marginTablet,"px"):"".concat(t.marginBottomTablet,"px")}),S&&(M={fontSize:"".concat(t.fontSizeMobile,"px")},B={textAlign:t.alignMobile,paddingTop:"linked"===t.paddingTypeMobile?"".concat(t.paddingMobile,"px"):"".concat(t.paddingTopMobile,"px"),paddingRight:"linked"===t.paddingTypeMobile?"".concat(t.paddingMobile,"px"):"".concat(t.paddingRightMobile,"px"),paddingBottom:"linked"===t.paddingTypeMobile?"".concat(t.paddingMobile,"px"):"".concat(t.paddingBottomMobile,"px"),paddingLeft:"linked"===t.paddingTypeMobile?"".concat(t.paddingMobile,"px"):"".concat(t.paddingLeftMobile,"px"),marginTop:"linked"===t.marginTypeMobile?"".concat(t.marginMobile,"px"):"".concat(t.marginTopMobile,"px"),marginBottom:"linked"===t.marginTypeMobile?"".concat(t.marginMobile,"px"):"".concat(t.marginBottomMobile,"px")}),t.textShadow&&(R={textShadow:"".concat(t.textShadowHorizontal,"px ").concat(t.textShadowVertical,"px ").concat(t.textShadowBlur,"px ").concat(c()(t.textShadowColor?t.textShadowColor:"#000000",t.textShadowColorOpacity))});var _=ae(ae(ae({color:t.headingColor},M),{},{fontFamily:t.fontFamily?t.fontFamily:"inherit",fontWeight:"regular"===t.fontVariant?"normal":t.fontVariant,fontStyle:t.fontStyle,textTransform:t.textTransform,lineHeight:t.lineHeight&&"".concat(t.lineHeight,"px"),letterSpacing:t.letterSpacing&&"".concat(t.letterSpacing,"px")},B),R);return wp.element.createElement(me,null,wp.element.createElement("style",null,".".concat(t.id," mark {\n\t\t\t\t\t\tcolor: ").concat(t.highlightColor,";\n\t\t\t\t\t\tbackground: ").concat(t.highlightBackground,";\n\t\t\t\t\t}")),t.fontFamily&&wp.element.createElement(f.a,{fonts:[{font:t.fontFamily,weights:t.fontVariant&&["".concat(t.fontVariant+("italic"===t.fontStyle?":i":""))]}]}),wp.element.createElement(O,{attributes:t,setAttributes:n,changeFontFamily:L,changeFontVariant:A,changeFontStyle:N,changeTextTransform:P,changeLineHeight:z,changeLetterSpacing:H}),wp.element.createElement(X,{attributes:t,setAttributes:n,changeFontFamily:L,changeFontVariant:A,changeFontStyle:N,changeTextTransform:P,changeLineHeight:z,changeLetterSpacing:H}),wp.element.createElement(ce,{identifier:"content",className:r()(t.id,a),value:t.content,placeholder:oe("Write heading…"),tagName:t.tag,formattingControls:["bold","italic","link","strikethrough","mark"],allowedFormats:["core/bold","core/italic","core/link","core/strikethrough","themeisle-blocks/mark"],onMerge:i,unstableOnSplit:p?function(e,t){n({content:e});for(var a=arguments.length,l=new Array(a>2?a-2:0),o=2;o<a;o++)l[o-2]=arguments[o];p([].concat(l,[ie("core/paragraph",{content:t})]))}:void 0,onRemove:function(){return u([])},style:_,onChange:function(e){n({content:e})}}))},fe=wp.blockEditor.RichText,ye=function(e){var t=e.attributes,n=e.className;return wp.element.createElement(fe.Content,{tagName:t.tag,value:t.content,id:t.id,className:r()(t.id,n)})},he=wp.i18n.__;(0,wp.blocks.registerBlockType)("themeisle-blocks/advanced-heading",{title:he("Advanced Heading"),description:he("Advanced Heading gives a spin to editor's Heading block with much needed customization options."),icon:a.i,category:"themeisle-blocks",keywords:[he("heading"),he("title"),he("advanced heading")],attributes:l,deprecated:m,transforms:b,edit:ge,save:ye})},function(e,t,n){"use strict";n.r(t);n(58),n(59);var a=n(3),l={id:{type:"string"},align:{type:"string"},prefix:{type:"string",default:"fab"},icon:{type:"string",default:"themeisle"},link:{type:"string"},newTab:{type:"boolean",default:!1},fontSize:{type:"number",default:16},padding:{type:"number",default:5},margin:{type:"number",default:5},backgroundColor:{type:"string"},textColor:{type:"string"},borderColor:{type:"string"},backgroundColorHover:{type:"string"},textColorHover:{type:"string"},borderColorHover:{type:"string"},borderSize:{type:"number",default:0},borderRadius:{type:"number",default:0}};function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function r(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var c=[{attributes:{prefix:{type:"string",default:"fab"},icon:{type:"string",default:"themeisle"},fontSize:{type:"number",default:16},padding:{type:"number",default:5},margin:{type:"number",default:5},backgroundColor:{type:"string"},textColor:{type:"string"},borderColor:{type:"string"},borderSize:{type:"number",default:0},borderRadius:{type:"number",default:0}},supports:{align:["left","center","right"]},migrate:function(e){var t="center";return e.className.includes("alignleft")&&(t="left"),e.className.includes("aligncenter")&&(t="center"),e.className.includes("alignright")&&(t="right"),r(r({},e),{},{align:t,className:""})},save:function(e){var t={borderRadius:e.attributes.borderRadius+"%",fontSize:e.attributes.fontSize+"px",padding:e.attributes.padding+"px"},n={color:e.attributes.textColor,backgroundColor:e.attributes.backgroundColor,borderColor:e.attributes.borderColor,borderRadius:e.attributes.borderRadius+"%",borderStyle:"solid",borderWidth:e.attributes.borderSize+"px",display:"inline-block",margin:e.attributes.margin+"px"};return wp.element.createElement("p",{className:e.className,style:{textAlign:e.attributes.align}},wp.element.createElement("span",{className:"".concat(e.className,"-container"),style:n},wp.element.createElement("i",{className:"".concat(e.attributes.prefix," fa-").concat(e.attributes.icon),style:t})))}},{attributes:{align:{type:"string"},prefix:{type:"string",default:"fab"},icon:{type:"string",default:"themeisle"},fontSize:{type:"number",default:16},padding:{type:"number",default:5},margin:{type:"number",default:5},backgroundColor:{type:"string"},textColor:{type:"string"},borderColor:{type:"string"},borderSize:{type:"number",default:0},borderRadius:{type:"number",default:0}},save:function(e){var t={borderRadius:e.attributes.borderRadius+"%",fontSize:e.attributes.fontSize+"px",padding:e.attributes.padding+"px"},n={color:e.attributes.textColor,backgroundColor:e.attributes.backgroundColor,borderColor:e.attributes.borderColor,borderRadius:e.attributes.borderRadius+"%",borderStyle:"solid",borderWidth:e.attributes.borderSize+"px",display:"inline-block",margin:e.attributes.margin+"px"};return wp.element.createElement("p",{className:e.className,style:{textAlign:e.attributes.align}},wp.element.createElement("span",{className:"undefined-container",style:n},wp.element.createElement("i",{className:"".concat(e.attributes.prefix," fa-").concat(e.attributes.icon),style:t})))}},{attributes:{id:{type:"string"},align:{type:"string"},prefix:{type:"string",default:"fab"},icon:{type:"string",default:"themeisle"},link:{type:"string"},newTab:{type:"boolean",default:!1},fontSize:{type:"number",default:16},padding:{type:"number",default:5},margin:{type:"number",default:5},backgroundColor:{type:"string"},textColor:{type:"string"},borderColor:{type:"string"},backgroundColorHover:{type:"string"},textColorHover:{type:"string"},borderColorHover:{type:"string"},borderSize:{type:"number",default:0},borderRadius:{type:"number",default:0}},save:function(e){var t=e.attributes,n=e.className,a={borderRadius:t.borderRadius+"%",borderStyle:"solid",borderWidth:t.borderSize+"px",display:"inline-block",margin:t.margin+"px"},l={borderRadius:t.borderRadius+"%",fontSize:t.fontSize+"px",padding:t.padding+"px"},o=function(){return wp.element.createElement("i",{className:"".concat(t.prefix," fa-").concat(t.icon),style:l})};return wp.element.createElement("p",{className:n,id:t.id,style:{textAlign:t.align}},wp.element.createElement("span",{className:"wp-block-themeisle-blocks-font-awesome-icons-container",style:a},t.link?wp.element.createElement("a",{href:t.link,target:t.newTab?"_blank":"_self",style:{color:t.textColor},rel:"noopener noreferrer"},wp.element.createElement(o,null)):wp.element.createElement(o,null)))}}],d=n(6),p=wp.i18n.__,u=wp.blockEditor,m=u.AlignmentToolbar,s=u.BlockControls,b=function(e){var t=e.attributes,n=e.setAttributes;return wp.element.createElement(s,null,wp.element.createElement(m,{value:t.align,onChange:function(e){n({align:e})},alignmentControls:[{icon:"editor-alignleft",title:p("Align left"),align:"left"},{icon:"editor-aligncenter",title:p("Align center"),align:"center"},{icon:"editor-alignright",title:p("Align right"),align:"right"}]}))},g=n(2),f=n(21);function y(e){return(y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function h(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return w(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return w(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function w(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var v=wp.i18n.__,k=wp.components,T=k.Button,E=k.ButtonGroup,x=k.PanelBody,C=k.Placeholder,S=k.RangeControl,M=k.Spinner,B=k.ToggleControl,O=wp.blockEditor,R=O.ColorPalette,L=O.ContrastChecker,A=O.InspectorControls,N=wp.element,P=N.Fragment,z=N.useState,H=React.lazy((function(){return Promise.all([n.e(0),n.e(1)]).then(n.bind(null,106))})),_=function(e){var t=e.attributes,n=e.setAttributes,a=h(z(!1),2),l=a[0],o=a[1];return wp.element.createElement(A,null,wp.element.createElement(x,{title:v("Icon Settings")},wp.element.createElement(React.Suspense,{fallback:wp.element.createElement(C,{className:"wp-themeisle-block-spinner"},wp.element.createElement(M,null))},wp.element.createElement(H,{label:v("Icon Picker"),prefix:t.prefix,icon:t.icon,onChange:function(e){"object"===y(e)?n({icon:e.name,prefix:e.prefix}):n({icon:e})}})),wp.element.createElement(f.a,{label:v("Link"),placeholder:"https://…",value:t.link,onChange:function(e){n({link:e})}},wp.element.createElement(B,{label:"Open in New Tab?",checked:t.newTab,onChange:function(){n({newTab:!t.newTab})}}))),wp.element.createElement(x,{title:v("Icon Sizes"),initialOpen:!1},wp.element.createElement(S,{label:v("Icon Size"),value:t.fontSize||"",initialPosition:16,onChange:function(e){n({fontSize:e})},min:12,max:140}),wp.element.createElement(S,{label:v("Padding"),value:t.padding||"",initialPosition:5,onChange:function(e){n({padding:e})},min:0,max:100}),wp.element.createElement(S,{label:v("Margin"),value:t.margin||"",initialPosition:5,onChange:function(e){n({margin:e})},min:0,max:100})),wp.element.createElement(x,{title:v("Color"),initialOpen:!1},wp.element.createElement(E,null,wp.element.createElement(T,{isSmall:!0,isSecondary:l,isPrimary:!l,onClick:function(){return o(!1)}},v("Normal")),wp.element.createElement(T,{isSmall:!0,isSecondary:!l,isPrimary:l,onClick:function(){return o(!0)}},v("Hover"))),l?wp.element.createElement(P,null,wp.element.createElement(g.a,{label:"Hover Background",colorValue:t.backgroundColorHover},wp.element.createElement(R,{label:"Hover Background",value:t.backgroundColorHover,onChange:function(e){n({backgroundColorHover:e})}})),wp.element.createElement(g.a,{label:"Hover Icon",colorValue:t.textColorHover},wp.element.createElement(R,{label:"Hover Icon",value:t.textColorHover,onChange:function(e){n({textColorHover:e})}})),wp.element.createElement(g.a,{label:"Hover Border",colorValue:t.borderColorHover},wp.element.createElement(R,{label:"Hover Border",value:t.borderColorHover,onChange:function(e){n({borderColorHover:e})}})),wp.element.createElement(L,{textColor:t.textColorHover,backgroundColor:t.backgroundColorHover})):wp.element.createElement(P,null,wp.element.createElement(g.a,{label:"Background",colorValue:t.backgroundColor},wp.element.createElement(R,{label:"Background",value:t.backgroundColor,onChange:function(e){n({backgroundColor:e})}})),wp.element.createElement(g.a,{label:"Icon",colorValue:t.textColor},wp.element.createElement(R,{label:"Icon",value:t.textColor,onChange:function(e){n({textColor:e})}})),wp.element.createElement(g.a,{label:"Border",colorValue:t.borderColor},wp.element.createElement(R,{label:"Border",value:t.borderColor,onChange:function(e){n({borderColor:e})}})),wp.element.createElement(L,{textColor:t.textColor,backgroundColor:t.backgroundColor}))),wp.element.createElement(x,{title:v("Border Settings"),initialOpen:!1},wp.element.createElement(S,{label:v("Border Size"),value:t.borderSize,onChange:function(e){n({borderSize:e})},min:0,max:120}),wp.element.createElement(S,{label:v("Border Radius"),value:t.borderRadius,onChange:function(e){n({borderRadius:e})},min:0,max:100})))};function I(e){return function(e){if(Array.isArray(e))return j(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return j(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return j(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function j(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}function D(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function G(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?D(Object(n),!0).forEach((function(t){V(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):D(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function V(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var F=lodash.isEqual,W=wp.element,q=W.Fragment,U=W.useEffect,Z=[],$=function(e){var t=e.attributes,n=e.setAttributes,a=e.className,o=e.clientId,r=e.name;U((function(){i()}),[]);var i=function(){var e=window.themeisleGutenberg.blockIDs?window.themeisleGutenberg.blockIDs:[];if(void 0===t.id){var a,i="wp-block-themeisle-blocks-font-awesome-icons-".concat(o.substr(0,8));void 0!==(window.themeisleGutenberg.globalDefaults?window.themeisleGutenberg.globalDefaults:void 0)&&(F(d.a[r],window.themeisleGutenberg.globalDefaults[r])||(a=G({},window.themeisleGutenberg.globalDefaults[r]),Object.keys(a).map((function(e){if(t[e]!==a[e]&&void 0!==l[e].default&&t[e]!==l[e].default)return delete a[e]})))),n(G(G({},a),{},{id:i})),Z.push(i),e.push(i)}else if(Z.includes(t.id)){var c="wp-block-themeisle-blocks-font-awesome-icons-".concat(o.substr(0,8));n({id:c}),Z.push(c)}else Z.push(t.id),e.push(t.id);window.themeisleGutenberg.blockIDs=I(e)},c={borderRadius:t.borderRadius+"%",fontSize:t.fontSize+"px",padding:t.padding+"px"},p={color:t.textColor,backgroundColor:t.backgroundColor,borderColor:t.borderColor,borderRadius:t.borderRadius+"%",borderStyle:"solid",borderWidth:t.borderSize+"px",display:"inline-block",margin:t.margin+"px"};return wp.element.createElement(q,null,wp.element.createElement(b,{attributes:t,setAttributes:n}),wp.element.createElement(_,{attributes:t,setAttributes:n}),wp.element.createElement("style",null,"#".concat(t.id," .").concat(a,"-container:hover {\n\t\t\t\t\t\tcolor: ").concat(t.textColorHover?t.textColorHover:t.textColor," !important;\n\t\t\t\t\t\tbackground: ").concat(t.backgroundColorHover?t.backgroundColorHover:t.backgroundColor," !important;\n\t\t\t\t\t\tborder-color: ").concat(t.borderColorHover?t.borderColorHover:t.borderColor," !important;\n\t\t\t\t\t}")),wp.element.createElement("p",{className:a,id:t.id,style:{textAlign:t.align}},wp.element.createElement("span",{className:"wp-block-themeisle-blocks-font-awesome-icons-container",style:p},wp.element.createElement("i",{className:"".concat(t.prefix," fa-").concat(t.icon),style:c}))))},Q=function(e){var t=e.attributes,n=e.className;return wp.element.createElement("p",{className:n,id:t.id},wp.element.createElement("span",{className:"wp-block-themeisle-blocks-font-awesome-icons-container"},t.link?wp.element.createElement("a",{href:t.link,target:t.newTab?"_blank":"_self",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"".concat(t.prefix," fa-").concat(t.icon)})):wp.element.createElement("i",{className:"".concat(t.prefix," fa-").concat(t.icon)})))},K=wp.i18n.__;(0,wp.blocks.registerBlockType)("themeisle-blocks/font-awesome-icons",{title:K("Font Awesome Icons"),description:K("Share buttons for your website visitors to share content on any social sharing service."),icon:a.h,category:"themeisle-blocks",keywords:["font awesome","dashicons","icons"],attributes:l,deprecated:c,edit:$,save:Q})},function(e,t,n){"use strict";n.r(t);n(65),n(66);var a=n(3),l={style:{type:"string",default:"grid"},columns:{type:"number",default:3},template:{type:"array",default:["category","title","meta","description"]},categories:{type:"array",items:{type:"object"}},postsToShow:{type:"number",default:5},order:{type:"string",default:"desc"},orderBy:{type:"string",default:"date"},offset:{type:"number",default:0},imageSize:{type:"string",default:"full"},imageBoxShadow:{type:"boolean",default:!0},displayFeaturedImage:{type:"boolean",default:!0},displayCategory:{type:"boolean",default:!0},displayTitle:{type:"boolean",default:!0},titleTag:{type:"string",default:"h5"},displayMeta:{type:"boolean",default:!0},displayDescription:{type:"boolean",default:!0},excerptLength:{type:"number",default:100},displayDate:{type:"boolean",default:!0},displayAuthor:{type:"boolean",default:!0}};function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function r(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var c=[{attributes:r(r({},l),{},{categories:{type:"string"}}),supports:{align:["wide","full"],html:!1},migrate:function(e){return r(r({},e),{},{categories:[{id:Number(e.categories)}]})},isEligible:function(e){var t=e.categories;return t&&"string"==typeof t},save:function(){return null}}],d=n(12),p=n(35),u=n.n(p),m=n(0),s=n.n(m),b=n(24);function g(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return f(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return f(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var y=lodash,h=y.startCase,w=y.toLower,v=wp.i18n.__,k=wp.components,T=k.Button,E=k.TextControl,x=k.SelectControl,C=k.ToggleControl,S=wp.element,M=S.Fragment,B=S.useState,O=Object(b.c)((function(){return wp.element.createElement("div",{className:"wp-block-themeisle-blocks-posts-grid-builder-handle"},wp.element.createElement("span",null))})),R=function(e){var t,n=e.value,a=e.disabled,l=e.getFields,o=e.toggleFields,r=e.imageSize,i=e.titleTag,c=e.excerptLimit,d=g(B(!1),2),p=d[0],u=d[1],m=h(w(n)),b="hidden",f=v("Display ".concat(m));switch(l(n)&&(b="visibility",f=v("Hide ".concat(m))),n){case"image":case"title":case"meta":case"description":t=!0;break;default:t=!1}return wp.element.createElement("div",{className:s()("wp-block-themeisle-blocks-posts-grid-builder-item-area","wp-block-themeisle-blocks-posts-grid-builder-item-area-".concat(n))},wp.element.createElement("div",{className:s()("wp-block-themeisle-blocks-posts-grid-builder-item",{disabled:a,hidden:!l(n),editable:t})},!a&&wp.element.createElement(O,null),wp.element.createElement("div",{className:"wp-block-themeisle-blocks-posts-grid-builder-label"},m),t&&wp.element.createElement(T,{icon:p?"arrow-up-alt2":"arrow-down-alt2",label:v(p?"Close Settings":"Open Settings"),showTooltip:!0,className:"wp-block-themeisle-blocks-posts-grid-builder-button",onClick:function(){return u(!p)}}),wp.element.createElement(T,{icon:b,label:f,showTooltip:!0,className:"wp-block-themeisle-blocks-posts-grid-builder-button",onClick:function(){o(n),u(!1)}})),t&&wp.element.createElement("div",{className:s()("wp-block-themeisle-blocks-posts-grid-builder-control-area",{opened:p&&l(n)})},"image"===n&&wp.element.createElement(M,null,wp.element.createElement(x,{label:v("Image Size"),value:r.value,options:[{label:v("Thumbnail"),value:"thumbnail"},{label:v("Medium"),value:"medium"},{label:v("Medium Large"),value:"medium_large"},{label:v("Large"),value:"large"},{label:v("Full"),value:"full"}],onChange:r.onChange}),wp.element.createElement(C,{label:"Display Box Shadow?",checked:l("imageBoxShadow"),onChange:function(){return o("imageBoxShadow")}})),"title"===n&&wp.element.createElement(x,{label:v("Title Tag"),value:i.value||"h5",options:[{label:v("H1"),value:"h1"},{label:v("H2"),value:"h2"},{label:v("H3"),value:"h3"},{label:v("H4"),value:"h4"},{label:v("H5"),value:"h5"},{label:v("H6"),value:"h6"}],onChange:i.onChange}),"description"===n&&wp.element.createElement(E,{label:v("Excerpt Limit"),type:"number",value:c.value,onChange:c.onChange}),"meta"===n&&wp.element.createElement(M,null,wp.element.createElement(C,{label:"Display Date?",checked:l("date"),onChange:function(){return o("date")}}),wp.element.createElement(C,{label:"Display Author?",checked:l("author"),onChange:function(){return o("author")}}))))},L=Object(b.b)((function(e){var t=e.value,n=e.disabled,a=e.getFields,l=e.toggleFields,o=e.titleTag,r=e.excerptLimit;return wp.element.createElement(R,{value:t,disabled:n,getFields:a,toggleFields:l,titleTag:o,excerptLimit:r})})),A=Object(b.a)((function(e){var t=e.template,n=e.getFields,a=e.toggleFields,l=e.titleTag,o=e.excerptLimit;return wp.element.createElement("div",null,t.map((function(e,t){return wp.element.createElement(L,{key:"item-".concat(t),index:t,value:e,getFields:n,toggleFields:a,titleTag:l,excerptLimit:o})})))})),N=wp.i18n.__,P=wp.element.Fragment,z=function(e){var t=e.attributes,n=e.setAttributes,a=e.getFields,l=e.toggleFields,o=e.imageSize,r=e.titleTag,i=e.excerptLimit;return wp.element.createElement(P,null,wp.element.createElement("div",{className:s()("wp-block-themeisle-blocks-posts-grid-builder",t.style)},wp.element.createElement(R,{value:N("image"),disabled:!0,getFields:a,toggleFields:l,imageSize:o}),wp.element.createElement(A,{template:t.template,onSortEnd:function(e){var a=e.oldIndex,l=e.newIndex,o=u()(t.template,a,l);n({template:o})},getFields:a,toggleFields:l,titleTag:r,excerptLimit:i,useDragHandle:!0})))};function H(e){return(H="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function I(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_(Object(n),!0).forEach((function(t){j(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function j(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var D=wp.i18n.__,G=wp.components,V=G.PanelBody,F=G.QueryControls,W=G.RangeControl,q=G.TextControl,U=wp.blockEditor.InspectorControls,Z=function(e){var t=e.attributes,n=e.setAttributes,a=e.changeStyle,l=e.categoriesList,o=l.reduce((function(e,t){return I(I({},e),{},j({},t.name,t))}),{}),r=t.categories?t.categories.map((function(e){var t=l.find((function(t){return t.id===Number(e.id)}));return{id:e.id,name:t.name||t.slug}})):[],i="object"===H(t.categories)?1<=t.categories.length?t.categories[0].id:void 0:t.categories;return wp.element.createElement(U,null,wp.element.createElement(V,{title:D("Styles"),initialOpen:!1},wp.element.createElement(d.b,{value:t.style,options:[{label:D("Grid"),value:"grid",image:themeisleGutenberg.assetsPath+"/icons/posts-grid.jpg"},{label:D("List"),value:"list",image:themeisleGutenberg.assetsPath+"/icons/posts-list.jpg"}],onChange:a})),wp.element.createElement(V,{title:D("Settings")},"grid"===t.style&&wp.element.createElement(W,{label:D("Columns"),value:t.columns,onChange:function(e){n({columns:e})},min:1,max:5}),wp.element.createElement(F,{order:t.order,orderBy:t.orderBy,onOrderChange:function(e){return n({order:e})},onOrderByChange:function(e){return n({orderBy:e})},numberOfItems:t.postsToShow,onNumberOfItemsChange:function(e){return n({postsToShow:e})},categoriesList:l,categorySuggestions:o,selectedCategoryId:i,selectedCategories:r,onCategoryChange:function(e){var t;"object"===H(e)?0<e.length&&(t=e.map((function(e){if("object"===H(e))return e;var t=l.find((function(t){return t.name===e}));return t?{id:t.id,name:e}:void 0})).filter((function(e){return void 0!==e}))):""!==e&&(t=[{id:e,name:l.find((function(t){return t.id===Number(e)})).name}]),n({categories:t})}}),wp.element.createElement(q,{label:D("Offset"),help:D("Number of post to displace or pass over."),type:"number",value:t.offset,min:0,onChange:function(e){return n({offset:e})}})),wp.element.createElement(V,{title:D("Design & Layout"),initialOpen:!1},wp.element.createElement(z,{attributes:t,getFields:function(e){return"image"===e?t.displayFeaturedImage:"imageBoxShadow"===e?t.imageBoxShadow:"category"===e?t.displayCategory:"title"===e?t.displayTitle:"meta"===e?t.displayMeta:"description"===e?t.displayDescription:"date"===e?t.displayDate:"author"===e?t.displayAuthor:void 0},toggleFields:function(e){"image"===e&&n({displayFeaturedImage:!t.displayFeaturedImage}),"imageBoxShadow"===e&&n({imageBoxShadow:!t.imageBoxShadow}),"category"===e&&n({displayCategory:!t.displayCategory}),"title"===e&&n({displayTitle:!t.displayTitle}),"meta"===e&&n({displayMeta:!t.displayMeta}),"description"===e&&n({displayDescription:!t.displayDescription}),"date"===e&&n({displayDate:!t.displayDate}),"author"===e&&n({displayAuthor:!t.displayAuthor})},setAttributes:n,imageSize:{value:t.imageSize,onChange:function(e){n({imageSize:e})}},titleTag:{value:t.titleTag,onChange:function(e){n({titleTag:e})}},excerptLimit:{value:t.excerptLength,onChange:function(e){n({excerptLength:e})}}})))},$=n(27),Q=lodash,K=Q.isUndefined,J=Q.pickBy,Y=wp.i18n.__,X=wp.components,ee=X.Disabled,te=X.Placeholder,ne=X.Spinner,ae=wp.data.useSelect,le=wp.element.Fragment,oe=function(e){var t=e.attributes,n=e.setAttributes,a=e.className,l=ae((function(e){var n=t.categories&&0<t.categories.length?t.categories.map((function(e){return e.id})):[],a=J({categories:n,order:t.order,orderby:t.orderBy,per_page:t.postsToShow,offset:t.offset},(function(e){return!K(e)}));return{posts:e("core").getEntityRecords("postType","post",a),categoriesList:e("core").getEntityRecords("taxonomy","category",{per_page:100}),authors:e("core").getAuthors()}}),[t.categories,t.order,t.orderBy,t.postsToShow,t.offset]),o=l.posts,r=l.categoriesList,i=l.authors,c=function(e){n({style:e})};return o&&r&&i?0===o.length?wp.element.createElement(le,null,wp.element.createElement(te,null,Y("No Posts")),r&&t.offset?wp.element.createElement(Z,{attributes:t,setAttributes:n,changeStyle:c,categoriesList:r}):null):wp.element.createElement(le,null,wp.element.createElement(d.a,{label:Y("Block Styles"),value:t.style,options:[{label:Y("Grid"),value:"grid",image:themeisleGutenberg.assetsPath+"/icons/posts-grid.jpg"},{label:Y("List"),value:"list",image:themeisleGutenberg.assetsPath+"/icons/posts-list.jpg"}],onChange:c}),wp.element.createElement(Z,{attributes:t,setAttributes:n,changeStyle:c,categoriesList:r}),wp.element.createElement(ee,null,wp.element.createElement($.default,{className:a,attributes:t,posts:o,categoriesList:r,authors:i}))):wp.element.createElement(le,null,wp.element.createElement(te,{className:"wp-themeisle-block-spinner"},wp.element.createElement(ne,null),Y("Loading Posts")),r&&t.offset?wp.element.createElement(Z,{attributes:t,setAttributes:n,changeStyle:c,categoriesList:r}):null)},re=wp.i18n.__;(0,wp.blocks.registerBlockType)("themeisle-blocks/posts-grid",{title:re("Posts"),description:re("Display a list of your most recent posts in a beautiful layout."),icon:a.o,category:"themeisle-blocks",keywords:["posts","grid","news"],attributes:l,supports:{align:["wide","full"],html:!1},deprecated:c,edit:oe,save:function(){return null}})},function(e,t,n){"use strict";n.r(t);n(83),n(84);var a=n(3),l={facebook:{type:"boolean",default:!0},twitter:{type:"boolean",default:!0},linkedin:{type:"boolean",default:!0},pinterest:{type:"boolean",default:!1},tumblr:{type:"boolean",default:!1},reddit:{type:"boolean",default:!1}},o=n(0),r=n.n(o),i=wp.i18n.__,c={facebook:{label:i("Facebook"),icon:"facebook-f"},twitter:{label:i("Twitter"),icon:"twitter"},linkedin:{label:i("Linkedin"),icon:"linkedin-in"},pinterest:{label:i("Pinterest"),icon:"pinterest-p"},tumblr:{label:i("Tumblr"),icon:"tumblr"},reddit:{label:i("Reddit"),icon:"reddit-alien"}},d=wp.components,p=d.Path,u=d.SVG,m=function(e){var t=e.icon;return"facebook"===t?wp.element.createElement(u,{className:"wp-block-themeisle-toolbar-icon",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 264 512"},wp.element.createElement(p,{fill:"currentColor",d:"M76.7 512V283H0v-91h76.7v-71.7C76.7 42.4 124.3 0 193.8 0c33.3 0 61.9 2.5 70.2 3.6V85h-48.2c-37.8 0-45.1 18-45.1 44.3V192H256l-11.7 91h-73.6v229"})):"twitter"===t?wp.element.createElement(u,{className:"wp-block-themeisle-toolbar-icon",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},wp.element.createElement(p,{fill:"currentColor",d:"M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z"})):"linkedin"===t?wp.element.createElement(u,{className:"wp-block-themeisle-toolbar-icon",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512"},wp.element.createElement(p,{fill:"currentColor",d:"M100.3 480H7.4V180.9h92.9V480zM53.8 140.1C24.1 140.1 0 115.5 0 85.8 0 56.1 24.1 32 53.8 32c29.7 0 53.8 24.1 53.8 53.8 0 29.7-24.1 54.3-53.8 54.3zM448 480h-92.7V334.4c0-34.7-.7-79.2-48.3-79.2-48.3 0-55.7 37.7-55.7 76.7V480h-92.8V180.9h89.1v40.8h1.3c12.4-23.5 42.7-48.3 87.9-48.3 94 0 111.3 61.9 111.3 142.3V480z"})):"pinterest"===t?wp.element.createElement(u,{className:"wp-block-themeisle-toolbar-icon",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 384 512"},wp.element.createElement(p,{fill:"currentColor",d:"M204 6.5C101.4 6.5 0 74.9 0 185.6 0 256 39.6 296 63.6 296c9.9 0 15.6-27.6 15.6-35.4 0-9.3-23.7-29.1-23.7-67.8 0-80.4 61.2-137.4 140.4-137.4 68.1 0 118.5 38.7 118.5 109.8 0 53.1-21.3 152.7-90.3 152.7-24.9 0-46.2-18-46.2-43.8 0-37.8 26.4-74.4 26.4-113.4 0-66.2-93.9-54.2-93.9 25.8 0 16.8 2.1 35.4 9.6 50.7-13.8 59.4-42 147.9-42 209.1 0 18.9 2.7 37.5 4.5 56.4 3.4 3.8 1.7 3.4 6.9 1.5 50.4-69 48.6-82.5 71.4-172.8 12.3 23.4 44.1 36 69.3 36 106.2 0 153.9-103.5 153.9-196.8C384 71.3 298.2 6.5 204 6.5z"})):"tumblr"===t?wp.element.createElement(u,{className:"wp-block-themeisle-toolbar-icon",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 320 512"},wp.element.createElement(p,{fill:"currentColor",d:"M309.8 480.3c-13.6 14.5-50 31.7-97.4 31.7-120.8 0-147-88.8-147-140.6v-144H17.9c-5.5 0-10-4.5-10-10v-68c0-7.2 4.5-13.6 11.3-16 62-21.8 81.5-76 84.3-117.1.8-11 6.5-16.3 16.1-16.3h70.9c5.5 0 10 4.5 10 10v115.2h83c5.5 0 10 4.4 10 9.9v81.7c0 5.5-4.5 10-10 10h-83.4V360c0 34.2 23.7 53.6 68 35.8 4.8-1.9 9-3.2 12.7-2.2 3.5.9 5.8 3.4 7.4 7.9l22 64.3c1.8 5 3.3 10.6-.4 14.5z"})):"reddit"===t?wp.element.createElement(u,{className:"wp-block-themeisle-toolbar-icon",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},wp.element.createElement(p,{fill:"currentColor",d:"M440.3 203.5c-15 0-28.2 6.2-37.9 15.9-35.7-24.7-83.8-40.6-137.1-42.3L293 52.3l88.2 19.8c0 21.6 17.6 39.2 39.2 39.2 22 0 39.7-18.1 39.7-39.7s-17.6-39.7-39.7-39.7c-15.4 0-28.7 9.3-35.3 22l-97.4-21.6c-4.9-1.3-9.7 2.2-11 7.1L246.3 177c-52.9 2.2-100.5 18.1-136.3 42.8-9.7-10.1-23.4-16.3-38.4-16.3-55.6 0-73.8 74.6-22.9 100.1-1.8 7.9-2.6 16.3-2.6 24.7 0 83.8 94.4 151.7 210.3 151.7 116.4 0 210.8-67.9 210.8-151.7 0-8.4-.9-17.2-3.1-25.1 49.9-25.6 31.5-99.7-23.8-99.7zM129.4 308.9c0-22 17.6-39.7 39.7-39.7 21.6 0 39.2 17.6 39.2 39.7 0 21.6-17.6 39.2-39.2 39.2-22 .1-39.7-17.6-39.7-39.2zm214.3 93.5c-36.4 36.4-139.1 36.4-175.5 0-4-3.5-4-9.7 0-13.7 3.5-3.5 9.7-3.5 13.2 0 27.8 28.5 120 29 149 0 3.5-3.5 9.7-3.5 13.2 0 4.1 4 4.1 10.2.1 13.7zm-.8-54.2c-21.6 0-39.2-17.6-39.2-39.2 0-22 17.6-39.7 39.2-39.7 22 0 39.7 17.6 39.7 39.7-.1 21.5-17.7 39.2-39.7 39.2z"})):wp.element.createElement(u,{className:"wp-block-themeisle-toolbar-icon",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},wp.element.createElement(p,{fill:"currentColor",d:"M208 88.286c0-10 6.286-21.714 17.715-21.714 11.142 0 17.714 11.714 17.714 21.714 0 10.285-6.572 21.714-17.714 21.714C214.286 110 208 98.571 208 88.286zm304 160c0 36.001-11.429 102.286-36.286 129.714-22.858 24.858-87.428 61.143-120.857 70.572l-1.143.286v32.571c0 16.286-12.572 30.571-29.143 30.571-10 0-19.429-5.714-24.572-14.286-5.427 8.572-14.856 14.286-24.856 14.286-10 0-19.429-5.714-24.858-14.286-5.142 8.572-14.571 14.286-24.57 14.286-10.286 0-19.429-5.714-24.858-14.286-5.143 8.572-14.571 14.286-24.571 14.286-18.857 0-29.429-15.714-29.429-32.857-16.286 12.285-35.715 19.428-56.571 19.428-22 0-43.429-8.285-60.286-22.857 10.285-.286 20.571-2.286 30.285-5.714-20.857-5.714-39.428-18.857-52-36.286 21.37 4.645 46.209 1.673 67.143-11.143-22-22-56.571-58.857-68.572-87.428C1.143 321.714 0 303.714 0 289.429c0-49.714 20.286-160 86.286-160 10.571 0 18.857 4.858 23.143 14.857a158.792 158.792 0 0 1 12-15.428c2-2.572 5.714-5.429 7.143-8.286 7.999-12.571 11.714-21.142 21.714-34C182.571 45.428 232 17.143 285.143 17.143c6 0 12 .285 17.714 1.143C313.714 6.571 328.857 0 344.572 0c14.571 0 29.714 6 40 16.286.857.858 1.428 2.286 1.428 3.428 0 3.714-10.285 13.429-12.857 16.286 4.286 1.429 15.714 6.858 15.714 12 0 2.857-2.857 5.143-4.571 7.143 31.429 27.714 49.429 67.143 56.286 108 4.286-5.143 10.285-8.572 17.143-8.572 10.571 0 20.857 7.144 28.571 14.001C507.143 187.143 512 221.714 512 248.286zM188 89.428c0 18.286 12.571 37.143 32.286 37.143 19.714 0 32.285-18.857 32.285-37.143 0-18-12.571-36.857-32.285-36.857-19.715 0-32.286 18.858-32.286 36.857zM237.714 194c0-19.714 3.714-39.143 8.571-58.286-52.039 79.534-13.531 184.571 68.858 184.571 21.428 0 42.571-7.714 60-20 2-7.429 3.714-14.857 3.714-22.572 0-14.286-6.286-21.428-20.572-21.428-4.571 0-9.143.857-13.429 1.714-63.343 12.668-107.142 3.669-107.142-63.999zm-41.142 254.858c0-11.143-8.858-20.857-20.286-20.857-11.429 0-20 9.715-20 20.857v32.571c0 11.143 8.571 21.142 20 21.142 11.428 0 20.286-9.715 20.286-21.142v-32.571zm49.143 0c0-11.143-8.572-20.857-20-20.857-11.429 0-20.286 9.715-20.286 20.857v32.571c0 11.143 8.857 21.142 20.286 21.142 11.428 0 20-10 20-21.142v-32.571zm49.713 0c0-11.143-8.857-20.857-20.285-20.857-11.429 0-20.286 9.715-20.286 20.857v32.571c0 11.143 8.857 21.142 20.286 21.142 11.428 0 20.285-9.715 20.285-21.142v-32.571zm49.715 0c0-11.143-8.857-20.857-20.286-20.857-11.428 0-20.286 9.715-20.286 20.857v32.571c0 11.143 8.858 21.142 20.286 21.142 11.429 0 20.286-10 20.286-21.142v-32.571zM421.714 286c-30.857 59.142-90.285 102.572-158.571 102.572-96.571 0-160.571-84.572-160.571-176.572 0-16.857 2-33.429 6-49.714-20 33.715-29.714 72.572-29.714 111.429 0 60.286 24.857 121.715 71.429 160.857 5.143-9.714 14.857-16.286 26-16.286 10 0 19.428 5.714 24.571 14.286 5.429-8.571 14.571-14.286 24.858-14.286 10 0 19.428 5.714 24.571 14.286 5.429-8.571 14.857-14.286 24.858-14.286 10 0 19.428 5.714 24.857 14.286 5.143-8.571 14.571-14.286 24.572-14.286 10.857 0 20.857 6.572 25.714 16 43.427-36.286 68.569-92 71.426-148.286zm10.572-99.714c0-53.714-34.571-105.714-92.572-105.714-30.285 0-58.571 15.143-78.857 36.857C240.862 183.812 233.41 254 302.286 254c28.805 0 97.357-28.538 84.286 36.857 28.857-26 45.714-65.714 45.714-104.571z"}))};var s=wp.i18n.__,b=wp.blockEditor.BlockControls,g=wp.components,f=g.Toolbar,y=g.Button,h=g.Tooltip,w=function(e){var t=e.attributes,n=e.setAttributes,a=function(e){var a,l,o;n((a={},l=e,o=!t[e],l in a?Object.defineProperty(a,l,{value:o,enumerable:!0,configurable:!0,writable:!0}):a[l]=o,a))};return wp.element.createElement(b,null,wp.element.createElement(f,null,Object.keys(c).map((function(e){var n=t[e];return wp.element.createElement(h,{text:s("Display ".concat(c[e].label))},wp.element.createElement(y,{className:r()("components-button","wp-block-themeisle-toolbar",{"is-active":n}),onClick:function(){return a(e)}},wp.element.createElement(m,{icon:e})))}))))};function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function k(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){T(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function T(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var E=wp.components.Disabled,x=wp.element.Fragment,C=wp.serverSideRender,S=function(e){var t=e.attributes,n=e.setAttributes;return wp.element.createElement(x,null,wp.element.createElement(w,{attributes:t,setAttributes:n}),wp.element.createElement(E,null,wp.element.createElement(C,{block:"themeisle-blocks/sharing-icons",attributes:k({},t)})))},M=wp.i18n.__;(0,wp.blocks.registerBlockType)("themeisle-blocks/sharing-icons",{title:M("Sharing Icons"),description:M("Share buttons for your website visitors to share content on any social sharing service."),icon:a.r,category:"themeisle-blocks",keywords:["social media","sharing","icons"],attributes:l,supports:{html:!0,align:["left","center","right"]},styles:[{name:"default",label:M("Regular"),isDefault:!0},{name:"icons",label:M("Icons Only")}],edit:S,save:function(){return null}})},function(e,t,n){"use strict";n.r(t);n(63),n(64);var a=n(3),l={slug:{type:"string"}},o=n(22);function r(e,t,n,a,l,o,r){try{var i=e[o](r),c=i.value}catch(e){return void n(e)}i.done?t(c):Promise.resolve(c).then(a,l)}function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return c(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var d=wp.i18n.__,p=wp.apiFetch,u=wp.components,m=u.Placeholder,s=u.Dashicon,b=u.TextControl,g=u.Spinner,f=wp.element,y=f.useEffect,h=f.useRef,w=f.useState,v=wp.keycodes,k=v.DOWN,T=v.ENTER,E=v.TAB,x=v.UP,C=function(e){var t=e.setAttributes,n=e.hasError,a=e.setError,l=e.className,c=h(null),u=!1,f=[],v=i(w(!1),2),C=v[0],S=v[1],M=i(w(""),2),B=M[0],O=M[1],R=i(w({}),2),L=R[0],A=R[1],N=i(w(null),2),P=N[0],z=N[1];y((function(){null===P||u||(u=!0,Object(o.a)(f[P],c.current,{onlyScrollIfNeeded:!0}),f[P].focus(),setTimeout((function(){u=!1}),100))}),[P]);var H=function(){var e,n=(e=regeneratorRuntime.mark((function e(n){var l;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t({slug:""}),S(!0),a(!1),e.next=5,p({path:"themeisle-gutenberg-blocks/v1/get_plugins?search=".concat(encodeURIComponent(n))});case 5:if(!(l=e.sent).data.errors){e.next=12;break}return a(!0),S(!1),z(null),A({}),e.abrupt("return");case 12:S(!1),z(null),A(l.data.plugins);case 15:case"end":return e.stop()}}),e)})),function(){var t=this,n=arguments;return new Promise((function(a,l){var o=e.apply(t,n);function i(e){r(o,a,l,i,c,"next",e)}function c(e){r(o,a,l,i,c,"throw",e)}i(void 0)}))});return function(e){return n.apply(this,arguments)}}(),I=function(e){if(Object.keys(L).length){e.stopPropagation(),e.preventDefault();var t=P?P-1:Object.keys(L).length-1;z(t)}},j=function(e){if(Object.keys(L).length){e.stopPropagation(),e.preventDefault();var t=null===P||P===Object.keys(L).length-1?0:P+1;z(t)}},D=function(e){t({slug:e.slug}),A({})};return wp.element.createElement(m,{icon:"admin-plugins",label:d("Plugin Card"),instructions:d("Search for the plugin you want to display."),className:l},wp.element.createElement("div",{className:"wp-block-themeisle-blocks-plugin-cards-search-field"},wp.element.createElement(s,{icon:"search"}),C&&wp.element.createElement(g,null),wp.element.createElement(b,{type:"text",placeholder:d("Search for plugin…"),value:B,onChange:O,onKeyDown:function(e){switch(e.keyCode){case x:I(e);break;case k:j(e);break;case E:Object.keys(L).length&&!e.shiftKey&&z(0);break;case T:H(e.target.value)}},onFocus:function(){return z(null)}}),L&&wp.element.createElement("div",{tabIndex:"-1",className:"wp-block-themeisle-blocks-plugin-cards-search-results",ref:c},Object.keys(L).map((function(e){var t,n,a=L[e];return a.icons.svg&&(t=a.icons.svg),a.icons["2x"]&&(t=a.icons["2x"]),a.icons["1x"]&&(t=a.icons["1x"]),a.icons.default&&(t=a.icons.default),wp.element.createElement("button",{className:"wp-block-themeisle-blocks-plugin-cards-list-item",key:e,ref:(n=e,function(e){f[n]=e}),onClick:function(e){e.preventDefault(),D(a)},onKeyDown:function(e){return function(e,t){switch(e.keyCode){case x:I(e);break;case k:j(e);break;case E:if(e.shiftKey){0!==P&&I(e);break}if(P===Object.keys(L).length-1)break;j(e);break;case T:D(t)}}(e,a)}},wp.element.createElement("img",{src:t}),wp.element.createElement("span",{dangerouslySetInnerHTML:{__html:_.unescape(a.name)}}))})))),n&&wp.element.createElement("div",{className:"wp-block-themeisle-blocks-plugin-cards-error"},wp.element.createElement("span",null,d("There seems to be an error. Make sure your internet is working properly."))))},S=wp.i18n.__,M=wp.components,B=M.Dashicon,O=M.Button,R=M.Toolbar,L=M.Tooltip,A=wp.blockEditor.BlockControls,N=function(e){var t=e.setLoaded;return wp.element.createElement(A,null,wp.element.createElement(R,null,wp.element.createElement(L,{text:S("Edit")},wp.element.createElement(O,{className:"components-icon-button components-toolbar__control wp-block-themeisle-blocks-plugin-cards-edit-plugin-card",onClick:function(){return t(!1)}},wp.element.createElement(B,{icon:"edit"})))))};function P(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function z(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?P(Object(n),!0).forEach((function(t){H(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):P(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function H(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function I(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return j(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return j(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function j(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var D=wp.components.Disabled,G=wp.serverSideRender,V=wp.element,F=V.Fragment,W=V.useState,q=function(e){var t=e.attributes,n=e.setAttributes,a=e.className,l=I(W(!1),2),o=l[0],r=l[1];return t.slug?wp.element.createElement(F,null,wp.element.createElement(N,null),wp.element.createElement(D,null,wp.element.createElement(G,{block:"themeisle-blocks/plugin-cards",attributes:z({},t)}))):wp.element.createElement(C,{attributes:t,setAttributes:n,hasError:o,setError:r,className:a})},U=wp.i18n.__;(0,wp.blocks.registerBlockType)("themeisle-blocks/plugin-cards",{title:U("Plugin Card"),description:U("Plugin Card block lets you display plugins data in your blog posts."),icon:a.n,category:"themeisle-blocks",keywords:["plugin","card","orbitfox"],attributes:l,supports:{html:!1},edit:q,save:function(){return null}})},function(e,t,n){"use strict";n.r(t);n(46),n(47);var a=n(3),l=wp.components.Disabled,o=wp.serverSideRender,r=function(){return wp.element.createElement(l,null,wp.element.createElement(o,{block:"themeisle-blocks/about-author"}))},i=wp.i18n.__;(0,wp.blocks.registerBlockType)("themeisle-blocks/about-author",{title:i("About Author"),description:i("About Author block is the easiest way to add a author bio below your posts."),icon:a.a,category:"themeisle-blocks",keywords:["about","author","profile"],supports:{html:!1},edit:r,save:function(){return null}})}]);
1
+ !function(e){function t(t){for(var a,r,i=t[0],c=t[1],p=t[2],m=0,s=[];m<i.length;m++)r=i[m],Object.prototype.hasOwnProperty.call(l,r)&&l[r]&&s.push(l[r][0]),l[r]=0;for(a in c)Object.prototype.hasOwnProperty.call(c,a)&&(e[a]=c[a]);for(d&&d(t);s.length;)s.shift()();return o.push.apply(o,p||[]),n()}function n(){for(var e,t=0;t<o.length;t++){for(var n=o[t],a=!0,i=1;i<n.length;i++){var c=n[i];0!==l[c]&&(a=!1)}a&&(o.splice(t--,1),e=r(r.s=n[0]))}return e}var a={},l={2:0},o=[];function r(t){if(a[t])return a[t].exports;var n=a[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,r),n.l=!0,n.exports}r.e=function(e){var t=[],n=l[e];if(0!==n)if(n)t.push(n[2]);else{var a=new Promise((function(t,a){n=l[e]=[t,a]}));t.push(n[2]=a);var o,i=document.createElement("script");i.charset="utf-8",i.timeout=120,r.nc&&i.setAttribute("nonce",r.nc),i.src=function(e){return r.p+"chunk-"+({}[e]||e)+".js"}(e);var c=new Error;o=function(t){i.onerror=i.onload=null,clearTimeout(p);var n=l[e];if(0!==n){if(n){var a=t&&("load"===t.type?"missing":t.type),o=t&&t.target&&t.target.src;c.message="Loading chunk "+e+" failed.\n("+a+": "+o+")",c.name="ChunkLoadError",c.type=a,c.request=o,n[1](c)}l[e]=void 0}};var p=setTimeout((function(){o({type:"timeout",target:i})}),12e4);i.onerror=i.onload=o,document.head.appendChild(i)}return Promise.all(t)},r.m=e,r.c=a,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)r.d(n,a,function(t){return e[t]}.bind(null,a));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r.oe=function(e){throw console.error(e),e};var i=window.tiOtterWebpackJsonp=window.tiOtterWebpackJsonp||[],c=i.push.bind(i);i.push=t,i=i.slice();for(var p=0;p<i.length;p++)t(i[p]);var d=c;o.push([44,0]),n()}([,,,function(e,t,n){"use strict";n.d(t,"m",(function(){return r})),n.d(t,"a",(function(){return i})),n.d(t,"d",(function(){return c})),n.d(t,"g",(function(){return p})),n.d(t,"f",(function(){return d})),n.d(t,"i",(function(){return m})),n.d(t,"h",(function(){return s})),n.d(t,"r",(function(){return u})),n.d(t,"j",(function(){return b})),n.d(t,"o",(function(){return g})),n.d(t,"n",(function(){return f})),n.d(t,"q",(function(){return y})),n.d(t,"p",(function(){return h})),n.d(t,"s",(function(){return w})),n.d(t,"b",(function(){return v})),n.d(t,"t",(function(){return k})),n.d(t,"k",(function(){return T})),n.d(t,"c",(function(){return E})),n.d(t,"l",(function(){return x})),n.d(t,"e",(function(){return C}));n(1);var a=wp.components,l=a.Path,o=a.SVG,r=function(){return wp.element.createElement(o,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 29 32",width:"20",height:"20",className:"otter-icon"},wp.element.createElement(l,{d:"M19.831 7.877c0.001-0.003 0.001-0.005 0.001-0.009s-0-0.006-0.001-0.009l0 0c-0.047-0.081-0.092-0.164-0.132-0.247l-0.057-0.115c-0.277-0.498-0.381-0.99-1.033-1.064h-0.045c-0.001 0-0.002 0-0.003 0-0.486 0-0.883 0.382-0.908 0.862l-0 0.002c0.674 0.126 1.252 0.278 1.813 0.468l-0.092-0.027 0.283 0.096 0.147 0.053s0.028 0 0.028-0.011z"}),wp.element.createElement(l,{d:"M23.982 13.574c-0.008-2.41-0.14-4.778-0.39-7.112l0.026 0.299 0.070-0.019c0.459-0.139 0.787-0.558 0.787-1.053 0-0.479-0.307-0.887-0.735-1.037l-0.008-0.002h-0.026c-0.479-0.164-0.874-0.468-1.149-0.861l-0.005-0.007c-2.7-3.96-8.252-3.781-8.252-3.781s-5.55-0.179-8.25 3.781c-0.28 0.401-0.676 0.704-1.14 0.862l-0.016 0.005c-0.441 0.148-0.754 0.557-0.754 1.040 0 0.009 0 0.017 0 0.026l-0-0.001c-0 0.010-0.001 0.022-0.001 0.034 0 0.493 0.335 0.907 0.789 1.029l0.007 0.002 0.045 0.011c-0.224 2.034-0.356 4.403-0.364 6.801l-0 0.012s-9.493 13.012-1.277 17.515c4.733 2.431 6.881-0.769 6.881-0.769s1.397-1.661-1.784-3.355v-4.609c0.006-0.344 0.282-0.621 0.625-0.628h1.212v-0.59c0-0.275 0.223-0.498 0.498-0.498v0h1.665c0.274 0.001 0.496 0.224 0.496 0.498 0 0 0 0 0 0v0 0.59h2.721v-0.59c0-0.275 0.223-0.498 0.498-0.498v0h1.665c0.271 0.005 0.49 0.226 0.49 0.498 0 0 0 0 0 0v0 0.59h1.209c0 0 0 0 0 0 0.349 0 0.633 0.28 0.639 0.627v4.584c-3.193 1.703-1.784 3.355-1.784 3.355s2.148 3.193 6.879 0.769c8.222-4.503-1.269-17.515-1.269-17.515zM22.586 10.261c-0.097 1.461-0.67 2.772-1.563 3.797l0.007-0.008c-1.703 2.010-4.407 3.249-6.721 4.432v0c-2.325-1.177-5.026-2.416-6.736-4.432-0.883-1.019-1.455-2.329-1.555-3.769l-0.001-0.020c-0.126-2.22 0.583-5.929 3.044-6.74 2.416-0.788 3.947 1.288 4.494 2.227 0.152 0.258 0.429 0.428 0.745 0.428s0.593-0.17 0.743-0.424l0.002-0.004c0.551-0.932 2.080-3.008 4.494-2.22 2.474 0.805 3.174 4.513 3.046 6.734z"}),wp.element.createElement(l,{d:"M19.463 10.087h-0.028c-0.192 0.026-0.121 0.251-0.047 0.356 0.254 0.349 0.407 0.787 0.407 1.26 0 0.006-0 0.012-0 0.018v-0.001c-0.001 0.469-0.255 0.878-0.633 1.1l-0.006 0.003c-0.739 0.426-1.377-0.145-2.054-0.398-0.72-0.269-1.552-0.434-2.42-0.455l-0.009-0v-1.033c1.020-0.233 1.894-0.76 2.551-1.486l0.004-0.004c0.151-0.163 0.244-0.383 0.244-0.623 0-0.316-0.159-0.595-0.402-0.76l-0.003-0.002c-0.768-0.551-1.728-0.881-2.764-0.881-1.054 0-2.029 0.341-2.819 0.92l0.013-0.009c-0.224 0.166-0.367 0.429-0.367 0.726 0 0.226 0.083 0.433 0.221 0.591l-0.001-0.001c0.665 0.751 1.55 1.295 2.553 1.53l0.033 0.007v1.050c-0.742 0.021-1.448 0.14-2.118 0.343l0.057-0.015c-0.341 0.103-0.631 0.219-0.908 0.358l0.033-0.015c-0.519 0.26-1.037 0.436-1.58 0.121-0.371-0.213-0.617-0.607-0.617-1.058 0-0.002 0-0.004 0-0.007v0c0-0.002 0-0.004 0-0.007 0-0.47 0.153-0.905 0.411-1.257l-0.004 0.006c0.047-0.068 0.089-0.17 0.026-0.241s-0.189 0-0.27 0.030c-0.189 0.099-0.348 0.227-0.479 0.381l-0.002 0.002c-0.245 0.296-0.394 0.679-0.394 1.097 0 0.004 0 0.007 0 0.011v-0.001c0.008 0.706 0.393 1.321 0.964 1.651l0.009 0.005c0.296 0.178 0.654 0.283 1.036 0.283 0.364 0 0.706-0.095 1.001-0.263l-0.010 0.005c0.877-0.461 1.917-0.731 3.019-0.731 0.069 0 0.137 0.001 0.206 0.003l-0.010-0h0.030c1.277 0 2.382 0.266 3.266 0.775 0.27 0.159 0.594 0.253 0.94 0.253 0.001 0 0.002 0 0.003 0h-0c0.355-0.002 0.688-0.098 0.974-0.265l-0.009 0.005c0.606-0.357 1.007-1.007 1.007-1.75 0-0.001 0-0.003 0-0.004v0c0.001-0.026 0.002-0.056 0.002-0.086 0-0.625-0.34-1.171-0.846-1.462l-0.008-0.004c-0.056-0.040-0.125-0.065-0.199-0.070l-0.001-0zM13.101 8.831c-0.238 0.213-0.468 0.581-0.832 0.345-0.061-0.041-0.114-0.086-0.161-0.136l-0-0c-0.063-0.063-0.101-0.15-0.101-0.247 0-0.133 0.074-0.248 0.182-0.308l0.002-0.001c0.594-0.309 1.203-0.543 1.884-0.49-0.324 0.281-0.649 0.56-0.973 0.837z"}),wp.element.createElement(l,{d:"M15.89 13.578c-0.367 0.483-0.941 0.792-1.588 0.792s-1.221-0.309-1.585-0.787l-0.004-0.005c-0.064-0.103-0.177-0.171-0.306-0.171-0.199 0-0.36 0.161-0.36 0.36 0 0.091 0.034 0.174 0.090 0.238l-0-0c0.499 0.659 1.283 1.080 2.164 1.080s1.665-0.421 2.159-1.073l0.005-0.007c0.043-0.059 0.068-0.132 0.068-0.212 0-0.116-0.055-0.22-0.14-0.286l-0.001-0.001c-0.059-0.045-0.134-0.072-0.215-0.072-0.117 0-0.221 0.056-0.286 0.143l-0.001 0.001z"}),wp.element.createElement(l,{d:"M18.507 11.707c0 0.194-0.157 0.351-0.351 0.351s-0.351-0.157-0.351-0.351c0-0.194 0.157-0.351 0.351-0.351s0.351 0.157 0.351 0.351z"}),wp.element.createElement(l,{d:"M17.389 11.049c0 0.194-0.157 0.351-0.351 0.351s-0.351-0.157-0.351-0.351c0-0.194 0.157-0.351 0.351-0.351s0.351 0.157 0.351 0.351z"}),wp.element.createElement(l,{d:"M10.798 11.707c0 0.194-0.157 0.351-0.351 0.351s-0.351-0.157-0.351-0.351c0-0.194 0.157-0.351 0.351-0.351s0.351 0.157 0.351 0.351z"}),wp.element.createElement(l,{d:"M11.918 11.049c0 0.194-0.157 0.351-0.351 0.351s-0.351-0.157-0.351-0.351c0-0.194 0.157-0.351 0.351-0.351s0.351 0.157 0.351 0.351z"}),wp.element.createElement(l,{d:"M8.773 7.877c-0.001-0.003-0.002-0.005-0.002-0.009s0.001-0.006 0.002-0.009l-0 0c0.047-0.081 0.089-0.164 0.132-0.247 0.019-0.038 0.036-0.079 0.057-0.115 0.275-0.498 0.379-0.99 1.033-1.064h0.045c0 0 0.001 0 0.001 0 0.487 0 0.884 0.382 0.91 0.862l0 0.002c-0.678 0.124-1.261 0.277-1.827 0.468l0.092-0.027-0.275 0.096-0.1 0.036-0.045 0.017s-0.023 0-0.023-0.011z"}))},i=function(){return wp.element.createElement(o,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l,{d:"M17.348 20.657v-0.135c1.029-0.471 1.758-1.446 1.916-2.563 0.434-0.157 0.739-0.576 0.739-1.051 0-0.408-0.221-0.774-0.562-0.969 0.036-0.111 0.065-0.223 0.087-0.335 0.182-0.901-0.025-1.822-0.583-2.592-0.548-0.758-1.373-1.281-2.321-1.473-0.255-0.051-0.515-0.077-0.773-0.077-0.813 0-1.607 0.262-2.234 0.739-0.646 0.49-1.088 1.187-1.244 1.962-0.118 0.587-0.070 1.193 0.139 1.762-0.355 0.191-0.59 0.566-0.59 0.985 0 0.481 0.31 0.901 0.751 1.055 0.163 1.144 0.916 2.128 1.978 2.587v0.106c-2.207 0.5-3.729 2.151-3.729 4.079v0.515h10.153v-0.515c0-1.929-1.522-3.58-3.729-4.080zM15.853 12.492c0.189 0 0.381 0.019 0.569 0.057 0.693 0.14 1.293 0.519 1.689 1.066 0.369 0.511 0.518 1.111 0.423 1.701-0.507-0.237-1.173-0.487-1.874-0.583-1.318-0.18-1.339-0.241-1.417-0.469l-0.252-0.728-0.579 0.512c-0.062 0.054-0.528 0.464-1.066 0.91-0.015-0.198-0.002-0.396 0.037-0.593 0.219-1.086 1.257-1.873 2.469-1.873zM13.67 16.025c0.361-0.292 0.718-0.594 0.977-0.816 0.358 0.323 0.916 0.414 1.874 0.545 0.65 0.089 1.287 0.349 1.748 0.578v1.161c0 1.268-1.031 2.299-2.299 2.299s-2.299-1.031-2.299-2.299v-1.468zM15.682 20.81c0.213 0.019 0.425 0.017 0.635-0.006v0.318l-0.318 0.177-0.317-0.176v-0.313zM12.006 24.22c0.237-1.154 1.25-2.113 2.646-2.501v0.010l1.346 0.748 1.35-0.748v-0.010c1.396 0.388 2.409 1.348 2.646 2.502l-7.987-0zM21.076 27.499h-10.153c-0.307 0-0.556-0.249-0.556-0.556s0.249-0.556 0.556-0.556h10.153c0.307 0 0.556 0.249 0.556 0.556s-0.249 0.556-0.556 0.556zM28.112 3.393h-9.422v-1.689c0-0.832-0.677-1.509-1.509-1.509h-2.363c-0.832 0-1.509 0.677-1.509 1.509v1.689h-9.422c-0.832 0-1.509 0.677-1.509 1.509v25.395c0 0.832 0.677 1.509 1.509 1.509h24.225c0.832 0 1.509-0.677 1.509-1.509v-25.395c-0-0.832-0.677-1.509-1.509-1.509zM14.421 1.703c0-0.219 0.178-0.397 0.397-0.397h2.363c0.219 0 0.397 0.178 0.397 0.397v5.083c0 0.219-0.178 0.397-0.397 0.397h-2.363c-0.219 0-0.397-0.178-0.397-0.397v-5.083zM28.509 30.297c0 0.219-0.178 0.397-0.397 0.397h-24.225c-0.219 0-0.397-0.178-0.397-0.397v-25.395c0-0.219 0.178-0.397 0.397-0.397h9.422v2.282c0 0.832 0.677 1.509 1.509 1.509h2.363c0.832 0 1.509-0.677 1.509-1.509v-2.282h9.422c0.219 0 0.397 0.178 0.397 0.397v25.395z"}))},c=function(){return wp.element.createElement(o,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l,{d:"M30.457 11.777h-28.914c-0.829 0-1.503 0.674-1.503 1.503v5.606c0 0.829 0.674 1.503 1.503 1.503h28.914c0.829 0 1.503-0.674 1.503-1.503v-5.606c-0-0.829-0.674-1.503-1.503-1.503zM30.84 18.886c0 0.211-0.172 0.383-0.383 0.383h-28.914c-0.211 0-0.383-0.172-0.383-0.383v-5.606c0-0.211 0.172-0.383 0.383-0.383h28.914c0.211 0 0.383 0.172 0.383 0.383v5.606zM4.67 15.133c-0.525 0-0.95 0.425-0.95 0.95s0.425 0.95 0.95 0.95 0.95-0.425 0.95-0.95c0-0.525-0.425-0.95-0.95-0.95zM7.947 15.133c-0.525 0-0.95 0.425-0.95 0.95s0.425 0.95 0.95 0.95c0.525 0 0.95-0.425 0.95-0.95s-0.425-0.95-0.95-0.95zM11.224 15.133c-0.525 0-0.95 0.425-0.95 0.95s0.425 0.95 0.95 0.95c0.525 0 0.95-0.425 0.95-0.95s-0.425-0.95-0.95-0.95zM27.871 15.523h-11.386c-0.309 0-0.56 0.251-0.56 0.56s0.251 0.56 0.56 0.56h11.386c0.309 0 0.56-0.251 0.56-0.56s-0.251-0.56-0.56-0.56zM30.457 23.388h-28.914c-0.829 0-1.503 0.674-1.503 1.503v5.606c0 0.829 0.674 1.503 1.503 1.503h28.914c0.829 0 1.503-0.674 1.503-1.503v-5.606c-0-0.829-0.674-1.503-1.503-1.503zM30.84 30.497c0 0.211-0.172 0.383-0.383 0.383h-28.914c-0.211 0-0.383-0.172-0.383-0.383v-5.606c0-0.211 0.172-0.383 0.383-0.383h28.914c0.211 0 0.383 0.172 0.383 0.383v5.606zM4.67 26.744c-0.525 0-0.95 0.425-0.95 0.95s0.425 0.95 0.95 0.95 0.95-0.425 0.95-0.95c0-0.525-0.425-0.95-0.95-0.95zM7.947 26.744c-0.525 0-0.95 0.425-0.95 0.95s0.425 0.95 0.95 0.95c0.525 0 0.95-0.425 0.95-0.95s-0.425-0.95-0.95-0.95zM11.224 26.744c-0.525 0-0.95 0.425-0.95 0.95s0.425 0.95 0.95 0.95c0.525 0 0.95-0.425 0.95-0.95s-0.425-0.95-0.95-0.95zM27.871 27.134h-11.386c-0.309 0-0.56 0.251-0.56 0.56s0.251 0.56 0.56 0.56h11.386c0.309 0 0.56-0.251 0.56-0.56s-0.251-0.56-0.56-0.56zM30.457 0h-28.914c-0.829 0-1.503 0.674-1.503 1.503v5.606c0 0.829 0.674 1.503 1.503 1.503h28.914c0.829 0 1.503-0.674 1.503-1.503v-5.606c0-0.829-0.674-1.503-1.503-1.503zM30.84 7.109c0 0.211-0.172 0.383-0.383 0.383h-28.914c-0.211 0-0.383-0.172-0.383-0.383v-5.606c0-0.211 0.172-0.383 0.383-0.383h28.914c0.211 0 0.383 0.172 0.383 0.383v5.606zM5.62 4.306c0 0.525-0.425 0.95-0.95 0.95s-0.95-0.425-0.95-0.95c0-0.525 0.425-0.95 0.95-0.95s0.95 0.425 0.95 0.95zM7.947 3.356c-0.525 0-0.95 0.425-0.95 0.95s0.425 0.95 0.95 0.95c0.525 0 0.95-0.425 0.95-0.95s-0.425-0.95-0.95-0.95zM11.224 3.356c-0.525 0-0.95 0.425-0.95 0.95s0.425 0.95 0.95 0.95c0.525 0 0.95-0.425 0.95-0.95s-0.425-0.95-0.95-0.95zM27.871 3.746h-11.386c-0.309 0-0.56 0.251-0.56 0.56s0.251 0.56 0.56 0.56h11.386c0.309 0 0.56-0.251 0.56-0.56s-0.251-0.56-0.56-0.56z"}))},p=function(){return wp.element.createElement(o,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l,{d:"M30.584 0.099h-29.068c-0.781 0-1.417 0.635-1.417 1.416v29.068c0 0.781 0.635 1.416 1.417 1.416h29.068c0.781 0 1.416-0.635 1.416-1.416v-29.068c0-0.781-0.635-1.416-1.416-1.416zM1.515 1.219h29.068c0.163 0 0.296 0.133 0.296 0.296v3.476h-29.661v-3.476c0-0.163 0.133-0.296 0.296-0.296zM30.584 30.88h-29.068c-0.163 0-0.296-0.133-0.296-0.296v-24.472h29.661v24.472c0 0.163-0.133 0.296-0.296 0.296zM26.999 20.461h-21.062c-0.838 0-1.52 0.682-1.52 1.52v5.601c0 0.838 0.682 1.52 1.52 1.52h21.062c0.838 0 1.52-0.682 1.52-1.52v-5.601c0-0.838-0.682-1.52-1.52-1.52zM27.399 27.582c0 0.221-0.18 0.4-0.4 0.4h-21.062c-0.221 0-0.4-0.18-0.4-0.4v-5.601c0-0.221 0.179-0.4 0.4-0.4h21.062c0.221 0 0.4 0.179 0.4 0.4v5.601zM5.937 16.247h5.432c0.838 0 1.52-0.682 1.52-1.52v-5.432c0-0.838-0.682-1.52-1.52-1.52h-5.432c-0.838 0-1.52 0.682-1.52 1.52v5.432c0 0.838 0.682 1.52 1.52 1.52zM5.537 9.294c0-0.221 0.179-0.4 0.4-0.4h5.432c0.221 0 0.4 0.179 0.4 0.4v5.432c0 0.221-0.18 0.4-0.4 0.4h-5.432c-0.221 0-0.4-0.18-0.4-0.4v-5.432zM27.959 17.714h-22.982c-0.309 0-0.56 0.251-0.56 0.56s0.251 0.56 0.56 0.56h22.982c0.309 0 0.56-0.251 0.56-0.56s-0.251-0.56-0.56-0.56zM27.959 14.793h-12.696c-0.309 0-0.56 0.251-0.56 0.56s0.251 0.56 0.56 0.56h12.696c0.309 0 0.56-0.251 0.56-0.56s-0.251-0.56-0.56-0.56zM27.959 11.433h-12.696c-0.309 0-0.56 0.251-0.56 0.56s0.251 0.56 0.56 0.56h12.696c0.309 0 0.56-0.251 0.56-0.56s-0.251-0.56-0.56-0.56zM27.959 8.072h-12.696c-0.309 0-0.56 0.251-0.56 0.56s0.251 0.56 0.56 0.56h12.696c0.309 0 0.56-0.251 0.56-0.56s-0.251-0.56-0.56-0.56zM4.543 3.051c0 0.497-0.403 0.9-0.9 0.9s-0.9-0.403-0.9-0.9c0-0.497 0.403-0.9 0.9-0.9s0.9 0.403 0.9 0.9zM7.384 3.051c0 0.497-0.403 0.9-0.9 0.9s-0.9-0.403-0.9-0.9c0-0.497 0.403-0.9 0.9-0.9s0.9 0.403 0.9 0.9zM10.224 3.051c0 0.497-0.403 0.9-0.9 0.9s-0.9-0.403-0.9-0.9c0-0.497 0.403-0.9 0.9-0.9s0.9 0.403 0.9 0.9z"}))},d=function(){return wp.element.createElement(o,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l,{d:"M31.276 3.351h-14.587l-3.23-3.028c-0.103-0.097-0.239-0.15-0.38-0.15h-12.354c-0.307 0-0.556 0.249-0.556 0.556v30.697c0 0.307 0.249 0.556 0.556 0.556h30.551c0.307 0 0.556-0.249 0.556-0.556v-27.518c0-0.307-0.249-0.556-0.556-0.556zM1.281 1.286h11.578l3.23 3.028c0.103 0.097 0.239 0.15 0.38 0.15h14.25v3.013h-29.439v-6.191zM30.719 30.87h-29.439v-22.281h29.439v22.281z"}))},m=function(){return wp.element.createElement(o,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l,{d:"M30.958 13.988h-0.64c-0.572-5.298-4.029-9.744-8.764-11.73h5.439v0.555c0 0.309 0.25 0.559 0.559 0.559h2.23c0.309 0 0.559-0.25 0.559-0.559v-2.229c0-0.309-0.25-0.559-0.559-0.559h-2.23c-0.309 0-0.559 0.25-0.559 0.559v0.555h-9.319v-0.555c0-0.309-0.25-0.559-0.559-0.559h-2.23c-0.309 0-0.559 0.25-0.559 0.559v0.555h-9.319v-0.555c0-0.309-0.25-0.559-0.559-0.559h-2.229c-0.309 0-0.559 0.25-0.559 0.559v2.229c0 0.309 0.25 0.559 0.559 0.559h2.229c0.309 0 0.559-0.25 0.559-0.559v-0.555h5.439c-4.735 1.987-8.191 6.432-8.764 11.73h-0.64c-0.309 0-0.559 0.25-0.559 0.559v2.229c0 0.309 0.25 0.559 0.559 0.559h2.23c0.309 0 0.559-0.25 0.559-0.559v-2.229c0-0.309-0.25-0.559-0.559-0.559h-0.464c0.709-6.044 5.49-10.86 11.518-11.621v0.446c0 0.309 0.25 0.559 0.559 0.559h2.23c0.309 0 0.559-0.25 0.559-0.559v-0.446c6.028 0.761 10.809 5.578 11.518 11.621h-0.464c-0.309 0-0.559 0.25-0.559 0.559v2.23c0 0.309 0.25 0.559 0.559 0.559h2.23c0.309 0 0.559-0.25 0.559-0.559v-2.229c0-0.309-0.25-0.559-0.559-0.559zM29.223 2.253h-1.111v-1.111h1.111v1.111zM2.777 1.142h1.111v1.111h-1.111v-1.111zM2.712 15.608v0.609h-1.111v-0.973c0.001-0.046 0.002-0.092 0.003-0.138h1.108v0.501zM16 1.142c0.186 0 0.371 0.005 0.555 0.012v1.099h-1.111v-1.099c0.184-0.007 0.37-0.012 0.556-0.012zM30.399 15.25v0.967h-1.111v-1.111h1.107c0.002 0.048 0.003 0.096 0.004 0.144zM16.512 4.461c-0.089-0.204-0.29-0.336-0.513-0.336s-0.424 0.132-0.513 0.336l-7.287 16.694c-0.058 0.134-0.062 0.285-0.011 0.421l0.009 0.023c0.059 0.157 0.186 0.279 0.345 0.333 1.743 0.585 2.914 2.213 2.914 4.052 0 0.766-0.206 1.518-0.595 2.175-0.012 0.020-0.022 0.041-0.032 0.063-0.063 0.091-0.101 0.201-0.101 0.32v2.832c0 0.307 0.248 0.557 0.555 0.559l9.42 0.068c0.001 0 0.003 0 0.004 0 0.307 0 0.557-0.248 0.559-0.555 0.002-0.309-0.246-0.561-0.555-0.563l-8.865-0.064v-1.405h8.654c0.234 0 0.443-0.145 0.524-0.364l0.153-0.41c0.059-0.158 0.043-0.335-0.043-0.48-0.389-0.657-0.595-1.409-0.595-2.174 0-1.838 1.171-3.467 2.914-4.052 0.16-0.054 0.287-0.176 0.346-0.334l0.009-0.023c0.051-0.136 0.047-0.287-0.011-0.42l-7.287-16.694zM16 20.028c0.619 0 1.122 0.503 1.122 1.122s-0.504 1.122-1.122 1.122c-0.619 0-1.122-0.503-1.122-1.122s0.503-1.122 1.122-1.122zM19.424 25.983c0 0.802 0.179 1.591 0.52 2.31h-7.887c0.341-0.719 0.52-1.509 0.52-2.31 0-2.121-1.235-4.020-3.127-4.894l5.991-13.726v11.616c-0.966 0.249-1.682 1.128-1.682 2.17 0 1.236 1.005 2.241 2.241 2.241s2.241-1.005 2.241-2.241c0-1.043-0.716-1.921-1.682-2.17v-11.616l5.991 13.726c-1.892 0.874-3.127 2.773-3.127 4.894z"}))},s=function(){return wp.element.createElement(o,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l,{d:"M30.424 0.171h-28.847c-0.775 0-1.406 0.631-1.406 1.406v28.848c0 0.775 0.631 1.406 1.406 1.406h28.847c0.775 0 1.406-0.631 1.406-1.406v-28.848c0-0.775-0.631-1.406-1.406-1.406zM1.576 1.282h28.847c0.162 0 0.294 0.132 0.294 0.294v3.45h-29.435v-3.45c0-0.162 0.132-0.294 0.294-0.294zM30.424 30.718h-28.847c-0.162 0-0.294-0.132-0.294-0.294v-24.286h29.435v24.286c0 0.162-0.132 0.294-0.294 0.294zM3.688 3.994c0.493 0 0.893-0.4 0.893-0.893s-0.4-0.893-0.893-0.893-0.893 0.4-0.893 0.893c0 0.493 0.4 0.893 0.893 0.893zM6.507 3.994c0.493 0 0.893-0.4 0.893-0.893s-0.4-0.893-0.893-0.893-0.893 0.4-0.893 0.893c0 0.493 0.4 0.893 0.893 0.893zM9.326 3.994c0.493 0 0.893-0.4 0.893-0.893s-0.4-0.893-0.893-0.893-0.893 0.4-0.893 0.893c0 0.493 0.4 0.893 0.893 0.893zM20.662 19.394l3.855-3.758c0.152-0.148 0.206-0.369 0.141-0.57s-0.239-0.348-0.449-0.378l-5.328-0.774-2.383-4.828c-0.094-0.19-0.287-0.31-0.498-0.31s-0.405 0.12-0.498 0.31l-2.383 4.828-5.328 0.774c-0.209 0.030-0.383 0.177-0.449 0.378s-0.011 0.422 0.141 0.57l3.855 3.758-0.91 5.307c-0.036 0.209 0.050 0.419 0.221 0.544s0.398 0.141 0.585 0.042l4.766-2.506 4.766 2.506c0.081 0.043 0.17 0.064 0.259 0.064 0.115 0 0.23-0.036 0.327-0.106 0.171-0.124 0.257-0.335 0.221-0.544l-0.91-5.307zM16.259 21.661c-0.162-0.085-0.355-0.085-0.517 0l-4.027 2.117 0.769-4.485c0.031-0.18-0.029-0.364-0.16-0.492l-3.258-3.176 4.503-0.654c0.181-0.026 0.338-0.14 0.418-0.304l2.014-4.080 2.014 4.080c0.081 0.164 0.238 0.278 0.419 0.304l4.503 0.654-3.258 3.176c-0.131 0.128-0.191 0.312-0.16 0.492l0.769 4.485-4.027-2.117zM16 25.179c-0.307 0-0.556 0.249-0.556 0.556v1.887c0 0.307 0.249 0.556 0.556 0.556s0.556-0.249 0.556-0.556v-1.887c0-0.307-0.249-0.556-0.556-0.556zM25.319 20.446l-1.794-0.583c-0.293-0.095-0.606 0.065-0.7 0.357s0.065 0.606 0.357 0.7l1.794 0.583c0.057 0.019 0.115 0.027 0.172 0.027 0.234 0 0.452-0.149 0.529-0.384 0.095-0.292-0.065-0.606-0.357-0.7zM20.218 12.197c0.099 0.072 0.213 0.106 0.326 0.106 0.172 0 0.341-0.079 0.45-0.229l1.109-1.526c0.18-0.248 0.125-0.596-0.123-0.776s-0.596-0.125-0.776 0.123l-1.109 1.526c-0.18 0.248-0.125 0.596 0.123 0.776zM11.006 12.075c0.109 0.15 0.278 0.229 0.45 0.229 0.113 0 0.228-0.034 0.326-0.106 0.248-0.18 0.303-0.528 0.123-0.776l-1.109-1.526c-0.18-0.248-0.528-0.303-0.776-0.123s-0.303 0.528-0.123 0.776l1.109 1.526zM8.475 19.863l-1.794 0.583c-0.292 0.095-0.452 0.408-0.357 0.7 0.076 0.235 0.294 0.384 0.529 0.384 0.057 0 0.115-0.009 0.172-0.027l1.794-0.583c0.292-0.095 0.452-0.408 0.357-0.7s-0.408-0.452-0.7-0.357z"}))},u=function(){return wp.element.createElement(o,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l,{d:"M6.348 13.197c-0.308 0-0.557 0.249-0.557 0.557s0.249 0.557 0.557 0.557c0.495 0 1.655 0.598 1.655 1.759 0 0.308 0.249 0.557 0.557 0.557s0.557-0.249 0.557-0.557c0-1.886-1.803-2.873-2.769-2.873zM25.842 3.161c0.495 0 1.655 0.598 1.655 1.759 0 0.308 0.249 0.557 0.557 0.557s0.557-0.249 0.557-0.557c0-1.886-1.802-2.873-2.769-2.873-0.308 0-0.557 0.249-0.557 0.557s0.249 0.557 0.557 0.557zM25.742 22.433c-0.826 0-1.641 0.22-2.359 0.636-0.567 0.328-1.040 0.758-1.41 1.252l-11.344-6.569c0.069-0.174 0.13-0.353 0.179-0.537 0.276-1.036 0.194-2.11-0.226-3.079l11.319-6.555c0.878 1.235 2.316 1.986 3.848 1.986 0.825 0 1.641-0.22 2.359-0.636 1.090-0.631 1.869-1.649 2.194-2.866s0.155-2.488-0.476-3.578c-0.841-1.452-2.406-2.353-4.085-2.353-0.826 0-1.641 0.22-2.359 0.636-2.051 1.188-2.872 3.694-2.015 5.833l-11.344 6.569c-0.884-1.176-2.285-1.888-3.776-1.888-0.825 0-1.641 0.22-2.359 0.636-2.25 1.303-3.021 4.194-1.718 6.444 0.841 1.452 2.406 2.353 4.085 2.353 0.826 0 1.641-0.22 2.359-0.636 0.595-0.345 1.097-0.805 1.483-1.35l11.319 6.554c-0.567 1.323-0.526 2.888 0.249 4.227 0.841 1.452 2.406 2.353 4.085 2.353 0.825 0 1.641-0.22 2.359-0.636 1.090-0.631 1.869-1.649 2.194-2.866s0.155-2.488-0.476-3.578c-0.841-1.452-2.406-2.353-4.085-2.353zM23.941 1.734c0.549-0.318 1.171-0.486 1.801-0.486 1.283 0 2.479 0.689 3.121 1.798 0.482 0.833 0.611 1.803 0.363 2.733s-0.843 1.707-1.675 2.189c-0.549 0.318-1.171 0.486-1.801 0.486-1.283 0-2.479-0.689-3.121-1.798-0.995-1.719-0.407-3.927 1.312-4.922zM8.056 19.117c-0.549 0.318-1.171 0.486-1.801 0.486-1.283 0-2.479-0.689-3.121-1.797-0.995-1.719-0.407-3.927 1.312-4.922 0.549-0.318 1.171-0.486 1.801-0.486 1.283 0 2.479 0.689 3.121 1.798 0.482 0.833 0.611 1.803 0.363 2.733s-0.843 1.707-1.675 2.189zM29.226 28.077c-0.248 0.93-0.843 1.707-1.675 2.189-0.549 0.318-1.171 0.486-1.801 0.486-1.283 0-2.479-0.689-3.121-1.797-0.995-1.719-0.407-3.927 1.312-4.922 0.549-0.318 1.171-0.486 1.801-0.486 1.283 0 2.479 0.689 3.121 1.798 0.482 0.832 0.611 1.803 0.363 2.733zM25.842 24.346c-0.308 0-0.557 0.249-0.557 0.557s0.249 0.557 0.557 0.557c0.495 0 1.655 0.598 1.655 1.759 0 0.308 0.249 0.557 0.557 0.557s0.557-0.249 0.557-0.557c0-1.886-1.802-2.873-2.769-2.873z"}))},b=function(){return wp.element.createElement(o,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l,{d:"M16 27.667l7.849-7.849c0.146-0.139 0.464-0.469 0.478-0.483l0.006-0.007c1.972-2.116 3.059-4.874 3.059-7.766 0-6.282-5.11-11.392-11.392-11.392s-11.392 5.11-11.392 11.392c0 2.893 1.086 5.651 3.058 7.766l8.334 8.339zM16 1.265c5.677 0 10.297 4.619 10.297 10.297 0 2.613-0.981 5.104-2.761 7.016-0.092 0.096-0.343 0.353-0.446 0.451l-7.089 7.089-7.539-7.543c-1.779-1.911-2.758-4.401-2.758-7.012 0-5.678 4.619-10.297 10.297-10.297zM17.755 4.005c1.966 0 5.792 2.149 5.792 6.090 0 0.303 0.245 0.548 0.548 0.548s0.548-0.245 0.548-0.548c0-2.051-0.906-3.953-2.552-5.354-1.306-1.112-3.008-1.831-4.335-1.831-0.302 0-0.548 0.245-0.548 0.548s0.245 0.548 0.548 0.548zM22.875 24.197c-0.427-0.174-0.886-0.33-1.371-0.467l-0.897 0.897c2.645 0.631 4.275 1.756 4.275 2.802 0 1.564-3.648 3.306-8.882 3.306s-8.882-1.742-8.882-3.306c0-1.045 1.631-2.171 4.275-2.802l-0.897-0.897c-0.485 0.137-0.944 0.293-1.371 0.467-2.001 0.818-3.102 1.966-3.102 3.232s1.102 2.415 3.102 3.232c1.845 0.754 4.287 1.169 6.875 1.169s5.030-0.415 6.875-1.169c2.001-0.818 3.102-1.966 3.102-3.232s-1.102-2.415-3.102-3.232zM16.032 16.804c-3.043 0-5.519-2.476-5.519-5.519s2.476-5.519 5.519-5.519c3.043 0 5.519 2.476 5.519 5.519s-2.476 5.519-5.519 5.519zM16.032 6.862c-2.439 0-4.423 1.984-4.423 4.423s1.984 4.423 4.423 4.423c2.439 0 4.423-1.984 4.423-4.423s-1.984-4.423-4.423-4.423z"}))},g=function(){return wp.element.createElement(o,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l,{d:"M4.285 5.775c0.004 0 0.009 0.001 0.013 0.001h8.279c0.307 0 0.556-0.249 0.556-0.556s-0.249-0.556-0.556-0.556h-8.279c-0.307 0-0.556 0.249-0.556 0.556 0 0.302 0.242 0.548 0.542 0.555zM3.743 8.005c0 0.307 0.249 0.556 0.556 0.556h13.679c0.307 0 0.556-0.249 0.556-0.556s-0.249-0.556-0.556-0.556h-13.679c-0.307 0-0.556 0.249-0.556 0.556zM17.977 10.236h-13.679c-0.145 0-0.276 0.056-0.375 0.147-0.11 0.102-0.18 0.247-0.18 0.409 0 0.307 0.249 0.556 0.556 0.556h13.679c0.307 0 0.556-0.249 0.556-0.556 0-0.162-0.070-0.307-0.18-0.409-0.099-0.091-0.23-0.147-0.375-0.147zM17.977 13.022h-13.679c-0.307 0-0.556 0.249-0.556 0.556s0.249 0.556 0.556 0.556h13.679c0.307 0 0.556-0.249 0.556-0.556s-0.249-0.556-0.556-0.556zM17.977 15.807h-13.679c-0.145 0-0.276 0.056-0.375 0.147-0.11 0.102-0.18 0.247-0.18 0.409 0 0.307 0.249 0.556 0.556 0.556h13.679c0.307 0 0.556-0.249 0.556-0.556 0-0.162-0.070-0.307-0.18-0.409-0.099-0.091-0.23-0.147-0.375-0.147zM17.977 18.593h-13.679c-0.307 0-0.556 0.249-0.556 0.555s0.249 0.556 0.556 0.556h13.679c0.307 0 0.556-0.249 0.556-0.556s-0.249-0.555-0.556-0.555zM17.977 21.379h-13.679c-0.307 0-0.556 0.249-0.556 0.556s0.249 0.556 0.556 0.556h13.679c0.307 0 0.556-0.249 0.556-0.556s-0.249-0.556-0.556-0.556zM17.977 24.165h-13.679c-0.145 0-0.276 0.056-0.375 0.147-0.11 0.102-0.18 0.247-0.18 0.409 0 0.307 0.249 0.556 0.556 0.556h13.679c0.307 0 0.556-0.249 0.556-0.556 0-0.162-0.070-0.307-0.18-0.409-0.099-0.091-0.23-0.147-0.375-0.147zM21.93 4.466l-4.277-3.87c-0.094-0.085-0.212-0.132-0.334-0.139h-15.831c-0.812 0-1.473 0.664-1.473 1.481v28.153c0 0.817 0.661 1.481 1.473 1.481h19.174c0.812 0 1.473-0.664 1.473-1.481v-25.222c-0.008-0.163-0.086-0.308-0.205-0.403zM17.833 2.238l2.331 2.109h-2.331v-2.109zM21.043 30.091c0 0.215-0.171 0.39-0.381 0.39h-19.174c-0.21 0-0.382-0.175-0.382-0.39v-28.153c0-0.215 0.171-0.39 0.382-0.39h15.251v3.348c0 0.303 0.245 0.549 0.547 0.549h3.758v24.647zM31.975 3.213c-0.125-1.57-1.442-2.809-3.044-2.809-0 0-0 0-0 0-0.816 0-1.583 0.318-2.16 0.895-0.519 0.519-0.827 1.191-0.884 1.915h-0.010v0.242c0 0.001-0 0.002-0 0.003s0 0.001 0 0.001l-0 24.342h0.003c0.010 0.096 0.045 0.191 0.108 0.273l2.509 3.305c0.103 0.136 0.264 0.216 0.435 0.216s0.331-0.080 0.435-0.216l2.508-3.305c0.063-0.083 0.098-0.177 0.108-0.274h0.003v-24.589h-0.011zM27.543 2.070c0.371-0.371 0.864-0.575 1.388-0.575h0c0.893 0 1.649 0.6 1.886 1.417h-3.772c0.091-0.315 0.26-0.604 0.498-0.842zM28.362 26.711l-1.394 0 0-22.406h3.926v22.406h-1.442l0-18.071-1.090 0 0 18.071zM28.931 30.148l-1.781-2.346 3.562-0-1.781 2.346z"}))},f=function(){return wp.element.createElement(o,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l,{d:"M31.908 1.543c0-0.815-0.677-1.478-1.51-1.478h-28.731c-0.815 0-1.478 0.677-1.478 1.51v14.441c0 0.022 0.002 0.044 0.004 0.065-0.003 0.021-0.004 0.043-0.004 0.065v14.357c0 0.815 0.677 1.478 1.51 1.478h28.731c0.815 0 1.478-0.677 1.478-1.51v-14.441c0-0.022-0.002-0.044-0.004-0.065 0.003-0.021 0.004-0.043 0.004-0.065v-14.357zM30.792 1.543v13.799h-4.324c0.587-0.66 0.932-1.525 0.932-2.453 0-0.737-0.218-1.423-0.592-2-0.648-1.066-1.82-1.78-3.156-1.78-2.034 0-3.689 1.655-3.689 3.689 0 0.745 0.223 1.449 0.615 2.039 0.111 0.178 0.236 0.347 0.376 0.504h-4.372v-6.025c0-0.184-0.090-0.347-0.228-0.449-0.101-0.103-0.242-0.167-0.398-0.167h-0.173c-0.24 0-0.453 0.153-0.529 0.38-0.352 1.049-1.332 1.754-2.439 1.754-0.419 0-0.815-0.101-1.166-0.28-0.776-0.444-1.301-1.279-1.301-2.235 0-1.419 1.154-2.574 2.574-2.574 0.408 0 0.799 0.096 1.147 0.27 0.546 0.305 0.976 0.804 1.185 1.426 0.052 0.155 0.169 0.275 0.314 0.335 0.092 0.065 0.204 0.103 0.322 0.103h0.133c0.308 0 0.558-0.25 0.558-0.558v-6.142h13.816c0.217 0 0.394 0.162 0.394 0.362zM1.305 1.575c0-0.217 0.162-0.394 0.362-0.394h13.732v4.404c-0.239-0.216-0.505-0.401-0.793-0.549-0.536-0.297-1.148-0.464-1.791-0.464-2.034 0-3.689 1.655-3.689 3.689 0 1.423 0.81 2.659 1.992 3.274 0.534 0.301 1.149 0.473 1.804 0.473 0.939 0 1.813-0.354 2.476-0.955v4.404h-6.016c-0.308 0-0.558 0.25-0.558 0.558v0.173c0 0.127 0.043 0.245 0.117 0.34 0.065 0.129 0.178 0.231 0.321 0.279 0.562 0.189 1.023 0.558 1.332 1.030 0.232 0.39 0.364 0.842 0.364 1.318 0 1.419-1.154 2.574-2.574 2.574-0.894 0-1.682-0.458-2.144-1.151-0.236-0.389-0.372-0.844-0.372-1.331-0-1.107 0.705-2.087 1.754-2.44 0.227-0.076 0.38-0.289 0.38-0.529v-0.133c0-0.106-0.030-0.204-0.081-0.288-0.068-0.231-0.282-0.4-0.535-0.4h-6.084v-13.883zM1.305 30.505v-13.799h4.324c-0.587 0.66-0.932 1.525-0.932 2.453 0 0.737 0.218 1.424 0.592 2 0.647 1.066 1.82 1.78 3.156 1.78 2.034 0 3.689-1.655 3.689-3.689-0-0.745-0.223-1.449-0.615-2.040-0.111-0.178-0.236-0.347-0.376-0.504h4.372v6.025c0 0.184 0.090 0.347 0.228 0.449 0.101 0.103 0.242 0.167 0.398 0.167h0.173c0.24 0 0.453-0.153 0.529-0.38 0.352-1.049 1.332-1.754 2.439-1.754 0.419 0 0.815 0.101 1.165 0.28 0.776 0.444 1.301 1.279 1.301 2.236 0 1.419-1.154 2.574-2.574 2.574-0.408 0-0.799-0.096-1.147-0.27-0.546-0.305-0.976-0.804-1.185-1.426-0.052-0.155-0.169-0.275-0.314-0.336-0.092-0.065-0.204-0.103-0.322-0.103h-0.133c-0.308 0-0.558 0.25-0.558 0.558v6.142h-13.816c-0.217-0-0.394-0.163-0.394-0.362zM30.792 30.472c0 0.217-0.162 0.394-0.362 0.394h-13.732v-4.404c0.239 0.216 0.505 0.401 0.792 0.548 0.536 0.297 1.148 0.464 1.791 0.464 2.034 0 3.689-1.655 3.689-3.689 0-1.423-0.81-2.659-1.993-3.274-0.534-0.301-1.149-0.473-1.804-0.473-0.939 0-1.813 0.354-2.476 0.955v-4.404h6.016c0.308 0 0.558-0.25 0.558-0.558v-0.173c0-0.126-0.044-0.245-0.117-0.34-0.064-0.129-0.178-0.231-0.321-0.279-0.562-0.189-1.023-0.558-1.332-1.030-0.232-0.389-0.363-0.842-0.363-1.318 0-1.419 1.154-2.574 2.574-2.574 0.894 0 1.682 0.458 2.144 1.151 0.236 0.389 0.372 0.844 0.372 1.331 0 1.107-0.705 2.087-1.754 2.439-0.227 0.076-0.38 0.289-0.38 0.529v0.133c0 0.106 0.030 0.204 0.081 0.289 0.068 0.231 0.282 0.4 0.535 0.4h6.084v13.883z"}))},y=function(){return wp.element.createElement(o,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l,{d:"M15.517 23.581c-0.036 0.002-0.069-0.003-0.102-0.009-0.108-0.019-0.211-0.070-0.294-0.153l-9.153-9.153c-0.104-0.104-0.162-0.245-0.162-0.392s0.058-0.288 0.163-0.392l2.13-2.129c0.217-0.217 0.568-0.217 0.784 0l6.633 6.633 12.94-12.94c0.217-0.217 0.568-0.217 0.785 0l2.13 2.13c0.104 0.104 0.163 0.245 0.163 0.392s-0.058 0.288-0.162 0.392l-15.46 15.46c-0.104 0.104-0.245 0.163-0.392 0.163zM7.145 13.873l8.37 8.37 14.678-14.678-1.345-1.345-12.94 12.94c-0.217 0.217-0.568 0.217-0.785 0l-6.633-6.633-1.345 1.345zM30.087 11.781c0.401 1.337 0.618 2.753 0.618 4.219 0 8.108-6.596 14.704-14.705 14.704s-14.704-6.596-14.704-14.704c0-8.108 6.596-14.705 14.704-14.705 3.79 0 7.25 1.442 9.86 3.805l0.785-0.785c-2.812-2.564-6.549-4.129-10.645-4.129-8.72 0-15.814 7.094-15.814 15.814s7.094 15.814 15.814 15.814c8.72 0 15.814-7.094 15.814-15.814 0-1.784-0.297-3.501-0.845-5.102l-0.883 0.883z"}))},h=function(){return wp.element.createElement(o,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l,{d:"M17.425 25.368h-3.22v-2.107c-1.234-0.109-2.518-0.463-3.389-0.944l-0.373-0.206 0.93-3.628 0.622 0.341c0.602 0.33 1.835 0.883 3.323 0.883 0.769 0 1.545-0.244 1.545-0.789 0-0.365-0.235-0.783-1.938-1.358-1.985-0.668-4.264-1.78-4.264-4.477 0-2.098 1.387-3.709 3.652-4.289v-2.162h3.22v1.931c1.366 0.11 2.263 0.465 2.838 0.736l0.416 0.196-0.937 3.53-0.621-0.298c-0.539-0.259-1.442-0.692-2.853-0.692-0.488 0-1.307 0.088-1.307 0.681 0 0.448 1.192 0.94 2.231 1.319 2.781 0.973 3.971 2.344 3.971 4.58 0 1.114-0.391 2.124-1.13 2.922-0.668 0.721-1.601 1.236-2.716 1.503v2.328zM15.307 24.266h1.016v-2.139l0.457-0.079c2.090-0.36 3.389-1.676 3.389-3.433 0-1.446-0.551-2.601-3.24-3.542-1.624-0.592-2.962-1.176-2.962-2.357 0-0.862 0.633-1.783 2.409-1.783 1.213 0 2.119 0.278 2.746 0.536l0.36-1.354c-0.565-0.222-1.372-0.445-2.517-0.479l-0.535-0.016v-1.886h-1.016v1.959l-0.45 0.084c-2.005 0.375-3.202 1.61-3.202 3.305 0 1.577 1.051 2.604 3.514 3.432 1.396 0.472 2.688 1.089 2.688 2.402 0 1.149-1.039 1.891-2.647 1.891-1.312 0-2.447-0.366-3.222-0.708l-0.369 1.437c0.709 0.309 1.808 0.617 3.045 0.654l0.535 0.016v2.058zM15.901 30.607c-8.054 0-14.607-6.552-14.607-14.606s6.552-14.607 14.607-14.607c8.054 0 14.607 6.552 14.607 14.607 0 2.567-0.667 4.981-1.834 7.079l1.095 0.293c1.174-2.2 1.841-4.71 1.841-7.373 0-8.662-7.047-15.709-15.709-15.709s-15.709 7.047-15.709 15.709 7.047 15.709 15.709 15.709c2.752 0 5.34-0.712 7.592-1.96l-0.294-1.099c-2.148 1.244-4.641 1.957-7.297 1.957zM29.539 31.709c-0.141 0-0.282-0.054-0.39-0.161l-2.673-2.673-0.86 1.786c-0.1 0.208-0.32 0.331-0.548 0.31s-0.421-0.184-0.481-0.406l-1.977-7.377c-0.051-0.19 0.004-0.393 0.143-0.532s0.342-0.194 0.532-0.143l7.377 1.977c0.222 0.060 0.385 0.252 0.406 0.481s-0.102 0.448-0.31 0.548l-1.787 0.86 2.673 2.672c0.103 0.103 0.161 0.244 0.161 0.39s-0.058 0.286-0.161 0.39l-1.717 1.717c-0.108 0.107-0.249 0.161-0.39 0.161zM26.318 27.385c0.145 0 0.285 0.057 0.39 0.161l2.832 2.832 0.938-0.938-2.832-2.832c-0.126-0.126-0.184-0.306-0.154-0.482s0.143-0.327 0.304-0.404l1.148-0.552-5.020-1.345 1.345 5.020 0.552-1.148c0.077-0.161 0.228-0.274 0.404-0.304 0.031-0.005 0.062-0.008 0.092-0.008zM20.272 5.201c1.977 0 5.826 2.162 5.826 6.126 0 0.304 0.247 0.551 0.551 0.551s0.551-0.247 0.551-0.551c0-2.063-0.912-3.976-2.568-5.387-1.314-1.119-3.025-1.842-4.361-1.842-0.304 0-0.551 0.247-0.551 0.551s0.247 0.551 0.551 0.551z"}))},w=function(){return wp.element.createElement(o,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l,{d:"M31.438 1.423h-30.877c-0.31 0-0.562 0.251-0.562 0.562v22.175c0 0.31 0.251 0.562 0.562 0.562h3.103v5.294c0 0.201 0.107 0.386 0.281 0.486 0.087 0.050 0.184 0.075 0.281 0.075s0.194-0.025 0.281-0.075l10.012-5.78h16.919c0.31 0 0.562-0.251 0.562-0.562v-22.175c0-0.31-0.251-0.562-0.562-0.562zM30.877 23.598h-16.508c-0.099 0-0.195 0.026-0.281 0.075l-9.3 5.369v-4.883c0-0.31-0.251-0.562-0.562-0.562h-3.103v-21.052h29.753v21.052zM4.386 7.532h22.894c0.31 0 0.562-0.251 0.562-0.562s-0.251-0.562-0.562-0.562h-22.894c-0.31 0-0.562 0.251-0.562 0.562s0.251 0.562 0.562 0.562zM4.386 11.865h22.894c0.31 0 0.562-0.251 0.562-0.562s-0.251-0.562-0.562-0.562h-22.894c-0.31 0-0.562 0.251-0.562 0.562s0.251 0.562 0.562 0.562zM4.386 16.198h22.894c0.31 0 0.562-0.251 0.562-0.562s-0.251-0.562-0.562-0.562h-22.894c-0.31 0-0.562 0.251-0.562 0.562s0.251 0.562 0.562 0.562zM4.386 20.53h22.894c0.31 0 0.562-0.251 0.562-0.562s-0.251-0.562-0.562-0.562h-22.894c-0.31 0-0.562 0.252-0.562 0.562s0.251 0.562 0.562 0.562z"}))},v=function(){return wp.element.createElement(o,{viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l,{d:"M0 448V64h18v384H0zm26.857-.273V64H36v383.727h-9.143zm27.143 0V64h8.857v383.727H54zm44.857 0V64h8.857v383.727h-8.857zm36 0V64h17.714v383.727h-17.714zm44.857 0V64h8.857v383.727h-8.857zm18 0V64h8.857v383.727h-8.857zm18 0V64h8.857v383.727h-8.857zm35.715 0V64h18v383.727h-18zm44.857 0V64h18v383.727h-18zm35.999 0V64h18.001v383.727h-18.001zm36.001 0V64h18.001v383.727h-18.001zm26.857 0V64h18v383.727h-18zm45.143 0V64h26.857v383.727h-26.857zm35.714 0V64h9.143v383.727H476zm18 .273V64h18v384h-18z"}))},k=function(){return wp.element.createElement(o,{className:"wp-block-themeisle-icon-buttom-group-custom-icon",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l,{d:"M17.294,17.287l-14.588,0l0,-14.574l14.588,0c0,4.858 0,9.716 0,14.574Zm-13.738,-0.85l12.888,0l0,-12.874l-12.888,0c0,4.291 0,8.583 0,12.874Z"}),wp.element.createElement("rect",{x:"4.489",y:"4.744",width:"11.022",height:"2.512"}))},T=function(){return wp.element.createElement(o,{className:"wp-block-themeisle-icon-buttom-group-custom-icon",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l,{d:"M17.294,17.287l-14.588,0l0,-14.574l14.588,0c0,4.858 0,9.716 0,14.574Zm-13.738,-0.85l12.888,0l0,-12.874l-12.888,0c0,4.291 0,8.583 0,12.874Z"}),wp.element.createElement("rect",{y:"8.744",width:"11.022",x:"4.489",height:"2.512"}))},E=function(){return wp.element.createElement(o,{className:"wp-block-themeisle-icon-buttom-group-custom-icon",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l,{d:"M17.294,17.287l-14.588,0l0,-14.574l14.588,0c0,4.858 0,9.716 0,14.574Zm-13.738,-0.85l12.888,0l0,-12.874l-12.888,0c0,4.291 0,8.583 0,12.874Z"}),wp.element.createElement("rect",{x:"4.489",y:"12.802",width:"11.022",height:"2.512"}))},x=wp.element.createElement(o,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"20",height:"20"},wp.element.createElement(l,{d:"M5 5H3v2h2V5zm3 8h11v-2H8v2zm9-8H6v2h11V5zM7 11H5v2h2v-2zm0 8h2v-2H7v2zm3-2v2h11v-2H10z"})),C=wp.element.createElement(o,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},wp.element.createElement(l,{d:"M9 18.6L3.5 13l1-1L9 16.4l9.5-9.9 1 1z"}))},function(e,t){e.exports=React},function(e,t,n){"use strict";var a=n(0),l=n.n(a),o=(n(49),n(1),wp.components.ColorIndicator);t.a=function(e){var t=e.label,n=e.colorValue,a=e.className,r=e.children;return wp.element.createElement("div",{className:l()("components-base-control","wp-block-themeisle-blocks-color-base-control",a)},wp.element.createElement("div",{className:"components-base-control__field"},t&&wp.element.createElement("span",{className:"components-base-control__label"},t,n&&wp.element.createElement(o,{colorValue:n})),r))}},function(e,t,n){"use strict";var a=n(0),l=n.n(a),o=(n(51),n(3)),r=(n(1),wp.i18n.__),i=wp.components,c=i.Button,p=i.Dropdown,d=i.Icon,m=wp.compose,s=m.useInstanceId,u=m.useViewportMatch,b=wp.data,g=b.useSelect,f=b.useDispatch;t.a=function e(t){var n=t.label,a=t.className,i=t.children,m=s(e),b=u("large",">="),y=u("large","<="),h=u("small",">="),w=u("small","<="),v=!(b||y||h||w),k=g((function(e){var t=e("themeisle-gutenberg/data").getView,n=e("core/edit-post").__experimentalGetPreviewDeviceType;return n&&!v?n():t()})),T=f("themeisle-gutenberg/data").updateView,E=f("core/edit-post").__experimentalSetPreviewDeviceType,x=E&&!v?E:T,C="inspector-responsive-control-".concat(m);return wp.element.createElement("div",{id:C,className:l()("wp-block-themeisle-blocks-responsive-control",a)},wp.element.createElement("div",{className:"components-base-control__field"},wp.element.createElement("div",{className:"components-base-control__title"},wp.element.createElement("label",{className:"components-base-control__label"},n),wp.element.createElement("div",{className:"floating-controls"},wp.element.createElement(p,{position:"top left",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return wp.element.createElement(c,{icon:"Mobile"===k?"smartphone":k.toLowerCase(),label:r("Responsiveness Settings"),showTooltip:!0,className:"is-button",onClick:n,"aria-expanded":t})},renderContent:function(){return wp.element.createElement("div",{className:"wp-block-themeisle-blocks-responsive-control-settings"},wp.element.createElement("div",{className:"wp-block-themeisle-blocks-responsive-control-settings-title"},r("View")),wp.element.createElement(c,{className:l()("wp-block-themeisle-blocks-responsive-control-settings-item",{"is-selected":"Desktop"===k}),onClick:function(){return x("Desktop")}},"Desktop"===k&&wp.element.createElement(d,{icon:o.e}),wp.element.createElement("span",{className:"popover-title"},r("Desktop"))),wp.element.createElement(c,{className:l()("wp-block-themeisle-blocks-responsive-control-settings-item",{"is-selected":"Tablet"===k}),onClick:function(){return x("Tablet")}},"Tablet"===k&&wp.element.createElement(d,{icon:o.e}),wp.element.createElement("span",{className:"popover-title"},r("Tablet"))),wp.element.createElement(c,{className:l()("wp-block-themeisle-blocks-responsive-control-settings-item",{"is-selected":"Mobile"===k}),onClick:function(){return x("Mobile")}},"Mobile"===k&&wp.element.createElement(d,{icon:o.e}),wp.element.createElement("span",{className:"popover-title"},r("Mobile"))))}}))),i))}},function(e,t,n){"use strict";var a=n(0),l=n.n(a),o=(n(52),n(1),wp.element),r=o.Fragment,i=o.useRef,c=function(e){var t=e.id,n=e.index,a=e.option,l=e.min,o=e.max,c=e.onChange,p=i(null);return wp.element.createElement("div",{className:"wp-block-themeisle-blocks-sizing-control-item"},n.disabled?wp.element.createElement("input",{type:"number",disabled:n.disabled,className:"wp-block-themeisle-blocks-sizing-control-item-input",id:"wp-block-themeisle-blocks-sizing-control-item-input-".concat(a)}):wp.element.createElement(r,null,wp.element.createElement("input",{type:"number",className:"wp-block-themeisle-blocks-sizing-control-item-input",id:"wp-block-themeisle-blocks-sizing-control-item-input-".concat(a,"-").concat(t),value:void 0!==n.value?n.value:"",min:l,max:o,ref:p,onChange:function(e){return c(n.type,parseInt(e.target.value))}})),n.label&&wp.element.createElement("label",{className:"wp-block-themeisle-blocks-sizing-control-item-label",htmlFor:"wp-block-themeisle-blocks-sizing-control-item-input-".concat(a,"-").concat(t)},n.label))},p=wp.i18n.__,d=wp.components.Button,m=wp.compose.useInstanceId;t.a=function e(t){var n=t.label,a=t.type,o=t.min,r=t.max,i=t.changeType,s=t.options,u=t.onChange,b=m(e),g="inspector-sizing-control-".concat(b);return s&&1>s.length?p("Please specify more options."):wp.element.createElement("div",{id:g,className:"wp-block-themeisle-blocks-sizing-control"},wp.element.createElement("div",{className:"components-base-control__field"},n&&wp.element.createElement("label",{className:"components-base-control__label",htmlFor:g},n),wp.element.createElement("div",{className:l()("wp-block-themeisle-blocks-sizing-control-wrapper",{linking:a})},s.map((function(e,t){return wp.element.createElement(c,{id:b,index:e,option:t,min:o,max:r,onChange:u})})),a&&wp.element.createElement("div",{className:l()("wp-block-themeisle-blocks-sizing-control-item","toggle-linking",{"is-linked":"linked"===a})},wp.element.createElement(d,{icon:"linked"===a?"admin-links":"editor-unlink",label:p("linked"===a?"Unlink Values":"Link Values"),showTooltip:!0,className:"wp-block-themeisle-blocks-sizing-control-item-input",onClick:function(){return i("linked"===a?"unlinked":"linked")}})))))}},function(e,t,n){"use strict";t.a={"themeisle-blocks/advanced-heading":{tag:"h2",headingColor:"#000000",textTransform:"none",paddingType:"linked",paddingTypeTablet:"linked",paddingTypeMobile:"linked",padding:0,paddingTop:0,paddingRight:0,paddingBottom:0,paddingLeft:0,marginType:"unlinked",marginTypeTablet:"unlinked",marginTypeMobile:"unlinked",margin:0,marginTop:0,marginBottom:25},"themeisle-blocks/button-group":{spacing:20,collapse:"collapse-none"},"themeisle-blocks/button":{},"themeisle-blocks/font-awesome-icons":{fontSize:16,padding:5,margin:5},"themeisle-blocks/advanced-columns":{columnsGap:"default",paddingType:"linked",paddingTypeTablet:"linked",paddingTypeMobile:"linked",padding:20,paddingTop:20,paddingRight:20,paddingBottom:20,paddingLeft:20,marginType:"unlinked",marginTypeTablet:"unlinked",marginTypeMobile:"unlinked",margin:20,marginTop:20,marginBottom:20,horizontalAlign:"unset",columnsHeight:"auto",verticalAlign:"unset",hide:!1,hideTablet:!1,hideMobile:!1,columnsHTMLTag:"div"},"themeisle-blocks/advanced-column":{paddingType:"linked",paddingTypeTablet:"linked",paddingTypeMobile:"linked",padding:20,paddingTop:20,paddingRight:20,paddingBottom:20,paddingLeft:20,marginType:"unlinked",marginTypeTablet:"unlinked",marginTypeMobile:"unlinked",margin:20,marginTop:20,marginRight:0,marginBottom:20,marginLeft:0,columnsHTMLTag:"div"}}},,,function(e,t,n){"use strict";var a=n(0),l=n.n(a),o=n(114),r=n(111);n(62),n(1);function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function p(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return d(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return d(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var m=wp.i18n.__,s=wp.components,u=s.Button,b=s.Dropdown,g=wp.compose.useInstanceId,f=wp.element,y=f.Fragment,h=f.useEffect,w=f.useState;t.a=function e(t){var n=t.label,a=t.attributes,d=t.setAttributes,s=t.resetValues,f=t.onClick,v=t.children;h((function(){for(var e in s){if(s[e]!==a[e])return x(!0);x(!1)}}),[a]);var k=g(e),T=p(w(!1),2),E=T[0],x=T[1],C="inspector-control-panel-control-".concat(k);return wp.element.createElement("div",{className:"wp-block-themeisle-blocks-control-panel-control"},wp.element.createElement("div",{className:"components-base-control__field"},wp.element.createElement("div",{className:"components-base-control__title"},wp.element.createElement("label",{className:"components-base-control__label",for:C},n),wp.element.createElement("div",{className:"floating-controls"},wp.element.createElement(b,{position:"top left",headerTitle:n,expandOnMobile:!0,renderToggle:function(e){var t=e.isOpen,a=e.onToggle;return wp.element.createElement(y,null,E&&wp.element.createElement(u,{icon:wp.element.createElement(o.a,{icon:r.a}),label:m("Reset to default"),shotTooltip:!0,isTertiary:!0,onClick:function(){return d(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){c(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},s))}}),wp.element.createElement(u,{id:C,icon:"admin-settings",label:n,shotTooltip:!0,onClick:function(){a(),f&&f()},"aria-expanded":t,className:l()({"is-active":E})}))},renderContent:function(){return wp.element.createElement("div",{className:"wp-block-themeisle-popover-settings"},v)}})))))}},function(e,t,n){"use strict";var a=n(0),l=n.n(a);n(50),n(1);function o(e){return function(e){if(Array.isArray(e))return c(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||i(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||i(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,t){if(e){if("string"==typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(e,t):void 0}}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var p=lodash,d=p.startCase,m=p.toLower,s=wp.i18n.__,u=wp.compose.useInstanceId,b=wp.components,g=b.Button,f=b.BaseControl,y=b.Dropdown,h=b.MenuGroup,w=b.MenuItem,v=b.SelectControl,k=b.TextControl,T=wp.element,E=T.useEffect,x=T.useState;t.a=function e(t){var n=t.label,a=t.value,i=t.valueVariant,c=t.valueStyle,p=t.valueTransform,b=t.isSelect,T=void 0!==b&&b,C=t.onChangeFontFamily,S=t.onChangeFontVariant,M=t.onChangeFontStyle,B=t.onChangeTextTransform,O=u(e);E((function(){fetch("https://www.googleapis.com/webfonts/v1/webfonts?key=AIzaSyClGdkPJ1BvgLOol5JAkQY4Mv2lkLYu00k").then((function(e){return e.json()})).then((function(e){L(e.items),a&&e.items.find((function(e){if(a===e.family){var t=e.variants.filter((function(e){return!1===e.includes("italic")})).map((function(e){return{label:d(m(e)),value:e}}));return _(t)}}))}))}),[]);var R=r(x(null),2),A=R[0],L=R[1],P=r(x(null),2),N=P[0],_=P[1],I=r(x(""),2),j=I[0],z=I[1],H="inspector-google-fonts-control-".concat(O);return wp.element.createElement("div",{className:"wp-block-themeisle-blocks-google-fonts-control"},wp.element.createElement(f,{label:n,id:H},null!==A?T?wp.element.createElement(v,{value:a||"",id:H,options:[{label:s("Default"),value:""}].concat(o(A.map((function(e){return{label:e.family,value:e.family}})))),onChange:function(e){var t=[];if(""===e)return t=[{label:s("Regular"),value:"regular"},{label:s("Italic"),value:"italic"}],C(void 0),void _(t);C(e),t=A.find((function(t){return e===t.family})).variants.filter((function(e){return!1===e.includes("italic")})).map((function(e){return{label:d(m(e)),value:e}})),_(t)}}):wp.element.createElement(y,{contentClassName:"wp-block-themeisle-blocks-google-fonts-popover",position:"bottom center",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return wp.element.createElement(g,{isLarge:!0,className:"wp-block-themeisle-blocks-google-fonts-button",id:H,onClick:n,"aria-expanded":t},a||s("Select Font Family"))},renderContent:function(e){var t=e.onToggle;return wp.element.createElement(h,{label:s("Google Fonts")},wp.element.createElement(k,{value:j,onChange:function(e){return z(e)}}),wp.element.createElement("div",{className:"components-popover__items"},wp.element.createElement(w,{onClick:function(){t(),C(void 0),_([]),z("")}},s("Default")),A.map((function(e){if(!j||e.family.toLowerCase().includes(j.toLowerCase()))return wp.element.createElement(w,{className:l()({"is-selected":e.family===a}),onClick:function(){t(),C(e.family);var n=e.variants.filter((function(e){return!1===e.includes("italic")})).map((function(e){return{label:d(m(e)),value:e}}));_(n),z("")}},e.family)}))))}}):s("Loading…")),N&&wp.element.createElement(v,{label:s("Font Width"),value:i||"regular",options:N,onChange:S}),wp.element.createElement(v,{label:s("Font Style"),value:c,options:[{label:s("Regular"),value:"normal"},{label:s("Italic"),value:"italic"}],onChange:M}),wp.element.createElement(v,{label:s("Font Transform"),value:p,options:[{label:s("Default"),value:"none"},{label:s("Uppercase"),value:"uppercase"},{label:s("Lowercase"),value:"lowercase"},{label:s("Capitalize"),value:"capitalize"}],onChange:B}))}},,function(e,t,n){"use strict";n.d(t,"b",(function(){return u})),n.d(t,"a",(function(){return b}));var a=n(0),l=n.n(a),o=(n(72),n(1),wp.components),r=o.BaseControl,i=o.Button,c=o.Dropdown,p=o.Toolbar,d=wp.compose.useInstanceId,m=wp.blockEditor.BlockControls,s=wp.element.Fragment,u=function e(t){var n=t.label,a=t.value,o=t.options,c=t.onChange,p=d(e),m="inspector-style-switcher-control-".concat(p);return wp.element.createElement(r,{id:m,label:n},wp.element.createElement("div",{className:"wp-block-themeisle-blocks-style-switcher"},o.map((function(e){return wp.element.createElement(i,{className:l()("wp-block-themeisle-blocks-style-switcher-item",{"is-active":e.value===a}),tabIndex:"0",onClick:function(){return function(e){return c(e)}(e.value)}},wp.element.createElement("div",{className:"wp-block-themeisle-blocks-style-switcher-item-preview"},wp.element.createElement("img",{src:e.image})),wp.element.createElement("div",{className:"wp-block-themeisle-blocks-style-switcher-item-label"},e.label))}))))},b=function(e){var t=e.label,n=e.value,a=e.options,o=e.onChange;return wp.element.createElement(m,null,wp.element.createElement(p,null,wp.element.createElement(c,{contentClassName:"wp-themesiel-blocks-block-styles-popover-content",position:"bottom center",renderToggle:function(e){var n=e.isOpen,a=e.onToggle;return wp.element.createElement(i,{className:"components-dropdown-menu__toggle",icon:"admin-appearance",onClick:a,"aria-haspopup":"true","aria-expanded":n,label:t,showTooltip:!0},wp.element.createElement("span",{className:"components-dropdown-menu__indicator"}))},renderContent:function(){return wp.element.createElement(s,null,wp.element.createElement("div",{className:"wp-block-themeisle-blocks-style-switcher"},a.map((function(e){return wp.element.createElement(i,{className:l()("wp-block-themeisle-blocks-style-switcher-item",{"is-active":e.value===n}),tabIndex:"0",onClick:function(){return function(e){return o(e)}(e.value)}},wp.element.createElement("div",{className:"wp-block-themeisle-blocks-style-switcher-item-preview"},wp.element.createElement("img",{src:e.image})),wp.element.createElement("div",{className:"wp-block-themeisle-blocks-style-switcher-item-label"},e.label))}))))}})))}},,,function(e,t,n){"use strict";n.r(t);var a=n(0),l=n.n(a);n(80),n(81),n(1);t.default=function(e){var t=e.type,n=e.front,a=e.style,o=e.fill,r=e.invert,i=e.width,c=e.height;return"none"!==a&&wp.element.createElement("div",{className:l()("wp-block-themeisle-blocks-advanced-columns-separators",t),style:!n&&i?{transform:"".concat(i?"scaleX( ".concat(i/100," )"):"")}:{}},"bigTriangle"===a&&!1===r&&wp.element.createElement("svg",{id:"bigTriangle",fill:o,viewBox:"0 0 100 100",width:"100%",height:c?"".concat(c,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",className:l()({rotate:"bottom"===t})},wp.element.createElement("path",{d:"M0 0 L50 100 L100 0 Z"})),"bigTriangle"===a&&!0===r&&wp.element.createElement("svg",{id:"bigTriangle",fill:o,viewBox:"0 0 100 100",width:"100%",height:c?"".concat(c,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",className:l()({rotate:"top"===t})},wp.element.createElement("path",{d:"M100, 0l-50, 100l-50, -100l0, 100l100, 0l0, -100Z"})),"rightCurve"===a&&!1===r&&wp.element.createElement("svg",{id:"rightCurve",fill:o,viewBox:"0 0 100 100",width:"100%",height:c?"".concat(c,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",className:l()({rotate:"top"===t})},wp.element.createElement("path",{d:"M0 100 C 20 0 50 0 100 100 Z"})),"rightCurve"===a&&!0===r&&wp.element.createElement("svg",{id:"rightCurve",fill:o,viewBox:"0 0 100 100",width:"100%",height:c?"".concat(c,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",className:l()({rotate:"top"===t})},wp.element.createElement("path",{d:"M0 100 C 50 0 70 0 100 100 Z"})),"curve"===a&&wp.element.createElement("svg",{id:"curve",fill:o,viewBox:"0 0 100 100",width:"100%",height:c?"".concat(c,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",className:l()({rotate:"top"===t})},wp.element.createElement("path",{d:"M0 100 C40 0 60 0 100 100 Z"})),"slant"===a&&!1===r&&wp.element.createElement("svg",{id:"slant",fill:o,viewBox:"0 0 100 100",width:"100%",height:c?"".concat(c,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",className:l()({rotate:"bottom"===t})},wp.element.createElement("path",{d:"M0 0 L100 100 L100 0 Z"})),"slant"===a&&!0===r&&wp.element.createElement("svg",{id:"slant",fill:o,viewBox:"0 0 100 100",width:"100%",height:c?"".concat(c,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",className:l()({rotate:"bottom"===t})},wp.element.createElement("path",{d:"M0 0 L0 100 L100 0 Z"})),"cloud"===a&&wp.element.createElement("svg",{id:"cloud",fill:o,viewBox:"0 0 100 100",width:"100%",height:c?"".concat(c,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",className:l()({rotate:"top"===t})},wp.element.createElement("path",{d:"M-5 100 Q 10 -100 15 100 Z M10 100 Q 20 -20 30 100 M25 100 Q 35 -70 45 100 M40 100 Q 50 -100 60 100 M55 100 Q 65 -20 75 100 M70 100 Q 75 -45 90 100 M85 100 Q 90 -50 95 100 M90 100 Q 95 -25 105 100 Z"})))}},,function(e,t,n){"use strict";n.r(t);n(77);var a=n(3),l=(n(1),wp.i18n.__),o=wp.components,r=o.Button,i=o.ButtonGroup,c=o.Icon,p=wp.compose.useInstanceId;t.default=function e(t){var n=t.label,o=t.backgroundType,d=t.changeBackgroundType,m=p(e),s="inspector-background-control-".concat(m);return wp.element.createElement("div",{id:s,className:"components-base-control wp-block-themeisle-blocks-advanced-columns-background-control"},wp.element.createElement("div",{className:"components-base-control__field"},wp.element.createElement("div",{className:"components-base-control__title"},wp.element.createElement("label",{className:"components-base-control__label"},n),wp.element.createElement(i,{className:"linking-controls"},wp.element.createElement(r,{icon:"admin-customizer",label:l("Color"),showTootlip:!0,isPrimary:"color"===o,onClick:function(){return d("color")}}),wp.element.createElement(r,{icon:"format-image",label:l("Image"),showTootlip:!0,isPrimary:"image"===o,onClick:function(){return d("image")}}),wp.element.createElement(r,{icon:function(){return wp.element.createElement(c,{icon:a.b})},label:l("Gradient"),showTootlip:!0,isPrimary:"gradient"===o,onClick:function(){return d("gradient")}})))))}},function(e,t){e.exports=ReactDOM},function(e,t,n){"use strict";t.a={1:{equal:["100"]},2:{equal:["50","50"],oneTwo:["33.34","66.66"],twoOne:["66.66","33.34"]},3:{equal:["33.33","33.33","33.33"],oneOneTwo:["25","25","50"],twoOneOne:["50","25","25"],oneTwoOne:["25","50","25"],oneThreeOne:["20","60","20"]},4:{equal:["25","25","25","25"]},5:{equal:["20","20","20","20","20"]},6:{equal:["16.66","16.66","16.66","16.66","16.66","16.66"]}}},function(e,t,n){"use strict";n(78);var a=n(5),l=n(0),o=n.n(l),r=(n(1),wp.components),i=r.Dashicon,c=r.Tooltip,p=function(e){var t=e.title,n=e.firstColor,a=e.secondColor,l=e.isSelected,r=e.onChange,p=wp.element.createElement("button",{type:"button","aria-pressed":l,className:o()("wp-block-themeisle-blocks-gradient-picker-control-option",{"is-active":l}),style:{background:"linear-gradient(90deg, ".concat(n," 0%, ").concat(a," 100%)")},onClick:function(){return r(n,0,a,100,"linear",90,"center center")}});return wp.element.createElement("div",{className:"wp-block-themeisle-blocks-gradient-picker-control-option-wrapper"},t?wp.element.createElement(c,{text:t},p):p,l&&wp.element.createElement(i,{icon:"saved"}))},d=wp.i18n.__,m=[{title:d("Reef"),firstColor:"#36d1dc",secondColor:"#5b86e5"},{title:d("Mild"),firstColor:"#67B26F",secondColor:"#4ca2cd"},{title:d("Mojito"),firstColor:"#1D976C",secondColor:"#93F9B9"},{title:d("Nelson"),firstColor:"#f2709c",secondColor:"#ff9472"},{title:d("Orange Fun"),firstColor:"#fc4a1a",secondColor:"#f7b733"},{title:d("Evening Night"),firstColor:"#005AA7",secondColor:"#FFFDE4"},{title:d("Calm Darya"),firstColor:"#5f2c82",secondColor:"#49a09d"},{title:d("Opa"),firstColor:"#3D7EAA",secondColor:"#FFE47A"},{title:d("Bora Bora"),firstColor:"#2BC0E4",secondColor:"#EAECC6"},{title:d("Electric Violet"),firstColor:"#4776E6",secondColor:"#8E54E9"},{title:d("Pinky"),firstColor:"#DD5E89",secondColor:"#F7BB97"},{title:d("Purple Paradise"),firstColor:"#1D2B64",secondColor:"#F8CDDA"}],s=wp.i18n.__,u=wp.components,b=u.Button,g=u.ColorIndicator,f=u.Dropdown,y=u.RangeControl,h=u.SelectControl,w=wp.compose.useInstanceId,v=wp.blockEditor.ColorPalette,k=wp.element.Fragment;t.a=function e(t){var n,l=t.label,o=t.value,r=t.customGradient,i=void 0===r||r,c=t.onChange,d=t.onChangeValue,u=w(e),T="inspector-gradient-picker-control-".concat(u);n="linear"===o.type?"".concat(o.angle,"deg"):"at ".concat(o.position);var E="".concat(o.type,"-gradient( ").concat(n,", ").concat(o.firstColor||"rgba( 0, 0, 0, 0 )"," ").concat(o.firstLocation,"%, ").concat(o.secondColor||"rgba( 0, 0, 0, 0 )"," ").concat(o.secondLocation,"% )"),x=m.some((function(e){return e.firstColor===o.firstColor&&e.secondColor===o.secondColor}));return wp.element.createElement("div",{id:T,className:"wp-block-themeisle-blocks-gradient-picker-control"},wp.element.createElement("div",{className:"components-base-control__field"},l&&wp.element.createElement("div",{className:"components-base-control__title"},wp.element.createElement("label",{className:"components-base-control__label"},l,!x&&wp.element.createElement(g,{colorValue:E}))),wp.element.createElement("div",{className:"wp-block-themeisle-blocks-gradient-picker-control-presets"},m.map((function(e){return wp.element.createElement(p,{title:e.title,firstColor:e.firstColor,secondColor:e.secondColor,isSelected:e.firstColor===o.firstColor&&e.secondColor===o.secondColor,onChange:c})})),wp.element.createElement("div",{className:"wp-block-themeisle-blocks-gradient-picker-control-custom-wrapper"},i&&wp.element.createElement(f,{className:"wp-block-themeisle-blocks-gradient-picker-control-dropdown-link-action",contentClassName:"wp-block-themeisle-blocks-gradient-picker-control-dropdown-content",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return wp.element.createElement(b,{"aria-expanded":t,onClick:n,isLink:!0},s("Custom Gradient"))},renderContent:function(){return wp.element.createElement(k,null,wp.element.createElement(a.a,{label:s("First Color"),colorValue:o.firstColor},wp.element.createElement(v,{label:s("Color"),clearable:!1,value:o.firstColor,onChange:function(e){return d({firstColor:e})}})),wp.element.createElement(y,{label:s("Location"),value:o.firstLocation,min:0,max:100,onChange:function(e){return d({firstLocation:e})}}),wp.element.createElement(a.a,{label:s("Second Color"),colorValue:o.secondColor},wp.element.createElement(v,{label:s("Color"),clearable:!1,value:o.secondColor,onChange:function(e){return d({secondColor:e})}})),wp.element.createElement(y,{label:s("Location"),value:o.secondLocation,min:0,max:100,onChange:function(e){return d({secondLocation:e})}}),wp.element.createElement(h,{label:s("Type"),value:o.type,options:[{label:"Linear",value:"linear"},{label:"Radial",value:"radial"}],onChange:function(e){return d({type:e})}}),"linear"===o.type?wp.element.createElement(y,{label:s("Angle"),value:o.angle,min:0,max:360,onChange:function(e){return d({angle:e})}}):wp.element.createElement(h,{label:s("Position"),value:o.position,options:[{label:"Top Left",value:"top left"},{label:"Top Center",value:"top center"},{label:"Top Right",value:"top right"},{label:"Center Left",value:"center left"},{label:"Center Center",value:"center center"},{label:"Center Right",value:"center right"},{label:"Bottom Left",value:"bottom left"},{label:"Bottom Center",value:"bottom center"},{label:"Bottom Right",value:"bottom right"}],onChange:function(e){return d({position:e})}}))}}),wp.element.createElement(b,{className:"wp-block-themeisle-blocks-gradient-picker-control-clear",type:"button",isSmall:!0,isSecondary:!0,onClick:function(){return c("#ffffff",0,"#ffffff",100,"linear",90,"center center")}},s("Clear"))))))}},,,function(e,t,n){"use strict";var a=n(0),l=n.n(a);n(63),n(1);function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return r(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var i=wp.i18n.__,c=wp.blockEditor.InspectorAdvancedControls,p=wp.compose.useInstanceId,d=wp.components,m=d.BaseControl,s=d.Button,u=d.Notice,b=wp.element,g=b.useEffect,f=b.useState;t.a=function e(t){var n=t.value,a=t.onChange,r=p(e);g((function(){return v(n)}),[n]);var d=o(f(!1),2),b=d[0],y=d[1],h=o(f(null),2),w=h[0],v=h[1],k=void 0!==window.themeisleGutenberg.blockIDs&&n!==w&&window.themeisleGutenberg.blockIDs.includes(w);return wp.element.createElement(c,null,wp.element.createElement(m,{label:i("HTML Anchor"),help:i("Anchors lets you link directly to a section on a page."),id:"wp-block-themeisle-blocks-html-anchor-control-".concat(r)},wp.element.createElement("div",{className:"wp-block-themeisle-blocks-html-anchor-control"},wp.element.createElement("input",{type:"text",className:"wp-block-themeisle-blocks-html-anchor-control-input",readonly:!b&&"readonly",value:b?w:n,onChange:function(e){return v(e.target.value)},onClick:function(e){return e.target.select()}}),wp.element.createElement(s,{icon:b?"yes":"edit",label:i(b?"Save":"Edit"),showTooltip:!0,disabled:!!k,className:l()("wp-block-themeisle-blocks-html-anchor-control-button",{"is-saved":!b}),onClick:function(){if(b&&n!==w){var e=window.themeisleGutenberg.blockIDs.findIndex((function(e){return e===n}));window.themeisleGutenberg.blockIDs[e]=w,a(w)}y(!b)}}))),k&&wp.element.createElement(u,{status:"warning",isDismissible:!1,className:"wp-block-themeisle-blocks-anchor-control-notice"},i("This ID has already been used in this page. Please consider using a different ID to avoid conflict.")))}},function(e,t,n){"use strict";var a=n(112),l=n(113);n(64),n(1);function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return i(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var c=wp.i18n.__,p=wp.blockEditor.__experimentalLinkControl,d=wp.components,m=d.KeyboardShortcuts,s=d.Popover,u=d.ToolbarButton,b=d.ToolbarGroup,g=wp.element,f=g.Fragment,y=g.useState,h=wp.keycodes,w=h.displayShortcut,v=h.rawShortcut;t.a=function(e){var t,n=e.isSelected,i=e.url,d=e.setAttributes,g=e.opensInNewTab,h=r(y(!1),2),k=h[0],T=h[1],E=!!i,x=E&&n,C=function(){return T(!0),!1},S=function(){d({link:void 0,newTab:void 0}),T(!1)},M=k&&wp.element.createElement(s,{position:"bottom right",onClose:function(){return T(!1)}},wp.element.createElement(p,{className:"wp-block-navigation-link__inline-link-input",value:{url:i,opensInNewTab:g},onChange:function(e){var t=e.url,n=void 0===t?"":t,a=e.opensInNewTab;d({link:n}),g!==a&&d({newTab:a})}}));return wp.element.createElement(f,null,wp.element.createElement(b,null,!E&&wp.element.createElement(u,{name:"link",icon:a.a,title:c("Link"),shortcut:w.primary("k"),onClick:C,className:"wp-block-themeisle-toolbar-icon"}),x&&wp.element.createElement(u,{name:"link",icon:l.a,title:c("Unlink"),shortcut:w.primaryShift("k"),onClick:S,isActive:!0,className:"wp-block-themeisle-toolbar-icon"})),n&&wp.element.createElement(m,{bindGlobal:!0,shortcuts:(t={},o(t,v.primary("k"),C),o(t,v.primaryShift("k"),S),t)}),M)}},,function(e,t,n){"use strict";n(55);var a=n(23),l=n.n(a),o=n(0),r=n.n(o),i=n(15),c=n(114),p=n(117),d=(n(1),wp.components.Button),m=Object(i.b)((function(e){var t=e.value,n=e.selected,a=e.dragging,l=e.sorting,o=e.selectedItemsCount,i=e.onClick,c=a&&1<o;return wp.element.createElement(d,{className:r()("wp-block-themeisle-blocks-images-grid-component__image",{"is-selected":n,"is-sorting":n&&l}),onClick:function(){return i(t)},style:{backgroundImage:"url( ' ".concat(t.url," ' )")}},c&&wp.element.createElement("div",{className:"wp-block-themeisle-blocks-images-grid-component__image__count"},o))})),s=wp.i18n.__,u=wp.components.Button,b=Object(i.a)((function(e){var t=e.items,n=e.className,a=e.onItemSelect,l=e.selectedItems,o=e.isSorting,r=e.sortingItemKey,i=e.open;return wp.element.createElement("div",{className:n,tabIndex:"0"},t.map((function(e,t){var n=l.includes(e),i=r===e;return wp.element.createElement(m,{key:"image-".concat(e.id),index:t,value:e,selected:n,dragging:i,sorting:o,selectedItemsCount:l.length,onClick:a})})),wp.element.createElement(u,{label:s("Add Images"),icon:wp.element.createElement(c.a,{icon:p.a}),isPrimary:!0,onClick:i}))}));function g(e){return function(e){if(Array.isArray(e))return h(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||y(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function f(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||y(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function y(e,t){if(e){if("string"==typeof e)return h(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?h(e,t):void 0}}function h(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var w=wp.element.useState,v=function(e){var t=e.attributes,n=e.onSelectImages,a=e.open,o=f(w([]),2),i=o[0],c=o[1],p=f(w(!1),2),d=p[0],m=p[1],s=f(w(null),2),u=s[0],y=s[1];return wp.element.createElement(b,{className:r()("wp-block-themeisle-blocks-images-grid-component",{"is-single":1===t.images.length}),open:a,items:t.images,onItemSelect:function(e){var t;t=i.includes(e)?i.filter((function(t){return t!==e})):[].concat(g(i),[e]),c(t)},selectedItems:i,isSorting:d,sortingItemKey:u,shouldCancelStart:function(e){if(!e.target.sortableInfo)return!1;var n=t.images[e.target.sortableInfo.index];return!!i.length&&!i.includes(n)},updateBeforeSortStart:function(e){var n=e.index;return new Promise((function(e){m(!0),y(t.images[n]),e()}))},onSortEnd:function(e){var a=e.oldIndex,o=e.newIndex,r=l()(t.images,a,o);i.length&&(r=[].concat(g(r.slice(0,o).filter((function(e){return!i.includes(e)}))),g(i),g(r.slice(o,r.length).filter((function(e){return!i.includes(e)}))))),m(!1),y(null),c([]),n(r)},distance:3,axis:"xy"})},k=lodash.debounce,T=wp.blockEditor,E=T.MediaUpload,x=T.MediaUploadCheck;t.a=function(e){var t=e.attributes,n=e.onSelectImages,a=k(n,250);return wp.element.createElement(x,null,wp.element.createElement(E,{onSelect:a,allowedTypes:["image"],multiple:!0,addToGallery:!0,gallery:!0,value:t.images.map((function(e){return e.id})),render:function(e){var a=e.open;return wp.element.createElement(v,{attributes:t,open:a,onSelectImages:n})}}))}},,function(e,t,n){"use strict";n.r(t);var a=n(0),l=n.n(a),o=(n(79),n(6)),r=(n(1),wp.i18n.__),i=wp.components,c=i.Button,p=i.Path,d=i.Rect,m=i.SVG,s=i.Tooltip,u=wp.data.useSelect,b=wp.element.Fragment;t.default=function(e){var t,n=e.label,a=e.onClick,i=e.layout,g=e.layoutTablet,f=e.layoutMobile,y=e.columns,h=u((function(e){var t=e("themeisle-gutenberg/data").getView,n=e("core/edit-post").__experimentalGetPreviewDeviceType;return n?n():t()}),[]);return"Desktop"===h?t=i:"Tablet"===h?t=g:"Mobile"===h&&(t=f),wp.element.createElement(o.a,{label:n,className:"wp-block-themeisle-blocks-advanced-columns-layout-control"},1===y&&wp.element.createElement(s,{text:r("Single Row")},wp.element.createElement(c,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"equal"===t}),onClick:function(){return a("equal")}},wp.element.createElement(m,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(p,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}))))||2===y&&wp.element.createElement(b,null,wp.element.createElement(s,{text:r("Equal")},wp.element.createElement(c,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"equal"===t}),onClick:function(){return a("equal")}},wp.element.createElement(m,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(p,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(d,{x:"22.9",y:"13",width:"2.2",height:"22"})))),wp.element.createElement(s,{text:r("1:2")},wp.element.createElement(c,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"oneTwo"===t}),onClick:function(){return a("oneTwo")}},wp.element.createElement(m,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(p,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(d,{x:"16.9",y:"13",width:"2.2",height:"22"})))),wp.element.createElement(s,{text:r("2:1")},wp.element.createElement(c,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"twoOne"===t}),onClick:function(){return a("twoOne")}},wp.element.createElement(m,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(p,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(d,{x:"28.9",y:"13",width:"2.2",height:"22"})))),("Mobile"==h||"Tablet"==h)&&wp.element.createElement(s,{text:r("Collapsed Rows")},wp.element.createElement(c,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"collapsedRows"===t}),onClick:function(){return a("collapsedRows")}},wp.element.createElement(m,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(p,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(d,{x:"6",y:"22.9",width:"36",height:"2.2"})))))||3===y&&wp.element.createElement(b,null,wp.element.createElement(s,{text:r("Equal")},wp.element.createElement(c,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"equal"===t}),onClick:function(){return a("equal")}},wp.element.createElement(m,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(p,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(d,{x:"28.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(d,{x:"16.9",y:"13",width:"2.2",height:"22"})))),wp.element.createElement(s,{text:r("1:1:2")},wp.element.createElement(c,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"oneOneTwo"===t}),onClick:function(){return a("oneOneTwo")}},wp.element.createElement(m,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(p,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(d,{x:"22.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(d,{x:"12.9",y:"13",width:"2.2",height:"22"})))),wp.element.createElement(s,{text:r("2:1:1")},wp.element.createElement(c,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"twoOneOne"===t}),onClick:function(){return a("twoOneOne")}},wp.element.createElement(m,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(p,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(d,{x:"22.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(d,{x:"32.9",y:"13",width:"2.2",height:"22"})))),wp.element.createElement(s,{text:r("1:2:1")},wp.element.createElement(c,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"oneTwoOne"===t}),onClick:function(){return a("oneTwoOne")}},wp.element.createElement(m,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(p,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(d,{x:"13.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(d,{x:"31.9",y:"13",width:"2.2",height:"22"})))),wp.element.createElement(s,{text:r("1:3:1")},wp.element.createElement(c,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"oneThreeOne"===t}),onClick:function(){return a("oneThreeOne")}},wp.element.createElement(m,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(p,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(d,{x:"11.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(d,{x:"33.9",y:"13",width:"2.2",height:"22"})))),("Mobile"==h||"Tablet"==h)&&wp.element.createElement(s,{text:r("Collapsed Rows")},wp.element.createElement(c,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"collapsedRows"===t}),onClick:function(){return a("collapsedRows")}},wp.element.createElement(m,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(p,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(d,{x:"6",y:"22.9",width:"36",height:"2.2"})))))||4===y&&wp.element.createElement(b,null,wp.element.createElement(s,{text:r("Equal")},wp.element.createElement(c,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"equal"===t}),onClick:function(){return a("equal")}},wp.element.createElement(m,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(p,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(d,{x:"13.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(d,{x:"32.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(d,{x:"22.9",y:"13",width:"2.2",height:"22"})))),("Mobile"==h||"Tablet"==h)&&wp.element.createElement(b,null,wp.element.createElement(s,{text:r("Two Column Grid")},wp.element.createElement(c,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"twoColumnGrid"===t}),onClick:function(){return a("twoColumnGrid")}},wp.element.createElement(m,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(p,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(d,{x:"4",y:"22.9",width:"40",height:"2.2"}),wp.element.createElement(d,{x:"22.9",y:"13",width:"2.2",height:"22"})))),wp.element.createElement(s,{text:r("Collapsed Rows")},wp.element.createElement(c,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"collapsedRows"===t}),onClick:function(){return a("collapsedRows")}},wp.element.createElement(m,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(p,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(d,{x:"6",y:"22.9",width:"36",height:"2.2"}))))))||5===y&&wp.element.createElement(b,null,wp.element.createElement(s,{text:r("Equal")},wp.element.createElement(c,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"equal"===t}),onClick:function(){return a("equal")}},wp.element.createElement(m,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(p,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(d,{x:"10.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(d,{x:"34.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(d,{x:"26.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(d,{x:"18.9",y:"13",width:"2.2",height:"22"})))),("Mobile"==h||"Tablet"==h)&&wp.element.createElement(s,{text:r("Collapsed Rows")},wp.element.createElement(c,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"collapsedRows"===t}),onClick:function(){return a("collapsedRows")}},wp.element.createElement(m,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(p,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(d,{x:"6",y:"22.9",width:"36",height:"2.2"})))))||6===y&&wp.element.createElement(b,null,wp.element.createElement(s,{text:r("Equal")},wp.element.createElement(c,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"equal"===t}),onClick:function(){return a("equal")}},wp.element.createElement(m,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(p,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(d,{x:"10.4",y:"13",width:"2.2",height:"22"}),wp.element.createElement(d,{x:"35.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(d,{x:"29.4",y:"13",width:"2.2",height:"22"}),wp.element.createElement(d,{x:"16.4",y:"13",width:"2.2",height:"22"}),wp.element.createElement(d,{x:"22.9",y:"13",width:"2.2",height:"22"})))),("Mobile"==h||"Tablet"==h)&&wp.element.createElement(b,null,wp.element.createElement(s,{text:r("Two Column Grid")},wp.element.createElement(c,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"twoColumnGrid"===t}),onClick:function(){return a("twoColumnGrid")}},wp.element.createElement(m,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(p,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(d,{x:"4",y:"18.9",width:"40",height:"2.2"}),wp.element.createElement(d,{x:"22.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(d,{x:"4",y:"26.9",width:"40",height:"2.2"})))),wp.element.createElement(s,{text:r("Three Column Grid")},wp.element.createElement(c,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"threeColumnGrid"===t}),onClick:function(){return a("threeColumnGrid")}},wp.element.createElement(m,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(p,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(d,{x:"4",y:"22.9",width:"40",height:"2.2"}),wp.element.createElement(d,{x:"28.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(d,{x:"16.9",y:"13",width:"2.2",height:"22"})))),wp.element.createElement(s,{text:r("Collapsed Rows")},wp.element.createElement(c,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"collapsedRows"===t}),onClick:function(){return a("collapsedRows")}},wp.element.createElement(m,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(p,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(d,{x:"6",y:"22.9",width:"36",height:"2.2"})))))))}},function(e,t,n){"use strict";n.r(t);n(82);var a=n(3),l=n(0),o=n.n(l);n(83),n(1);function r(e){return function(e){if(Array.isArray(e))return i(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return i(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var c=lodash,p=c.startCase,d=c.toLower,m=wp.i18n.__,s=wp.components,u=s.Button,b=s.Dashicon,g=s.Icon,f=s.TextControl,y=s.Tooltip,h=s.SelectControl,w=function(e){var t,n=e.preview,l=e.tab,i=e.blocksCategories,c=e.templateCategories,s=e.selectedCategory,w=e.selectedTemplate,v=e.search,k=e.setPreview,T=e.changeTab,E=e.close,x=e.importTemplate,C=e.selectCategory,S=e.changeSearch,M=(t=("block"===l?i:c).map((function(e){return{label:p(d(e)),value:e}})),[{label:m("All Categories"),value:"all"}].concat(r(t)));return wp.element.createElement("div",{className:"library-modal-control-panel"},wp.element.createElement("div",{className:"library-modal-header"},wp.element.createElement("div",{className:"library-modal-header-logo"},n?wp.element.createElement(u,{className:"library-modal-header-tabs-button back-to-library","aria-label":m("Back to Library"),onClick:function(){return k(!1)}},wp.element.createElement(b,{icon:"arrow-left-alt"})," ",m("Back to Library")):wp.element.createElement("div",{className:"library-modal-header-tabs-button"},wp.element.createElement(g,{icon:a.m}))),!n&&wp.element.createElement("div",{className:"library-modal-header-tabs"},wp.element.createElement(u,{className:o()("library-modal-header-tabs-button",{"is-selected":"block"===l}),onClick:function(){return T("block")}},wp.element.createElement(b,{icon:"screenoptions"}),m("Blocks")),wp.element.createElement(u,{className:o()("library-modal-header-tabs-button",{"is-selected":"template"===l}),onClick:function(){return T("template")}},wp.element.createElement(b,{icon:"editor-table"}),m("Templates"))),wp.element.createElement("div",{className:"library-modal-header-actions"},n&&wp.element.createElement(u,{className:"library-modal-header-tabs-button insert-button",onClick:function(){return x(w.template_url)},tabindex:"0"},wp.element.createElement(b,{icon:"arrow-down-alt",size:16}),m("Insert")),wp.element.createElement(y,{text:m("Close")},wp.element.createElement(u,{className:"library-modal-header-tabs-button","aria-label":m("Close settings"),onClick:E},wp.element.createElement(b,{icon:"no-alt"}))))),!n&&wp.element.createElement("div",{className:"library-modal-actions"},wp.element.createElement(h,{className:"library-modal-category-control",value:"all"===s?"all":s,onChange:C,options:M}),wp.element.createElement(f,{type:"text",value:v||"",placeholder:m("Search"),className:"library-modal-search-control",onChange:S})))},v=wp.components.Notice,k=wp.data,T=k.useDispatch,E=k.useSelect,x=function(){var e=E((function(e){return e("core/notices").getNotices("themeisle-blocks/notices/template-library")})),t=T("core/notices").removeNotice;return wp.element.createElement("div",{className:"library-modal-error"},e.map((function(e){return wp.element.createElement(v,{status:e.status,isDismissible:e.isDismissible,onRemove:function(){return t(e.id,"themeisle-blocks/notices/template-library")},actions:e.actions},e.content)})))},C=n(27),S=n.n(C),M=wp.i18n.__,B=wp.components.Button,O=function(e){var t=e.template,n=e.importPreview,a=e.importTemplate;return wp.element.createElement("div",{"aria-label":t.title||M("Untitled Gutenberg Template"),className:"library-modal-content__item",tabindex:"0"},wp.element.createElement("div",{className:"library-modal-content__preview"},wp.element.createElement(S.a,null,wp.element.createElement("img",{src:t.screenshot_url||"https://raw.githubusercontent.com/Codeinwp/gutenberg-templates/master/assets/images/default.jpg"}))),wp.element.createElement("div",{className:"library-modal-content__footer"},wp.element.createElement("div",{className:"library-modal-content__footer_meta"},wp.element.createElement("h4",{className:"library-modal-content__footer_meta_area"},t.title&&t.title+(t.author&&M(" by ")+t.author),!t.title&&t.author&&M("Author: ")+t.author)),wp.element.createElement("div",{className:"library-modal-content__footer_actions"},wp.element.createElement(B,{isSecondary:!0,isLarge:!0,className:"library-modal-overlay__actions",onClick:function(){return n(t)},tabindex:"0"},M("Preview")),wp.element.createElement(B,{isPrimary:!0,isLarge:!0,className:"library-modal-overlay__actions",onClick:function(){return a(t.template_url)},tabindex:"0"},M("Insert")))))},R=wp.i18n.__,A=wp.blockEditor.BlockPreview,L=wp.components.Spinner,P=wp.compose.useViewportMatch,N=function(e){var t=e.preview,n=e.isLoading,a=e.data,l=e.tab,o=e.selectedTemplateContent,r=e.selectedCategory,i=e.search,c=e.importPreview,p=e.importTemplate,d=P("large",">="),m=P("large","<="),s=P("small",">="),u=P("small","<="),b=1400;return!d&&!m&&s&&!u?b=960:!(d||m||s||u)&&(b=600),t?wp.element.createElement("div",{className:"library-modal-preview"},wp.element.createElement(A,{blocks:o,viewportWidth:b})):n?wp.element.createElement("div",{className:"library-modal-loader"},wp.element.createElement(L,null)):wp.element.createElement("div",{className:"library-modal-content"},a.map((function(e){if(e.template_url&&("all"===r||e.categories&&e.categories.includes(r))&&(!i||e.keywords&&e.keywords.some((function(e){return e.toLowerCase().includes(i.toLowerCase())})))&&l===e.type)return wp.element.createElement(O,{template:e,importPreview:c,importTemplate:p})})),wp.element.createElement("div",{"aria-label":R("Coming Soon"),className:"library-modal-content__item"},wp.element.createElement("div",{className:"library-modal-content__preview"},wp.element.createElement(S.a,null,wp.element.createElement("img",{src:"https://raw.githubusercontent.com/Codeinwp/gutenberg-templates/master/assets/images/coming-soon.jpg"})))))};function _(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return I(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return I(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function I(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}function j(e,t,n,a,l,o,r){try{var i=e[o](r),c=i.value}catch(e){return void n(e)}i.done?t(c):Promise.resolve(c).then(a,l)}function z(e){return function(){var t=this,n=arguments;return new Promise((function(a,l){var o=e.apply(t,n);function r(e){j(o,a,l,r,i,"next",e)}function i(e){j(o,a,l,r,i,"throw",e)}r(void 0)}))}}var H=wp.i18n.__,D=wp.apiFetch,G=wp.blocks.parse,V=wp.components.Modal,F=wp.data,W=F.useSelect,U=F.useDispatch,q=wp.element,Z=q.useEffect,$=q.useState,Q=function(e){var t=e.clientId,n=e.close,a=W((function(e){return e("core/block-editor").getBlock(t)})),l=U("core/block-editor").replaceBlocks,r=U("core/notices").createNotice;Z((function(){(function(){var e=z(regeneratorRuntime.mark((function e(){var t,n,a;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return Boolean(themeisleGutenberg.isCompatible)||r("warning",H("You are using an older version of Otter. Use the latest version of Otter to have maximum compatibility with Template Library."),{context:"themeisle-blocks/notices/template-library",id:"compatibility-warning",isDismissible:!1,actions:[{label:H("Update Now"),url:themeisleGutenberg.updatePath}]}),e.prev=1,e.next=4,D({path:"themeisle-gutenberg-blocks/v1/fetch_templates"});case 4:t=e.sent,n=[],a=[],t.map((function(e){e.categories&&e.template_url&&("block"===e.type&&e.categories.map((function(e){n.push(e)})),"template"===e.type&&e.categories.map((function(e){a.push(e)})))})),n=n.filter((function(e,t,n){return n.indexOf(e)===t})).sort(),a=a.filter((function(e,t,n){return n.indexOf(e)===t})).sort(),T(n),S(a),O(t),e.next=18;break;case 15:e.prev=15,e.t0=e.catch(1),r("error",H("There seems to be an error. Please try again."),{context:"themeisle-blocks/notices/template-library",isDismissible:!0});case 18:s(!1);case 19:case"end":return e.stop()}}),e,null,[[1,15]])})));return function(){return e.apply(this,arguments)}})()()}),[]);var i=_($("block"),2),c=i[0],p=i[1],d=_($(!0),2),m=d[0],s=d[1],u=_($("all"),2),b=u[0],g=u[1],f=_($(""),2),y=f[0],h=f[1],v=_($([]),2),k=v[0],T=v[1],E=_($([]),2),C=E[0],S=E[1],M=_($([]),2),B=M[0],O=M[1],R=_($(!1),2),A=R[0],L=R[1],P=_($(null),2),I=P[0],j=P[1],F=_($(null),2),q=F[0],Q=F[1],K=function(){var e=z(regeneratorRuntime.mark((function e(){var t,n,a=arguments;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=a.length>0&&void 0!==a[0]?a[0]:null,s(!0),e.prev=2,e.next=5,D({path:"themeisle-gutenberg-blocks/v1/import_template?url=".concat(t.template_url,"&preview=true")});case 5:(n=e.sent).__file&&n.content&&"wp_export"===n.__file&&(n=G(n.content)),j(t),Q(n),L(!0),e.next=15;break;case 12:e.prev=12,e.t0=e.catch(2),e.t0.message&&r("error",e.t0.message,{context:"themeisle-blocks/notices/template-library",isDismissible:!0});case 15:s(!1);case 16:case"end":return e.stop()}}),e,null,[[2,12]])})));return function(){return e.apply(this,arguments)}}(),J=function(){var e=z(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return L(!1),s(!0),e.prev=2,e.next=5,D({path:"themeisle-gutenberg-blocks/v1/import_template?url=".concat(t)});case 5:(n=e.sent).__file&&n.content&&"wp_export"===n.__file&&(n=G(n.content)),o=n,l(a.clientId,o),e.next=14;break;case 10:e.prev=10,e.t0=e.catch(2),e.t0.message&&r("error",e.t0.message,{context:"themeisle-blocks/notices/template-library",isDismissible:!0}),s(!1);case 14:case"end":return e.stop()}var o}),e,null,[[2,10]])})));return function(t){return e.apply(this,arguments)}}();return wp.element.createElement(V,{className:o()("wp-block-themeisle-library-modal",{"is-preview":A}),onRequestClose:n,isDismissable:!1,shouldCloseOnClickOutside:!1},wp.element.createElement(w,{preview:A,tab:c,changeTab:function(e){p(e),g("all"),h("")},blocksCategories:k,templateCategories:C,selectedTemplate:I,selectedCategory:b,search:y,setPreview:L,close:n,importTemplate:J,selectCategory:function(e){return g(e)},changeSearch:function(e){return h(e)}}),wp.element.createElement(x,null),wp.element.createElement(N,{preview:A,isLoading:m,data:B,tab:c,selectedTemplateContent:q,selectedCategory:b,search:y,importPreview:K,importTemplate:J}))};function K(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return J(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return J(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function J(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var Y=wp.i18n.__,X=wp.components,ee=X.Button,te=X.Dashicon,ne=X.Icon,ae=X.Path,le=X.Placeholder,oe=X.Rect,re=X.SVG,ie=X.Tooltip,ce=wp.element.useState;t.default=function(e){var t=e.clientId,n=e.setupColumns,l=K(ce(!1),2),o=l[0],r=l[1];return wp.element.createElement(le,{label:Y("Select Layout"),instructions:Y("Select a layout to start with, or make one yourself."),icon:wp.element.createElement(ne,{icon:a.g}),isColumnLayout:!0,className:"wp-block-themeisle-onboarding-component"},wp.element.createElement("div",{className:"wp-block-themeisle-layout-picker"},wp.element.createElement(ie,{text:Y("Equal")},wp.element.createElement(ee,{isLarge:!0,className:"wp-block-themeisle-blocks-advanced-column-layout",onClick:function(){return n(2,"equal")}},wp.element.createElement(re,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(ae,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(oe,{x:"22.9",y:"13",width:"2.2",height:"22"})))),wp.element.createElement(ie,{text:Y("1:2")},wp.element.createElement(ee,{isLarge:!0,className:"wp-block-themeisle-blocks-advanced-column-layout",onClick:function(){return n(2,"oneTwo")}},wp.element.createElement(re,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(ae,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(oe,{x:"16.9",y:"13",width:"2.2",height:"22"})))),wp.element.createElement(ie,{text:Y("2:1")},wp.element.createElement(ee,{isLarge:!0,className:"wp-block-themeisle-blocks-advanced-column-layout",onClick:function(){return n(2,"twoOne")}},wp.element.createElement(re,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(ae,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(oe,{x:"28.9",y:"13",width:"2.2",height:"22"})))),wp.element.createElement(ie,{text:Y("Equal")},wp.element.createElement(ee,{isLarge:!0,className:"wp-block-themeisle-blocks-advanced-column-layout",onClick:function(){return n(3,"equal")}},wp.element.createElement(re,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(ae,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(oe,{x:"28.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(oe,{x:"16.9",y:"13",width:"2.2",height:"22"})))),wp.element.createElement(ie,{text:Y("1:1:2")},wp.element.createElement(ee,{isLarge:!0,className:"wp-block-themeisle-blocks-advanced-column-layout",onClick:function(){return n(3,"oneOneTwo")}},wp.element.createElement(re,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(ae,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(oe,{x:"22.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(oe,{x:"12.9",y:"13",width:"2.2",height:"22"})))),wp.element.createElement(ie,{text:Y("2:1:1")},wp.element.createElement(ee,{isLarge:!0,className:"wp-block-themeisle-blocks-advanced-column-layout",onClick:function(){return n(3,"twoOneOne")}},wp.element.createElement(re,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(ae,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(oe,{x:"22.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(oe,{x:"32.9",y:"13",width:"2.2",height:"22"})))),wp.element.createElement(ie,{text:Y("Equal")},wp.element.createElement(ee,{isLarge:!0,className:"wp-block-themeisle-blocks-advanced-column-layout",onClick:function(){return n(4,"equal")}},wp.element.createElement(re,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(ae,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(oe,{x:"13.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(oe,{x:"32.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(oe,{x:"22.9",y:"13",width:"2.2",height:"22"}))))),wp.element.createElement(ie,{text:Y("Open Template Library")},wp.element.createElement(ee,{isPrimary:!0,isLarge:!0,className:"wp-block-themeisle-template-library",onClick:function(){return r(!0)}},wp.element.createElement(te,{icon:"category"}),Y("Template Library")),o&&wp.element.createElement(Q,{clientId:t,close:function(){return r(!1)}})),wp.element.createElement("div",{className:"wp-block-themeisle-layout-skipper"},wp.element.createElement(ee,{isLink:!0,onClick:function(){return n(1,"equal")}},Y("Skip"))))}},function(e,t,n){"use strict";n.r(t);var a=n(0),l=n.n(a),o=wp.i18n.__,r=function(e){var t=document.createElement("div");return t.innerHTML=e,void 0!==t.innerText?t.innerText:t.textContent},i=function(e){var t=[o("January"),o("February"),o("March"),o("April"),o("May"),o("June"),o("July"),o("August"),o("September"),o("October"),o("November"),o("December")],n=(e=new Date(e)).getDate(),a=e.getMonth(),l=e.getFullYear();return n+" "+t[a]+", "+l},c=(n(1),wp.components),p=c.Placeholder,d=c.Spinner,m=wp.data.useSelect,s=function(e){var t=e.id,n=e.link,a=e.alt,l=e.size,o=m((function(e){var n=e("core").getMedia(t);return{featuredImage:n?0<Object.keys(n.media_details.sizes).length&&n.media_details.sizes[l]?n.media_details.sizes[l].source_url:n.source_url:null,altText:n&&n.alt_text?n.alt_text:a}}),[l]),r=o.featuredImage,i=o.altText;return wp.element.createElement("div",{className:"wp-block-themeisle-blocks-posts-grid-post-image"},wp.element.createElement("a",{href:n},r?wp.element.createElement("img",{src:r,size:l,alt:i,"data-id":t}):wp.element.createElement(p,null,wp.element.createElement(d,null))))},u=wp.i18n,b=u.__,g=u.sprintf,f=function(e){var t=e.className,n=e.attributes,a=e.posts,o=e.categoriesList,c=e.authors,p=n.titleTag||"h5";return wp.element.createElement("div",{className:l()(t,"is-grid","wp-block-themeisle-blocks-posts-grid-columns-".concat(n.columns),{"has-shadow":n.imageBoxShadow})},a.map((function(e){var t,a;return o&&(t=o.find((function(t){return t.id===e.categories[0]}))),c&&(a=c.find((function(t){return t.id===e.author}))),wp.element.createElement("div",{className:"wp-block-themeisle-blocks-posts-grid-post-blog wp-block-themeisle-blocks-posts-grid-post-plain"},wp.element.createElement("div",{className:"wp-block-themeisle-blocks-posts-grid-post"},void 0!==e.featured_media&&0!==e.featured_media&&n.displayFeaturedImage&&wp.element.createElement(s,{id:e.featured_media,link:e.link,alt:e.title.rendered,size:n.imageSize}),wp.element.createElement("div",{className:"wp-block-themeisle-blocks-posts-grid-post-body"},n.template.map((function(l){return"category"===l&&void 0!==t&&n.displayCategory&&o?wp.element.createElement("span",{class:"wp-block-themeisle-blocks-posts-grid-post-category"},t.name):"title"===l&&n.displayTitle?wp.element.createElement(p,{className:"wp-block-themeisle-blocks-posts-grid-post-title"},wp.element.createElement("a",{href:e.link},r(e.title.rendered))):"meta"===l&&n.displayMeta&&(n.displayDate||n.displayAuthor)?wp.element.createElement("p",{className:"wp-block-themeisle-blocks-posts-grid-post-meta"},n.displayDate&&g(b("on %s"),i(e.date)),n.displayAuthor&&void 0!==a&&c&&g(b(" by %s"),a.name)):"description"===l&&0<n.excerptLength&&n.displayDescription?wp.element.createElement("p",{className:"wp-block-themeisle-blocks-posts-grid-post-description"},r(e.excerpt.rendered).substring(0,n.excerptLength)+"…"):void 0})))))})))},y=wp.i18n,h=y.__,w=y.sprintf,v=function(e){var t=e.className,n=e.attributes,a=e.posts,o=e.categoriesList,c=e.authors,p=n.titleTag||"h5";return wp.element.createElement("div",{className:l()(t,"is-list",{"has-shadow":n.imageBoxShadow})},a.map((function(e){var t,a;return o&&(t=o.find((function(t){return t.id===e.categories[0]}))),c&&(a=c.find((function(t){return t.id===e.author}))),wp.element.createElement("div",{className:"wp-block-themeisle-blocks-posts-grid-post-blog wp-block-themeisle-blocks-posts-grid-post-plain"},wp.element.createElement("div",{className:"wp-block-themeisle-blocks-posts-grid-post"},0!==e.featured_media&&n.displayFeaturedImage&&wp.element.createElement(s,{id:e.featured_media,link:e.link,alt:e.title.rendered,size:n.imageSize}),wp.element.createElement("div",{className:l()("wp-block-themeisle-blocks-posts-grid-post-body",{"is-full":!n.displayFeaturedImage})},n.template.map((function(l){return"category"===l&&void 0!==t&&n.displayCategory&&o?wp.element.createElement("span",{class:"wp-block-themeisle-blocks-posts-grid-post-category"},t.name):"title"===l&&n.displayTitle?wp.element.createElement(p,{className:"wp-block-themeisle-blocks-posts-grid-post-title"},wp.element.createElement("a",{href:e.link},r(e.title.rendered))):"meta"===l&&n.displayMeta&&(n.displayDate||n.displayAuthor)?wp.element.createElement("p",{className:"wp-block-themeisle-blocks-posts-grid-post-meta"},n.displayDate&&w(h("on %s"),i(e.date)),n.displayAuthor&&void 0!==a&&c&&w(h(" by %s"),a.name)):"description"===l&&0<n.excerptLength&&n.displayDescription?wp.element.createElement("p",{className:"wp-block-themeisle-blocks-posts-grid-post-description"},r(e.excerpt.rendered).substring(0,n.excerptLength)+"…"):void 0})))))})))};t.default=function(e){var t=e.className,n=e.attributes,a=e.posts,l=e.categoriesList,o=e.authors;return"grid"===n.style?wp.element.createElement(f,{className:t,attributes:n,posts:a,categoriesList:l,authors:o}):"list"===n.style?wp.element.createElement(v,{className:t,attributes:n,posts:a,categoriesList:l,authors:o}):void 0}},,,function(e,t,n){"use strict";n.r(t);var a=n(3),l={id:{type:"string"},columns:{type:"number"},layout:{type:"string"},layoutTablet:{type:"string",default:"equal"},layoutMobile:{type:"string",default:"equal"},columnsGap:{type:"string",default:"default"},paddingType:{type:"string",default:"linked"},paddingTypeTablet:{type:"string",default:"linked"},paddingTypeMobile:{type:"string",default:"linked"},padding:{type:"number",default:20},paddingTablet:{type:"number"},paddingMobile:{type:"number"},paddingTop:{type:"number",default:20},paddingTopTablet:{type:"number"},paddingTopMobile:{type:"number"},paddingRight:{type:"number",default:20},paddingRightTablet:{type:"number"},paddingRightMobile:{type:"number"},paddingBottom:{type:"number",default:20},paddingBottomTablet:{type:"number"},paddingBottomMobile:{type:"number"},paddingLeft:{type:"number",default:20},paddingLeftTablet:{type:"number"},paddingLeftMobile:{type:"number"},marginType:{type:"string",default:"unlinked"},marginTypeTablet:{type:"string",default:"unlinked"},marginTypeMobile:{type:"string",default:"unlinked"},margin:{type:"number",default:20},marginTablet:{type:"number"},marginMobile:{type:"number"},marginTop:{type:"number",default:20},marginTopTablet:{type:"number"},marginTopMobile:{type:"number"},marginBottom:{type:"number",default:20},marginBottomTablet:{type:"number"},marginBottomMobile:{type:"number"},columnsWidth:{type:"number"},horizontalAlign:{type:"string",default:"unset"},columnsHeight:{type:"string",default:"auto"},columnsHeightCustom:{type:"number"},columnsHeightCustomTablet:{type:"number"},columnsHeightCustomMobile:{type:"number"},verticalAlign:{type:"string",default:"unset"},backgroundType:{type:"string",default:"color"},backgroundColor:{type:"string"},backgroundImageID:{type:"number"},backgroundImageURL:{type:"string"},backgroundAttachment:{type:"string",default:"scroll"},backgroundPosition:{type:"string",default:"top left"},backgroundRepeat:{type:"string",default:"repeat"},backgroundSize:{type:"string",default:"auto"},backgroundGradientFirstColor:{type:"string",default:"#36d1dc"},backgroundGradientFirstLocation:{type:"number",default:0},backgroundGradientSecondColor:{type:"string",default:"#5b86e5"},backgroundGradientSecondLocation:{type:"number",default:100},backgroundGradientType:{type:"string",default:"linear"},backgroundGradientAngle:{type:"number",default:90},backgroundGradientPosition:{type:"string",default:"center center"},backgroundOverlayOpacity:{type:"number",default:50},backgroundOverlayType:{type:"string",default:"color"},backgroundOverlayColor:{type:"string"},backgroundOverlayImageID:{type:"number"},backgroundOverlayImageURL:{type:"string"},backgroundOverlayAttachment:{type:"string",default:"scroll"},backgroundOverlayPosition:{type:"string",default:"top left"},backgroundOverlayRepeat:{type:"string",default:"repeat"},backgroundOverlaySize:{type:"string",default:"auto"},backgroundOverlayGradientFirstColor:{type:"string",default:"#36d1dc"},backgroundOverlayGradientFirstLocation:{type:"number",default:0},backgroundOverlayGradientSecondColor:{type:"string",default:"#5b86e5"},backgroundOverlayGradientSecondLocation:{type:"number",default:100},backgroundOverlayGradientType:{type:"string",default:"linear"},backgroundOverlayGradientAngle:{type:"number",default:90},backgroundOverlayGradientPosition:{type:"string",default:"center center"},backgroundOverlayFilterBlur:{type:"number",default:0},backgroundOverlayFilterBrightness:{type:"number",default:10},backgroundOverlayFilterContrast:{type:"number",default:10},backgroundOverlayFilterGrayscale:{type:"number",default:0},backgroundOverlayFilterHue:{type:"number",default:0},backgroundOverlayFilterSaturate:{type:"number",default:10},backgroundOverlayBlend:{type:"string",default:"normal"},borderType:{type:"string",default:"linked"},border:{type:"number",default:0},borderTop:{type:"number",default:0},borderRight:{type:"number",default:0},borderBottom:{type:"number",default:0},borderLeft:{type:"number",default:0},borderColor:{type:"string",default:"#000000"},borderRadiusType:{type:"string",default:"linked"},borderRadius:{type:"number",default:0},borderRadiusTop:{type:"number",default:0},borderRadiusRight:{type:"number",default:0},borderRadiusBottom:{type:"number",default:0},borderRadiusLeft:{type:"number",default:0},boxShadow:{type:"boolean",default:!1},boxShadowColor:{type:"string",default:"#000000"},boxShadowColorOpacity:{type:"number",default:50},boxShadowBlur:{type:"number",default:5},boxShadowSpread:{type:"number",default:0},boxShadowHorizontal:{type:"number",default:0},boxShadowVertical:{type:"number",default:0},dividerTopType:{type:"string",default:"none"},dividerTopColor:{type:"string",default:"#000000"},dividerTopWidth:{type:"number",default:100},dividerTopWidthTablet:{type:"number",default:100},dividerTopWidthMobile:{type:"number",default:100},dividerTopHeight:{type:"number",default:100},dividerTopHeightTablet:{type:"number",default:100},dividerTopHeightMobile:{type:"number",default:100},dividerTopInvert:{type:"boolean",default:!1},dividerBottomType:{type:"string",default:"none"},dividerBottomColor:{type:"string",default:"#000000"},dividerBottomWidth:{type:"number",default:100},dividerBottomWidthTablet:{type:"number",default:100},dividerBottomWidthMobile:{type:"number",default:100},dividerBottomHeight:{type:"number",default:100},dividerBottomHeightTablet:{type:"number",default:100},dividerBottomHeightMobile:{type:"number",default:100},dividerBottomInvert:{type:"boolean",default:!1},hide:{type:"boolean",default:!1},hideTablet:{type:"boolean",default:!1},hideMobile:{type:"boolean",default:!1},reverseColumnsTablet:{type:"boolean",default:!1},reverseColumnsMobile:{type:"boolean",default:!1},columnsHTMLTag:{type:"string",default:"div"}},o=n(0),r=n.n(o),i=n(9),c=n.n(i);n(1);function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){m(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function m(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var s=wp.blockEditor.InnerBlocks,u=wp.components,b=u.SVG,g=u.Path,f={align:{type:"string"},id:{type:"string"},columns:{type:"number"},layout:{type:"string"},layoutTablet:{type:"string",default:"equal"},layoutMobile:{type:"string",default:"equal"},columnsGap:{type:"string",default:"default"},paddingType:{type:"string",default:"linked"},paddingTypeTablet:{type:"string",default:"linked"},paddingTypeMobile:{type:"string",default:"linked"},padding:{type:"number",default:20},paddingTablet:{type:"number",default:20},paddingMobile:{type:"number",default:20},paddingTop:{type:"number",default:20},paddingTopTablet:{type:"number",default:20},paddingTopMobile:{type:"number",default:20},paddingRight:{type:"number",default:20},paddingRightTablet:{type:"number",default:20},paddingRightMobile:{type:"number",default:20},paddingBottom:{type:"number",default:20},paddingBottomTablet:{type:"number",default:20},paddingBottomMobile:{type:"number",default:20},paddingLeft:{type:"number",default:20},paddingLeftTablet:{type:"number",default:20},paddingLeftMobile:{type:"number",default:20},marginType:{type:"string",default:"unlinked"},marginTypeTablet:{type:"string",default:"unlinked"},marginTypeMobile:{type:"string",default:"unlinked"},margin:{type:"number",default:20},marginTablet:{type:"number",default:20},marginMobile:{type:"number",default:20},marginTop:{type:"number",default:20},marginTopTablet:{type:"number",default:20},marginTopMobile:{type:"number",default:20},marginBottom:{type:"number",default:20},marginBottomTablet:{type:"number",default:20},marginBottomMobile:{type:"number",default:20},columnsWidth:{type:"number"},columnsHeight:{type:"string",default:"auto"},columnsHeightCustom:{type:"number"},columnsHeightCustomTablet:{type:"number"},columnsHeightCustomMobile:{type:"number"},horizontalAlign:{type:"string",default:"unset"},verticalAlign:{type:"string",default:"unset"},backgroundType:{type:"string",default:"color"},backgroundColor:{type:"string"},backgroundImageID:{type:"number"},backgroundImageURL:{type:"string"},backgroundAttachment:{type:"string",default:"scroll"},backgroundPosition:{type:"string",default:"top left"},backgroundRepeat:{type:"string",default:"repeat"},backgroundSize:{type:"string",default:"auto"},backgroundGradientFirstColor:{type:"string",default:"#36d1dc"},backgroundGradientFirstLocation:{type:"number",default:0},backgroundGradientSecondColor:{type:"string",default:"#5b86e5"},backgroundGradientSecondLocation:{type:"number",default:100},backgroundGradientType:{type:"string",default:"linear"},backgroundGradientAngle:{type:"number",default:90},backgroundGradientPosition:{type:"string",default:"center center"},backgroundOverlayOpacity:{type:"number",default:50},backgroundOverlayType:{type:"string",default:"color"},backgroundOverlayColor:{type:"string"},backgroundOverlayImageID:{type:"number"},backgroundOverlayImageURL:{type:"string"},backgroundOverlayAttachment:{type:"string",default:"scroll"},backgroundOverlayPosition:{type:"string",default:"top left"},backgroundOverlayRepeat:{type:"string",default:"repeat"},backgroundOverlaySize:{type:"string",default:"auto"},backgroundOverlayGradientFirstColor:{type:"string",default:"#36d1dc"},backgroundOverlayGradientFirstLocation:{type:"number",default:0},backgroundOverlayGradientSecondColor:{type:"string",default:"#5b86e5"},backgroundOverlayGradientSecondLocation:{type:"number",default:100},backgroundOverlayGradientType:{type:"string",default:"linear"},backgroundOverlayGradientAngle:{type:"number",default:90},backgroundOverlayGradientPosition:{type:"string",default:"center center"},backgroundOverlayFilterBlur:{type:"number",default:0},backgroundOverlayFilterBrightness:{type:"number",default:10},backgroundOverlayFilterContrast:{type:"number",default:10},backgroundOverlayFilterGrayscale:{type:"number",default:0},backgroundOverlayFilterHue:{type:"number",default:0},backgroundOverlayFilterSaturate:{type:"number",default:10},backgroundOverlayBlend:{type:"string",default:"normal"},borderType:{type:"string",default:"linked"},border:{type:"number",default:0},borderTop:{type:"number",default:0},borderRight:{type:"number",default:0},borderBottom:{type:"number",default:0},borderLeft:{type:"number",default:0},borderColor:{type:"string",default:"#000000"},borderRadiusType:{type:"string",default:"linked"},borderRadius:{type:"number",default:0},borderRadiusTop:{type:"number",default:0},borderRadiusRight:{type:"number",default:0},borderRadiusBottom:{type:"number",default:0},borderRadiusLeft:{type:"number",default:0},boxShadow:{type:"boolean",default:!1},boxShadowColor:{type:"string",default:"#000000"},boxShadowColorOpacity:{type:"number",default:50},boxShadowBlur:{type:"number",default:5},boxShadowSpread:{type:"number",default:0},boxShadowHorizontal:{type:"number",default:0},boxShadowVertical:{type:"number",default:0},dividerTopType:{type:"string",default:"none"},dividerTopColor:{type:"string",default:"#000000"},dividerTopWidth:{type:"number",default:100},dividerTopWidthTablet:{type:"number",default:100},dividerTopWidthMobile:{type:"number",default:100},dividerTopHeight:{type:"number",default:100},dividerTopHeightTablet:{type:"number",default:100},dividerTopHeightMobile:{type:"number",default:100},dividerTopInvert:{type:"boolean",default:!1},dividerBottomType:{type:"string",default:"none"},dividerBottomColor:{type:"string",default:"#000000"},dividerBottomWidth:{type:"number",default:100},dividerBottomWidthTablet:{type:"number",default:100},dividerBottomWidthMobile:{type:"number",default:100},dividerBottomHeight:{type:"number",default:100},dividerBottomHeightTablet:{type:"number",default:100},dividerBottomHeightMobile:{type:"number",default:100},dividerBottomInvert:{type:"boolean",default:!1},hide:{type:"boolean",default:!1},hideTablet:{type:"boolean",default:!1},hideMobile:{type:"boolean",default:!1},columnsHTMLTag:{type:"string",default:"div"}},y=function(e){var t=e.type,n=e.front,a=e.style,l=e.fill,o=e.invert,i=e.width,c=e.height;return"none"!==a&&wp.element.createElement("div",{className:r()("wp-block-themeisle-blocks-advanced-columns-separators",t),style:!n&&i?{transform:"".concat(i?"scaleX( ".concat(i/100," )"):"")}:{}},"bigTriangle"===a&&!1===o&&wp.element.createElement(b,{id:"bigTriangle",fill:l,viewBox:"0 0 100 100",width:"100%",height:c?"".concat(c,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",style:"bottom"===t?{transform:"".concat("bottom"===t?"rotate(180deg)":"")}:{}},wp.element.createElement(g,{d:"M0 0 L50 100 L100 0 Z"})),"bigTriangle"===a&&!0===o&&wp.element.createElement(b,{id:"bigTriangle",fill:l,viewBox:"0 0 100 100",width:"100%",height:c?"".concat(c,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",style:"top"===t?{transform:"".concat("top"===t?"rotate(180deg)":"")}:{}},wp.element.createElement(g,{d:"M100, 0l-50, 100l-50, -100l0, 100l100, 0l0, -100Z"})),"rightCurve"===a&&!1===o&&wp.element.createElement(b,{id:"rightCurve",fill:l,viewBox:"0 0 100 100",width:"100%",height:c?"".concat(c,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",style:"top"===t?{transform:"".concat("top"===t?"rotate(180deg)":"")}:{}},wp.element.createElement(g,{d:"M0 100 C 20 0 50 0 100 100 Z"})),"rightCurve"===a&&!0===o&&wp.element.createElement(b,{id:"rightCurve",fill:l,viewBox:"0 0 100 100",width:"100%",height:c?"".concat(c,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",style:"top"===t?{transform:"".concat("top"===t?"rotate(180deg)":"")}:{}},wp.element.createElement(g,{d:"M0 100 C 50 0 70 0 100 100 Z"})),"curve"===a&&wp.element.createElement(b,{id:"curve",fill:l,viewBox:"0 0 100 100",width:"100%",height:c?"".concat(c,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",style:"top"===t?{transform:"".concat("top"===t?"rotate(180deg)":"")}:{}},wp.element.createElement(g,{d:"M0 100 C40 0 60 0 100 100 Z"})),"slant"===a&&!1===o&&wp.element.createElement(b,{id:"slant",fill:l,viewBox:"0 0 100 100",width:"100%",height:c?"".concat(c,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",style:"bottom"===t?{transform:"".concat("bottom"===t?"rotate(180deg)":"")}:{}},wp.element.createElement(g,{d:"M0 0 L100 100 L100 0 Z"})),"slant"===a&&!0===o&&wp.element.createElement(b,{id:"slant",fill:l,viewBox:"0 0 100 100",width:"100%",height:c?"".concat(c,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",style:"bottom"===t?{transform:"".concat("bottom"===t?"rotate(180deg)":"")}:{}},wp.element.createElement(g,{d:"M0 0 L0 100 L100 0 Z"})),"cloud"===a&&wp.element.createElement(b,{id:"cloud",fill:l,viewBox:"0 0 100 100",width:"100%",height:c?"".concat(c,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",style:"top"===t?{transform:"".concat("top"===t?"rotate(180deg)":"")}:{}},wp.element.createElement(g,{d:"M-5 100 Q 10 -100 15 100 Z M10 100 Q 20 -20 30 100 M25 100 Q 35 -70 45 100 M40 100 Q 50 -100 60 100 M55 100 Q 65 -20 75 100 M70 100 Q 75 -45 90 100 M85 100 Q 90 -50 95 100 M90 100 Q 95 -25 105 100 Z"})))},h=function(e){var t=e.type,n=e.front,a=e.style,l=e.fill,o=e.invert,i=e.width,c=e.height;return"none"!==a&&wp.element.createElement("div",{className:r()("wp-block-themeisle-blocks-advanced-columns-separators",t),style:!n&&i?{transform:"".concat(i?"scaleX( ".concat(i/100," )"):"")}:{}},"bigTriangle"===a&&!1===o&&wp.element.createElement(b,{id:"bigTriangle",fill:l,viewBox:"0 0 100 100",width:"100%",height:c?"".concat(c,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",className:r()({rotate:"bottom"===t})},wp.element.createElement(g,{d:"M0 0 L50 100 L100 0 Z"})),"bigTriangle"===a&&!0===o&&wp.element.createElement(b,{id:"bigTriangle",fill:l,viewBox:"0 0 100 100",width:"100%",height:c?"".concat(c,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",className:r()({rotate:"top"===t})},wp.element.createElement(g,{d:"M100, 0l-50, 100l-50, -100l0, 100l100, 0l0, -100Z"})),"rightCurve"===a&&!1===o&&wp.element.createElement(b,{id:"rightCurve",fill:l,viewBox:"0 0 100 100",width:"100%",height:c?"".concat(c,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",className:r()({rotate:"top"===t})},wp.element.createElement(g,{d:"M0 100 C 20 0 50 0 100 100 Z"})),"rightCurve"===a&&!0===o&&wp.element.createElement(b,{id:"rightCurve",fill:l,viewBox:"0 0 100 100",width:"100%",height:c?"".concat(c,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",className:r()({rotate:"top"===t})},wp.element.createElement(g,{d:"M0 100 C 50 0 70 0 100 100 Z"})),"curve"===a&&wp.element.createElement(b,{id:"curve",fill:l,viewBox:"0 0 100 100",width:"100%",height:c?"".concat(c,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",className:r()({rotate:"top"===t})},wp.element.createElement(g,{d:"M0 100 C40 0 60 0 100 100 Z"})),"slant"===a&&!1===o&&wp.element.createElement(b,{id:"slant",fill:l,viewBox:"0 0 100 100",width:"100%",height:c?"".concat(c,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",className:r()({rotate:"bottom"===t})},wp.element.createElement(g,{d:"M0 0 L100 100 L100 0 Z"})),"slant"===a&&!0===o&&wp.element.createElement(b,{id:"slant",fill:l,viewBox:"0 0 100 100",width:"100%",height:c?"".concat(c,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",className:r()({rotate:"bottom"===t})},wp.element.createElement(g,{d:"M0 0 L0 100 L100 0 Z"})),"cloud"===a&&wp.element.createElement(b,{id:"cloud",fill:l,viewBox:"0 0 100 100",width:"100%",height:c?"".concat(c,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",className:r()({rotate:"top"===t})},wp.element.createElement(g,{d:"M-5 100 Q 10 -100 15 100 Z M10 100 Q 20 -20 30 100 M25 100 Q 35 -70 45 100 M40 100 Q 50 -100 60 100 M55 100 Q 65 -20 75 100 M70 100 Q 75 -45 90 100 M85 100 Q 90 -50 95 100 M90 100 Q 95 -25 105 100 Z"})))},w=[{attributes:f,supports:{align:["wide","full"],html:!1},save:function(e){var t,n,a,l,o,i,p=e.attributes,m=e.className,u=p.columnsHTMLTag;("color"===p.backgroundType&&(t={background:p.backgroundColor}),"image"===p.backgroundType&&(t={backgroundImage:"url( '".concat(p.backgroundImageURL,"' )"),backgroundAttachment:p.backgroundAttachment,backgroundPosition:p.backgroundPosition,backgroundRepeat:p.backgroundRepeat,backgroundSize:p.backgroundSize}),"gradient"===p.backgroundType)&&(i="linear"===p.backgroundGradientType?"".concat(p.backgroundGradientAngle,"deg"):"at ".concat(p.backgroundGradientPosition),t={background:"".concat(p.backgroundGradientType,"-gradient( ").concat(i,", ").concat(p.backgroundGradientFirstColor||"rgba( 0, 0, 0, 0 )"," ").concat(p.backgroundGradientFirstLocation,"%, ").concat(p.backgroundGradientSecondColor||"rgba( 0, 0, 0, 0 )"," ").concat(p.backgroundGradientSecondLocation,"% )")});"linked"===p.borderType&&(a={borderWidth:"".concat(p.border,"px"),borderStyle:"solid",borderColor:p.borderColor}),"unlinked"===p.borderType&&(a={borderTopWidth:"".concat(p.borderTop,"px"),borderRightWidth:"".concat(p.borderRight,"px"),borderBottomWidth:"".concat(p.borderBottom,"px"),borderLeftWidth:"".concat(p.borderLeft,"px"),borderStyle:"solid",borderColor:p.borderColor}),"linked"===p.borderRadiusType&&(l={borderRadius:"".concat(p.borderRadius,"px")}),"unlinked"===p.borderRadiusType&&(l={borderTopLeftRadius:"".concat(p.borderRadiusTop,"px"),borderTopRightRadius:"".concat(p.borderRadiusRight,"px"),borderBottomRightRadius:"".concat(p.borderRadiusBottom,"px"),borderBottomLeftRadius:"".concat(p.borderRadiusLeft,"px")}),!0===p.boxShadow&&(o={boxShadow:"".concat(p.boxShadowHorizontal,"px ").concat(p.boxShadowVertical,"px ").concat(p.boxShadowBlur,"px ").concat(p.boxShadowSpread,"px ").concat(c()(p.boxShadowColor?p.boxShadowColor:"#000000",p.boxShadowColorOpacity))});var b,g=d(d(d(d(d({},t),a),l),o),{},{justifyContent:p.horizontalAlign});("color"===p.backgroundOverlayType&&(n={background:p.backgroundOverlayColor,opacity:p.backgroundOverlayOpacity/100}),"image"===p.backgroundOverlayType&&(n={backgroundImage:"url( '".concat(p.backgroundOverlayImageURL,"' )"),backgroundAttachment:p.backgroundOverlayAttachment,backgroundPosition:p.backgroundOverlayPosition,backgroundRepeat:p.backgroundOverlayRepeat,backgroundSize:p.backgroundOverlaySize,opacity:p.backgroundOverlayOpacity/100}),"gradient"===p.backgroundOverlayType)&&(b="linear"===p.backgroundOverlayGradientType?"".concat(p.backgroundOverlayGradientAngle,"deg"):"at ".concat(p.backgroundOverlayGradientPosition),n={background:"".concat(p.backgroundOverlayGradientType,"-gradient( ").concat(b,", ").concat(p.backgroundOverlayGradientFirstColor||"rgba( 0, 0, 0, 0 )"," ").concat(p.backgroundOverlayGradientFirstLocation,"%, ").concat(p.backgroundOverlayGradientSecondColor||"rgba( 0, 0, 0, 0 )"," ").concat(p.backgroundOverlayGradientSecondLocation,"% )"),opacity:p.backgroundOverlayOpacity/100});var f=d(d({},n),{},{mixBlendMode:p.backgroundOverlayBlend,filter:"blur( ".concat(p.backgroundOverlayFilterBlur/10,"px ) brightness( ").concat(p.backgroundOverlayFilterBrightness/10," ) contrast( ").concat(p.backgroundOverlayFilterContrast/10," ) grayscale( ").concat(p.backgroundOverlayFilterGrayscale/100," ) hue-rotate( ").concat(p.backgroundOverlayFilterHue,"deg ) saturate( ").concat(p.backgroundOverlayFilterSaturate/10," )")}),h={};p.columnsWidth&&(h={maxWidth:p.columnsWidth+"px"});var w=p.hide?"":"has-desktop-".concat(p.layout,"-layout"),v=p.hideTablet?"":"has-tablet-".concat(p.layoutTablet,"-layout"),k=p.hideMobile?"":"has-mobile-".concat(p.layoutMobile,"-layout"),T=r()(m,"has-".concat(p.columns,"-columns"),w,v,k,{"hide-in-desktop":p.hide},{"hide-in-tablet":p.hideTablet},{"hide-in-mobile":p.hideMobile},"has-".concat(p.lcolumnsGap,"-gap"),"has-vertical-".concat(p.verticalAlign));return wp.element.createElement(u,{className:T,id:p.id,style:g},wp.element.createElement("div",{className:"wp-themeisle-block-overlay",style:f}),wp.element.createElement(y,{type:"top",front:!0,style:p.dividerTopType,fill:p.dividerTopColor,invert:p.dividerTopInvert}),wp.element.createElement("div",{className:"innerblocks-wrap",style:h},wp.element.createElement(s.Content,null)),wp.element.createElement(y,{type:"bottom",front:!0,style:p.dividerBottomType,fill:p.dividerBottomColor,invert:p.dividerBottomInvert}))}},{attributes:f,supports:{align:["wide","full"],html:!1},save:function(e){var t,n,a,l,o,i,p=e.attributes,m=e.className,u=p.columnsHTMLTag;("color"===p.backgroundType&&(t={background:p.backgroundColor}),"image"===p.backgroundType&&(t={backgroundImage:"url( '".concat(p.backgroundImageURL,"' )"),backgroundAttachment:p.backgroundAttachment,backgroundPosition:p.backgroundPosition,backgroundRepeat:p.backgroundRepeat,backgroundSize:p.backgroundSize}),"gradient"===p.backgroundType)&&(i="linear"===p.backgroundGradientType?"".concat(p.backgroundGradientAngle,"deg"):"at ".concat(p.backgroundGradientPosition),t={background:"".concat(p.backgroundGradientType,"-gradient( ").concat(i,", ").concat(p.backgroundGradientFirstColor||"rgba( 0, 0, 0, 0 )"," ").concat(p.backgroundGradientFirstLocation,"%, ").concat(p.backgroundGradientSecondColor||"rgba( 0, 0, 0, 0 )"," ").concat(p.backgroundGradientSecondLocation,"% )")});"linked"===p.borderType&&(a={borderWidth:"".concat(p.border,"px"),borderStyle:"solid",borderColor:p.borderColor}),"unlinked"===p.borderType&&(a={borderTopWidth:"".concat(p.borderTop,"px"),borderRightWidth:"".concat(p.borderRight,"px"),borderBottomWidth:"".concat(p.borderBottom,"px"),borderLeftWidth:"".concat(p.borderLeft,"px"),borderStyle:"solid",borderColor:p.borderColor}),"linked"===p.borderRadiusType&&(l={borderRadius:"".concat(p.borderRadius,"px")}),"unlinked"===p.borderRadiusType&&(l={borderTopLeftRadius:"".concat(p.borderRadiusTop,"px"),borderTopRightRadius:"".concat(p.borderRadiusRight,"px"),borderBottomRightRadius:"".concat(p.borderRadiusBottom,"px"),borderBottomLeftRadius:"".concat(p.borderRadiusLeft,"px")}),!0===p.boxShadow&&(o={boxShadow:"".concat(p.boxShadowHorizontal,"px ").concat(p.boxShadowVertical,"px ").concat(p.boxShadowBlur,"px ").concat(p.boxShadowSpread,"px ").concat(c()(p.boxShadowColor?p.boxShadowColor:"#000000",p.boxShadowColorOpacity))});var b,g=d(d(d(d(d({},t),a),l),o),{},{justifyContent:p.horizontalAlign});("color"===p.backgroundOverlayType&&(n={background:p.backgroundOverlayColor,opacity:p.backgroundOverlayOpacity/100}),"image"===p.backgroundOverlayType&&(n={backgroundImage:"url( '".concat(p.backgroundOverlayImageURL,"' )"),backgroundAttachment:p.backgroundOverlayAttachment,backgroundPosition:p.backgroundOverlayPosition,backgroundRepeat:p.backgroundOverlayRepeat,backgroundSize:p.backgroundOverlaySize,opacity:p.backgroundOverlayOpacity/100}),"gradient"===p.backgroundOverlayType)&&(b="linear"===p.backgroundOverlayGradientType?"".concat(p.backgroundOverlayGradientAngle,"deg"):"at ".concat(p.backgroundOverlayGradientPosition),n={background:"".concat(p.backgroundOverlayGradientType,"-gradient( ").concat(b,", ").concat(p.backgroundOverlayGradientFirstColor||"rgba( 0, 0, 0, 0 )"," ").concat(p.backgroundOverlayGradientFirstLocation,"%, ").concat(p.backgroundOverlayGradientSecondColor||"rgba( 0, 0, 0, 0 )"," ").concat(p.backgroundOverlayGradientSecondLocation,"% )"),opacity:p.backgroundOverlayOpacity/100});var f=d(d({},n),{},{mixBlendMode:p.backgroundOverlayBlend}),h={};p.columnsWidth&&(h={maxWidth:p.columnsWidth+"px"});var w=p.hide?"":"has-desktop-".concat(p.layout,"-layout"),v=p.hideTablet?"":"has-tablet-".concat(p.layoutTablet,"-layout"),k=p.hideMobile?"":"has-mobile-".concat(p.layoutMobile,"-layout"),T=r()(m,"has-".concat(p.columns,"-columns"),w,v,k,{"hide-in-desktop":p.hide},{"hide-in-tablet":p.hideTablet},{"hide-in-mobile":p.hideMobile},"has-".concat(p.columnsGap,"-gap"),"has-vertical-".concat(p.verticalAlign));return wp.element.createElement(u,{className:T,id:p.id,style:g},wp.element.createElement("div",{className:"wp-themeisle-block-overlay",style:f}),wp.element.createElement(y,{type:"top",front:!0,style:p.dividerTopType,fill:p.dividerTopColor,invert:p.dividerTopInvert}),wp.element.createElement("div",{className:"innerblocks-wrap",style:h},wp.element.createElement(s.Content,null)),wp.element.createElement(y,{type:"bottom",front:!0,style:p.dividerBottomType,fill:p.dividerBottomColor,invert:p.dividerBottomInvert}))}},{attributes:d(d({},f),{},{paddingTablet:{type:"number"},paddingMobile:{type:"number"},paddingTopTablet:{type:"number"},paddingTopMobile:{type:"number"},paddingRightTablet:{type:"number"},paddingRightMobile:{type:"number"},paddingBottomTablet:{type:"number"},paddingBottomMobile:{type:"number"},paddingLeftTablet:{type:"number"},paddingLeftMobile:{type:"number"},marginTablet:{type:"number"},marginMobile:{type:"number"},marginTopTablet:{type:"number"},marginTopMobile:{type:"number"},marginBottomTablet:{type:"number"},marginBottomMobile:{type:"number"},reverseColumnsTablet:{type:"boolean",default:!1},reverseColumnsMobile:{type:"boolean",default:!1}}),supports:{align:["wide","full"],html:!1},save:function(e){var t=e.attributes,n=e.className,a=t.columnsHTMLTag,l=t.hide?"":"has-desktop-".concat(t.layout,"-layout"),o=t.hideTablet?"":"has-tablet-".concat(t.layoutTablet,"-layout"),i=t.hideMobile?"":"has-mobile-".concat(t.layoutMobile,"-layout"),c=r()(n,"has-".concat(t.columns,"-columns"),l,o,i,{"hide-in-desktop":t.hide},{"hide-in-tablet":t.hideTablet},{"hide-in-mobile":t.hideMobile},{"has-reverse-columns-tablet":t.reverseColumnsTablet&&!t.hideTablet&&"collapsedRows"===t.layoutTablet},{"has-reverse-columns-mobile":t.reverseColumnsMobile&&!t.hideMobile&&"collapsedRows"===t.layoutMobile},"has-".concat(t.columnsGap,"-gap"),"has-vertical-".concat(t.verticalAlign));return wp.element.createElement(a,{className:c,id:t.id},wp.element.createElement("div",{className:"wp-block-themeisle-blocks-advanced-columns-overlay"}),wp.element.createElement(h,{type:"top",front:!0,style:t.dividerTopType,fill:t.dividerTopColor,invert:t.dividerTopInvert}),wp.element.createElement("div",{className:"innerblocks-wrap"},wp.element.createElement(s.Content,null)),wp.element.createElement(h,{type:"bottom",front:!0,style:t.dividerBottomType,fill:t.dividerBottomColor,invert:t.dividerBottomInvert}))}}],v=n(8),k=n(21),T=wp.blockEditor,E=T.BlockControls,x=T.BlockVerticalAlignmentToolbar,C=function(e){var t=e.attributes,n=e.setAttributes,a=function(){return"flex-start"===t.verticalAlign?"top":"flex-end"===t.verticalAlign?"bottom":t.verticalAlign};return a=a(),wp.element.createElement(E,null,wp.element.createElement(x,{onChange:function(e){if(t.verticalAlign===e)return n({verticalAlign:"unset"});"top"===e?e="flex-start":"bottom"===e&&(e="flex-end"),n({verticalAlign:e})},value:a}))},S=n(5),M=n(30),B=n(7),O=n(6),R=n(19),A=n(22),L=n(11),P=n(25);function N(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return I(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return I(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function I(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var j=wp.i18n.__,z=wp.blockEditor,H=z.ColorPalette,D=z.InspectorControls,G=z.MediaPlaceholder,V=wp.components,F=V.BaseControl,W=V.Button,U=V.ButtonGroup,q=V.Dashicon,Z=V.PanelBody,$=V.ToggleControl,Q=V.RangeControl,K=V.SelectControl,J=wp.data.useSelect,Y=wp.element,X=Y.Fragment,ee=Y.useState,te=function(e){var t=e.attributes,n=e.setAttributes,a=e.updateColumnsWidth,l=e.dividerViewType,o=e.setDividerViewType,i=J((function(e){var t=e("themeisle-gutenberg/data").getView,n=e("core/edit-post").__experimentalGetPreviewDeviceType;return n?n():t()}),[]),c=_(ee("layout"),2),p=c[0],d=c[1],m=function(){var e;return"Desktop"===i&&(e=t.paddingType),"Tablet"===i&&(e=t.paddingTypeTablet),"Mobile"===i&&(e=t.paddingTypeMobile),e};m=m();var s={top:"paddingTop",right:"paddingRight",bottom:"paddingBottom",left:"paddingLeft"},u={top:"paddingTopTablet",right:"paddingRightTablet",bottom:"paddingBottomTablet",left:"paddingLeftTablet"},b={top:"paddingTopMobile",right:"paddingRightMobile",bottom:"paddingBottomMobile",left:"paddingLeftMobile"},g=function(e){var n;return"top"==e&&("Desktop"===i&&(n="linked"===t.paddingType?t.padding:t.paddingTop),"Tablet"===i&&(n="linked"===t.paddingTypeTablet?t.paddingTablet:t.paddingTopTablet),"Mobile"===i&&(n="linked"===t.paddingTypeMobile?t.paddingMobile:t.paddingTopMobile)),"right"==e&&("Desktop"===i&&(n="linked"===t.paddingType?t.padding:t.paddingRight),"Tablet"===i&&(n="linked"===t.paddingTypeTablet?t.paddingTablet:t.paddingRightTablet),"Mobile"===i&&(n="linked"===t.paddingTypeMobile?t.paddingMobile:t.paddingRightMobile)),"bottom"==e&&("Desktop"===i&&(n="linked"===t.paddingType?t.padding:t.paddingBottom),"Tablet"===i&&(n="linked"===t.paddingTypeTablet?t.paddingTablet:t.paddingBottomTablet),"Mobile"===i&&(n="linked"===t.paddingTypeMobile?t.paddingMobile:t.paddingBottomMobile)),"left"==e&&("Desktop"===i&&(n="linked"===t.paddingType?t.padding:t.paddingLeft),"Tablet"===i&&(n="linked"===t.paddingTypeTablet?t.paddingTablet:t.paddingLeftTablet),"Mobile"===i&&(n="linked"===t.paddingTypeMobile?t.paddingMobile:t.paddingLeftMobile)),n},f=function(){var e;return"Desktop"===i&&(e=t.marginType),"Tablet"===i&&(e=t.marginTypeTablet),"Mobile"===i&&(e=t.marginTypeMobile),e};f=f();var y={top:"marginTop",bottom:"marginBottom"},h={top:"marginTopTablet",bottom:"marginBottomTablet"},w={top:"marginTopMobile",bottom:"marginBottomMobile"},v=function(e){var n;return"top"==e&&("Desktop"===i&&(n="linked"===t.marginType?t.margin:t.marginTop),"Tablet"===i&&(n="linked"===t.marginTypeTablet?t.marginTablet:t.marginTopTablet),"Mobile"===i&&(n="linked"===t.marginTypeMobile?t.marginMobile:t.marginTopMobile)),"bottom"==e&&("Desktop"===i&&(n="linked"===t.marginType?t.margin:t.marginBottom),"Tablet"===i&&(n="linked"===t.marginTypeTablet?t.marginTablet:t.marginBottomTablet),"Mobile"===i&&(n="linked"===t.marginTypeMobile?t.marginMobile:t.marginBottomMobile)),n},k=function(e){if(t.horizontalAlign===e)return n({horizontalAlign:"unset"});n({horizontalAlign:e})},T=function(){var e;return"Desktop"===i&&(e=t.columnsHeightCustom),"Tablet"===i&&(e=t.columnsHeightCustomTablet),"Mobile"===i&&(e=t.columnsHeightCustomMobile),e};T=T();var E=function(){n({backgroundImageID:"",backgroundImageURL:""})},x=function(){n({backgroundOverlayImageID:"",backgroundOverlayImageURL:""})},C={top:"borderTop",right:"borderRight",bottom:"borderBottom",left:"borderLeft"},I=function(e){var n;return"top"==e&&(n="linked"===t.borderType?t.border:t.borderTop),"right"==e&&(n="linked"===t.borderType?t.border:t.borderRight),"bottom"==e&&(n="linked"===t.borderType?t.border:t.borderBottom),"left"==e&&(n="linked"===t.borderType?t.border:t.borderLeft),n},z={top:"borderRadiusTop",right:"borderRadiusRight",bottom:"borderRadiusBottom",left:"borderRadiusLeft"},V=function(e){var n;return"top"==e&&(n="linked"===t.borderRadiusType?t.borderRadius:t.borderRadiusTop),"right"==e&&(n="linked"===t.borderRadiusType?t.borderRadius:t.borderRadiusRight),"bottom"==e&&(n="linked"===t.borderRadiusType?t.borderRadius:t.borderRadiusBottom),"left"==e&&(n="linked"===t.borderRadiusType?t.borderRadius:t.borderRadiusLeft),n},Y=function(){var e;return"top"==l&&(e=t.dividerTopType),"bottom"==l&&(e=t.dividerBottomType),e};Y=Y();var te=function(){var e;return"top"==l&&(e=t.dividerTopColor),"bottom"==l&&(e=t.dividerBottomColor),e};te=te();var ne=function(){var e;return"top"==l&&("Desktop"==i&&(e=t.dividerTopWidth),"Tablet"==i&&(e=t.dividerTopWidthTablet),"Mobile"==i&&(e=t.dividerTopWidthMobile)),"bottom"==l&&("Desktop"==i&&(e=t.dividerBottomWidth),"Tablet"==i&&(e=t.dividerBottomWidthTablet),"Mobile"==i&&(e=t.dividerBottomWidthMobile)),e};ne=ne();var ae=function(){var e;return"top"==l&&("Desktop"==i&&(e=t.dividerTopHeight),"Tablet"==i&&(e=t.dividerTopHeightTablet),"Mobile"==i&&(e=t.dividerTopHeightMobile)),"bottom"==l&&("Desktop"==i&&(e=t.dividerBottomHeight),"Tablet"==i&&(e=t.dividerBottomHeightTablet),"Mobile"==i&&(e=t.dividerBottomHeightMobile)),e};ae=ae();var le=function(){var e;return"top"==l&&(e=t.dividerTopInvert),"bottom"==l&&(e=t.dividerBottomInvert),e};le=le();var oe=function(e,t){"Desktop"===t&&n({hide:e}),"Tablet"===t&&n({hideTablet:e}),"Mobile"===t&&n({hideMobile:e})},re=function(e,t){"Tablet"===t&&n({reverseColumnsTablet:e}),"Mobile"===t&&n({reverseColumnsMobile:e})};return wp.element.createElement(X,null,wp.element.createElement(D,null,wp.element.createElement(Z,{className:"wp-block-themeisle-blocks-advanced-columns-header-panel"},wp.element.createElement(W,{className:r()("header-tab",{"is-selected":"layout"===p}),onClick:function(){return d("layout")}},wp.element.createElement("span",null,wp.element.createElement(q,{icon:"editor-table"}),j("Layout"))),wp.element.createElement(W,{className:r()("header-tab",{"is-selected":"style"===p}),onClick:function(){return d("style")}},wp.element.createElement("span",null,wp.element.createElement(q,{icon:"admin-customizer"}),j("Style"))),wp.element.createElement(W,{className:r()("header-tab",{"is-selected":"advanced"===p}),onClick:function(){return d("advanced")}},wp.element.createElement("span",null,wp.element.createElement(q,{icon:"admin-generic"}),j("Advanced")))),"layout"===p&&wp.element.createElement(X,null,wp.element.createElement(Z,{title:j("Columns & Layout")},wp.element.createElement(Q,{label:j("Columns"),value:t.columns,onChange:function(e){6>=e&&(n({columns:e,layout:"equal",layoutTablet:"equal",layoutMobile:"collapsedRows"}),a(e,"equal")),6<e&&(n({columns:6,layout:"equal",layoutTablet:"equal",layoutMobile:"collapsedRows"}),a(6,"equal")),1>=e&&(n({columns:1,layout:"equal",layoutTablet:"equal",layoutMobile:"equal"}),a(1,"equal"))},min:1,max:6}),wp.element.createElement(M.default,{label:j("Layout"),columns:t.columns,layout:t.layout,layoutTablet:t.layoutTablet,layoutMobile:t.layoutMobile,onClick:function(e){"Desktop"===i&&(n({layout:e}),a(t.columns,e)),"Tablet"===i&&n({layoutTablet:e}),"Mobile"===i&&n({layoutMobile:e})}}),wp.element.createElement(K,{label:j("Columns Gap"),value:t.columnsGap,options:[{label:"Default (10px)",value:"default"},{label:"No Gap",value:"nogap"},{label:"Narrow (5px)",value:"narrow"},{label:"Extended (15px)",value:"extended"},{label:"Wide (20px)",value:"wide"},{label:"Wider (30px)",value:"wider"}],onChange:function(e){n({columnsGap:e})}})),wp.element.createElement(Z,{title:j("Spacing"),initialOpen:!1},wp.element.createElement(O.a,{label:"Padding"},wp.element.createElement(B.a,{type:m,min:0,max:500,changeType:function(e){"Desktop"===i&&n({paddingType:e}),"Tablet"===i&&n({paddingTypeTablet:e}),"Mobile"===i&&n({paddingTypeMobile:e})},onChange:function(e,a){"Desktop"===i&&("linked"===t.paddingType?n({padding:a}):n(N({},s[e],a))),"Tablet"===i&&("linked"===t.paddingTypeTablet?n({paddingTablet:a}):n(N({},u[e],a))),"Mobile"===i&&("linked"===t.paddingTypeMobile?n({paddingMobile:a}):n(N({},b[e],a)))},options:[{label:j("Top"),type:"top",value:g("top")},{label:j("Right"),type:"right",value:g("right")},{label:j("Bottom"),type:"bottom",value:g("bottom")},{label:j("Left"),type:"left",value:g("left")}]})),wp.element.createElement(O.a,{label:"Margin"},wp.element.createElement(B.a,{type:f,min:-500,max:500,changeType:function(e){"Desktop"===i&&n({marginType:e}),"Tablet"===i&&n({marginTypeTablet:e}),"Mobile"===i&&n({marginTypeMobile:e})},onChange:function(e,a){"Desktop"===i&&("linked"===t.marginType?n({margin:a}):n(N({},y[e],a))),"Tablet"===i&&("linked"===t.marginTypeTablet?n({marginTablet:a}):n(N({},h[e],a))),"Mobile"===i&&("linked"===t.marginTypeMobile?n({marginMobile:a}):n(N({},w[e],a)))},options:[{label:j("Top"),type:"top",value:v("top")},{label:j("Right"),disabled:!0},{label:j("Bottom"),type:"bottom",value:v("bottom")},{label:j("Left"),disabled:!0}]}))),wp.element.createElement(Z,{title:j("Section Structure"),initialOpen:!1},wp.element.createElement(Q,{label:j("Maximum Content Width"),value:t.columnsWidth||"",onChange:function(e){(0<=e&&1200>=e||void 0===e)&&n({columnsWidth:e})},min:0,max:1200}),t.columnsWidth&&wp.element.createElement(F,{label:"Horizontal Align"},wp.element.createElement(U,{className:"wp-block-themeisle-icon-buttom-group"},wp.element.createElement(W,{icon:"editor-alignleft",label:j("Left"),showTooltip:!0,isLarge:!0,isPrimary:"flex-start"===t.horizontalAlign,onClick:function(){return k("flex-start")}}),wp.element.createElement(W,{icon:"editor-aligncenter",label:j("Center"),showTooltip:!0,isLarge:!0,isPrimary:"center"===t.horizontalAlign,onClick:function(){return k("center")}}),wp.element.createElement(W,{icon:"editor-alignright",label:j("Right"),showTooltip:!0,isLarge:!0,isPrimary:"flex-end"===t.horizontalAlign,onClick:function(){return k("flex-end")}}))),wp.element.createElement(K,{label:j("Minimum Height"),value:t.columnsHeight,options:[{label:"Default",value:"auto"},{label:"Fit to Screen",value:"100vh"},{label:"Custom",value:"custom"}],onChange:function(e){n({columnsHeight:e})}}),"custom"===t.columnsHeight&&wp.element.createElement(O.a,{label:"Custom Height"},wp.element.createElement(Q,{value:T||"",onChange:function(e){"Desktop"===i&&n({columnsHeightCustom:e}),"Tablet"===i&&n({columnsHeightCustomTablet:e}),"Mobile"===i&&n({columnsHeightCustomMobile:e})},min:0,max:1e3}))))||"style"===p&&wp.element.createElement(X,null,wp.element.createElement(Z,{title:j("Background Settings"),className:"wp-block-themeisle-image-container"},wp.element.createElement(R.default,{label:j("Background Type"),backgroundType:t.backgroundType,changeBackgroundType:function(e){n({backgroundType:e})}}),"color"===t.backgroundType&&wp.element.createElement(S.a,{label:j("Background Color"),colorValue:t.backgroundColor},wp.element.createElement(H,{label:"Background Color",value:t.backgroundColor,onChange:function(e){n({backgroundColor:e})}}))||"image"===t.backgroundType&&(t.backgroundImageURL?wp.element.createElement(X,null,wp.element.createElement("div",{className:"wp-block-themeisle-image-container-body"},wp.element.createElement("div",{className:"wp-block-themeisle-image-container-area"},wp.element.createElement("div",{className:"wp-block-themeisle-image-container-holder",style:{backgroundImage:"url('".concat(t.backgroundImageURL,"')")}}),wp.element.createElement("div",{className:"wp-block-themeisle-image-container-delete",onClick:E},wp.element.createElement(q,{icon:"trash"}),wp.element.createElement("span",null,j("Remove Image"))))),wp.element.createElement(W,{isSecondary:!0,className:"wp-block-themeisle-image-container-delete-button",onClick:E},j("Change or Remove Image")),wp.element.createElement(L.a,{label:"Background Settings"},wp.element.createElement(K,{label:j("Background Attachment"),value:t.backgroundAttachment,options:[{label:"Scroll",value:"scroll"},{label:"Fixed",value:"fixed"},{label:"Local",value:"local"}],onChange:function(e){n({backgroundAttachment:e})}}),wp.element.createElement(K,{label:j("Background Position"),value:t.backgroundPosition,options:[{label:"Default",value:"top left"},{label:"Top Left",value:"top left"},{label:"Top Center",value:"top center"},{label:"Top Right",value:"top right"},{label:"Center Left",value:"center left"},{label:"Center Center",value:"center center"},{label:"Center Right",value:"center right"},{label:"Bottom Left",value:"bottom left"},{label:"Bottom Center",value:"bottom center"},{label:"Bottom Right",value:"bottom right"}],onChange:function(e){n({backgroundPosition:e})}}),wp.element.createElement(K,{label:j("Background Repeat"),value:t.backgroundRepeat,options:[{label:"Repeat",value:"repeat"},{label:"No-repeat",value:"no-repeat"}],onChange:function(e){n({backgroundRepeat:e})}}),wp.element.createElement(K,{label:j("Background Size"),value:t.backgroundSize,options:[{label:"Auto",value:"auto"},{label:"Cover",value:"cover"},{label:"Contain",value:"contain"}],onChange:function(e){n({backgroundSize:e})}}))):wp.element.createElement(G,{icon:"format-image",labels:{title:j("Background Image"),name:j("an image")},value:t.backgroundImageID,onSelect:function(e){n({backgroundImageID:e.id,backgroundImageURL:e.url})},accept:"image/*",allowedTypes:["image"]}))||"gradient"===t.backgroundType&&wp.element.createElement(A.a,{label:"Background Gradient",value:{firstColor:t.backgroundGradientFirstColor,firstLocation:t.backgroundGradientFirstLocation,secondColor:t.backgroundGradientSecondColor,secondLocation:t.backgroundGradientSecondLocation,type:t.backgroundGradientType,angle:t.backgroundGradientAngle,position:t.backgroundGradientPosition},onChange:function(e,t,a,l,o,r,i){n({backgroundGradientFirstColor:e,backgroundGradientFirstLocation:t,backgroundGradientSecondColor:a,backgroundGradientSecondLocation:l,backgroundGradientType:o,backgroundGradientAngle:r,backgroundGradientPosition:i})},onChangeValue:function(e){var t={firstColor:"backgroundGradientFirstColor",firstLocation:"backgroundGradientFirstLocation",secondColor:"backgroundGradientSecondColor",secondLocation:"backgroundGradientSecondLocation",type:"backgroundGradientType",angle:"backgroundGradientAngle",position:"backgroundGradientPosition"};for(var a in e)n(N({},t[a],e[a]))}})),wp.element.createElement(Z,{title:j("Background Overlay"),className:"wp-block-themeisle-image-container",initialOpen:!1},wp.element.createElement(R.default,{label:j("Overlay Type"),backgroundType:t.backgroundOverlayType,changeBackgroundType:function(e){n({backgroundOverlayType:e})}}),wp.element.createElement(Q,{label:j("Overlay Opacity"),value:t.backgroundOverlayOpacity,onChange:function(e){n({backgroundOverlayOpacity:e})},min:0,max:100}),"color"===t.backgroundOverlayType&&wp.element.createElement(S.a,{label:j("Overlay Color"),colorValue:t.backgroundOverlayColor},wp.element.createElement(H,{label:"Overlay Color",value:t.backgroundOverlayColor,onChange:function(e){n({backgroundOverlayColor:e})}}))||"image"===t.backgroundOverlayType&&(t.backgroundOverlayImageURL?wp.element.createElement(X,null,wp.element.createElement("div",{className:"wp-block-themeisle-image-container-body"},wp.element.createElement("div",{className:"wp-block-themeisle-image-container-area"},wp.element.createElement("div",{className:"wp-block-themeisle-image-container-holder",style:{backgroundImage:"url('".concat(t.backgroundOverlayImageURL,"')")}}),wp.element.createElement("div",{className:"wp-block-themeisle-image-container-delete",onClick:x},wp.element.createElement(q,{icon:"trash"}),wp.element.createElement("span",null,j("Remove Image"))))),wp.element.createElement(W,{isSecondary:!0,className:"wp-block-themeisle-image-container-delete-button",onClick:x},j("Change or Remove Image")),wp.element.createElement(L.a,{label:"Background Settings"},wp.element.createElement(K,{label:j("Background Attachment"),value:t.backgroundOverlayAttachment,options:[{label:"Scroll",value:"scroll"},{label:"Fixed",value:"fixed"},{label:"Local",value:"local"}],onChange:function(e){n({backgroundOverlayAttachment:e})}}),wp.element.createElement(K,{label:j("Background Position"),value:t.backgroundOverlayPosition,options:[{label:"Default",value:"top left"},{label:"Top Left",value:"top left"},{label:"Top Center",value:"top center"},{label:"Top Right",value:"top right"},{label:"Center Left",value:"center left"},{label:"Center Center",value:"center center"},{label:"Center Right",value:"center right"},{label:"Bottom Left",value:"bottom left"},{label:"Bottom Center",value:"bottom center"},{label:"Bottom Right",value:"bottom right"}],onChange:function(e){n({backgroundOverlayPosition:e})}}),wp.element.createElement(K,{label:j("Background Repeat"),value:t.backgroundOverlayRepeat,options:[{label:"Repeat",value:"repeat"},{label:"No-repeat",value:"no-repeat"}],onChange:function(e){n({backgroundOverlayRepeat:e})}}),wp.element.createElement(K,{label:j("Background Size"),value:t.backgroundOverlaySize,options:[{label:"Auto",value:"auto"},{label:"Cover",value:"cover"},{label:"Contain",value:"contain"}],onChange:function(e){n({backgroundOverlaySize:e})}}))):wp.element.createElement(G,{icon:"format-image",labels:{title:j("Background Image"),name:j("an image")},value:t.backgroundOverlayImageID,onSelect:function(e){n({backgroundOverlayImageID:e.id,backgroundOverlayImageURL:e.url})},accept:"image/*",allowedTypes:["image"]}))||"gradient"===t.backgroundOverlayType&&wp.element.createElement(A.a,{label:"Background Gradient",value:{firstColor:t.backgroundOverlayGradientFirstColor,firstLocation:t.backgroundOverlayGradientFirstLocation,secondColor:t.backgroundOverlayGradientSecondColor,secondLocation:t.backgroundOverlayGradientSecondLocation,type:t.backgroundOverlayGradientType,angle:t.backgroundOverlayGradientAngle,position:t.backgroundOverlayGradientPosition},onChange:function(e,t,a,l,o,r,i){n({backgroundOverlayGradientFirstColor:e,backgroundOverlayGradientFirstLocation:t,backgroundOverlayGradientSecondColor:a,backgroundOverlayGradientSecondLocation:l,backgroundOverlayGradientType:o,backgroundOverlayGradientAngle:r,backgroundOverlayGradientPosition:i})},onChangeValue:function(e){var t={firstColor:"backgroundOverlayGradientFirstColor",firstLocation:"backgroundOverlayGradientFirstLocation",secondColor:"backgroundOverlayGradientSecondColor",secondLocation:"backgroundOverlayGradientSecondLocation",type:"backgroundOverlayGradientType",angle:"backgroundOverlayGradientAngle",position:"backgroundOverlayGradientPosition"};for(var a in e)n(N({},t[a],e[a]))}}),wp.element.createElement(L.a,{label:"CSS Filters"},wp.element.createElement(Q,{label:j("Blur"),value:t.backgroundOverlayFilterBlur,onChange:function(e){n({backgroundOverlayFilterBlur:e})},min:0,max:100}),wp.element.createElement(Q,{label:j("Brightness"),value:t.backgroundOverlayFilterBrightness,onChange:function(e){n({backgroundOverlayFilterBrightness:e})},min:0,max:100}),wp.element.createElement(Q,{label:j("Contrast"),value:t.backgroundOverlayFilterContrast,onChange:function(e){n({backgroundOverlayFilterContrast:e})},min:0,max:100}),wp.element.createElement(Q,{label:j("Grayscale"),value:t.backgroundOverlayFilterGrayscale,onChange:function(e){n({backgroundOverlayFilterGrayscale:e})},min:0,max:100}),wp.element.createElement(Q,{label:j("Hue"),value:t.backgroundOverlayFilterHue,onChange:function(e){n({backgroundOverlayFilterHue:e})},min:0,max:360}),wp.element.createElement(Q,{label:j("Saturation"),value:t.backgroundOverlayFilterSaturate,onChange:function(e){n({backgroundOverlayFilterSaturate:e})},min:0,max:100})),wp.element.createElement(K,{label:j("Blend Mode"),value:t.backgroundOverlayBlend,options:[{label:"Normal",value:"normal"},{label:"Multiply",value:"multiply"},{label:"Screen",value:"screen"},{label:"Overlay",value:"overlay"},{label:"Darken",value:"darken"},{label:"Lighten",value:"lighten"},{label:"Color Dodge",value:"color-dodge"},{label:"Color Burn",value:"color-burn"},{label:"Hard Light",value:"hard-light"},{label:"Soft Light",value:"soft-light"},{label:"Difference",value:"difference"},{label:"Exclusion",value:"exclusion"},{label:"Hue",value:"hue"},{label:"Saturation",value:"saturation"},{label:"Color",value:"color"},{label:"Luminosity",value:"luminosity"}],onChange:function(e){n({backgroundOverlayBlend:e})}})),wp.element.createElement(Z,{title:j("Border"),className:"wp-block-themeisle-border-container",initialOpen:!1},wp.element.createElement(B.a,{label:j("Border Width"),type:t.borderType,min:0,max:500,changeType:function(e){n({borderType:e})},onChange:function(e,a){"linked"===t.borderType?n({border:a}):n(N({},C[e],a))},options:[{label:j("Top"),type:"top",value:I("top")},{label:j("Right"),type:"right",value:I("right")},{label:j("Bottom"),type:"bottom",value:I("bottom")},{label:j("Left"),type:"left",value:I("left")}]}),wp.element.createElement(S.a,{label:j("Border Color"),colorValue:t.borderColor},wp.element.createElement(H,{label:"Border Color",value:t.borderColor,onChange:function(e){n({borderColor:e})}})),wp.element.createElement(B.a,{label:j("Border Radius"),type:t.borderRadiusType,min:0,max:500,changeType:function(e){n({borderRadiusType:e})},onChange:function(e,a){"linked"===t.borderRadiusType?n({borderRadius:a}):n(N({},z[e],a))},options:[{label:j("Top"),type:"top",value:V("top")},{label:j("Right"),type:"right",value:V("right")},{label:j("Bottom"),type:"bottom",value:V("bottom")},{label:j("Left"),type:"left",value:V("left")}]}),wp.element.createElement($,{label:"Box Shadow",checked:t.boxShadow,onChange:function(){n({boxShadow:!t.boxShadow})}}),t.boxShadow&&wp.element.createElement(X,null,wp.element.createElement(S.a,{label:j("Shadow Color"),colorValue:t.boxShadowColor},wp.element.createElement(H,{label:"Shadow Color",value:t.boxShadowColor,onChange:function(e){n({boxShadowColor:e})}})),wp.element.createElement(L.a,{label:"Border Shadow"},wp.element.createElement(Q,{label:j("Opacity"),value:t.boxShadowColorOpacity,onChange:function(e){n({boxShadowColorOpacity:e})},min:0,max:100}),wp.element.createElement(Q,{label:j("Blur"),value:t.boxShadowBlur,onChange:function(e){n({boxShadowBlur:e})},min:0,max:100}),wp.element.createElement(Q,{label:j("Spread"),value:t.boxShadowSpread,onChange:function(e){n({boxShadowSpread:e})},min:-100,max:100}),wp.element.createElement(Q,{label:j("Horizontal"),value:t.boxShadowHorizontal,onChange:function(e){n({boxShadowHorizontal:e})},min:-100,max:100}),wp.element.createElement(Q,{label:j("Vertical"),value:t.boxShadowVertical,onChange:function(e){n({boxShadowVertical:e})},min:-100,max:100})))),wp.element.createElement(Z,{title:j("Shape Divider"),initialOpen:!1,className:"wp-block-themeisle-shape-divider"},wp.element.createElement(U,null,wp.element.createElement(W,{isSmall:!0,isSecondary:"top"!==l,isPrimary:"top"===l,onClick:function(){return o("top")}},j("Top")),wp.element.createElement(W,{isSmall:!0,isSecondary:"bottom"!==l,isPrimary:"bottom"===l,onClick:function(){return o("bottom")}},j("Bottom"))),wp.element.createElement(K,{label:j("Type"),value:Y,options:[{label:"None",value:"none"},{label:"Triangle",value:"bigTriangle"},{label:"Right Curve",value:"rightCurve"},{label:"Curve",value:"curve"},{label:"Slant",value:"slant"},{label:"Cloud",value:"cloud"}],onChange:function(e){"top"==l&&n({dividerTopType:e}),"bottom"==l&&n({dividerBottomType:e})}}),"none"!==Y&&wp.element.createElement(X,null,wp.element.createElement(S.a,{label:j("Color"),colorValue:te},wp.element.createElement(H,{label:j("Color"),value:te,onChange:function(e){"top"==l&&n({dividerTopColor:e}),"bottom"==l&&n({dividerBottomColor:e})}})),wp.element.createElement(O.a,{label:"Width"},wp.element.createElement(Q,{value:ne,onChange:function(e){"top"==l&&("Desktop"==i&&n({dividerTopWidth:e}),"Tablet"==i&&n({dividerTopWidthTablet:e}),"Mobile"==i&&n({dividerTopWidthMobile:e})),"bottom"==l&&("Desktop"==i&&n({dividerBottomWidth:e}),"Tablet"==i&&n({dividerBottomWidthTablet:e}),"Mobile"==i&&n({dividerBottomWidthMobile:e}))},min:0,max:500})),wp.element.createElement(O.a,{label:"Height"},wp.element.createElement(Q,{value:ae,onChange:function(e){"top"==l&&("Desktop"==i&&n({dividerTopHeight:e}),"Tablet"==i&&n({dividerTopHeightTablet:e}),"Mobile"==i&&n({dividerTopHeightMobile:e})),"bottom"==l&&("Desktop"==i&&n({dividerBottomHeight:e}),"Tablet"==i&&n({dividerBottomHeightTablet:e}),"Mobile"==i&&n({dividerBottomHeightMobile:e}))},min:0,max:500})),"curve"!==Y&&"cloud"!==Y&&wp.element.createElement($,{label:"Invert Shape Divider",checked:le,onChange:function(){"top"==l&&n({dividerTopInvert:!t.dividerTopInvert}),"bottom"==l&&n({dividerBottomInvert:!t.dividerBottomInvert})}}))))||"advanced"===p&&wp.element.createElement(X,null,wp.element.createElement(Z,{title:j("Responsive")},wp.element.createElement($,{label:"Hide this section in Desktop devices?",checked:t.hide,onChange:function(e){return oe(e,"Desktop")}}),wp.element.createElement($,{label:"Hide this section in Tablet devices?",checked:t.hideTablet,onChange:function(e){return oe(e,"Tablet")}}),wp.element.createElement($,{label:"Hide this section in Mobile devices?",checked:t.hideMobile,onChange:function(e){return oe(e,"Mobile")}}),wp.element.createElement("hr",null),!t.hideTablet&&"collapsedRows"===t.layoutTablet&&wp.element.createElement($,{label:"Reverse Columns in Tablet devices?",checked:t.reverseColumnsTablet,onChange:function(e){return re(e,"Tablet")}}),!t.hideMobile&&"collapsedRows"===t.layoutMobile&&wp.element.createElement($,{label:"Reverse Columns in Mobile devices?",checked:t.reverseColumnsMobile,onChange:function(e){return re(e,"Mobile")}})),wp.element.createElement(Z,{title:j("Section Settings"),initialOpen:!1},wp.element.createElement(K,{label:j("HTML Tag"),value:t.columnsHTMLTag,options:[{label:"Default (div)",value:"div"},{label:"section",value:"section"},{label:"header",value:"header"},{label:"footer",value:"footer"},{label:"article",value:"article"},{label:"main",value:"main"}],onChange:function(e){n({columnsHTMLTag:e})}})))),wp.element.createElement(P.a,{value:t.id,onChange:function(e){n({id:e})}}))};function ne(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return ae(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ae(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ae(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var le=wp.i18n.__,oe=wp.blockEditor,re=oe.__experimentalBlockNavigationList,ie=oe.__experimentalBlockNavigationTree,ce=oe.BlockControls,pe=wp.components,de=pe.Button,me=pe.Modal,se=pe.Toolbar,ue=wp.data,be=ue.useSelect,ge=ue.useDispatch,fe=wp.element,ye=fe.Fragment,he=fe.useState,we=function(e){var t=e.clientId,n=be((function(e){var n=e("core/block-editor"),a=n.getSelectedBlockClientId;return{block:(0,n.getBlock)(t),selectedBlockClientId:a()}}),[]),l=n.block,o=n.selectedBlockClientId,r=ge("core/block-editor").selectBlock,i=ne(he(!1),2),c=i[0],p=i[1],d=re||ie;return wp.element.createElement(ye,null,wp.element.createElement(ce,null,wp.element.createElement(se,null,wp.element.createElement(de,{className:"components-toolbar__control",label:le("Open block navigator"),showTooltip:!0,onClick:function(){return p(!0)},icon:a.l}))),c&&wp.element.createElement(me,{title:le("Block Navigator"),closeLabel:le("Close"),onRequestClose:function(){return p(!1)}},wp.element.createElement(d,{blocks:[l],selectedBlockClientId:o,selectBlock:r,showNestedBlocks:!0})))},ve=n(17),ke=n(31);function Te(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||xe(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ee(e){return function(e){if(Array.isArray(e))return Ce(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||xe(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function xe(e,t){if(e){if("string"==typeof e)return Ce(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ce(e,t):void 0}}function Ce(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}function Se(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Me(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Se(Object(n),!0).forEach((function(t){Be(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Se(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Be(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Oe=lodash,Re=Oe.isEqual,Ae=Oe.times,Le=wp.compose.useViewportMatch,Pe=wp.data,Ne=Pe.useDispatch,_e=Pe.useSelect,Ie=wp.blockEditor.InnerBlocks,je=wp.element,ze=je.Fragment,He=je.useEffect,De=je.useState,Ge=[],Ve=function(e){var t=e.attributes,n=e.setAttributes,a=e.className,o=e.clientId,i=e.name,p=Ne("core/block-editor").updateBlockAttributes,d=_e((function(e){var t=e("core/block-editor").getBlock,n=e("core/edit-post").__experimentalGetPreviewDeviceType;return{sectionBlock:t(o),isViewportAvailable:!!n,isPreviewDesktop:!!n&&"Desktop"===n(),isPreviewTablet:!!n&&"Tablet"===n(),isPreviewMobile:!!n&&"Mobile"===n()}}),[]),m=d.sectionBlock,s=d.isViewportAvailable,u=d.isPreviewDesktop,b=d.isPreviewTablet,g=d.isPreviewMobile,f=Le("large",">="),y=Le("large","<="),h=Le("small",">="),w=Le("small","<=");He((function(){T()}),[]);var T=function(){var e=window.themeisleGutenberg.blockIDs?window.themeisleGutenberg.blockIDs:[];if(void 0===t.id){var a,r="wp-block-themeisle-blocks-advanced-columns-".concat(o.substr(0,8));void 0!==(window.themeisleGutenberg.globalDefaults?window.themeisleGutenberg.globalDefaults:void 0)&&(Re(v.a[i],window.themeisleGutenberg.globalDefaults[i])||(a=Me({},window.themeisleGutenberg.globalDefaults[i]),Object.keys(a).map((function(e){if(t[e]!==a[e]&&void 0!==l[e].default&&t[e]!==l[e].default)return delete a[e]})))),n(Me(Me({},a),{},{id:r})),Ge.push(r),e.push(r)}else if(Ge.includes(t.id)){var c="wp-block-themeisle-blocks-advanced-columns-".concat(o.substr(0,8));n({id:c}),Ge.push(c),e.push(c)}else Ge.push(t.id),e.push(t.id);window.themeisleGutenberg.blockIDs=Ee(e)},E=Te(De("top"),2),x=E[0],S=E[1],M=f&&!y&&h&&!w,B=!f&&!y&&h&&!w,O=!(f||y||h||w);s&&!O&&(M=u,B=b,O=g);var R,A,L,P,N,_,I,j=t.columnsHTMLTag;(M&&(R={paddingTop:"linked"===t.paddingType?"".concat(t.padding,"px"):"".concat(t.paddingTop,"px"),paddingRight:"linked"===t.paddingType?"".concat(t.padding,"px"):"".concat(t.paddingRight,"px"),paddingBottom:"linked"===t.paddingType?"".concat(t.padding,"px"):"".concat(t.paddingBottom,"px"),paddingLeft:"linked"===t.paddingType?"".concat(t.padding,"px"):"".concat(t.paddingLeft,"px"),marginTop:"linked"===t.marginType?"".concat(t.margin,"px"):"".concat(t.marginTop,"px"),marginBottom:"linked"===t.marginType?"".concat(t.margin,"px"):"".concat(t.marginBottom,"px"),minHeight:"custom"===t.columnsHeight?"".concat(t.columnsHeightCustom,"px"):t.columnsHeight}),B&&(R={paddingTop:"linked"===t.paddingTypeTablet?"".concat(t.paddingTablet,"px"):"".concat(t.paddingTopTablet,"px"),paddingRight:"linked"===t.paddingTypeTablet?"".concat(t.paddingTablet,"px"):"".concat(t.paddingRightTablet,"px"),paddingBottom:"linked"===t.paddingTypeTablet?"".concat(t.paddingTablet,"px"):"".concat(t.paddingBottomTablet,"px"),paddingLeft:"linked"===t.paddingTypeTablet?"".concat(t.paddingTablet,"px"):"".concat(t.paddingLeftTablet,"px"),marginTop:"linked"===t.marginTypeTablet?"".concat(t.marginTablet,"px"):"".concat(t.marginTopTablet,"px"),marginBottom:"linked"===t.marginTypeTablet?"".concat(t.marginTablet,"px"):"".concat(t.marginBottomTablet,"px"),minHeight:"custom"===t.columnsHeight?"".concat(t.columnsHeightCustomTablet,"px"):t.columnsHeight}),O&&(R={paddingTop:"linked"===t.paddingTypeMobile?"".concat(t.paddingMobile,"px"):"".concat(t.paddingTopMobile,"px"),paddingRight:"linked"===t.paddingTypeMobile?"".concat(t.paddingMobile,"px"):"".concat(t.paddingRightMobile,"px"),paddingBottom:"linked"===t.paddingTypeMobile?"".concat(t.paddingMobile,"px"):"".concat(t.paddingBottomMobile,"px"),paddingLeft:"linked"===t.paddingTypeMobile?"".concat(t.paddingMobile,"px"):"".concat(t.paddingLeftMobile,"px"),marginTop:"linked"===t.marginTypeMobile?"".concat(t.marginMobile,"px"):"".concat(t.marginTopMobile,"px"),marginBottom:"linked"===t.marginTypeMobile?"".concat(t.marginMobile,"px"):"".concat(t.marginBottomMobile,"px"),minHeight:"custom"===t.columnsHeight?"".concat(t.columnsHeightCustomMobile,"px"):t.columnsHeight}),"color"===t.backgroundType&&(A={background:t.backgroundColor}),"image"===t.backgroundType&&(A={backgroundImage:"url( '".concat(t.backgroundImageURL,"' )"),backgroundAttachment:t.backgroundAttachment,backgroundPosition:t.backgroundPosition,backgroundRepeat:t.backgroundRepeat,backgroundSize:t.backgroundSize}),"gradient"===t.backgroundType)&&(I="linear"===t.backgroundGradientType?"".concat(t.backgroundGradientAngle,"deg"):"at ".concat(t.backgroundGradientPosition),(t.backgroundGradientFirstColor||t.backgroundGradientSecondColor)&&(A={background:"".concat(t.backgroundGradientType,"-gradient( ").concat(I,", ").concat(t.backgroundGradientFirstColor||"rgba( 0, 0, 0, 0 )"," ").concat(t.backgroundGradientFirstLocation,"%, ").concat(t.backgroundGradientSecondColor||"rgba( 0, 0, 0, 0 )"," ").concat(t.backgroundGradientSecondLocation,"% )")}));"linked"===t.borderType&&(P={borderWidth:"".concat(t.border,"px"),borderStyle:"solid",borderColor:t.borderColor}),"unlinked"===t.borderType&&(P={borderTopWidth:"".concat(t.borderTop,"px"),borderRightWidth:"".concat(t.borderRight,"px"),borderBottomWidth:"".concat(t.borderBottom,"px"),borderLeftWidth:"".concat(t.borderLeft,"px"),borderStyle:"solid",borderColor:t.borderColor}),"linked"===t.borderRadiusType&&(N={borderRadius:"".concat(t.borderRadius,"px")}),"unlinked"===t.borderRadiusType&&(N={borderTopLeftRadius:"".concat(t.borderRadiusTop,"px"),borderTopRightRadius:"".concat(t.borderRadiusRight,"px"),borderBottomRightRadius:"".concat(t.borderRadiusBottom,"px"),borderBottomLeftRadius:"".concat(t.borderRadiusLeft,"px")}),!0===t.boxShadow&&(_={boxShadow:"".concat(t.boxShadowHorizontal,"px ").concat(t.boxShadowVertical,"px ").concat(t.boxShadowBlur,"px ").concat(t.boxShadowSpread,"px ").concat(c()(t.boxShadowColor?t.boxShadowColor:"#000000",t.boxShadowColorOpacity))});var z,H=Me(Me(Me(Me(Me({},R),A),P),N),_);("color"===t.backgroundOverlayType&&(L={background:t.backgroundOverlayColor,opacity:t.backgroundOverlayOpacity/100}),"image"===t.backgroundOverlayType&&(L={backgroundImage:"url( '".concat(t.backgroundOverlayImageURL,"' )"),backgroundAttachment:t.backgroundOverlayAttachment,backgroundPosition:t.backgroundOverlayPosition,backgroundRepeat:t.backgroundOverlayRepeat,backgroundSize:t.backgroundOverlaySize,opacity:t.backgroundOverlayOpacity/100}),"gradient"===t.backgroundOverlayType)&&(z="linear"===t.backgroundOverlayGradientType?"".concat(t.backgroundOverlayGradientAngle,"deg"):"at ".concat(t.backgroundOverlayGradientPosition),L={background:"".concat(t.backgroundOverlayGradientType,"-gradient( ").concat(z,", ").concat(t.backgroundOverlayGradientFirstColor||"rgba( 0, 0, 0, 0 )"," ").concat(t.backgroundOverlayGradientFirstLocation,"%, ").concat(t.backgroundOverlayGradientSecondColor||"rgba( 0, 0, 0, 0 )"," ").concat(t.backgroundOverlayGradientSecondLocation,"% )"),opacity:t.backgroundOverlayOpacity/100});var D=Me(Me({},L),{},{mixBlendMode:t.backgroundOverlayBlend,filter:"blur( ".concat(t.backgroundOverlayFilterBlur/10,"px ) brightness( ").concat(t.backgroundOverlayFilterBrightness/10," ) contrast( ").concat(t.backgroundOverlayFilterContrast/10," ) grayscale( ").concat(t.backgroundOverlayFilterGrayscale/100," ) hue-rotate( ").concat(t.backgroundOverlayFilterHue,"deg ) saturate( ").concat(t.backgroundOverlayFilterSaturate/10," )")}),G={};t.columnsWidth&&(G={maxWidth:t.columnsWidth+"px"});var V=r()(a,"has-".concat(t.columns,"-columns"),"has-desktop-".concat(t.layout,"-layout"),"has-tablet-".concat(t.layoutTablet,"-layout"),"has-mobile-".concat(t.layoutMobile,"-layout"),"has-".concat(t.columnsGap,"-gap"),"has-vertical-".concat(t.verticalAlign),"has-horizontal-".concat(t.horizontalAlign),{"has-reverse-columns-tablet":t.reverseColumnsTablet&&!t.hideTablet&&"collapsedRows"===t.layoutTablet},{"has-reverse-columns-mobile":t.reverseColumnsMobile&&!t.hideMobile&&"collapsedRows"===t.layoutMobile},{"has-viewport-desktop":M},{"has-viewport-tablet":B},{"has-viewport-mobile":O}),F=function(){var e;return M&&(e=t.dividerTopWidth),B&&(e=t.dividerTopWidthTablet),O&&(e=t.dividerTopWidthMobile),e};F=F();var W=function(){var e;return M&&(e=t.dividerBottomWidth),B&&(e=t.dividerBottomWidthTablet),O&&(e=t.dividerBottomWidthMobile),e};W=W();var U=function(){var e;return M&&(e=t.dividerTopHeight),B&&(e=t.dividerTopHeightTablet),O&&(e=t.dividerTopHeightMobile),e};U=U();var q=function(){var e;return M&&(e=t.dividerBottomHeight),B&&(e=t.dividerBottomHeightTablet),O&&(e=t.dividerBottomHeightMobile),e};q=q();var Z;return t.columns?wp.element.createElement(ze,null,wp.element.createElement(we,{clientId:o}),wp.element.createElement(C,{attributes:t,setAttributes:n}),wp.element.createElement(te,{attributes:t,setAttributes:n,updateColumnsWidth:function(e,t){m.innerBlocks.map((function(n,a){p(n.clientId,{columnWidth:k.a[e][t][a]})}))},dividerViewType:x,setDividerViewType:S}),wp.element.createElement(j,{className:V,id:t.id,style:H},wp.element.createElement("div",{className:"wp-block-themeisle-blocks-advanced-columns-overlay",style:D}),wp.element.createElement(ve.default,{type:"top",style:t.dividerTopType,fill:t.dividerTopColor,invert:t.dividerTopInvert,width:F,height:U}),wp.element.createElement("div",{className:"innerblocks-wrap",style:G},wp.element.createElement(Ie,{allowedBlocks:["themeisle-blocks/advanced-column"],template:(Z=t.columns,Ae(Z,(function(e){return["themeisle-blocks/advanced-column",{columnWidth:k.a[Z][t.layout][e]}]}))),templateLock:"all"})),wp.element.createElement(ve.default,{type:"bottom",style:t.dividerBottomType,fill:t.dividerBottomColor,invert:t.dividerBottomInvert,width:W,height:q}))):wp.element.createElement(ke.default,{clientId:o,setupColumns:function(e,t){n(1>=e?{columns:e,layout:t,layoutTablet:"equal",layoutMobile:"equal"}:{columns:e,layout:t,layoutTablet:"equal",layoutMobile:"collapsedRows"})}})},Fe=wp.blockEditor.InnerBlocks,We=function(e){var t=e.attributes,n=e.className,a=t.columnsHTMLTag,l=t.hide?"":"has-desktop-".concat(t.layout,"-layout"),o=t.hideTablet?"":"has-tablet-".concat(t.layoutTablet,"-layout"),i=t.hideMobile?"":"has-mobile-".concat(t.layoutMobile,"-layout"),c=r()(n,"has-".concat(t.columns,"-columns"),l,o,i,{"hide-in-desktop":t.hide},{"hide-in-tablet":t.hideTablet},{"hide-in-mobile":t.hideMobile},{"has-reverse-columns-tablet":t.reverseColumnsTablet&&!t.hideTablet&&"collapsedRows"===t.layoutTablet},{"has-reverse-columns-mobile":t.reverseColumnsMobile&&!t.hideMobile&&"collapsedRows"===t.layoutMobile},"has-".concat(t.columnsGap,"-gap"),"has-vertical-".concat(t.verticalAlign));return wp.element.createElement(a,{className:c,id:t.id},wp.element.createElement("div",{className:"wp-block-themeisle-blocks-advanced-columns-overlay"}),wp.element.createElement(ve.default,{type:"top",front:!0,style:t.dividerTopType,fill:t.dividerTopColor,invert:t.dividerTopInvert}),wp.element.createElement("div",{className:"innerblocks-wrap"},wp.element.createElement(Fe.Content,null)),wp.element.createElement(ve.default,{type:"bottom",front:!0,style:t.dividerBottomType,fill:t.dividerBottomColor,invert:t.dividerBottomInvert}))},Ue=wp.i18n.__;(0,wp.blocks.registerBlockType)("themeisle-blocks/advanced-columns",{title:Ue("Section"),description:Ue("Add a Section block that displays content in multiple columns, then add whatever content blocks you’d like."),icon:a.g,category:"themeisle-blocks",keywords:["advanced columns","layout","grid"],attributes:l,supports:{align:["wide","full"],html:!1},deprecated:w,edit:Ve,save:We})},function(e,t,n){"use strict";n.r(t);var a=n(3),l={id:{type:"string"},align:{type:"string"},spacing:{type:"number",default:20},paddingTopBottom:{type:"number"},paddingLeftRight:{type:"number"},collapse:{type:"string",default:"collapse-none"},fontSize:{type:"number"},fontFamily:{type:"string"},fontVariant:{type:"string"},textTransform:{type:"string"},fontStyle:{type:"string"},lineHeight:{type:"number"}},o=n(0),r=n.n(o);n(1);function i(e){return function(e){if(Array.isArray(e))return c(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return c(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){m(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function m(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var s=lodash,u=s.omit,b=s.pick,g=s.times,f=wp.blocks.createBlock,y=wp.editor.RichText,h=wp.element.Fragment,w={id:{type:"string"},buttons:{type:"number",default:2},align:{type:"string"},spacing:{type:"number",default:20},collapse:{type:"string",default:"collapse-none"},fontSize:{type:"number",default:18},fontFamily:{type:"string"},fontVariant:{type:"string"},textTransform:{type:"string"},fontStyle:{type:"string",default:"normal"},lineHeight:{type:"number"},data:{type:"array",default:[{text:"",link:"",newTab:!1,color:"#ffffff",background:"#32373c",border:"",hoverColor:"",hoverBackground:"",hoverBorder:"",borderSize:0,borderRadius:0,boxShadow:!1,boxShadowColor:"",boxShadowColorOpacity:50,boxShadowBlur:5,boxShadowSpread:1,boxShadowHorizontal:0,boxShadowVertical:0,hoverBoxShadowColor:"",hoverBoxShadowColorOpacity:50,hoverBoxShadowBlur:5,hoverBoxShadowSpread:1,hoverBoxShadowHorizontal:0,hoverBoxShadowVertical:0,iconType:"none",prefix:"",icon:"",paddingTopBottom:12,paddingLeftRight:24},{text:"",link:"",newTab:!1,color:"#ffffff",background:"#32373c",border:"",hoverColor:"",hoverBackground:"",hoverBorder:"",borderSize:0,borderRadius:0,boxShadow:!1,boxShadowColor:"",boxShadowColorOpacity:50,boxShadowBlur:5,boxShadowSpread:1,boxShadowHorizontal:0,boxShadowVertical:0,hoverBoxShadowColor:"",hoverBoxShadowColorOpacity:50,hoverBoxShadowBlur:5,hoverBoxShadowSpread:1,hoverBoxShadowHorizontal:0,hoverBoxShadowVertical:0,iconType:"none",prefix:"",icon:"",paddingTopBottom:12,paddingLeftRight:24}]}},v=[{attributes:w,save:function(e){var t=e.attributes,n=e.className,a="collapse-none"!==t.collapse?t.collapse:"",l={fontSize:"".concat(t.fontSize,"px"),fontFamily:t.fontFamily,fontWeight:t.fontVariant,fontStyle:t.fontStyle,textTransform:t.textTransform,lineHeight:t.lineHeight&&"".concat(t.lineHeight,"px")};return wp.element.createElement("div",{id:t.id,className:r()(n,a),style:{justifyContent:t.align,alignItems:t.align?t.align:"flex-start"}},g(t.buttons,(function(e){return function(e){var n=d(d({},l),{},{borderWidth:"".concat(t.data[e].borderSize,"px"),borderRadius:"".concat(t.data[e].borderRadius,"px"),padding:"".concat(t.data[e].paddingTopBottom,"px ").concat(t.data[e].paddingLeftRight,"px")});return wp.element.createElement(h,null,wp.element.createElement("a",{href:t.data[e].link,target:t.data[e].newTab?"_blank":"_self",className:r()("wp-block-themeisle-blocks-button","wp-block-themeisle-blocks-button-".concat(e)),style:n},("left"===t.data[e].iconType||"only"===t.data[e].iconType)&&wp.element.createElement("i",{className:r()(t.data[e].prefix,"fa-fw","fa-".concat(t.data[e].icon),{"margin-right":"left"===t.data[e].iconType})}),"only"!==t.data[e].iconType&&wp.element.createElement(y.Content,{tagName:"span",value:t.data[e].text}),"right"===t.data[e].iconType&&wp.element.createElement("i",{className:"".concat(t.data[e].prefix," fa-fw fa-").concat(t.data[e].icon," margin-left")})))}(e)})))}},{attributes:w,save:function(e){var t=e.attributes,n=e.className,a="collapse-none"!==t.collapse?t.collapse:"",l={fontSize:"".concat(t.fontSize,"px"),fontFamily:t.fontFamily,fontWeight:t.fontVariant,fontStyle:t.fontStyle,textTransform:t.textTransform,lineHeight:t.lineHeight&&"".concat(t.lineHeight,"px")};return wp.element.createElement("div",{id:t.id,className:r()(n,a),style:{justifyContent:t.align,alignItems:t.align?t.align:"flex-start"}},g(t.buttons,(function(e){return function(e){var n=d(d({},l),{},{borderWidth:"".concat(t.data[e].borderSize,"px"),borderRadius:"".concat(t.data[e].borderRadius,"px"),padding:"".concat(t.data[e].paddingTopBottom,"px ").concat(t.data[e].paddingLeftRight,"px")});return wp.element.createElement(h,null,wp.element.createElement("a",{href:t.data[e].link,target:t.data[e].newTab?"_blank":"_self",className:r()("wp-block-themeisle-blocks-button","wp-block-themeisle-blocks-button-".concat(e)),style:n,rel:"noopener noreferrer"},("left"===t.data[e].iconType||"only"===t.data[e].iconType)&&wp.element.createElement("i",{className:r()(t.data[e].prefix,"fa-fw","fa-".concat(t.data[e].icon),{"margin-right":"left"===t.data[e].iconType})}),"only"!==t.data[e].iconType&&wp.element.createElement(y.Content,{tagName:"span",value:t.data[e].text}),"right"===t.data[e].iconType&&wp.element.createElement("i",{className:"".concat(t.data[e].prefix," fa-fw fa-").concat(t.data[e].icon," margin-left")})))}(e)})))}},{attributes:d(d({},w),{},{fontSize:{type:"number"},fontStyle:{type:"string"},data:{type:"array",default:[{text:"",link:"",newTab:!1,color:"",background:"",border:"",hoverColor:"",hoverBackground:"",hoverBorder:"",borderSize:"",borderRadius:"",boxShadow:!1,boxShadowColor:"",boxShadowColorOpacity:50,boxShadowBlur:5,boxShadowSpread:1,boxShadowHorizontal:0,boxShadowVertical:0,hoverBoxShadowColor:"",hoverBoxShadowColorOpacity:50,hoverBoxShadowBlur:5,hoverBoxShadowSpread:1,hoverBoxShadowHorizontal:0,hoverBoxShadowVertical:0,iconType:"none",prefix:"",icon:"",paddingTopBottom:"",paddingLeftRight:""},{text:"",link:"",newTab:!1,color:"",background:"",border:"",hoverColor:"",hoverBackground:"",hoverBorder:"",borderSize:"",borderRadius:"",boxShadow:!1,boxShadowColor:"",boxShadowColorOpacity:50,boxShadowBlur:5,boxShadowSpread:1,boxShadowHorizontal:0,boxShadowVertical:0,hoverBoxShadowColor:"",hoverBoxShadowColorOpacity:50,hoverBoxShadowBlur:5,hoverBoxShadowSpread:1,hoverBoxShadowHorizontal:0,hoverBoxShadowVertical:0,iconType:"none",prefix:"",icon:"",paddingTopBottom:"",paddingLeftRight:""}]}}),migrate:function(e,t){var n,a,l;return"flex-start"===e.align&&(n="left"),"center"===e.align&&(n="center"),"flex-end"===e.align&&(n="right"),e.data&&(a=b(e.data[0],["paddingLeftRight","paddingTopBottom"]),1<=Object.keys(a).length&&(a=b(a,Object.keys(a).filter((function(e){return""!==a[e]})))),l=e.data.filter((function(t,n){return n<e.buttons})).map((function(e){var t=u(e,["paddingLeftRight","paddingTopBottom"]);return f("themeisle-blocks/button",d({},t))}))),[d(d({},u(e,["buttons","data"])),{},{align:n},a),[].concat(i(l),i(t))]},save:function(e){var t=e.attributes,n=e.className,a="collapse-none"!==t.collapse?t.collapse:"";return wp.element.createElement("div",{id:t.id,className:r()(n,a,"wp-block-button")},g(t.buttons,(function(e){return function(e){return wp.element.createElement("a",{href:t.data[e].link,target:t.data[e].newTab?"_blank":"_self",className:r()("wp-block-themeisle-blocks-button","wp-block-themeisle-blocks-button-".concat(e),"wp-block-button__link"),rel:"noopener noreferrer"},("left"===t.data[e].iconType||"only"===t.data[e].iconType)&&wp.element.createElement("i",{className:r()(t.data[e].prefix,"fa-fw","fa-".concat(t.data[e].icon),{"margin-right":"left"===t.data[e].iconType})}),"only"!==t.data[e].iconType&&wp.element.createElement(y.Content,{tagName:"span",value:t.data[e].text}),"right"===t.data[e].iconType&&wp.element.createElement("i",{className:"".concat(t.data[e].prefix," fa-fw fa-").concat(t.data[e].icon," margin-left")}))}(e)})))}}],k=n(24),T=n.n(k),E=wp.i18n.__,x=wp.blockEditor,C=x.AlignmentToolbar,S=x.BlockControls,M=function(e){var t=e.attributes,n=e.setAttributes;return wp.element.createElement(S,null,wp.element.createElement(C,{value:t.align,onChange:function(e){return n({align:e})},alignmentControls:[{icon:"editor-alignleft",title:E("Align left"),align:"left"},{icon:"editor-aligncenter",title:E("Align center"),align:"center"},{icon:"editor-alignright",title:E("Align right"),align:"right"}]}))},B=n(12),O=n(7),R=wp.i18n.__,A=wp.blockEditor.InspectorControls,L=wp.components,P=L.PanelBody,N=L.RangeControl,_=L.SelectControl,I=function(e){var t=e.attributes,n=e.setAttributes;return wp.element.createElement(A,null,wp.element.createElement(P,{title:R("Spacing")},wp.element.createElement(O.a,{label:R("Padding"),min:0,max:100,onChange:function(e,t){"top"!==e&&"bottom"!==e||n({paddingTopBottom:t}),"right"!==e&&"left"!==e||n({paddingLeftRight:t})},options:[{label:R("Top"),type:"top",value:t.paddingTopBottom},{label:R("Right"),type:"right",value:t.paddingLeftRight},{label:R("Bottom"),type:"bottom",value:t.paddingTopBottom},{label:R("Left"),type:"left",value:t.paddingLeftRight}]}),wp.element.createElement(N,{label:R("Spacing"),value:t.spacing,onChange:function(e){return n({spacing:e})},min:0,max:50}),wp.element.createElement(_,{label:R("Collapse On"),value:t.collapse,options:[{label:"None",value:"collapse-none"},{label:"Desktop",value:"collapse-desktop"},{label:"Tablet",value:"collapse-tablet"},{label:"Mobile",value:"collapse-mobile"}],onChange:function(e){return n({collapse:e})}})),wp.element.createElement(P,{title:R("Typography Settings"),initialOpen:!1},wp.element.createElement(N,{label:R("Font Size"),value:t.fontSize,onChange:function(e){return n({fontSize:e})},min:0,max:50}),wp.element.createElement(B.a,{label:R("Font Family"),value:t.fontFamily,onChangeFontFamily:function(e){n(e?{fontFamily:e,fontVariant:"normal",fontStyle:"normal"}:{fontFamily:void 0,fontVariant:void 0,fontStyle:void 0})},valueVariant:t.fontVariant,onChangeFontVariant:function(e){return n({fontVariant:e})},valueStyle:t.fontStyle,onChangeFontStyle:function(e){return n({fontStyle:e})},valueTransform:t.textTransform,onChangeTextTransform:function(e){return n({textTransform:e})}}),wp.element.createElement(N,{label:R("Line Height"),value:t.lineHeight,onChange:function(e){return n({lineHeight:e})},min:0,max:200})))},j=n(8);function z(e){return function(e){if(Array.isArray(e))return H(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return H(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return H(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function H(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}function D(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function G(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?D(Object(n),!0).forEach((function(t){V(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):D(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function V(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var F=lodash.isEqual,W=wp.blockEditor.InnerBlocks,U=wp.compose.useViewportMatch,q=wp.data.useSelect,Z=wp.element,$=Z.Fragment,Q=Z.useEffect,K=[],J=function(e){var t,n=e.attributes,a=e.setAttributes,o=e.className,i=e.name,c=e.clientId,p=q((function(e){var t=e("core/edit-post").__experimentalGetPreviewDeviceType;return{isViewportAvailable:!!t,isPreviewDesktop:!!t&&"Desktop"===t(),isPreviewTablet:!!t&&"Tablet"===t(),isPreviewMobile:!!t&&"Mobile"===t()}}),[]),d=p.isViewportAvailable,m=p.isPreviewDesktop,s=p.isPreviewTablet,u=p.isPreviewMobile,b=U("large",">="),g=U("large","<="),f=U("small",">="),y=U("small","<=");Q((function(){h()}),[]);var h=function(){var e=window.themeisleGutenberg.blockIDs?window.themeisleGutenberg.blockIDs:[];if(void 0===n.id){var t,o="wp-block-themeisle-blocks-button-group-".concat(c.substr(0,8));void 0!==(window.themeisleGutenberg.globalDefaults?window.themeisleGutenberg.globalDefaults:void 0)&&(F(j.a[i],window.themeisleGutenberg.globalDefaults[i])||(t=G({},window.themeisleGutenberg.globalDefaults[i]),Object.keys(t).map((function(e){if(n[e]!==t[e]&&void 0!==l[e].default&&n[e]!==l[e].default)return delete t[e]})))),a(G(G({},t),{},{id:o})),K.push(o),e.push(o)}else if(K.includes(n.id)){var r="wp-block-themeisle-blocks-button-group-".concat(c.substr(0,8));a({id:r}),K.push(r)}else K.push(n.id),e.push(n.id);window.themeisleGutenberg.blockIDs=z(e)},w=b&&!g&&f&&!y,v=!b&&!g&&f&&!y,k=!(b||g||f||y);return d&&!k&&(w=m,v=s,k=u),wp.element.createElement($,null,n.fontFamily&&wp.element.createElement(T.a,{fonts:[{font:n.fontFamily,weights:n.fontVariant&&["".concat(n.fontVariant+("italic"===n.fontStyle?":i":""))]}]}),wp.element.createElement(M,{attributes:n,setAttributes:a}),wp.element.createElement(I,{attributes:n,setAttributes:a}),wp.element.createElement("div",{id:n.id,className:r()(o,"wp-block-buttons",(t={},V(t,"align-".concat(n.align),n.align),V(t,"collapse","collapse-desktop"===n.collapse&&(w||v||k)||"collapse-tablet"===n.collapse&&(v||k)||"collapse-mobile"===n.collapse&&k),t))},wp.element.createElement(W,{allowedBlocks:["themeisle-blocks/button"],__experimentalMoverDirection:"horizontal",orientation:"horizontal",template:[["themeisle-blocks/button"]],renderAppender:W.DefaultAppender})))};var Y=wp.blockEditor.InnerBlocks,X=function(e){var t,n,a,l=e.attributes,o=e.className,i="collapse-none"!==l.collapse?l.collapse:"";return wp.element.createElement("div",{id:l.id,className:r()(o,i,"wp-block-buttons",(t={},n="align-".concat(l.align),a=l.align,n in t?Object.defineProperty(t,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[n]=a,t))},wp.element.createElement(Y.Content,null))},ee=wp.i18n.__;(0,wp.blocks.registerBlockType)("themeisle-blocks/button-group",{title:ee("Button Group"),description:ee("Prompt visitors to take action with a button group."),icon:a.d,category:"themeisle-blocks",keywords:[ee("button"),ee("buttons"),ee("button group")],attributes:l,deprecated:v,edit:J,save:X})},function(e,t,n){"use strict";n.r(t);var a=n(3),l={id:{type:"string"},text:{type:"string",source:"html",selector:"span"},link:{type:"string",source:"attribute",selector:"a",attribute:"href"},newTab:{type:"boolean",default:!1},color:{type:"string"},background:{type:"string"},backgroundGradient:{type:"string"},border:{type:"string"},hoverColor:{type:"string"},hoverBackground:{type:"string"},hoverBackgroundGradient:{type:"string"},hoverBorder:{type:"string"},borderSize:{type:"number"},borderRadius:{type:"number"},boxShadow:{type:"boolean",default:!1},boxShadowColor:{type:"string"},boxShadowColorOpacity:{type:"number",default:50},boxShadowBlur:{type:"number",default:5},boxShadowSpread:{type:"number",default:1},boxShadowHorizontal:{type:"number",default:0},boxShadowVertical:{type:"number",default:0},hoverBoxShadowColor:{type:"string"},hoverBoxShadowColorOpacity:{type:"number",default:50},hoverBoxShadowBlur:{type:"number",default:5},hoverBoxShadowSpread:{type:"number",default:1},hoverBoxShadowHorizontal:{type:"number",default:0},hoverBoxShadowVertical:{type:"number",default:0},iconType:{type:"string",default:"none"},prefix:{type:"string"},icon:{type:"string"}},o=n(1),r=n(0),i=n.n(r),c=n(9),p=n.n(c),d=n(26),m=wp.blockEditor.BlockControls,s=function(e){var t=e.attributes,n=e.setAttributes,a=e.isSelected;return wp.element.createElement(m,null,wp.element.createElement(d.a,{isSelected:a,setAttributes:n,url:t.link,opensInNewTab:t.newTab}))},u=n(11);function b(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return g(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return g(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function g(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var f=wp.i18n.__,y=wp.blockEditor,h=y.__experimentalColorGradientControl,w=y.InspectorControls,v=wp.components,k=v.Button,T=v.ButtonGroup,E=v.PanelBody,x=v.RangeControl,C=v.Placeholder,S=v.SelectControl,M=v.Spinner,B=wp.element,O=B.Fragment,R=B.lazy,A=B.Suspense,L=B.useState,P=R((function(){return Promise.all([n.e(0),n.e(1)]).then(n.bind(null,123))})),N=function(e){var t=e.attributes,n=e.setAttributes,a=b(L(!1),2),l=a[0],o=a[1],r=function(){return wp.element.createElement(T,null,wp.element.createElement(k,{isSmall:!0,isSecondary:l,isPrimary:!l,onClick:function(){return o(!1)}},f("Normal")),wp.element.createElement(k,{isSmall:!0,isSecondary:!l,isPrimary:l,onClick:function(){return o(!0)}},f("Hover")))};return wp.element.createElement(w,null,wp.element.createElement(E,{title:f("Color")},wp.element.createElement(r,null),l?wp.element.createElement(O,{key:"with-hover"},wp.element.createElement(h,{label:"Hover Color",colorValue:t.hoverColor,onColorChange:function(e){return n({hoverColor:e})}}),wp.element.createElement(h,{label:"Hover Background",colorValue:t.hoverBackground,gradientValue:t.hoverBackgroundGradient,onColorChange:function(e){return n({hoverBackground:e})},onGradientChange:function(e){return n({hoverBackgroundGradient:e})}})):wp.element.createElement(O,{key:"without-hover"},wp.element.createElement(h,{label:"Color",colorValue:t.color,onColorChange:function(e){return n({color:e})}}),wp.element.createElement(h,{label:"Background",colorValue:t.background,gradientValue:t.backgroundGradient,onColorChange:function(e){return n({background:e})},onGradientChange:function(e){return n({backgroundGradient:e})}}))),wp.element.createElement(E,{title:f("Border & Box Shadow"),initialOpen:!1},wp.element.createElement(r,null),l?wp.element.createElement(h,{label:"Hover Border",colorValue:t.hoverBorder,onColorChange:function(e){return n({hoverBorder:e})}}):wp.element.createElement(h,{label:"Border",colorValue:t.border,onColorChange:function(e){return n({border:e})}}),wp.element.createElement(x,{label:f("Border Width"),value:t.borderSize,onChange:function(e){return n({borderSize:e})},min:0,max:10}),wp.element.createElement(x,{label:f("Border Radius"),value:t.borderRadius,onChange:function(e){return n({borderRadius:e})},min:0,max:100}),wp.element.createElement(u.a,{label:"Box Shadow",attributes:t,setAttributes:n,resetValues:{boxShadow:!1,boxShadowColor:void 0,boxShadowColorOpacity:50,boxShadowBlur:5,boxShadowSpread:1,boxShadowHorizontal:0,boxShadowVertical:0,hoverBoxShadowColor:void 0,hoverBoxShadowColorOpacity:50,hoverBoxShadowBlur:5,hoverBoxShadowSpread:1,hoverBoxShadowHorizontal:0,hoverBoxShadowVertical:0},onClick:function(){return n({boxShadow:!0})}},wp.element.createElement(r,null),l?wp.element.createElement(O,{key:"with-hover"},wp.element.createElement(h,{label:"Shadow Color on Hover",colorValue:t.hoverBoxShadowColor,onColorChange:function(e){return n({hoverBoxShadowColor:e})}}),wp.element.createElement(x,{label:f("Opacity"),value:t.hoverBoxShadowColorOpacity,onChange:function(e){return n({hoverBoxShadowColorOpacity:e})},min:0,max:100}),wp.element.createElement(x,{label:f("Blur"),value:t.hoverBoxShadowBlur,onChange:function(e){return n({hoverBoxShadowBlur:e})},min:0,max:100}),wp.element.createElement(x,{label:f("Spread"),value:t.hoverBoxShadowSpread,onChange:function(e){return n({hoverBoxShadowSpread:e})},min:-100,max:100}),wp.element.createElement(x,{label:f("Horizontal"),value:t.hoverBoxShadowHorizontal,onChange:function(e){return n({hoverBoxShadowHorizontal:e})},min:-100,max:100}),wp.element.createElement(x,{label:f("Vertical"),value:t.hoverBoxShadowVertical,onChange:function(e){return n({hoverBoxShadowVertical:e})},min:-100,max:100})):wp.element.createElement(O,{key:"without-hover"},wp.element.createElement(h,{label:"Shadow Color",colorValue:t.boxShadowColor,onColorChange:function(e){return n({boxShadowColor:e})}}),wp.element.createElement(x,{label:f("Opacity"),value:t.boxShadowColorOpacity,onChange:function(e){return n({boxShadowColorOpacity:e})},min:0,max:100}),wp.element.createElement(x,{label:f("Blur"),value:t.boxShadowBlur,onChange:function(e){return n({boxShadowBlur:e})},min:0,max:100}),wp.element.createElement(x,{label:f("Spread"),value:t.boxShadowSpread,onChange:function(e){return n({boxShadowSpread:e})},min:-100,max:100}),wp.element.createElement(x,{label:f("Horizontal"),value:t.boxShadowHorizontal,onChange:function(e){return n({boxShadowHorizontal:e})},min:-100,max:100}),wp.element.createElement(x,{label:f("Vertical"),value:t.boxShadowVertical,onChange:function(e){return n({boxShadowVertical:e})},min:-100,max:100})))),wp.element.createElement(E,{title:f("Icon Settings"),initialOpen:!1},wp.element.createElement(S,{label:f("Icon Position"),value:t.iconType,options:[{label:"No Icon",value:"none"},{label:"Left",value:"left"},{label:"Right",value:"right"},{label:"Icon Only",value:"only"}],onChange:function(e){return n({iconType:e})}}),"none"!==t.iconType&&wp.element.createElement(A,{fallback:wp.element.createElement(C,null,wp.element.createElement(M,null))},wp.element.createElement(P,{label:f("Icon Picker"),prefix:t.prefix,icon:t.icon,onChange:function(e){n({icon:e.name,prefix:e.prefix})}}))))},_=n(8);function I(e){return function(e){if(Array.isArray(e))return j(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return j(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return j(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function j(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}function z(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function H(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?z(Object(n),!0).forEach((function(t){D(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):z(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function D(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var G=wp.i18n.__,V=lodash.isEqual,F=wp.blockEditor.RichText,W=wp.data.useSelect,U=wp.element,q=U.Fragment,Z=U.useEffect,$=[],Q=function(e){var t=e.attributes,n=e.setAttributes,a=e.className,r=e.isSelected,c=e.name,d=e.clientId,m=W((function(e){var t=e("core/block-editor"),n=(0,t.getBlock)((0,t.getBlockRootClientId)(d));return{hasParent:!!n,parentAttributes:n?n.attributes:{},isLastChild:!n||d===n.innerBlocks[n.innerBlocks.length-1].clientId}}),[]),u=m.hasParent,b=m.parentAttributes,g=m.isLastChild;Z((function(){f()}),[]);var f=function(){var e=window.themeisleGutenberg.blockIDs?window.themeisleGutenberg.blockIDs:[];if(void 0===t.id){var a,o="wp-block-themeisle-blocks-button-".concat(d.substr(0,8));void 0!==(window.themeisleGutenberg.globalDefaults?window.themeisleGutenberg.globalDefaults:void 0)&&(V(_.a[c],window.themeisleGutenberg.globalDefaults[c])||(a=H({},window.themeisleGutenberg.globalDefaults[c]),Object.keys(a).map((function(e){if(t[e]!==a[e]&&void 0!==l[e].default&&t[e]!==l[e].default)return delete a[e]})))),n(H(H({},a),{},{id:o})),$.push(o),e.push(o)}else if($.includes(t.id)){var r="wp-block-themeisle-blocks-button-".concat(d.substr(0,8));n({id:r}),$.push(r)}else $.push(t.id),e.push(t.id);window.themeisleGutenberg.blockIDs=I(e)},y={},h={},w={};t.boxShadow&&(y={boxShadow:"".concat(t.boxShadowHorizontal,"px ").concat(t.boxShadowVertical,"px ").concat(t.boxShadowBlur,"px ").concat(t.boxShadowSpread,"px ").concat(p()(t.boxShadowColor?t.boxShadowColor:"#000000",t.boxShadowColorOpacity))}),u&&(w={marginRight:!g&&"".concat(b.spacing,"px")},h={paddingTop:"".concat(b.paddingTopBottom,"px"),paddingBottom:"".concat(b.paddingTopBottom,"px"),paddingLeft:"".concat(b.paddingLeftRight,"px"),paddingRight:"".concat(b.paddingLeftRight,"px"),fontSize:b.fontSize&&"".concat(b.fontSize,"px"),fontFamily:b.fontFamily,fontWeight:b.fontVariant,fontStyle:b.fontStyle,textTransform:b.textTransform,lineHeight:b.lineHeight&&"".concat(b.lineHeight,"px")});var v=H(H({color:t.color,background:t.background||t.backgroundGradient,border:"".concat(t.borderSize,"px solid ").concat(t.border),borderRadius:t.borderRadius},y),h),k=Object(o.a)("&:hover{color:",t.hoverColor," !important;background:",t.hoverBackground||t.hoverBackgroundGradient," !important;border-color:",t.hoverBorder," !important;",t.boxShadow&&"box-shadow: ".concat(t.hoverBoxShadowHorizontal,"px ").concat(t.hoverBoxShadowVertical,"px ").concat(t.hoverBoxShadowBlur,"px ").concat(t.hoverBoxShadowSpread,"px ").concat(p()(t.hoverBoxShadowColor?t.hoverBoxShadowColor:"#000000",t.hoverBoxShadowColorOpacity)," !important;"),"}");return Object(o.b)(q,null,Object(o.b)(s,{attributes:t,setAttributes:n,isSelected:r}),Object(o.b)(N,{attributes:t,setAttributes:n}),Object(o.b)("div",{id:t.id,className:i()(a,"wp-block-button"),style:w},"none"!==t.iconType?Object(o.b)("div",{className:"wp-block-button__link",style:v,css:k},("left"===t.iconType||"only"===t.iconType)&&Object(o.b)("i",{className:i()(t.prefix,"fa-fw","fa-".concat(t.icon),{"margin-right":"left"===t.iconType})}),"only"!==t.iconType&&Object(o.b)(F,{placeholder:G("Add text…"),value:t.text,onChange:function(e){return n({text:e})},tagName:"div",withoutInteractiveFormatting:!0}),"right"===t.iconType&&Object(o.b)("i",{className:"".concat(t.prefix," fa-fw fa-").concat(t.icon," margin-left")})):Object(o.b)(F,{placeholder:G("Add text…"),value:t.text,onChange:function(e){return n({text:e})},tagName:"div",withoutInteractiveFormatting:!0,className:"wp-block-button__link",style:v,css:k})))},K=wp.blockEditor.RichText,J=function(e){var t=e.attributes,n=e.className;return wp.element.createElement("div",{id:t.id,className:i()(n,"wp-block-button")},wp.element.createElement("a",{href:t.link,target:t.newTab?"_blank":"_self",rel:"noopener noreferrer",className:"wp-block-button__link"},("left"===t.iconType||"only"===t.iconType)&&wp.element.createElement("i",{className:i()(t.prefix,"fa-fw","fa-".concat(t.icon),{"margin-right":"left"===t.iconType})}),"only"!==t.iconType&&wp.element.createElement(K.Content,{tagName:"span",value:t.text}),"right"===t.iconType&&wp.element.createElement("i",{className:"".concat(t.prefix," fa-fw fa-").concat(t.icon," margin-left")})))},Y=wp.i18n.__;(0,wp.blocks.registerBlockType)("themeisle-blocks/button",{title:Y("Button"),description:Y("Prompt visitors to take action with a button group."),parent:["themeisle-blocks/button-group"],icon:a.d,category:"themeisle-blocks",keywords:[Y("button"),Y("buttons"),Y("button group")],attributes:l,supports:{reusable:!1},styles:[{name:"fill",label:Y("Fill"),isDefault:!0},{name:"outline",label:Y("Outline")}],edit:Q,save:J})},function(e,t,n){"use strict";n.r(t);var a=n(3),l={id:{type:"string"},paddingType:{type:"string",default:"linked"},paddingTypeTablet:{type:"string",default:"linked"},paddingTypeMobile:{type:"string",default:"linked"},padding:{type:"number",default:20},paddingTablet:{type:"number"},paddingMobile:{type:"number"},paddingTop:{type:"number",default:20},paddingTopTablet:{type:"number"},paddingTopMobile:{type:"number"},paddingRight:{type:"number",default:20},paddingRightTablet:{type:"number"},paddingRightMobile:{type:"number"},paddingBottom:{type:"number",default:20},paddingBottomTablet:{type:"number"},paddingBottomMobile:{type:"number"},paddingLeft:{type:"number",default:20},paddingLeftTablet:{type:"number"},paddingLeftMobile:{type:"number"},marginType:{type:"string",default:"unlinked"},marginTypeTablet:{type:"string",default:"unlinked"},marginTypeMobile:{type:"string",default:"unlinked"},margin:{type:"number",default:20},marginTablet:{type:"number"},marginMobile:{type:"number"},marginTop:{type:"number",default:20},marginTopTablet:{type:"number"},marginTopMobile:{type:"number"},marginRight:{type:"number",default:0},marginRightTablet:{type:"number"},marginRightMobile:{type:"number"},marginBottom:{type:"number",default:20},marginBottomTablet:{type:"number"},marginBottomMobile:{type:"number"},marginLeft:{type:"number",default:0},marginLeftTablet:{type:"number"},marginLeftMobile:{type:"number"},backgroundType:{type:"string",default:"color"},backgroundColor:{type:"string"},backgroundImageID:{type:"number"},backgroundImageURL:{type:"string"},backgroundAttachment:{type:"string",default:"scroll"},backgroundPosition:{type:"string",default:"top left"},backgroundRepeat:{type:"string",default:"repeat"},backgroundSize:{type:"string",default:"auto"},backgroundGradientFirstColor:{type:"string",default:"#36d1dc"},backgroundGradientFirstLocation:{type:"number",default:0},backgroundGradientSecondColor:{type:"string",default:"#5b86e5"},backgroundGradientSecondLocation:{type:"number",default:100},backgroundGradientType:{type:"string",default:"linear"},backgroundGradientAngle:{type:"number",default:90},backgroundGradientPosition:{type:"string",default:"center center"},borderType:{type:"string",default:"linked"},border:{type:"number",default:0},borderTop:{type:"number",default:0},borderRight:{type:"number",default:0},borderBottom:{type:"number",default:0},borderLeft:{type:"number",default:0},borderColor:{type:"string",default:"#000000"},borderRadiusType:{type:"string",default:"linked"},borderRadius:{type:"number",default:0},borderRadiusTop:{type:"number",default:0},borderRadiusRight:{type:"number",default:0},borderRadiusBottom:{type:"number",default:0},borderRadiusLeft:{type:"number",default:0},boxShadow:{type:"boolean",default:!1},boxShadowColor:{type:"string",default:"#000000"},boxShadowColorOpacity:{type:"number",default:50},boxShadowBlur:{type:"number",default:5},boxShadowSpread:{type:"number",default:0},boxShadowHorizontal:{type:"number",default:0},boxShadowVertical:{type:"number",default:0},columnsHTMLTag:{type:"string",default:"div"},columnWidth:{type:"string"}},o=n(9),r=n.n(o);n(1);function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){p(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function p(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var d=wp.blockEditor.InnerBlocks,m=[{attributes:{id:{type:"string"},paddingType:{type:"string",default:"linked"},paddingTypeTablet:{type:"string",default:"linked"},paddingTypeMobile:{type:"string",default:"linked"},padding:{type:"number",default:20},paddingTablet:{type:"number",default:20},paddingMobile:{type:"number",default:20},paddingTop:{type:"number",default:20},paddingTopTablet:{type:"number",default:20},paddingTopMobile:{type:"number",default:20},paddingRight:{type:"number",default:20},paddingRightTablet:{type:"number",default:20},paddingRightMobile:{type:"number",default:20},paddingBottom:{type:"number",default:20},paddingBottomTablet:{type:"number",default:20},paddingBottomMobile:{type:"number",default:20},paddingLeft:{type:"number",default:20},paddingLeftTablet:{type:"number",default:20},paddingLeftMobile:{type:"number",default:20},marginType:{type:"string",default:"unlinked"},marginTypeTablet:{type:"string",default:"unlinked"},marginTypeMobile:{type:"string",default:"unlinked"},margin:{type:"number",default:20},marginTablet:{type:"number",default:20},marginMobile:{type:"number",default:20},marginTop:{type:"number",default:20},marginTopTablet:{type:"number",default:20},marginTopMobile:{type:"number",default:20},marginRight:{type:"number",default:0},marginRightTablet:{type:"number",default:0},marginRightMobile:{type:"number",default:0},marginBottom:{type:"number",default:20},marginBottomTablet:{type:"number",default:20},marginBottomMobile:{type:"number",default:20},marginLeft:{type:"number",default:0},marginLeftTablet:{type:"number",default:0},marginLeftMobile:{type:"number",default:0},backgroundType:{type:"string",default:"color"},backgroundColor:{type:"string"},backgroundImageID:{type:"number"},backgroundImageURL:{type:"string"},backgroundAttachment:{type:"string",default:"scroll"},backgroundPosition:{type:"string",default:"top left"},backgroundRepeat:{type:"string",default:"repeat"},backgroundSize:{type:"string",default:"auto"},backgroundGradientFirstColor:{type:"string",default:"#36d1dc"},backgroundGradientFirstLocation:{type:"number",default:0},backgroundGradientSecondColor:{type:"string",default:"#5b86e5"},backgroundGradientSecondLocation:{type:"number",default:100},backgroundGradientType:{type:"string",default:"linear"},backgroundGradientAngle:{type:"number",default:90},backgroundGradientPosition:{type:"string",default:"center center"},borderType:{type:"string",default:"linked"},border:{type:"number",default:0},borderTop:{type:"number",default:0},borderRight:{type:"number",default:0},borderBottom:{type:"number",default:0},borderLeft:{type:"number",default:0},borderColor:{type:"string",default:"#000000"},borderRadiusType:{type:"string",default:"linked"},borderRadius:{type:"number",default:0},borderRadiusTop:{type:"number",default:0},borderRadiusRight:{type:"number",default:0},borderRadiusBottom:{type:"number",default:0},borderRadiusLeft:{type:"number",default:0},boxShadow:{type:"boolean",default:!1},boxShadowColor:{type:"string",default:"#000000"},boxShadowColorOpacity:{type:"number",default:50},boxShadowBlur:{type:"number",default:5},boxShadowSpread:{type:"number",default:0},boxShadowHorizontal:{type:"number",default:0},boxShadowVertical:{type:"number",default:0},columnsHTMLTag:{type:"string",default:"div"},columnWidth:{type:"string"}},supports:{inserter:!1,reusable:!1,html:!1},save:function(e){var t,n,a,l,o,i=e.attributes,p=e.className,m=i.columnsHTMLTag;("color"===i.backgroundType&&(t={background:i.backgroundColor}),"image"===i.backgroundType&&(t={backgroundImage:"url( '".concat(i.backgroundImageURL,"' )"),backgroundAttachment:i.backgroundAttachment,backgroundPosition:i.backgroundPosition,backgroundRepeat:i.backgroundRepeat,backgroundSize:i.backgroundSize}),"gradient"===i.backgroundType)&&(o="linear"===i.backgroundGradientType?"".concat(i.backgroundGradientAngle,"deg"):"at ".concat(i.backgroundGradientPosition),t={background:"".concat(i.backgroundGradientType,"-gradient( ").concat(o,", ").concat(i.backgroundGradientFirstColor||"rgba( 0, 0, 0, 0 )"," ").concat(i.backgroundGradientFirstLocation,"%, ").concat(i.backgroundGradientSecondColor||"rgba( 0, 0, 0, 0 )"," ").concat(i.backgroundGradientSecondLocation,"% )")});"linked"===i.borderType&&(n={borderWidth:"".concat(i.border,"px"),borderStyle:"solid",borderColor:i.borderColor}),"unlinked"===i.borderType&&(n={borderTopWidth:"".concat(i.borderTop,"px"),borderRightWidth:"".concat(i.borderRight,"px"),borderBottomWidth:"".concat(i.borderBottom,"px"),borderLeftWidth:"".concat(i.borderLeft,"px"),borderStyle:"solid",borderColor:i.borderColor}),"linked"===i.borderRadiusType&&(a={borderRadius:"".concat(i.borderRadius,"px")}),"unlinked"===i.borderRadiusType&&(a={borderTopLeftRadius:"".concat(i.borderRadiusTop,"px"),borderTopRightRadius:"".concat(i.borderRadiusRight,"px"),borderBottomRightRadius:"".concat(i.borderRadiusBottom,"px"),borderBottomLeftRadius:"".concat(i.borderRadiusLeft,"px")}),!0===i.boxShadow&&(l={boxShadow:"".concat(i.boxShadowHorizontal,"px ").concat(i.boxShadowVertical,"px ").concat(i.boxShadowBlur,"px ").concat(i.boxShadowSpread,"px ").concat(r()(i.boxShadowColor?i.boxShadowColor:"#000000",i.boxShadowColorOpacity))});var s=c(c(c(c({},t),n),a),l);return wp.element.createElement(m,{className:p,id:i.id,style:s},wp.element.createElement(d.Content,null))}}],s=n(8),u=n(21),b=n(0),g=n.n(b),f=n(5),y=n(7),h=n(6),w=n(19),v=n(22),k=n(11);function T(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function E(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return x(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return x(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function x(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var C=wp.i18n.__,S=wp.blockEditor,M=S.ColorPalette,B=S.InspectorControls,O=S.MediaPlaceholder,R=wp.components,A=R.Button,L=R.Dashicon,P=R.PanelBody,N=R.ToggleControl,_=R.RangeControl,I=R.SelectControl,j=wp.data.useSelect,z=wp.element,H=z.Fragment,D=z.useEffect,G=z.useRef,V=z.useState,F=function(e){var t=e.attributes,n=e.setAttributes,a=e.isSelected,l=e.clientId,o=e.adjacentBlock,r=e.parentBlock,i=e.updateBlockAttributes,c=e.adjacentBlockClientId,p=j((function(e){var t=e("themeisle-gutenberg/data").getView,n=e("core/edit-post").__experimentalGetPreviewDeviceType;return n?n():t()}),[]);D((function(){if(1<r.innerBlocks.length&&!c){var e=r.innerBlocks.findIndex((function(e){return e.clientId===l})),t=r.innerBlocks[e-1];b.current=t.clientId,x.current=t.attributes.columnWidth}}),[]),D((function(){if(1<r.innerBlocks.length)if(c)x.current=o.attributes.columnWidth,b.current=c,u.current=t.columnWidth;else{var e=r.innerBlocks.findIndex((function(e){return e.clientId===l})),n=r.innerBlocks[e-1];x.current=n.attributes.columnWidth,b.current=n.clientId,u.current=t.columnWidth}}),[a,t.columnWidth,r.innerBlocks.length]);var d=E(V("layout"),2),m=d[0],s=d[1],u=G(t.columnWidth),b=G(c&&c),x=G(o&&o.attributes.columnWidth),S=function(){var e;return"Desktop"===p&&(e=t.paddingType),"Tablet"===p&&(e=t.paddingTypeTablet),"Mobile"===p&&(e=t.paddingTypeMobile),e};S=S();var R={top:"paddingTop",right:"paddingRight",bottom:"paddingBottom",left:"paddingLeft"},z={top:"paddingTopTablet",right:"paddingRightTablet",bottom:"paddingBottomTablet",left:"paddingLeftTablet"},F={top:"paddingTopMobile",right:"paddingRightMobile",bottom:"paddingBottomMobile",left:"paddingLeftMobile"},W=function(e){var n;return"top"==e&&("Desktop"===p&&(n="linked"===t.paddingType?t.padding:t.paddingTop),"Tablet"===p&&(n="linked"===t.paddingTypeTablet?t.paddingTablet:t.paddingTopTablet),"Mobile"===p&&(n="linked"===t.paddingTypeMobile?t.paddingMobile:t.paddingTopMobile)),"right"==e&&("Desktop"===p&&(n="linked"===t.paddingType?t.padding:t.paddingRight),"Tablet"===p&&(n="linked"===t.paddingTypeTablet?t.paddingTablet:t.paddingRightTablet),"Mobile"===p&&(n="linked"===t.paddingTypeMobile?t.paddingMobile:t.paddingRightMobile)),"bottom"==e&&("Desktop"===p&&(n="linked"===t.paddingType?t.padding:t.paddingBottom),"Tablet"===p&&(n="linked"===t.paddingTypeTablet?t.paddingTablet:t.paddingBottomTablet),"Mobile"===p&&(n="linked"===t.paddingTypeMobile?t.paddingMobile:t.paddingBottomMobile)),"left"==e&&("Desktop"===p&&(n="linked"===t.paddingType?t.padding:t.paddingLeft),"Tablet"===p&&(n="linked"===t.paddingTypeTablet?t.paddingTablet:t.paddingLeftTablet),"Mobile"===p&&(n="linked"===t.paddingTypeMobile?t.paddingMobile:t.paddingLeftMobile)),n},U=function(){var e;return"Desktop"===p&&(e=t.marginType),"Tablet"===p&&(e=t.marginTypeTablet),"Mobile"===p&&(e=t.marginTypeMobile),e};U=U();var q={top:"marginTop",right:"marginRight",bottom:"marginBottom",left:"marginLeft"},Z={top:"marginTopTablet",right:"marginRightTablet",bottom:"marginBottomTablet",left:"marginLeftTablet"},$={top:"marginTopMobile",right:"marginRightMobile",bottom:"marginBottomMobile",left:"marginLeftMobile"},Q=function(e){var n;return"top"==e&&("Desktop"===p&&(n="linked"===t.marginType?t.margin:t.marginTop),"Tablet"===p&&(n="linked"===t.marginTypeTablet?t.marginTablet:t.marginTopTablet),"Mobile"===p&&(n="linked"===t.marginTypeMobile?t.marginMobile:t.marginTopMobile)),"right"==e&&("Desktop"===p&&(n="linked"===t.marginType?t.margin:t.marginRight),"Tablet"===p&&(n="linked"===t.marginTypeTablet?t.marginTablet:t.marginRightTablet),"Mobile"===p&&(n="linked"===t.marginTypeMobile?t.marginMobile:t.marginRightMobile)),"bottom"==e&&("Desktop"===p&&(n="linked"===t.marginType?t.margin:t.marginBottom),"Tablet"===p&&(n="linked"===t.marginTypeTablet?t.marginTablet:t.marginBottomTablet),"Mobile"===p&&(n="linked"===t.marginTypeMobile?t.marginMobile:t.marginBottomMobile)),"left"==e&&("Desktop"===p&&(n="linked"===t.marginType?t.margin:t.marginLeft),"Tablet"===p&&(n="linked"===t.marginTypeTablet?t.marginTablet:t.marginLeftTablet),"Mobile"===p&&(n="linked"===t.marginTypeMobile?t.marginMobile:t.marginLeftMobile)),n},K=function(){n({backgroundImageID:"",backgroundImageURL:""})},J={top:"borderTop",right:"borderRight",bottom:"borderBottom",left:"borderLeft"},Y=function(e){var n;return"top"==e&&(n="linked"===t.borderType?t.border:t.borderTop),"right"==e&&(n="linked"===t.borderType?t.border:t.borderRight),"bottom"==e&&(n="linked"===t.borderType?t.border:t.borderBottom),"left"==e&&(n="linked"===t.borderType?t.border:t.borderLeft),n},X={top:"borderRadiusTop",right:"borderRadiusRight",bottom:"borderRadiusBottom",left:"borderRadiusLeft"},ee=function(e){var n;return"top"==e&&(n="linked"===t.borderRadiusType?t.borderRadius:t.borderRadiusTop),"right"==e&&(n="linked"===t.borderRadiusType?t.borderRadius:t.borderRadiusRight),"bottom"==e&&(n="linked"===t.borderRadiusType?t.borderRadius:t.borderRadiusBottom),"left"==e&&(n="linked"===t.borderRadiusType?t.borderRadius:t.borderRadiusLeft),n};return wp.element.createElement(B,null,wp.element.createElement(P,{className:"wp-block-themeisle-blocks-advanced-columns-header-panel"},wp.element.createElement(A,{className:g()("header-tab",{"is-selected":"layout"===m}),onClick:function(){return s("layout")}},wp.element.createElement("span",null,wp.element.createElement(L,{icon:"editor-table"}),C("Layout"))),wp.element.createElement(A,{className:g()("header-tab",{"is-selected":"style"===m}),onClick:function(){return s("style")}},wp.element.createElement("span",null,wp.element.createElement(L,{icon:"admin-customizer"}),C("Style"))),wp.element.createElement(A,{className:g()("header-tab",{"is-selected":"advanced"===m}),onClick:function(){return s("advanced")}},wp.element.createElement("span",null,wp.element.createElement(L,{icon:"admin-generic"}),C("Advanced")))),"layout"===m&&wp.element.createElement(H,null,wp.element.createElement(P,{title:C("Spacing")},1<r.innerBlocks.length&&wp.element.createElement(_,{label:C("Column Width"),value:Number(t.columnWidth),onChange:function(e){var t=e||10,a=Number(u.current)-t+Number(x.current);u.current=t,x.current=a,n({columnWidth:t.toFixed(2)}),i(b.current,{columnWidth:a.toFixed(2)})},min:10,max:Number(t.columnWidth)+Number(x.current)-10}),wp.element.createElement(h.a,{label:"Padding"},wp.element.createElement(y.a,{type:S,min:0,max:500,changeType:function(e){"Desktop"===p&&n({paddingType:e}),"Tablet"===p&&n({paddingTypeTablet:e}),"Mobile"===p&&n({paddingTypeMobile:e})},onChange:function(e,a){"Desktop"===p&&("linked"===t.paddingType?n({padding:a}):n(T({},R[e],a))),"Tablet"===p&&("linked"===t.paddingTypeTablet?n({paddingTablet:a}):n(T({},z[e],a))),"Mobile"===p&&("linked"===t.paddingTypeMobile?n({paddingMobile:a}):n(T({},F[e],a)))},options:[{label:C("Top"),type:"top",value:W("top")},{label:C("Right"),type:"right",value:W("right")},{label:C("Bottom"),type:"bottom",value:W("bottom")},{label:C("Left"),type:"left",value:W("left")}]})),wp.element.createElement(h.a,{label:"Margin"},wp.element.createElement(y.a,{type:U,min:-500,max:500,changeType:function(e){"Desktop"===p&&n({marginType:e}),"Tablet"===p&&n({marginTypeTablet:e}),"Mobile"===p&&n({marginTypeMobile:e})},onChange:function(e,a){"Desktop"===p&&("linked"===t.marginType?n({margin:a}):n(T({},q[e],a))),"Tablet"===p&&("linked"===t.marginTypeTablet?n({marginTablet:a}):n(T({},Z[e],a))),"Mobile"===p&&("linked"===t.marginTypeMobile?n({marginMobile:a}):n(T({},$[e],a)))},options:[{label:C("Top"),type:"top",value:Q("top")},{label:C("Right"),type:"right",value:Q("right")},{label:C("Bottom"),type:"bottom",value:Q("bottom")},{label:C("Left"),type:"left",value:Q("left")}]}))))||"style"===m&&wp.element.createElement(H,null,wp.element.createElement(P,{title:C("Background Settings"),className:"wp-block-themeisle-image-container"},wp.element.createElement(w.default,{label:C("Background Type"),backgroundType:t.backgroundType,changeBackgroundType:function(e){n({backgroundType:e})}}),"color"===t.backgroundType&&wp.element.createElement(f.a,{label:C("Background Color"),colorValue:t.headingColor},wp.element.createElement(M,{label:"Background Color",value:t.backgroundColor,onChange:function(e){n({backgroundColor:e})}}))||"image"===t.backgroundType&&(t.backgroundImageURL?wp.element.createElement(H,null,wp.element.createElement("div",{className:"wp-block-themeisle-image-container-body"},wp.element.createElement("div",{className:"wp-block-themeisle-image-container-area"},wp.element.createElement("div",{className:"wp-block-themeisle-image-container-holder",style:{backgroundImage:"url('".concat(t.backgroundImageURL,"')")}}),wp.element.createElement("div",{className:"wp-block-themeisle-image-container-delete",onClick:K},wp.element.createElement(L,{icon:"trash"}),wp.element.createElement("span",null,C("Remove Image"))))),wp.element.createElement(A,{isSecondary:!0,className:"wp-block-themeisle-image-container-delete-button",onClick:K},C("Change or Remove Image")),wp.element.createElement(k.a,{label:"Background Settings"},wp.element.createElement(I,{label:C("Background Attachment"),value:t.backgroundAttachment,options:[{label:"Scroll",value:"scroll"},{label:"Fixed",value:"fixed"},{label:"Local",value:"local"}],onChange:function(e){n({backgroundAttachment:e})}}),wp.element.createElement(I,{label:C("Background Position"),value:t.backgroundPosition,options:[{label:"Default",value:"top left"},{label:"Top Left",value:"top left"},{label:"Top Center",value:"top center"},{label:"Top Right",value:"top right"},{label:"Center Left",value:"center left"},{label:"Center Center",value:"center center"},{label:"Center Right",value:"center right"},{label:"Bottom Left",value:"bottom left"},{label:"Bottom Center",value:"bottom center"},{label:"Bottom Right",value:"bottom right"}],onChange:function(e){n({backgroundPosition:e})}}),wp.element.createElement(I,{label:C("Background Repeat"),value:t.backgroundRepeat,options:[{label:"Repeat",value:"repeat"},{label:"No-repeat",value:"no-repeat"}],onChange:function(e){n({backgroundRepeat:e})}}),wp.element.createElement(I,{label:C("Background Size"),value:t.backgroundSize,options:[{label:"Auto",value:"auto"},{label:"Cover",value:"cover"},{label:"Contain",value:"contain"}],onChange:function(e){n({backgroundSize:e})}}))):wp.element.createElement(O,{icon:"format-image",labels:{title:C("Background Image"),name:C("an image")},value:t.backgroundImageID,onSelect:function(e){n({backgroundImageID:e.id,backgroundImageURL:e.url})},accept:"image/*",allowedTypes:["image"]}))||"gradient"===t.backgroundType&&wp.element.createElement(v.a,{label:"Background Gradient",value:{firstColor:t.backgroundGradientFirstColor,firstLocation:t.backgroundGradientFirstLocation,secondColor:t.backgroundGradientSecondColor,secondLocation:t.backgroundGradientSecondLocation,type:t.backgroundGradientType,angle:t.backgroundGradientAngle,position:t.backgroundGradientPosition},onChange:function(e,t,a,l,o,r,i){n({backgroundGradientFirstColor:e,backgroundGradientFirstLocation:t,backgroundGradientSecondColor:a,backgroundGradientSecondLocation:l,backgroundGradientType:o,backgroundGradientAngle:r,backgroundGradientPosition:i})},onChangeValue:function(e){var t={firstColor:"backgroundGradientFirstColor",firstLocation:"backgroundGradientFirstLocation",secondColor:"backgroundGradientSecondColor",secondLocation:"backgroundGradientSecondLocation",type:"backgroundGradientType",angle:"backgroundGradientAngle",position:"backgroundGradientPosition"};for(var a in e)n(T({},t[a],e[a]))}})),wp.element.createElement(P,{title:C("Border"),className:"wp-block-themeisle-border-container",initialOpen:!1},wp.element.createElement(y.a,{label:C("Border Width"),type:t.borderType,min:0,max:500,changeType:function(e){n({borderType:e})},onChange:function(e,a){"linked"===t.borderType?n({border:a}):n(T({},J[e],a))},options:[{label:C("Top"),type:"top",value:Y("top")},{label:C("Right"),type:"right",value:Y("right")},{label:C("Bottom"),type:"bottom",value:Y("bottom")},{label:C("Left"),type:"left",value:Y("left")}]}),wp.element.createElement(f.a,{label:C("Border Color"),colorValue:t.borderColor},wp.element.createElement(M,{label:"Border Color",value:t.borderColor,onChange:function(e){n({borderColor:e})}})),wp.element.createElement(y.a,{label:C("Border Radius"),type:t.borderRadiusType,min:0,max:500,changeType:function(e){n({borderRadiusType:e})},onChange:function(e,a){"linked"===t.borderRadiusType?n({borderRadius:a}):n(T({},X[e],a))},options:[{label:C("Top"),type:"top",value:ee("top")},{label:C("Right"),type:"right",value:ee("right")},{label:C("Bottom"),type:"bottom",value:ee("bottom")},{label:C("Left"),type:"left",value:ee("left")}]}),wp.element.createElement(N,{label:"Box Shadow",checked:t.boxShadow,onChange:function(){n({boxShadow:!t.boxShadow})}}),t.boxShadow&&wp.element.createElement(H,null,wp.element.createElement(f.a,{label:C("Shadow Color"),colorValue:t.boxShadowColor},wp.element.createElement(M,{label:"Shadow Color",value:t.boxShadowColor,onChange:function(e){n({boxShadowColor:e})}})),wp.element.createElement(k.a,{label:"Shadow Properties"},wp.element.createElement(_,{label:C("Opacity"),value:t.boxShadowColorOpacity,onChange:function(e){n({boxShadowColorOpacity:e})},min:0,max:100}),wp.element.createElement(_,{label:C("Blur"),value:t.boxShadowBlur,onChange:function(e){n({boxShadowBlur:e})},min:0,max:100}),wp.element.createElement(_,{label:C("Spread"),value:t.boxShadowSpread,onChange:function(e){n({boxShadowSpread:e})},min:-100,max:100}),wp.element.createElement(_,{label:C("Horizontal"),value:t.boxShadowHorizontal,onChange:function(e){n({boxShadowHorizontal:e})},min:-100,max:100}),wp.element.createElement(_,{label:C("Vertical"),value:t.boxShadowVertical,onChange:function(e){n({boxShadowVertical:e})},min:-100,max:100})))))||"advanced"===m&&wp.element.createElement(P,{title:C("Section Settings")},wp.element.createElement(I,{label:C("HTML Tag"),value:t.columnsHTMLTag,options:[{label:"Default (div)",value:"div"},{label:"section",value:"section"},{label:"header",value:"header"},{label:"footer",value:"footer"},{label:"article",value:"article"},{label:"main",value:"main"}],onChange:function(e){n({columnsHTMLTag:e})}})))};function W(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||q(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function U(e){return function(e){if(Array.isArray(e))return Z(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||q(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function q(e,t){if(e){if("string"==typeof e)return Z(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Z(e,t):void 0}}function Z(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}function $(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Q(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?$(Object(n),!0).forEach((function(t){K(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function K(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var J=lodash.isEqual,Y=wp.components.ResizableBox,X=wp.compose.useViewportMatch,ee=wp.data,te=ee.useDispatch,ne=ee.useSelect,ae=wp.blockEditor.InnerBlocks,le=wp.element,oe=le.Fragment,re=le.useEffect,ie=le.useState,ce=[],pe=function(e){var t=e.attributes,n=e.setAttributes,a=e.className,o=e.isSelected,i=e.clientId,c=e.name,p=e.toggleSelection,d=te("core/block-editor").updateBlockAttributes,m=ne((function(e){var t=e("core/block-editor"),n=t.getAdjacentBlockClientId,a=t.getBlock,l=t.getBlockRootClientId,o=e("core/edit-post").__experimentalGetPreviewDeviceType,r=a(i),c=n(i),p=a(c),d=l(i);return{adjacentBlockClientId:c,adjacentBlock:p,parentClientId:d,parentBlock:a(d),hasInnerBlocks:!(!r||!r.innerBlocks.length),isViewportAvailable:!!o,isPreviewDesktop:!!o&&"Desktop"===o(),isPreviewTablet:!!o&&"Tablet"===o(),isPreviewMobile:!!o&&"Mobile"===o()}}),[]),b=m.adjacentBlockClientId,g=m.adjacentBlock,f=m.parentClientId,y=m.parentBlock,h=m.hasInnerBlocks,w=m.isViewportAvailable,v=m.isPreviewDesktop,k=m.isPreviewTablet,T=m.isPreviewMobile,E=X("large",">="),x=X("large","<="),C=X("small",">="),S=X("small","<=");re((function(){M()}),[]);var M=function(){var e=window.themeisleGutenberg.blockIDs?window.themeisleGutenberg.blockIDs:[];if(void 0===t.id){var a,o="wp-block-themeisle-blocks-advanced-column-".concat(i.substr(0,8));void 0!==(window.themeisleGutenberg.globalDefaults?window.themeisleGutenberg.globalDefaults:void 0)&&(J(s.a[c],window.themeisleGutenberg.globalDefaults[c])||(a=Q({},window.themeisleGutenberg.globalDefaults[c]),Object.keys(a).map((function(e){if(t[e]!==a[e]&&void 0!==l[e].default&&t[e]!==l[e].default)return delete a[e]})))),n(Q(Q({},a),{},{id:o})),ce.push(o),e.push(o)}else if(ce.includes(t.id)){var r="wp-block-themeisle-blocks-advanced-column-".concat(i.substr(0,8));n({id:r}),ce.push(r)}else ce.push(t.id),e.push(t.id);window.themeisleGutenberg.blockIDs=U(e)},B=W(ie(0),2),O=B[0],R=B[1],A=W(ie(0),2),L=A[0],P=A[1],N=E&&!x&&C&&!S,_=!E&&!x&&C&&!S,I=!(E||x||C||S);w&&!I&&(N=v,_=k,I=T),void 0===t.columnWidth&&y.innerBlocks.map((function(e,t){if(i===e.clientId){var n=y.attributes.columns,a=y.attributes.layout;d(i,{columnWidth:u.a[n][a][t]})}}));var j=document.getElementById("block-".concat(i));null!==j&&(j.style.flexBasis=N?"".concat(t.columnWidth,"%"):"");var z,H,D,G,V,q,Z=t.columnsHTMLTag;(N&&(z={paddingTop:"linked"===t.paddingType?"".concat(t.padding,"px"):"".concat(t.paddingTop,"px"),paddingRight:"linked"===t.paddingType?"".concat(t.padding,"px"):"".concat(t.paddingRight,"px"),paddingBottom:"linked"===t.paddingType?"".concat(t.padding,"px"):"".concat(t.paddingBottom,"px"),paddingLeft:"linked"===t.paddingType?"".concat(t.padding,"px"):"".concat(t.paddingLeft,"px"),marginTop:"linked"===t.marginType?"".concat(t.margin,"px"):"".concat(t.marginTop,"px"),marginRight:"linked"===t.marginType?"".concat(t.margin,"px"):"".concat(t.marginRight,"px"),marginBottom:"linked"===t.marginType?"".concat(t.margin,"px"):"".concat(t.marginBottom,"px"),marginLeft:"linked"===t.marginType?"".concat(t.margin,"px"):"".concat(t.marginLeft,"px")}),_&&(z={paddingTop:"linked"===t.paddingTypeTablet?"".concat(t.paddingTablet,"px"):"".concat(t.paddingTopTablet,"px"),paddingRight:"linked"===t.paddingTypeTablet?"".concat(t.paddingTablet,"px"):"".concat(t.paddingRightTablet,"px"),paddingBottom:"linked"===t.paddingTypeTablet?"".concat(t.paddingTablet,"px"):"".concat(t.paddingBottomTablet,"px"),paddingLeft:"linked"===t.paddingTypeTablet?"".concat(t.paddingTablet,"px"):"".concat(t.paddingLeftTablet,"px"),marginTop:"linked"===t.marginTypeTablet?"".concat(t.marginTablet,"px"):"".concat(t.marginTopTablet,"px"),marginRight:"linked"===t.marginTypeTablet?"".concat(t.marginTablet,"px"):"".concat(t.marginRightTablet,"px"),marginBottom:"linked"===t.marginTypeTablet?"".concat(t.marginTablet,"px"):"".concat(t.marginBottomTablet,"px"),marginLeft:"linked"===t.marginTypeTablet?"".concat(t.marginTablet,"px"):"".concat(t.marginLeftTablet,"px")}),I&&(z={paddingTop:"linked"===t.paddingTypeMobile?"".concat(t.paddingMobile,"px"):"".concat(t.paddingTopMobile,"px"),paddingRight:"linked"===t.paddingTypeMobile?"".concat(t.paddingMobile,"px"):"".concat(t.paddingRightMobile,"px"),paddingBottom:"linked"===t.paddingTypeMobile?"".concat(t.paddingMobile,"px"):"".concat(t.paddingBottomMobile,"px"),paddingLeft:"linked"===t.paddingTypeMobile?"".concat(t.paddingMobile,"px"):"".concat(t.paddingLeftMobile,"px"),marginTop:"linked"===t.marginTypeMobile?"".concat(t.marginMobile,"px"):"".concat(t.marginTopMobile,"px"),marginRight:"linked"===t.marginTypeMobile?"".concat(t.marginMobile,"px"):"".concat(t.marginRightMobile,"px"),marginBottom:"linked"===t.marginTypeMobile?"".concat(t.marginMobile,"px"):"".concat(t.marginBottomMobile,"px"),marginLeft:"linked"===t.marginTypeMobile?"".concat(t.marginMobile,"px"):"".concat(t.marginLeftMobile,"px")}),"color"===t.backgroundType&&(H={background:t.backgroundColor}),"image"===t.backgroundType&&(H={backgroundImage:"url( '".concat(t.backgroundImageURL,"' )"),backgroundAttachment:t.backgroundAttachment,backgroundPosition:t.backgroundPosition,backgroundRepeat:t.backgroundRepeat,backgroundSize:t.backgroundSize}),"gradient"===t.backgroundType)&&(q="linear"===t.backgroundGradientType?"".concat(t.backgroundGradientAngle,"deg"):"at ".concat(t.backgroundGradientPosition),(t.backgroundGradientFirstColor||t.backgroundGradientSecondColor)&&(H={background:"".concat(t.backgroundGradientType,"-gradient( ").concat(q,", ").concat(t.backgroundGradientFirstColor||"rgba( 0, 0, 0, 0 )"," ").concat(t.backgroundGradientFirstLocation,"%, ").concat(t.backgroundGradientSecondColor||"rgba( 0, 0, 0, 0 )"," ").concat(t.backgroundGradientSecondLocation,"% )")}));"linked"===t.borderType&&(D={borderWidth:"".concat(t.border,"px"),borderStyle:"solid",borderColor:t.borderColor}),"unlinked"===t.borderType&&(D={borderTopWidth:"".concat(t.borderTop,"px"),borderRightWidth:"".concat(t.borderRight,"px"),borderBottomWidth:"".concat(t.borderBottom,"px"),borderLeftWidth:"".concat(t.borderLeft,"px"),borderStyle:"solid",borderColor:t.borderColor}),"linked"===t.borderRadiusType&&(G={borderRadius:"".concat(t.borderRadius,"px")}),"unlinked"===t.borderRadiusType&&(G={borderTopLeftRadius:"".concat(t.borderRadiusTop,"px"),borderTopRightRadius:"".concat(t.borderRadiusRight,"px"),borderBottomRightRadius:"".concat(t.borderRadiusBottom,"px"),borderBottomLeftRadius:"".concat(t.borderRadiusLeft,"px")}),!0===t.boxShadow&&(V={boxShadow:"".concat(t.boxShadowHorizontal,"px ").concat(t.boxShadowVertical,"px ").concat(t.boxShadowBlur,"px ").concat(t.boxShadowSpread,"px ").concat(r()(t.boxShadowColor?t.boxShadowColor:"#000000",t.boxShadowColorOpacity))});var $=Q(Q(Q(Q(Q({},z),H),D),G),V);return wp.element.createElement(oe,null,wp.element.createElement(F,{attributes:t,setAttributes:n,isSelected:o,clientId:i,adjacentBlock:g,parentBlock:y,updateBlockAttributes:d,adjacentBlockClientId:b}),wp.element.createElement(Y,{className:"block-library-spacer__resize-container wp-themeisle-block-advanced-column-resize-container",enable:{right:!!b},handleWrapperClass:"wp-themeisle-block-advanced-column-resize-container-handle",onResizeStart:function(){var e=document.querySelector("#block-".concat(i," .wp-themeisle-block-advanced-column-resize-container-handle .components-resizable-box__handle")),n=document.createElement("div"),a=document.createElement("div");n.setAttribute("class","resizable-tooltip resizable-tooltip-left"),n.innerHTML="".concat(parseFloat(t.columnWidth).toFixed(0),"%"),e.appendChild(n),a.setAttribute("class","resizable-tooltip resizable-tooltip-right"),a.innerHTML="".concat(parseFloat(g.attributes.columnWidth).toFixed(0),"%"),e.appendChild(a),R(t.columnWidth),P(g.attributes.columnWidth),p(!1)},onResize:function(e,t,a,l){var o=document.getElementById("block-".concat(f)).getBoundingClientRect().width,r=l.width/o*100,i=parseFloat(O)+r,c=L-r,p=document.querySelector(".resizable-tooltip-left"),m=document.querySelector(".resizable-tooltip-right");10<=i&&10<=c&&(p.innerHTML="".concat(i.toFixed(0),"%"),m.innerHTML="".concat(c.toFixed(0),"%"),n({columnWidth:i.toFixed(2)}),d(b,{columnWidth:c.toFixed(2)}))},onResizeStop:function(){var e=document.querySelector(".resizable-tooltip-left"),t=document.querySelector(".resizable-tooltip-right");e.parentNode.removeChild(e),t.parentNode.removeChild(t),p(!0)}},wp.element.createElement(Z,{className:a,id:t.id,style:$},wp.element.createElement(ae,{templateLock:!1,renderAppender:!h&&ae.ButtonBlockAppender}))))},de=wp.blockEditor.InnerBlocks,me=function(e){var t=e.attributes,n=e.className,a=t.columnsHTMLTag;return wp.element.createElement(a,{className:n,id:t.id},wp.element.createElement(de.Content,null))},se=wp.i18n.__;(0,wp.blocks.registerBlockType)("themeisle-blocks/advanced-column",{title:se("Section Column"),description:se("A single column within a Section block."),parent:["themeisle-blocks/advanced-columns"],icon:a.f,category:"themeisle-blocks",attributes:l,deprecated:m,supports:{inserter:!1,reusable:!1,html:!1},edit:pe,save:me})},function(e,t,n){"use strict";n.r(t);var a=n(3),l=(n(1),wp.i18n.__),o=wp.blockEditor.InnerBlocks,r=[["themeisle-blocks/advanced-heading",{content:l("Basic"),align:"center",tag:"h3",fontSize:24}],["themeisle-blocks/advanced-heading",{content:l("$9.99"),align:"center",tag:"h4",fontSize:36,fontFamily:"Roboto Slab",fontVariant:"normal"}],["themeisle-blocks/advanced-heading",{content:l("Per Month"),align:"center",tag:"p",fontSize:12,marginBottom:0}],["themeisle-blocks/advanced-heading",{content:l("First Feature"),align:"center",tag:"p",fontSize:12,marginBottom:0}],["themeisle-blocks/advanced-heading",{content:l("Second Feature"),align:"center",tag:"p",fontSize:12,marginBottom:0}],["themeisle-blocks/advanced-heading",{content:l("Last Feature"),align:"center",tag:"p",fontSize:12,marginBottom:0}],["themeisle-blocks/button-group",{align:"center",buttons:1,data:[{text:l("Buy Now"),newTab:!1,color:"#ffffff",background:"#32373c",hoverColor:"#ffffff",hoverBackground:"#444a50",borderSize:0,borderRadius:3,boxShadow:!1,boxShadowColorOpacity:50,boxShadowBlur:5,boxShadowSpread:1,boxShadowHorizontal:0,boxShadowVertical:0,hoverBoxShadowColorOpacity:50,hoverBoxShadowBlur:5,hoverBoxShadowSpread:1,hoverBoxShadowHorizontal:0,hoverBoxShadowVertical:0,iconType:"none",paddingTopBottom:12,paddingLeftRight:24}]}]],i=function(e){var t=e.className;return wp.element.createElement("div",{className:t},wp.element.createElement(o,{template:r}))},c=wp.blockEditor.InnerBlocks,p=function(e){var t=e.className;return wp.element.createElement("div",{className:t},wp.element.createElement(c.Content,null))},d=wp.i18n.__;(0,wp.blocks.registerBlockType)("themeisle-blocks/pricing",{title:d("Pricing"),description:d("Pricing tables are a critical part in showcasing your services, prices and overall offerings."),icon:a.p,category:"themeisle-blocks",keywords:["pricing","table","money"],edit:i,save:p})},function(e,t,n){"use strict";n.r(t);var a=n(3),l=(n(1),wp.i18n.__),o=wp.blockEditor.InnerBlocks,r=[["themeisle-blocks/font-awesome-icons",{fontSize:62,prefix:"fab",icon:"angellist"}],["themeisle-blocks/advanced-heading",{content:l("Basic"),align:"center",tag:"h4",marginBottom:20}],["themeisle-blocks/advanced-heading",{content:l("Lorem ipsum dolor sit amet elit do, consectetur adipiscing, sed eiusmod tempor incididunt ut labore et dolore magna aliqua."),align:"center",color:"#999999",tag:"p",fontSize:14,marginBottom:20}],["themeisle-blocks/button-group",{align:"center",buttons:1,data:[{text:l("Know More"),newTab:!1,color:"#ffffff",background:"#32373c",hoverColor:"#ffffff",hoverBackground:"#444a50",borderSize:0,borderRadius:3,boxShadow:!1,boxShadowColorOpacity:50,boxShadowBlur:5,boxShadowSpread:1,boxShadowHorizontal:0,boxShadowVertical:0,hoverBoxShadowColorOpacity:50,hoverBoxShadowBlur:5,hoverBoxShadowSpread:1,hoverBoxShadowHorizontal:0,hoverBoxShadowVertical:0,iconType:"none",paddingTopBottom:12,paddingLeftRight:24}]}]],i=function(e){var t=e.className;return wp.element.createElement("div",{className:t},wp.element.createElement(o,{template:r}))},c=wp.blockEditor.InnerBlocks,p=function(e){var t=e.className;return wp.element.createElement("div",{className:t},wp.element.createElement(c.Content,null))},d=wp.i18n.__;(0,wp.blocks.registerBlockType)("themeisle-blocks/service",{title:d("Service"),description:d("Use this Service block to showcase services your website offers."),icon:a.q,category:"themeisle-blocks",keywords:["services","icon","features"],edit:i,save:p})},function(e,t,n){"use strict";n.r(t);var a=n(3),l=(n(1),wp.i18n.__),o=wp.blockEditor.InnerBlocks,r=[["core/image",{align:"center"}],["themeisle-blocks/advanced-heading",{content:l("John Doe"),align:"center",fontSize:24,tag:"h3",marginTop:25,marginBottom:10,marginTopTablet:25,marginTopMobile:25}],["themeisle-blocks/advanced-heading",{content:l("Jedi Master"),align:"center",fontSize:14,tag:"h4",marginTop:10,marginBottom:10}],["themeisle-blocks/advanced-heading",{content:l('"What is the point of being alive if you don’t at least try to do something remarkable?"'),align:"center",color:"#999999",tag:"p",fontSize:14,marginTop:10,marginBottom:20}]],i=function(e){var t=e.className;return wp.element.createElement("div",{className:t},wp.element.createElement(o,{template:r}))},c=wp.blockEditor.InnerBlocks,p=function(e){var t=e.className;return wp.element.createElement("div",{className:t},wp.element.createElement(c.Content,null))},d=wp.i18n.__;(0,wp.blocks.registerBlockType)("themeisle-blocks/testimonials",{title:d("Testimonials"),description:d("Display kudos from customers and clients and display them on your website."),icon:a.s,category:"themeisle-blocks",keywords:["testimonials","quotes","business"],edit:i,save:p})},,,function(e,t,n){n(45),n(101),n(109),n(104),n(37),n(36),n(65),n(105),n(102),n(108),n(32),n(106),n(38),n(35),n(19),n(30),n(31),n(17),n(90),n(107),n(103),n(97),n(39),n(40),e.exports=n(41)},function(e,t,n){"use strict";n.r(t);n(46);n.p=window.themeisleGutenberg.packagePath},,,,,,,,function(e,t){function n(e,t,n,a,l,o,r){try{var i=e[o](r),c=i.value}catch(e){return void n(e)}i.done?t(c):Promise.resolve(c).then(a,l)}function a(e){return function(){var t=this,a=arguments;return new Promise((function(l,o){var r=e.apply(t,a);function i(e){n(r,l,o,i,c,"next",e)}function c(e){n(r,l,o,i,c,"throw",e)}i(void 0)}))}}var l=lodash.debounce,o=wp.apiFetch,r=wp.data,i=r.select,c=r.subscribe,p=l(a(regeneratorRuntime.mark((function e(){var t,n,a;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=i("core/editor"),n=t.getCurrentPostId,a=n(),e.next=4,o({path:"themeisle-gutenberg-blocks/v1/save_post_meta/".concat(a),method:"POST"});case 4:case"end":return e.stop()}}),e)}))),1e3),d={};c((function(){var e=i("core/editor"),t=e.isCurrentPostPublished,n=e.isSavingPost,a=e.isPublishingPost,l=e.isAutosavingPost,r=e.__experimentalGetReusableBlocks,c=e.__experimentalIsSavingReusableBlock,m=l(),s=a(),u=n(),b=r(),g=t();b.map((function(e){if(e){var t=(n=e.id,c(n));t&&!e.isTemporary&&(d[e.id]={id:e.id,isSaving:!0}),t||e.isTemporary||!d[e.id]||e.id===d[e.id].id&&!t&&d[e.id].isSaving&&(d[e.id].isSaving=!1,o({path:"themeisle-gutenberg-blocks/v1/save_block_meta/".concat(e.id),method:"POST"}))}var n})),!(s||g&&u)||m||status||p()}))},function(e,t){var n=wp.data.registerStore,a={viewType:"Desktop"};n("themeisle-gutenberg/data",{reducer:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a,t=arguments.length>1?arguments[1]:void 0;return"UPDATE_VIEW"===t.type?{viewType:t.viewType}:e},selectors:{getView:function(e){return e.viewType}},actions:{updateView:function(e){return{type:"UPDATE_VIEW",viewType:e}}}})},,,,,function(e,t,n){},,function(e,t,n){},,,,function(e,t,n){"use strict";n.r(t);n(66),n(67),n(36),n(37)},,function(e,t,n){},function(e,t,n){},,function(e,t,n){},,,,function(e,t,n){},function(e,t,n){},,,,,function(e,t,n){},,,,,,,,,,function(e,t,n){"use strict";n.r(t);n(91),n(92),n(35),n(38)},function(e,t,n){},,function(e,t,n){},,function(e,t,n){},,function(e,t,n){"use strict";n.r(t);n(39),n(40),n(41)},,,,function(e,t,n){"use strict";n.r(t);n(47);var a=n(3);n(48),n(1);function l(e,t,n,a,l,o,r){try{var i=e[o](r),c=i.value}catch(e){return void n(e)}i.done?t(c):Promise.resolve(c).then(a,l)}function o(e){return function(){var t=this,n=arguments;return new Promise((function(a,o){var r=e.apply(t,n);function i(e){l(r,a,o,i,c,"next",e)}function c(e){l(r,a,o,i,c,"throw",e)}i(void 0)}))}}function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return i(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var c=wp.i18n.__,p=wp.blocks.getBlockType,d=wp.components,m=d.Button,s=d.Icon,u=d.Modal,b=wp.element,g=b.Fragment,f=b.useState,y=function(e){var t=e.blockName,n=e.saveConfig,a=e.resetConfig,l=e.children,i=p(t),d=r(f(!1),2),b=d[0],y=d[1],h=r(f(!1),2),w=h[0],v=h[1];return i?wp.element.createElement(g,null,wp.element.createElement(m,{className:"wp-block-themeisle-blocks-options-global-defaults-list-item block-editor-block-types-list__item",onClick:function(){return y(!0)}},wp.element.createElement("div",{className:"wp-block-themeisle-blocks-options-global-defaults-list-item-icon"},wp.element.createElement(s,{icon:i.icon.src})),wp.element.createElement("div",{className:"wp-block-themeisle-blocks-options-global-defaults-list-item-title"},i.title)),b&&wp.element.createElement(u,{title:i.title,onRequestClose:function(){return y(!1)},shouldCloseOnClickOutside:!1,overlayClassName:"wp-block-themeisle-blocks-options-global-defaults-modal"},l,wp.element.createElement("div",{className:"wp-block-themeisle-blocks-options-global-defaults-actions"},wp.element.createElement(m,{isLink:!0,isDestructive:!0,onClick:function(){return a(t)}},c("Reset")),wp.element.createElement("div",{className:"wp-block-themeisle-blocks-options-global-defaults-actions-primary"},wp.element.createElement(m,{isSecondary:!0,isLarge:!0,onClick:function(){return y(!1)}},c("Close")),wp.element.createElement(m,{isPrimary:!0,isLarge:!0,isBusy:w,onClick:o(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return v(!0),e.next=3,n();case 3:v(!1);case 4:case"end":return e.stop()}}),e)})))},c("Save")))))):null},h=n(5),w=n(12),v=n(6),k=n(7);function T(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var E=wp.i18n.__,x=wp.blockEditor.ColorPalette,C=wp.components,S=C.PanelBody,M=C.RangeControl,B=C.SelectControl,O=wp.data.useSelect,R=wp.element.Fragment,A=function(e){var t=e.blockName,n=e.defaults,a=e.changeConfig,l=O((function(e){var t=e("themeisle-gutenberg/data").getView,n=e("core/edit-post").__experimentalGetPreviewDeviceType;return n?n():t()}),[]),o=function(){var e;return"Desktop"===l&&(e=n.fontSize),"Tablet"===l&&(e=n.fontSizeTablet),"Mobile"===l&&(e=n.fontSizeMobile),e};o=o();var r=function(){var e;return"Desktop"===l&&(e=n.paddingType),"Tablet"===l&&(e=n.paddingTypeTablet),"Mobile"===l&&(e=n.paddingTypeMobile),e};r=r();var i={top:"paddingTop",right:"paddingRight",bottom:"paddingBottom",left:"paddingLeft"},c={top:"paddingTopTablet",right:"paddingRightTablet",bottom:"paddingBottomTablet",left:"paddingLeftTablet"},p={top:"paddingTopMobile",right:"paddingRightMobile",bottom:"paddingBottomMobile",left:"paddingLeftMobile"},d=function(e){var t;return"top"==e&&("Desktop"===l&&(t="linked"===n.paddingType?n.padding:n.paddingTop),"Tablet"===l&&(t="linked"===n.paddingTypeTablet?n.paddingTablet:n.paddingTopTablet),"Mobile"===l&&(t="linked"===n.paddingTypeMobile?n.paddingMobile:n.paddingTopMobile)),"right"==e&&("Desktop"===l&&(t="linked"===n.paddingType?n.padding:n.paddingRight),"Tablet"===l&&(t="linked"===n.paddingTypeTablet?n.paddingTablet:n.paddingRightTablet),"Mobile"===l&&(t="linked"===n.paddingTypeMobile?n.paddingMobile:n.paddingRightMobile)),"bottom"==e&&("Desktop"===l&&(t="linked"===n.paddingType?n.padding:n.paddingBottom),"Tablet"===l&&(t="linked"===n.paddingTypeTablet?n.paddingTablet:n.paddingBottomTablet),"Mobile"===l&&(t="linked"===n.paddingTypeMobile?n.paddingMobile:n.paddingBottomMobile)),"left"==e&&("Desktop"===l&&(t="linked"===n.paddingType?n.padding:n.paddingLeft),"Tablet"===l&&(t="linked"===n.paddingTypeTablet?n.paddingTablet:n.paddingLeftTablet),"Mobile"===l&&(t="linked"===n.paddingTypeMobile?n.paddingMobile:n.paddingLeftMobile)),t},m=function(){var e;return"Desktop"===l&&(e=n.marginType),"Tablet"===l&&(e=n.marginTypeTablet),"Mobile"===l&&(e=n.marginTypeMobile),e};m=m();var s={top:"marginTop",bottom:"marginBottom"},u={top:"marginTopTablet",bottom:"marginBottomTablet"},b={top:"marginTopMobile",bottom:"marginBottomMobile"},g=function(e){var t;return"top"==e&&("Desktop"===l&&(t="linked"===n.marginType?n.margin:n.marginTop),"Tablet"===l&&(t="linked"===n.marginTypeTablet?n.marginTablet:n.marginTopTablet),"Mobile"===l&&(t="linked"===n.marginTypeMobile?n.marginMobile:n.marginTopMobile)),"bottom"==e&&("Desktop"===l&&(t="linked"===n.marginType?n.margin:n.marginBottom),"Tablet"===l&&(t="linked"===n.marginTypeTablet?n.marginTablet:n.marginBottomTablet),"Mobile"===l&&(t="linked"===n.marginTypeMobile?n.marginMobile:n.marginBottomMobile)),t};return wp.element.createElement(R,null,wp.element.createElement(S,{title:E("General Settings")},wp.element.createElement(B,{label:E("HTML Tag"),value:n.tag,options:[{label:E("Heading 1"),value:"h1"},{label:E("Heading 2"),value:"h2"},{label:E("Heading 3"),value:"h3"},{label:E("Heading 4"),value:"h4"},{label:E("Heading 5"),value:"h5"},{label:E("Heading 6"),value:"h6"},{label:E("Division"),value:"div"},{label:E("Paragraph"),value:"p"},{label:E("Span"),value:"span"}],onChange:function(e){return a(t,{tag:e})}}),wp.element.createElement(h.a,{label:"Heading Color",colorValue:n.headingColor},wp.element.createElement(x,{value:n.headingColor,onChange:function(e){return a(t,{headingColor:e})}})),wp.element.createElement("hr",null),wp.element.createElement(v.a,{label:"Font Size"},wp.element.createElement(M,{value:o||"",onChange:function(e){"Desktop"===l&&a(t,{fontSize:e}),"Tablet"===l&&a(t,{fontSizeTablet:e}),"Mobile"===l&&a(t,{fontSizeMobile:e})},min:1,max:500}))),wp.element.createElement(S,{title:E("Typography Settings"),initialOpen:!1},wp.element.createElement(w.a,{label:E("Font Family"),value:n.fontFamily,onChangeFontFamily:function(e){a(t,e?{fontFamily:e,fontVariant:"normal",fontStyle:"normal"}:{fontFamily:e,fontVariant:e})},valueVariant:n.fontVariant,onChangeFontVariant:function(e){return a(t,{fontVariant:e})},valueStyle:n.fontStyle,onChangeFontStyle:function(e){return a(t,{fontStyle:e})},valueTransform:n.textTransform,onChangeTextTransform:function(e){return a(t,{textTransform:e})}}),wp.element.createElement("hr",null),wp.element.createElement(M,{label:E("Line Height"),value:n.lineHeight||"",onChange:function(e){return a(t,{lineHeight:e})},min:0,max:200}),wp.element.createElement("hr",null),wp.element.createElement(M,{label:E("Letter Spacing"),value:n.letterSpacing||"",onChange:function(e){return a(t,{letterSpacing:e})},min:-50,max:100})),wp.element.createElement(S,{title:E("Spacing"),initialOpen:!1},wp.element.createElement(v.a,{label:"Padding"},wp.element.createElement(k.a,{type:r,min:0,max:500,changeType:function(e){"Desktop"===l&&a(t,{paddingType:e}),"Tablet"===l&&a(t,{paddingTypeTablet:e}),"Mobile"===l&&a(t,{paddingTypeMobile:e})},onChange:function(e,o){"Desktop"===l&&("linked"===n.paddingType?a(t,{padding:o}):a(t,T({},i[e],o))),"Tablet"===l&&("linked"===n.paddingTypeTablet?a(t,{paddingTablet:o}):a(t,T({},c[e],o))),"Mobile"===l&&("linked"===n.paddingTypeMobile?a(t,{paddingMobile:o}):a(t,T({},p[e],o)))},options:[{label:E("Top"),type:"top",value:d("top")},{label:E("Right"),type:"right",value:d("right")},{label:E("Bottom"),type:"bottom",value:d("bottom")},{label:E("Left"),type:"left",value:d("left")}]})),wp.element.createElement("hr",null),wp.element.createElement(v.a,{label:"Margin"},wp.element.createElement(k.a,{type:m,min:-500,max:500,changeType:function(e){"Desktop"===l&&a(t,{marginType:e}),"Tablet"===l&&a(t,{marginTypeTablet:e}),"Mobile"===l&&a(t,{marginTypeMobile:e})},onChange:function(e,o){"Desktop"===l&&("linked"===n.marginType?a(t,{margin:o}):a(t,T({},s[e],o))),"Tablet"===l&&("linked"===n.marginTypeTablet?a(t,{marginTablet:o}):a(t,T({},u[e],o))),"Mobile"===l&&("linked"===n.marginTypeMobile?a(t,{marginMobile:o}):a(t,T({},b[e],o)))},options:[{label:E("Top"),type:"top",value:g("top")},{label:E("Right"),disabled:!0},{label:E("Bottom"),type:"bottom",value:g("bottom")},{label:E("Left"),disabled:!0}]}))))};var L=wp.i18n.__,P=wp.components,N=P.PanelBody,_=P.RangeControl,I=P.SelectControl,j=wp.element.Fragment,z=function(e){var t=e.blockName,n=e.defaults,a=e.changeConfig;return wp.element.createElement(j,null,wp.element.createElement(N,{title:L("Spacing")},wp.element.createElement(k.a,{label:L("Button Padding"),min:0,max:100,onChange:function(e,n){return a(t,function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},e,n))},options:[{label:L("Top"),type:"paddingTopBottom",value:n.paddingTopBottom},{label:L("Right"),type:"paddingLeftRight",value:n.paddingLeftRight},{label:L("Bottom"),type:"paddingTopBottom",value:n.paddingTopBottom},{label:L("Left"),type:"paddingLeftRight",value:n.paddingLeftRight}]}),wp.element.createElement("hr",null),wp.element.createElement(_,{label:L("Group Spacing"),value:n.spacing,onChange:function(e){return a(t,{spacing:e})},min:0,max:50}),wp.element.createElement("hr",null),wp.element.createElement(I,{label:L("Collapse On"),value:n.collapse,options:[{label:"None",value:"collapse-none"},{label:"Desktop",value:"collapse-desktop"},{label:"Tablet",value:"collapse-tablet"},{label:"Mobile",value:"collapse-mobile"}],onChange:function(e){return a(t,{collapse:e})}})),wp.element.createElement(N,{title:L("Typography Settings"),initialOpen:!1},wp.element.createElement(_,{label:L("Font Size"),value:n.fontSize||"",onChange:function(e){return a(t,{fontSize:e})},min:0,max:50}),wp.element.createElement("hr",null),wp.element.createElement(w.a,{label:L("Font Family"),value:n.fontFamily,onChangeFontFamily:function(e){a(t,e?{fontFamily:e,fontVariant:"normal",fontStyle:"normal"}:{fontFamily:e,fontVariant:e})},valueVariant:n.fontVariant,onChangeFontVariant:function(e){return a(t,{fontVariant:e})},valueStyle:n.fontStyle,onChangeFontStyle:function(e){return a(t,{fontStyle:e})},valueTransform:n.textTransform,onChangeTextTransform:function(e){return a(t,{textTransform:e})}}),wp.element.createElement("hr",null),wp.element.createElement(_,{label:L("Line Height"),value:n.lineHeight||"",onChange:function(e){return a(t,{lineHeight:e})},min:0,max:200})))};function H(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return D(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return D(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function D(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var G=wp.i18n.__,V=wp.blockEditor.__experimentalColorGradientControl,F=wp.components,W=F.Button,U=F.ButtonGroup,q=F.PanelBody,Z=F.RangeControl,$=wp.element,Q=$.Fragment,K=$.useState,J=function(e){var t=e.blockName,n=e.defaults,a=e.changeConfig,l=H(K(!1),2),o=l[0],r=l[1],i=function(){return wp.element.createElement(U,null,wp.element.createElement(W,{isSmall:!0,isSecondary:o,isPrimary:!o,onClick:function(){return r(!1)}},G("Normal")),wp.element.createElement(W,{isSmall:!0,isSecondary:!o,isPrimary:o,onClick:function(){return r(!0)}},G("Hover")))};return wp.element.createElement(Q,null,wp.element.createElement(q,{title:G("Color")},wp.element.createElement(i,null),o?wp.element.createElement(Q,{key:"with-hover"},wp.element.createElement(V,{label:"Hover Color",colorValue:n.hoverColor,onColorChange:function(e){return a(t,{hoverColor:e})}}),wp.element.createElement(V,{label:"Hover Background",colorValue:n.hoverBackground,onColorChange:function(e){return a(t,{hoverBackground:e})}})):wp.element.createElement(Q,{key:"without-hover"},wp.element.createElement(V,{label:"Color",colorValue:n.color,onColorChange:function(e){return a(t,{color:e})}}),wp.element.createElement(V,{label:"Background",colorValue:n.background,onColorChange:function(e){return a(t,{background:e})}}))),wp.element.createElement(q,{title:G("Border & Box Shadow"),initialOpen:!1},wp.element.createElement(i,null),o?wp.element.createElement(V,{label:"Hover Border",colorValue:n.hoverBorder,onColorChange:function(e){return a(t,{hoverBorder:e})}}):wp.element.createElement(V,{label:"Border",colorValue:n.border,onColorChange:function(e){return a(t,{border:e})}}),wp.element.createElement(Z,{label:G("Border Width"),value:n.borderSize,onChange:function(e){return a(t,{borderSize:e})},min:0,max:10}),wp.element.createElement(Z,{label:G("Border Radius"),value:n.borderRadius,onChange:function(e){return a(t,{borderRadius:e})},min:0,max:100})))};function Y(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return X(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return X(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function X(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var ee=wp.i18n.__,te=wp.components,ne=te.Button,ae=te.ButtonGroup,le=te.PanelBody,oe=te.RangeControl,re=wp.blockEditor,ie=re.ColorPalette,ce=re.ContrastChecker,pe=wp.element,de=pe.Fragment,me=pe.useState,se=function(e){var t=e.blockName,n=e.defaults,a=e.changeConfig,l=Y(me(!1),2),o=l[0],r=l[1];return wp.element.createElement(de,null,wp.element.createElement(le,{title:ee("Sizing")},wp.element.createElement(oe,{label:ee("Icon Size"),value:n.fontSize||"",initialPosition:16,onChange:function(e){return a(t,{fontSize:e})},min:12,max:140}),wp.element.createElement("hr",null),wp.element.createElement(oe,{label:ee("Padding"),value:n.padding||"",initialPosition:5,onChange:function(e){return a(t,{padding:e})},min:0,max:100}),wp.element.createElement("hr",null),wp.element.createElement(oe,{label:ee("Margin"),value:n.margin||"",initialPosition:5,onChange:function(e){return a(t,{margin:e})},min:0,max:100})),wp.element.createElement(le,{title:ee("Color"),initialOpen:!1},wp.element.createElement(ae,null,wp.element.createElement(ne,{isSmall:!0,isSecondary:o,isPrimary:!o,onClick:function(){return r(!1)}},ee("Normal")),wp.element.createElement(ne,{isSmall:!0,isSecondary:!o,isPrimary:o,onClick:function(){return r(!0)}},ee("Hover"))),o?wp.element.createElement(de,null,wp.element.createElement(h.a,{label:"Hover Background",colorValue:n.backgroundColorHover},wp.element.createElement(ie,{label:"Hover Background",value:n.backgroundColorHover,onChange:function(e){return a(t,{backgroundColorHover:e})}})),wp.element.createElement(h.a,{label:"Hover Icon",colorValue:n.textColorHover},wp.element.createElement(ie,{label:"Hover Icon",value:n.textColorHover,onChange:function(e){return a(t,{textColorHover:e})}})),wp.element.createElement(ce,{textColor:n.textColorHover,backgroundColor:n.backgroundColorHover})):wp.element.createElement(de,null,wp.element.createElement(h.a,{label:"Background",colorValue:n.backgroundColor},wp.element.createElement(ie,{label:"Background",value:n.backgroundColor,onChange:function(e){return a(t,{backgroundColor:e})}})),wp.element.createElement(h.a,{label:"Icon",colorValue:n.textColor},wp.element.createElement(ie,{label:"Icon",value:n.textColor,onChange:function(e){return a(t,{textColor:e})}})),wp.element.createElement(ce,{textColor:n.textColor,backgroundColor:n.backgroundColor}))))};function ue(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var be=wp.i18n.__,ge=wp.components,fe=ge.BaseControl,ye=ge.Button,he=ge.ButtonGroup,we=ge.Icon,ve=ge.PanelBody,ke=ge.RangeControl,Te=ge.SelectControl,Ee=ge.ToggleControl,xe=wp.data.useSelect,Ce=wp.element.Fragment,Se=function(e){var t=e.blockName,n=e.defaults,l=e.changeConfig,o=xe((function(e){var t=e("themeisle-gutenberg/data").getView,n=e("core/edit-post").__experimentalGetPreviewDeviceType;return n?n():t()}),[]),r=function(){var e;return"Desktop"===o&&(e=n.paddingType),"Tablet"===o&&(e=n.paddingTypeTablet),"Mobile"===o&&(e=n.paddingTypeMobile),e};r=r();var i={top:"paddingTop",right:"paddingRight",bottom:"paddingBottom",left:"paddingLeft"},c={top:"paddingTopTablet",right:"paddingRightTablet",bottom:"paddingBottomTablet",left:"paddingLeftTablet"},p={top:"paddingTopMobile",right:"paddingRightMobile",bottom:"paddingBottomMobile",left:"paddingLeftMobile"},d=function(e){var t;return"top"==e&&("Desktop"===o&&(t="linked"===n.paddingType?n.padding:n.paddingTop),"Tablet"===o&&(t="linked"===n.paddingTypeTablet?n.paddingTablet:n.paddingTopTablet),"Mobile"===o&&(t="linked"===n.paddingTypeMobile?n.paddingMobile:n.paddingTopMobile)),"right"==e&&("Desktop"===o&&(t="linked"===n.paddingType?n.padding:n.paddingRight),"Tablet"===o&&(t="linked"===n.paddingTypeTablet?n.paddingTablet:n.paddingRightTablet),"Mobile"===o&&(t="linked"===n.paddingTypeMobile?n.paddingMobile:n.paddingRightMobile)),"bottom"==e&&("Desktop"===o&&(t="linked"===n.paddingType?n.padding:n.paddingBottom),"Tablet"===o&&(t="linked"===n.paddingTypeTablet?n.paddingTablet:n.paddingBottomTablet),"Mobile"===o&&(t="linked"===n.paddingTypeMobile?n.paddingMobile:n.paddingBottomMobile)),"left"==e&&("Desktop"===o&&(t="linked"===n.paddingType?n.padding:n.paddingLeft),"Tablet"===o&&(t="linked"===n.paddingTypeTablet?n.paddingTablet:n.paddingLeftTablet),"Mobile"===o&&(t="linked"===n.paddingTypeMobile?n.paddingMobile:n.paddingLeftMobile)),t},m=function(){var e;return"Desktop"===o&&(e=n.marginType),"Tablet"===o&&(e=n.marginTypeTablet),"Mobile"===o&&(e=n.marginTypeMobile),e};m=m();var s={top:"marginTop",bottom:"marginBottom"},u={top:"marginTopTablet",bottom:"marginBottomTablet"},b={top:"marginTopMobile",bottom:"marginBottomMobile"},g=function(e){var t;return"top"==e&&("Desktop"===o&&(t="linked"===n.marginType?n.margin:n.marginTop),"Tablet"===o&&(t="linked"===n.marginTypeTablet?n.marginTablet:n.marginTopTablet),"Mobile"===o&&(t="linked"===n.marginTypeMobile?n.marginMobile:n.marginTopMobile)),"bottom"==e&&("Desktop"===o&&(t="linked"===n.marginType?n.margin:n.marginBottom),"Tablet"===o&&(t="linked"===n.marginTypeTablet?n.marginTablet:n.marginBottomTablet),"Mobile"===o&&(t="linked"===n.marginTypeMobile?n.marginMobile:n.marginBottomMobile)),t},f=function(e){if(n.horizontalAlign===e)return l(t,{horizontalAlign:"unset"});l(t,{horizontalAlign:e})},y=function(){var e;return"Desktop"===o&&(e=n.columnsHeightCustom),"Tablet"===o&&(e=n.columnsHeightCustomTablet),"Mobile"===o&&(e=n.columnsHeightCustomMobile),e};y=y();var h=function(e){if(n.verticalAlign===e)return l(t,{verticalAlign:"unset"});l(t,{verticalAlign:e})};return wp.element.createElement(Ce,null,wp.element.createElement(ve,{title:be("Sizing")},wp.element.createElement(Te,{label:be("Columns Gap"),value:n.columnsGap,options:[{label:"Default (10px)",value:"default"},{label:"No Gap",value:"nogap"},{label:"Narrow (5px)",value:"narrow"},{label:"Extended (15px)",value:"extended"},{label:"Wide (20px)",value:"wide"},{label:"Wider (30px)",value:"wider"}],onChange:function(e){return l(t,{columnsGap:e})}}),wp.element.createElement(v.a,{label:"Padding"},wp.element.createElement(k.a,{type:r,min:0,max:500,changeType:function(e){"Desktop"===o&&l(t,{paddingType:e}),"Tablet"===o&&l(t,{paddingTypeTablet:e}),"Mobile"===o&&l(t,{paddingTypeMobile:e})},onChange:function(e,a){"Desktop"===o&&("linked"===n.paddingType?l(t,{padding:a}):l(t,ue({},i[e],a))),"Tablet"===o&&("linked"===n.paddingTypeTablet?l(t,{paddingTablet:a}):l(t,ue({},c[e],a))),"Mobile"===o&&("linked"===n.paddingTypeMobile?l(t,{paddingMobile:a}):l(t,ue({},p[e],a)))},options:[{label:be("Top"),type:"top",value:d("top")},{label:be("Right"),type:"right",value:d("right")},{label:be("Bottom"),type:"bottom",value:d("bottom")},{label:be("Left"),type:"left",value:d("left")}]})),wp.element.createElement("hr",null),wp.element.createElement(v.a,{label:"Margin"},wp.element.createElement(k.a,{type:m,min:-500,max:500,changeType:function(e){"Desktop"===o&&l(t,{marginType:e}),"Tablet"===o&&l(t,{marginTypeTablet:e}),"Mobile"===o&&l(t,{marginTypeMobile:e})},onChange:function(e,a){"Desktop"===o&&("linked"===n.marginType?l(t,{margin:a}):l(t,ue({},s[e],a))),"Tablet"===o&&("linked"===n.marginTypeTablet?l(t,{marginTablet:a}):l(t,ue({},u[e],a))),"Mobile"===o&&("linked"===n.marginTypeMobile?l(t,{marginMobile:a}):l(t,ue({},b[e],a)))},options:[{label:be("Top"),type:"top",value:g("top")},{label:be("Right"),disabled:!0},{label:be("Bottom"),type:"bottom",value:g("bottom")},{label:be("Left"),disabled:!0}]}))),wp.element.createElement(ve,{title:be("Section Structure"),initialOpen:!1},wp.element.createElement(Te,{label:be("HTML Tag"),value:n.columnsHTMLTag,options:[{label:"Default (div)",value:"div"},{label:"section",value:"section"},{label:"header",value:"header"},{label:"footer",value:"footer"},{label:"article",value:"article"},{label:"main",value:"main"}],onChange:function(e){return l(t,{columnsHTMLTag:e})}}),wp.element.createElement("hr",null),wp.element.createElement(ke,{label:be("Maximum Content Width"),value:n.columnsWidth||"",onChange:function(e){(0<=e&&1200>=e||void 0===e)&&l(t,{columnsWidth:e})},min:0,max:1200}),wp.element.createElement("hr",null),n.columnsWidth&&wp.element.createElement(Ce,null,wp.element.createElement(fe,{label:"Horizontal Align"},wp.element.createElement(he,{className:"wp-block-themeisle-icon-buttom-group"},wp.element.createElement(ye,{icon:"editor-alignleft",label:be("Left"),showTooltip:!0,isLarge:!0,isPrimary:"flex-start"===n.horizontalAlign,onClick:function(){return f("flex-start")}}),wp.element.createElement(ye,{icon:"editor-aligncenter",label:be("Center"),showTooltip:!0,isLarge:!0,isPrimary:"center"===n.horizontalAlign,onClick:function(){return f("center")}}),wp.element.createElement(ye,{icon:"editor-alignright",label:be("Right"),showTooltip:!0,isLarge:!0,isPrimary:"flex-end"===n.horizontalAlign,onClick:function(){return f("flex-end")}}))),wp.element.createElement("hr",null)),wp.element.createElement(Te,{label:be("Minimum Height"),value:n.columnsHeight,options:[{label:"Default",value:"auto"},{label:"Fit to Screen",value:"100vh"},{label:"Custom",value:"custom"}],onChange:function(e){return l(t,{columnsHeight:e})}}),wp.element.createElement("hr",null),"custom"===n.columnsHeight&&wp.element.createElement(Ce,null,wp.element.createElement(v.a,{label:"Custom Height"},wp.element.createElement(ke,{value:y||"",onChange:function(e){"Desktop"===o&&l(t,{columnsHeightCustom:e}),"Tablet"===o&&l(t,{columnsHeightCustomTablet:e}),"Mobile"===o&&l(t,{columnsHeightCustomMobile:e})},min:0,max:1e3})),wp.element.createElement("hr",null)),wp.element.createElement(fe,{label:"Vertical Align"},wp.element.createElement(he,{className:"wp-block-themeisle-icon-buttom-group"},wp.element.createElement(ye,{icon:wp.element.createElement(we,{icon:a.t,size:20}),label:be("Top"),showTooltip:!0,isLarge:!0,isPrimary:"flex-start"===n.verticalAlign,onClick:function(){return h("flex-start")}}),wp.element.createElement(ye,{icon:wp.element.createElement(we,{icon:a.k,size:20}),label:be("Middle"),showTooltip:!0,isLarge:!0,isPrimary:"center"===n.verticalAlign,onClick:function(){return h("center")}}),wp.element.createElement(ye,{icon:wp.element.createElement(we,{icon:a.c,size:20}),label:be("Bottom"),showTooltip:!0,isLarge:!0,isPrimary:"flex-end"===n.verticalAlign,onClick:function(){return h("flex-end")}})))),wp.element.createElement(ve,{title:be("Responsive"),initialOpen:!1},wp.element.createElement(Ee,{label:"Hide this section in Desktop devices?",checked:n.hide,onChange:function(e){return l(t,{hide:e})}}),wp.element.createElement(Ee,{label:"Hide this section in Tablet devices?",checked:n.hideTablet,onChange:function(e){return l(t,{hideTablet:e})}}),wp.element.createElement(Ee,{label:"Hide this section in Mobile devices?",checked:n.hideMobile,onChange:function(e){return l(t,{hideMobile:e})}})))};function Me(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Be=wp.i18n.__,Oe=wp.components,Re=Oe.PanelBody,Ae=Oe.SelectControl,Le=wp.data.useSelect,Pe=wp.element.Fragment,Ne=function(e){var t=e.blockName,n=e.defaults,a=e.changeConfig,l=Le((function(e){var t=e("themeisle-gutenberg/data").getView,n=e("core/edit-post").__experimentalGetPreviewDeviceType;return n?n():t()}),[]),o=function(){var e;return"Desktop"===l&&(e=n.paddingType),"Tablet"===l&&(e=n.paddingTypeTablet),"Mobile"===l&&(e=n.paddingTypeMobile),e};o=o();var r={top:"paddingTop",right:"paddingRight",bottom:"paddingBottom",left:"paddingLeft"},i={top:"paddingTopTablet",right:"paddingRightTablet",bottom:"paddingBottomTablet",left:"paddingLeftTablet"},c={top:"paddingTopMobile",right:"paddingRightMobile",bottom:"paddingBottomMobile",left:"paddingLeftMobile"},p=function(e){var t;return"top"==e&&("Desktop"===l&&(t="linked"===n.paddingType?n.padding:n.paddingTop),"Tablet"===l&&(t="linked"===n.paddingTypeTablet?n.paddingTablet:n.paddingTopTablet),"Mobile"===l&&(t="linked"===n.paddingTypeMobile?n.paddingMobile:n.paddingTopMobile)),"right"==e&&("Desktop"===l&&(t="linked"===n.paddingType?n.padding:n.paddingRight),"Tablet"===l&&(t="linked"===n.paddingTypeTablet?n.paddingTablet:n.paddingRightTablet),"Mobile"===l&&(t="linked"===n.paddingTypeMobile?n.paddingMobile:n.paddingRightMobile)),"bottom"==e&&("Desktop"===l&&(t="linked"===n.paddingType?n.padding:n.paddingBottom),"Tablet"===l&&(t="linked"===n.paddingTypeTablet?n.paddingTablet:n.paddingBottomTablet),"Mobile"===l&&(t="linked"===n.paddingTypeMobile?n.paddingMobile:n.paddingBottomMobile)),"left"==e&&("Desktop"===l&&(t="linked"===n.paddingType?n.padding:n.paddingLeft),"Tablet"===l&&(t="linked"===n.paddingTypeTablet?n.paddingTablet:n.paddingLeftTablet),"Mobile"===l&&(t="linked"===n.paddingTypeMobile?n.paddingMobile:n.paddingLeftMobile)),t},d=function(){var e;return"Desktop"===l&&(e=n.marginType),"Tablet"===l&&(e=n.marginTypeTablet),"Mobile"===l&&(e=n.marginTypeMobile),e};d=d();var m={top:"marginTop",right:"marginRight",bottom:"marginBottom",left:"marginLeft"},s={top:"marginTopTablet",right:"marginRightTablet",bottom:"marginBottomTablet",left:"marginLeftTablet"},u={top:"marginTopMobile",right:"marginRightMobile",bottom:"marginBottomMobile",left:"marginLeftMobile"},b=function(e){var t;return"top"==e&&("Desktop"===l&&(t="linked"===n.marginType?n.margin:n.marginTop),"Tablet"===l&&(t="linked"===n.marginTypeTablet?n.marginTablet:n.marginTopTablet),"Mobile"===l&&(t="linked"===n.marginTypeMobile?n.marginMobile:n.marginTopMobile)),"right"==e&&("Desktop"===l&&(t="linked"===n.marginType?n.margin:n.marginRight),"Tablet"===l&&(t="linked"===n.marginTypeTablet?n.marginTablet:n.marginRightTablet),"Mobile"===l&&(t="linked"===n.marginTypeMobile?n.marginMobile:n.marginRightMobile)),"bottom"==e&&("Desktop"===l&&(t="linked"===n.marginType?n.margin:n.marginBottom),"Tablet"===l&&(t="linked"===n.marginTypeTablet?n.marginTablet:n.marginBottomTablet),"Mobile"===l&&(t="linked"===n.marginTypeMobile?n.marginMobile:n.marginBottomMobile)),"left"==e&&("Desktop"===l&&(t="linked"===n.marginType?n.margin:n.marginLeft),"Tablet"===l&&(t="linked"===n.marginTypeTablet?n.marginTablet:n.marginLeftTablet),"Mobile"===l&&(t="linked"===n.marginTypeMobile?n.marginMobile:n.marginLeftMobile)),t};return wp.element.createElement(Pe,null,wp.element.createElement(Re,{title:Be("Sizing")},wp.element.createElement(v.a,{label:"Padding"},wp.element.createElement(k.a,{type:o,min:0,max:500,changeType:function(e){"Desktop"===l&&a(t,{paddingType:e}),"Tablet"===l&&a(t,{paddingTypeTablet:e}),"Mobile"===l&&a(t,{paddingTypeMobile:e})},onChange:function(e,o){"Desktop"===l&&("linked"===n.paddingType?a(t,{padding:o}):a(t,Me({},r[e],o))),"Tablet"===l&&("linked"===n.paddingTypeTablet?a(t,{paddingTablet:o}):a(t,Me({},i[e],o))),"Mobile"===l&&("linked"===n.paddingTypeMobile?a(t,{paddingMobile:o}):a(t,Me({},c[e],o)))},options:[{label:Be("Top"),type:"top",value:p("top")},{label:Be("Right"),type:"right",value:p("right")},{label:Be("Bottom"),type:"bottom",value:p("bottom")},{label:Be("Left"),type:"left",value:p("left")}]})),wp.element.createElement("hr",null),wp.element.createElement(v.a,{label:"Margin"},wp.element.createElement(k.a,{type:d,min:-500,max:500,changeType:function(e){"Desktop"===l&&a(t,{marginType:e}),"Tablet"===l&&a(t,{marginTypeTablet:e}),"Mobile"===l&&a(t,{marginTypeMobile:e})},onChange:function(e,o){"Desktop"===l&&("linked"===n.marginType?a(t,{margin:o}):a(t,Me({},m[e],o))),"Tablet"===l&&("linked"===n.marginTypeTablet?a(t,{marginTablet:o}):a(t,Me({},s[e],o))),"Mobile"===l&&("linked"===n.marginTypeMobile?a(t,{marginMobile:o}):a(t,Me({},u[e],o)))},options:[{label:Be("Top"),type:"top",value:b("top")},{label:Be("Right"),type:"right",value:b("right")},{label:Be("Bottom"),type:"bottom",value:b("bottom")},{label:Be("Left"),type:"left",value:b("left")}]}))),wp.element.createElement(Re,{title:Be("Section Settings"),initialOpen:!1},wp.element.createElement(Ae,{label:Be("HTML Tag"),value:n.columnsHTMLTag,options:[{label:"Default (div)",value:"div"},{label:"section",value:"section"},{label:"header",value:"header"},{label:"footer",value:"footer"},{label:"article",value:"article"},{label:"main",value:"main"}],onChange:function(e){return a(t,{columnsHTMLTag:e})}})))},_e=wp.i18n.__,Ie=wp.components,je=Ie.PanelBody,ze=Ie.Placeholder,He=Ie.Spinner,De=function(e){var t=e.isAPILoaded,n=e.blockDefaults,a=e.changeConfig,l=e.resetConfig,o=e.saveConfig,r=[{name:"themeisle-blocks/advanced-heading",control:A},{name:"themeisle-blocks/button-group",control:z},{name:"themeisle-blocks/button",control:J},{name:"themeisle-blocks/font-awesome-icons",control:se},{name:"themeisle-blocks/advanced-columns",control:Se},{name:"themeisle-blocks/advanced-column",control:Ne}];return t?wp.element.createElement(je,{title:"Global Defaults",className:"wp-block-themeisle-blocks-options-global-defaults"},_e("With Global Defaults, you can set site-wide block defaults for Otter."),wp.element.createElement("div",{className:"wp-block-themeisle-blocks-options-global-defaults-list"},r.map((function(e){var t=e.control;return wp.element.createElement(y,{blockName:e.name,saveConfig:o,resetConfig:l},wp.element.createElement(t,{blockName:e.name,defaults:n[e.name],changeConfig:a}))})))):wp.element.createElement(ze,null,wp.element.createElement(He,null))},Ge=n(8);function Ve(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Fe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function We(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Ue(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ue(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ue(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}function qe(e){return(qe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Ze(e,t,n,a,l,o,r){try{var i=e[o](r),c=i.value}catch(e){return void n(e)}i.done?t(c):Promise.resolve(c).then(a,l)}function $e(e){return function(){var t=this,n=arguments;return new Promise((function(a,l){var o=e.apply(t,n);function r(e){Ze(o,a,l,r,i,"next",e)}function i(e){Ze(o,a,l,r,i,"throw",e)}r(void 0)}))}}var Qe=wp.i18n.__,Ke=lodash,Je=Ke.cloneDeep,Ye=Ke.isEqual,Xe=Ke.merge,et=wp.apiFetch,tt=wp.components,nt=tt.PanelBody,at=tt.Snackbar,lt=tt.ToggleControl,ot=wp.data.useDispatch,rt=wp.element,it=rt.Fragment,ct=rt.useEffect,pt=rt.useRef,dt=rt.useState,mt=wp.editPost,st=mt.PluginSidebar,ut=mt.PluginSidebarMoreMenuItem,bt=function(){var e=ot("core/notices").createNotice;ct($e(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,et({path:"wp/v2/users/me?context=edit"});case 2:if(!e.sent.capabilities.manage_options){e.next=8;break}return a(!0),e.next=7,wp.api.loadPromise.then((function(){u.current=new wp.api.models.Settings}));case 7:!1===o&&u.current.fetch().then((function(e){if(s(Boolean(e.themeisle_blocks_settings_default_block)),""!==e.themeisle_blocks_settings_global_defaults){var t=Je(Ge.a);"object"===qe(window.themeisleGutenberg.themeDefaults)&&(t=Xe(t,window.themeisleGutenberg.themeDefaults)),t=Xe(t,JSON.parse(e.themeisle_blocks_settings_global_defaults)),window.themeisleGutenberg.globalDefaults=JSON.parse(e.themeisle_blocks_settings_global_defaults),p(t)}else{var n=Je(Ge.a);"object"===qe(window.themeisleGutenberg.themeDefaults)&&(n=Xe(n,window.themeisleGutenberg.themeDefaults)),window.themeisleGutenberg.globalDefaults={},p(n)}r(!0)}));case 8:case"end":return e.stop()}}),e)}))),[]);var t=We(dt(!1),2),n=t[0],a=t[1],l=We(dt(!1),2),o=l[0],r=l[1],i=We(dt({}),2),c=i[0],p=i[1],d=We(dt(!1),2),m=d[0],s=d[1],u=pt(null),b=function(t){at&&e("info",t,{isDismissible:!0,type:"snackbar"})},g=function(){var e=$e(regeneratorRuntime.mark((function e(){var t,n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=Je(c),Object.keys(t).forEach((function(e){Object.keys(t[e]).forEach((function(n){(void 0!==Ge.a[e][n]&&t[e][n]===Ge.a[e][n]||"object"===qe(t[e][n])&&Ye(t[e][n],Ge.a[e][n]))&&delete t[e][n]}))})),n=new wp.api.models.Settings({themeisle_blocks_settings_global_defaults:JSON.stringify(t)}),e.next=5,n.save().then((function(){window.themeisleGutenberg.globalDefaults=t,b(Qe("Option updated."))}));case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return wp.element.createElement(it,null,n&&wp.element.createElement(ut,{target:"wp-block-themeisle-blocks-options"},Qe("Otter Options")),wp.element.createElement(st,{title:Qe("Otter Options"),name:"wp-block-themeisle-blocks-options"},wp.element.createElement(nt,{className:"wp-block-themeisle-blocks-options-general"},wp.element.createElement(lt,{label:Qe("Make Section block your default block for Pages?"),checked:m,onChange:function(){new wp.api.models.Settings({themeisle_blocks_settings_default_block:!Boolean(m)}).save().then((function(e){s(Boolean(e.themeisle_blocks_settings_default_block)),b(Qe("Option updated."))}))}})),wp.element.createElement(De,{isAPILoaded:o,blockDefaults:c,changeConfig:function(e,t){var n=Je(c);for(var a in t)n[e][a]=t[a];p(n)},resetConfig:function(e){var t=Je(c),n=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ve(Object(n),!0).forEach((function(t){Fe(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ve(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},Ge.a[e]);t[e]=n,p(t)},saveConfig:g})))},gt=(n(53),n(54),n(28)),ft=wp.i18n.__,yt=wp.components.PanelBody,ht=wp.compose.createHigherOrderComponent,wt=wp.blockEditor.InspectorControls,vt=wp.element.Fragment;(0,wp.hooks.addFilter)("editor.BlockEdit","themeisle-gutenberg/gallery-extension",ht((function(e){return function(t){return"core/gallery"===t.name?wp.element.createElement(vt,null,wp.element.createElement(e,t),!!t.attributes.images.length&&wp.element.createElement(wt,null,wp.element.createElement(yt,{title:ft("Images"),initialOpen:!1},wp.element.createElement(gt.a,{attributes:t.attributes,onSelectImages:function(e){t.setAttributes({images:e.map((function(e){return{id:e.id,url:e.url,alt:e.alt,caption:e.caption}}))})}})))):wp.element.createElement(e,t)}}),"withGalleryExtension"));var kt=wp.components.Icon;(0,wp.plugins.registerPlugin)("themeisle-blocks",{icon:wp.element.createElement(kt,{icon:a.m}),render:bt})},function(e,t,n){"use strict";n.r(t);n(70),n(71);var a=n(3),l={id:{type:"string"},style:{type:"string",default:"standard"},location:{type:"string",default:"La Sagrada Familia, Barcelona, Spain"},latitude:{type:"string"},longitude:{type:"string"},type:{type:"string",default:"roadmap"},zoom:{type:"number",default:15},height:{type:"number",default:400},draggable:{type:"boolean",default:!0},mapTypeControl:{type:"boolean",default:!0},zoomControl:{type:"boolean",default:!0},fullscreenControl:{type:"boolean",default:!0},streetViewControl:{type:"boolean",default:!0},markers:{type:"array",default:[]}},o=n(0),r=n.n(o),i=n(121),c=(n(1),wp.i18n.__),p=wp.components,d=p.Button,m=p.ExternalLink,s=p.Placeholder,u=p.Spinner,b=p.TextControl,g=function(e){var t=e.className,n=e.api,a=e.isAPILoaded,l=e.isAPISaved,o=e.isSaving,r=e.changeAPI,i=e.saveAPIKey;return a?l?void 0:wp.element.createElement(s,{icon:"admin-site",label:c("Google Maps"),instructions:c("A Google Maps API key is required, please enter one below."),className:t},wp.element.createElement("div",{className:"components-placeholder__actions"},wp.element.createElement(b,{type:"text",placeholder:c("Google Maps API Key"),value:n,className:"components-placeholder__input",onChange:r}),wp.element.createElement(d,{isLarge:!0,isSecondary:!0,type:"submit",onClick:i,isBusy:o,disabled:""===n},c("Save"))),wp.element.createElement("div",{className:"components-placeholder__learn-more"},c("You need to activate Maps and Places API.")," ",wp.element.createElement(m,{href:"https://developers.google.com/maps/documentation/javascript/get-api-key"},c("Need an API key? Get one here.")))):wp.element.createElement(s,null,wp.element.createElement(u,null),c("Loading…"))},f=n(14);function y(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?y(Object(n),!0).forEach((function(t){w(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):y(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function w(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var v=wp.i18n.__,k=wp.components.BaseControl,T=wp.compose.useInstanceId,E=wp.element,x=E.useEffect,C=E.useRef,S=function e(t){var n=t.value,a=t.onChange,l=T(e);x((function(){wp.oldEditor.initialize(r.current.id,{tinymce:h({},{classic_block_editor:!0,plugins:"lists,media,paste,tabfocus,wordpress,wpautoresize,wpeditimage,wpgallery,wplink,wpdialogs,wptextpattern,wpview",toolbar1:"formatselect,bold,italic,bullist,numlist,alignleft,aligncenter,alignright,link,unlink,spellchecker,wp_add_media"})});var e=window.tinymce.get(r.current.id);return e.on("change",(function(){return a(e.getContent())})),function(){return wp.oldEditor.remove(r.current.id)}}),[]);var o="inspector-textarea-control-".concat(l),r=C(null);return wp.element.createElement(k,{id:o,label:v("Description")},wp.element.createElement("textarea",{id:o,className:"components-textarea-control__input",rows:4,value:n,onChange:function(e){return a(e.target.value)},ref:r}))},M=wp.i18n.__,B=wp.components,O=B.BaseControl,R=B.Button,A=B.ExternalLink,L=B.SelectControl,P=B.TextControl,N=wp.element.useRef,_=function(e){var t=e.marker,n=e.isOpen,a=e.isPlaceAPIAvailable,l=e.openMarker,o=e.removeMarker,i=e.changeMarkerProp,c=N(null);return wp.element.createElement("div",{className:"wp-block-themeisle-blocks-google-map-marker"},wp.element.createElement("div",{className:"wp-block-themeisle-blocks-google-map-marker-title-area"},wp.element.createElement(R,{className:"wp-block-themeisle-blocks-google-map-marker-title",onClick:function(){return l(t.id)}},t.title||M("Custom Marker")),wp.element.createElement(R,{icon:"no-alt",label:M("Remove Marker"),showTooltip:!0,className:"wp-block-themeisle-blocks-google-map-marker-remove",onClick:function(){return o(t.id)}})),wp.element.createElement("div",{className:r()("wp-block-themeisle-blocks-google-map-marker-control-area",{opened:t.id===n})},wp.element.createElement(O,{label:M("Location"),id:"themeisle-location-search-".concat(t.id)},wp.element.createElement("input",{type:"text",id:"themeisle-location-search-".concat(t.id),placeholder:M("Enter a location…"),value:t.location,className:"wp-block-themeisle-blocks-google-map-search",ref:c,onFocus:function(){var e=document.getElementsByClassName("pac-container");Object.keys(e).forEach((function(t){return e[t].remove()}));var n=new google.maps.places.SearchBox(c.current);n.addListener("places_changed",(function(){var e=n.getPlaces();e&&0<e.length&&e.forEach((function(e){var n=e.formatted_address||e.name,a=e.geometry.location.lat(),l=e.geometry.location.lng();i(t.id,"location",n),i(t.id,"latitude",a),i(t.id,"longitude",l)}))}))},onChange:function(e){return i(t.id,"location",e.target.value)},disabled:!a}),!a&&wp.element.createElement("p",null,M("To enable locations earch, please ensure Places API is activated in the Google Developers Console.")+" ",wp.element.createElement(A,{href:"https://developers.google.com/places/web-service/intro"},M("More info.")))),wp.element.createElement(P,{label:M("Latitude"),type:"text",value:t.latitude,onChange:function(e){return i(t.id,"latitude",e)}}),wp.element.createElement(P,{label:M("Longitude"),type:"text",value:t.longitude,onChange:function(e){return i(t.id,"longitude",e)}}),wp.element.createElement(L,{label:M("Map Icon"),value:t.icon||"https://maps.google.com/mapfiles/ms/icons/red-dot.png",options:[{label:M("Red"),value:"https://maps.google.com/mapfiles/ms/icons/red-dot.png"},{label:M("Blue"),value:"https://maps.google.com/mapfiles/ms/icons/blue-dot.png"},{label:M("Yellow"),value:"https://maps.google.com/mapfiles/ms/icons/yellow-dot.png"},{label:M("Green"),value:"https://maps.google.com/mapfiles/ms/icons/green-dot.png"},{label:M("Orange"),value:"https://maps.google.com/mapfiles/ms/icons/orange-dot.png"}],onChange:function(e){return i(t.id,"icon",e)}}),wp.element.createElement(P,{label:M("Title"),type:"text",value:t.title,onChange:function(e){return i(t.id,"title",e)}}),wp.element.createElement(S,{label:M("Description"),type:"text",value:t.description,onChange:function(e){return i(t.id,"description",e)}})))};function I(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return j(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return j(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function j(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var z=wp.i18n.__,H=wp.components.Button,D=wp.element,G=D.Fragment,V=D.useEffect,F=D.useState,W=function(e){var t=e.initialOpen,n=e.markers,a=e.isPlaceAPIAvailable,l=e.addMarker,o=e.removeMarker,r=e.changeMarkerProp;V((function(){!1!==t&&p(t)}),[t]);var i=I(F(null),2),c=i[0],p=i[1],d=function(e){c===e&&(e=null),p(e)};return wp.element.createElement(G,null,wp.element.createElement("div",{className:"wp-block-themeisle-blocks-google-map-marker-group"},n.map((function(e){return wp.element.createElement(_,{marker:e,isOpen:c,isPlaceAPIAvailable:a,openMarker:d,removeMarker:o,changeMarkerProp:r})}))),wp.element.createElement(H,{isSecondary:!0,isLarge:!0,className:"wp-block-themeisle-blocks-google-map-marker-add",onClick:l},z("Add Marker")))},U=wp.i18n.__,q=wp.components,Z=q.BaseControl,$=q.Button,Q=q.ExternalLink,K=q.PanelBody,J=q.RangeControl,Y=q.SelectControl,X=q.TextControl,ee=q.ToggleControl,te=wp.blockEditor.InspectorControls,ne=wp.element.useRef,ae=function(e){var t=e.attributes,n=e.setAttributes,a=e.map,l=e.changeStyle,o=e.isPlaceAPIAvailable,r=e.isMarkerOpen,i=e.setMarkerOpen,c=e.removeMarker,p=e.changeMarkerProp,d=e.addMarkerManual,m=e.api,s=e.isSaving,u=e.changeAPI,b=e.saveAPIKey,g=ne(null);return wp.element.createElement(te,null,wp.element.createElement(K,{title:U("Styles"),initialOpen:!1},wp.element.createElement(f.b,{value:t.style,options:[{label:U("Standard"),value:"standard",image:themeisleGutenberg.assetsPath+"/icons/map-standard.png"},{label:U("Silver"),value:"silver",image:themeisleGutenberg.assetsPath+"/icons/map-silver.png"},{label:U("Retro"),value:"retro",image:themeisleGutenberg.assetsPath+"/icons/map-retro.png"},{label:U("Dark"),value:"dark",image:themeisleGutenberg.assetsPath+"/icons/map-dark.png"},{label:U("Night"),value:"night",image:themeisleGutenberg.assetsPath+"/icons/map-night.png"},{label:U("Aubergine"),value:"aubergine",image:themeisleGutenberg.assetsPath+"/icons/map-aubergine.png"}],onChange:l})),wp.element.createElement(K,{title:U("Location")},wp.element.createElement(Z,{label:U("Location"),id:"wp-block-themeisle-blocks-google-map-search"},wp.element.createElement("input",{type:"text",id:"wp-block-themeisle-blocks-google-map-search",placeholder:U("Enter a location…"),value:t.location,className:"wp-block-themeisle-blocks-google-map-search",ref:g,onFocus:function(){var e=document.getElementsByClassName("pac-container");Object.keys(e).forEach((function(t){return e[t].remove()}));var t=new google.maps.places.SearchBox(g.current);t.addListener("places_changed",(function(){var e=t.getPlaces();e&&0<e.length&&e.forEach((function(e){var t=e.geometry.location.lat(),l=e.geometry.location.lng(),o=new google.maps.LatLng(t,l);a.setCenter(o),n({location:e.formatted_address||e.name,latitude:t.toString(),longitude:l.toString()})}))}))},onChange:function(e){n({location:e.target.value})},disabled:!o}),!o&&wp.element.createElement("p",null,U("To enable locations earch, please ensure Places API is activated in the Google Developers Console.")+" ",wp.element.createElement(Q,{href:"https://developers.google.com/places/web-service/intro"},U("More info.")))),wp.element.createElement(X,{label:U("Latitude"),type:"text",placeholder:U("Enter latitude…"),value:t.latitude,onChange:function(e){n({latitude:e.toString()});var l=Number(e),o=t.longitude,r=new google.maps.LatLng(l,o);a.setCenter(r)}}),wp.element.createElement(X,{label:U("Longitude"),type:"text",placeholder:U("Enter longitude"),value:t.longitude,onChange:function(e){n({longitude:e.toString()});var l=t.latitude,o=Number(e),r=new google.maps.LatLng(l,o);a.setCenter(r)}})),wp.element.createElement(K,{title:U("Positioning & Zooming"),initialOpen:!1},wp.element.createElement(Y,{label:U("Map Type"),value:t.type,options:[{label:U("Road Map"),value:"roadmap"},{label:U("Satellite View"),value:"satellite"},{label:U("Hybrid"),value:"hybrid"},{label:U("Terrain"),value:"terrain"}],onChange:function(e){n({type:e}),a.setMapTypeId(google.maps.MapTypeId[e.toUpperCase()])}}),wp.element.createElement(J,{label:U("Map Zoom Level"),value:t.zoom,onChange:function(e){n({zoom:e}),a.setZoom(e)},min:0,max:20}),wp.element.createElement(J,{label:U("Map Height"),value:t.height,onChange:function(e){n({height:e})},min:100,max:1400})),wp.element.createElement(K,{title:U("Controls"),initialOpen:!1},wp.element.createElement(Z,null,U("The following changes will not affect block preview during the editing process. You can click outside the block to see the changes take effect.")),wp.element.createElement(ee,{label:"Draggable Map",checked:t.draggable,onChange:function(){n({draggable:!t.draggable})}}),wp.element.createElement(ee,{label:"Map Type Control",checked:t.mapTypeControl,onChange:function(){n({mapTypeControl:!t.mapTypeControl})}}),wp.element.createElement(ee,{label:"Zoom Control",checked:t.zoomControl,onChange:function(){n({zoomControl:!t.zoomControl})}}),wp.element.createElement(ee,{label:"Full Screen Control",checked:t.fullscreenControl,onChange:function(){n({fullscreenControl:!t.fullscreenControl})}}),wp.element.createElement(ee,{label:"Streen View Control",checked:t.streetViewControl,onChange:function(){n({streetViewControl:!t.streetViewControl})}})),wp.element.createElement(K,{title:U("Markers"),initialOpen:!1,opened:!1!==r||void 0,onToggle:function(){!1!==r&&i(!0)}},wp.element.createElement(W,{markers:t.markers,removeMarker:c,changeMarkerProp:p,addMarker:d,isPlaceAPIAvailable:o,initialOpen:r})),wp.element.createElement(K,{title:U("Global Settings"),initialOpen:!1},wp.element.createElement(X,{label:U("Google Maps API Key"),type:"text",placeholder:U("Google Maps API Key"),value:m,className:"components-placeholder__input",onChange:u,help:U("Changing the API key effects all Google Map Embed blocks. You will have to refresh the page after changing your API keys.")}),wp.element.createElement($,{isLarge:!0,isSecondary:!0,type:"submit",onClick:b,isBusy:s},U("Save API Key"))))};function le(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return oe(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return oe(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function oe(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var re=wp.i18n.__,ie=wp.components,ce=ie.BaseControl,pe=ie.Button,de=ie.ButtonGroup,me=ie.Modal,se=ie.SelectControl,ue=ie.TextControl,be=wp.element,ge=be.useEffect,fe=be.useRef,ye=be.useState,he=be.Fragment,we=function(e){var t=e.marker,n=e.isAdvanced,a=e.isPlaceAPIAvailable,l=e.addMarker,o=e.close;ge((function(){p(t.id),s(t.location),g(t.title),h(t.icon),k(t.description),x(t.latitude),B(t.longitude)}),[t]);var r=fe(null),i=le(ye(t.id),2),c=i[0],p=i[1],d=le(ye(t.location),2),m=d[0],s=d[1],u=le(ye(t.title),2),b=u[0],g=u[1],f=le(ye(t.icon),2),y=f[0],h=f[1],w=le(ye(t.description),2),v=w[0],k=w[1],T=le(ye(t.latitude),2),E=T[0],x=T[1],C=le(ye(t.longitude),2),M=C[0],B=C[1];return wp.element.createElement(me,{title:re("Add Marker"),onRequestClose:o,shouldCloseOnClickOutside:!1},n&&wp.element.createElement(he,null,wp.element.createElement(ce,{label:re("Location"),id:"themeisle-location-search-".concat(t.id)},wp.element.createElement("input",{type:"text",id:"themeisle-location-search-".concat(c),placeholder:re("Enter a location…"),value:m,className:"wp-block-themeisle-blocks-google-map-search",ref:r,onFocus:function(){var e=document.getElementsByClassName("pac-container");Object.keys(e).forEach((function(t){return e[t].remove()}));var t=new google.maps.places.SearchBox(r.current);t.addListener("places_changed",(function(){var e=t.getPlaces();e&&0<e.length&&e.forEach((function(e){var t=e.formatted_address||e.name,n=e.geometry.location.lat(),a=e.geometry.location.lng();s(t),x(n),B(a)}))}))},onChange:function(e){return s(e.target.value)},disabled:!a})),wp.element.createElement(ue,{label:re("Latitude"),type:"text",value:E,onChange:x}),wp.element.createElement(ue,{label:re("Longitude"),type:"text",value:M,onChange:B})),wp.element.createElement(ue,{label:re("Title"),type:"text",value:b,onChange:g}),wp.element.createElement(S,{label:re("Description"),type:"text",value:v,onChange:k}),wp.element.createElement(se,{label:re("Map Icon"),value:y||"https://maps.google.com/mapfiles/ms/icons/red-dot.png",options:[{label:re("Red"),value:"https://maps.google.com/mapfiles/ms/icons/red-dot.png"},{label:re("Blue"),value:"https://maps.google.com/mapfiles/ms/icons/blue-dot.png"},{label:re("Yellow"),value:"https://maps.google.com/mapfiles/ms/icons/yellow-dot.png"},{label:re("Green"),value:"https://maps.google.com/mapfiles/ms/icons/green-dot.png"},{label:re("Orange"),value:"https://maps.google.com/mapfiles/ms/icons/orange-dot.png"}],onChange:h}),wp.element.createElement(de,null,wp.element.createElement(pe,{isLarge:!0,isPrimary:!0,onClick:function(){return l(m,b,y,v,E,M)}},re("Add")),wp.element.createElement(pe,{isLarge:!0,isSecondary:!0,onClick:o},re("Cancel"))))},ve=wp.i18n.__,ke=wp.components.Button,Te=wp.element,Ee=Te.Fragment,xe=Te.useEffect,Ce=function(e){var t=e.attributes,n=e.className,a=e.initMap,l=e.displayMap,o=e.isMapLoaded,i=e.selectMarker,c=e.isSelectingMarker;return xe((function(){l&&a()}),[l]),wp.element.createElement(Ee,null,wp.element.createElement("div",{id:t.id,className:r()(n,{"is-selecting-marker":c}),style:{height:t.height+"px"}}),o&&wp.element.createElement(ke,{className:"wp-block-themeisle-blocks-google-map-marker-button",title:ve("Add Button"),onClick:i},wp.element.createElement("span",{className:"dashicons dashicons-sticky"})))},Se={standard:[],silver:[{elementType:"geometry",stylers:[{color:"#f5f5f5"}]},{elementType:"labels.icon",stylers:[{visibility:"off"}]},{elementType:"labels.text.fill",stylers:[{color:"#616161"}]},{elementType:"labels.text.stroke",stylers:[{color:"#f5f5f5"}]},{featureType:"administrative.land_parcel",elementType:"labels.text.fill",stylers:[{color:"#bdbdbd"}]},{featureType:"poi",elementType:"geometry",stylers:[{color:"#eeeeee"}]},{featureType:"poi",elementType:"labels.text.fill",stylers:[{color:"#757575"}]},{featureType:"poi.park",elementType:"geometry",stylers:[{color:"#e5e5e5"}]},{featureType:"poi.park",elementType:"labels.text.fill",stylers:[{color:"#9e9e9e"}]},{featureType:"road",elementType:"geometry",stylers:[{color:"#ffffff"}]},{featureType:"road.arterial",elementType:"labels.text.fill",stylers:[{color:"#757575"}]},{featureType:"road.highway",elementType:"geometry",stylers:[{color:"#dadada"}]},{featureType:"road.highway",elementType:"labels.text.fill",stylers:[{color:"#616161"}]},{featureType:"road.local",elementType:"labels.text.fill",stylers:[{color:"#9e9e9e"}]},{featureType:"transit.line",elementType:"geometry",stylers:[{color:"#e5e5e5"}]},{featureType:"transit.station",elementType:"geometry",stylers:[{color:"#eeeeee"}]},{featureType:"water",elementType:"geometry",stylers:[{color:"#c9c9c9"}]},{featureType:"water",elementType:"labels.text.fill",stylers:[{color:"#9e9e9e"}]}],retro:[{elementType:"geometry",stylers:[{color:"#ebe3cd"}]},{elementType:"labels.text.fill",stylers:[{color:"#523735"}]},{elementType:"labels.text.stroke",stylers:[{color:"#f5f1e6"}]},{featureType:"administrative",elementType:"geometry.stroke",stylers:[{color:"#c9b2a6"}]},{featureType:"administrative.land_parcel",elementType:"geometry.stroke",stylers:[{color:"#dcd2be"}]},{featureType:"administrative.land_parcel",elementType:"labels.text.fill",stylers:[{color:"#ae9e90"}]},{featureType:"landscape.natural",elementType:"geometry",stylers:[{color:"#dfd2ae"}]},{featureType:"poi",elementType:"geometry",stylers:[{color:"#dfd2ae"}]},{featureType:"poi",elementType:"labels.text.fill",stylers:[{color:"#93817c"}]},{featureType:"poi.park",elementType:"geometry.fill",stylers:[{color:"#a5b076"}]},{featureType:"poi.park",elementType:"labels.text.fill",stylers:[{color:"#447530"}]},{featureType:"road",elementType:"geometry",stylers:[{color:"#f5f1e6"}]},{featureType:"road.arterial",elementType:"geometry",stylers:[{color:"#fdfcf8"}]},{featureType:"road.highway",elementType:"geometry",stylers:[{color:"#f8c967"}]},{featureType:"road.highway",elementType:"geometry.stroke",stylers:[{color:"#e9bc62"}]},{featureType:"road.highway.controlled_access",elementType:"geometry",stylers:[{color:"#e98d58"}]},{featureType:"road.highway.controlled_access",elementType:"geometry.stroke",stylers:[{color:"#db8555"}]},{featureType:"road.local",elementType:"labels.text.fill",stylers:[{color:"#806b63"}]},{featureType:"transit.line",elementType:"geometry",stylers:[{color:"#dfd2ae"}]},{featureType:"transit.line",elementType:"labels.text.fill",stylers:[{color:"#8f7d77"}]},{featureType:"transit.line",elementType:"labels.text.stroke",stylers:[{color:"#ebe3cd"}]},{featureType:"transit.station",elementType:"geometry",stylers:[{color:"#dfd2ae"}]},{featureType:"water",elementType:"geometry.fill",stylers:[{color:"#b9d3c2"}]},{featureType:"water",elementType:"labels.text.fill",stylers:[{color:"#92998d"}]}],dark:[{elementType:"geometry",stylers:[{color:"#212121"}]},{elementType:"labels.icon",stylers:[{visibility:"off"}]},{elementType:"labels.text.fill",stylers:[{color:"#757575"}]},{elementType:"labels.text.stroke",stylers:[{color:"#212121"}]},{featureType:"administrative",elementType:"geometry",stylers:[{color:"#757575"}]},{featureType:"administrative.country",elementType:"labels.text.fill",stylers:[{color:"#9e9e9e"}]},{featureType:"administrative.land_parcel",stylers:[{visibility:"off"}]},{featureType:"administrative.locality",elementType:"labels.text.fill",stylers:[{color:"#bdbdbd"}]},{featureType:"poi",elementType:"labels.text.fill",stylers:[{color:"#757575"}]},{featureType:"poi.park",elementType:"geometry",stylers:[{color:"#181818"}]},{featureType:"poi.park",elementType:"labels.text.fill",stylers:[{color:"#616161"}]},{featureType:"poi.park",elementType:"labels.text.stroke",stylers:[{color:"#1b1b1b"}]},{featureType:"road",elementType:"geometry.fill",stylers:[{color:"#2c2c2c"}]},{featureType:"road",elementType:"labels.text.fill",stylers:[{color:"#8a8a8a"}]},{featureType:"road.arterial",elementType:"geometry",stylers:[{color:"#373737"}]},{featureType:"road.highway",elementType:"geometry",stylers:[{color:"#3c3c3c"}]},{featureType:"road.highway.controlled_access",elementType:"geometry",stylers:[{color:"#4e4e4e"}]},{featureType:"road.local",elementType:"labels.text.fill",stylers:[{color:"#616161"}]},{featureType:"transit",elementType:"labels.text.fill",stylers:[{color:"#757575"}]},{featureType:"water",elementType:"geometry",stylers:[{color:"#000000"}]},{featureType:"water",elementType:"labels.text.fill",stylers:[{color:"#3d3d3d"}]}],night:[{elementType:"geometry",stylers:[{color:"#242f3e"}]},{elementType:"labels.text.fill",stylers:[{color:"#746855"}]},{elementType:"labels.text.stroke",stylers:[{color:"#242f3e"}]},{featureType:"administrative.locality",elementType:"labels.text.fill",stylers:[{color:"#d59563"}]},{featureType:"poi",elementType:"labels.text.fill",stylers:[{color:"#d59563"}]},{featureType:"poi.park",elementType:"geometry",stylers:[{color:"#263c3f"}]},{featureType:"poi.park",elementType:"labels.text.fill",stylers:[{color:"#6b9a76"}]},{featureType:"road",elementType:"geometry",stylers:[{color:"#38414e"}]},{featureType:"road",elementType:"geometry.stroke",stylers:[{color:"#212a37"}]},{featureType:"road",elementType:"labels.text.fill",stylers:[{color:"#9ca5b3"}]},{featureType:"road.highway",elementType:"geometry",stylers:[{color:"#746855"}]},{featureType:"road.highway",elementType:"geometry.stroke",stylers:[{color:"#1f2835"}]},{featureType:"road.highway",elementType:"labels.text.fill",stylers:[{color:"#f3d19c"}]},{featureType:"transit",elementType:"geometry",stylers:[{color:"#2f3948"}]},{featureType:"transit.station",elementType:"labels.text.fill",stylers:[{color:"#d59563"}]},{featureType:"water",elementType:"geometry",stylers:[{color:"#17263c"}]},{featureType:"water",elementType:"labels.text.fill",stylers:[{color:"#515c6d"}]},{featureType:"water",elementType:"labels.text.stroke",stylers:[{color:"#17263c"}]}],aubergine:[{elementType:"geometry",stylers:[{color:"#1d2c4d"}]},{elementType:"labels.text.fill",stylers:[{color:"#8ec3b9"}]},{elementType:"labels.text.stroke",stylers:[{color:"#1a3646"}]},{featureType:"administrative.country",elementType:"geometry.stroke",stylers:[{color:"#4b6878"}]},{featureType:"administrative.land_parcel",elementType:"labels.text.fill",stylers:[{color:"#64779e"}]},{featureType:"administrative.province",elementType:"geometry.stroke",stylers:[{color:"#4b6878"}]},{featureType:"landscape.man_made",elementType:"geometry.stroke",stylers:[{color:"#334e87"}]},{featureType:"landscape.natural",elementType:"geometry",stylers:[{color:"#023e58"}]},{featureType:"poi",elementType:"geometry",stylers:[{color:"#283d6a"}]},{featureType:"poi",elementType:"labels.text.fill",stylers:[{color:"#6f9ba5"}]},{featureType:"poi",elementType:"labels.text.stroke",stylers:[{color:"#1d2c4d"}]},{featureType:"poi.park",elementType:"geometry.fill",stylers:[{color:"#023e58"}]},{featureType:"poi.park",elementType:"labels.text.fill",stylers:[{color:"#3C7680"}]},{featureType:"road",elementType:"geometry",stylers:[{color:"#304a7d"}]},{featureType:"road",elementType:"labels.text.fill",stylers:[{color:"#98a5be"}]},{featureType:"road",elementType:"labels.text.stroke",stylers:[{color:"#1d2c4d"}]},{featureType:"road.highway",elementType:"geometry",stylers:[{color:"#2c6675"}]},{featureType:"road.highway",elementType:"geometry.stroke",stylers:[{color:"#255763"}]},{featureType:"road.highway",elementType:"labels.text.fill",stylers:[{color:"#b0d5ce"}]},{featureType:"road.highway",elementType:"labels.text.stroke",stylers:[{color:"#023e58"}]},{featureType:"transit",elementType:"labels.text.fill",stylers:[{color:"#98a5be"}]},{featureType:"transit",elementType:"labels.text.stroke",stylers:[{color:"#1d2c4d"}]},{featureType:"transit.line",elementType:"geometry.fill",stylers:[{color:"#283d6a"}]},{featureType:"transit.station",elementType:"geometry",stylers:[{color:"#3a4762"}]},{featureType:"water",elementType:"geometry",stylers:[{color:"#0e1626"}]},{featureType:"water",elementType:"labels.text.fill",stylers:[{color:"#4e6d70"}]}]};function Me(e,t,n,a,l,o,r){try{var i=e[o](r),c=i.value}catch(e){return void n(e)}i.done?t(c):Promise.resolve(c).then(a,l)}function Be(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||Re(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Oe(e){return function(e){if(Array.isArray(e))return Ae(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||Re(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Re(e,t){if(e){if("string"==typeof e)return Ae(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ae(e,t):void 0}}function Ae(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var Le=wp.i18n.__,Pe=wp.components.ResizableBox,Ne=wp.element,_e=Ne.Fragment,Ie=Ne.useEffect,je=Ne.useRef,ze=Ne.useState,He=[],De=function(e){var t=e.attributes,n=e.setAttributes,a=e.className,l=e.clientId,o=e.isSelected,c=e.toggleSelection;Ie((function(){X(),window.isMapLoaded=window.isMapLoaded||!1,window["removeMarker_".concat(l.substr(0,8))]=oe,m.current=document.createElement("script"),m.current.type="text/javascript",m.current.async=!0,m.current.defer=!0,m.current.id="themeisle-google-map-api-loading"}),[]),Ie((function(){!1!==x&&void 0!==window.google&&s.current.setOptions({mapTypeControl:!!o||t.mapTypeControl,zoomControl:!!o||t.zoomControl,fullscreenControl:!!o||t.fullscreenControl,streetViewControl:!!o||t.streetViewControl})}),[o]),Ie((function(){b.current=Oe(t.markers)}),[t.markers]);var p=je([]),d=je(null),m=je(null),s=je(null),u=je(null),b=je(Oe(t.markers)),y=Be(ze(""),2),h=y[0],w=y[1],v=Be(ze(!1),2),k=v[0],T=v[1],E=Be(ze(!1),2),x=E[0],C=E[1],S=Be(ze(!1),2),M=S[0],B=S[1],O=Be(ze(!1),2),R=O[0],A=O[1],L=Be(ze(!0),2),P=L[0],N=L[1],_=Be(ze(!1),2),I=_[0],j=_[1],z=Be(ze(!1),2),H=z[0],D=z[1],G=Be(ze(!1),2),V=G[0],F=G[1],W=Be(ze(!1),2),U=W[0],q=W[1],Z=Be(ze(!1),2),$=Z[0],Q=Z[1],K=Be(ze({}),2),J=K[0],Y=K[1],X=function(){var e,a=(e=regeneratorRuntime.mark((function e(){var a,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0!==t.id){e.next=7;break}return a="wp-block-themeisle-blocks-google-map-".concat(l.substr(0,8)),e.next=4,n({id:a});case 4:He.push(a),e.next=15;break;case 7:if(!He.includes(t.id)){e.next=14;break}return o="wp-block-themeisle-blocks-google-map-".concat(l.substr(0,8)),e.next=11,n({id:o});case 11:He.push(o),e.next=15;break;case 14:He.push(t.id);case 15:return e.next=17,wp.api.loadPromise.then((function(){d.current=new wp.api.models.Settings}));case 17:!1===Boolean(themeisleGutenberg.mapsAPI)?k||d.current.fetch().then((function(e){w(e.themeisle_google_map_block_api_key),T(!0),""!==e.themeisle_google_map_block_api_key&&(C(!0),ee(e.themeisle_google_map_block_api_key))})):k||(w(themeisleGutenberg.mapsAPI),T(!0),C(!0),ee(themeisleGutenberg.mapsAPI));case 18:case"end":return e.stop()}}),e)})),function(){var t=this,n=arguments;return new Promise((function(a,l){var o=e.apply(t,n);function r(e){Me(o,a,l,r,i,"next",e)}function i(e){Me(o,a,l,r,i,"throw",e)}r(void 0)}))});return function(){return a.apply(this,arguments)}}(),ee=function(e){window.isMapLoaded||(window.isMapLoaded=!0,m.current.onload=function(){document.getElementById("themeisle-google-map-api-loading").id="themeisle-google-map-api",j(!0)},m.current.src="https://maps.googleapis.com/maps/api/js?key=".concat(e,"&libraries=places&cache=").concat(Math.random()),document.head.appendChild(m.current)),document.getElementById("themeisle-google-map-api")&&j(!0)},te=function(e,t,n,a){var o='<div class="wp-block-themeisle-blocks-map-overview"><h6 class="wp-block-themeisle-blocks-map-overview-title">'.concat(n,'</h6><div class="wp-block-themeisle-blocks-map-overview-content">').concat(a?"<p>".concat(a,"</p>"):"",'<a class="wp-block-themeisle-blocks-map-overview-delete" onclick="removeMarker_').concat(l.substr(0,8),"( '").concat(t,"' )\">").concat(Le("Delete Marker"),"</a></div></div>"),r=new google.maps.InfoWindow({content:o});e.addListener("click",(function(){u.current=r,r.open(s.current,e)})),google.maps.event.addListener(r,"domready",(function(){D(t)})),google.maps.event.addListener(r,"closeclick",(function(){D(!1)}))},ne=function(e){e.forEach((function(e){var t=e.latitude,n=e.longitude,a=new google.maps.LatLng(t,n),l=new google.maps.Marker({position:a,map:s.current,title:e.title,draggable:!0,icon:e.icon||"https://maps.google.com/mapfiles/ms/icons/red-dot.png"});google.maps.event.addListener(l,"dragend",(function(t){var n=t.latLng.lat(),a=t.latLng.lng();le(e.id,"latitude",n),le(e.id,"longitude",a)})),p.current.push(l),google.maps.event.addListener(l,"click",(function(){u.current&&u.current.close()})),te(l,e.id,e.title,e.description)}))},le=function(e,t,a){var l=Oe(b.current);l.map((function(n){if(n.id===e)return n[t]=a.toString()})),re(),ne(l),n({markers:l})},oe=function(e){var t=Oe(b.current);t=t.filter((function(t){return t.id!==e})),n({markers:t}),re(),D(!1),0<t.length&&ne(t)},re=function(){for(var e=0;e<p.current.length;e++)p.current[e].setMap(null);p.current=[]},ie=function(){!1===Boolean(themeisleGutenberg.mapsAPI)&&(A(!0),new wp.api.models.Settings({themeisle_google_map_block_api_key:h}).save().then((function(e){var t=!1;""!==e.themeisle_google_map_block_api_key&&(t=!0),A(!1),C(t),""!==e.themeisle_google_map_block_api_key&&(window.isMapLoaded=!1,ee(e.themeisle_google_map_block_api_key))})))},ce=function(e){n({style:e}),s.current.setOptions({styles:Se[e]})};return k&&x?wp.element.createElement(_e,null,wp.element.createElement(f.a,{label:Le("Block Styles"),value:t.style,options:[{label:Le("Standard"),value:"standard",image:themeisleGutenberg.assetsPath+"/icons/map-standard.png"},{label:Le("Silver"),value:"silver",image:themeisleGutenberg.assetsPath+"/icons/map-silver.png"},{label:Le("Retro"),value:"retro",image:themeisleGutenberg.assetsPath+"/icons/map-retro.png"},{label:Le("Dark"),value:"dark",image:themeisleGutenberg.assetsPath+"/icons/map-dark.png"},{label:Le("Night"),value:"night",image:themeisleGutenberg.assetsPath+"/icons/map-night.png"},{label:Le("Aubergine"),value:"aubergine",image:themeisleGutenberg.assetsPath+"/icons/map-aubergine.png"}],onChange:ce}),wp.element.createElement(ae,{attributes:t,setAttributes:n,map:s.current,changeStyle:ce,isPlaceAPIAvailable:P,isMarkerOpen:H,setMarkerOpen:D,removeMarker:oe,changeMarkerProp:le,addMarkerManual:function(){var e=Object(i.a)(),t=Le("Custom Marker"),n=s.current.getCenter(),a=n.lat(),l=n.lng();q(!0),Q(!0),Y({id:e,location:"",title:t,icon:"https://maps.google.com/mapfiles/ms/icons/red-dot.png",description:"",latitude:a,longitude:l})},api:h,isSaving:R,changeAPI:w,saveAPIKey:ie}),U&&wp.element.createElement(we,{marker:J,isAdvanced:$,isPlaceAPIAvailable:P,close:function(){return q(!1)},addMarker:function(e,a,l,o,r,c){var d=new google.maps.LatLng(r,c),m=Object(i.a)(),b=new google.maps.Marker({position:d,map:s.current,title:a,draggable:!0,icon:l});google.maps.event.addListener(b,"dragend",(function(e){var t=e.latLng.lat(),n=e.latLng.lng();le(m,"latitude",t),le(m,"longitude",n)})),p.current.push(b);var g=Oe(t.markers),f={id:m,location:e,title:a,icon:l,description:o,latitude:r,longitude:c};g.push(f),n({markers:g}),google.maps.event.addListener(b,"click",(function(){u.current&&u.current.close()})),te(b,f.id,a,o),q(!1),F(!1)}}),wp.element.createElement(Pe,{size:{height:t.height},enable:{top:!1,right:!1,bottom:!0,left:!1},minHeight:100,maxHeight:1400,onResizeStart:function(){c(!1)},onResizeStop:function(e,a,l,o){n({height:parseInt(t.height+o.height,10)}),c(!0)},className:r()("wp-block-themeisle-blocks-google-map-resizer",{"is-focused":o})},wp.element.createElement(Ce,{attributes:t,className:a,initMap:function(){if(s.current=new google.maps.Map(document.getElementById(t.id),{center:{lat:Number(t.latitude)||41.4036299,lng:Number(t.longitude)||2.1743558000000576},gestureHandling:"cooperative",zoom:t.zoom,mapTypeId:t.type,styles:Se[t.style]}),t.location&&void 0===t.latitude&&void 0===t.longitude){var e={query:t.location,fields:["name","geometry"]};new google.maps.places.PlacesService(s.current).findPlaceFromQuery(e,(function(e,t){t===google.maps.places.PlacesServiceStatus.OK&&0<e.length&&s.current.setCenter(e[0].geometry.location)}))}google.maps.event.addListenerOnce(s.current,"idle",(function(){B(!0)})),s.current.addListener("zoom_changed",(function(){var e=s.current.getZoom();n({zoom:e})})),s.current.addListener("maptypeid_changed",(function(){var e=s.current.getMapTypeId();n({type:e})})),s.current.addListener("bounds_changed",(function(){var e=s.current.getCenter(),t=e.lat(),a=e.lng();n({latitude:t.toString(),longitude:a.toString()})})),0<t.markers.length&&ne(t.markers);var a={query:t.location,fields:["name","geometry"]};new google.maps.places.PlacesService(s.current).findPlaceFromQuery(a,(function(e,t){"REQUEST_DENIED"===t&&N(!1)}))},displayMap:I,isMapLoaded:M,selectMarker:function(){F(!V),V?google.maps.event.clearListeners(s.current,"click"):s.current.addListener("click",(function(e){google.maps.event.clearListeners(s.current,"click");var t=Object(i.a)(),n=Le("Custom Marker"),a=e.latLng.lat(),l=e.latLng.lng();q(!0),Q(!1),Y({id:t,location:"",title:n,icon:"https://maps.google.com/mapfiles/ms/icons/red-dot.png",description:"",latitude:a,longitude:l})}))},isSelectingMarker:V}))):wp.element.createElement(g,{className:a,api:h,isAPILoaded:k,isAPISaved:x,changeAPI:w,saveAPIKey:ie})},Ge=wp.i18n.__;(0,wp.blocks.registerBlockType)("themeisle-blocks/google-map",{title:Ge("Google Maps"),description:Ge("Display Google Maps on your website with Google Map block."),icon:a.j,category:"themeisle-blocks",keywords:["map","google","orbitfox"],attributes:l,supports:{align:["wide","full"],html:!1},edit:De,save:function(){return null}})},function(e,t,n){"use strict";n.r(t);n(95),n(96);var a={id:{type:"string"},images:{type:"array",default:[],source:"query",selector:".wp-block-themeisle-blocks-slider-item-wrapper",query:{id:{type:"number",source:"attribute",selector:"img",attribute:"data-id"},url:{type:"string",source:"attribute",selector:"img",attribute:"src"},alt:{type:"string",source:"attribute",selector:"img",attribute:"alt",default:""},caption:{type:"string",source:"html",selector:"figcaption",default:""}}},perView:{type:"number",default:1},gap:{type:"number",default:0},peek:{type:"number",default:0},autoplay:{type:"boolean",default:!0},delay:{type:"number",default:2},hideArrows:{type:"boolean",default:!1},hideBullets:{type:"boolean",default:!1},height:{type:"number",default:400}},l=n(0),o=n.n(l),r=(n(1),wp.components),i=r.Path,c=r.SVG,p=wp.element.Fragment,d=function(e){var t=e.attributes;return wp.element.createElement(p,null,!t.hideArrows&&wp.element.createElement("div",{className:"glide__arrows","data-glide-el":"controls"},wp.element.createElement("button",{className:"glide__arrow glide__arrow--left","data-glide-dir":"<"},wp.element.createElement(c,{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 100 100"},wp.element.createElement(i,{d:"M 10,50 L 60,100 L 70,90 L 30,50 L 70,10 L 60,0 Z"}))),wp.element.createElement("button",{className:"glide__arrow glide__arrow--right","data-glide-dir":">"},wp.element.createElement(c,{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 100 100"},wp.element.createElement(i,{d:"M 10,50 L 60,100 L 70,90 L 30,50 L 70,10 L 60,0 Z"})))))},m=function(e){var t=e.attributes;return wp.element.createElement(p,null,!t.hideBullets&&wp.element.createElement("div",{className:"glide__bullets","data-glide-el":"controls[nav]"},t.images.map((function(e,t){return wp.element.createElement("button",{className:"glide__bullet","data-glide-dir":"=".concat(t)})}))))},s=function(e){var t=e.attributes;return wp.element.createElement(p,null,wp.element.createElement(d,{attributes:t}),wp.element.createElement(m,{attributes:t}))};function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function b(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){g(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function g(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var f=lodash.omit,y=wp.blockEditor.RichText,h={id:{type:"string"},align:{type:"string"},images:{type:"array",default:[],source:"query",selector:".wp-block-themeisle-blocks-slider-item-wrapper",query:{id:{type:"number",source:"attribute",selector:"img",attribute:"data-id"},url:{type:"string",source:"attribute",selector:"img",attribute:"src"},alt:{type:"string",source:"attribute",selector:"img",attribute:"alt",default:""},caption:{type:"string",source:"html",selector:"figcaption",default:""}}},perView:{type:"number",default:1},gap:{type:"number",default:0},peek:{type:"number",default:0},autoplay:{type:"boolean",default:!0},height:{type:"number",default:400}},w=[{attributes:b({},f(h,["align"])),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,n=e.className;return wp.element.createElement("div",{id:t.id,className:o()("wp-block-themeisle-blocks-slider","glide",n),"data-per-view":t.perView,"data-gap":t.gap,"data-peek":t.peek,"data-autoplay":t.autoplay},wp.element.createElement("div",{className:"glide__track","data-glide-el":"track"},wp.element.createElement("div",{className:"glide__slides",style:{height:"".concat(t.height,"px")}},t.images.map((function(e){return wp.element.createElement("div",{className:"wp-block-themeisle-blocks-slider-item-wrapper glide__slide",tabIndex:"0"},wp.element.createElement("figure",null,wp.element.createElement("img",{key:e.id,className:"wp-block-themeisle-blocks-slider-item",src:e.url,alt:e.alt,title:e.alt,"data-id":e.id}),!y.isEmpty(e.caption)&&wp.element.createElement(y.Content,{tagName:"figcaption",value:e.caption})))}))),wp.element.createElement(s,{attributes:t})))}},{attributes:b(b({},f(h,["align"])),{},{delay:{type:"number",default:2},hideArrows:{type:"boolean",default:!1},hideBullets:{type:"boolean",default:!1}}),supports:{align:["wide","full"]},save:function(e){var t=e.attributes,n=e.className,a=t.autoplay&&2!==t.delay?1e3*t.delay:t.autoplay;return wp.element.createElement("div",{id:t.id,className:o()("wp-block-themeisle-blocks-slider","glide",n),"data-per-view":t.perView,"data-gap":t.gap,"data-peek":t.peek,"data-autoplay":a,"data-height":"".concat(t.height,"px")},wp.element.createElement("div",{className:"glide__track","data-glide-el":"track"},wp.element.createElement("div",{className:"glide__slides"},t.images.map((function(e){return wp.element.createElement("div",{className:"wp-block-themeisle-blocks-slider-item-wrapper glide__slide",tabIndex:"0"},wp.element.createElement("figure",null,wp.element.createElement("img",{key:e.id,className:"wp-block-themeisle-blocks-slider-item",src:e.url,alt:e.alt,title:e.alt,"data-id":e.id}),!y.isEmpty(e.caption)&&wp.element.createElement(y.Content,{tagName:"figcaption",value:e.caption})))}))),wp.element.createElement(s,{attributes:t})))}}],v=lodash,k=v.filter,T=v.every,E=wp.blocks.createBlock,x={from:[{type:"block",isMultiBlock:!0,blocks:["core/image"],transform:function(e){var t=e[0].align;t=T(e,["align",t])?t:void 0;var n=k(e,(function(e){return e.url}));return E("themeisle-blocks/slider",{images:n.map((function(e){return{id:e.id,url:e.url,alt:e.alt,caption:e.caption}})),align:t})}},{type:"block",blocks:["core/gallery"],transform:function(e){var t=e.images,n=e.align;return E("themeisle-blocks/slider",{images:t.map((function(e){return{id:e.id,url:e.url,alt:e.alt,caption:e.caption}})),align:n})}}],to:[{type:"block",blocks:["core/image"],transform:function(e){var t=e.images,n=e.align;return 0<t.length?t.map((function(e){var t=e.id,a=e.url,l=e.alt,o=e.caption;return E("core/image",{id:t,url:a,alt:l,caption:o,align:n})})):E("core/image",{align:n})}},{type:"block",blocks:["core/gallery"],transform:function(e){var t=e.images,n=e.align;return E("core/gallery",{images:t.map((function(e){return{id:e.id,url:e.url,alt:e.alt,caption:e.caption}})),align:n})}}]},C=lodash.debounce,S=wp.blockEditor.MediaPlaceholder,M=function(e){var t=e.labels,n=e.icon,a=e.isAppender,l=void 0!==a&&a,o=e.value,r=void 0===o?{}:o,i=e.onSelectImages,c=C(i,250);return wp.element.createElement(S,{labels:t,icon:n,accept:"image/*",allowedTypes:["image"],isAppender:l,className:"wp-block-themeisle-blocks-slider-uploader",value:r,onSelect:c,multiple:!0})},B=n(28),O=wp.i18n.__,R=lodash.max,A=wp.blockEditor.InspectorControls,L=wp.components,P=L.PanelBody,N=L.RangeControl,_=L.ToggleControl,I=wp.element.Fragment,j=function(e){var t=e.attributes,n=e.setAttributes,a=e.slider,l=e.changePerView,o=e.onSelectImages;return wp.element.createElement(A,null,wp.element.createElement(P,{title:O("Images"),initialOpen:!1},wp.element.createElement(B.a,{attributes:t,onSelectImages:o})),wp.element.createElement(P,{title:O("Settings")},t.images.length&&wp.element.createElement(I,null,wp.element.createElement(N,{label:O("Slides Per Page"),help:O("A number of visible slides."),value:t.perView,onChange:l,min:1,max:R([Math.round(t.images.length/2),1])}),1<t.perView&&wp.element.createElement(I,null,wp.element.createElement(N,{label:O("Gap"),help:O("A size of the space between slides."),value:t.gap,onChange:function(e){n({gap:Number(e)}),a.update({gap:Number(e)})},min:0,max:100}),wp.element.createElement(N,{label:O("Peek"),help:O("The value of the future slides which have to be visible in the current slide."),value:t.peek,onChange:function(e){n({peek:Number(e)}),a.update({peek:Number(e)})},min:0,max:100})),wp.element.createElement(N,{label:O("Height"),help:O("Slider height in pixels."),value:t.height,onChange:function(e){n({height:Number(e)})},min:100,max:1400}),wp.element.createElement(_,{label:O("Autoplay"),help:O("Autoplay slider in the front."),checked:t.autoplay,onChange:function(e){n({autoplay:e})}}),t.autoplay&&wp.element.createElement(N,{label:O("Delay"),help:O("Delay in slide change (in seconds)."),value:t.delay,onChange:function(e){n({delay:e})},min:1,max:10}),wp.element.createElement(_,{label:O("Hide Arrows"),help:O("Hide navigation arrows."),checked:t.hideArrows,onChange:function(e){n({hideArrows:e})}}),wp.element.createElement(_,{label:O("Hide Bullets"),help:O("Hide navigation bullets."),checked:t.hideBullets,onChange:function(e){n({hideBullets:e})}}))))},z=n(114),H=n(118),D=n(119),G=n(120);function V(e){return function(e){if(Array.isArray(e))return F(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return F(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return F(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function F(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var W=wp.i18n.__,U=lodash.filter,q=wp.blockEditor.RichText,Z=wp.components.Button,$=wp.element.Fragment,Q=function(e){var t=e.images,n=e.image,a=e.index,l=e.isFirstItem,r=e.isLastItem,i=e.isSelected,c=e.setAttributes,p=e.setSelectedImage,d=function(e,n){var a=V(t);a.splice(n,1,t[e]),a.splice(e,1,t[n]),p(n),c({images:a})};return wp.element.createElement("div",{className:o()("wp-block-themeisle-blocks-slider-item-wrapper glide__slide",{"is-selected":i}),tabIndex:"0",onClick:function(){return p(n.id)},onFocus:function(){return p(n.id)}},wp.element.createElement("figure",null,wp.element.createElement("img",{key:n.id,className:"wp-block-themeisle-blocks-slider-item",src:n.url,alt:n.alt,title:n.alt,"data-id":n.id}),i&&wp.element.createElement($,null,wp.element.createElement("div",{className:"wp-block-themeisle-blocks-slider-item-move-menu"},wp.element.createElement(Z,{icon:wp.element.createElement(z.a,{icon:H.a}),label:W("Move image backward"),showTooltip:!0,onClick:l?void 0:function(){0!==a&&d(a,a-1)},className:"wp-block-themeisle-blocks-slider-item-move-backward","aria-disabled":l,disabled:!i}),wp.element.createElement(Z,{icon:wp.element.createElement(z.a,{icon:D.a}),label:W("Move image forward"),showTooltip:!0,onClick:r?void 0:function(){a!==t.length-1&&d(a,a+1)},className:"wp-block-themeisle-blocks-slider-item-move-forward","aria-disabled":r,disabled:!i})),wp.element.createElement("div",{className:"wp-block-themeisle-blocks-slider-item-delete-menu"},wp.element.createElement(Z,{icon:wp.element.createElement(z.a,{icon:G.a}),label:W("Remove image"),showTooltip:!0,onClick:function(){var e=U(t,(function(e,t){return a!==t}));p(null),c({images:e})},className:"wp-block-themeisle-blocks-slider-item-delete"}))),(i||!q.isEmpty(n.caption))&&wp.element.createElement(q,{tagName:"figcaption",placeholder:i?W("Write caption…"):null,value:n.caption,onChange:function(e){var n=V(t);n[a].caption=e,c({images:n})},multiline:!1})))};function K(e){return function(e){if(Array.isArray(e))return ee(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||X(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function J(e,t,n,a,l,o,r){try{var i=e[o](r),c=i.value}catch(e){return void n(e)}i.done?t(c):Promise.resolve(c).then(a,l)}function Y(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||X(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function X(e,t){if(e){if("string"==typeof e)return ee(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ee(e,t):void 0}}function ee(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var te=wp.i18n.__,ne=lodash.max,ae=wp.components.ResizableBox,le=wp.element,oe=le.Fragment,re=le.useEffect,ie=le.useRef,ce=le.useState,pe=[],de=function(e){var t=e.attributes,n=e.setAttributes,a=e.className,l=e.clientId,r=e.isSelected,i=e.toggleSelection;re((function(){return b(),function(){t.images.length&&c.current.destroy()}}),[]),re((function(){t.images.length&&(u(null),null!==c.current&&(c.current.destroy(),g()))}),[r,t.align]),re((function(){t.images.length&&t.perView>t.images.length&&y(ne([Math.round(t.images.length/2),1]))}),[t.images]);var c=ie(null),p=ie(null),d=Y(ce(null),2),m=d[0],u=d[1],b=function(){var e,a=(e=regeneratorRuntime.mark((function e(){var a,o,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(a=window.themeisleGutenberg.blockIDs?window.themeisleGutenberg.blockIDs:[],void 0!==t.id){e.next=10;break}return o="wp-block-themeisle-blocks-slider-".concat(l.substr(0,8)),e.next=5,n({id:o});case 5:pe.push(o),p.current=o,a.push(o),e.next=21;break;case 10:if(!pe.includes(t.id)){e.next=18;break}return r="wp-block-themeisle-blocks-slider-".concat(l.substr(0,8)),e.next=14,n({id:r});case 14:pe.push(r),p.current=r,e.next=21;break;case 18:pe.push(t.id),p.current=t.id,a.push(t.id);case 21:window.themeisleGutenberg.blockIDs=K(a),t.images.length&&g();case 23:case"end":return e.stop()}}),e)})),function(){var t=this,n=arguments;return new Promise((function(a,l){var o=e.apply(t,n);function r(e){J(o,a,l,r,i,"next",e)}function i(e){J(o,a,l,r,i,"throw",e)}r(void 0)}))});return function(){return a.apply(this,arguments)}}(),g=function(){c.current=new Glide("#".concat(t.id||p.current),{type:"carousel",keyboard:!1,perView:t.perView,gap:t.gap,peek:t.peek,autoplay:!1,breakpoints:{800:{perView:1,peek:0,gap:0}}}).mount()},f=function(e){n({images:e.map((function(e){return{id:e.id,url:e.url,alt:e.alt,caption:e.caption}}))}),null!==c.current&&c.current.destroy(),g()},y=function(e){n({perView:Number(e)}),c.current.update({perView:Number(e)}),1===e&&(n({gap:0,peek:0}),c.current.update({gap:0,peek:0}))};return Array.isArray(t.images)&&!t.images.length?wp.element.createElement(M,{labels:{title:te("Slider"),instructions:te("Drag images, upload new ones or select files from your library.")},icon:"images-alt2",onSelectImages:f}):wp.element.createElement(oe,null,wp.element.createElement(j,{attributes:t,setAttributes:n,slider:c.current,changePerView:y,onSelectImages:f}),wp.element.createElement(ae,{size:{height:t.height},enable:{top:!1,right:!1,bottom:!0,left:!1},minHeight:100,maxHeight:1400,onResizeStart:function(){i(!1)},onResizeStop:function(e,a,l,o){n({height:parseInt(t.height+o.height,10)}),i(!0)},className:o()("wp-block-themeisle-blocks-slider-resizer",{"is-focused":r})},wp.element.createElement("div",{id:t.id,className:o()("wp-block-themeisle-blocks-slider","glide",a)},wp.element.createElement("div",{className:"glide__track","data-glide-el":"track"},wp.element.createElement("div",{className:"glide__slides",style:{height:"".concat(t.height,"px")}},t.images.map((function(e,a){return wp.element.createElement(Q,{images:t.images,image:e,index:a,isFirstItem:0===a,isLastItem:a+1===t.images.length,isSelected:r&&e.id===m,setAttributes:n,setSelectedImage:u})}))),wp.element.createElement(s,{attributes:t})))),r&&wp.element.createElement(M,{labels:{title:"",instructions:""},icon:null,onSelectImages:f,isAppender:!0,value:t.images}))},me=wp.blockEditor.RichText,se=function(e){var t=e.attributes,n=e.className,a=t.autoplay&&2!==t.delay?1e3*t.delay:t.autoplay;return wp.element.createElement("div",{id:t.id,className:o()("wp-block-themeisle-blocks-slider","glide",n),"data-per-view":t.perView,"data-gap":t.gap,"data-peek":t.peek,"data-autoplay":a,"data-height":"".concat(t.height,"px"),"data-hide-arrows":t.hideArrows},wp.element.createElement("div",{className:"glide__track","data-glide-el":"track"},wp.element.createElement("div",{className:"glide__slides"},t.images.map((function(e){return wp.element.createElement("div",{className:"wp-block-themeisle-blocks-slider-item-wrapper glide__slide",tabIndex:"0"},wp.element.createElement("figure",null,wp.element.createElement("img",{key:e.id,className:"wp-block-themeisle-blocks-slider-item",src:e.url,alt:e.alt,title:e.alt,"data-id":e.id}),!me.isEmpty(e.caption)&&wp.element.createElement(me.Content,{tagName:"figcaption",value:e.caption})))}))),wp.element.createElement(m,{attributes:t})))},ue=wp.i18n.__;(0,wp.blocks.registerBlockType)("themeisle-blocks/slider",{title:ue("Slider"),description:ue("Minimal image slider to showcase beautiful images."),icon:"images-alt2",category:"themeisle-blocks",keywords:["slider","gallery","carousel"],attributes:a,deprecated:w,transforms:x,supports:{align:["wide","full"]},edit:de,save:se})},function(e,t,n){"use strict";n.r(t);n(60),n(61),n(1);var a=wp.i18n.__,l=wp.richText,o=l.registerFormatType,r=l.toggleFormat,i=wp.blockEditor,c=i.RichTextShortcut,p=i.RichTextToolbarButton,d=wp.element.Fragment;o("themeisle-blocks/mark",{name:"themeisle-blocks/mark",title:a("Highlight"),tagName:"mark",className:null,edit:function(e){var t=e.isActive,n=e.value,l=e.onChange,o=function(){return l(r(n,{type:"themeisle-blocks/mark"}))};return wp.element.createElement(d,null,wp.element.createElement(c,{type:"primary",character:"m",onUse:o}),wp.element.createElement(p,{icon:"admin-customizer",title:a("Highlight"),onClick:o,isActive:t,shortcutType:"access",shortcutCharacter:"m"}))}});var m=n(3),s={id:{type:"string"},content:{type:"string",source:"html",selector:"h1,h2,h3,h4,h5,h6,div,p,span",default:""},tag:{default:"h2",type:"string"},align:{type:"string"},alignTablet:{type:"string"},alignMobile:{type:"string"},headingColor:{type:"string",default:"#000000"},highlightColor:{type:"string"},highlightBackground:{type:"string"},fontSize:{type:"number"},fontSizeTablet:{type:"number"},fontSizeMobile:{type:"number"},fontFamily:{type:"string"},fontVariant:{type:"string"},fontStyle:{type:"string",default:"normal"},textTransform:{type:"string",default:"none"},lineHeight:{type:"number"},letterSpacing:{type:"number"},textShadow:{type:"boolean",default:!1},textShadowColor:{type:"string",default:"#000000"},textShadowColorOpacity:{type:"number",default:50},textShadowBlur:{type:"number",default:5},textShadowHorizontal:{type:"number",default:0},textShadowVertical:{type:"number",default:0},paddingType:{type:"string",default:"linked"},paddingTypeTablet:{type:"string",default:"linked"},paddingTypeMobile:{type:"string",default:"linked"},padding:{type:"number",default:0},paddingTablet:{type:"number"},paddingMobile:{type:"number"},paddingTop:{type:"number",default:0},paddingTopTablet:{type:"number"},paddingTopMobile:{type:"number"},paddingRight:{type:"number",default:0},paddingRightTablet:{type:"number"},paddingRightMobile:{type:"number"},paddingBottom:{type:"number",default:0},paddingBottomTablet:{type:"number"},paddingBottomMobile:{type:"number"},paddingLeft:{type:"number",default:0},paddingLeftTablet:{type:"number"},paddingLeftMobile:{type:"number"},marginType:{type:"string",default:"unlinked"},marginTypeTablet:{type:"string",default:"unlinked"},marginTypeMobile:{type:"string",default:"unlinked"},margin:{type:"number",default:0},marginTablet:{type:"number"},marginMobile:{type:"number"},marginTop:{type:"number",default:0},marginTopTablet:{type:"number"},marginTopMobile:{type:"number"},marginBottom:{type:"number",default:25},marginBottomTablet:{type:"number"},marginBottomMobile:{type:"number"}},u=n(0),b=n.n(u),g=n(9),f=n.n(g);function y(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function h(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var w=wp.blockEditor.RichText,v=[{attributes:{id:{type:"string"},content:{type:"string",source:"html",selector:"h1,h2,h3,h4,h5,h6,div,p,span",default:""},tag:{default:"h2",type:"string"},align:{type:"string"},alignTablet:{type:"string"},alignMobile:{type:"string"},headingColor:{type:"string",default:"#000000"},highlightColor:{type:"string"},highlightBackground:{type:"string"},fontSize:{type:"number"},fontSizeTablet:{type:"number"},fontSizeMobile:{type:"number"},fontFamily:{type:"string"},fontVariant:{type:"string"},fontStyle:{type:"string",default:"normal"},textTransform:{type:"string",default:"none"},lineHeight:{type:"number"},letterSpacing:{type:"number"},textShadow:{type:"boolean",default:!1},textShadowColor:{type:"string",default:"#000000"},textShadowColorOpacity:{type:"number",default:50},textShadowBlur:{type:"number",default:5},textShadowHorizontal:{type:"number",default:0},textShadowVertical:{type:"number",default:0},paddingType:{type:"string",default:"linked"},paddingTypeTablet:{type:"string",default:"linked"},paddingTypeMobile:{type:"string",default:"linked"},padding:{type:"number",default:0},paddingTablet:{type:"number",default:0},paddingMobile:{type:"number",default:0},paddingTop:{type:"number",default:0},paddingTopTablet:{type:"number",default:0},paddingTopMobile:{type:"number",default:0},paddingRight:{type:"number",default:0},paddingRightTablet:{type:"number",default:0},paddingRightMobile:{type:"number",default:0},paddingBottom:{type:"number",default:0},paddingBottomTablet:{type:"number",default:0},paddingBottomMobile:{type:"number",default:0},paddingLeft:{type:"number",default:0},paddingLeftTablet:{type:"number",default:0},paddingLeftMobile:{type:"number",default:0},marginType:{type:"string",default:"unlinked"},marginTypeTablet:{type:"string",default:"unlinked"},marginTypeMobile:{type:"string",default:"unlinked"},margin:{type:"number",default:0},marginTablet:{type:"number",default:0},marginMobile:{type:"number",default:0},marginTop:{type:"number",default:0},marginTopTablet:{type:"number",default:0},marginTopMobile:{type:"number",default:0},marginBottom:{type:"number",default:25},marginBottomTablet:{type:"number",default:25},marginBottomMobile:{type:"number",default:20}},save:function(e){var t,n=e.attributes,a=e.className;n.textShadow&&(t={textShadow:"".concat(n.textShadowHorizontal,"px ").concat(n.textShadowVertical,"px ").concat(n.textShadowBlur,"px ").concat(f()(n.textShadowColor?n.textShadowColor:"#000000",n.textShadowColorOpacity))});var l=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?y(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):y(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({color:n.headingColor,fontFamily:n.fontFamily,fontWeight:"regular"===n.fontVariant?"normal":n.fontVariant,fontStyle:n.fontStyle,textTransform:n.textTransform,lineHeight:n.lineHeight&&"".concat(n.lineHeight,"px"),letterSpacing:n.letterSpacing&&"".concat(n.letterSpacing,"px")},t);return wp.element.createElement(w.Content,{tagName:n.tag,value:n.content,id:n.id,className:b()(n.id,a),style:l})}}],k=wp.blocks.createBlock,T={from:[{type:"block",blocks:["core/heading"],transform:function(e){var t=e.content;return k("themeisle-blocks/advanced-heading",{content:t})}},{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.content;return k("themeisle-blocks/advanced-heading",{content:t})}}],to:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.content;return k("core/paragraph",{content:t})}}]},E=n(24),x=n.n(E),C=n(8),S=n(12),M=wp.i18n.__,B=wp.components,O=B.Button,R=B.Dropdown,A=B.DropdownMenu,L=B.RangeControl,P=B.SVG,N=B.Toolbar,_=wp.blockEditor.BlockControls,I=wp.element.Fragment,j=function(e){var t=e.attributes,n=e.setAttributes,a=e.changeFontFamily,l=e.changeFontVariant,o=e.changeFontStyle,r=e.changeTextTransform,i=e.changeLineHeight,c=e.changeLetterSpacing,p=function(e){return"h1"===e?wp.element.createElement(P,{style:{width:"25px",height:"20px"}},wp.element.createElement("text",{style:{fontSize:"12px"},x:"0",y:"15"},"H1")):"h2"===e?wp.element.createElement(P,{style:{width:"25px",height:"20px"}},wp.element.createElement("text",{style:{fontSize:"12px"},x:"0",y:"15"},"H2")):"h3"===e?wp.element.createElement(P,{style:{width:"25px",height:"20px"}},wp.element.createElement("text",{style:{fontSize:"12px"},x:"0",y:"15"},"H3")):"h4"===e?wp.element.createElement(P,{style:{width:"25px",height:"20px"}},wp.element.createElement("text",{style:{fontSize:"12px"},x:"0",y:"15"},"H4")):"h5"===e?wp.element.createElement(P,{style:{width:"25px",height:"20px"}},wp.element.createElement("text",{style:{fontSize:"12px"},x:"0",y:"15"},"H5")):"h6"===e?wp.element.createElement(P,{style:{width:"25px",height:"20px"}},wp.element.createElement("text",{style:{fontSize:"12px"},x:"0",y:"15"},"H6")):"div"===e?wp.element.createElement(P,{style:{width:"25px",height:"20px"}},wp.element.createElement("text",{style:{fontSize:"12px"},x:"0",y:"15"},"DIV")):"p"===e?wp.element.createElement(P,{style:{width:"25px",height:"20px"}},wp.element.createElement("text",{x:"0",y:"15"},"P")):"span"===e?wp.element.createElement(P,{style:{width:"25px",height:"20px"}},wp.element.createElement("text",{style:{fontSize:"12px"},x:"0",y:"15"},"SPAN")):void 0},d=function(e){n({tag:e})};return wp.element.createElement(_,null,wp.element.createElement(A,{icon:p(t.tag),label:M("Select tag"),className:"components-toolbar",controls:[{title:M("Heading 1"),icon:p("h1"),onClick:function(){return d("h1")}},{title:M("Heading 2"),icon:p("h2"),onClick:function(){return d("h2")}},{title:M("Heading 3"),icon:p("h3"),onClick:function(){return d("h3")}},{title:M("Heading 4"),icon:p("h4"),onClick:function(){return d("h4")}},{title:M("Heading 5"),icon:p("h5"),onClick:function(){return d("h5")}},{title:M("Heading 6"),icon:p("h6"),onClick:function(){return d("h6")}},{title:M("Division"),icon:p("div"),onClick:function(){return d("div")}},{title:M("Paragraph"),icon:p("p"),onClick:function(){return d("p")}},{title:M("Span Tag"),icon:p("span"),onClick:function(){return d("span")}}]}),wp.element.createElement(N,null,wp.element.createElement(R,{contentClassName:"wp-themesiel-blocks-advanced-heading-popover-content",position:"bottom center",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return wp.element.createElement(O,{className:"components-dropdown-menu__toggle",icon:"editor-textcolor",onClick:n,"aria-haspopup":"true","aria-expanded":t,label:M("Typography Settings"),showTooltip:!0},wp.element.createElement("span",{className:"components-dropdown-menu__indicator"}))},renderContent:function(){return wp.element.createElement(I,null,wp.element.createElement(S.a,{label:M("Font Family"),value:t.fontFamily,onChangeFontFamily:a,isSelect:!0,valueVariant:t.fontVariant,onChangeFontVariant:l,valueStyle:t.fontStyle,onChangeFontStyle:o,valueTransform:t.textTransform,onChangeTextTransform:r}),wp.element.createElement(L,{label:M("Line Height"),value:t.lineHeight,onChange:i,min:0,max:200}),wp.element.createElement(L,{label:M("Letter Spacing"),value:t.letterSpacing,onChange:c,min:-50,max:100}))}})))},z=n(5),H=n(11),D=n(6),G=n(7),V=n(25);function F(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function W(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return U(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return U(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function U(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var q=wp.i18n.__,Z=wp.blockEditor,$=Z.AlignmentToolbar,Q=Z.ColorPalette,K=Z.InspectorControls,J=wp.components,Y=J.Button,X=J.Dashicon,ee=J.PanelBody,te=J.RangeControl,ne=J.ToggleControl,ae=wp.data.useSelect,le=wp.element,oe=le.Fragment,re=le.useState,ie=function(e){var t=e.attributes,n=e.setAttributes,a=e.changeFontFamily,l=e.changeFontVariant,o=e.changeFontStyle,r=e.changeTextTransform,i=e.changeLineHeight,c=e.changeLetterSpacing,p=ae((function(e){var t=e("themeisle-gutenberg/data").getView,n=e("core/edit-post").__experimentalGetPreviewDeviceType;return n?n():t()}),[]),d=W(re("style"),2),m=d[0],s=d[1],u=function(){var e;return"Desktop"===p&&(e=t.fontSize),"Tablet"===p&&(e=t.fontSizeTablet),"Mobile"===p&&(e=t.fontSizeMobile),e};u=u();var g=function(){var e;return"Desktop"===p&&(e=t.align),"Tablet"===p&&(e=t.alignTablet),"Mobile"===p&&(e=t.alignMobile),e};g=g();var f=function(){var e;return"Desktop"===p&&(e=t.paddingType),"Tablet"===p&&(e=t.paddingTypeTablet),"Mobile"===p&&(e=t.paddingTypeMobile),e};f=f();var y={top:"paddingTop",right:"paddingRight",bottom:"paddingBottom",left:"paddingLeft"},h={top:"paddingTopTablet",right:"paddingRightTablet",bottom:"paddingBottomTablet",left:"paddingLeftTablet"},w={top:"paddingTopMobile",right:"paddingRightMobile",bottom:"paddingBottomMobile",left:"paddingLeftMobile"},v=function(e){var n;return"top"==e&&("Desktop"===p&&(n="linked"===t.paddingType?t.padding:t.paddingTop),"Tablet"===p&&(n="linked"===t.paddingTypeTablet?t.paddingTablet:t.paddingTopTablet),"Mobile"===p&&(n="linked"===t.paddingTypeMobile?t.paddingMobile:t.paddingTopMobile)),"right"==e&&("Desktop"===p&&(n="linked"===t.paddingType?t.padding:t.paddingRight),"Tablet"===p&&(n="linked"===t.paddingTypeTablet?t.paddingTablet:t.paddingRightTablet),"Mobile"===p&&(n="linked"===t.paddingTypeMobile?t.paddingMobile:t.paddingRightMobile)),"bottom"==e&&("Desktop"===p&&(n="linked"===t.paddingType?t.padding:t.paddingBottom),"Tablet"===p&&(n="linked"===t.paddingTypeTablet?t.paddingTablet:t.paddingBottomTablet),"Mobile"===p&&(n="linked"===t.paddingTypeMobile?t.paddingMobile:t.paddingBottomMobile)),"left"==e&&("Desktop"===p&&(n="linked"===t.paddingType?t.padding:t.paddingLeft),"Tablet"===p&&(n="linked"===t.paddingTypeTablet?t.paddingTablet:t.paddingLeftTablet),"Mobile"===p&&(n="linked"===t.paddingTypeMobile?t.paddingMobile:t.paddingLeftMobile)),n},k=function(){var e;return"Desktop"===p&&(e=t.marginType),"Tablet"===p&&(e=t.marginTypeTablet),"Mobile"===p&&(e=t.marginTypeMobile),e};k=k();var T={top:"marginTop",bottom:"marginBottom"},E={top:"marginTopTablet",bottom:"marginBottomTablet"},x={top:"marginTopMobile",bottom:"marginBottomMobile"},C=function(e){var n;return"top"==e&&("Desktop"===p&&(n="linked"===t.marginType?t.margin:t.marginTop),"Tablet"===p&&(n="linked"===t.marginTypeTablet?t.marginTablet:t.marginTopTablet),"Mobile"===p&&(n="linked"===t.marginTypeMobile?t.marginMobile:t.marginTopMobile)),"bottom"==e&&("Desktop"===p&&(n="linked"===t.marginType?t.margin:t.marginBottom),"Tablet"===p&&(n="linked"===t.marginTypeTablet?t.marginTablet:t.marginBottomTablet),"Mobile"===p&&(n="linked"===t.marginTypeMobile?t.marginMobile:t.marginBottomMobile)),n};return wp.element.createElement(oe,null,wp.element.createElement(K,null,wp.element.createElement(ee,{className:"wp-block-themeisle-blocks-advanced-heading-header-panel"},wp.element.createElement(Y,{className:b()("header-tab",{"is-selected":"style"===m}),onClick:function(){return s("style")}},wp.element.createElement("span",null,wp.element.createElement(X,{icon:"admin-customizer"}),q("Style"))),wp.element.createElement(Y,{className:b()("header-tab",{"is-selected":"advanced"===m}),onClick:function(){return s("advanced")}},wp.element.createElement("span",null,wp.element.createElement(X,{icon:"admin-generic"}),q("Advanced")))),"style"===m&&wp.element.createElement(oe,null,wp.element.createElement(ee,{title:q("General Settings")},wp.element.createElement(z.a,{label:q("Heading Color"),colorValue:t.headingColor},wp.element.createElement(Q,{label:"Heading Color",value:t.headingColor,onChange:function(e){n({headingColor:e})}})),wp.element.createElement(D.a,{label:"Font Size"},wp.element.createElement(te,{value:u||"",onChange:function(e){"Desktop"===p&&n({fontSize:e}),"Tablet"===p&&n({fontSizeTablet:e}),"Mobile"===p&&n({fontSizeMobile:e})},min:1,max:500})),wp.element.createElement(D.a,{label:"Alignment"},wp.element.createElement($,{value:g,onChange:function(e){"Desktop"===p&&n({align:e}),"Tablet"===p&&n({alignTablet:e}),"Mobile"===p&&n({alignMobile:e})},isCollapsed:!1}))),wp.element.createElement(ee,{title:q("Typography Settings"),initialOpen:!1},wp.element.createElement(S.a,{label:q("Font Family"),value:t.fontFamily,onChangeFontFamily:a,valueVariant:t.fontVariant,onChangeFontVariant:l,valueStyle:t.fontStyle,onChangeFontStyle:o,valueTransform:t.textTransform,onChangeTextTransform:r}),wp.element.createElement(te,{label:q("Line Height"),value:t.lineHeight,onChange:i,min:0,max:200}),wp.element.createElement(te,{label:q("Letter Spacing"),value:t.letterSpacing,onChange:c,min:-50,max:100}),wp.element.createElement(ne,{label:"Shadow Properties",checked:t.textShadow,onChange:function(e){n({textShadow:e})}}),t.textShadow&&wp.element.createElement(oe,null,wp.element.createElement(z.a,{label:q("Color"),colorValue:t.textShadowColor},wp.element.createElement(Q,{label:q("Color"),value:t.textShadowColor,onChange:function(e){n({textShadowColor:e})}})),wp.element.createElement(H.a,{label:"Shadow Properties"},wp.element.createElement(te,{label:q("Opacity"),value:t.textShadowColorOpacity,onChange:function(e){n({textShadowColorOpacity:e})},min:0,max:100}),wp.element.createElement(te,{label:q("Blur"),value:t.textShadowBlur,onChange:function(e){n({textShadowBlur:e})},min:0,max:100}),wp.element.createElement(te,{label:q("Horizontal"),value:t.textShadowHorizontal,onChange:function(e){n({textShadowHorizontal:e})},min:-100,max:100}),wp.element.createElement(te,{label:q("Vertical"),value:t.textShadowVertical,onChange:function(e){n({textShadowVertical:e})},min:-100,max:100})))))||"advanced"===m&&wp.element.createElement(oe,null,wp.element.createElement(ee,{title:q("Highlight Color")},wp.element.createElement(z.a,{label:q("Highlight Color"),colorValue:t.highlightColor},wp.element.createElement(Q,{label:"Highlight Color",value:t.highlightColor,onChange:function(e){n({highlightColor:e})}})),wp.element.createElement(z.a,{label:q("Highlight Background"),colorValue:t.highlightBackground},wp.element.createElement(Q,{label:"Highlight Background",value:t.highlightBackground,onChange:function(e){n({highlightBackground:e})}}))),wp.element.createElement(ee,{title:q("Spacing"),initialOpen:!1},wp.element.createElement(D.a,{label:"Padding"},wp.element.createElement(G.a,{type:f,min:0,max:500,changeType:function(e){"Desktop"===p&&n({paddingType:e}),"Tablet"===p&&n({paddingTypeTablet:e}),"Mobile"===p&&n({paddingTypeMobile:e})},onChange:function(e,a){"Desktop"===p&&("linked"===t.paddingType?n({padding:a}):n(F({},y[e],a))),"Tablet"===p&&("linked"===t.paddingTypeTablet?n({paddingTablet:a}):n(F({},h[e],a))),"Mobile"===p&&("linked"===t.paddingTypeMobile?n({paddingMobile:a}):n(F({},w[e],a)))},options:[{label:q("Top"),type:"top",value:v("top")},{label:q("Right"),type:"right",value:v("right")},{label:q("Bottom"),type:"bottom",value:v("bottom")},{label:q("Left"),type:"left",value:v("left")}]})),wp.element.createElement(D.a,{label:"Margin"},wp.element.createElement(G.a,{type:k,min:-500,max:500,changeType:function(e){"Desktop"===p&&n({marginType:e}),"Tablet"===p&&n({marginTypeTablet:e}),"Mobile"===p&&n({marginTypeMobile:e})},onChange:function(e,a){"Desktop"===p&&("linked"===t.marginType?n({margin:a}):n(F({},T[e],a))),"Tablet"===p&&("linked"===t.marginTypeTablet?n({marginTablet:a}):n(F({},E[e],a))),"Mobile"===p&&("linked"===t.marginTypeMobile?n({marginMobile:a}):n(F({},x[e],a)))},options:[{label:q("Top"),type:"top",value:C("top")},{label:q("Right"),disabled:!0},{label:q("Bottom"),type:"bottom",value:C("bottom")},{label:q("Left"),disabled:!0}]}))))),wp.element.createElement(V.a,{value:t.id,onChange:function(e){n({id:e})}}))};function ce(e){return function(e){if(Array.isArray(e))return pe(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return pe(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return pe(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function pe(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}function de(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function me(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?de(Object(n),!0).forEach((function(t){se(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):de(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function se(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ue=wp.i18n.__,be=lodash.isEqual,ge=wp.blocks.createBlock,fe=wp.blockEditor.RichText,ye=wp.compose.useViewportMatch,he=wp.data.useSelect,we=wp.element,ve=we.Fragment,ke=we.useEffect,Te=[],Ee=function(e){var t=e.attributes,n=e.setAttributes,a=e.className,l=e.clientId,o=e.mergeBlocks,r=e.name,i=e.insertBlocksAfter,c=e.onReplace,p=he((function(e){var t=e("core/edit-post").__experimentalGetPreviewDeviceType;return{isViewportAvailable:!!t,isPreviewDesktop:!!t&&"Desktop"===t(),isPreviewTablet:!!t&&"Tablet"===t(),isPreviewMobile:!!t&&"Mobile"===t()}}),[]),d=p.isViewportAvailable,m=p.isPreviewDesktop,u=p.isPreviewTablet,g=p.isPreviewMobile,y=ye("large",">="),h=ye("large","<="),w=ye("small",">="),v=ye("small","<=");ke((function(){k()}),[]);var k=function(){var e=window.themeisleGutenberg.blockIDs?window.themeisleGutenberg.blockIDs:[];if(void 0===t.id){var a,o="wp-block-themeisle-blocks-advanced-heading-".concat(l.substr(0,8));void 0!==(window.themeisleGutenberg.globalDefaults?window.themeisleGutenberg.globalDefaults:void 0)&&(be(C.a[r],window.themeisleGutenberg.globalDefaults[r])||(a=me({},window.themeisleGutenberg.globalDefaults[r]),Object.keys(a).map((function(e){if(t[e]!==a[e]&&void 0!==s[e].default&&t[e]!==s[e].default)return delete a[e]})))),n(me(me({},a),{},{id:o})),Te.push(o),e.push(o)}else if(Te.includes(t.id)){var i="wp-block-themeisle-blocks-advanced-heading-".concat(l.substr(0,8));n({id:i}),Te.push(i)}else Te.push(t.id),e.push(t.id);window.themeisleGutenberg.blockIDs=ce(e)},T=y&&!h&&w&&!v,E=!y&&!h&&w&&!v,S=!(y||h||w||v);d&&!S&&(T=m,E=u,S=g);var M,B,O,R=function(e){n(e?{fontFamily:e,fontVariant:"normal",fontStyle:"normal"}:{fontFamily:e,fontVariant:e})},A=function(e){n({fontVariant:e})},L=function(e){n({fontStyle:e})},P=function(e){n({textTransform:e})},N=function(e){n({lineHeight:e})},_=function(e){n({letterSpacing:e})};T&&(M={fontSize:"".concat(t.fontSize,"px")},B={textAlign:t.align,paddingTop:"linked"===t.paddingType?"".concat(t.padding,"px"):"".concat(t.paddingTop,"px"),paddingRight:"linked"===t.paddingType?"".concat(t.padding,"px"):"".concat(t.paddingRight,"px"),paddingBottom:"linked"===t.paddingType?"".concat(t.padding,"px"):"".concat(t.paddingBottom,"px"),paddingLeft:"linked"===t.paddingType?"".concat(t.padding,"px"):"".concat(t.paddingLeft,"px"),marginTop:"linked"===t.marginType?"".concat(t.margin,"px"):"".concat(t.marginTop,"px"),marginBottom:"linked"===t.marginType?"".concat(t.margin,"px"):"".concat(t.marginBottom,"px")}),E&&(M={fontSize:"".concat(t.fontSizeTablet,"px")},B={textAlign:t.alignTablet,paddingTop:"linked"===t.paddingTypeTablet?"".concat(t.paddingTablet,"px"):"".concat(t.paddingTopTablet,"px"),paddingRight:"linked"===t.paddingTypeTablet?"".concat(t.paddingTablet,"px"):"".concat(t.paddingRightTablet,"px"),paddingBottom:"linked"===t.paddingTypeTablet?"".concat(t.paddingTablet,"px"):"".concat(t.paddingBottomTablet,"px"),paddingLeft:"linked"===t.paddingTypeTablet?"".concat(t.paddingTablet,"px"):"".concat(t.paddingLeftTablet,"px"),marginTop:"linked"===t.marginTypeTablet?"".concat(t.marginTablet,"px"):"".concat(t.marginTopTablet,"px"),marginBottom:"linked"===t.marginTypeTablet?"".concat(t.marginTablet,"px"):"".concat(t.marginBottomTablet,"px")}),S&&(M={fontSize:"".concat(t.fontSizeMobile,"px")},B={textAlign:t.alignMobile,paddingTop:"linked"===t.paddingTypeMobile?"".concat(t.paddingMobile,"px"):"".concat(t.paddingTopMobile,"px"),paddingRight:"linked"===t.paddingTypeMobile?"".concat(t.paddingMobile,"px"):"".concat(t.paddingRightMobile,"px"),paddingBottom:"linked"===t.paddingTypeMobile?"".concat(t.paddingMobile,"px"):"".concat(t.paddingBottomMobile,"px"),paddingLeft:"linked"===t.paddingTypeMobile?"".concat(t.paddingMobile,"px"):"".concat(t.paddingLeftMobile,"px"),marginTop:"linked"===t.marginTypeMobile?"".concat(t.marginMobile,"px"):"".concat(t.marginTopMobile,"px"),marginBottom:"linked"===t.marginTypeMobile?"".concat(t.marginMobile,"px"):"".concat(t.marginBottomMobile,"px")}),t.textShadow&&(O={textShadow:"".concat(t.textShadowHorizontal,"px ").concat(t.textShadowVertical,"px ").concat(t.textShadowBlur,"px ").concat(f()(t.textShadowColor?t.textShadowColor:"#000000",t.textShadowColorOpacity))});var I=me(me(me({color:t.headingColor},M),{},{fontFamily:t.fontFamily?t.fontFamily:"inherit",fontWeight:"regular"===t.fontVariant?"normal":t.fontVariant,fontStyle:t.fontStyle,textTransform:t.textTransform,lineHeight:t.lineHeight&&"".concat(t.lineHeight,"px"),letterSpacing:t.letterSpacing&&"".concat(t.letterSpacing,"px")},B),O);return wp.element.createElement(ve,null,wp.element.createElement("style",null,".".concat(t.id," mark {\n\t\t\t\t\t\tcolor: ").concat(t.highlightColor,";\n\t\t\t\t\t\tbackground: ").concat(t.highlightBackground,";\n\t\t\t\t\t}")),t.fontFamily&&wp.element.createElement(x.a,{fonts:[{font:t.fontFamily,weights:t.fontVariant&&["".concat(t.fontVariant+("italic"===t.fontStyle?":i":""))]}]}),wp.element.createElement(j,{attributes:t,setAttributes:n,changeFontFamily:R,changeFontVariant:A,changeFontStyle:L,changeTextTransform:P,changeLineHeight:N,changeLetterSpacing:_}),wp.element.createElement(ie,{attributes:t,setAttributes:n,changeFontFamily:R,changeFontVariant:A,changeFontStyle:L,changeTextTransform:P,changeLineHeight:N,changeLetterSpacing:_}),wp.element.createElement(fe,{identifier:"content",className:b()(t.id,a),value:t.content,placeholder:ue("Write heading…"),tagName:t.tag,formattingControls:["bold","italic","link","strikethrough","mark"],allowedFormats:["core/bold","core/italic","core/link","core/strikethrough","themeisle-blocks/mark"],onMerge:o,unstableOnSplit:i?function(e,t){n({content:e});for(var a=arguments.length,l=new Array(a>2?a-2:0),o=2;o<a;o++)l[o-2]=arguments[o];i([].concat(l,[ge("core/paragraph",{content:t})]))}:void 0,onRemove:function(){return c([])},style:I,onChange:function(e){n({content:e})}}))},xe=wp.blockEditor.RichText,Ce=function(e){var t=e.attributes,n=e.className;return wp.element.createElement(xe.Content,{tagName:t.tag,value:t.content,id:t.id,className:b()(t.id,n)})},Se=wp.i18n.__;(0,wp.blocks.registerBlockType)("themeisle-blocks/advanced-heading",{title:Se("Advanced Heading"),description:Se("Advanced Heading gives a spin to editor's Heading block with much needed customization options."),icon:m.i,category:"themeisle-blocks",keywords:[Se("heading"),Se("title"),Se("advanced heading")],attributes:s,deprecated:v,transforms:T,edit:Ee,save:Ce})},function(e,t,n){"use strict";n.r(t);n(68),n(69);var a=n(3),l={id:{type:"string"},align:{type:"string"},prefix:{type:"string",default:"fab"},icon:{type:"string",default:"themeisle"},link:{type:"string"},newTab:{type:"boolean",default:!1},fontSize:{type:"number",default:16},padding:{type:"number",default:5},margin:{type:"number",default:5},backgroundColor:{type:"string"},textColor:{type:"string"},borderColor:{type:"string"},backgroundColorHover:{type:"string"},textColorHover:{type:"string"},borderColorHover:{type:"string"},borderSize:{type:"number",default:0},borderRadius:{type:"number",default:0}};n(1);function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function r(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var c={prefix:{type:"string",default:"fab"},icon:{type:"string",default:"themeisle"},fontSize:{type:"number",default:16},padding:{type:"number",default:5},margin:{type:"number",default:5},backgroundColor:{type:"string"},textColor:{type:"string"},borderColor:{type:"string"},borderSize:{type:"number",default:0},borderRadius:{type:"number",default:0}},p=[{attributes:c,supports:{align:["left","center","right"]},migrate:function(e){var t="center";return e.className.includes("alignleft")&&(t="left"),e.className.includes("aligncenter")&&(t="center"),e.className.includes("alignright")&&(t="right"),r(r({},e),{},{align:t,className:""})},save:function(e){var t=e.attributes,n=e.className,a={borderRadius:t.borderRadius+"%",fontSize:t.fontSize+"px",padding:t.padding+"px"},l={color:t.textColor,backgroundColor:t.backgroundColor,borderColor:t.borderColor,borderRadius:t.borderRadius+"%",borderStyle:"solid",borderWidth:t.borderSize+"px",display:"inline-block",margin:t.margin+"px"};return wp.element.createElement("p",{className:n,style:{textAlign:t.align}},wp.element.createElement("span",{className:"".concat(n,"-container"),style:l},wp.element.createElement("i",{className:"".concat(t.prefix," fa-").concat(t.icon),style:a})))}},{attributes:r(r({},c),{},{align:{type:"string"}}),save:function(e){var t=e.attributes,n=e.className,a={borderRadius:t.borderRadius+"%",fontSize:t.fontSize+"px",padding:t.padding+"px"},l={color:t.textColor,backgroundColor:t.backgroundColor,borderColor:t.borderColor,borderRadius:t.borderRadius+"%",borderStyle:"solid",borderWidth:t.borderSize+"px",display:"inline-block",margin:t.margin+"px"};return wp.element.createElement("p",{className:n,style:{textAlign:t.align}},wp.element.createElement("span",{className:"undefined-container",style:l},wp.element.createElement("i",{className:"".concat(t.prefix," fa-").concat(t.icon),style:a})))}},{attributes:r(r({},c),{},{id:{type:"string"},align:{type:"string"},link:{type:"string"},newTab:{type:"boolean",default:!1},backgroundColorHover:{type:"string"},textColorHover:{type:"string"},borderColorHover:{type:"string"}}),save:function(e){var t=e.attributes,n=e.className,a={borderRadius:t.borderRadius+"%",borderStyle:"solid",borderWidth:t.borderSize+"px",display:"inline-block",margin:t.margin+"px"},l={borderRadius:t.borderRadius+"%",fontSize:t.fontSize+"px",padding:t.padding+"px"},o=function(){return wp.element.createElement("i",{className:"".concat(t.prefix," fa-").concat(t.icon),style:l})};return wp.element.createElement("p",{className:n,id:t.id,style:{textAlign:t.align}},wp.element.createElement("span",{className:"wp-block-themeisle-blocks-font-awesome-icons-container",style:a},t.link?wp.element.createElement("a",{href:t.link,target:t.newTab?"_blank":"_self",style:{color:t.textColor},rel:"noopener noreferrer"},wp.element.createElement(o,null)):wp.element.createElement(o,null)))}}],d=n(8),m=n(26),s=wp.i18n.__,u=wp.blockEditor,b=u.AlignmentToolbar,g=u.BlockControls,f=function(e){var t=e.attributes,n=e.setAttributes,a=e.isSelected;return wp.element.createElement(g,null,wp.element.createElement(b,{value:t.align,onChange:function(e){n({align:e})},alignmentControls:[{icon:"editor-alignleft",title:s("Align left"),align:"left"},{icon:"editor-aligncenter",title:s("Align center"),align:"center"},{icon:"editor-alignright",title:s("Align right"),align:"right"}]}),wp.element.createElement(m.a,{isSelected:a,setAttributes:n,url:t.link,opensInNewTab:t.newTab}))},y=n(5);function h(e){return(h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function w(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return v(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return v(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function v(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var k=wp.i18n.__,T=wp.components,E=T.Button,x=T.ButtonGroup,C=T.PanelBody,S=T.Placeholder,M=T.RangeControl,B=T.Spinner,O=wp.blockEditor,R=O.ColorPalette,A=O.ContrastChecker,L=O.InspectorControls,P=wp.element,N=P.Fragment,_=P.lazy,I=P.Suspense,j=P.useState,z=_((function(){return Promise.all([n.e(0),n.e(1)]).then(n.bind(null,123))})),H=function(e){var t=e.attributes,n=e.setAttributes,a=w(j(!1),2),l=a[0],o=a[1];return wp.element.createElement(L,null,wp.element.createElement(C,{title:k("Icon")},wp.element.createElement(I,{fallback:wp.element.createElement(S,null,wp.element.createElement(B,null))},wp.element.createElement(z,{label:k("Icon Picker"),prefix:t.prefix,icon:t.icon,onChange:function(e){"object"===h(e)?n({icon:e.name,prefix:e.prefix}):n({icon:e})}}))),wp.element.createElement(C,{title:k("Icon Sizes"),initialOpen:!1},wp.element.createElement(M,{label:k("Icon Size"),value:t.fontSize||"",initialPosition:16,onChange:function(e){n({fontSize:e})},min:12,max:140}),wp.element.createElement(M,{label:k("Padding"),value:t.padding||"",initialPosition:5,onChange:function(e){n({padding:e})},min:0,max:100}),wp.element.createElement(M,{label:k("Margin"),value:t.margin||"",initialPosition:5,onChange:function(e){n({margin:e})},min:0,max:100})),wp.element.createElement(C,{title:k("Color"),initialOpen:!1},wp.element.createElement(x,null,wp.element.createElement(E,{isSmall:!0,isSecondary:l,isPrimary:!l,onClick:function(){return o(!1)}},k("Normal")),wp.element.createElement(E,{isSmall:!0,isSecondary:!l,isPrimary:l,onClick:function(){return o(!0)}},k("Hover"))),l?wp.element.createElement(N,null,wp.element.createElement(y.a,{label:"Hover Background",colorValue:t.backgroundColorHover},wp.element.createElement(R,{label:"Hover Background",value:t.backgroundColorHover,onChange:function(e){n({backgroundColorHover:e})}})),wp.element.createElement(y.a,{label:"Hover Icon",colorValue:t.textColorHover},wp.element.createElement(R,{label:"Hover Icon",value:t.textColorHover,onChange:function(e){n({textColorHover:e})}})),wp.element.createElement(y.a,{label:"Hover Border",colorValue:t.borderColorHover},wp.element.createElement(R,{label:"Hover Border",value:t.borderColorHover,onChange:function(e){n({borderColorHover:e})}})),wp.element.createElement(A,{textColor:t.textColorHover,backgroundColor:t.backgroundColorHover})):wp.element.createElement(N,null,wp.element.createElement(y.a,{label:"Background",colorValue:t.backgroundColor},wp.element.createElement(R,{label:"Background",value:t.backgroundColor,onChange:function(e){n({backgroundColor:e})}})),wp.element.createElement(y.a,{label:"Icon",colorValue:t.textColor},wp.element.createElement(R,{label:"Icon",value:t.textColor,onChange:function(e){n({textColor:e})}})),wp.element.createElement(y.a,{label:"Border",colorValue:t.borderColor},wp.element.createElement(R,{label:"Border",value:t.borderColor,onChange:function(e){n({borderColor:e})}})),wp.element.createElement(A,{textColor:t.textColor,backgroundColor:t.backgroundColor}))),wp.element.createElement(C,{title:k("Border Settings"),initialOpen:!1},wp.element.createElement(M,{label:k("Border Size"),value:t.borderSize,onChange:function(e){n({borderSize:e})},min:0,max:120}),wp.element.createElement(M,{label:k("Border Radius"),value:t.borderRadius,onChange:function(e){n({borderRadius:e})},min:0,max:100})))};function D(e){return function(e){if(Array.isArray(e))return G(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return G(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return G(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function G(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}function V(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function F(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?V(Object(n),!0).forEach((function(t){W(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):V(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function W(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var U=lodash.isEqual,q=wp.element,Z=q.Fragment,$=q.useEffect,Q=[],K=function(e){var t=e.attributes,n=e.setAttributes,a=e.className,o=e.isSelected,r=e.clientId,i=e.name;$((function(){c()}),[]);var c=function(){var e=window.themeisleGutenberg.blockIDs?window.themeisleGutenberg.blockIDs:[];if(void 0===t.id){var a,o="wp-block-themeisle-blocks-font-awesome-icons-".concat(r.substr(0,8));void 0!==(window.themeisleGutenberg.globalDefaults?window.themeisleGutenberg.globalDefaults:void 0)&&(U(d.a[i],window.themeisleGutenberg.globalDefaults[i])||(a=F({},window.themeisleGutenberg.globalDefaults[i]),Object.keys(a).map((function(e){if(t[e]!==a[e]&&void 0!==l[e].default&&t[e]!==l[e].default)return delete a[e]})))),n(F(F({},a),{},{id:o})),Q.push(o),e.push(o)}else if(Q.includes(t.id)){var c="wp-block-themeisle-blocks-font-awesome-icons-".concat(r.substr(0,8));n({id:c}),Q.push(c)}else Q.push(t.id),e.push(t.id);window.themeisleGutenberg.blockIDs=D(e)},p={borderRadius:t.borderRadius+"%",fontSize:t.fontSize+"px",padding:t.padding+"px"},m={color:t.textColor,backgroundColor:t.backgroundColor,borderColor:t.borderColor,borderRadius:t.borderRadius+"%",borderStyle:"solid",borderWidth:t.borderSize+"px",display:"inline-block",margin:t.margin+"px"};return wp.element.createElement(Z,null,wp.element.createElement(f,{attributes:t,setAttributes:n,isSelected:o}),wp.element.createElement(H,{attributes:t,setAttributes:n}),wp.element.createElement("style",null,"#".concat(t.id," .").concat(a,"-container:hover {\n\t\t\t\t\t\tcolor: ").concat(t.textColorHover?t.textColorHover:t.textColor," !important;\n\t\t\t\t\t\tbackground: ").concat(t.backgroundColorHover?t.backgroundColorHover:t.backgroundColor," !important;\n\t\t\t\t\t\tborder-color: ").concat(t.borderColorHover?t.borderColorHover:t.borderColor," !important;\n\t\t\t\t\t}")),wp.element.createElement("p",{className:a,id:t.id,style:{textAlign:t.align}},wp.element.createElement("span",{className:"wp-block-themeisle-blocks-font-awesome-icons-container",style:m},wp.element.createElement("i",{className:"".concat(t.prefix," fa-").concat(t.icon),style:p}))))},J=function(e){var t=e.attributes,n=e.className;return wp.element.createElement("p",{className:n,id:t.id},wp.element.createElement("span",{className:"wp-block-themeisle-blocks-font-awesome-icons-container"},t.link?wp.element.createElement("a",{href:t.link,target:t.newTab?"_blank":"_self",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"".concat(t.prefix," fa-").concat(t.icon)})):wp.element.createElement("i",{className:"".concat(t.prefix," fa-").concat(t.icon)})))},Y=wp.i18n.__;(0,wp.blocks.registerBlockType)("themeisle-blocks/font-awesome-icons",{title:Y("Font Awesome Icons"),description:Y("Share buttons for your website visitors to share content on any social sharing service."),icon:a.h,category:"themeisle-blocks",keywords:["font awesome","dashicons","icons"],attributes:l,deprecated:p,edit:K,save:J})},function(e,t,n){"use strict";n.r(t);n(75),n(76);var a=n(3),l={style:{type:"string",default:"grid"},columns:{type:"number",default:3},template:{type:"array",default:["category","title","meta","description"]},categories:{type:"array",items:{type:"object"}},postsToShow:{type:"number",default:5},order:{type:"string",default:"desc"},orderBy:{type:"string",default:"date"},offset:{type:"number",default:0},imageSize:{type:"string",default:"full"},imageBoxShadow:{type:"boolean",default:!0},displayFeaturedImage:{type:"boolean",default:!0},displayCategory:{type:"boolean",default:!0},displayTitle:{type:"boolean",default:!0},titleTag:{type:"string",default:"h5"},displayMeta:{type:"boolean",default:!0},displayDescription:{type:"boolean",default:!0},excerptLength:{type:"number",default:100},displayDate:{type:"boolean",default:!0},displayAuthor:{type:"boolean",default:!0}};function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function r(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var c=[{attributes:r(r({},l),{},{categories:{type:"string"}}),supports:{align:["wide","full"],html:!1},migrate:function(e){return r(r({},e),{},{categories:[{id:Number(e.categories)}]})},isEligible:function(e){var t=e.categories;return t&&"string"==typeof t},save:function(){return null}}],p=n(14),d=n(23),m=n.n(d),s=n(0),u=n.n(s),b=n(15);n(1);function g(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return f(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return f(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var y=lodash,h=y.startCase,w=y.toLower,v=wp.i18n.__,k=wp.components,T=k.Button,E=k.TextControl,x=k.SelectControl,C=k.ToggleControl,S=wp.element,M=S.Fragment,B=S.useState,O=Object(b.c)((function(){return wp.element.createElement("div",{className:"wp-block-themeisle-blocks-posts-grid-builder-handle",tabIndex:"0"},wp.element.createElement("span",null))})),R=function(e){var t,n=e.value,a=e.disabled,l=e.getFields,o=e.toggleFields,r=e.imageSize,i=e.titleTag,c=e.excerptLimit,p=g(B(!1),2),d=p[0],m=p[1],s=h(w(n)),b="hidden",f=v("Display ".concat(s));switch(l(n)&&(b="visibility",f=v("Hide ".concat(s))),n){case"image":case"title":case"meta":case"description":t=!0;break;default:t=!1}return wp.element.createElement("div",{className:u()("wp-block-themeisle-blocks-posts-grid-builder-item-area","wp-block-themeisle-blocks-posts-grid-builder-item-area-".concat(n))},wp.element.createElement("div",{className:u()("wp-block-themeisle-blocks-posts-grid-builder-item",{disabled:a,hidden:!l(n),editable:t})},!a&&wp.element.createElement(O,null),wp.element.createElement("div",{className:"wp-block-themeisle-blocks-posts-grid-builder-label"},s),t&&wp.element.createElement(T,{icon:d?"arrow-up-alt2":"arrow-down-alt2",label:v(d?"Close Settings":"Open Settings"),showTooltip:!0,className:"wp-block-themeisle-blocks-posts-grid-builder-button",onClick:function(){return m(!d)}}),wp.element.createElement(T,{icon:b,label:f,showTooltip:!0,className:"wp-block-themeisle-blocks-posts-grid-builder-button",onClick:function(){o(n),m(!1)}})),t&&wp.element.createElement("div",{className:u()("wp-block-themeisle-blocks-posts-grid-builder-control-area",{opened:d&&l(n)})},"image"===n&&wp.element.createElement(M,null,wp.element.createElement(x,{label:v("Image Size"),value:r.value,options:[{label:v("Thumbnail"),value:"thumbnail"},{label:v("Medium"),value:"medium"},{label:v("Medium Large"),value:"medium_large"},{label:v("Large"),value:"large"},{label:v("Full"),value:"full"}],onChange:r.onChange}),wp.element.createElement(C,{label:"Display Box Shadow?",checked:l("imageBoxShadow"),onChange:function(){return o("imageBoxShadow")}})),"title"===n&&wp.element.createElement(x,{label:v("Title Tag"),value:i.value||"h5",options:[{label:v("H1"),value:"h1"},{label:v("H2"),value:"h2"},{label:v("H3"),value:"h3"},{label:v("H4"),value:"h4"},{label:v("H5"),value:"h5"},{label:v("H6"),value:"h6"}],onChange:i.onChange}),"description"===n&&wp.element.createElement(E,{label:v("Excerpt Limit"),type:"number",value:c.value,onChange:c.onChange}),"meta"===n&&wp.element.createElement(M,null,wp.element.createElement(C,{label:"Display Date?",checked:l("date"),onChange:function(){return o("date")}}),wp.element.createElement(C,{label:"Display Author?",checked:l("author"),onChange:function(){return o("author")}}))))},A=Object(b.b)((function(e){var t=e.value,n=e.disabled,a=e.getFields,l=e.toggleFields,o=e.titleTag,r=e.excerptLimit;return wp.element.createElement(R,{value:t,disabled:n,getFields:a,toggleFields:l,titleTag:o,excerptLimit:r})})),L=Object(b.a)((function(e){var t=e.template,n=e.getFields,a=e.toggleFields,l=e.titleTag,o=e.excerptLimit;return wp.element.createElement("div",null,t.map((function(e,t){return wp.element.createElement(A,{key:"item-".concat(t),index:t,value:e,getFields:n,toggleFields:a,titleTag:l,excerptLimit:o})})))})),P=wp.i18n.__,N=wp.element.Fragment,_=function(e){var t=e.attributes,n=e.setAttributes,a=e.getFields,l=e.toggleFields,o=e.imageSize,r=e.titleTag,i=e.excerptLimit;return wp.element.createElement(N,null,wp.element.createElement("div",{className:u()("wp-block-themeisle-blocks-posts-grid-builder",t.style)},wp.element.createElement(R,{value:P("image"),disabled:!0,getFields:a,toggleFields:l,imageSize:o}),wp.element.createElement(L,{template:t.template,onSortEnd:function(e){var a=e.oldIndex,l=e.newIndex,o=m()(t.template,a,l);n({template:o})},getFields:a,toggleFields:l,titleTag:r,excerptLimit:i,useDragHandle:!0,axis:"y",lockAxis:"y"})))};function I(e){return(I="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function j(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function z(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?j(Object(n),!0).forEach((function(t){H(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):j(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function H(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var D=wp.i18n.__,G=wp.components,V=G.PanelBody,F=G.QueryControls,W=G.RangeControl,U=G.TextControl,q=wp.blockEditor.InspectorControls,Z=function(e){var t=e.attributes,n=e.setAttributes,a=e.changeStyle,l=e.categoriesList,o=l.reduce((function(e,t){return z(z({},e),{},H({},t.name,t))}),{}),r=t.categories?t.categories.map((function(e){var t=l.find((function(t){return t.id===Number(e.id)}));return{id:e.id,name:t.name||t.slug}})):[],i="object"===I(t.categories)?1<=t.categories.length?t.categories[0].id:void 0:t.categories;return wp.element.createElement(q,null,wp.element.createElement(V,{title:D("Styles"),initialOpen:!1},wp.element.createElement(p.b,{value:t.style,options:[{label:D("Grid"),value:"grid",image:themeisleGutenberg.assetsPath+"/icons/posts-grid.jpg"},{label:D("List"),value:"list",image:themeisleGutenberg.assetsPath+"/icons/posts-list.jpg"}],onChange:a})),wp.element.createElement(V,{title:D("Settings")},"grid"===t.style&&wp.element.createElement(W,{label:D("Columns"),value:t.columns,onChange:function(e){n({columns:e})},min:1,max:5}),wp.element.createElement(F,{order:t.order,orderBy:t.orderBy,onOrderChange:function(e){return n({order:e})},onOrderByChange:function(e){return n({orderBy:e})},numberOfItems:t.postsToShow,onNumberOfItemsChange:function(e){return n({postsToShow:e})},categoriesList:l,categorySuggestions:o,selectedCategoryId:i,selectedCategories:r,onCategoryChange:function(e){var t;"object"===I(e)?0<e.length&&(t=e.map((function(e){if("object"===I(e))return e;var t=l.find((function(t){return t.name===e}));return t?{id:t.id,name:e}:void 0})).filter((function(e){return void 0!==e}))):""!==e&&(t=[{id:e,name:l.find((function(t){return t.id===Number(e)})).name}]),n({categories:t})}}),wp.element.createElement(U,{label:D("Offset"),help:D("Number of post to displace or pass over."),type:"number",value:t.offset,min:0,onChange:function(e){return n({offset:Number(e)})}})),wp.element.createElement(V,{title:D("Design & Layout"),initialOpen:!1},wp.element.createElement(_,{attributes:t,getFields:function(e){return"image"===e?t.displayFeaturedImage:"imageBoxShadow"===e?t.imageBoxShadow:"category"===e?t.displayCategory:"title"===e?t.displayTitle:"meta"===e?t.displayMeta:"description"===e?t.displayDescription:"date"===e?t.displayDate:"author"===e?t.displayAuthor:void 0},toggleFields:function(e){"image"===e&&n({displayFeaturedImage:!t.displayFeaturedImage}),"imageBoxShadow"===e&&n({imageBoxShadow:!t.imageBoxShadow}),"category"===e&&n({displayCategory:!t.displayCategory}),"title"===e&&n({displayTitle:!t.displayTitle}),"meta"===e&&n({displayMeta:!t.displayMeta}),"description"===e&&n({displayDescription:!t.displayDescription}),"date"===e&&n({displayDate:!t.displayDate}),"author"===e&&n({displayAuthor:!t.displayAuthor})},setAttributes:n,imageSize:{value:t.imageSize,onChange:function(e){n({imageSize:e})}},titleTag:{value:t.titleTag,onChange:function(e){n({titleTag:e})}},excerptLimit:{value:t.excerptLength,onChange:function(e){n({excerptLength:e})}}})))},$=n(32),Q=lodash,K=Q.isUndefined,J=Q.pickBy,Y=wp.i18n.__,X=wp.components,ee=X.Disabled,te=X.Placeholder,ne=X.Spinner,ae=wp.data.useSelect,le=wp.element.Fragment,oe=function(e){var t=e.attributes,n=e.setAttributes,a=e.className,l=ae((function(e){var n=t.categories&&0<t.categories.length?t.categories.map((function(e){return e.id})):[],a=J({categories:n,order:t.order,orderby:t.orderBy,per_page:t.postsToShow,offset:t.offset},(function(e){return!K(e)}));return{posts:e("core").getEntityRecords("postType","post",a),categoriesList:e("core").getEntityRecords("taxonomy","category",{per_page:100}),authors:e("core").getAuthors()}}),[t.categories,t.order,t.orderBy,t.postsToShow,t.offset]),o=l.posts,r=l.categoriesList,i=l.authors,c=function(e){n({style:e})};return o&&r&&i?0===o.length?wp.element.createElement(le,null,wp.element.createElement(te,null,Y("No Posts")),r&&t.offset?wp.element.createElement(Z,{attributes:t,setAttributes:n,changeStyle:c,categoriesList:r}):null):wp.element.createElement(le,null,wp.element.createElement(p.a,{label:Y("Block Styles"),value:t.style,options:[{label:Y("Grid"),value:"grid",image:themeisleGutenberg.assetsPath+"/icons/posts-grid.jpg"},{label:Y("List"),value:"list",image:themeisleGutenberg.assetsPath+"/icons/posts-list.jpg"}],onChange:c}),wp.element.createElement(Z,{attributes:t,setAttributes:n,changeStyle:c,categoriesList:r}),wp.element.createElement(ee,null,wp.element.createElement($.default,{className:a,attributes:t,posts:o,categoriesList:r,authors:i}))):wp.element.createElement(le,null,wp.element.createElement(te,null,wp.element.createElement(ne,null),Y("Loading Posts")),r&&t.offset?wp.element.createElement(Z,{attributes:t,setAttributes:n,changeStyle:c,categoriesList:r}):null)},re=wp.i18n.__;(0,wp.blocks.registerBlockType)("themeisle-blocks/posts-grid",{title:re("Posts"),description:re("Display a list of your most recent posts in a beautiful layout."),icon:a.o,category:"themeisle-blocks",keywords:["posts","grid","news"],attributes:l,supports:{align:["wide","full"],html:!1},deprecated:c,edit:oe,save:function(){return null}})},function(e,t,n){"use strict";n.r(t);n(93),n(94);var a=n(3),l={facebook:{type:"boolean",default:!0},twitter:{type:"boolean",default:!0},linkedin:{type:"boolean",default:!0},pinterest:{type:"boolean",default:!1},tumblr:{type:"boolean",default:!1},reddit:{type:"boolean",default:!1}},o=n(0),r=n.n(o),i=wp.i18n.__,c={facebook:{label:i("Facebook"),icon:"facebook-f"},twitter:{label:i("Twitter"),icon:"twitter"},linkedin:{label:i("Linkedin"),icon:"linkedin-in"},pinterest:{label:i("Pinterest"),icon:"pinterest-p"},tumblr:{label:i("Tumblr"),icon:"tumblr"},reddit:{label:i("Reddit"),icon:"reddit-alien"}},p=(n(1),wp.components),d=p.Path,m=p.SVG,s=function(e){var t=e.icon;return"facebook"===t?wp.element.createElement(m,{className:"wp-block-themeisle-toolbar-icon",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 264 512"},wp.element.createElement(d,{fill:"currentColor",d:"M76.7 512V283H0v-91h76.7v-71.7C76.7 42.4 124.3 0 193.8 0c33.3 0 61.9 2.5 70.2 3.6V85h-48.2c-37.8 0-45.1 18-45.1 44.3V192H256l-11.7 91h-73.6v229"})):"twitter"===t?wp.element.createElement(m,{className:"wp-block-themeisle-toolbar-icon",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},wp.element.createElement(d,{fill:"currentColor",d:"M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z"})):"linkedin"===t?wp.element.createElement(m,{className:"wp-block-themeisle-toolbar-icon",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512"},wp.element.createElement(d,{fill:"currentColor",d:"M100.3 480H7.4V180.9h92.9V480zM53.8 140.1C24.1 140.1 0 115.5 0 85.8 0 56.1 24.1 32 53.8 32c29.7 0 53.8 24.1 53.8 53.8 0 29.7-24.1 54.3-53.8 54.3zM448 480h-92.7V334.4c0-34.7-.7-79.2-48.3-79.2-48.3 0-55.7 37.7-55.7 76.7V480h-92.8V180.9h89.1v40.8h1.3c12.4-23.5 42.7-48.3 87.9-48.3 94 0 111.3 61.9 111.3 142.3V480z"})):"pinterest"===t?wp.element.createElement(m,{className:"wp-block-themeisle-toolbar-icon",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 384 512"},wp.element.createElement(d,{fill:"currentColor",d:"M204 6.5C101.4 6.5 0 74.9 0 185.6 0 256 39.6 296 63.6 296c9.9 0 15.6-27.6 15.6-35.4 0-9.3-23.7-29.1-23.7-67.8 0-80.4 61.2-137.4 140.4-137.4 68.1 0 118.5 38.7 118.5 109.8 0 53.1-21.3 152.7-90.3 152.7-24.9 0-46.2-18-46.2-43.8 0-37.8 26.4-74.4 26.4-113.4 0-66.2-93.9-54.2-93.9 25.8 0 16.8 2.1 35.4 9.6 50.7-13.8 59.4-42 147.9-42 209.1 0 18.9 2.7 37.5 4.5 56.4 3.4 3.8 1.7 3.4 6.9 1.5 50.4-69 48.6-82.5 71.4-172.8 12.3 23.4 44.1 36 69.3 36 106.2 0 153.9-103.5 153.9-196.8C384 71.3 298.2 6.5 204 6.5z"})):"tumblr"===t?wp.element.createElement(m,{className:"wp-block-themeisle-toolbar-icon",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 320 512"},wp.element.createElement(d,{fill:"currentColor",d:"M309.8 480.3c-13.6 14.5-50 31.7-97.4 31.7-120.8 0-147-88.8-147-140.6v-144H17.9c-5.5 0-10-4.5-10-10v-68c0-7.2 4.5-13.6 11.3-16 62-21.8 81.5-76 84.3-117.1.8-11 6.5-16.3 16.1-16.3h70.9c5.5 0 10 4.5 10 10v115.2h83c5.5 0 10 4.4 10 9.9v81.7c0 5.5-4.5 10-10 10h-83.4V360c0 34.2 23.7 53.6 68 35.8 4.8-1.9 9-3.2 12.7-2.2 3.5.9 5.8 3.4 7.4 7.9l22 64.3c1.8 5 3.3 10.6-.4 14.5z"})):"reddit"===t?wp.element.createElement(m,{className:"wp-block-themeisle-toolbar-icon",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},wp.element.createElement(d,{fill:"currentColor",d:"M440.3 203.5c-15 0-28.2 6.2-37.9 15.9-35.7-24.7-83.8-40.6-137.1-42.3L293 52.3l88.2 19.8c0 21.6 17.6 39.2 39.2 39.2 22 0 39.7-18.1 39.7-39.7s-17.6-39.7-39.7-39.7c-15.4 0-28.7 9.3-35.3 22l-97.4-21.6c-4.9-1.3-9.7 2.2-11 7.1L246.3 177c-52.9 2.2-100.5 18.1-136.3 42.8-9.7-10.1-23.4-16.3-38.4-16.3-55.6 0-73.8 74.6-22.9 100.1-1.8 7.9-2.6 16.3-2.6 24.7 0 83.8 94.4 151.7 210.3 151.7 116.4 0 210.8-67.9 210.8-151.7 0-8.4-.9-17.2-3.1-25.1 49.9-25.6 31.5-99.7-23.8-99.7zM129.4 308.9c0-22 17.6-39.7 39.7-39.7 21.6 0 39.2 17.6 39.2 39.7 0 21.6-17.6 39.2-39.2 39.2-22 .1-39.7-17.6-39.7-39.2zm214.3 93.5c-36.4 36.4-139.1 36.4-175.5 0-4-3.5-4-9.7 0-13.7 3.5-3.5 9.7-3.5 13.2 0 27.8 28.5 120 29 149 0 3.5-3.5 9.7-3.5 13.2 0 4.1 4 4.1 10.2.1 13.7zm-.8-54.2c-21.6 0-39.2-17.6-39.2-39.2 0-22 17.6-39.7 39.2-39.7 22 0 39.7 17.6 39.7 39.7-.1 21.5-17.7 39.2-39.7 39.2z"})):wp.element.createElement(m,{className:"wp-block-themeisle-toolbar-icon",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},wp.element.createElement(d,{fill:"currentColor",d:"M208 88.286c0-10 6.286-21.714 17.715-21.714 11.142 0 17.714 11.714 17.714 21.714 0 10.285-6.572 21.714-17.714 21.714C214.286 110 208 98.571 208 88.286zm304 160c0 36.001-11.429 102.286-36.286 129.714-22.858 24.858-87.428 61.143-120.857 70.572l-1.143.286v32.571c0 16.286-12.572 30.571-29.143 30.571-10 0-19.429-5.714-24.572-14.286-5.427 8.572-14.856 14.286-24.856 14.286-10 0-19.429-5.714-24.858-14.286-5.142 8.572-14.571 14.286-24.57 14.286-10.286 0-19.429-5.714-24.858-14.286-5.143 8.572-14.571 14.286-24.571 14.286-18.857 0-29.429-15.714-29.429-32.857-16.286 12.285-35.715 19.428-56.571 19.428-22 0-43.429-8.285-60.286-22.857 10.285-.286 20.571-2.286 30.285-5.714-20.857-5.714-39.428-18.857-52-36.286 21.37 4.645 46.209 1.673 67.143-11.143-22-22-56.571-58.857-68.572-87.428C1.143 321.714 0 303.714 0 289.429c0-49.714 20.286-160 86.286-160 10.571 0 18.857 4.858 23.143 14.857a158.792 158.792 0 0 1 12-15.428c2-2.572 5.714-5.429 7.143-8.286 7.999-12.571 11.714-21.142 21.714-34C182.571 45.428 232 17.143 285.143 17.143c6 0 12 .285 17.714 1.143C313.714 6.571 328.857 0 344.572 0c14.571 0 29.714 6 40 16.286.857.858 1.428 2.286 1.428 3.428 0 3.714-10.285 13.429-12.857 16.286 4.286 1.429 15.714 6.858 15.714 12 0 2.857-2.857 5.143-4.571 7.143 31.429 27.714 49.429 67.143 56.286 108 4.286-5.143 10.285-8.572 17.143-8.572 10.571 0 20.857 7.144 28.571 14.001C507.143 187.143 512 221.714 512 248.286zM188 89.428c0 18.286 12.571 37.143 32.286 37.143 19.714 0 32.285-18.857 32.285-37.143 0-18-12.571-36.857-32.285-36.857-19.715 0-32.286 18.858-32.286 36.857zM237.714 194c0-19.714 3.714-39.143 8.571-58.286-52.039 79.534-13.531 184.571 68.858 184.571 21.428 0 42.571-7.714 60-20 2-7.429 3.714-14.857 3.714-22.572 0-14.286-6.286-21.428-20.572-21.428-4.571 0-9.143.857-13.429 1.714-63.343 12.668-107.142 3.669-107.142-63.999zm-41.142 254.858c0-11.143-8.858-20.857-20.286-20.857-11.429 0-20 9.715-20 20.857v32.571c0 11.143 8.571 21.142 20 21.142 11.428 0 20.286-9.715 20.286-21.142v-32.571zm49.143 0c0-11.143-8.572-20.857-20-20.857-11.429 0-20.286 9.715-20.286 20.857v32.571c0 11.143 8.857 21.142 20.286 21.142 11.428 0 20-10 20-21.142v-32.571zm49.713 0c0-11.143-8.857-20.857-20.285-20.857-11.429 0-20.286 9.715-20.286 20.857v32.571c0 11.143 8.857 21.142 20.286 21.142 11.428 0 20.285-9.715 20.285-21.142v-32.571zm49.715 0c0-11.143-8.857-20.857-20.286-20.857-11.428 0-20.286 9.715-20.286 20.857v32.571c0 11.143 8.858 21.142 20.286 21.142 11.429 0 20.286-10 20.286-21.142v-32.571zM421.714 286c-30.857 59.142-90.285 102.572-158.571 102.572-96.571 0-160.571-84.572-160.571-176.572 0-16.857 2-33.429 6-49.714-20 33.715-29.714 72.572-29.714 111.429 0 60.286 24.857 121.715 71.429 160.857 5.143-9.714 14.857-16.286 26-16.286 10 0 19.428 5.714 24.571 14.286 5.429-8.571 14.571-14.286 24.858-14.286 10 0 19.428 5.714 24.571 14.286 5.429-8.571 14.857-14.286 24.858-14.286 10 0 19.428 5.714 24.857 14.286 5.143-8.571 14.571-14.286 24.572-14.286 10.857 0 20.857 6.572 25.714 16 43.427-36.286 68.569-92 71.426-148.286zm10.572-99.714c0-53.714-34.571-105.714-92.572-105.714-30.285 0-58.571 15.143-78.857 36.857C240.862 183.812 233.41 254 302.286 254c28.805 0 97.357-28.538 84.286 36.857 28.857-26 45.714-65.714 45.714-104.571z"}))};var u=wp.i18n.__,b=wp.blockEditor.BlockControls,g=wp.components,f=g.Toolbar,y=g.Button,h=g.Tooltip,w=function(e){var t=e.attributes,n=e.setAttributes,a=function(e){var a,l,o;n((a={},l=e,o=!t[e],l in a?Object.defineProperty(a,l,{value:o,enumerable:!0,configurable:!0,writable:!0}):a[l]=o,a))};return wp.element.createElement(b,null,wp.element.createElement(f,null,Object.keys(c).map((function(e){var n=t[e];return wp.element.createElement(h,{text:u("Display ".concat(c[e].label))},wp.element.createElement(y,{className:r()("components-button","wp-block-themeisle-toolbar",{"is-active":n}),onClick:function(){return a(e)}},wp.element.createElement(s,{icon:e})))}))))};function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function k(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){T(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function T(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var E=wp.components.Disabled,x=wp.element.Fragment,C=wp.serverSideRender,S=function(e){var t=e.attributes,n=e.setAttributes;return wp.element.createElement(x,null,wp.element.createElement(w,{attributes:t,setAttributes:n}),wp.element.createElement(E,null,wp.element.createElement(C,{block:"themeisle-blocks/sharing-icons",attributes:k({},t)})))},M=wp.i18n.__;(0,wp.blocks.registerBlockType)("themeisle-blocks/sharing-icons",{title:M("Sharing Icons"),description:M("Share buttons for your website visitors to share content on any social sharing service."),icon:a.r,category:"themeisle-blocks",keywords:["social media","sharing","icons"],attributes:l,supports:{html:!0,align:["left","center","right"]},styles:[{name:"default",label:M("Regular"),isDefault:!0},{name:"icons",label:M("Icons Only")}],edit:S,save:function(){return null}})},function(e,t,n){"use strict";n.r(t);n(73),n(74);var a=n(3),l={slug:{type:"string"}},o=n(43);n(1);function r(e,t,n,a,l,o,r){try{var i=e[o](r),c=i.value}catch(e){return void n(e)}i.done?t(c):Promise.resolve(c).then(a,l)}function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return c(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var p=wp.i18n.__,d=wp.apiFetch,m=wp.components,s=m.Placeholder,u=m.Dashicon,b=m.TextControl,g=m.Spinner,f=wp.element,y=f.useEffect,h=f.useRef,w=f.useState,v=wp.keycodes,k=v.DOWN,T=v.ENTER,E=v.TAB,x=v.UP,C=function(e){var t=e.setAttributes,n=e.hasError,a=e.setError,l=e.className,c=h(null),m=!1,f=[],v=i(w(!1),2),C=v[0],S=v[1],M=i(w(""),2),B=M[0],O=M[1],R=i(w({}),2),A=R[0],L=R[1],P=i(w(null),2),N=P[0],I=P[1];y((function(){null===N||m||(m=!0,Object(o.a)(f[N],c.current,{onlyScrollIfNeeded:!0}),f[N].focus(),setTimeout((function(){m=!1}),100))}),[N]);var j=function(){var e,n=(e=regeneratorRuntime.mark((function e(n){var l;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t({slug:""}),S(!0),a(!1),e.next=5,d({path:"themeisle-gutenberg-blocks/v1/get_plugins?search=".concat(encodeURIComponent(n))});case 5:if(!(l=e.sent).data.errors){e.next=12;break}return a(!0),S(!1),I(null),L({}),e.abrupt("return");case 12:S(!1),I(null),L(l.data.plugins);case 15:case"end":return e.stop()}}),e)})),function(){var t=this,n=arguments;return new Promise((function(a,l){var o=e.apply(t,n);function i(e){r(o,a,l,i,c,"next",e)}function c(e){r(o,a,l,i,c,"throw",e)}i(void 0)}))});return function(e){return n.apply(this,arguments)}}(),z=function(e){if(Object.keys(A).length){e.stopPropagation(),e.preventDefault();var t=N?N-1:Object.keys(A).length-1;I(t)}},H=function(e){if(Object.keys(A).length){e.stopPropagation(),e.preventDefault();var t=null===N||N===Object.keys(A).length-1?0:N+1;I(t)}},D=function(e){t({slug:e.slug}),L({})};return wp.element.createElement(s,{icon:"admin-plugins",label:p("Plugin Card"),instructions:p("Search for the plugin you want to display."),className:l},wp.element.createElement("div",{className:"wp-block-themeisle-blocks-plugin-cards-search-field"},wp.element.createElement(u,{icon:"search"}),C&&wp.element.createElement(g,null),wp.element.createElement(b,{type:"text",placeholder:p("Search for plugin…"),value:B,onChange:O,onKeyDown:function(e){switch(e.keyCode){case x:z(e);break;case k:H(e);break;case E:Object.keys(A).length&&!e.shiftKey&&I(0);break;case T:j(e.target.value)}},onFocus:function(){return I(null)}}),A&&wp.element.createElement("div",{tabIndex:"-1",className:"wp-block-themeisle-blocks-plugin-cards-search-results",ref:c},Object.keys(A).map((function(e){var t,n,a=A[e];return a.icons.svg&&(t=a.icons.svg),a.icons["2x"]&&(t=a.icons["2x"]),a.icons["1x"]&&(t=a.icons["1x"]),a.icons.default&&(t=a.icons.default),wp.element.createElement("button",{className:"wp-block-themeisle-blocks-plugin-cards-list-item",key:e,ref:(n=e,function(e){f[n]=e}),onClick:function(e){e.preventDefault(),D(a)},onKeyDown:function(e){return function(e,t){switch(e.keyCode){case x:z(e);break;case k:H(e);break;case E:if(e.shiftKey){0!==N&&z(e);break}if(N===Object.keys(A).length-1)break;H(e);break;case T:D(t)}}(e,a)}},wp.element.createElement("img",{src:t}),wp.element.createElement("span",{dangerouslySetInnerHTML:{__html:_.unescape(a.name)}}))})))),n&&wp.element.createElement("div",{className:"wp-block-themeisle-blocks-plugin-cards-error"},wp.element.createElement("span",null,p("There seems to be an error. Make sure your internet is working properly."))))},S=wp.i18n.__,M=wp.components,B=M.Dashicon,O=M.Button,R=M.Toolbar,A=M.Tooltip,L=wp.blockEditor.BlockControls,P=function(e){var t=e.setLoaded;return wp.element.createElement(L,null,wp.element.createElement(R,null,wp.element.createElement(A,{text:S("Edit")},wp.element.createElement(O,{className:"components-icon-button components-toolbar__control wp-block-themeisle-blocks-plugin-cards-edit-plugin-card",onClick:function(){return t(!1)}},wp.element.createElement(B,{icon:"edit"})))))};function N(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function I(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?N(Object(n),!0).forEach((function(t){j(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):N(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function j(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function z(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return H(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return H(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function H(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var D=wp.components.Disabled,G=wp.serverSideRender,V=wp.element,F=V.Fragment,W=V.useState,U=function(e){var t=e.attributes,n=e.setAttributes,a=e.className,l=z(W(!1),2),o=l[0],r=l[1];return t.slug?wp.element.createElement(F,null,wp.element.createElement(P,null),wp.element.createElement(D,null,wp.element.createElement(G,{block:"themeisle-blocks/plugin-cards",attributes:I({},t)}))):wp.element.createElement(C,{attributes:t,setAttributes:n,hasError:o,setError:r,className:a})},q=wp.i18n.__;(0,wp.blocks.registerBlockType)("themeisle-blocks/plugin-cards",{title:q("Plugin Card"),description:q("Plugin Card block lets you display plugins data in your blog posts."),icon:a.n,category:"themeisle-blocks",keywords:["plugin","card","orbitfox"],attributes:l,supports:{html:!1},edit:U,save:function(){return null}})},function(e,t,n){"use strict";n.r(t);n(58),n(59);var a=n(3),l=(n(1),wp.components.Disabled),o=wp.serverSideRender,r=function(){return wp.element.createElement(l,null,wp.element.createElement(o,{block:"themeisle-blocks/about-author"}))},i=wp.i18n.__;(0,wp.blocks.registerBlockType)("themeisle-blocks/about-author",{title:i("About Author"),description:i("About Author block is the easiest way to add a author bio below your posts."),icon:a.a,category:"themeisle-blocks",keywords:["about","author","profile"],supports:{html:!1},edit:r,save:function(){return null}})}]);
vendor/codeinwp/gutenberg-blocks/build/chunk-1.js CHANGED
@@ -1 +1 @@
1
- (window.tiOtterWebpackJsonp=window.tiOtterWebpackJsonp||[]).push([[1],{105:function(e){e.exports=JSON.parse('{"500px":{"search":{"terms":[]},"styles":["brands"],"unicode":"f26e","label":"500px"},"accessible-icon":{"search":{"terms":["accessibility","handicap","person","wheelchair","wheelchair-alt"]},"styles":["brands"],"unicode":"f368","label":"Accessible Icon"},"accusoft":{"search":{"terms":[]},"styles":["brands"],"unicode":"f369","label":"Accusoft"},"acquisitions-incorporated":{"search":{"terms":["Dungeons & Dragons","d&d","dnd","fantasy","game","gaming","tabletop"]},"styles":["brands"],"unicode":"f6af","label":"Acquisitions Incorporated"},"ad":{"search":{"terms":["advertisement","media","newspaper","promotion","publicity"]},"styles":["solid"],"unicode":"f641","label":"Ad"},"address-book":{"search":{"terms":["contact","directory","index","little black book","rolodex"]},"styles":["solid","regular"],"unicode":"f2b9","label":"Address Book"},"address-card":{"search":{"terms":["about","contact","id","identification","postcard","profile"]},"styles":["solid","regular"],"unicode":"f2bb","label":"Address Card"},"adjust":{"search":{"terms":["contrast","dark","light","saturation"]},"styles":["solid"],"unicode":"f042","label":"adjust"},"adn":{"search":{"terms":[]},"styles":["brands"],"unicode":"f170","label":"App.net"},"adobe":{"search":{"terms":["acrobat","app","design","illustrator","indesign","photoshop"]},"styles":["brands"],"unicode":"f778","label":"Adobe"},"adversal":{"search":{"terms":[]},"styles":["brands"],"unicode":"f36a","label":"Adversal"},"affiliatetheme":{"search":{"terms":[]},"styles":["brands"],"unicode":"f36b","label":"affiliatetheme"},"air-freshener":{"search":{"terms":["car","deodorize","fresh","pine","scent"]},"styles":["solid"],"unicode":"f5d0","label":"Air Freshener"},"airbnb":{"search":{"terms":[]},"styles":["brands"],"unicode":"f834","label":"Airbnb"},"algolia":{"search":{"terms":[]},"styles":["brands"],"unicode":"f36c","label":"Algolia"},"align-center":{"search":{"terms":["format","middle","paragraph","text"]},"styles":["solid"],"unicode":"f037","label":"align-center"},"align-justify":{"search":{"terms":["format","paragraph","text"]},"styles":["solid"],"unicode":"f039","label":"align-justify"},"align-left":{"search":{"terms":["format","paragraph","text"]},"styles":["solid"],"unicode":"f036","label":"align-left"},"align-right":{"search":{"terms":["format","paragraph","text"]},"styles":["solid"],"unicode":"f038","label":"align-right"},"alipay":{"search":{"terms":[]},"styles":["brands"],"unicode":"f642","label":"Alipay"},"allergies":{"search":{"terms":["allergy","freckles","hand","hives","pox","skin","spots"]},"styles":["solid"],"unicode":"f461","label":"Allergies"},"amazon":{"search":{"terms":[]},"styles":["brands"],"unicode":"f270","label":"Amazon"},"amazon-pay":{"search":{"terms":[]},"styles":["brands"],"unicode":"f42c","label":"Amazon Pay"},"ambulance":{"search":{"terms":["covid-19","emergency","emt","er","help","hospital","support","vehicle"]},"styles":["solid"],"unicode":"f0f9","label":"ambulance"},"american-sign-language-interpreting":{"search":{"terms":["asl","deaf","finger","hand","interpret","speak"]},"styles":["solid"],"unicode":"f2a3","label":"American Sign Language Interpreting"},"amilia":{"search":{"terms":[]},"styles":["brands"],"unicode":"f36d","label":"Amilia"},"anchor":{"search":{"terms":["berth","boat","dock","embed","link","maritime","moor","secure"]},"styles":["solid"],"unicode":"f13d","label":"Anchor"},"android":{"search":{"terms":["robot"]},"styles":["brands"],"unicode":"f17b","label":"Android"},"angellist":{"search":{"terms":[]},"styles":["brands"],"unicode":"f209","label":"AngelList"},"angle-double-down":{"search":{"terms":["arrows","caret","download","expand"]},"styles":["solid"],"unicode":"f103","label":"Angle Double Down"},"angle-double-left":{"search":{"terms":["arrows","back","caret","laquo","previous","quote"]},"styles":["solid"],"unicode":"f100","label":"Angle Double Left"},"angle-double-right":{"search":{"terms":["arrows","caret","forward","more","next","quote","raquo"]},"styles":["solid"],"unicode":"f101","label":"Angle Double Right"},"angle-double-up":{"search":{"terms":["arrows","caret","collapse","upload"]},"styles":["solid"],"unicode":"f102","label":"Angle Double Up"},"angle-down":{"search":{"terms":["arrow","caret","download","expand"]},"styles":["solid"],"unicode":"f107","label":"angle-down"},"angle-left":{"search":{"terms":["arrow","back","caret","less","previous"]},"styles":["solid"],"unicode":"f104","label":"angle-left"},"angle-right":{"search":{"terms":["arrow","care","forward","more","next"]},"styles":["solid"],"unicode":"f105","label":"angle-right"},"angle-up":{"search":{"terms":["arrow","caret","collapse","upload"]},"styles":["solid"],"unicode":"f106","label":"angle-up"},"angry":{"search":{"terms":["disapprove","emoticon","face","mad","upset"]},"styles":["solid","regular"],"unicode":"f556","label":"Angry Face"},"angrycreative":{"search":{"terms":[]},"styles":["brands"],"unicode":"f36e","label":"Angry Creative"},"angular":{"search":{"terms":[]},"styles":["brands"],"unicode":"f420","label":"Angular"},"ankh":{"search":{"terms":["amulet","copper","coptic christianity","copts","crux ansata","egypt","venus"]},"styles":["solid"],"unicode":"f644","label":"Ankh"},"app-store":{"search":{"terms":[]},"styles":["brands"],"unicode":"f36f","label":"App Store"},"app-store-ios":{"search":{"terms":[]},"styles":["brands"],"unicode":"f370","label":"iOS App Store"},"apper":{"search":{"terms":[]},"styles":["brands"],"unicode":"f371","label":"Apper Systems AB"},"apple":{"search":{"terms":["fruit","ios","mac","operating system","os","osx"]},"styles":["brands"],"unicode":"f179","label":"Apple"},"apple-alt":{"search":{"terms":["fall","fruit","fuji","macintosh","orchard","seasonal","vegan"]},"styles":["solid"],"unicode":"f5d1","label":"Fruit Apple"},"apple-pay":{"search":{"terms":[]},"styles":["brands"],"unicode":"f415","label":"Apple Pay"},"archive":{"search":{"terms":["box","package","save","storage"]},"styles":["solid"],"unicode":"f187","label":"Archive"},"archway":{"search":{"terms":["arc","monument","road","street","tunnel"]},"styles":["solid"],"unicode":"f557","label":"Archway"},"arrow-alt-circle-down":{"search":{"terms":["arrow-circle-o-down","download"]},"styles":["solid","regular"],"unicode":"f358","label":"Alternate Arrow Circle Down"},"arrow-alt-circle-left":{"search":{"terms":["arrow-circle-o-left","back","previous"]},"styles":["solid","regular"],"unicode":"f359","label":"Alternate Arrow Circle Left"},"arrow-alt-circle-right":{"search":{"terms":["arrow-circle-o-right","forward","next"]},"styles":["solid","regular"],"unicode":"f35a","label":"Alternate Arrow Circle Right"},"arrow-alt-circle-up":{"search":{"terms":["arrow-circle-o-up"]},"styles":["solid","regular"],"unicode":"f35b","label":"Alternate Arrow Circle Up"},"arrow-circle-down":{"search":{"terms":["download"]},"styles":["solid"],"unicode":"f0ab","label":"Arrow Circle Down"},"arrow-circle-left":{"search":{"terms":["back","previous"]},"styles":["solid"],"unicode":"f0a8","label":"Arrow Circle Left"},"arrow-circle-right":{"search":{"terms":["forward","next"]},"styles":["solid"],"unicode":"f0a9","label":"Arrow Circle Right"},"arrow-circle-up":{"search":{"terms":["upload"]},"styles":["solid"],"unicode":"f0aa","label":"Arrow Circle Up"},"arrow-down":{"search":{"terms":["download"]},"styles":["solid"],"unicode":"f063","label":"arrow-down"},"arrow-left":{"search":{"terms":["back","previous"]},"styles":["solid"],"unicode":"f060","label":"arrow-left"},"arrow-right":{"search":{"terms":["forward","next"]},"styles":["solid"],"unicode":"f061","label":"arrow-right"},"arrow-up":{"search":{"terms":["forward","upload"]},"styles":["solid"],"unicode":"f062","label":"arrow-up"},"arrows-alt":{"search":{"terms":["arrow","arrows","bigger","enlarge","expand","fullscreen","move","position","reorder","resize"]},"styles":["solid"],"unicode":"f0b2","label":"Alternate Arrows"},"arrows-alt-h":{"search":{"terms":["arrows-h","expand","horizontal","landscape","resize","wide"]},"styles":["solid"],"unicode":"f337","label":"Alternate Arrows Horizontal"},"arrows-alt-v":{"search":{"terms":["arrows-v","expand","portrait","resize","tall","vertical"]},"styles":["solid"],"unicode":"f338","label":"Alternate Arrows Vertical"},"artstation":{"search":{"terms":[]},"styles":["brands"],"unicode":"f77a","label":"Artstation"},"assistive-listening-systems":{"search":{"terms":["amplify","audio","deaf","ear","headset","hearing","sound"]},"styles":["solid"],"unicode":"f2a2","label":"Assistive Listening Systems"},"asterisk":{"search":{"terms":["annotation","details","reference","star"]},"styles":["solid"],"unicode":"f069","label":"asterisk"},"asymmetrik":{"search":{"terms":[]},"styles":["brands"],"unicode":"f372","label":"Asymmetrik, Ltd."},"at":{"search":{"terms":["address","author","e-mail","email","handle"]},"styles":["solid"],"unicode":"f1fa","label":"At"},"atlas":{"search":{"terms":["book","directions","geography","globe","map","travel","wayfinding"]},"styles":["solid"],"unicode":"f558","label":"Atlas"},"atlassian":{"search":{"terms":[]},"styles":["brands"],"unicode":"f77b","label":"Atlassian"},"atom":{"search":{"terms":["atheism","chemistry","electron","ion","isotope","neutron","nuclear","proton","science"]},"styles":["solid"],"unicode":"f5d2","label":"Atom"},"audible":{"search":{"terms":[]},"styles":["brands"],"unicode":"f373","label":"Audible"},"audio-description":{"search":{"terms":["blind","narration","video","visual"]},"styles":["solid"],"unicode":"f29e","label":"Audio Description"},"autoprefixer":{"search":{"terms":[]},"styles":["brands"],"unicode":"f41c","label":"Autoprefixer"},"avianex":{"search":{"terms":[]},"styles":["brands"],"unicode":"f374","label":"avianex"},"aviato":{"search":{"terms":[]},"styles":["brands"],"unicode":"f421","label":"Aviato"},"award":{"search":{"terms":["honor","praise","prize","recognition","ribbon","trophy"]},"styles":["solid"],"unicode":"f559","label":"Award"},"aws":{"search":{"terms":[]},"styles":["brands"],"unicode":"f375","label":"Amazon Web Services (AWS)"},"baby":{"search":{"terms":["child","diaper","doll","human","infant","kid","offspring","person","sprout"]},"styles":["solid"],"unicode":"f77c","label":"Baby"},"baby-carriage":{"search":{"terms":["buggy","carrier","infant","push","stroller","transportation","walk","wheels"]},"styles":["solid"],"unicode":"f77d","label":"Baby Carriage"},"backspace":{"search":{"terms":["command","delete","erase","keyboard","undo"]},"styles":["solid"],"unicode":"f55a","label":"Backspace"},"backward":{"search":{"terms":["previous","rewind"]},"styles":["solid"],"unicode":"f04a","label":"backward"},"bacon":{"search":{"terms":["blt","breakfast","ham","lard","meat","pancetta","pork","rasher"]},"styles":["solid"],"unicode":"f7e5","label":"Bacon"},"bahai":{"search":{"terms":["bahai","bahá\'í","star"]},"styles":["solid"],"unicode":"f666","label":"Bahá\'í"},"balance-scale":{"search":{"terms":["balanced","justice","legal","measure","weight"]},"styles":["solid"],"unicode":"f24e","label":"Balance Scale"},"balance-scale-left":{"search":{"terms":["justice","legal","measure","unbalanced","weight"]},"styles":["solid"],"unicode":"f515","label":"Balance Scale (Left-Weighted)"},"balance-scale-right":{"search":{"terms":["justice","legal","measure","unbalanced","weight"]},"styles":["solid"],"unicode":"f516","label":"Balance Scale (Right-Weighted)"},"ban":{"search":{"terms":["abort","ban","block","cancel","delete","hide","prohibit","remove","stop","trash"]},"styles":["solid"],"unicode":"f05e","label":"ban"},"band-aid":{"search":{"terms":["bandage","boo boo","first aid","ouch"]},"styles":["solid"],"unicode":"f462","label":"Band-Aid"},"bandcamp":{"search":{"terms":[]},"styles":["brands"],"unicode":"f2d5","label":"Bandcamp"},"barcode":{"search":{"terms":["info","laser","price","scan","upc"]},"styles":["solid"],"unicode":"f02a","label":"barcode"},"bars":{"search":{"terms":["checklist","drag","hamburger","list","menu","nav","navigation","ol","reorder","settings","todo","ul"]},"styles":["solid"],"unicode":"f0c9","label":"Bars"},"baseball-ball":{"search":{"terms":["foul","hardball","league","leather","mlb","softball","sport"]},"styles":["solid"],"unicode":"f433","label":"Baseball Ball"},"basketball-ball":{"search":{"terms":["dribble","dunk","hoop","nba"]},"styles":["solid"],"unicode":"f434","label":"Basketball Ball"},"bath":{"search":{"terms":["clean","shower","tub","wash"]},"styles":["solid"],"unicode":"f2cd","label":"Bath"},"battery-empty":{"search":{"terms":["charge","dead","power","status"]},"styles":["solid"],"unicode":"f244","label":"Battery Empty"},"battery-full":{"search":{"terms":["charge","power","status"]},"styles":["solid"],"unicode":"f240","label":"Battery Full"},"battery-half":{"search":{"terms":["charge","power","status"]},"styles":["solid"],"unicode":"f242","label":"Battery 1/2 Full"},"battery-quarter":{"search":{"terms":["charge","low","power","status"]},"styles":["solid"],"unicode":"f243","label":"Battery 1/4 Full"},"battery-three-quarters":{"search":{"terms":["charge","power","status"]},"styles":["solid"],"unicode":"f241","label":"Battery 3/4 Full"},"battle-net":{"search":{"terms":[]},"styles":["brands"],"unicode":"f835","label":"Battle.net"},"bed":{"search":{"terms":["lodging","mattress","rest","sleep","travel"]},"styles":["solid"],"unicode":"f236","label":"Bed"},"beer":{"search":{"terms":["alcohol","ale","bar","beverage","brewery","drink","lager","liquor","mug","stein"]},"styles":["solid"],"unicode":"f0fc","label":"beer"},"behance":{"search":{"terms":[]},"styles":["brands"],"unicode":"f1b4","label":"Behance"},"behance-square":{"search":{"terms":[]},"styles":["brands"],"unicode":"f1b5","label":"Behance Square"},"bell":{"search":{"terms":["alarm","alert","chime","notification","reminder"]},"styles":["solid","regular"],"unicode":"f0f3","label":"bell"},"bell-slash":{"search":{"terms":["alert","cancel","disabled","notification","off","reminder"]},"styles":["solid","regular"],"unicode":"f1f6","label":"Bell Slash"},"bezier-curve":{"search":{"terms":["curves","illustrator","lines","path","vector"]},"styles":["solid"],"unicode":"f55b","label":"Bezier Curve"},"bible":{"search":{"terms":["book","catholicism","christianity","god","holy"]},"styles":["solid"],"unicode":"f647","label":"Bible"},"bicycle":{"search":{"terms":["bike","gears","pedal","transportation","vehicle"]},"styles":["solid"],"unicode":"f206","label":"Bicycle"},"biking":{"search":{"terms":["bicycle","bike","cycle","cycling","ride","wheel"]},"styles":["solid"],"unicode":"f84a","label":"Biking"},"bimobject":{"search":{"terms":[]},"styles":["brands"],"unicode":"f378","label":"BIMobject"},"binoculars":{"search":{"terms":["glasses","magnify","scenic","spyglass","view"]},"styles":["solid"],"unicode":"f1e5","label":"Binoculars"},"biohazard":{"search":{"terms":["covid-19","danger","dangerous","hazmat","medical","radioactive","toxic","waste","zombie"]},"styles":["solid"],"unicode":"f780","label":"Biohazard"},"birthday-cake":{"search":{"terms":["anniversary","bakery","candles","celebration","dessert","frosting","holiday","party","pastry"]},"styles":["solid"],"unicode":"f1fd","label":"Birthday Cake"},"bitbucket":{"search":{"terms":["atlassian","bitbucket-square","git"]},"styles":["brands"],"unicode":"f171","label":"Bitbucket"},"bitcoin":{"search":{"terms":[]},"styles":["brands"],"unicode":"f379","label":"Bitcoin"},"bity":{"search":{"terms":[]},"styles":["brands"],"unicode":"f37a","label":"Bity"},"black-tie":{"search":{"terms":[]},"styles":["brands"],"unicode":"f27e","label":"Font Awesome Black Tie"},"blackberry":{"search":{"terms":[]},"styles":["brands"],"unicode":"f37b","label":"BlackBerry"},"blender":{"search":{"terms":["cocktail","milkshake","mixer","puree","smoothie"]},"styles":["solid"],"unicode":"f517","label":"Blender"},"blender-phone":{"search":{"terms":["appliance","cocktail","communication","fantasy","milkshake","mixer","puree","silly","smoothie"]},"styles":["solid"],"unicode":"f6b6","label":"Blender Phone"},"blind":{"search":{"terms":["cane","disability","person","sight"]},"styles":["solid"],"unicode":"f29d","label":"Blind"},"blog":{"search":{"terms":["journal","log","online","personal","post","web 2.0","wordpress","writing"]},"styles":["solid"],"unicode":"f781","label":"Blog"},"blogger":{"search":{"terms":[]},"styles":["brands"],"unicode":"f37c","label":"Blogger"},"blogger-b":{"search":{"terms":[]},"styles":["brands"],"unicode":"f37d","label":"Blogger B"},"bluetooth":{"search":{"terms":[]},"styles":["brands"],"unicode":"f293","label":"Bluetooth"},"bluetooth-b":{"search":{"terms":[]},"styles":["brands"],"unicode":"f294","label":"Bluetooth"},"bold":{"search":{"terms":["emphasis","format","text"]},"styles":["solid"],"unicode":"f032","label":"bold"},"bolt":{"search":{"terms":["electricity","lightning","weather","zap"]},"styles":["solid"],"unicode":"f0e7","label":"Lightning Bolt"},"bomb":{"search":{"terms":["error","explode","fuse","grenade","warning"]},"styles":["solid"],"unicode":"f1e2","label":"Bomb"},"bone":{"search":{"terms":["calcium","dog","skeletal","skeleton","tibia"]},"styles":["solid"],"unicode":"f5d7","label":"Bone"},"bong":{"search":{"terms":["aparatus","cannabis","marijuana","pipe","smoke","smoking"]},"styles":["solid"],"unicode":"f55c","label":"Bong"},"book":{"search":{"terms":["diary","documentation","journal","library","read"]},"styles":["solid"],"unicode":"f02d","label":"book"},"book-dead":{"search":{"terms":["Dungeons & Dragons","crossbones","d&d","dark arts","death","dnd","documentation","evil","fantasy","halloween","holiday","necronomicon","read","skull","spell"]},"styles":["solid"],"unicode":"f6b7","label":"Book of the Dead"},"book-medical":{"search":{"terms":["diary","documentation","health","history","journal","library","read","record"]},"styles":["solid"],"unicode":"f7e6","label":"Medical Book"},"book-open":{"search":{"terms":["flyer","library","notebook","open book","pamphlet","reading"]},"styles":["solid"],"unicode":"f518","label":"Book Open"},"book-reader":{"search":{"terms":["flyer","library","notebook","open book","pamphlet","reading"]},"styles":["solid"],"unicode":"f5da","label":"Book Reader"},"bookmark":{"search":{"terms":["favorite","marker","read","remember","save"]},"styles":["solid","regular"],"unicode":"f02e","label":"bookmark"},"bootstrap":{"search":{"terms":[]},"styles":["brands"],"unicode":"f836","label":"Bootstrap"},"border-all":{"search":{"terms":["cell","grid","outline","stroke","table"]},"styles":["solid"],"unicode":"f84c","label":"Border All"},"border-none":{"search":{"terms":["cell","grid","outline","stroke","table"]},"styles":["solid"],"unicode":"f850","label":"Border None"},"border-style":{"search":{"terms":[]},"styles":["solid"],"unicode":"f853","label":"Border Style"},"bowling-ball":{"search":{"terms":["alley","candlepin","gutter","lane","strike","tenpin"]},"styles":["solid"],"unicode":"f436","label":"Bowling Ball"},"box":{"search":{"terms":["archive","container","package","storage"]},"styles":["solid"],"unicode":"f466","label":"Box"},"box-open":{"search":{"terms":["archive","container","package","storage","unpack"]},"styles":["solid"],"unicode":"f49e","label":"Box Open"},"box-tissue":{"search":{"terms":["cough","covid-19","kleenex","mucus","nose","sneeze","snot"]},"styles":["solid"],"unicode":"f95b","label":"Tissue Box"},"boxes":{"search":{"terms":["archives","inventory","storage","warehouse"]},"styles":["solid"],"unicode":"f468","label":"Boxes"},"braille":{"search":{"terms":["alphabet","blind","dots","raised","vision"]},"styles":["solid"],"unicode":"f2a1","label":"Braille"},"brain":{"search":{"terms":["cerebellum","gray matter","intellect","medulla oblongata","mind","noodle","wit"]},"styles":["solid"],"unicode":"f5dc","label":"Brain"},"bread-slice":{"search":{"terms":["bake","bakery","baking","dough","flour","gluten","grain","sandwich","sourdough","toast","wheat","yeast"]},"styles":["solid"],"unicode":"f7ec","label":"Bread Slice"},"briefcase":{"search":{"terms":["bag","business","luggage","office","work"]},"styles":["solid"],"unicode":"f0b1","label":"Briefcase"},"briefcase-medical":{"search":{"terms":["doctor","emt","first aid","health"]},"styles":["solid"],"unicode":"f469","label":"Medical Briefcase"},"broadcast-tower":{"search":{"terms":["airwaves","antenna","radio","reception","waves"]},"styles":["solid"],"unicode":"f519","label":"Broadcast Tower"},"broom":{"search":{"terms":["clean","firebolt","fly","halloween","nimbus 2000","quidditch","sweep","witch"]},"styles":["solid"],"unicode":"f51a","label":"Broom"},"brush":{"search":{"terms":["art","bristles","color","handle","paint"]},"styles":["solid"],"unicode":"f55d","label":"Brush"},"btc":{"search":{"terms":[]},"styles":["brands"],"unicode":"f15a","label":"BTC"},"buffer":{"search":{"terms":[]},"styles":["brands"],"unicode":"f837","label":"Buffer"},"bug":{"search":{"terms":["beetle","error","insect","report"]},"styles":["solid"],"unicode":"f188","label":"Bug"},"building":{"search":{"terms":["apartment","business","city","company","office","work"]},"styles":["solid","regular"],"unicode":"f1ad","label":"Building"},"bullhorn":{"search":{"terms":["announcement","broadcast","louder","megaphone","share"]},"styles":["solid"],"unicode":"f0a1","label":"bullhorn"},"bullseye":{"search":{"terms":["archery","goal","objective","target"]},"styles":["solid"],"unicode":"f140","label":"Bullseye"},"burn":{"search":{"terms":["caliente","energy","fire","flame","gas","heat","hot"]},"styles":["solid"],"unicode":"f46a","label":"Burn"},"buromobelexperte":{"search":{"terms":[]},"styles":["brands"],"unicode":"f37f","label":"Büromöbel-Experte GmbH & Co. KG."},"bus":{"search":{"terms":["public transportation","transportation","travel","vehicle"]},"styles":["solid"],"unicode":"f207","label":"Bus"},"bus-alt":{"search":{"terms":["mta","public transportation","transportation","travel","vehicle"]},"styles":["solid"],"unicode":"f55e","label":"Bus Alt"},"business-time":{"search":{"terms":["alarm","briefcase","business socks","clock","flight of the conchords","reminder","wednesday"]},"styles":["solid"],"unicode":"f64a","label":"Business Time"},"buy-n-large":{"search":{"terms":[]},"styles":["brands"],"unicode":"f8a6","label":"Buy n Large"},"buysellads":{"search":{"terms":[]},"styles":["brands"],"unicode":"f20d","label":"BuySellAds"},"calculator":{"search":{"terms":["abacus","addition","arithmetic","counting","math","multiplication","subtraction"]},"styles":["solid"],"unicode":"f1ec","label":"Calculator"},"calendar":{"search":{"terms":["calendar-o","date","event","schedule","time","when"]},"styles":["solid","regular"],"unicode":"f133","label":"Calendar"},"calendar-alt":{"search":{"terms":["calendar","date","event","schedule","time","when"]},"styles":["solid","regular"],"unicode":"f073","label":"Alternate Calendar"},"calendar-check":{"search":{"terms":["accept","agree","appointment","confirm","correct","date","done","event","ok","schedule","select","success","tick","time","todo","when"]},"styles":["solid","regular"],"unicode":"f274","label":"Calendar Check"},"calendar-day":{"search":{"terms":["date","detail","event","focus","schedule","single day","time","today","when"]},"styles":["solid"],"unicode":"f783","label":"Calendar with Day Focus"},"calendar-minus":{"search":{"terms":["calendar","date","delete","event","negative","remove","schedule","time","when"]},"styles":["solid","regular"],"unicode":"f272","label":"Calendar Minus"},"calendar-plus":{"search":{"terms":["add","calendar","create","date","event","new","positive","schedule","time","when"]},"styles":["solid","regular"],"unicode":"f271","label":"Calendar Plus"},"calendar-times":{"search":{"terms":["archive","calendar","date","delete","event","remove","schedule","time","when","x"]},"styles":["solid","regular"],"unicode":"f273","label":"Calendar Times"},"calendar-week":{"search":{"terms":["date","detail","event","focus","schedule","single week","time","today","when"]},"styles":["solid"],"unicode":"f784","label":"Calendar with Week Focus"},"camera":{"search":{"terms":["image","lens","photo","picture","record","shutter","video"]},"styles":["solid"],"unicode":"f030","label":"camera"},"camera-retro":{"search":{"terms":["image","lens","photo","picture","record","shutter","video"]},"styles":["solid"],"unicode":"f083","label":"Retro Camera"},"campground":{"search":{"terms":["camping","fall","outdoors","teepee","tent","tipi"]},"styles":["solid"],"unicode":"f6bb","label":"Campground"},"canadian-maple-leaf":{"search":{"terms":["canada","flag","flora","nature","plant"]},"styles":["brands"],"unicode":"f785","label":"Canadian Maple Leaf"},"candy-cane":{"search":{"terms":["candy","christmas","holiday","mint","peppermint","striped","xmas"]},"styles":["solid"],"unicode":"f786","label":"Candy Cane"},"cannabis":{"search":{"terms":["bud","chronic","drugs","endica","endo","ganja","marijuana","mary jane","pot","reefer","sativa","spliff","weed","whacky-tabacky"]},"styles":["solid"],"unicode":"f55f","label":"Cannabis"},"capsules":{"search":{"terms":["drugs","medicine","pills","prescription"]},"styles":["solid"],"unicode":"f46b","label":"Capsules"},"car":{"search":{"terms":["auto","automobile","sedan","transportation","travel","vehicle"]},"styles":["solid"],"unicode":"f1b9","label":"Car"},"car-alt":{"search":{"terms":["auto","automobile","sedan","transportation","travel","vehicle"]},"styles":["solid"],"unicode":"f5de","label":"Alternate Car"},"car-battery":{"search":{"terms":["auto","electric","mechanic","power"]},"styles":["solid"],"unicode":"f5df","label":"Car Battery"},"car-crash":{"search":{"terms":["accident","auto","automobile","insurance","sedan","transportation","vehicle","wreck"]},"styles":["solid"],"unicode":"f5e1","label":"Car Crash"},"car-side":{"search":{"terms":["auto","automobile","sedan","transportation","travel","vehicle"]},"styles":["solid"],"unicode":"f5e4","label":"Car Side"},"caravan":{"search":{"terms":["camper","motor home","rv","trailer","travel"]},"styles":["solid"],"unicode":"f8ff","label":"Caravan"},"caret-down":{"search":{"terms":["arrow","dropdown","expand","menu","more","triangle"]},"styles":["solid"],"unicode":"f0d7","label":"Caret Down"},"caret-left":{"search":{"terms":["arrow","back","previous","triangle"]},"styles":["solid"],"unicode":"f0d9","label":"Caret Left"},"caret-right":{"search":{"terms":["arrow","forward","next","triangle"]},"styles":["solid"],"unicode":"f0da","label":"Caret Right"},"caret-square-down":{"search":{"terms":["arrow","caret-square-o-down","dropdown","expand","menu","more","triangle"]},"styles":["solid","regular"],"unicode":"f150","label":"Caret Square Down"},"caret-square-left":{"search":{"terms":["arrow","back","caret-square-o-left","previous","triangle"]},"styles":["solid","regular"],"unicode":"f191","label":"Caret Square Left"},"caret-square-right":{"search":{"terms":["arrow","caret-square-o-right","forward","next","triangle"]},"styles":["solid","regular"],"unicode":"f152","label":"Caret Square Right"},"caret-square-up":{"search":{"terms":["arrow","caret-square-o-up","collapse","triangle","upload"]},"styles":["solid","regular"],"unicode":"f151","label":"Caret Square Up"},"caret-up":{"search":{"terms":["arrow","collapse","triangle"]},"styles":["solid"],"unicode":"f0d8","label":"Caret Up"},"carrot":{"search":{"terms":["bugs bunny","orange","vegan","vegetable"]},"styles":["solid"],"unicode":"f787","label":"Carrot"},"cart-arrow-down":{"search":{"terms":["download","save","shopping"]},"styles":["solid"],"unicode":"f218","label":"Shopping Cart Arrow Down"},"cart-plus":{"search":{"terms":["add","create","new","positive","shopping"]},"styles":["solid"],"unicode":"f217","label":"Add to Shopping Cart"},"cash-register":{"search":{"terms":["buy","cha-ching","change","checkout","commerce","leaerboard","machine","pay","payment","purchase","store"]},"styles":["solid"],"unicode":"f788","label":"Cash Register"},"cat":{"search":{"terms":["feline","halloween","holiday","kitten","kitty","meow","pet"]},"styles":["solid"],"unicode":"f6be","label":"Cat"},"cc-amazon-pay":{"search":{"terms":[]},"styles":["brands"],"unicode":"f42d","label":"Amazon Pay Credit Card"},"cc-amex":{"search":{"terms":["amex"]},"styles":["brands"],"unicode":"f1f3","label":"American Express Credit Card"},"cc-apple-pay":{"search":{"terms":[]},"styles":["brands"],"unicode":"f416","label":"Apple Pay Credit Card"},"cc-diners-club":{"search":{"terms":[]},"styles":["brands"],"unicode":"f24c","label":"Diner\'s Club Credit Card"},"cc-discover":{"search":{"terms":[]},"styles":["brands"],"unicode":"f1f2","label":"Discover Credit Card"},"cc-jcb":{"search":{"terms":[]},"styles":["brands"],"unicode":"f24b","label":"JCB Credit Card"},"cc-mastercard":{"search":{"terms":[]},"styles":["brands"],"unicode":"f1f1","label":"MasterCard Credit Card"},"cc-paypal":{"search":{"terms":[]},"styles":["brands"],"unicode":"f1f4","label":"Paypal Credit Card"},"cc-stripe":{"search":{"terms":[]},"styles":["brands"],"unicode":"f1f5","label":"Stripe Credit Card"},"cc-visa":{"search":{"terms":[]},"styles":["brands"],"unicode":"f1f0","label":"Visa Credit Card"},"centercode":{"search":{"terms":[]},"styles":["brands"],"unicode":"f380","label":"Centercode"},"centos":{"search":{"terms":["linux","operating system","os"]},"styles":["brands"],"unicode":"f789","label":"Centos"},"certificate":{"search":{"terms":["badge","star","verified"]},"styles":["solid"],"unicode":"f0a3","label":"certificate"},"chair":{"search":{"terms":["furniture","seat","sit"]},"styles":["solid"],"unicode":"f6c0","label":"Chair"},"chalkboard":{"search":{"terms":["blackboard","learning","school","teaching","whiteboard","writing"]},"styles":["solid"],"unicode":"f51b","label":"Chalkboard"},"chalkboard-teacher":{"search":{"terms":["blackboard","instructor","learning","professor","school","whiteboard","writing"]},"styles":["solid"],"unicode":"f51c","label":"Chalkboard Teacher"},"charging-station":{"search":{"terms":["electric","ev","tesla","vehicle"]},"styles":["solid"],"unicode":"f5e7","label":"Charging Station"},"chart-area":{"search":{"terms":["analytics","area","chart","graph"]},"styles":["solid"],"unicode":"f1fe","label":"Area Chart"},"chart-bar":{"search":{"terms":["analytics","bar","chart","graph"]},"styles":["solid","regular"],"unicode":"f080","label":"Bar Chart"},"chart-line":{"search":{"terms":["activity","analytics","chart","dashboard","gain","graph","increase","line"]},"styles":["solid"],"unicode":"f201","label":"Line Chart"},"chart-pie":{"search":{"terms":["analytics","chart","diagram","graph","pie"]},"styles":["solid"],"unicode":"f200","label":"Pie Chart"},"check":{"search":{"terms":["accept","agree","checkmark","confirm","correct","done","notice","notification","notify","ok","select","success","tick","todo","yes"]},"styles":["solid"],"unicode":"f00c","label":"Check"},"check-circle":{"search":{"terms":["accept","agree","confirm","correct","done","ok","select","success","tick","todo","yes"]},"styles":["solid","regular"],"unicode":"f058","label":"Check Circle"},"check-double":{"search":{"terms":["accept","agree","checkmark","confirm","correct","done","notice","notification","notify","ok","select","success","tick","todo"]},"styles":["solid"],"unicode":"f560","label":"Double Check"},"check-square":{"search":{"terms":["accept","agree","checkmark","confirm","correct","done","ok","select","success","tick","todo","yes"]},"styles":["solid","regular"],"unicode":"f14a","label":"Check Square"},"cheese":{"search":{"terms":["cheddar","curd","gouda","melt","parmesan","sandwich","swiss","wedge"]},"styles":["solid"],"unicode":"f7ef","label":"Cheese"},"chess":{"search":{"terms":["board","castle","checkmate","game","king","rook","strategy","tournament"]},"styles":["solid"],"unicode":"f439","label":"Chess"},"chess-bishop":{"search":{"terms":["board","checkmate","game","strategy"]},"styles":["solid"],"unicode":"f43a","label":"Chess Bishop"},"chess-board":{"search":{"terms":["board","checkmate","game","strategy"]},"styles":["solid"],"unicode":"f43c","label":"Chess Board"},"chess-king":{"search":{"terms":["board","checkmate","game","strategy"]},"styles":["solid"],"unicode":"f43f","label":"Chess King"},"chess-knight":{"search":{"terms":["board","checkmate","game","horse","strategy"]},"styles":["solid"],"unicode":"f441","label":"Chess Knight"},"chess-pawn":{"search":{"terms":["board","checkmate","game","strategy"]},"styles":["solid"],"unicode":"f443","label":"Chess Pawn"},"chess-queen":{"search":{"terms":["board","checkmate","game","strategy"]},"styles":["solid"],"unicode":"f445","label":"Chess Queen"},"chess-rook":{"search":{"terms":["board","castle","checkmate","game","strategy"]},"styles":["solid"],"unicode":"f447","label":"Chess Rook"},"chevron-circle-down":{"search":{"terms":["arrow","download","dropdown","menu","more"]},"styles":["solid"],"unicode":"f13a","label":"Chevron Circle Down"},"chevron-circle-left":{"search":{"terms":["arrow","back","previous"]},"styles":["solid"],"unicode":"f137","label":"Chevron Circle Left"},"chevron-circle-right":{"search":{"terms":["arrow","forward","next"]},"styles":["solid"],"unicode":"f138","label":"Chevron Circle Right"},"chevron-circle-up":{"search":{"terms":["arrow","collapse","upload"]},"styles":["solid"],"unicode":"f139","label":"Chevron Circle Up"},"chevron-down":{"search":{"terms":["arrow","download","expand"]},"styles":["solid"],"unicode":"f078","label":"chevron-down"},"chevron-left":{"search":{"terms":["arrow","back","bracket","previous"]},"styles":["solid"],"unicode":"f053","label":"chevron-left"},"chevron-right":{"search":{"terms":["arrow","bracket","forward","next"]},"styles":["solid"],"unicode":"f054","label":"chevron-right"},"chevron-up":{"search":{"terms":["arrow","collapse","upload"]},"styles":["solid"],"unicode":"f077","label":"chevron-up"},"child":{"search":{"terms":["boy","girl","kid","toddler","young"]},"styles":["solid"],"unicode":"f1ae","label":"Child"},"chrome":{"search":{"terms":["browser"]},"styles":["brands"],"unicode":"f268","label":"Chrome"},"chromecast":{"search":{"terms":[]},"styles":["brands"],"unicode":"f838","label":"Chromecast"},"church":{"search":{"terms":["building","cathedral","chapel","community","religion"]},"styles":["solid"],"unicode":"f51d","label":"Church"},"circle":{"search":{"terms":["circle-thin","diameter","dot","ellipse","notification","round"]},"styles":["solid","regular"],"unicode":"f111","label":"Circle"},"circle-notch":{"search":{"terms":["circle-o-notch","diameter","dot","ellipse","round","spinner"]},"styles":["solid"],"unicode":"f1ce","label":"Circle Notched"},"city":{"search":{"terms":["buildings","busy","skyscrapers","urban","windows"]},"styles":["solid"],"unicode":"f64f","label":"City"},"clinic-medical":{"search":{"terms":["covid-19","doctor","general practitioner","hospital","infirmary","medicine","office","outpatient"]},"styles":["solid"],"unicode":"f7f2","label":"Medical Clinic"},"clipboard":{"search":{"terms":["copy","notes","paste","record"]},"styles":["solid","regular"],"unicode":"f328","label":"Clipboard"},"clipboard-check":{"search":{"terms":["accept","agree","confirm","done","ok","select","success","tick","todo","yes"]},"styles":["solid"],"unicode":"f46c","label":"Clipboard with Check"},"clipboard-list":{"search":{"terms":["checklist","completed","done","finished","intinerary","ol","schedule","tick","todo","ul"]},"styles":["solid"],"unicode":"f46d","label":"Clipboard List"},"clock":{"search":{"terms":["date","late","schedule","time","timer","timestamp","watch"]},"styles":["solid","regular"],"unicode":"f017","label":"Clock"},"clone":{"search":{"terms":["arrange","copy","duplicate","paste"]},"styles":["solid","regular"],"unicode":"f24d","label":"Clone"},"closed-captioning":{"search":{"terms":["cc","deaf","hearing","subtitle","subtitling","text","video"]},"styles":["solid","regular"],"unicode":"f20a","label":"Closed Captioning"},"cloud":{"search":{"terms":["atmosphere","fog","overcast","save","upload","weather"]},"styles":["solid"],"unicode":"f0c2","label":"Cloud"},"cloud-download-alt":{"search":{"terms":["download","export","save"]},"styles":["solid"],"unicode":"f381","label":"Alternate Cloud Download"},"cloud-meatball":{"search":{"terms":["FLDSMDFR","food","spaghetti","storm"]},"styles":["solid"],"unicode":"f73b","label":"Cloud with (a chance of) Meatball"},"cloud-moon":{"search":{"terms":["crescent","evening","lunar","night","partly cloudy","sky"]},"styles":["solid"],"unicode":"f6c3","label":"Cloud with Moon"},"cloud-moon-rain":{"search":{"terms":["crescent","evening","lunar","night","partly cloudy","precipitation","rain","sky","storm"]},"styles":["solid"],"unicode":"f73c","label":"Cloud with Moon and Rain"},"cloud-rain":{"search":{"terms":["precipitation","rain","sky","storm"]},"styles":["solid"],"unicode":"f73d","label":"Cloud with Rain"},"cloud-showers-heavy":{"search":{"terms":["precipitation","rain","sky","storm"]},"styles":["solid"],"unicode":"f740","label":"Cloud with Heavy Showers"},"cloud-sun":{"search":{"terms":["clear","day","daytime","fall","outdoors","overcast","partly cloudy"]},"styles":["solid"],"unicode":"f6c4","label":"Cloud with Sun"},"cloud-sun-rain":{"search":{"terms":["day","overcast","precipitation","storm","summer","sunshower"]},"styles":["solid"],"unicode":"f743","label":"Cloud with Sun and Rain"},"cloud-upload-alt":{"search":{"terms":["cloud-upload","import","save","upload"]},"styles":["solid"],"unicode":"f382","label":"Alternate Cloud Upload"},"cloudscale":{"search":{"terms":[]},"styles":["brands"],"unicode":"f383","label":"cloudscale.ch"},"cloudsmith":{"search":{"terms":[]},"styles":["brands"],"unicode":"f384","label":"Cloudsmith"},"cloudversify":{"search":{"terms":[]},"styles":["brands"],"unicode":"f385","label":"cloudversify"},"cocktail":{"search":{"terms":["alcohol","beverage","drink","gin","glass","margarita","martini","vodka"]},"styles":["solid"],"unicode":"f561","label":"Cocktail"},"code":{"search":{"terms":["brackets","code","development","html"]},"styles":["solid"],"unicode":"f121","label":"Code"},"code-branch":{"search":{"terms":["branch","code-fork","fork","git","github","rebase","svn","vcs","version"]},"styles":["solid"],"unicode":"f126","label":"Code Branch"},"codepen":{"search":{"terms":[]},"styles":["brands"],"unicode":"f1cb","label":"Codepen"},"codiepie":{"search":{"terms":[]},"styles":["brands"],"unicode":"f284","label":"Codie Pie"},"coffee":{"search":{"terms":["beverage","breakfast","cafe","drink","fall","morning","mug","seasonal","tea"]},"styles":["solid"],"unicode":"f0f4","label":"Coffee"},"cog":{"search":{"terms":["gear","mechanical","settings","sprocket","wheel"]},"styles":["solid"],"unicode":"f013","label":"cog"},"cogs":{"search":{"terms":["gears","mechanical","settings","sprocket","wheel"]},"styles":["solid"],"unicode":"f085","label":"cogs"},"coins":{"search":{"terms":["currency","dime","financial","gold","money","penny"]},"styles":["solid"],"unicode":"f51e","label":"Coins"},"columns":{"search":{"terms":["browser","dashboard","organize","panes","split"]},"styles":["solid"],"unicode":"f0db","label":"Columns"},"comment":{"search":{"terms":["bubble","chat","commenting","conversation","feedback","message","note","notification","sms","speech","texting"]},"styles":["solid","regular"],"unicode":"f075","label":"comment"},"comment-alt":{"search":{"terms":["bubble","chat","commenting","conversation","feedback","message","note","notification","sms","speech","texting"]},"styles":["solid","regular"],"unicode":"f27a","label":"Alternate Comment"},"comment-dollar":{"search":{"terms":["bubble","chat","commenting","conversation","feedback","message","money","note","notification","pay","sms","speech","spend","texting","transfer"]},"styles":["solid"],"unicode":"f651","label":"Comment Dollar"},"comment-dots":{"search":{"terms":["bubble","chat","commenting","conversation","feedback","message","more","note","notification","reply","sms","speech","texting"]},"styles":["solid","regular"],"unicode":"f4ad","label":"Comment Dots"},"comment-medical":{"search":{"terms":["advice","bubble","chat","commenting","conversation","diagnose","feedback","message","note","notification","prescription","sms","speech","texting"]},"styles":["solid"],"unicode":"f7f5","label":"Alternate Medical Chat"},"comment-slash":{"search":{"terms":["bubble","cancel","chat","commenting","conversation","feedback","message","mute","note","notification","quiet","sms","speech","texting"]},"styles":["solid"],"unicode":"f4b3","label":"Comment Slash"},"comments":{"search":{"terms":["bubble","chat","commenting","conversation","feedback","message","note","notification","sms","speech","texting"]},"styles":["solid","regular"],"unicode":"f086","label":"comments"},"comments-dollar":{"search":{"terms":["bubble","chat","commenting","conversation","feedback","message","money","note","notification","pay","sms","speech","spend","texting","transfer"]},"styles":["solid"],"unicode":"f653","label":"Comments Dollar"},"compact-disc":{"search":{"terms":["album","bluray","cd","disc","dvd","media","movie","music","record","video","vinyl"]},"styles":["solid"],"unicode":"f51f","label":"Compact Disc"},"compass":{"search":{"terms":["directions","directory","location","menu","navigation","safari","travel"]},"styles":["solid","regular"],"unicode":"f14e","label":"Compass"},"compress":{"search":{"terms":["collapse","fullscreen","minimize","move","resize","shrink","smaller"]},"styles":["solid"],"unicode":"f066","label":"Compress"},"compress-alt":{"search":{"terms":["collapse","fullscreen","minimize","move","resize","shrink","smaller"]},"styles":["solid"],"unicode":"f422","label":"Alternate Compress"},"compress-arrows-alt":{"search":{"terms":["collapse","fullscreen","minimize","move","resize","shrink","smaller"]},"styles":["solid"],"unicode":"f78c","label":"Alternate Compress Arrows"},"concierge-bell":{"search":{"terms":["attention","hotel","receptionist","service","support"]},"styles":["solid"],"unicode":"f562","label":"Concierge Bell"},"confluence":{"search":{"terms":["atlassian"]},"styles":["brands"],"unicode":"f78d","label":"Confluence"},"connectdevelop":{"search":{"terms":[]},"styles":["brands"],"unicode":"f20e","label":"Connect Develop"},"contao":{"search":{"terms":[]},"styles":["brands"],"unicode":"f26d","label":"Contao"},"cookie":{"search":{"terms":["baked good","chips","chocolate","eat","snack","sweet","treat"]},"styles":["solid"],"unicode":"f563","label":"Cookie"},"cookie-bite":{"search":{"terms":["baked good","bitten","chips","chocolate","eat","snack","sweet","treat"]},"styles":["solid"],"unicode":"f564","label":"Cookie Bite"},"copy":{"search":{"terms":["clone","duplicate","file","files-o","paper","paste"]},"styles":["solid","regular"],"unicode":"f0c5","label":"Copy"},"copyright":{"search":{"terms":["brand","mark","register","trademark"]},"styles":["solid","regular"],"unicode":"f1f9","label":"Copyright"},"cotton-bureau":{"search":{"terms":["clothing","t-shirts","tshirts"]},"styles":["brands"],"unicode":"f89e","label":"Cotton Bureau"},"couch":{"search":{"terms":["chair","cushion","furniture","relax","sofa"]},"styles":["solid"],"unicode":"f4b8","label":"Couch"},"cpanel":{"search":{"terms":[]},"styles":["brands"],"unicode":"f388","label":"cPanel"},"creative-commons":{"search":{"terms":[]},"styles":["brands"],"unicode":"f25e","label":"Creative Commons"},"creative-commons-by":{"search":{"terms":[]},"styles":["brands"],"unicode":"f4e7","label":"Creative Commons Attribution"},"creative-commons-nc":{"search":{"terms":[]},"styles":["brands"],"unicode":"f4e8","label":"Creative Commons Noncommercial"},"creative-commons-nc-eu":{"search":{"terms":[]},"styles":["brands"],"unicode":"f4e9","label":"Creative Commons Noncommercial (Euro Sign)"},"creative-commons-nc-jp":{"search":{"terms":[]},"styles":["brands"],"unicode":"f4ea","label":"Creative Commons Noncommercial (Yen Sign)"},"creative-commons-nd":{"search":{"terms":[]},"styles":["brands"],"unicode":"f4eb","label":"Creative Commons No Derivative Works"},"creative-commons-pd":{"search":{"terms":[]},"styles":["brands"],"unicode":"f4ec","label":"Creative Commons Public Domain"},"creative-commons-pd-alt":{"search":{"terms":[]},"styles":["brands"],"unicode":"f4ed","label":"Alternate Creative Commons Public Domain"},"creative-commons-remix":{"search":{"terms":[]},"styles":["brands"],"unicode":"f4ee","label":"Creative Commons Remix"},"creative-commons-sa":{"search":{"terms":[]},"styles":["brands"],"unicode":"f4ef","label":"Creative Commons Share Alike"},"creative-commons-sampling":{"search":{"terms":[]},"styles":["brands"],"unicode":"f4f0","label":"Creative Commons Sampling"},"creative-commons-sampling-plus":{"search":{"terms":[]},"styles":["brands"],"unicode":"f4f1","label":"Creative Commons Sampling +"},"creative-commons-share":{"search":{"terms":[]},"styles":["brands"],"unicode":"f4f2","label":"Creative Commons Share"},"creative-commons-zero":{"search":{"terms":[]},"styles":["brands"],"unicode":"f4f3","label":"Creative Commons CC0"},"credit-card":{"search":{"terms":["buy","checkout","credit-card-alt","debit","money","payment","purchase"]},"styles":["solid","regular"],"unicode":"f09d","label":"Credit Card"},"critical-role":{"search":{"terms":["Dungeons & Dragons","d&d","dnd","fantasy","game","gaming","tabletop"]},"styles":["brands"],"unicode":"f6c9","label":"Critical Role"},"crop":{"search":{"terms":["design","frame","mask","resize","shrink"]},"styles":["solid"],"unicode":"f125","label":"crop"},"crop-alt":{"search":{"terms":["design","frame","mask","resize","shrink"]},"styles":["solid"],"unicode":"f565","label":"Alternate Crop"},"cross":{"search":{"terms":["catholicism","christianity","church","jesus"]},"styles":["solid"],"unicode":"f654","label":"Cross"},"crosshairs":{"search":{"terms":["aim","bullseye","gpd","picker","position"]},"styles":["solid"],"unicode":"f05b","label":"Crosshairs"},"crow":{"search":{"terms":["bird","bullfrog","fauna","halloween","holiday","toad"]},"styles":["solid"],"unicode":"f520","label":"Crow"},"crown":{"search":{"terms":["award","favorite","king","queen","royal","tiara"]},"styles":["solid"],"unicode":"f521","label":"Crown"},"crutch":{"search":{"terms":["cane","injury","mobility","wheelchair"]},"styles":["solid"],"unicode":"f7f7","label":"Crutch"},"css3":{"search":{"terms":["code"]},"styles":["brands"],"unicode":"f13c","label":"CSS 3 Logo"},"css3-alt":{"search":{"terms":[]},"styles":["brands"],"unicode":"f38b","label":"Alternate CSS3 Logo"},"cube":{"search":{"terms":["3d","block","dice","package","square","tesseract"]},"styles":["solid"],"unicode":"f1b2","label":"Cube"},"cubes":{"search":{"terms":["3d","block","dice","package","pyramid","square","stack","tesseract"]},"styles":["solid"],"unicode":"f1b3","label":"Cubes"},"cut":{"search":{"terms":["clip","scissors","snip"]},"styles":["solid"],"unicode":"f0c4","label":"Cut"},"cuttlefish":{"search":{"terms":[]},"styles":["brands"],"unicode":"f38c","label":"Cuttlefish"},"d-and-d":{"search":{"terms":[]},"styles":["brands"],"unicode":"f38d","label":"Dungeons & Dragons"},"d-and-d-beyond":{"search":{"terms":["Dungeons & Dragons","d&d","dnd","fantasy","gaming","tabletop"]},"styles":["brands"],"unicode":"f6ca","label":"D&D Beyond"},"dailymotion":{"search":{"terms":[]},"styles":["brands"],"unicode":"f952","label":"dailymotion"},"dashcube":{"search":{"terms":[]},"styles":["brands"],"unicode":"f210","label":"DashCube"},"database":{"search":{"terms":["computer","development","directory","memory","storage"]},"styles":["solid"],"unicode":"f1c0","label":"Database"},"deaf":{"search":{"terms":["ear","hearing","sign language"]},"styles":["solid"],"unicode":"f2a4","label":"Deaf"},"delicious":{"search":{"terms":[]},"styles":["brands"],"unicode":"f1a5","label":"Delicious"},"democrat":{"search":{"terms":["american","democratic party","donkey","election","left","left-wing","liberal","politics","usa"]},"styles":["solid"],"unicode":"f747","label":"Democrat"},"deploydog":{"search":{"terms":[]},"styles":["brands"],"unicode":"f38e","label":"deploy.dog"},"deskpro":{"search":{"terms":[]},"styles":["brands"],"unicode":"f38f","label":"Deskpro"},"desktop":{"search":{"terms":["computer","cpu","demo","desktop","device","imac","machine","monitor","pc","screen"]},"styles":["solid"],"unicode":"f108","label":"Desktop"},"dev":{"search":{"terms":[]},"styles":["brands"],"unicode":"f6cc","label":"DEV"},"deviantart":{"search":{"terms":[]},"styles":["brands"],"unicode":"f1bd","label":"deviantART"},"dharmachakra":{"search":{"terms":["buddhism","buddhist","wheel of dharma"]},"styles":["solid"],"unicode":"f655","label":"Dharmachakra"},"dhl":{"search":{"terms":["Dalsey","Hillblom and Lynn","german","package","shipping"]},"styles":["brands"],"unicode":"f790","label":"DHL"},"diagnoses":{"search":{"terms":["analyze","detect","diagnosis","examine","medicine"]},"styles":["solid"],"unicode":"f470","label":"Diagnoses"},"diaspora":{"search":{"terms":[]},"styles":["brands"],"unicode":"f791","label":"Diaspora"},"dice":{"search":{"terms":["chance","gambling","game","roll"]},"styles":["solid"],"unicode":"f522","label":"Dice"},"dice-d20":{"search":{"terms":["Dungeons & Dragons","chance","d&d","dnd","fantasy","gambling","game","roll"]},"styles":["solid"],"unicode":"f6cf","label":"Dice D20"},"dice-d6":{"search":{"terms":["Dungeons & Dragons","chance","d&d","dnd","fantasy","gambling","game","roll"]},"styles":["solid"],"unicode":"f6d1","label":"Dice D6"},"dice-five":{"search":{"terms":["chance","gambling","game","roll"]},"styles":["solid"],"unicode":"f523","label":"Dice Five"},"dice-four":{"search":{"terms":["chance","gambling","game","roll"]},"styles":["solid"],"unicode":"f524","label":"Dice Four"},"dice-one":{"search":{"terms":["chance","gambling","game","roll"]},"styles":["solid"],"unicode":"f525","label":"Dice One"},"dice-six":{"search":{"terms":["chance","gambling","game","roll"]},"styles":["solid"],"unicode":"f526","label":"Dice Six"},"dice-three":{"search":{"terms":["chance","gambling","game","roll"]},"styles":["solid"],"unicode":"f527","label":"Dice Three"},"dice-two":{"search":{"terms":["chance","gambling","game","roll"]},"styles":["solid"],"unicode":"f528","label":"Dice Two"},"digg":{"search":{"terms":[]},"styles":["brands"],"unicode":"f1a6","label":"Digg Logo"},"digital-ocean":{"search":{"terms":[]},"styles":["brands"],"unicode":"f391","label":"Digital Ocean"},"digital-tachograph":{"search":{"terms":["data","distance","speed","tachometer"]},"styles":["solid"],"unicode":"f566","label":"Digital Tachograph"},"directions":{"search":{"terms":["map","navigation","sign","turn"]},"styles":["solid"],"unicode":"f5eb","label":"Directions"},"discord":{"search":{"terms":[]},"styles":["brands"],"unicode":"f392","label":"Discord"},"discourse":{"search":{"terms":[]},"styles":["brands"],"unicode":"f393","label":"Discourse"},"disease":{"search":{"terms":["bacteria","cancer","covid-19","illness","infection","sickness","virus"]},"styles":["solid"],"unicode":"f7fa","label":"Disease"},"divide":{"search":{"terms":["arithmetic","calculus","division","math"]},"styles":["solid"],"unicode":"f529","label":"Divide"},"dizzy":{"search":{"terms":["dazed","dead","disapprove","emoticon","face"]},"styles":["solid","regular"],"unicode":"f567","label":"Dizzy Face"},"dna":{"search":{"terms":["double helix","genetic","helix","molecule","protein"]},"styles":["solid"],"unicode":"f471","label":"DNA"},"dochub":{"search":{"terms":[]},"styles":["brands"],"unicode":"f394","label":"DocHub"},"docker":{"search":{"terms":[]},"styles":["brands"],"unicode":"f395","label":"Docker"},"dog":{"search":{"terms":["animal","canine","fauna","mammal","pet","pooch","puppy","woof"]},"styles":["solid"],"unicode":"f6d3","label":"Dog"},"dollar-sign":{"search":{"terms":["$","cost","dollar-sign","money","price","usd"]},"styles":["solid"],"unicode":"f155","label":"Dollar Sign"},"dolly":{"search":{"terms":["carry","shipping","transport"]},"styles":["solid"],"unicode":"f472","label":"Dolly"},"dolly-flatbed":{"search":{"terms":["carry","inventory","shipping","transport"]},"styles":["solid"],"unicode":"f474","label":"Dolly Flatbed"},"donate":{"search":{"terms":["contribute","generosity","gift","give"]},"styles":["solid"],"unicode":"f4b9","label":"Donate"},"door-closed":{"search":{"terms":["enter","exit","locked"]},"styles":["solid"],"unicode":"f52a","label":"Door Closed"},"door-open":{"search":{"terms":["enter","exit","welcome"]},"styles":["solid"],"unicode":"f52b","label":"Door Open"},"dot-circle":{"search":{"terms":["bullseye","notification","target"]},"styles":["solid","regular"],"unicode":"f192","label":"Dot Circle"},"dove":{"search":{"terms":["bird","fauna","flying","peace","war"]},"styles":["solid"],"unicode":"f4ba","label":"Dove"},"download":{"search":{"terms":["export","hard drive","save","transfer"]},"styles":["solid"],"unicode":"f019","label":"Download"},"draft2digital":{"search":{"terms":[]},"styles":["brands"],"unicode":"f396","label":"Draft2digital"},"drafting-compass":{"search":{"terms":["design","map","mechanical drawing","plot","plotting"]},"styles":["solid"],"unicode":"f568","label":"Drafting Compass"},"dragon":{"search":{"terms":["Dungeons & Dragons","d&d","dnd","fantasy","fire","lizard","serpent"]},"styles":["solid"],"unicode":"f6d5","label":"Dragon"},"draw-polygon":{"search":{"terms":["anchors","lines","object","render","shape"]},"styles":["solid"],"unicode":"f5ee","label":"Draw Polygon"},"dribbble":{"search":{"terms":[]},"styles":["brands"],"unicode":"f17d","label":"Dribbble"},"dribbble-square":{"search":{"terms":[]},"styles":["brands"],"unicode":"f397","label":"Dribbble Square"},"dropbox":{"search":{"terms":[]},"styles":["brands"],"unicode":"f16b","label":"Dropbox"},"drum":{"search":{"terms":["instrument","music","percussion","snare","sound"]},"styles":["solid"],"unicode":"f569","label":"Drum"},"drum-steelpan":{"search":{"terms":["calypso","instrument","music","percussion","reggae","snare","sound","steel","tropical"]},"styles":["solid"],"unicode":"f56a","label":"Drum Steelpan"},"drumstick-bite":{"search":{"terms":["bone","chicken","leg","meat","poultry","turkey"]},"styles":["solid"],"unicode":"f6d7","label":"Drumstick with Bite Taken Out"},"drupal":{"search":{"terms":[]},"styles":["brands"],"unicode":"f1a9","label":"Drupal Logo"},"dumbbell":{"search":{"terms":["exercise","gym","strength","weight","weight-lifting"]},"styles":["solid"],"unicode":"f44b","label":"Dumbbell"},"dumpster":{"search":{"terms":["alley","bin","commercial","trash","waste"]},"styles":["solid"],"unicode":"f793","label":"Dumpster"},"dumpster-fire":{"search":{"terms":["alley","bin","commercial","danger","dangerous","euphemism","flame","heat","hot","trash","waste"]},"styles":["solid"],"unicode":"f794","label":"Dumpster Fire"},"dungeon":{"search":{"terms":["Dungeons & Dragons","building","d&d","dnd","door","entrance","fantasy","gate"]},"styles":["solid"],"unicode":"f6d9","label":"Dungeon"},"dyalog":{"search":{"terms":[]},"styles":["brands"],"unicode":"f399","label":"Dyalog"},"earlybirds":{"search":{"terms":[]},"styles":["brands"],"unicode":"f39a","label":"Earlybirds"},"ebay":{"search":{"terms":[]},"styles":["brands"],"unicode":"f4f4","label":"eBay"},"edge":{"search":{"terms":["browser","ie"]},"styles":["brands"],"unicode":"f282","label":"Edge Browser"},"edit":{"search":{"terms":["edit","pen","pencil","update","write"]},"styles":["solid","regular"],"unicode":"f044","label":"Edit"},"egg":{"search":{"terms":["breakfast","chicken","easter","shell","yolk"]},"styles":["solid"],"unicode":"f7fb","label":"Egg"},"eject":{"search":{"terms":["abort","cancel","cd","discharge"]},"styles":["solid"],"unicode":"f052","label":"eject"},"elementor":{"search":{"terms":[]},"styles":["brands"],"unicode":"f430","label":"Elementor"},"ellipsis-h":{"search":{"terms":["dots","drag","kebab","list","menu","nav","navigation","ol","reorder","settings","ul"]},"styles":["solid"],"unicode":"f141","label":"Horizontal Ellipsis"},"ellipsis-v":{"search":{"terms":["dots","drag","kebab","list","menu","nav","navigation","ol","reorder","settings","ul"]},"styles":["solid"],"unicode":"f142","label":"Vertical Ellipsis"},"ello":{"search":{"terms":[]},"styles":["brands"],"unicode":"f5f1","label":"Ello"},"ember":{"search":{"terms":[]},"styles":["brands"],"unicode":"f423","label":"Ember"},"empire":{"search":{"terms":[]},"styles":["brands"],"unicode":"f1d1","label":"Galactic Empire"},"envelope":{"search":{"terms":["e-mail","email","letter","mail","message","notification","support"]},"styles":["solid","regular"],"unicode":"f0e0","label":"Envelope"},"envelope-open":{"search":{"terms":["e-mail","email","letter","mail","message","notification","support"]},"styles":["solid","regular"],"unicode":"f2b6","label":"Envelope Open"},"envelope-open-text":{"search":{"terms":["e-mail","email","letter","mail","message","notification","support"]},"styles":["solid"],"unicode":"f658","label":"Envelope Open-text"},"envelope-square":{"search":{"terms":["e-mail","email","letter","mail","message","notification","support"]},"styles":["solid"],"unicode":"f199","label":"Envelope Square"},"envira":{"search":{"terms":["leaf"]},"styles":["brands"],"unicode":"f299","label":"Envira Gallery"},"equals":{"search":{"terms":["arithmetic","even","match","math"]},"styles":["solid"],"unicode":"f52c","label":"Equals"},"eraser":{"search":{"terms":["art","delete","remove","rubber"]},"styles":["solid"],"unicode":"f12d","label":"eraser"},"erlang":{"search":{"terms":[]},"styles":["brands"],"unicode":"f39d","label":"Erlang"},"ethereum":{"search":{"terms":[]},"styles":["brands"],"unicode":"f42e","label":"Ethereum"},"ethernet":{"search":{"terms":["cable","cat 5","cat 6","connection","hardware","internet","network","wired"]},"styles":["solid"],"unicode":"f796","label":"Ethernet"},"etsy":{"search":{"terms":[]},"styles":["brands"],"unicode":"f2d7","label":"Etsy"},"euro-sign":{"search":{"terms":["currency","dollar","exchange","money"]},"styles":["solid"],"unicode":"f153","label":"Euro Sign"},"evernote":{"search":{"terms":[]},"styles":["brands"],"unicode":"f839","label":"Evernote"},"exchange-alt":{"search":{"terms":["arrow","arrows","exchange","reciprocate","return","swap","transfer"]},"styles":["solid"],"unicode":"f362","label":"Alternate Exchange"},"exclamation":{"search":{"terms":["alert","danger","error","important","notice","notification","notify","problem","warning"]},"styles":["solid"],"unicode":"f12a","label":"exclamation"},"exclamation-circle":{"search":{"terms":["alert","danger","error","important","notice","notification","notify","problem","warning"]},"styles":["solid"],"unicode":"f06a","label":"Exclamation Circle"},"exclamation-triangle":{"search":{"terms":["alert","danger","error","important","notice","notification","notify","problem","warning"]},"styles":["solid"],"unicode":"f071","label":"Exclamation Triangle"},"expand":{"search":{"terms":["arrow","bigger","enlarge","resize"]},"styles":["solid"],"unicode":"f065","label":"Expand"},"expand-alt":{"search":{"terms":["arrow","bigger","enlarge","resize"]},"styles":["solid"],"unicode":"f424","label":"Alternate Expand"},"expand-arrows-alt":{"search":{"terms":["arrows-alt","bigger","enlarge","move","resize"]},"styles":["solid"],"unicode":"f31e","label":"Alternate Expand Arrows"},"expeditedssl":{"search":{"terms":[]},"styles":["brands"],"unicode":"f23e","label":"ExpeditedSSL"},"external-link-alt":{"search":{"terms":["external-link","new","open","share"]},"styles":["solid"],"unicode":"f35d","label":"Alternate External Link"},"external-link-square-alt":{"search":{"terms":["external-link-square","new","open","share"]},"styles":["solid"],"unicode":"f360","label":"Alternate External Link Square"},"eye":{"search":{"terms":["look","optic","see","seen","show","sight","views","visible"]},"styles":["solid","regular"],"unicode":"f06e","label":"Eye"},"eye-dropper":{"search":{"terms":["beaker","clone","color","copy","eyedropper","pipette"]},"styles":["solid"],"unicode":"f1fb","label":"Eye Dropper"},"eye-slash":{"search":{"terms":["blind","hide","show","toggle","unseen","views","visible","visiblity"]},"styles":["solid","regular"],"unicode":"f070","label":"Eye Slash"},"facebook":{"search":{"terms":["facebook-official","social network"]},"styles":["brands"],"unicode":"f09a","label":"Facebook"},"facebook-f":{"search":{"terms":["facebook"]},"styles":["brands"],"unicode":"f39e","label":"Facebook F"},"facebook-messenger":{"search":{"terms":[]},"styles":["brands"],"unicode":"f39f","label":"Facebook Messenger"},"facebook-square":{"search":{"terms":["social network"]},"styles":["brands"],"unicode":"f082","label":"Facebook Square"},"fan":{"search":{"terms":["ac","air conditioning","blade","blower","cool","hot"]},"styles":["solid"],"unicode":"f863","label":"Fan"},"fantasy-flight-games":{"search":{"terms":["Dungeons & Dragons","d&d","dnd","fantasy","game","gaming","tabletop"]},"styles":["brands"],"unicode":"f6dc","label":"Fantasy Flight-games"},"fast-backward":{"search":{"terms":["beginning","first","previous","rewind","start"]},"styles":["solid"],"unicode":"f049","label":"fast-backward"},"fast-forward":{"search":{"terms":["end","last","next"]},"styles":["solid"],"unicode":"f050","label":"fast-forward"},"faucet":{"search":{"terms":["covid-19","drip","house","hygiene","kitchen","sink","water"]},"styles":["solid"],"unicode":"f905","label":"Faucet"},"fax":{"search":{"terms":["business","communicate","copy","facsimile","send"]},"styles":["solid"],"unicode":"f1ac","label":"Fax"},"feather":{"search":{"terms":["bird","light","plucked","quill","write"]},"styles":["solid"],"unicode":"f52d","label":"Feather"},"feather-alt":{"search":{"terms":["bird","light","plucked","quill","write"]},"styles":["solid"],"unicode":"f56b","label":"Alternate Feather"},"fedex":{"search":{"terms":["Federal Express","package","shipping"]},"styles":["brands"],"unicode":"f797","label":"FedEx"},"fedora":{"search":{"terms":["linux","operating system","os"]},"styles":["brands"],"unicode":"f798","label":"Fedora"},"female":{"search":{"terms":["human","person","profile","user","woman"]},"styles":["solid"],"unicode":"f182","label":"Female"},"fighter-jet":{"search":{"terms":["airplane","fast","fly","goose","maverick","plane","quick","top gun","transportation","travel"]},"styles":["solid"],"unicode":"f0fb","label":"fighter-jet"},"figma":{"search":{"terms":["app","design","interface"]},"styles":["brands"],"unicode":"f799","label":"Figma"},"file":{"search":{"terms":["document","new","page","pdf","resume"]},"styles":["solid","regular"],"unicode":"f15b","label":"File"},"file-alt":{"search":{"terms":["document","file-text","invoice","new","page","pdf"]},"styles":["solid","regular"],"unicode":"f15c","label":"Alternate File"},"file-archive":{"search":{"terms":[".zip","bundle","compress","compression","download","zip"]},"styles":["solid","regular"],"unicode":"f1c6","label":"Archive File"},"file-audio":{"search":{"terms":["document","mp3","music","page","play","sound"]},"styles":["solid","regular"],"unicode":"f1c7","label":"Audio File"},"file-code":{"search":{"terms":["css","development","document","html"]},"styles":["solid","regular"],"unicode":"f1c9","label":"Code File"},"file-contract":{"search":{"terms":["agreement","binding","document","legal","signature"]},"styles":["solid"],"unicode":"f56c","label":"File Contract"},"file-csv":{"search":{"terms":["document","excel","numbers","spreadsheets","table"]},"styles":["solid"],"unicode":"f6dd","label":"File CSV"},"file-download":{"search":{"terms":["document","export","save"]},"styles":["solid"],"unicode":"f56d","label":"File Download"},"file-excel":{"search":{"terms":["csv","document","numbers","spreadsheets","table"]},"styles":["solid","regular"],"unicode":"f1c3","label":"Excel File"},"file-export":{"search":{"terms":["download","save"]},"styles":["solid"],"unicode":"f56e","label":"File Export"},"file-image":{"search":{"terms":["document","image","jpg","photo","png"]},"styles":["solid","regular"],"unicode":"f1c5","label":"Image File"},"file-import":{"search":{"terms":["copy","document","send","upload"]},"styles":["solid"],"unicode":"f56f","label":"File Import"},"file-invoice":{"search":{"terms":["account","bill","charge","document","payment","receipt"]},"styles":["solid"],"unicode":"f570","label":"File Invoice"},"file-invoice-dollar":{"search":{"terms":["$","account","bill","charge","document","dollar-sign","money","payment","receipt","usd"]},"styles":["solid"],"unicode":"f571","label":"File Invoice with US Dollar"},"file-medical":{"search":{"terms":["document","health","history","prescription","record"]},"styles":["solid"],"unicode":"f477","label":"Medical File"},"file-medical-alt":{"search":{"terms":["document","health","history","prescription","record"]},"styles":["solid"],"unicode":"f478","label":"Alternate Medical File"},"file-pdf":{"search":{"terms":["acrobat","document","preview","save"]},"styles":["solid","regular"],"unicode":"f1c1","label":"PDF File"},"file-powerpoint":{"search":{"terms":["display","document","keynote","presentation"]},"styles":["solid","regular"],"unicode":"f1c4","label":"Powerpoint File"},"file-prescription":{"search":{"terms":["document","drugs","medical","medicine","rx"]},"styles":["solid"],"unicode":"f572","label":"File Prescription"},"file-signature":{"search":{"terms":["John Hancock","contract","document","name"]},"styles":["solid"],"unicode":"f573","label":"File Signature"},"file-upload":{"search":{"terms":["document","import","page","save"]},"styles":["solid"],"unicode":"f574","label":"File Upload"},"file-video":{"search":{"terms":["document","m4v","movie","mp4","play"]},"styles":["solid","regular"],"unicode":"f1c8","label":"Video File"},"file-word":{"search":{"terms":["document","edit","page","text","writing"]},"styles":["solid","regular"],"unicode":"f1c2","label":"Word File"},"fill":{"search":{"terms":["bucket","color","paint","paint bucket"]},"styles":["solid"],"unicode":"f575","label":"Fill"},"fill-drip":{"search":{"terms":["bucket","color","drop","paint","paint bucket","spill"]},"styles":["solid"],"unicode":"f576","label":"Fill Drip"},"film":{"search":{"terms":["cinema","movie","strip","video"]},"styles":["solid"],"unicode":"f008","label":"Film"},"filter":{"search":{"terms":["funnel","options","separate","sort"]},"styles":["solid"],"unicode":"f0b0","label":"Filter"},"fingerprint":{"search":{"terms":["human","id","identification","lock","smudge","touch","unique","unlock"]},"styles":["solid"],"unicode":"f577","label":"Fingerprint"},"fire":{"search":{"terms":["burn","caliente","flame","heat","hot","popular"]},"styles":["solid"],"unicode":"f06d","label":"fire"},"fire-alt":{"search":{"terms":["burn","caliente","flame","heat","hot","popular"]},"styles":["solid"],"unicode":"f7e4","label":"Alternate Fire"},"fire-extinguisher":{"search":{"terms":["burn","caliente","fire fighter","flame","heat","hot","rescue"]},"styles":["solid"],"unicode":"f134","label":"fire-extinguisher"},"firefox":{"search":{"terms":["browser"]},"styles":["brands"],"unicode":"f269","label":"Firefox"},"firefox-browser":{"search":{"terms":["browser"]},"styles":["brands"],"unicode":"f907","label":"Firefox Browser"},"first-aid":{"search":{"terms":["emergency","emt","health","medical","rescue"]},"styles":["solid"],"unicode":"f479","label":"First Aid"},"first-order":{"search":{"terms":[]},"styles":["brands"],"unicode":"f2b0","label":"First Order"},"first-order-alt":{"search":{"terms":[]},"styles":["brands"],"unicode":"f50a","label":"Alternate First Order"},"firstdraft":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3a1","label":"firstdraft"},"fish":{"search":{"terms":["fauna","gold","seafood","swimming"]},"styles":["solid"],"unicode":"f578","label":"Fish"},"fist-raised":{"search":{"terms":["Dungeons & Dragons","d&d","dnd","fantasy","hand","ki","monk","resist","strength","unarmed combat"]},"styles":["solid"],"unicode":"f6de","label":"Raised Fist"},"flag":{"search":{"terms":["country","notice","notification","notify","pole","report","symbol"]},"styles":["solid","regular"],"unicode":"f024","label":"flag"},"flag-checkered":{"search":{"terms":["notice","notification","notify","pole","racing","report","symbol"]},"styles":["solid"],"unicode":"f11e","label":"flag-checkered"},"flag-usa":{"search":{"terms":["betsy ross","country","old glory","stars","stripes","symbol"]},"styles":["solid"],"unicode":"f74d","label":"United States of America Flag"},"flask":{"search":{"terms":["beaker","experimental","labs","science"]},"styles":["solid"],"unicode":"f0c3","label":"Flask"},"flickr":{"search":{"terms":[]},"styles":["brands"],"unicode":"f16e","label":"Flickr"},"flipboard":{"search":{"terms":[]},"styles":["brands"],"unicode":"f44d","label":"Flipboard"},"flushed":{"search":{"terms":["embarrassed","emoticon","face"]},"styles":["solid","regular"],"unicode":"f579","label":"Flushed Face"},"fly":{"search":{"terms":[]},"styles":["brands"],"unicode":"f417","label":"Fly"},"folder":{"search":{"terms":["archive","directory","document","file"]},"styles":["solid","regular"],"unicode":"f07b","label":"Folder"},"folder-minus":{"search":{"terms":["archive","delete","directory","document","file","negative","remove"]},"styles":["solid"],"unicode":"f65d","label":"Folder Minus"},"folder-open":{"search":{"terms":["archive","directory","document","empty","file","new"]},"styles":["solid","regular"],"unicode":"f07c","label":"Folder Open"},"folder-plus":{"search":{"terms":["add","archive","create","directory","document","file","new","positive"]},"styles":["solid"],"unicode":"f65e","label":"Folder Plus"},"font":{"search":{"terms":["alphabet","glyph","text","type","typeface"]},"styles":["solid"],"unicode":"f031","label":"font"},"font-awesome":{"search":{"terms":["meanpath"]},"styles":["brands"],"unicode":"f2b4","label":"Font Awesome"},"font-awesome-alt":{"search":{"terms":[]},"styles":["brands"],"unicode":"f35c","label":"Alternate Font Awesome"},"font-awesome-flag":{"search":{"terms":[]},"styles":["brands"],"unicode":"f425","label":"Font Awesome Flag"},"font-awesome-logo-full":{"search":{"terms":[]},"styles":["regular","solid","brands"],"unicode":"f4e6","label":"Font Awesome Full Logo","private":true},"fonticons":{"search":{"terms":[]},"styles":["brands"],"unicode":"f280","label":"Fonticons"},"fonticons-fi":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3a2","label":"Fonticons Fi"},"football-ball":{"search":{"terms":["ball","fall","nfl","pigskin","seasonal"]},"styles":["solid"],"unicode":"f44e","label":"Football Ball"},"fort-awesome":{"search":{"terms":["castle"]},"styles":["brands"],"unicode":"f286","label":"Fort Awesome"},"fort-awesome-alt":{"search":{"terms":["castle"]},"styles":["brands"],"unicode":"f3a3","label":"Alternate Fort Awesome"},"forumbee":{"search":{"terms":[]},"styles":["brands"],"unicode":"f211","label":"Forumbee"},"forward":{"search":{"terms":["forward","next","skip"]},"styles":["solid"],"unicode":"f04e","label":"forward"},"foursquare":{"search":{"terms":[]},"styles":["brands"],"unicode":"f180","label":"Foursquare"},"free-code-camp":{"search":{"terms":[]},"styles":["brands"],"unicode":"f2c5","label":"freeCodeCamp"},"freebsd":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3a4","label":"FreeBSD"},"frog":{"search":{"terms":["amphibian","bullfrog","fauna","hop","kermit","kiss","prince","ribbit","toad","wart"]},"styles":["solid"],"unicode":"f52e","label":"Frog"},"frown":{"search":{"terms":["disapprove","emoticon","face","rating","sad"]},"styles":["solid","regular"],"unicode":"f119","label":"Frowning Face"},"frown-open":{"search":{"terms":["disapprove","emoticon","face","rating","sad"]},"styles":["solid","regular"],"unicode":"f57a","label":"Frowning Face With Open Mouth"},"fulcrum":{"search":{"terms":[]},"styles":["brands"],"unicode":"f50b","label":"Fulcrum"},"funnel-dollar":{"search":{"terms":["filter","money","options","separate","sort"]},"styles":["solid"],"unicode":"f662","label":"Funnel Dollar"},"futbol":{"search":{"terms":["ball","football","mls","soccer"]},"styles":["solid","regular"],"unicode":"f1e3","label":"Futbol"},"galactic-republic":{"search":{"terms":["politics","star wars"]},"styles":["brands"],"unicode":"f50c","label":"Galactic Republic"},"galactic-senate":{"search":{"terms":["star wars"]},"styles":["brands"],"unicode":"f50d","label":"Galactic Senate"},"gamepad":{"search":{"terms":["arcade","controller","d-pad","joystick","video","video game"]},"styles":["solid"],"unicode":"f11b","label":"Gamepad"},"gas-pump":{"search":{"terms":["car","fuel","gasoline","petrol"]},"styles":["solid"],"unicode":"f52f","label":"Gas Pump"},"gavel":{"search":{"terms":["hammer","judge","law","lawyer","opinion"]},"styles":["solid"],"unicode":"f0e3","label":"Gavel"},"gem":{"search":{"terms":["diamond","jewelry","sapphire","stone","treasure"]},"styles":["solid","regular"],"unicode":"f3a5","label":"Gem"},"genderless":{"search":{"terms":["androgynous","asexual","sexless"]},"styles":["solid"],"unicode":"f22d","label":"Genderless"},"get-pocket":{"search":{"terms":[]},"styles":["brands"],"unicode":"f265","label":"Get Pocket"},"gg":{"search":{"terms":[]},"styles":["brands"],"unicode":"f260","label":"GG Currency"},"gg-circle":{"search":{"terms":[]},"styles":["brands"],"unicode":"f261","label":"GG Currency Circle"},"ghost":{"search":{"terms":["apparition","blinky","clyde","floating","halloween","holiday","inky","pinky","spirit"]},"styles":["solid"],"unicode":"f6e2","label":"Ghost"},"gift":{"search":{"terms":["christmas","generosity","giving","holiday","party","present","wrapped","xmas"]},"styles":["solid"],"unicode":"f06b","label":"gift"},"gifts":{"search":{"terms":["christmas","generosity","giving","holiday","party","present","wrapped","xmas"]},"styles":["solid"],"unicode":"f79c","label":"Gifts"},"git":{"search":{"terms":[]},"styles":["brands"],"unicode":"f1d3","label":"Git"},"git-alt":{"search":{"terms":[]},"styles":["brands"],"unicode":"f841","label":"Git Alt"},"git-square":{"search":{"terms":[]},"styles":["brands"],"unicode":"f1d2","label":"Git Square"},"github":{"search":{"terms":["octocat"]},"styles":["brands"],"unicode":"f09b","label":"GitHub"},"github-alt":{"search":{"terms":["octocat"]},"styles":["brands"],"unicode":"f113","label":"Alternate GitHub"},"github-square":{"search":{"terms":["octocat"]},"styles":["brands"],"unicode":"f092","label":"GitHub Square"},"gitkraken":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3a6","label":"GitKraken"},"gitlab":{"search":{"terms":["Axosoft"]},"styles":["brands"],"unicode":"f296","label":"GitLab"},"gitter":{"search":{"terms":[]},"styles":["brands"],"unicode":"f426","label":"Gitter"},"glass-cheers":{"search":{"terms":["alcohol","bar","beverage","celebration","champagne","clink","drink","holiday","new year\'s eve","party","toast"]},"styles":["solid"],"unicode":"f79f","label":"Glass Cheers"},"glass-martini":{"search":{"terms":["alcohol","bar","beverage","drink","liquor"]},"styles":["solid"],"unicode":"f000","label":"Martini Glass"},"glass-martini-alt":{"search":{"terms":["alcohol","bar","beverage","drink","liquor"]},"styles":["solid"],"unicode":"f57b","label":"Alternate Glass Martini"},"glass-whiskey":{"search":{"terms":["alcohol","bar","beverage","bourbon","drink","liquor","neat","rye","scotch","whisky"]},"styles":["solid"],"unicode":"f7a0","label":"Glass Whiskey"},"glasses":{"search":{"terms":["hipster","nerd","reading","sight","spectacles","vision"]},"styles":["solid"],"unicode":"f530","label":"Glasses"},"glide":{"search":{"terms":[]},"styles":["brands"],"unicode":"f2a5","label":"Glide"},"glide-g":{"search":{"terms":[]},"styles":["brands"],"unicode":"f2a6","label":"Glide G"},"globe":{"search":{"terms":["all","coordinates","country","earth","global","gps","language","localize","location","map","online","place","planet","translate","travel","world"]},"styles":["solid"],"unicode":"f0ac","label":"Globe"},"globe-africa":{"search":{"terms":["all","country","earth","global","gps","language","localize","location","map","online","place","planet","translate","travel","world"]},"styles":["solid"],"unicode":"f57c","label":"Globe with Africa shown"},"globe-americas":{"search":{"terms":["all","country","earth","global","gps","language","localize","location","map","online","place","planet","translate","travel","world"]},"styles":["solid"],"unicode":"f57d","label":"Globe with Americas shown"},"globe-asia":{"search":{"terms":["all","country","earth","global","gps","language","localize","location","map","online","place","planet","translate","travel","world"]},"styles":["solid"],"unicode":"f57e","label":"Globe with Asia shown"},"globe-europe":{"search":{"terms":["all","country","earth","global","gps","language","localize","location","map","online","place","planet","translate","travel","world"]},"styles":["solid"],"unicode":"f7a2","label":"Globe with Europe shown"},"gofore":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3a7","label":"Gofore"},"golf-ball":{"search":{"terms":["caddy","eagle","putt","tee"]},"styles":["solid"],"unicode":"f450","label":"Golf Ball"},"goodreads":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3a8","label":"Goodreads"},"goodreads-g":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3a9","label":"Goodreads G"},"google":{"search":{"terms":[]},"styles":["brands"],"unicode":"f1a0","label":"Google Logo"},"google-drive":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3aa","label":"Google Drive"},"google-play":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3ab","label":"Google Play"},"google-plus":{"search":{"terms":["google-plus-circle","google-plus-official"]},"styles":["brands"],"unicode":"f2b3","label":"Google Plus"},"google-plus-g":{"search":{"terms":["google-plus","social network"]},"styles":["brands"],"unicode":"f0d5","label":"Google Plus G"},"google-plus-square":{"search":{"terms":["social network"]},"styles":["brands"],"unicode":"f0d4","label":"Google Plus Square"},"google-wallet":{"search":{"terms":[]},"styles":["brands"],"unicode":"f1ee","label":"Google Wallet"},"gopuram":{"search":{"terms":["building","entrance","hinduism","temple","tower"]},"styles":["solid"],"unicode":"f664","label":"Gopuram"},"graduation-cap":{"search":{"terms":["ceremony","college","graduate","learning","school","student"]},"styles":["solid"],"unicode":"f19d","label":"Graduation Cap"},"gratipay":{"search":{"terms":["favorite","heart","like","love"]},"styles":["brands"],"unicode":"f184","label":"Gratipay (Gittip)"},"grav":{"search":{"terms":[]},"styles":["brands"],"unicode":"f2d6","label":"Grav"},"greater-than":{"search":{"terms":["arithmetic","compare","math"]},"styles":["solid"],"unicode":"f531","label":"Greater Than"},"greater-than-equal":{"search":{"terms":["arithmetic","compare","math"]},"styles":["solid"],"unicode":"f532","label":"Greater Than Equal To"},"grimace":{"search":{"terms":["cringe","emoticon","face","teeth"]},"styles":["solid","regular"],"unicode":"f57f","label":"Grimacing Face"},"grin":{"search":{"terms":["emoticon","face","laugh","smile"]},"styles":["solid","regular"],"unicode":"f580","label":"Grinning Face"},"grin-alt":{"search":{"terms":["emoticon","face","laugh","smile"]},"styles":["solid","regular"],"unicode":"f581","label":"Alternate Grinning Face"},"grin-beam":{"search":{"terms":["emoticon","face","laugh","smile"]},"styles":["solid","regular"],"unicode":"f582","label":"Grinning Face With Smiling Eyes"},"grin-beam-sweat":{"search":{"terms":["embarass","emoticon","face","smile"]},"styles":["solid","regular"],"unicode":"f583","label":"Grinning Face With Sweat"},"grin-hearts":{"search":{"terms":["emoticon","face","love","smile"]},"styles":["solid","regular"],"unicode":"f584","label":"Smiling Face With Heart-Eyes"},"grin-squint":{"search":{"terms":["emoticon","face","laugh","smile"]},"styles":["solid","regular"],"unicode":"f585","label":"Grinning Squinting Face"},"grin-squint-tears":{"search":{"terms":["emoticon","face","happy","smile"]},"styles":["solid","regular"],"unicode":"f586","label":"Rolling on the Floor Laughing"},"grin-stars":{"search":{"terms":["emoticon","face","star-struck"]},"styles":["solid","regular"],"unicode":"f587","label":"Star-Struck"},"grin-tears":{"search":{"terms":["LOL","emoticon","face"]},"styles":["solid","regular"],"unicode":"f588","label":"Face With Tears of Joy"},"grin-tongue":{"search":{"terms":["LOL","emoticon","face"]},"styles":["solid","regular"],"unicode":"f589","label":"Face With Tongue"},"grin-tongue-squint":{"search":{"terms":["LOL","emoticon","face"]},"styles":["solid","regular"],"unicode":"f58a","label":"Squinting Face With Tongue"},"grin-tongue-wink":{"search":{"terms":["LOL","emoticon","face"]},"styles":["solid","regular"],"unicode":"f58b","label":"Winking Face With Tongue"},"grin-wink":{"search":{"terms":["emoticon","face","flirt","laugh","smile"]},"styles":["solid","regular"],"unicode":"f58c","label":"Grinning Winking Face"},"grip-horizontal":{"search":{"terms":["affordance","drag","drop","grab","handle"]},"styles":["solid"],"unicode":"f58d","label":"Grip Horizontal"},"grip-lines":{"search":{"terms":["affordance","drag","drop","grab","handle"]},"styles":["solid"],"unicode":"f7a4","label":"Grip Lines"},"grip-lines-vertical":{"search":{"terms":["affordance","drag","drop","grab","handle"]},"styles":["solid"],"unicode":"f7a5","label":"Grip Lines Vertical"},"grip-vertical":{"search":{"terms":["affordance","drag","drop","grab","handle"]},"styles":["solid"],"unicode":"f58e","label":"Grip Vertical"},"gripfire":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3ac","label":"Gripfire, Inc."},"grunt":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3ad","label":"Grunt"},"guitar":{"search":{"terms":["acoustic","instrument","music","rock","rock and roll","song","strings"]},"styles":["solid"],"unicode":"f7a6","label":"Guitar"},"gulp":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3ae","label":"Gulp"},"h-square":{"search":{"terms":["directions","emergency","hospital","hotel","map"]},"styles":["solid"],"unicode":"f0fd","label":"H Square"},"hacker-news":{"search":{"terms":[]},"styles":["brands"],"unicode":"f1d4","label":"Hacker News"},"hacker-news-square":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3af","label":"Hacker News Square"},"hackerrank":{"search":{"terms":[]},"styles":["brands"],"unicode":"f5f7","label":"Hackerrank"},"hamburger":{"search":{"terms":["bacon","beef","burger","burger king","cheeseburger","fast food","grill","ground beef","mcdonalds","sandwich"]},"styles":["solid"],"unicode":"f805","label":"Hamburger"},"hammer":{"search":{"terms":["admin","fix","repair","settings","tool"]},"styles":["solid"],"unicode":"f6e3","label":"Hammer"},"hamsa":{"search":{"terms":["amulet","christianity","islam","jewish","judaism","muslim","protection"]},"styles":["solid"],"unicode":"f665","label":"Hamsa"},"hand-holding":{"search":{"terms":["carry","lift"]},"styles":["solid"],"unicode":"f4bd","label":"Hand Holding"},"hand-holding-heart":{"search":{"terms":["carry","charity","gift","lift","package"]},"styles":["solid"],"unicode":"f4be","label":"Hand Holding Heart"},"hand-holding-medical":{"search":{"terms":["care","covid-19","donate","help"]},"styles":["solid"],"unicode":"f95c","label":"Hand Holding Medical Cross"},"hand-holding-usd":{"search":{"terms":["$","carry","dollar sign","donation","giving","lift","money","price"]},"styles":["solid"],"unicode":"f4c0","label":"Hand Holding US Dollar"},"hand-holding-water":{"search":{"terms":["carry","covid-19","drought","grow","lift"]},"styles":["solid"],"unicode":"f4c1","label":"Hand Holding Water"},"hand-lizard":{"search":{"terms":["game","roshambo"]},"styles":["solid","regular"],"unicode":"f258","label":"Lizard (Hand)"},"hand-middle-finger":{"search":{"terms":["flip the bird","gesture","hate","rude"]},"styles":["solid"],"unicode":"f806","label":"Hand with Middle Finger Raised"},"hand-paper":{"search":{"terms":["game","halt","roshambo","stop"]},"styles":["solid","regular"],"unicode":"f256","label":"Paper (Hand)"},"hand-peace":{"search":{"terms":["rest","truce"]},"styles":["solid","regular"],"unicode":"f25b","label":"Peace (Hand)"},"hand-point-down":{"search":{"terms":["finger","hand-o-down","point"]},"styles":["solid","regular"],"unicode":"f0a7","label":"Hand Pointing Down"},"hand-point-left":{"search":{"terms":["back","finger","hand-o-left","left","point","previous"]},"styles":["solid","regular"],"unicode":"f0a5","label":"Hand Pointing Left"},"hand-point-right":{"search":{"terms":["finger","forward","hand-o-right","next","point","right"]},"styles":["solid","regular"],"unicode":"f0a4","label":"Hand Pointing Right"},"hand-point-up":{"search":{"terms":["finger","hand-o-up","point"]},"styles":["solid","regular"],"unicode":"f0a6","label":"Hand Pointing Up"},"hand-pointer":{"search":{"terms":["arrow","cursor","select"]},"styles":["solid","regular"],"unicode":"f25a","label":"Pointer (Hand)"},"hand-rock":{"search":{"terms":["fist","game","roshambo"]},"styles":["solid","regular"],"unicode":"f255","label":"Rock (Hand)"},"hand-scissors":{"search":{"terms":["cut","game","roshambo"]},"styles":["solid","regular"],"unicode":"f257","label":"Scissors (Hand)"},"hand-sparkles":{"search":{"terms":["clean","covid-19","hygiene","magic","soap","wash"]},"styles":["solid"],"unicode":"f95d","label":"Hand Sparkles"},"hand-spock":{"search":{"terms":["live long","prosper","salute","star trek","vulcan"]},"styles":["solid","regular"],"unicode":"f259","label":"Spock (Hand)"},"hands":{"search":{"terms":["carry","hold","lift"]},"styles":["solid"],"unicode":"f4c2","label":"Hands"},"hands-helping":{"search":{"terms":["aid","assistance","handshake","partnership","volunteering"]},"styles":["solid"],"unicode":"f4c4","label":"Helping Hands"},"hands-wash":{"search":{"terms":["covid-19","hygiene","soap","wash"]},"styles":["solid"],"unicode":"f95e","label":"Hands Wash"},"handshake":{"search":{"terms":["agreement","greeting","meeting","partnership"]},"styles":["solid","regular"],"unicode":"f2b5","label":"Handshake"},"handshake-alt-slash":{"search":{"terms":["broken","covid-19","social distance"]},"styles":["solid"],"unicode":"f95f","label":"Handshake Alternate Slash"},"handshake-slash":{"search":{"terms":["broken","covid-19","social distance"]},"styles":["solid"],"unicode":"f960","label":"Handshake Slash"},"hanukiah":{"search":{"terms":["candle","hanukkah","jewish","judaism","light"]},"styles":["solid"],"unicode":"f6e6","label":"Hanukiah"},"hard-hat":{"search":{"terms":["construction","hardhat","helmet","safety"]},"styles":["solid"],"unicode":"f807","label":"Hard Hat"},"hashtag":{"search":{"terms":["Twitter","instagram","pound","social media","tag"]},"styles":["solid"],"unicode":"f292","label":"Hashtag"},"hat-cowboy":{"search":{"terms":["buckaroo","horse","jackeroo","john b.","old west","pardner","ranch","rancher","rodeo","western","wrangler"]},"styles":["solid"],"unicode":"f8c0","label":"Cowboy Hat"},"hat-cowboy-side":{"search":{"terms":["buckaroo","horse","jackeroo","john b.","old west","pardner","ranch","rancher","rodeo","western","wrangler"]},"styles":["solid"],"unicode":"f8c1","label":"Cowboy Hat Side"},"hat-wizard":{"search":{"terms":["Dungeons & Dragons","accessory","buckle","clothing","d&d","dnd","fantasy","halloween","head","holiday","mage","magic","pointy","witch"]},"styles":["solid"],"unicode":"f6e8","label":"Wizard\'s Hat"},"hdd":{"search":{"terms":["cpu","hard drive","harddrive","machine","save","storage"]},"styles":["solid","regular"],"unicode":"f0a0","label":"HDD"},"head-side-cough":{"search":{"terms":["cough","covid-19","germs","lungs","respiratory","sick"]},"styles":["solid"],"unicode":"f961","label":"Head Side Cough"},"head-side-cough-slash":{"search":{"terms":["cough","covid-19","germs","lungs","respiratory","sick"]},"styles":["solid"],"unicode":"f962","label":"Head Side-cough-slash"},"head-side-mask":{"search":{"terms":["breath","covid-19","filter","respirator","virus"]},"styles":["solid"],"unicode":"f963","label":"Head Side Mask"},"head-side-virus":{"search":{"terms":["cold","covid-19","flu","sick"]},"styles":["solid"],"unicode":"f964","label":"Head Side Virus"},"heading":{"search":{"terms":["format","header","text","title"]},"styles":["solid"],"unicode":"f1dc","label":"heading"},"headphones":{"search":{"terms":["audio","listen","music","sound","speaker"]},"styles":["solid"],"unicode":"f025","label":"headphones"},"headphones-alt":{"search":{"terms":["audio","listen","music","sound","speaker"]},"styles":["solid"],"unicode":"f58f","label":"Alternate Headphones"},"headset":{"search":{"terms":["audio","gamer","gaming","listen","live chat","microphone","shot caller","sound","support","telemarketer"]},"styles":["solid"],"unicode":"f590","label":"Headset"},"heart":{"search":{"terms":["favorite","like","love","relationship","valentine"]},"styles":["solid","regular"],"unicode":"f004","label":"Heart"},"heart-broken":{"search":{"terms":["breakup","crushed","dislike","dumped","grief","love","lovesick","relationship","sad"]},"styles":["solid"],"unicode":"f7a9","label":"Heart Broken"},"heartbeat":{"search":{"terms":["ekg","electrocardiogram","health","lifeline","vital signs"]},"styles":["solid"],"unicode":"f21e","label":"Heartbeat"},"helicopter":{"search":{"terms":["airwolf","apache","chopper","flight","fly","travel"]},"styles":["solid"],"unicode":"f533","label":"Helicopter"},"highlighter":{"search":{"terms":["edit","marker","sharpie","update","write"]},"styles":["solid"],"unicode":"f591","label":"Highlighter"},"hiking":{"search":{"terms":["activity","backpack","fall","fitness","outdoors","person","seasonal","walking"]},"styles":["solid"],"unicode":"f6ec","label":"Hiking"},"hippo":{"search":{"terms":["animal","fauna","hippopotamus","hungry","mammal"]},"styles":["solid"],"unicode":"f6ed","label":"Hippo"},"hips":{"search":{"terms":[]},"styles":["brands"],"unicode":"f452","label":"Hips"},"hire-a-helper":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3b0","label":"HireAHelper"},"history":{"search":{"terms":["Rewind","clock","reverse","time","time machine"]},"styles":["solid"],"unicode":"f1da","label":"History"},"hockey-puck":{"search":{"terms":["ice","nhl","sport"]},"styles":["solid"],"unicode":"f453","label":"Hockey Puck"},"holly-berry":{"search":{"terms":["catwoman","christmas","decoration","flora","halle","holiday","ororo munroe","plant","storm","xmas"]},"styles":["solid"],"unicode":"f7aa","label":"Holly Berry"},"home":{"search":{"terms":["abode","building","house","main"]},"styles":["solid"],"unicode":"f015","label":"home"},"hooli":{"search":{"terms":[]},"styles":["brands"],"unicode":"f427","label":"Hooli"},"hornbill":{"search":{"terms":[]},"styles":["brands"],"unicode":"f592","label":"Hornbill"},"horse":{"search":{"terms":["equus","fauna","mammmal","mare","neigh","pony"]},"styles":["solid"],"unicode":"f6f0","label":"Horse"},"horse-head":{"search":{"terms":["equus","fauna","mammmal","mare","neigh","pony"]},"styles":["solid"],"unicode":"f7ab","label":"Horse Head"},"hospital":{"search":{"terms":["building","covid-19","emergency room","medical center"]},"styles":["solid","regular"],"unicode":"f0f8","label":"hospital"},"hospital-alt":{"search":{"terms":["building","covid-19","emergency room","medical center"]},"styles":["solid"],"unicode":"f47d","label":"Alternate Hospital"},"hospital-symbol":{"search":{"terms":["clinic","covid-19","emergency","map"]},"styles":["solid"],"unicode":"f47e","label":"Hospital Symbol"},"hospital-user":{"search":{"terms":["covid-19","doctor","network","patient","primary care"]},"styles":["solid"],"unicode":"f80d","label":"Hospital with User"},"hot-tub":{"search":{"terms":["bath","jacuzzi","massage","sauna","spa"]},"styles":["solid"],"unicode":"f593","label":"Hot Tub"},"hotdog":{"search":{"terms":["bun","chili","frankfurt","frankfurter","kosher","polish","sandwich","sausage","vienna","weiner"]},"styles":["solid"],"unicode":"f80f","label":"Hot Dog"},"hotel":{"search":{"terms":["building","inn","lodging","motel","resort","travel"]},"styles":["solid"],"unicode":"f594","label":"Hotel"},"hotjar":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3b1","label":"Hotjar"},"hourglass":{"search":{"terms":["hour","minute","sand","stopwatch","time"]},"styles":["solid","regular"],"unicode":"f254","label":"Hourglass"},"hourglass-end":{"search":{"terms":["hour","minute","sand","stopwatch","time"]},"styles":["solid"],"unicode":"f253","label":"Hourglass End"},"hourglass-half":{"search":{"terms":["hour","minute","sand","stopwatch","time"]},"styles":["solid"],"unicode":"f252","label":"Hourglass Half"},"hourglass-start":{"search":{"terms":["hour","minute","sand","stopwatch","time"]},"styles":["solid"],"unicode":"f251","label":"Hourglass Start"},"house-damage":{"search":{"terms":["building","devastation","disaster","home","insurance"]},"styles":["solid"],"unicode":"f6f1","label":"Damaged House"},"house-user":{"search":{"terms":["covid-19","home","isolation","quarantine"]},"styles":["solid"],"unicode":"f965","label":"House User"},"houzz":{"search":{"terms":[]},"styles":["brands"],"unicode":"f27c","label":"Houzz"},"hryvnia":{"search":{"terms":["currency","money","ukraine","ukrainian"]},"styles":["solid"],"unicode":"f6f2","label":"Hryvnia"},"html5":{"search":{"terms":[]},"styles":["brands"],"unicode":"f13b","label":"HTML 5 Logo"},"hubspot":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3b2","label":"HubSpot"},"i-cursor":{"search":{"terms":["editing","i-beam","type","writing"]},"styles":["solid"],"unicode":"f246","label":"I Beam Cursor"},"ice-cream":{"search":{"terms":["chocolate","cone","dessert","frozen","scoop","sorbet","vanilla","yogurt"]},"styles":["solid"],"unicode":"f810","label":"Ice Cream"},"icicles":{"search":{"terms":["cold","frozen","hanging","ice","seasonal","sharp"]},"styles":["solid"],"unicode":"f7ad","label":"Icicles"},"icons":{"search":{"terms":["bolt","emoji","heart","image","music","photo","symbols"]},"styles":["solid"],"unicode":"f86d","label":"Icons"},"id-badge":{"search":{"terms":["address","contact","identification","license","profile"]},"styles":["solid","regular"],"unicode":"f2c1","label":"Identification Badge"},"id-card":{"search":{"terms":["contact","demographics","document","identification","issued","profile"]},"styles":["solid","regular"],"unicode":"f2c2","label":"Identification Card"},"id-card-alt":{"search":{"terms":["contact","demographics","document","identification","issued","profile"]},"styles":["solid"],"unicode":"f47f","label":"Alternate Identification Card"},"ideal":{"search":{"terms":[]},"styles":["brands"],"unicode":"f913","label":"iDeal"},"igloo":{"search":{"terms":["dome","dwelling","eskimo","home","house","ice","snow"]},"styles":["solid"],"unicode":"f7ae","label":"Igloo"},"image":{"search":{"terms":["album","landscape","photo","picture"]},"styles":["solid","regular"],"unicode":"f03e","label":"Image"},"images":{"search":{"terms":["album","landscape","photo","picture"]},"styles":["solid","regular"],"unicode":"f302","label":"Images"},"imdb":{"search":{"terms":[]},"styles":["brands"],"unicode":"f2d8","label":"IMDB"},"inbox":{"search":{"terms":["archive","desk","email","mail","message"]},"styles":["solid"],"unicode":"f01c","label":"inbox"},"indent":{"search":{"terms":["align","justify","paragraph","tab"]},"styles":["solid"],"unicode":"f03c","label":"Indent"},"industry":{"search":{"terms":["building","factory","industrial","manufacturing","mill","warehouse"]},"styles":["solid"],"unicode":"f275","label":"Industry"},"infinity":{"search":{"terms":["eternity","forever","math"]},"styles":["solid"],"unicode":"f534","label":"Infinity"},"info":{"search":{"terms":["details","help","information","more","support"]},"styles":["solid"],"unicode":"f129","label":"Info"},"info-circle":{"search":{"terms":["details","help","information","more","support"]},"styles":["solid"],"unicode":"f05a","label":"Info Circle"},"instagram":{"search":{"terms":[]},"styles":["brands"],"unicode":"f16d","label":"Instagram"},"instagram-square":{"search":{"terms":[]},"styles":["brands"],"unicode":"f955","label":"Instagram Square"},"intercom":{"search":{"terms":["app","customer","messenger"]},"styles":["brands"],"unicode":"f7af","label":"Intercom"},"internet-explorer":{"search":{"terms":["browser","ie"]},"styles":["brands"],"unicode":"f26b","label":"Internet-explorer"},"invision":{"search":{"terms":["app","design","interface"]},"styles":["brands"],"unicode":"f7b0","label":"InVision"},"ioxhost":{"search":{"terms":[]},"styles":["brands"],"unicode":"f208","label":"ioxhost"},"italic":{"search":{"terms":["edit","emphasis","font","format","text","type"]},"styles":["solid"],"unicode":"f033","label":"italic"},"itch-io":{"search":{"terms":[]},"styles":["brands"],"unicode":"f83a","label":"itch.io"},"itunes":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3b4","label":"iTunes"},"itunes-note":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3b5","label":"Itunes Note"},"java":{"search":{"terms":[]},"styles":["brands"],"unicode":"f4e4","label":"Java"},"jedi":{"search":{"terms":["crest","force","sith","skywalker","star wars","yoda"]},"styles":["solid"],"unicode":"f669","label":"Jedi"},"jedi-order":{"search":{"terms":["star wars"]},"styles":["brands"],"unicode":"f50e","label":"Jedi Order"},"jenkins":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3b6","label":"Jenkis"},"jira":{"search":{"terms":["atlassian"]},"styles":["brands"],"unicode":"f7b1","label":"Jira"},"joget":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3b7","label":"Joget"},"joint":{"search":{"terms":["blunt","cannabis","doobie","drugs","marijuana","roach","smoke","smoking","spliff"]},"styles":["solid"],"unicode":"f595","label":"Joint"},"joomla":{"search":{"terms":[]},"styles":["brands"],"unicode":"f1aa","label":"Joomla Logo"},"journal-whills":{"search":{"terms":["book","force","jedi","sith","star wars","yoda"]},"styles":["solid"],"unicode":"f66a","label":"Journal of the Whills"},"js":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3b8","label":"JavaScript (JS)"},"js-square":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3b9","label":"JavaScript (JS) Square"},"jsfiddle":{"search":{"terms":[]},"styles":["brands"],"unicode":"f1cc","label":"jsFiddle"},"kaaba":{"search":{"terms":["building","cube","islam","muslim"]},"styles":["solid"],"unicode":"f66b","label":"Kaaba"},"kaggle":{"search":{"terms":[]},"styles":["brands"],"unicode":"f5fa","label":"Kaggle"},"key":{"search":{"terms":["lock","password","private","secret","unlock"]},"styles":["solid"],"unicode":"f084","label":"key"},"keybase":{"search":{"terms":[]},"styles":["brands"],"unicode":"f4f5","label":"Keybase"},"keyboard":{"search":{"terms":["accessory","edit","input","text","type","write"]},"styles":["solid","regular"],"unicode":"f11c","label":"Keyboard"},"keycdn":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3ba","label":"KeyCDN"},"khanda":{"search":{"terms":["chakkar","sikh","sikhism","sword"]},"styles":["solid"],"unicode":"f66d","label":"Khanda"},"kickstarter":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3bb","label":"Kickstarter"},"kickstarter-k":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3bc","label":"Kickstarter K"},"kiss":{"search":{"terms":["beso","emoticon","face","love","smooch"]},"styles":["solid","regular"],"unicode":"f596","label":"Kissing Face"},"kiss-beam":{"search":{"terms":["beso","emoticon","face","love","smooch"]},"styles":["solid","regular"],"unicode":"f597","label":"Kissing Face With Smiling Eyes"},"kiss-wink-heart":{"search":{"terms":["beso","emoticon","face","love","smooch"]},"styles":["solid","regular"],"unicode":"f598","label":"Face Blowing a Kiss"},"kiwi-bird":{"search":{"terms":["bird","fauna","new zealand"]},"styles":["solid"],"unicode":"f535","label":"Kiwi Bird"},"korvue":{"search":{"terms":[]},"styles":["brands"],"unicode":"f42f","label":"KORVUE"},"landmark":{"search":{"terms":["building","historic","memorable","monument","politics"]},"styles":["solid"],"unicode":"f66f","label":"Landmark"},"language":{"search":{"terms":["dialect","idiom","localize","speech","translate","vernacular"]},"styles":["solid"],"unicode":"f1ab","label":"Language"},"laptop":{"search":{"terms":["computer","cpu","dell","demo","device","mac","macbook","machine","pc"]},"styles":["solid"],"unicode":"f109","label":"Laptop"},"laptop-code":{"search":{"terms":["computer","cpu","dell","demo","develop","device","mac","macbook","machine","pc"]},"styles":["solid"],"unicode":"f5fc","label":"Laptop Code"},"laptop-house":{"search":{"terms":["computer","covid-19","device","office","remote","work from home"]},"styles":["solid"],"unicode":"f966","label":"Laptop House"},"laptop-medical":{"search":{"terms":["computer","device","ehr","electronic health records","history"]},"styles":["solid"],"unicode":"f812","label":"Laptop Medical"},"laravel":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3bd","label":"Laravel"},"lastfm":{"search":{"terms":[]},"styles":["brands"],"unicode":"f202","label":"last.fm"},"lastfm-square":{"search":{"terms":[]},"styles":["brands"],"unicode":"f203","label":"last.fm Square"},"laugh":{"search":{"terms":["LOL","emoticon","face","laugh","smile"]},"styles":["solid","regular"],"unicode":"f599","label":"Grinning Face With Big Eyes"},"laugh-beam":{"search":{"terms":["LOL","emoticon","face","happy","smile"]},"styles":["solid","regular"],"unicode":"f59a","label":"Laugh Face with Beaming Eyes"},"laugh-squint":{"search":{"terms":["LOL","emoticon","face","happy","smile"]},"styles":["solid","regular"],"unicode":"f59b","label":"Laughing Squinting Face"},"laugh-wink":{"search":{"terms":["LOL","emoticon","face","happy","smile"]},"styles":["solid","regular"],"unicode":"f59c","label":"Laughing Winking Face"},"layer-group":{"search":{"terms":["arrange","develop","layers","map","stack"]},"styles":["solid"],"unicode":"f5fd","label":"Layer Group"},"leaf":{"search":{"terms":["eco","flora","nature","plant","vegan"]},"styles":["solid"],"unicode":"f06c","label":"leaf"},"leanpub":{"search":{"terms":[]},"styles":["brands"],"unicode":"f212","label":"Leanpub"},"lemon":{"search":{"terms":["citrus","lemonade","lime","tart"]},"styles":["solid","regular"],"unicode":"f094","label":"Lemon"},"less":{"search":{"terms":[]},"styles":["brands"],"unicode":"f41d","label":"Less"},"less-than":{"search":{"terms":["arithmetic","compare","math"]},"styles":["solid"],"unicode":"f536","label":"Less Than"},"less-than-equal":{"search":{"terms":["arithmetic","compare","math"]},"styles":["solid"],"unicode":"f537","label":"Less Than Equal To"},"level-down-alt":{"search":{"terms":["arrow","level-down"]},"styles":["solid"],"unicode":"f3be","label":"Alternate Level Down"},"level-up-alt":{"search":{"terms":["arrow","level-up"]},"styles":["solid"],"unicode":"f3bf","label":"Alternate Level Up"},"life-ring":{"search":{"terms":["coast guard","help","overboard","save","support"]},"styles":["solid","regular"],"unicode":"f1cd","label":"Life Ring"},"lightbulb":{"search":{"terms":["energy","idea","inspiration","light"]},"styles":["solid","regular"],"unicode":"f0eb","label":"Lightbulb"},"line":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3c0","label":"Line"},"link":{"search":{"terms":["attach","attachment","chain","connect"]},"styles":["solid"],"unicode":"f0c1","label":"Link"},"linkedin":{"search":{"terms":["linkedin-square"]},"styles":["brands"],"unicode":"f08c","label":"LinkedIn"},"linkedin-in":{"search":{"terms":["linkedin"]},"styles":["brands"],"unicode":"f0e1","label":"LinkedIn In"},"linode":{"search":{"terms":[]},"styles":["brands"],"unicode":"f2b8","label":"Linode"},"linux":{"search":{"terms":["tux"]},"styles":["brands"],"unicode":"f17c","label":"Linux"},"lira-sign":{"search":{"terms":["currency","money","try","turkish"]},"styles":["solid"],"unicode":"f195","label":"Turkish Lira Sign"},"list":{"search":{"terms":["checklist","completed","done","finished","ol","todo","ul"]},"styles":["solid"],"unicode":"f03a","label":"List"},"list-alt":{"search":{"terms":["checklist","completed","done","finished","ol","todo","ul"]},"styles":["solid","regular"],"unicode":"f022","label":"Alternate List"},"list-ol":{"search":{"terms":["checklist","completed","done","finished","numbers","ol","todo","ul"]},"styles":["solid"],"unicode":"f0cb","label":"list-ol"},"list-ul":{"search":{"terms":["checklist","completed","done","finished","ol","todo","ul"]},"styles":["solid"],"unicode":"f0ca","label":"list-ul"},"location-arrow":{"search":{"terms":["address","compass","coordinate","direction","gps","map","navigation","place"]},"styles":["solid"],"unicode":"f124","label":"location-arrow"},"lock":{"search":{"terms":["admin","lock","open","password","private","protect","security"]},"styles":["solid"],"unicode":"f023","label":"lock"},"lock-open":{"search":{"terms":["admin","lock","open","password","private","protect","security"]},"styles":["solid"],"unicode":"f3c1","label":"Lock Open"},"long-arrow-alt-down":{"search":{"terms":["download","long-arrow-down"]},"styles":["solid"],"unicode":"f309","label":"Alternate Long Arrow Down"},"long-arrow-alt-left":{"search":{"terms":["back","long-arrow-left","previous"]},"styles":["solid"],"unicode":"f30a","label":"Alternate Long Arrow Left"},"long-arrow-alt-right":{"search":{"terms":["forward","long-arrow-right","next"]},"styles":["solid"],"unicode":"f30b","label":"Alternate Long Arrow Right"},"long-arrow-alt-up":{"search":{"terms":["long-arrow-up","upload"]},"styles":["solid"],"unicode":"f30c","label":"Alternate Long Arrow Up"},"low-vision":{"search":{"terms":["blind","eye","sight"]},"styles":["solid"],"unicode":"f2a8","label":"Low Vision"},"luggage-cart":{"search":{"terms":["bag","baggage","suitcase","travel"]},"styles":["solid"],"unicode":"f59d","label":"Luggage Cart"},"lungs":{"search":{"terms":["air","breath","covid-19","organ","respiratory"]},"styles":["solid"],"unicode":"f604","label":"Lungs"},"lungs-virus":{"search":{"terms":["breath","covid-19","respiratory","sick"]},"styles":["solid"],"unicode":"f967","label":"Lungs Virus"},"lyft":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3c3","label":"lyft"},"magento":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3c4","label":"Magento"},"magic":{"search":{"terms":["autocomplete","automatic","mage","magic","spell","wand","witch","wizard"]},"styles":["solid"],"unicode":"f0d0","label":"magic"},"magnet":{"search":{"terms":["Attract","lodestone","tool"]},"styles":["solid"],"unicode":"f076","label":"magnet"},"mail-bulk":{"search":{"terms":["archive","envelope","letter","post office","postal","postcard","send","stamp","usps"]},"styles":["solid"],"unicode":"f674","label":"Mail Bulk"},"mailchimp":{"search":{"terms":[]},"styles":["brands"],"unicode":"f59e","label":"Mailchimp"},"male":{"search":{"terms":["human","man","person","profile","user"]},"styles":["solid"],"unicode":"f183","label":"Male"},"mandalorian":{"search":{"terms":[]},"styles":["brands"],"unicode":"f50f","label":"Mandalorian"},"map":{"search":{"terms":["address","coordinates","destination","gps","localize","location","map","navigation","paper","pin","place","point of interest","position","route","travel"]},"styles":["solid","regular"],"unicode":"f279","label":"Map"},"map-marked":{"search":{"terms":["address","coordinates","destination","gps","localize","location","map","navigation","paper","pin","place","point of interest","position","route","travel"]},"styles":["solid"],"unicode":"f59f","label":"Map Marked"},"map-marked-alt":{"search":{"terms":["address","coordinates","destination","gps","localize","location","map","navigation","paper","pin","place","point of interest","position","route","travel"]},"styles":["solid"],"unicode":"f5a0","label":"Alternate Map Marked"},"map-marker":{"search":{"terms":["address","coordinates","destination","gps","localize","location","map","navigation","paper","pin","place","point of interest","position","route","travel"]},"styles":["solid"],"unicode":"f041","label":"map-marker"},"map-marker-alt":{"search":{"terms":["address","coordinates","destination","gps","localize","location","map","navigation","paper","pin","place","point of interest","position","route","travel"]},"styles":["solid"],"unicode":"f3c5","label":"Alternate Map Marker"},"map-pin":{"search":{"terms":["address","agree","coordinates","destination","gps","localize","location","map","marker","navigation","pin","place","position","travel"]},"styles":["solid"],"unicode":"f276","label":"Map Pin"},"map-signs":{"search":{"terms":["directions","directory","map","signage","wayfinding"]},"styles":["solid"],"unicode":"f277","label":"Map Signs"},"markdown":{"search":{"terms":[]},"styles":["brands"],"unicode":"f60f","label":"Markdown"},"marker":{"search":{"terms":["design","edit","sharpie","update","write"]},"styles":["solid"],"unicode":"f5a1","label":"Marker"},"mars":{"search":{"terms":["male"]},"styles":["solid"],"unicode":"f222","label":"Mars"},"mars-double":{"search":{"terms":[]},"styles":["solid"],"unicode":"f227","label":"Mars Double"},"mars-stroke":{"search":{"terms":[]},"styles":["solid"],"unicode":"f229","label":"Mars Stroke"},"mars-stroke-h":{"search":{"terms":[]},"styles":["solid"],"unicode":"f22b","label":"Mars Stroke Horizontal"},"mars-stroke-v":{"search":{"terms":[]},"styles":["solid"],"unicode":"f22a","label":"Mars Stroke Vertical"},"mask":{"search":{"terms":["carnivale","costume","disguise","halloween","secret","super hero"]},"styles":["solid"],"unicode":"f6fa","label":"Mask"},"mastodon":{"search":{"terms":[]},"styles":["brands"],"unicode":"f4f6","label":"Mastodon"},"maxcdn":{"search":{"terms":[]},"styles":["brands"],"unicode":"f136","label":"MaxCDN"},"mdb":{"search":{"terms":[]},"styles":["brands"],"unicode":"f8ca","label":"Material Design for Bootstrap"},"medal":{"search":{"terms":["award","ribbon","star","trophy"]},"styles":["solid"],"unicode":"f5a2","label":"Medal"},"medapps":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3c6","label":"MedApps"},"medium":{"search":{"terms":[]},"styles":["brands"],"unicode":"f23a","label":"Medium"},"medium-m":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3c7","label":"Medium M"},"medkit":{"search":{"terms":["first aid","firstaid","health","help","support"]},"styles":["solid"],"unicode":"f0fa","label":"medkit"},"medrt":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3c8","label":"MRT"},"meetup":{"search":{"terms":[]},"styles":["brands"],"unicode":"f2e0","label":"Meetup"},"megaport":{"search":{"terms":[]},"styles":["brands"],"unicode":"f5a3","label":"Megaport"},"meh":{"search":{"terms":["emoticon","face","neutral","rating"]},"styles":["solid","regular"],"unicode":"f11a","label":"Neutral Face"},"meh-blank":{"search":{"terms":["emoticon","face","neutral","rating"]},"styles":["solid","regular"],"unicode":"f5a4","label":"Face Without Mouth"},"meh-rolling-eyes":{"search":{"terms":["emoticon","face","neutral","rating"]},"styles":["solid","regular"],"unicode":"f5a5","label":"Face With Rolling Eyes"},"memory":{"search":{"terms":["DIMM","RAM","hardware","storage","technology"]},"styles":["solid"],"unicode":"f538","label":"Memory"},"mendeley":{"search":{"terms":[]},"styles":["brands"],"unicode":"f7b3","label":"Mendeley"},"menorah":{"search":{"terms":["candle","hanukkah","jewish","judaism","light"]},"styles":["solid"],"unicode":"f676","label":"Menorah"},"mercury":{"search":{"terms":["transgender"]},"styles":["solid"],"unicode":"f223","label":"Mercury"},"meteor":{"search":{"terms":["armageddon","asteroid","comet","shooting star","space"]},"styles":["solid"],"unicode":"f753","label":"Meteor"},"microblog":{"search":{"terms":[]},"styles":["brands"],"unicode":"f91a","label":"Micro.blog"},"microchip":{"search":{"terms":["cpu","hardware","processor","technology"]},"styles":["solid"],"unicode":"f2db","label":"Microchip"},"microphone":{"search":{"terms":["audio","podcast","record","sing","sound","voice"]},"styles":["solid"],"unicode":"f130","label":"microphone"},"microphone-alt":{"search":{"terms":["audio","podcast","record","sing","sound","voice"]},"styles":["solid"],"unicode":"f3c9","label":"Alternate Microphone"},"microphone-alt-slash":{"search":{"terms":["audio","disable","mute","podcast","record","sing","sound","voice"]},"styles":["solid"],"unicode":"f539","label":"Alternate Microphone Slash"},"microphone-slash":{"search":{"terms":["audio","disable","mute","podcast","record","sing","sound","voice"]},"styles":["solid"],"unicode":"f131","label":"Microphone Slash"},"microscope":{"search":{"terms":["covid-19","electron","lens","optics","science","shrink"]},"styles":["solid"],"unicode":"f610","label":"Microscope"},"microsoft":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3ca","label":"Microsoft"},"minus":{"search":{"terms":["collapse","delete","hide","minify","negative","remove","trash"]},"styles":["solid"],"unicode":"f068","label":"minus"},"minus-circle":{"search":{"terms":["delete","hide","negative","remove","shape","trash"]},"styles":["solid"],"unicode":"f056","label":"Minus Circle"},"minus-square":{"search":{"terms":["collapse","delete","hide","minify","negative","remove","shape","trash"]},"styles":["solid","regular"],"unicode":"f146","label":"Minus Square"},"mitten":{"search":{"terms":["clothing","cold","glove","hands","knitted","seasonal","warmth"]},"styles":["solid"],"unicode":"f7b5","label":"Mitten"},"mix":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3cb","label":"Mix"},"mixcloud":{"search":{"terms":[]},"styles":["brands"],"unicode":"f289","label":"Mixcloud"},"mixer":{"search":{"terms":[]},"styles":["brands"],"unicode":"f956","label":"Mixer"},"mizuni":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3cc","label":"Mizuni"},"mobile":{"search":{"terms":["apple","call","cell phone","cellphone","device","iphone","number","screen","telephone"]},"styles":["solid"],"unicode":"f10b","label":"Mobile Phone"},"mobile-alt":{"search":{"terms":["apple","call","cell phone","cellphone","device","iphone","number","screen","telephone"]},"styles":["solid"],"unicode":"f3cd","label":"Alternate Mobile"},"modx":{"search":{"terms":[]},"styles":["brands"],"unicode":"f285","label":"MODX"},"monero":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3d0","label":"Monero"},"money-bill":{"search":{"terms":["buy","cash","checkout","money","payment","price","purchase"]},"styles":["solid"],"unicode":"f0d6","label":"Money Bill"},"money-bill-alt":{"search":{"terms":["buy","cash","checkout","money","payment","price","purchase"]},"styles":["solid","regular"],"unicode":"f3d1","label":"Alternate Money Bill"},"money-bill-wave":{"search":{"terms":["buy","cash","checkout","money","payment","price","purchase"]},"styles":["solid"],"unicode":"f53a","label":"Wavy Money Bill"},"money-bill-wave-alt":{"search":{"terms":["buy","cash","checkout","money","payment","price","purchase"]},"styles":["solid"],"unicode":"f53b","label":"Alternate Wavy Money Bill"},"money-check":{"search":{"terms":["bank check","buy","checkout","cheque","money","payment","price","purchase"]},"styles":["solid"],"unicode":"f53c","label":"Money Check"},"money-check-alt":{"search":{"terms":["bank check","buy","checkout","cheque","money","payment","price","purchase"]},"styles":["solid"],"unicode":"f53d","label":"Alternate Money Check"},"monument":{"search":{"terms":["building","historic","landmark","memorable"]},"styles":["solid"],"unicode":"f5a6","label":"Monument"},"moon":{"search":{"terms":["contrast","crescent","dark","lunar","night"]},"styles":["solid","regular"],"unicode":"f186","label":"Moon"},"mortar-pestle":{"search":{"terms":["crush","culinary","grind","medical","mix","pharmacy","prescription","spices"]},"styles":["solid"],"unicode":"f5a7","label":"Mortar Pestle"},"mosque":{"search":{"terms":["building","islam","landmark","muslim"]},"styles":["solid"],"unicode":"f678","label":"Mosque"},"motorcycle":{"search":{"terms":["bike","machine","transportation","vehicle"]},"styles":["solid"],"unicode":"f21c","label":"Motorcycle"},"mountain":{"search":{"terms":["glacier","hiking","hill","landscape","travel","view"]},"styles":["solid"],"unicode":"f6fc","label":"Mountain"},"mouse":{"search":{"terms":["click","computer","cursor","input","peripheral"]},"styles":["solid"],"unicode":"f8cc","label":"Mouse"},"mouse-pointer":{"search":{"terms":["arrow","cursor","select"]},"styles":["solid"],"unicode":"f245","label":"Mouse Pointer"},"mug-hot":{"search":{"terms":["caliente","cocoa","coffee","cup","drink","holiday","hot chocolate","steam","tea","warmth"]},"styles":["solid"],"unicode":"f7b6","label":"Mug Hot"},"music":{"search":{"terms":["lyrics","melody","note","sing","sound"]},"styles":["solid"],"unicode":"f001","label":"Music"},"napster":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3d2","label":"Napster"},"neos":{"search":{"terms":[]},"styles":["brands"],"unicode":"f612","label":"Neos"},"network-wired":{"search":{"terms":["computer","connect","ethernet","internet","intranet"]},"styles":["solid"],"unicode":"f6ff","label":"Wired Network"},"neuter":{"search":{"terms":[]},"styles":["solid"],"unicode":"f22c","label":"Neuter"},"newspaper":{"search":{"terms":["article","editorial","headline","journal","journalism","news","press"]},"styles":["solid","regular"],"unicode":"f1ea","label":"Newspaper"},"nimblr":{"search":{"terms":[]},"styles":["brands"],"unicode":"f5a8","label":"Nimblr"},"node":{"search":{"terms":[]},"styles":["brands"],"unicode":"f419","label":"Node.js"},"node-js":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3d3","label":"Node.js JS"},"not-equal":{"search":{"terms":["arithmetic","compare","math"]},"styles":["solid"],"unicode":"f53e","label":"Not Equal"},"notes-medical":{"search":{"terms":["clipboard","doctor","ehr","health","history","records"]},"styles":["solid"],"unicode":"f481","label":"Medical Notes"},"npm":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3d4","label":"npm"},"ns8":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3d5","label":"NS8"},"nutritionix":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3d6","label":"Nutritionix"},"object-group":{"search":{"terms":["combine","copy","design","merge","select"]},"styles":["solid","regular"],"unicode":"f247","label":"Object Group"},"object-ungroup":{"search":{"terms":["copy","design","merge","select","separate"]},"styles":["solid","regular"],"unicode":"f248","label":"Object Ungroup"},"odnoklassniki":{"search":{"terms":[]},"styles":["brands"],"unicode":"f263","label":"Odnoklassniki"},"odnoklassniki-square":{"search":{"terms":[]},"styles":["brands"],"unicode":"f264","label":"Odnoklassniki Square"},"oil-can":{"search":{"terms":["auto","crude","gasoline","grease","lubricate","petroleum"]},"styles":["solid"],"unicode":"f613","label":"Oil Can"},"old-republic":{"search":{"terms":["politics","star wars"]},"styles":["brands"],"unicode":"f510","label":"Old Republic"},"om":{"search":{"terms":["buddhism","hinduism","jainism","mantra"]},"styles":["solid"],"unicode":"f679","label":"Om"},"opencart":{"search":{"terms":[]},"styles":["brands"],"unicode":"f23d","label":"OpenCart"},"openid":{"search":{"terms":[]},"styles":["brands"],"unicode":"f19b","label":"OpenID"},"opera":{"search":{"terms":[]},"styles":["brands"],"unicode":"f26a","label":"Opera"},"optin-monster":{"search":{"terms":[]},"styles":["brands"],"unicode":"f23c","label":"Optin Monster"},"orcid":{"search":{"terms":[]},"styles":["brands"],"unicode":"f8d2","label":"ORCID"},"osi":{"search":{"terms":[]},"styles":["brands"],"unicode":"f41a","label":"Open Source Initiative"},"otter":{"search":{"terms":["animal","badger","fauna","fur","mammal","marten"]},"styles":["solid"],"unicode":"f700","label":"Otter"},"outdent":{"search":{"terms":["align","justify","paragraph","tab"]},"styles":["solid"],"unicode":"f03b","label":"Outdent"},"page4":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3d7","label":"page4 Corporation"},"pagelines":{"search":{"terms":["eco","flora","leaf","leaves","nature","plant","tree"]},"styles":["brands"],"unicode":"f18c","label":"Pagelines"},"pager":{"search":{"terms":["beeper","cellphone","communication"]},"styles":["solid"],"unicode":"f815","label":"Pager"},"paint-brush":{"search":{"terms":["acrylic","art","brush","color","fill","paint","pigment","watercolor"]},"styles":["solid"],"unicode":"f1fc","label":"Paint Brush"},"paint-roller":{"search":{"terms":["acrylic","art","brush","color","fill","paint","pigment","watercolor"]},"styles":["solid"],"unicode":"f5aa","label":"Paint Roller"},"palette":{"search":{"terms":["acrylic","art","brush","color","fill","paint","pigment","watercolor"]},"styles":["solid"],"unicode":"f53f","label":"Palette"},"palfed":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3d8","label":"Palfed"},"pallet":{"search":{"terms":["archive","box","inventory","shipping","warehouse"]},"styles":["solid"],"unicode":"f482","label":"Pallet"},"paper-plane":{"search":{"terms":["air","float","fold","mail","paper","send"]},"styles":["solid","regular"],"unicode":"f1d8","label":"Paper Plane"},"paperclip":{"search":{"terms":["attach","attachment","connect","link"]},"styles":["solid"],"unicode":"f0c6","label":"Paperclip"},"parachute-box":{"search":{"terms":["aid","assistance","rescue","supplies"]},"styles":["solid"],"unicode":"f4cd","label":"Parachute Box"},"paragraph":{"search":{"terms":["edit","format","text","writing"]},"styles":["solid"],"unicode":"f1dd","label":"paragraph"},"parking":{"search":{"terms":["auto","car","garage","meter"]},"styles":["solid"],"unicode":"f540","label":"Parking"},"passport":{"search":{"terms":["document","id","identification","issued","travel"]},"styles":["solid"],"unicode":"f5ab","label":"Passport"},"pastafarianism":{"search":{"terms":["agnosticism","atheism","flying spaghetti monster","fsm"]},"styles":["solid"],"unicode":"f67b","label":"Pastafarianism"},"paste":{"search":{"terms":["clipboard","copy","document","paper"]},"styles":["solid"],"unicode":"f0ea","label":"Paste"},"patreon":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3d9","label":"Patreon"},"pause":{"search":{"terms":["hold","wait"]},"styles":["solid"],"unicode":"f04c","label":"pause"},"pause-circle":{"search":{"terms":["hold","wait"]},"styles":["solid","regular"],"unicode":"f28b","label":"Pause Circle"},"paw":{"search":{"terms":["animal","cat","dog","pet","print"]},"styles":["solid"],"unicode":"f1b0","label":"Paw"},"paypal":{"search":{"terms":[]},"styles":["brands"],"unicode":"f1ed","label":"Paypal"},"peace":{"search":{"terms":["serenity","tranquility","truce","war"]},"styles":["solid"],"unicode":"f67c","label":"Peace"},"pen":{"search":{"terms":["design","edit","update","write"]},"styles":["solid"],"unicode":"f304","label":"Pen"},"pen-alt":{"search":{"terms":["design","edit","update","write"]},"styles":["solid"],"unicode":"f305","label":"Alternate Pen"},"pen-fancy":{"search":{"terms":["design","edit","fountain pen","update","write"]},"styles":["solid"],"unicode":"f5ac","label":"Pen Fancy"},"pen-nib":{"search":{"terms":["design","edit","fountain pen","update","write"]},"styles":["solid"],"unicode":"f5ad","label":"Pen Nib"},"pen-square":{"search":{"terms":["edit","pencil-square","update","write"]},"styles":["solid"],"unicode":"f14b","label":"Pen Square"},"pencil-alt":{"search":{"terms":["design","edit","pencil","update","write"]},"styles":["solid"],"unicode":"f303","label":"Alternate Pencil"},"pencil-ruler":{"search":{"terms":["design","draft","draw","pencil"]},"styles":["solid"],"unicode":"f5ae","label":"Pencil Ruler"},"penny-arcade":{"search":{"terms":["Dungeons & Dragons","d&d","dnd","fantasy","game","gaming","pax","tabletop"]},"styles":["brands"],"unicode":"f704","label":"Penny Arcade"},"people-arrows":{"search":{"terms":["covid-19","personal space","social distance","space","spread","users"]},"styles":["solid"],"unicode":"f968","label":"People Arrows"},"people-carry":{"search":{"terms":["box","carry","fragile","help","movers","package"]},"styles":["solid"],"unicode":"f4ce","label":"People Carry"},"pepper-hot":{"search":{"terms":["buffalo wings","capsicum","chili","chilli","habanero","jalapeno","mexican","spicy","tabasco","vegetable"]},"styles":["solid"],"unicode":"f816","label":"Hot Pepper"},"percent":{"search":{"terms":["discount","fraction","proportion","rate","ratio"]},"styles":["solid"],"unicode":"f295","label":"Percent"},"percentage":{"search":{"terms":["discount","fraction","proportion","rate","ratio"]},"styles":["solid"],"unicode":"f541","label":"Percentage"},"periscope":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3da","label":"Periscope"},"person-booth":{"search":{"terms":["changing","changing room","election","human","person","vote","voting"]},"styles":["solid"],"unicode":"f756","label":"Person Entering Booth"},"phabricator":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3db","label":"Phabricator"},"phoenix-framework":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3dc","label":"Phoenix Framework"},"phoenix-squadron":{"search":{"terms":[]},"styles":["brands"],"unicode":"f511","label":"Phoenix Squadron"},"phone":{"search":{"terms":["call","earphone","number","support","telephone","voice"]},"styles":["solid"],"unicode":"f095","label":"Phone"},"phone-alt":{"search":{"terms":["call","earphone","number","support","telephone","voice"]},"styles":["solid"],"unicode":"f879","label":"Alternate Phone"},"phone-slash":{"search":{"terms":["call","cancel","earphone","mute","number","support","telephone","voice"]},"styles":["solid"],"unicode":"f3dd","label":"Phone Slash"},"phone-square":{"search":{"terms":["call","earphone","number","support","telephone","voice"]},"styles":["solid"],"unicode":"f098","label":"Phone Square"},"phone-square-alt":{"search":{"terms":["call","earphone","number","support","telephone","voice"]},"styles":["solid"],"unicode":"f87b","label":"Alternate Phone Square"},"phone-volume":{"search":{"terms":["call","earphone","number","sound","support","telephone","voice","volume-control-phone"]},"styles":["solid"],"unicode":"f2a0","label":"Phone Volume"},"photo-video":{"search":{"terms":["av","film","image","library","media"]},"styles":["solid"],"unicode":"f87c","label":"Photo Video"},"php":{"search":{"terms":[]},"styles":["brands"],"unicode":"f457","label":"PHP"},"pied-piper":{"search":{"terms":[]},"styles":["brands"],"unicode":"f2ae","label":"Pied Piper Logo"},"pied-piper-alt":{"search":{"terms":[]},"styles":["brands"],"unicode":"f1a8","label":"Alternate Pied Piper Logo (Old)"},"pied-piper-hat":{"search":{"terms":["clothing"]},"styles":["brands"],"unicode":"f4e5","label":"Pied Piper Hat (Old)"},"pied-piper-pp":{"search":{"terms":[]},"styles":["brands"],"unicode":"f1a7","label":"Pied Piper PP Logo (Old)"},"pied-piper-square":{"search":{"terms":[]},"styles":["brands"],"unicode":"f91e","label":"Pied Piper Square Logo (Old)"},"piggy-bank":{"search":{"terms":["bank","save","savings"]},"styles":["solid"],"unicode":"f4d3","label":"Piggy Bank"},"pills":{"search":{"terms":["drugs","medicine","prescription","tablets"]},"styles":["solid"],"unicode":"f484","label":"Pills"},"pinterest":{"search":{"terms":[]},"styles":["brands"],"unicode":"f0d2","label":"Pinterest"},"pinterest-p":{"search":{"terms":[]},"styles":["brands"],"unicode":"f231","label":"Pinterest P"},"pinterest-square":{"search":{"terms":[]},"styles":["brands"],"unicode":"f0d3","label":"Pinterest Square"},"pizza-slice":{"search":{"terms":["cheese","chicago","italian","mozzarella","new york","pepperoni","pie","slice","teenage mutant ninja turtles","tomato"]},"styles":["solid"],"unicode":"f818","label":"Pizza Slice"},"place-of-worship":{"search":{"terms":["building","church","holy","mosque","synagogue"]},"styles":["solid"],"unicode":"f67f","label":"Place of Worship"},"plane":{"search":{"terms":["airplane","destination","fly","location","mode","travel","trip"]},"styles":["solid"],"unicode":"f072","label":"plane"},"plane-arrival":{"search":{"terms":["airplane","arriving","destination","fly","land","landing","location","mode","travel","trip"]},"styles":["solid"],"unicode":"f5af","label":"Plane Arrival"},"plane-departure":{"search":{"terms":["airplane","departing","destination","fly","location","mode","take off","taking off","travel","trip"]},"styles":["solid"],"unicode":"f5b0","label":"Plane Departure"},"plane-slash":{"search":{"terms":["airplane mode","canceled","covid-19","delayed","grounded","travel"]},"styles":["solid"],"unicode":"f969","label":"Plane Slash"},"play":{"search":{"terms":["audio","music","playing","sound","start","video"]},"styles":["solid"],"unicode":"f04b","label":"play"},"play-circle":{"search":{"terms":["audio","music","playing","sound","start","video"]},"styles":["solid","regular"],"unicode":"f144","label":"Play Circle"},"playstation":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3df","label":"PlayStation"},"plug":{"search":{"terms":["connect","electric","online","power"]},"styles":["solid"],"unicode":"f1e6","label":"Plug"},"plus":{"search":{"terms":["add","create","expand","new","positive","shape"]},"styles":["solid"],"unicode":"f067","label":"plus"},"plus-circle":{"search":{"terms":["add","create","expand","new","positive","shape"]},"styles":["solid"],"unicode":"f055","label":"Plus Circle"},"plus-square":{"search":{"terms":["add","create","expand","new","positive","shape"]},"styles":["solid","regular"],"unicode":"f0fe","label":"Plus Square"},"podcast":{"search":{"terms":["audio","broadcast","music","sound"]},"styles":["solid"],"unicode":"f2ce","label":"Podcast"},"poll":{"search":{"terms":["results","survey","trend","vote","voting"]},"styles":["solid"],"unicode":"f681","label":"Poll"},"poll-h":{"search":{"terms":["results","survey","trend","vote","voting"]},"styles":["solid"],"unicode":"f682","label":"Poll H"},"poo":{"search":{"terms":["crap","poop","shit","smile","turd"]},"styles":["solid"],"unicode":"f2fe","label":"Poo"},"poo-storm":{"search":{"terms":["bolt","cloud","euphemism","lightning","mess","poop","shit","turd"]},"styles":["solid"],"unicode":"f75a","label":"Poo Storm"},"poop":{"search":{"terms":["crap","poop","shit","smile","turd"]},"styles":["solid"],"unicode":"f619","label":"Poop"},"portrait":{"search":{"terms":["id","image","photo","picture","selfie"]},"styles":["solid"],"unicode":"f3e0","label":"Portrait"},"pound-sign":{"search":{"terms":["currency","gbp","money"]},"styles":["solid"],"unicode":"f154","label":"Pound Sign"},"power-off":{"search":{"terms":["cancel","computer","on","reboot","restart"]},"styles":["solid"],"unicode":"f011","label":"Power Off"},"pray":{"search":{"terms":["kneel","preach","religion","worship"]},"styles":["solid"],"unicode":"f683","label":"Pray"},"praying-hands":{"search":{"terms":["kneel","preach","religion","worship"]},"styles":["solid"],"unicode":"f684","label":"Praying Hands"},"prescription":{"search":{"terms":["drugs","medical","medicine","pharmacy","rx"]},"styles":["solid"],"unicode":"f5b1","label":"Prescription"},"prescription-bottle":{"search":{"terms":["drugs","medical","medicine","pharmacy","rx"]},"styles":["solid"],"unicode":"f485","label":"Prescription Bottle"},"prescription-bottle-alt":{"search":{"terms":["drugs","medical","medicine","pharmacy","rx"]},"styles":["solid"],"unicode":"f486","label":"Alternate Prescription Bottle"},"print":{"search":{"terms":["business","copy","document","office","paper"]},"styles":["solid"],"unicode":"f02f","label":"print"},"procedures":{"search":{"terms":["EKG","bed","electrocardiogram","health","hospital","life","patient","vital"]},"styles":["solid"],"unicode":"f487","label":"Procedures"},"product-hunt":{"search":{"terms":[]},"styles":["brands"],"unicode":"f288","label":"Product Hunt"},"project-diagram":{"search":{"terms":["chart","graph","network","pert"]},"styles":["solid"],"unicode":"f542","label":"Project Diagram"},"pump-medical":{"search":{"terms":["anti-bacterial","clean","covid-19","disinfect","hygiene","medical grade","sanitizer","soap"]},"styles":["solid"],"unicode":"f96a","label":"Pump Medical"},"pump-soap":{"search":{"terms":["anti-bacterial","clean","covid-19","disinfect","hygiene","sanitizer","soap"]},"styles":["solid"],"unicode":"f96b","label":"Pump Soap"},"pushed":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3e1","label":"Pushed"},"puzzle-piece":{"search":{"terms":["add-on","addon","game","section"]},"styles":["solid"],"unicode":"f12e","label":"Puzzle Piece"},"python":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3e2","label":"Python"},"qq":{"search":{"terms":[]},"styles":["brands"],"unicode":"f1d6","label":"QQ"},"qrcode":{"search":{"terms":["barcode","info","information","scan"]},"styles":["solid"],"unicode":"f029","label":"qrcode"},"question":{"search":{"terms":["help","information","support","unknown"]},"styles":["solid"],"unicode":"f128","label":"Question"},"question-circle":{"search":{"terms":["help","information","support","unknown"]},"styles":["solid","regular"],"unicode":"f059","label":"Question Circle"},"quidditch":{"search":{"terms":["ball","bludger","broom","golden snitch","harry potter","hogwarts","quaffle","sport","wizard"]},"styles":["solid"],"unicode":"f458","label":"Quidditch"},"quinscape":{"search":{"terms":[]},"styles":["brands"],"unicode":"f459","label":"QuinScape"},"quora":{"search":{"terms":[]},"styles":["brands"],"unicode":"f2c4","label":"Quora"},"quote-left":{"search":{"terms":["mention","note","phrase","text","type"]},"styles":["solid"],"unicode":"f10d","label":"quote-left"},"quote-right":{"search":{"terms":["mention","note","phrase","text","type"]},"styles":["solid"],"unicode":"f10e","label":"quote-right"},"quran":{"search":{"terms":["book","islam","muslim","religion"]},"styles":["solid"],"unicode":"f687","label":"Quran"},"r-project":{"search":{"terms":[]},"styles":["brands"],"unicode":"f4f7","label":"R Project"},"radiation":{"search":{"terms":["danger","dangerous","deadly","hazard","nuclear","radioactive","warning"]},"styles":["solid"],"unicode":"f7b9","label":"Radiation"},"radiation-alt":{"search":{"terms":["danger","dangerous","deadly","hazard","nuclear","radioactive","warning"]},"styles":["solid"],"unicode":"f7ba","label":"Alternate Radiation"},"rainbow":{"search":{"terms":["gold","leprechaun","prism","rain","sky"]},"styles":["solid"],"unicode":"f75b","label":"Rainbow"},"random":{"search":{"terms":["arrows","shuffle","sort","swap","switch","transfer"]},"styles":["solid"],"unicode":"f074","label":"random"},"raspberry-pi":{"search":{"terms":[]},"styles":["brands"],"unicode":"f7bb","label":"Raspberry Pi"},"ravelry":{"search":{"terms":[]},"styles":["brands"],"unicode":"f2d9","label":"Ravelry"},"react":{"search":{"terms":[]},"styles":["brands"],"unicode":"f41b","label":"React"},"reacteurope":{"search":{"terms":[]},"styles":["brands"],"unicode":"f75d","label":"ReactEurope"},"readme":{"search":{"terms":[]},"styles":["brands"],"unicode":"f4d5","label":"ReadMe"},"rebel":{"search":{"terms":[]},"styles":["brands"],"unicode":"f1d0","label":"Rebel Alliance"},"receipt":{"search":{"terms":["check","invoice","money","pay","table"]},"styles":["solid"],"unicode":"f543","label":"Receipt"},"record-vinyl":{"search":{"terms":["LP","album","analog","music","phonograph","sound"]},"styles":["solid"],"unicode":"f8d9","label":"Record Vinyl"},"recycle":{"search":{"terms":["Waste","compost","garbage","reuse","trash"]},"styles":["solid"],"unicode":"f1b8","label":"Recycle"},"red-river":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3e3","label":"red river"},"reddit":{"search":{"terms":[]},"styles":["brands"],"unicode":"f1a1","label":"reddit Logo"},"reddit-alien":{"search":{"terms":[]},"styles":["brands"],"unicode":"f281","label":"reddit Alien"},"reddit-square":{"search":{"terms":[]},"styles":["brands"],"unicode":"f1a2","label":"reddit Square"},"redhat":{"search":{"terms":["linux","operating system","os"]},"styles":["brands"],"unicode":"f7bc","label":"Redhat"},"redo":{"search":{"terms":["forward","refresh","reload","repeat"]},"styles":["solid"],"unicode":"f01e","label":"Redo"},"redo-alt":{"search":{"terms":["forward","refresh","reload","repeat"]},"styles":["solid"],"unicode":"f2f9","label":"Alternate Redo"},"registered":{"search":{"terms":["copyright","mark","trademark"]},"styles":["solid","regular"],"unicode":"f25d","label":"Registered Trademark"},"remove-format":{"search":{"terms":["cancel","font","format","remove","style","text"]},"styles":["solid"],"unicode":"f87d","label":"Remove Format"},"renren":{"search":{"terms":[]},"styles":["brands"],"unicode":"f18b","label":"Renren"},"reply":{"search":{"terms":["mail","message","respond"]},"styles":["solid"],"unicode":"f3e5","label":"Reply"},"reply-all":{"search":{"terms":["mail","message","respond"]},"styles":["solid"],"unicode":"f122","label":"reply-all"},"replyd":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3e6","label":"replyd"},"republican":{"search":{"terms":["american","conservative","election","elephant","politics","republican party","right","right-wing","usa"]},"styles":["solid"],"unicode":"f75e","label":"Republican"},"researchgate":{"search":{"terms":[]},"styles":["brands"],"unicode":"f4f8","label":"Researchgate"},"resolving":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3e7","label":"Resolving"},"restroom":{"search":{"terms":["bathroom","john","loo","potty","washroom","waste","wc"]},"styles":["solid"],"unicode":"f7bd","label":"Restroom"},"retweet":{"search":{"terms":["refresh","reload","share","swap"]},"styles":["solid"],"unicode":"f079","label":"Retweet"},"rev":{"search":{"terms":[]},"styles":["brands"],"unicode":"f5b2","label":"Rev.io"},"ribbon":{"search":{"terms":["badge","cause","lapel","pin"]},"styles":["solid"],"unicode":"f4d6","label":"Ribbon"},"ring":{"search":{"terms":["Dungeons & Dragons","Gollum","band","binding","d&d","dnd","engagement","fantasy","gold","jewelry","marriage","precious"]},"styles":["solid"],"unicode":"f70b","label":"Ring"},"road":{"search":{"terms":["highway","map","pavement","route","street","travel"]},"styles":["solid"],"unicode":"f018","label":"road"},"robot":{"search":{"terms":["android","automate","computer","cyborg"]},"styles":["solid"],"unicode":"f544","label":"Robot"},"rocket":{"search":{"terms":["aircraft","app","jet","launch","nasa","space"]},"styles":["solid"],"unicode":"f135","label":"rocket"},"rocketchat":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3e8","label":"Rocket.Chat"},"rockrms":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3e9","label":"Rockrms"},"route":{"search":{"terms":["directions","navigation","travel"]},"styles":["solid"],"unicode":"f4d7","label":"Route"},"rss":{"search":{"terms":["blog","feed","journal","news","writing"]},"styles":["solid"],"unicode":"f09e","label":"rss"},"rss-square":{"search":{"terms":["blog","feed","journal","news","writing"]},"styles":["solid"],"unicode":"f143","label":"RSS Square"},"ruble-sign":{"search":{"terms":["currency","money","rub"]},"styles":["solid"],"unicode":"f158","label":"Ruble Sign"},"ruler":{"search":{"terms":["design","draft","length","measure","planning"]},"styles":["solid"],"unicode":"f545","label":"Ruler"},"ruler-combined":{"search":{"terms":["design","draft","length","measure","planning"]},"styles":["solid"],"unicode":"f546","label":"Ruler Combined"},"ruler-horizontal":{"search":{"terms":["design","draft","length","measure","planning"]},"styles":["solid"],"unicode":"f547","label":"Ruler Horizontal"},"ruler-vertical":{"search":{"terms":["design","draft","length","measure","planning"]},"styles":["solid"],"unicode":"f548","label":"Ruler Vertical"},"running":{"search":{"terms":["exercise","health","jog","person","run","sport","sprint"]},"styles":["solid"],"unicode":"f70c","label":"Running"},"rupee-sign":{"search":{"terms":["currency","indian","inr","money"]},"styles":["solid"],"unicode":"f156","label":"Indian Rupee Sign"},"sad-cry":{"search":{"terms":["emoticon","face","tear","tears"]},"styles":["solid","regular"],"unicode":"f5b3","label":"Crying Face"},"sad-tear":{"search":{"terms":["emoticon","face","tear","tears"]},"styles":["solid","regular"],"unicode":"f5b4","label":"Loudly Crying Face"},"safari":{"search":{"terms":["browser"]},"styles":["brands"],"unicode":"f267","label":"Safari"},"salesforce":{"search":{"terms":[]},"styles":["brands"],"unicode":"f83b","label":"Salesforce"},"sass":{"search":{"terms":[]},"styles":["brands"],"unicode":"f41e","label":"Sass"},"satellite":{"search":{"terms":["communications","hardware","orbit","space"]},"styles":["solid"],"unicode":"f7bf","label":"Satellite"},"satellite-dish":{"search":{"terms":["SETI","communications","hardware","receiver","saucer","signal","space"]},"styles":["solid"],"unicode":"f7c0","label":"Satellite Dish"},"save":{"search":{"terms":["disk","download","floppy","floppy-o"]},"styles":["solid","regular"],"unicode":"f0c7","label":"Save"},"schlix":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3ea","label":"SCHLIX"},"school":{"search":{"terms":["building","education","learn","student","teacher"]},"styles":["solid"],"unicode":"f549","label":"School"},"screwdriver":{"search":{"terms":["admin","fix","mechanic","repair","settings","tool"]},"styles":["solid"],"unicode":"f54a","label":"Screwdriver"},"scribd":{"search":{"terms":[]},"styles":["brands"],"unicode":"f28a","label":"Scribd"},"scroll":{"search":{"terms":["Dungeons & Dragons","announcement","d&d","dnd","fantasy","paper","script"]},"styles":["solid"],"unicode":"f70e","label":"Scroll"},"sd-card":{"search":{"terms":["image","memory","photo","save"]},"styles":["solid"],"unicode":"f7c2","label":"Sd Card"},"search":{"search":{"terms":["bigger","enlarge","find","magnify","preview","zoom"]},"styles":["solid"],"unicode":"f002","label":"Search"},"search-dollar":{"search":{"terms":["bigger","enlarge","find","magnify","money","preview","zoom"]},"styles":["solid"],"unicode":"f688","label":"Search Dollar"},"search-location":{"search":{"terms":["bigger","enlarge","find","magnify","preview","zoom"]},"styles":["solid"],"unicode":"f689","label":"Search Location"},"search-minus":{"search":{"terms":["minify","negative","smaller","zoom","zoom out"]},"styles":["solid"],"unicode":"f010","label":"Search Minus"},"search-plus":{"search":{"terms":["bigger","enlarge","magnify","positive","zoom","zoom in"]},"styles":["solid"],"unicode":"f00e","label":"Search Plus"},"searchengin":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3eb","label":"Searchengin"},"seedling":{"search":{"terms":["flora","grow","plant","vegan"]},"styles":["solid"],"unicode":"f4d8","label":"Seedling"},"sellcast":{"search":{"terms":["eercast"]},"styles":["brands"],"unicode":"f2da","label":"Sellcast"},"sellsy":{"search":{"terms":[]},"styles":["brands"],"unicode":"f213","label":"Sellsy"},"server":{"search":{"terms":["computer","cpu","database","hardware","network"]},"styles":["solid"],"unicode":"f233","label":"Server"},"servicestack":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3ec","label":"Servicestack"},"shapes":{"search":{"terms":["blocks","build","circle","square","triangle"]},"styles":["solid"],"unicode":"f61f","label":"Shapes"},"share":{"search":{"terms":["forward","save","send","social"]},"styles":["solid"],"unicode":"f064","label":"Share"},"share-alt":{"search":{"terms":["forward","save","send","social"]},"styles":["solid"],"unicode":"f1e0","label":"Alternate Share"},"share-alt-square":{"search":{"terms":["forward","save","send","social"]},"styles":["solid"],"unicode":"f1e1","label":"Alternate Share Square"},"share-square":{"search":{"terms":["forward","save","send","social"]},"styles":["solid","regular"],"unicode":"f14d","label":"Share Square"},"shekel-sign":{"search":{"terms":["currency","ils","money"]},"styles":["solid"],"unicode":"f20b","label":"Shekel Sign"},"shield-alt":{"search":{"terms":["achievement","award","block","defend","security","winner"]},"styles":["solid"],"unicode":"f3ed","label":"Alternate Shield"},"shield-virus":{"search":{"terms":["antibodies","barrier","covid-19","health","protect"]},"styles":["solid"],"unicode":"f96c","label":"Shield Virus"},"ship":{"search":{"terms":["boat","sea","water"]},"styles":["solid"],"unicode":"f21a","label":"Ship"},"shipping-fast":{"search":{"terms":["express","fedex","mail","overnight","package","ups"]},"styles":["solid"],"unicode":"f48b","label":"Shipping Fast"},"shirtsinbulk":{"search":{"terms":[]},"styles":["brands"],"unicode":"f214","label":"Shirts in Bulk"},"shoe-prints":{"search":{"terms":["feet","footprints","steps","walk"]},"styles":["solid"],"unicode":"f54b","label":"Shoe Prints"},"shopify":{"search":{"terms":[]},"styles":["brands"],"unicode":"f957","label":"Shopify"},"shopping-bag":{"search":{"terms":["buy","checkout","grocery","payment","purchase"]},"styles":["solid"],"unicode":"f290","label":"Shopping Bag"},"shopping-basket":{"search":{"terms":["buy","checkout","grocery","payment","purchase"]},"styles":["solid"],"unicode":"f291","label":"Shopping Basket"},"shopping-cart":{"search":{"terms":["buy","checkout","grocery","payment","purchase"]},"styles":["solid"],"unicode":"f07a","label":"shopping-cart"},"shopware":{"search":{"terms":[]},"styles":["brands"],"unicode":"f5b5","label":"Shopware"},"shower":{"search":{"terms":["bath","clean","faucet","water"]},"styles":["solid"],"unicode":"f2cc","label":"Shower"},"shuttle-van":{"search":{"terms":["airport","machine","public-transportation","transportation","travel","vehicle"]},"styles":["solid"],"unicode":"f5b6","label":"Shuttle Van"},"sign":{"search":{"terms":["directions","real estate","signage","wayfinding"]},"styles":["solid"],"unicode":"f4d9","label":"Sign"},"sign-in-alt":{"search":{"terms":["arrow","enter","join","log in","login","sign in","sign up","sign-in","signin","signup"]},"styles":["solid"],"unicode":"f2f6","label":"Alternate Sign In"},"sign-language":{"search":{"terms":["Translate","asl","deaf","hands"]},"styles":["solid"],"unicode":"f2a7","label":"Sign Language"},"sign-out-alt":{"search":{"terms":["arrow","exit","leave","log out","logout","sign-out"]},"styles":["solid"],"unicode":"f2f5","label":"Alternate Sign Out"},"signal":{"search":{"terms":["bars","graph","online","reception","status"]},"styles":["solid"],"unicode":"f012","label":"signal"},"signature":{"search":{"terms":["John Hancock","cursive","name","writing"]},"styles":["solid"],"unicode":"f5b7","label":"Signature"},"sim-card":{"search":{"terms":["hard drive","hardware","portable","storage","technology","tiny"]},"styles":["solid"],"unicode":"f7c4","label":"SIM Card"},"simplybuilt":{"search":{"terms":[]},"styles":["brands"],"unicode":"f215","label":"SimplyBuilt"},"sistrix":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3ee","label":"SISTRIX"},"sitemap":{"search":{"terms":["directory","hierarchy","ia","information architecture","organization"]},"styles":["solid"],"unicode":"f0e8","label":"Sitemap"},"sith":{"search":{"terms":[]},"styles":["brands"],"unicode":"f512","label":"Sith"},"skating":{"search":{"terms":["activity","figure skating","fitness","ice","person","winter"]},"styles":["solid"],"unicode":"f7c5","label":"Skating"},"sketch":{"search":{"terms":["app","design","interface"]},"styles":["brands"],"unicode":"f7c6","label":"Sketch"},"skiing":{"search":{"terms":["activity","downhill","fast","fitness","olympics","outdoors","person","seasonal","slalom"]},"styles":["solid"],"unicode":"f7c9","label":"Skiing"},"skiing-nordic":{"search":{"terms":["activity","cross country","fitness","outdoors","person","seasonal"]},"styles":["solid"],"unicode":"f7ca","label":"Skiing Nordic"},"skull":{"search":{"terms":["bones","skeleton","x-ray","yorick"]},"styles":["solid"],"unicode":"f54c","label":"Skull"},"skull-crossbones":{"search":{"terms":["Dungeons & Dragons","alert","bones","d&d","danger","dead","deadly","death","dnd","fantasy","halloween","holiday","jolly-roger","pirate","poison","skeleton","warning"]},"styles":["solid"],"unicode":"f714","label":"Skull & Crossbones"},"skyatlas":{"search":{"terms":[]},"styles":["brands"],"unicode":"f216","label":"skyatlas"},"skype":{"search":{"terms":[]},"styles":["brands"],"unicode":"f17e","label":"Skype"},"slack":{"search":{"terms":["anchor","hash","hashtag"]},"styles":["brands"],"unicode":"f198","label":"Slack Logo"},"slack-hash":{"search":{"terms":["anchor","hash","hashtag"]},"styles":["brands"],"unicode":"f3ef","label":"Slack Hashtag"},"slash":{"search":{"terms":["cancel","close","mute","off","stop","x"]},"styles":["solid"],"unicode":"f715","label":"Slash"},"sleigh":{"search":{"terms":["christmas","claus","fly","holiday","santa","sled","snow","xmas"]},"styles":["solid"],"unicode":"f7cc","label":"Sleigh"},"sliders-h":{"search":{"terms":["adjust","settings","sliders","toggle"]},"styles":["solid"],"unicode":"f1de","label":"Horizontal Sliders"},"slideshare":{"search":{"terms":[]},"styles":["brands"],"unicode":"f1e7","label":"Slideshare"},"smile":{"search":{"terms":["approve","emoticon","face","happy","rating","satisfied"]},"styles":["solid","regular"],"unicode":"f118","label":"Smiling Face"},"smile-beam":{"search":{"terms":["emoticon","face","happy","positive"]},"styles":["solid","regular"],"unicode":"f5b8","label":"Beaming Face With Smiling Eyes"},"smile-wink":{"search":{"terms":["emoticon","face","happy","hint","joke"]},"styles":["solid","regular"],"unicode":"f4da","label":"Winking Face"},"smog":{"search":{"terms":["dragon","fog","haze","pollution","smoke","weather"]},"styles":["solid"],"unicode":"f75f","label":"Smog"},"smoking":{"search":{"terms":["cancer","cigarette","nicotine","smoking status","tobacco"]},"styles":["solid"],"unicode":"f48d","label":"Smoking"},"smoking-ban":{"search":{"terms":["ban","cancel","no smoking","non-smoking"]},"styles":["solid"],"unicode":"f54d","label":"Smoking Ban"},"sms":{"search":{"terms":["chat","conversation","message","mobile","notification","phone","sms","texting"]},"styles":["solid"],"unicode":"f7cd","label":"SMS"},"snapchat":{"search":{"terms":[]},"styles":["brands"],"unicode":"f2ab","label":"Snapchat"},"snapchat-ghost":{"search":{"terms":[]},"styles":["brands"],"unicode":"f2ac","label":"Snapchat Ghost"},"snapchat-square":{"search":{"terms":[]},"styles":["brands"],"unicode":"f2ad","label":"Snapchat Square"},"snowboarding":{"search":{"terms":["activity","fitness","olympics","outdoors","person"]},"styles":["solid"],"unicode":"f7ce","label":"Snowboarding"},"snowflake":{"search":{"terms":["precipitation","rain","winter"]},"styles":["solid","regular"],"unicode":"f2dc","label":"Snowflake"},"snowman":{"search":{"terms":["decoration","frost","frosty","holiday"]},"styles":["solid"],"unicode":"f7d0","label":"Snowman"},"snowplow":{"search":{"terms":["clean up","cold","road","storm","winter"]},"styles":["solid"],"unicode":"f7d2","label":"Snowplow"},"soap":{"search":{"terms":["bubbles","clean","covid-19","hygiene","wash"]},"styles":["solid"],"unicode":"f96e","label":"Soap"},"socks":{"search":{"terms":["business socks","business time","clothing","feet","flight of the conchords","wednesday"]},"styles":["solid"],"unicode":"f696","label":"Socks"},"solar-panel":{"search":{"terms":["clean","eco-friendly","energy","green","sun"]},"styles":["solid"],"unicode":"f5ba","label":"Solar Panel"},"sort":{"search":{"terms":["filter","order"]},"styles":["solid"],"unicode":"f0dc","label":"Sort"},"sort-alpha-down":{"search":{"terms":["alphabetical","arrange","filter","order","sort-alpha-asc"]},"styles":["solid"],"unicode":"f15d","label":"Sort Alphabetical Down"},"sort-alpha-down-alt":{"search":{"terms":["alphabetical","arrange","filter","order","sort-alpha-asc"]},"styles":["solid"],"unicode":"f881","label":"Alternate Sort Alphabetical Down"},"sort-alpha-up":{"search":{"terms":["alphabetical","arrange","filter","order","sort-alpha-desc"]},"styles":["solid"],"unicode":"f15e","label":"Sort Alphabetical Up"},"sort-alpha-up-alt":{"search":{"terms":["alphabetical","arrange","filter","order","sort-alpha-desc"]},"styles":["solid"],"unicode":"f882","label":"Alternate Sort Alphabetical Up"},"sort-amount-down":{"search":{"terms":["arrange","filter","number","order","sort-amount-asc"]},"styles":["solid"],"unicode":"f160","label":"Sort Amount Down"},"sort-amount-down-alt":{"search":{"terms":["arrange","filter","order","sort-amount-asc"]},"styles":["solid"],"unicode":"f884","label":"Alternate Sort Amount Down"},"sort-amount-up":{"search":{"terms":["arrange","filter","order","sort-amount-desc"]},"styles":["solid"],"unicode":"f161","label":"Sort Amount Up"},"sort-amount-up-alt":{"search":{"terms":["arrange","filter","order","sort-amount-desc"]},"styles":["solid"],"unicode":"f885","label":"Alternate Sort Amount Up"},"sort-down":{"search":{"terms":["arrow","descending","filter","order","sort-desc"]},"styles":["solid"],"unicode":"f0dd","label":"Sort Down (Descending)"},"sort-numeric-down":{"search":{"terms":["arrange","filter","numbers","order","sort-numeric-asc"]},"styles":["solid"],"unicode":"f162","label":"Sort Numeric Down"},"sort-numeric-down-alt":{"search":{"terms":["arrange","filter","numbers","order","sort-numeric-asc"]},"styles":["solid"],"unicode":"f886","label":"Alternate Sort Numeric Down"},"sort-numeric-up":{"search":{"terms":["arrange","filter","numbers","order","sort-numeric-desc"]},"styles":["solid"],"unicode":"f163","label":"Sort Numeric Up"},"sort-numeric-up-alt":{"search":{"terms":["arrange","filter","numbers","order","sort-numeric-desc"]},"styles":["solid"],"unicode":"f887","label":"Alternate Sort Numeric Up"},"sort-up":{"search":{"terms":["arrow","ascending","filter","order","sort-asc"]},"styles":["solid"],"unicode":"f0de","label":"Sort Up (Ascending)"},"soundcloud":{"search":{"terms":[]},"styles":["brands"],"unicode":"f1be","label":"SoundCloud"},"sourcetree":{"search":{"terms":[]},"styles":["brands"],"unicode":"f7d3","label":"Sourcetree"},"spa":{"search":{"terms":["flora","massage","mindfulness","plant","wellness"]},"styles":["solid"],"unicode":"f5bb","label":"Spa"},"space-shuttle":{"search":{"terms":["astronaut","machine","nasa","rocket","space","transportation"]},"styles":["solid"],"unicode":"f197","label":"Space Shuttle"},"speakap":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3f3","label":"Speakap"},"speaker-deck":{"search":{"terms":[]},"styles":["brands"],"unicode":"f83c","label":"Speaker Deck"},"spell-check":{"search":{"terms":["dictionary","edit","editor","grammar","text"]},"styles":["solid"],"unicode":"f891","label":"Spell Check"},"spider":{"search":{"terms":["arachnid","bug","charlotte","crawl","eight","halloween"]},"styles":["solid"],"unicode":"f717","label":"Spider"},"spinner":{"search":{"terms":["circle","loading","progress"]},"styles":["solid"],"unicode":"f110","label":"Spinner"},"splotch":{"search":{"terms":["Ink","blob","blotch","glob","stain"]},"styles":["solid"],"unicode":"f5bc","label":"Splotch"},"spotify":{"search":{"terms":[]},"styles":["brands"],"unicode":"f1bc","label":"Spotify"},"spray-can":{"search":{"terms":["Paint","aerosol","design","graffiti","tag"]},"styles":["solid"],"unicode":"f5bd","label":"Spray Can"},"square":{"search":{"terms":["block","box","shape"]},"styles":["solid","regular"],"unicode":"f0c8","label":"Square"},"square-full":{"search":{"terms":["block","box","shape"]},"styles":["solid"],"unicode":"f45c","label":"Square Full"},"square-root-alt":{"search":{"terms":["arithmetic","calculus","division","math"]},"styles":["solid"],"unicode":"f698","label":"Alternate Square Root"},"squarespace":{"search":{"terms":[]},"styles":["brands"],"unicode":"f5be","label":"Squarespace"},"stack-exchange":{"search":{"terms":[]},"styles":["brands"],"unicode":"f18d","label":"Stack Exchange"},"stack-overflow":{"search":{"terms":[]},"styles":["brands"],"unicode":"f16c","label":"Stack Overflow"},"stackpath":{"search":{"terms":[]},"styles":["brands"],"unicode":"f842","label":"Stackpath"},"stamp":{"search":{"terms":["art","certificate","imprint","rubber","seal"]},"styles":["solid"],"unicode":"f5bf","label":"Stamp"},"star":{"search":{"terms":["achievement","award","favorite","important","night","rating","score"]},"styles":["solid","regular"],"unicode":"f005","label":"Star"},"star-and-crescent":{"search":{"terms":["islam","muslim","religion"]},"styles":["solid"],"unicode":"f699","label":"Star and Crescent"},"star-half":{"search":{"terms":["achievement","award","rating","score","star-half-empty","star-half-full"]},"styles":["solid","regular"],"unicode":"f089","label":"star-half"},"star-half-alt":{"search":{"terms":["achievement","award","rating","score","star-half-empty","star-half-full"]},"styles":["solid"],"unicode":"f5c0","label":"Alternate Star Half"},"star-of-david":{"search":{"terms":["jewish","judaism","religion"]},"styles":["solid"],"unicode":"f69a","label":"Star of David"},"star-of-life":{"search":{"terms":["doctor","emt","first aid","health","medical"]},"styles":["solid"],"unicode":"f621","label":"Star of Life"},"staylinked":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3f5","label":"StayLinked"},"steam":{"search":{"terms":[]},"styles":["brands"],"unicode":"f1b6","label":"Steam"},"steam-square":{"search":{"terms":[]},"styles":["brands"],"unicode":"f1b7","label":"Steam Square"},"steam-symbol":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3f6","label":"Steam Symbol"},"step-backward":{"search":{"terms":["beginning","first","previous","rewind","start"]},"styles":["solid"],"unicode":"f048","label":"step-backward"},"step-forward":{"search":{"terms":["end","last","next"]},"styles":["solid"],"unicode":"f051","label":"step-forward"},"stethoscope":{"search":{"terms":["covid-19","diagnosis","doctor","general practitioner","hospital","infirmary","medicine","office","outpatient"]},"styles":["solid"],"unicode":"f0f1","label":"Stethoscope"},"sticker-mule":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3f7","label":"Sticker Mule"},"sticky-note":{"search":{"terms":["message","note","paper","reminder","sticker"]},"styles":["solid","regular"],"unicode":"f249","label":"Sticky Note"},"stop":{"search":{"terms":["block","box","square"]},"styles":["solid"],"unicode":"f04d","label":"stop"},"stop-circle":{"search":{"terms":["block","box","circle","square"]},"styles":["solid","regular"],"unicode":"f28d","label":"Stop Circle"},"stopwatch":{"search":{"terms":["clock","reminder","time"]},"styles":["solid"],"unicode":"f2f2","label":"Stopwatch"},"stopwatch-20":{"search":{"terms":["ABCs","countdown","covid-19","happy birthday","i will survive","reminder","seconds","time","timer"]},"styles":["solid"],"unicode":"f96f","label":"Stopwatch 20"},"store":{"search":{"terms":["building","buy","purchase","shopping"]},"styles":["solid"],"unicode":"f54e","label":"Store"},"store-alt":{"search":{"terms":["building","buy","purchase","shopping"]},"styles":["solid"],"unicode":"f54f","label":"Alternate Store"},"store-alt-slash":{"search":{"terms":["building","buy","closed","covid-19","purchase","shopping"]},"styles":["solid"],"unicode":"f970","label":"Alternate Store Slash"},"store-slash":{"search":{"terms":["building","buy","closed","covid-19","purchase","shopping"]},"styles":["solid"],"unicode":"f971","label":"Store Slash"},"strava":{"search":{"terms":[]},"styles":["brands"],"unicode":"f428","label":"Strava"},"stream":{"search":{"terms":["flow","list","timeline"]},"styles":["solid"],"unicode":"f550","label":"Stream"},"street-view":{"search":{"terms":["directions","location","map","navigation"]},"styles":["solid"],"unicode":"f21d","label":"Street View"},"strikethrough":{"search":{"terms":["cancel","edit","font","format","text","type"]},"styles":["solid"],"unicode":"f0cc","label":"Strikethrough"},"stripe":{"search":{"terms":[]},"styles":["brands"],"unicode":"f429","label":"Stripe"},"stripe-s":{"search":{"terms":[]},"styles":["brands"],"unicode":"f42a","label":"Stripe S"},"stroopwafel":{"search":{"terms":["caramel","cookie","dessert","sweets","waffle"]},"styles":["solid"],"unicode":"f551","label":"Stroopwafel"},"studiovinari":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3f8","label":"Studio Vinari"},"stumbleupon":{"search":{"terms":[]},"styles":["brands"],"unicode":"f1a4","label":"StumbleUpon Logo"},"stumbleupon-circle":{"search":{"terms":[]},"styles":["brands"],"unicode":"f1a3","label":"StumbleUpon Circle"},"subscript":{"search":{"terms":["edit","font","format","text","type"]},"styles":["solid"],"unicode":"f12c","label":"subscript"},"subway":{"search":{"terms":["machine","railway","train","transportation","vehicle"]},"styles":["solid"],"unicode":"f239","label":"Subway"},"suitcase":{"search":{"terms":["baggage","luggage","move","suitcase","travel","trip"]},"styles":["solid"],"unicode":"f0f2","label":"Suitcase"},"suitcase-rolling":{"search":{"terms":["baggage","luggage","move","suitcase","travel","trip"]},"styles":["solid"],"unicode":"f5c1","label":"Suitcase Rolling"},"sun":{"search":{"terms":["brighten","contrast","day","lighter","sol","solar","star","weather"]},"styles":["solid","regular"],"unicode":"f185","label":"Sun"},"superpowers":{"search":{"terms":[]},"styles":["brands"],"unicode":"f2dd","label":"Superpowers"},"superscript":{"search":{"terms":["edit","exponential","font","format","text","type"]},"styles":["solid"],"unicode":"f12b","label":"superscript"},"supple":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3f9","label":"Supple"},"surprise":{"search":{"terms":["emoticon","face","shocked"]},"styles":["solid","regular"],"unicode":"f5c2","label":"Hushed Face"},"suse":{"search":{"terms":["linux","operating system","os"]},"styles":["brands"],"unicode":"f7d6","label":"Suse"},"swatchbook":{"search":{"terms":["Pantone","color","design","hue","palette"]},"styles":["solid"],"unicode":"f5c3","label":"Swatchbook"},"swift":{"search":{"terms":[]},"styles":["brands"],"unicode":"f8e1","label":"Swift"},"swimmer":{"search":{"terms":["athlete","head","man","olympics","person","pool","water"]},"styles":["solid"],"unicode":"f5c4","label":"Swimmer"},"swimming-pool":{"search":{"terms":["ladder","recreation","swim","water"]},"styles":["solid"],"unicode":"f5c5","label":"Swimming Pool"},"symfony":{"search":{"terms":[]},"styles":["brands"],"unicode":"f83d","label":"Symfony"},"synagogue":{"search":{"terms":["building","jewish","judaism","religion","star of david","temple"]},"styles":["solid"],"unicode":"f69b","label":"Synagogue"},"sync":{"search":{"terms":["exchange","refresh","reload","rotate","swap"]},"styles":["solid"],"unicode":"f021","label":"Sync"},"sync-alt":{"search":{"terms":["exchange","refresh","reload","rotate","swap"]},"styles":["solid"],"unicode":"f2f1","label":"Alternate Sync"},"syringe":{"search":{"terms":["covid-19","doctor","immunizations","medical","needle"]},"styles":["solid"],"unicode":"f48e","label":"Syringe"},"table":{"search":{"terms":["data","excel","spreadsheet"]},"styles":["solid"],"unicode":"f0ce","label":"table"},"table-tennis":{"search":{"terms":["ball","paddle","ping pong"]},"styles":["solid"],"unicode":"f45d","label":"Table Tennis"},"tablet":{"search":{"terms":["apple","device","ipad","kindle","screen"]},"styles":["solid"],"unicode":"f10a","label":"tablet"},"tablet-alt":{"search":{"terms":["apple","device","ipad","kindle","screen"]},"styles":["solid"],"unicode":"f3fa","label":"Alternate Tablet"},"tablets":{"search":{"terms":["drugs","medicine","pills","prescription"]},"styles":["solid"],"unicode":"f490","label":"Tablets"},"tachometer-alt":{"search":{"terms":["dashboard","fast","odometer","speed","speedometer"]},"styles":["solid"],"unicode":"f3fd","label":"Alternate Tachometer"},"tag":{"search":{"terms":["discount","label","price","shopping"]},"styles":["solid"],"unicode":"f02b","label":"tag"},"tags":{"search":{"terms":["discount","label","price","shopping"]},"styles":["solid"],"unicode":"f02c","label":"tags"},"tape":{"search":{"terms":["design","package","sticky"]},"styles":["solid"],"unicode":"f4db","label":"Tape"},"tasks":{"search":{"terms":["checklist","downloading","downloads","loading","progress","project management","settings","to do"]},"styles":["solid"],"unicode":"f0ae","label":"Tasks"},"taxi":{"search":{"terms":["cab","cabbie","car","car service","lyft","machine","transportation","travel","uber","vehicle"]},"styles":["solid"],"unicode":"f1ba","label":"Taxi"},"teamspeak":{"search":{"terms":[]},"styles":["brands"],"unicode":"f4f9","label":"TeamSpeak"},"teeth":{"search":{"terms":["bite","dental","dentist","gums","mouth","smile","tooth"]},"styles":["solid"],"unicode":"f62e","label":"Teeth"},"teeth-open":{"search":{"terms":["dental","dentist","gums bite","mouth","smile","tooth"]},"styles":["solid"],"unicode":"f62f","label":"Teeth Open"},"telegram":{"search":{"terms":[]},"styles":["brands"],"unicode":"f2c6","label":"Telegram"},"telegram-plane":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3fe","label":"Telegram Plane"},"temperature-high":{"search":{"terms":["cook","covid-19","mercury","summer","thermometer","warm"]},"styles":["solid"],"unicode":"f769","label":"High Temperature"},"temperature-low":{"search":{"terms":["cold","cool","covid-19","mercury","thermometer","winter"]},"styles":["solid"],"unicode":"f76b","label":"Low Temperature"},"tencent-weibo":{"search":{"terms":[]},"styles":["brands"],"unicode":"f1d5","label":"Tencent Weibo"},"tenge":{"search":{"terms":["currency","kazakhstan","money","price"]},"styles":["solid"],"unicode":"f7d7","label":"Tenge"},"terminal":{"search":{"terms":["code","command","console","development","prompt"]},"styles":["solid"],"unicode":"f120","label":"Terminal"},"text-height":{"search":{"terms":["edit","font","format","text","type"]},"styles":["solid"],"unicode":"f034","label":"text-height"},"text-width":{"search":{"terms":["edit","font","format","text","type"]},"styles":["solid"],"unicode":"f035","label":"Text Width"},"th":{"search":{"terms":["blocks","boxes","grid","squares"]},"styles":["solid"],"unicode":"f00a","label":"th"},"th-large":{"search":{"terms":["blocks","boxes","grid","squares"]},"styles":["solid"],"unicode":"f009","label":"th-large"},"th-list":{"search":{"terms":["checklist","completed","done","finished","ol","todo","ul"]},"styles":["solid"],"unicode":"f00b","label":"th-list"},"the-red-yeti":{"search":{"terms":[]},"styles":["brands"],"unicode":"f69d","label":"The Red Yeti"},"theater-masks":{"search":{"terms":["comedy","perform","theatre","tragedy"]},"styles":["solid"],"unicode":"f630","label":"Theater Masks"},"themeco":{"search":{"terms":[]},"styles":["brands"],"unicode":"f5c6","label":"Themeco"},"themeisle":{"search":{"terms":[]},"styles":["brands"],"unicode":"f2b2","label":"ThemeIsle"},"thermometer":{"search":{"terms":["covid-19","mercury","status","temperature"]},"styles":["solid"],"unicode":"f491","label":"Thermometer"},"thermometer-empty":{"search":{"terms":["cold","mercury","status","temperature"]},"styles":["solid"],"unicode":"f2cb","label":"Thermometer Empty"},"thermometer-full":{"search":{"terms":["fever","hot","mercury","status","temperature"]},"styles":["solid"],"unicode":"f2c7","label":"Thermometer Full"},"thermometer-half":{"search":{"terms":["mercury","status","temperature"]},"styles":["solid"],"unicode":"f2c9","label":"Thermometer 1/2 Full"},"thermometer-quarter":{"search":{"terms":["mercury","status","temperature"]},"styles":["solid"],"unicode":"f2ca","label":"Thermometer 1/4 Full"},"thermometer-three-quarters":{"search":{"terms":["mercury","status","temperature"]},"styles":["solid"],"unicode":"f2c8","label":"Thermometer 3/4 Full"},"think-peaks":{"search":{"terms":[]},"styles":["brands"],"unicode":"f731","label":"Think Peaks"},"thumbs-down":{"search":{"terms":["disagree","disapprove","dislike","hand","social","thumbs-o-down"]},"styles":["solid","regular"],"unicode":"f165","label":"thumbs-down"},"thumbs-up":{"search":{"terms":["agree","approve","favorite","hand","like","ok","okay","social","success","thumbs-o-up","yes","you got it dude"]},"styles":["solid","regular"],"unicode":"f164","label":"thumbs-up"},"thumbtack":{"search":{"terms":["coordinates","location","marker","pin","thumb-tack"]},"styles":["solid"],"unicode":"f08d","label":"Thumbtack"},"ticket-alt":{"search":{"terms":["movie","pass","support","ticket"]},"styles":["solid"],"unicode":"f3ff","label":"Alternate Ticket"},"times":{"search":{"terms":["close","cross","error","exit","incorrect","notice","notification","notify","problem","wrong","x"]},"styles":["solid"],"unicode":"f00d","label":"Times"},"times-circle":{"search":{"terms":["close","cross","exit","incorrect","notice","notification","notify","problem","wrong","x"]},"styles":["solid","regular"],"unicode":"f057","label":"Times Circle"},"tint":{"search":{"terms":["color","drop","droplet","raindrop","waterdrop"]},"styles":["solid"],"unicode":"f043","label":"tint"},"tint-slash":{"search":{"terms":["color","drop","droplet","raindrop","waterdrop"]},"styles":["solid"],"unicode":"f5c7","label":"Tint Slash"},"tired":{"search":{"terms":["angry","emoticon","face","grumpy","upset"]},"styles":["solid","regular"],"unicode":"f5c8","label":"Tired Face"},"toggle-off":{"search":{"terms":["switch"]},"styles":["solid"],"unicode":"f204","label":"Toggle Off"},"toggle-on":{"search":{"terms":["switch"]},"styles":["solid"],"unicode":"f205","label":"Toggle On"},"toilet":{"search":{"terms":["bathroom","flush","john","loo","pee","plumbing","poop","porcelain","potty","restroom","throne","washroom","waste","wc"]},"styles":["solid"],"unicode":"f7d8","label":"Toilet"},"toilet-paper":{"search":{"terms":["bathroom","covid-19","halloween","holiday","lavatory","prank","restroom","roll"]},"styles":["solid"],"unicode":"f71e","label":"Toilet Paper"},"toilet-paper-slash":{"search":{"terms":["bathroom","covid-19","halloween","holiday","lavatory","leaves","prank","restroom","roll","trouble","ut oh"]},"styles":["solid"],"unicode":"f972","label":"Toilet Paper Slash"},"toolbox":{"search":{"terms":["admin","container","fix","repair","settings","tools"]},"styles":["solid"],"unicode":"f552","label":"Toolbox"},"tools":{"search":{"terms":["admin","fix","repair","screwdriver","settings","tools","wrench"]},"styles":["solid"],"unicode":"f7d9","label":"Tools"},"tooth":{"search":{"terms":["bicuspid","dental","dentist","molar","mouth","teeth"]},"styles":["solid"],"unicode":"f5c9","label":"Tooth"},"torah":{"search":{"terms":["book","jewish","judaism","religion","scroll"]},"styles":["solid"],"unicode":"f6a0","label":"Torah"},"torii-gate":{"search":{"terms":["building","shintoism"]},"styles":["solid"],"unicode":"f6a1","label":"Torii Gate"},"tractor":{"search":{"terms":["agriculture","farm","vehicle"]},"styles":["solid"],"unicode":"f722","label":"Tractor"},"trade-federation":{"search":{"terms":[]},"styles":["brands"],"unicode":"f513","label":"Trade Federation"},"trademark":{"search":{"terms":["copyright","register","symbol"]},"styles":["solid"],"unicode":"f25c","label":"Trademark"},"traffic-light":{"search":{"terms":["direction","road","signal","travel"]},"styles":["solid"],"unicode":"f637","label":"Traffic Light"},"trailer":{"search":{"terms":["carry","haul","moving","travel"]},"styles":["solid"],"unicode":"f941","label":"Trailer"},"train":{"search":{"terms":["bullet","commute","locomotive","railway","subway"]},"styles":["solid"],"unicode":"f238","label":"Train"},"tram":{"search":{"terms":["crossing","machine","mountains","seasonal","transportation"]},"styles":["solid"],"unicode":"f7da","label":"Tram"},"transgender":{"search":{"terms":["intersex"]},"styles":["solid"],"unicode":"f224","label":"Transgender"},"transgender-alt":{"search":{"terms":["intersex"]},"styles":["solid"],"unicode":"f225","label":"Alternate Transgender"},"trash":{"search":{"terms":["delete","garbage","hide","remove"]},"styles":["solid"],"unicode":"f1f8","label":"Trash"},"trash-alt":{"search":{"terms":["delete","garbage","hide","remove","trash-o"]},"styles":["solid","regular"],"unicode":"f2ed","label":"Alternate Trash"},"trash-restore":{"search":{"terms":["back","control z","oops","undo"]},"styles":["solid"],"unicode":"f829","label":"Trash Restore"},"trash-restore-alt":{"search":{"terms":["back","control z","oops","undo"]},"styles":["solid"],"unicode":"f82a","label":"Alternative Trash Restore"},"tree":{"search":{"terms":["bark","fall","flora","forest","nature","plant","seasonal"]},"styles":["solid"],"unicode":"f1bb","label":"Tree"},"trello":{"search":{"terms":["atlassian"]},"styles":["brands"],"unicode":"f181","label":"Trello"},"tripadvisor":{"search":{"terms":[]},"styles":["brands"],"unicode":"f262","label":"TripAdvisor"},"trophy":{"search":{"terms":["achievement","award","cup","game","winner"]},"styles":["solid"],"unicode":"f091","label":"trophy"},"truck":{"search":{"terms":["cargo","delivery","shipping","vehicle"]},"styles":["solid"],"unicode":"f0d1","label":"truck"},"truck-loading":{"search":{"terms":["box","cargo","delivery","inventory","moving","rental","vehicle"]},"styles":["solid"],"unicode":"f4de","label":"Truck Loading"},"truck-monster":{"search":{"terms":["offroad","vehicle","wheel"]},"styles":["solid"],"unicode":"f63b","label":"Truck Monster"},"truck-moving":{"search":{"terms":["cargo","inventory","rental","vehicle"]},"styles":["solid"],"unicode":"f4df","label":"Truck Moving"},"truck-pickup":{"search":{"terms":["cargo","vehicle"]},"styles":["solid"],"unicode":"f63c","label":"Truck Side"},"tshirt":{"search":{"terms":["clothing","fashion","garment","shirt"]},"styles":["solid"],"unicode":"f553","label":"T-Shirt"},"tty":{"search":{"terms":["communication","deaf","telephone","teletypewriter","text"]},"styles":["solid"],"unicode":"f1e4","label":"TTY"},"tumblr":{"search":{"terms":[]},"styles":["brands"],"unicode":"f173","label":"Tumblr"},"tumblr-square":{"search":{"terms":[]},"styles":["brands"],"unicode":"f174","label":"Tumblr Square"},"tv":{"search":{"terms":["computer","display","monitor","television"]},"styles":["solid"],"unicode":"f26c","label":"Television"},"twitch":{"search":{"terms":[]},"styles":["brands"],"unicode":"f1e8","label":"Twitch"},"twitter":{"search":{"terms":["social network","tweet"]},"styles":["brands"],"unicode":"f099","label":"Twitter"},"twitter-square":{"search":{"terms":["social network","tweet"]},"styles":["brands"],"unicode":"f081","label":"Twitter Square"},"typo3":{"search":{"terms":[]},"styles":["brands"],"unicode":"f42b","label":"Typo3"},"uber":{"search":{"terms":[]},"styles":["brands"],"unicode":"f402","label":"Uber"},"ubuntu":{"search":{"terms":["linux","operating system","os"]},"styles":["brands"],"unicode":"f7df","label":"Ubuntu"},"uikit":{"search":{"terms":[]},"styles":["brands"],"unicode":"f403","label":"UIkit"},"umbraco":{"search":{"terms":[]},"styles":["brands"],"unicode":"f8e8","label":"Umbraco"},"umbrella":{"search":{"terms":["protection","rain","storm","wet"]},"styles":["solid"],"unicode":"f0e9","label":"Umbrella"},"umbrella-beach":{"search":{"terms":["protection","recreation","sand","shade","summer","sun"]},"styles":["solid"],"unicode":"f5ca","label":"Umbrella Beach"},"underline":{"search":{"terms":["edit","emphasis","format","text","writing"]},"styles":["solid"],"unicode":"f0cd","label":"Underline"},"undo":{"search":{"terms":["back","control z","exchange","oops","return","rotate","swap"]},"styles":["solid"],"unicode":"f0e2","label":"Undo"},"undo-alt":{"search":{"terms":["back","control z","exchange","oops","return","swap"]},"styles":["solid"],"unicode":"f2ea","label":"Alternate Undo"},"uniregistry":{"search":{"terms":[]},"styles":["brands"],"unicode":"f404","label":"Uniregistry"},"unity":{"search":{"terms":[]},"styles":["brands"],"unicode":"f949","label":"Unity 3D"},"universal-access":{"search":{"terms":["accessibility","hearing","person","seeing","visual impairment"]},"styles":["solid"],"unicode":"f29a","label":"Universal Access"},"university":{"search":{"terms":["bank","building","college","higher education - students","institution"]},"styles":["solid"],"unicode":"f19c","label":"University"},"unlink":{"search":{"terms":["attachment","chain","chain-broken","remove"]},"styles":["solid"],"unicode":"f127","label":"unlink"},"unlock":{"search":{"terms":["admin","lock","password","private","protect"]},"styles":["solid"],"unicode":"f09c","label":"unlock"},"unlock-alt":{"search":{"terms":["admin","lock","password","private","protect"]},"styles":["solid"],"unicode":"f13e","label":"Alternate Unlock"},"untappd":{"search":{"terms":[]},"styles":["brands"],"unicode":"f405","label":"Untappd"},"upload":{"search":{"terms":["hard drive","import","publish"]},"styles":["solid"],"unicode":"f093","label":"Upload"},"ups":{"search":{"terms":["United Parcel Service","package","shipping"]},"styles":["brands"],"unicode":"f7e0","label":"UPS"},"usb":{"search":{"terms":[]},"styles":["brands"],"unicode":"f287","label":"USB"},"user":{"search":{"terms":["account","avatar","head","human","man","person","profile"]},"styles":["solid","regular"],"unicode":"f007","label":"User"},"user-alt":{"search":{"terms":["account","avatar","head","human","man","person","profile"]},"styles":["solid"],"unicode":"f406","label":"Alternate User"},"user-alt-slash":{"search":{"terms":["account","avatar","head","human","man","person","profile"]},"styles":["solid"],"unicode":"f4fa","label":"Alternate User Slash"},"user-astronaut":{"search":{"terms":["avatar","clothing","cosmonaut","nasa","space","suit"]},"styles":["solid"],"unicode":"f4fb","label":"User Astronaut"},"user-check":{"search":{"terms":["accept","check","person","verified"]},"styles":["solid"],"unicode":"f4fc","label":"User Check"},"user-circle":{"search":{"terms":["account","avatar","head","human","man","person","profile"]},"styles":["solid","regular"],"unicode":"f2bd","label":"User Circle"},"user-clock":{"search":{"terms":["alert","person","remind","time"]},"styles":["solid"],"unicode":"f4fd","label":"User Clock"},"user-cog":{"search":{"terms":["admin","cog","person","settings"]},"styles":["solid"],"unicode":"f4fe","label":"User Cog"},"user-edit":{"search":{"terms":["edit","pen","pencil","person","update","write"]},"styles":["solid"],"unicode":"f4ff","label":"User Edit"},"user-friends":{"search":{"terms":["group","people","person","team","users"]},"styles":["solid"],"unicode":"f500","label":"User Friends"},"user-graduate":{"search":{"terms":["cap","clothing","commencement","gown","graduation","person","student"]},"styles":["solid"],"unicode":"f501","label":"User Graduate"},"user-injured":{"search":{"terms":["cast","injury","ouch","patient","person","sling"]},"styles":["solid"],"unicode":"f728","label":"User Injured"},"user-lock":{"search":{"terms":["admin","lock","person","private","unlock"]},"styles":["solid"],"unicode":"f502","label":"User Lock"},"user-md":{"search":{"terms":["covid-19","job","medical","nurse","occupation","physician","profile","surgeon"]},"styles":["solid"],"unicode":"f0f0","label":"Doctor"},"user-minus":{"search":{"terms":["delete","negative","remove"]},"styles":["solid"],"unicode":"f503","label":"User Minus"},"user-ninja":{"search":{"terms":["assassin","avatar","dangerous","deadly","sneaky"]},"styles":["solid"],"unicode":"f504","label":"User Ninja"},"user-nurse":{"search":{"terms":["covid-19","doctor","midwife","practitioner","surgeon"]},"styles":["solid"],"unicode":"f82f","label":"Nurse"},"user-plus":{"search":{"terms":["add","avatar","positive","sign up","signup","team"]},"styles":["solid"],"unicode":"f234","label":"User Plus"},"user-secret":{"search":{"terms":["clothing","coat","hat","incognito","person","privacy","spy","whisper"]},"styles":["solid"],"unicode":"f21b","label":"User Secret"},"user-shield":{"search":{"terms":["admin","person","private","protect","safe"]},"styles":["solid"],"unicode":"f505","label":"User Shield"},"user-slash":{"search":{"terms":["ban","delete","remove"]},"styles":["solid"],"unicode":"f506","label":"User Slash"},"user-tag":{"search":{"terms":["avatar","discount","label","person","role","special"]},"styles":["solid"],"unicode":"f507","label":"User Tag"},"user-tie":{"search":{"terms":["avatar","business","clothing","formal","professional","suit"]},"styles":["solid"],"unicode":"f508","label":"User Tie"},"user-times":{"search":{"terms":["archive","delete","remove","x"]},"styles":["solid"],"unicode":"f235","label":"Remove User"},"users":{"search":{"terms":["friends","group","people","persons","profiles","team"]},"styles":["solid"],"unicode":"f0c0","label":"Users"},"users-cog":{"search":{"terms":["admin","cog","group","person","settings","team"]},"styles":["solid"],"unicode":"f509","label":"Users Cog"},"usps":{"search":{"terms":["american","package","shipping","usa"]},"styles":["brands"],"unicode":"f7e1","label":"United States Postal Service"},"ussunnah":{"search":{"terms":[]},"styles":["brands"],"unicode":"f407","label":"us-Sunnah Foundation"},"utensil-spoon":{"search":{"terms":["cutlery","dining","scoop","silverware","spoon"]},"styles":["solid"],"unicode":"f2e5","label":"Utensil Spoon"},"utensils":{"search":{"terms":["cutlery","dining","dinner","eat","food","fork","knife","restaurant"]},"styles":["solid"],"unicode":"f2e7","label":"Utensils"},"vaadin":{"search":{"terms":[]},"styles":["brands"],"unicode":"f408","label":"Vaadin"},"vector-square":{"search":{"terms":["anchors","lines","object","render","shape"]},"styles":["solid"],"unicode":"f5cb","label":"Vector Square"},"venus":{"search":{"terms":["female"]},"styles":["solid"],"unicode":"f221","label":"Venus"},"venus-double":{"search":{"terms":["female"]},"styles":["solid"],"unicode":"f226","label":"Venus Double"},"venus-mars":{"search":{"terms":["Gender"]},"styles":["solid"],"unicode":"f228","label":"Venus Mars"},"viacoin":{"search":{"terms":[]},"styles":["brands"],"unicode":"f237","label":"Viacoin"},"viadeo":{"search":{"terms":[]},"styles":["brands"],"unicode":"f2a9","label":"Video"},"viadeo-square":{"search":{"terms":[]},"styles":["brands"],"unicode":"f2aa","label":"Video Square"},"vial":{"search":{"terms":["experiment","lab","sample","science","test","test tube"]},"styles":["solid"],"unicode":"f492","label":"Vial"},"vials":{"search":{"terms":["experiment","lab","sample","science","test","test tube"]},"styles":["solid"],"unicode":"f493","label":"Vials"},"viber":{"search":{"terms":[]},"styles":["brands"],"unicode":"f409","label":"Viber"},"video":{"search":{"terms":["camera","film","movie","record","video-camera"]},"styles":["solid"],"unicode":"f03d","label":"Video"},"video-slash":{"search":{"terms":["add","create","film","new","positive","record","video"]},"styles":["solid"],"unicode":"f4e2","label":"Video Slash"},"vihara":{"search":{"terms":["buddhism","buddhist","building","monastery"]},"styles":["solid"],"unicode":"f6a7","label":"Vihara"},"vimeo":{"search":{"terms":[]},"styles":["brands"],"unicode":"f40a","label":"Vimeo"},"vimeo-square":{"search":{"terms":[]},"styles":["brands"],"unicode":"f194","label":"Vimeo Square"},"vimeo-v":{"search":{"terms":["vimeo"]},"styles":["brands"],"unicode":"f27d","label":"Vimeo"},"vine":{"search":{"terms":[]},"styles":["brands"],"unicode":"f1ca","label":"Vine"},"virus":{"search":{"terms":["bug","covid-19","flu","health","sick","viral"]},"styles":["solid"],"unicode":"f974","label":"Virus"},"virus-slash":{"search":{"terms":["bug","covid-19","cure","eliminate","flu","health","sick","viral"]},"styles":["solid"],"unicode":"f975","label":"Virus Slash"},"viruses":{"search":{"terms":["bugs","covid-19","flu","health","multiply","sick","spread","viral"]},"styles":["solid"],"unicode":"f976","label":"Viruses"},"vk":{"search":{"terms":[]},"styles":["brands"],"unicode":"f189","label":"VK"},"vnv":{"search":{"terms":[]},"styles":["brands"],"unicode":"f40b","label":"VNV"},"voicemail":{"search":{"terms":["answer","inbox","message","phone"]},"styles":["solid"],"unicode":"f897","label":"Voicemail"},"volleyball-ball":{"search":{"terms":["beach","olympics","sport"]},"styles":["solid"],"unicode":"f45f","label":"Volleyball Ball"},"volume-down":{"search":{"terms":["audio","lower","music","quieter","sound","speaker"]},"styles":["solid"],"unicode":"f027","label":"Volume Down"},"volume-mute":{"search":{"terms":["audio","music","quiet","sound","speaker"]},"styles":["solid"],"unicode":"f6a9","label":"Volume Mute"},"volume-off":{"search":{"terms":["audio","ban","music","mute","quiet","silent","sound"]},"styles":["solid"],"unicode":"f026","label":"Volume Off"},"volume-up":{"search":{"terms":["audio","higher","louder","music","sound","speaker"]},"styles":["solid"],"unicode":"f028","label":"Volume Up"},"vote-yea":{"search":{"terms":["accept","cast","election","politics","positive","yes"]},"styles":["solid"],"unicode":"f772","label":"Vote Yea"},"vr-cardboard":{"search":{"terms":["3d","augment","google","reality","virtual"]},"styles":["solid"],"unicode":"f729","label":"Cardboard VR"},"vuejs":{"search":{"terms":[]},"styles":["brands"],"unicode":"f41f","label":"Vue.js"},"walking":{"search":{"terms":["exercise","health","pedometer","person","steps"]},"styles":["solid"],"unicode":"f554","label":"Walking"},"wallet":{"search":{"terms":["billfold","cash","currency","money"]},"styles":["solid"],"unicode":"f555","label":"Wallet"},"warehouse":{"search":{"terms":["building","capacity","garage","inventory","storage"]},"styles":["solid"],"unicode":"f494","label":"Warehouse"},"water":{"search":{"terms":["lake","liquid","ocean","sea","swim","wet"]},"styles":["solid"],"unicode":"f773","label":"Water"},"wave-square":{"search":{"terms":["frequency","pulse","signal"]},"styles":["solid"],"unicode":"f83e","label":"Square Wave"},"waze":{"search":{"terms":[]},"styles":["brands"],"unicode":"f83f","label":"Waze"},"weebly":{"search":{"terms":[]},"styles":["brands"],"unicode":"f5cc","label":"Weebly"},"weibo":{"search":{"terms":[]},"styles":["brands"],"unicode":"f18a","label":"Weibo"},"weight":{"search":{"terms":["health","measurement","scale","weight"]},"styles":["solid"],"unicode":"f496","label":"Weight"},"weight-hanging":{"search":{"terms":["anvil","heavy","measurement"]},"styles":["solid"],"unicode":"f5cd","label":"Hanging Weight"},"weixin":{"search":{"terms":[]},"styles":["brands"],"unicode":"f1d7","label":"Weixin (WeChat)"},"whatsapp":{"search":{"terms":[]},"styles":["brands"],"unicode":"f232","label":"What\'s App"},"whatsapp-square":{"search":{"terms":[]},"styles":["brands"],"unicode":"f40c","label":"What\'s App Square"},"wheelchair":{"search":{"terms":["accessible","handicap","person"]},"styles":["solid"],"unicode":"f193","label":"Wheelchair"},"whmcs":{"search":{"terms":[]},"styles":["brands"],"unicode":"f40d","label":"WHMCS"},"wifi":{"search":{"terms":["connection","hotspot","internet","network","wireless"]},"styles":["solid"],"unicode":"f1eb","label":"WiFi"},"wikipedia-w":{"search":{"terms":[]},"styles":["brands"],"unicode":"f266","label":"Wikipedia W"},"wind":{"search":{"terms":["air","blow","breeze","fall","seasonal","weather"]},"styles":["solid"],"unicode":"f72e","label":"Wind"},"window-close":{"search":{"terms":["browser","cancel","computer","development"]},"styles":["solid","regular"],"unicode":"f410","label":"Window Close"},"window-maximize":{"search":{"terms":["browser","computer","development","expand"]},"styles":["solid","regular"],"unicode":"f2d0","label":"Window Maximize"},"window-minimize":{"search":{"terms":["browser","collapse","computer","development"]},"styles":["solid","regular"],"unicode":"f2d1","label":"Window Minimize"},"window-restore":{"search":{"terms":["browser","computer","development"]},"styles":["solid","regular"],"unicode":"f2d2","label":"Window Restore"},"windows":{"search":{"terms":["microsoft","operating system","os"]},"styles":["brands"],"unicode":"f17a","label":"Windows"},"wine-bottle":{"search":{"terms":["alcohol","beverage","cabernet","drink","glass","grapes","merlot","sauvignon"]},"styles":["solid"],"unicode":"f72f","label":"Wine Bottle"},"wine-glass":{"search":{"terms":["alcohol","beverage","cabernet","drink","grapes","merlot","sauvignon"]},"styles":["solid"],"unicode":"f4e3","label":"Wine Glass"},"wine-glass-alt":{"search":{"terms":["alcohol","beverage","cabernet","drink","grapes","merlot","sauvignon"]},"styles":["solid"],"unicode":"f5ce","label":"Alternate Wine Glas"},"wix":{"search":{"terms":[]},"styles":["brands"],"unicode":"f5cf","label":"Wix"},"wizards-of-the-coast":{"search":{"terms":["Dungeons & Dragons","d&d","dnd","fantasy","game","gaming","tabletop"]},"styles":["brands"],"unicode":"f730","label":"Wizards of the Coast"},"wolf-pack-battalion":{"search":{"terms":[]},"styles":["brands"],"unicode":"f514","label":"Wolf Pack Battalion"},"won-sign":{"search":{"terms":["currency","krw","money"]},"styles":["solid"],"unicode":"f159","label":"Won Sign"},"wordpress":{"search":{"terms":[]},"styles":["brands"],"unicode":"f19a","label":"WordPress Logo"},"wordpress-simple":{"search":{"terms":[]},"styles":["brands"],"unicode":"f411","label":"Wordpress Simple"},"wpbeginner":{"search":{"terms":[]},"styles":["brands"],"unicode":"f297","label":"WPBeginner"},"wpexplorer":{"search":{"terms":[]},"styles":["brands"],"unicode":"f2de","label":"WPExplorer"},"wpforms":{"search":{"terms":[]},"styles":["brands"],"unicode":"f298","label":"WPForms"},"wpressr":{"search":{"terms":["rendact"]},"styles":["brands"],"unicode":"f3e4","label":"wpressr"},"wrench":{"search":{"terms":["construction","fix","mechanic","plumbing","settings","spanner","tool","update"]},"styles":["solid"],"unicode":"f0ad","label":"Wrench"},"x-ray":{"search":{"terms":["health","medical","radiological images","radiology","skeleton"]},"styles":["solid"],"unicode":"f497","label":"X-Ray"},"xbox":{"search":{"terms":[]},"styles":["brands"],"unicode":"f412","label":"Xbox"},"xing":{"search":{"terms":[]},"styles":["brands"],"unicode":"f168","label":"Xing"},"xing-square":{"search":{"terms":[]},"styles":["brands"],"unicode":"f169","label":"Xing Square"},"y-combinator":{"search":{"terms":[]},"styles":["brands"],"unicode":"f23b","label":"Y Combinator"},"yahoo":{"search":{"terms":[]},"styles":["brands"],"unicode":"f19e","label":"Yahoo Logo"},"yammer":{"search":{"terms":[]},"styles":["brands"],"unicode":"f840","label":"Yammer"},"yandex":{"search":{"terms":[]},"styles":["brands"],"unicode":"f413","label":"Yandex"},"yandex-international":{"search":{"terms":[]},"styles":["brands"],"unicode":"f414","label":"Yandex International"},"yarn":{"search":{"terms":[]},"styles":["brands"],"unicode":"f7e3","label":"Yarn"},"yelp":{"search":{"terms":[]},"styles":["brands"],"unicode":"f1e9","label":"Yelp"},"yen-sign":{"search":{"terms":["currency","jpy","money"]},"styles":["solid"],"unicode":"f157","label":"Yen Sign"},"yin-yang":{"search":{"terms":["daoism","opposites","taoism"]},"styles":["solid"],"unicode":"f6ad","label":"Yin Yang"},"yoast":{"search":{"terms":[]},"styles":["brands"],"unicode":"f2b1","label":"Yoast"},"youtube":{"search":{"terms":["film","video","youtube-play","youtube-square"]},"styles":["brands"],"unicode":"f167","label":"YouTube"},"youtube-square":{"search":{"terms":[]},"styles":["brands"],"unicode":"f431","label":"YouTube Square"},"zhihu":{"search":{"terms":[]},"styles":["brands"],"unicode":"f63f","label":"Zhihu"}}')},106:function(e,s,a){"use strict";a.r(s);var l=a(0),r=a.n(l),t=(a(102),a(105));function o(e,s){return function(e){if(Array.isArray(e))return e}(e)||function(e,s){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var a=[],l=!0,r=!1,t=void 0;try{for(var o,i=e[Symbol.iterator]();!(l=(o=i.next()).done)&&(a.push(o.value),!s||a.length!==s);l=!0);}catch(e){r=!0,t=e}finally{try{l||null==i.return||i.return()}finally{if(r)throw t}}return a}(e,s)||function(e,s){if(!e)return;if("string"==typeof e)return i(e,s);var a=Object.prototype.toString.call(e).slice(8,-1);"Object"===a&&e.constructor&&(a=e.constructor.name);if("Map"===a||"Set"===a)return Array.from(e);if("Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return i(e,s)}(e,s)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,s){(null==s||s>e.length)&&(s=e.length);for(var a=0,l=new Array(s);a<s;a++)l[a]=e[a];return l}var c=wp.i18n.__,n=wp.compose.useInstanceId,d=wp.components,u=d.Button,m=d.BaseControl,h=d.Dropdown,b=d.MenuGroup,f=d.MenuItem,y=d.TextControl,p=wp.element,g=p.Fragment,w=p.useEffect,k=p.useState;s.default=function e(s){var a=s.label,l=s.prefix,i=s.icon,d=s.onChange,p=n(e);w((function(){var e=[];Object.keys(t).forEach((function(s){Object.keys(t[s].styles).forEach((function(a){var l="",r=t[s].search.terms;switch(t[s].styles[a]){case"brands":l="fab";break;case"solid":l="fas";break;case"regular":l="far";break;default:l="fas"}r.push(s,t[s].label),e.push({name:s,unicode:t[s].unicode,prefix:l,label:t[s].label,search:r})}))})),q(e)}),[]);var v=o(k(""),2),S=v[0],C=v[1],x=o(k(null),2),A=x[0],q=x[1],D="inspector-icon-picker-control-".concat(p);return wp.element.createElement(m,{label:a,id:D,className:"wp-block-themeisle-blocks-icon-picker-control"},wp.element.createElement(h,{contentClassName:"wp-block-themeisle-blocks-icon-picker-popover",position:"bottom center",renderToggle:function(e){var s=e.isOpen,a=e.onToggle;return wp.element.createElement(u,{isLarge:!0,className:"wp-block-themeisle-blocks-icon-picker-button",onClick:a,"aria-expanded":s},l&&i?wp.element.createElement(g,null,wp.element.createElement("i",{className:r()(