Gutentor – Gutenberg Blocks – Page Builder for Gutenberg Editor - Version 3.1.1

Version Description

  • 2021-06-17 =
  • Added: New Template: Term(Category) Block
  • Updated: Admin Images
  • Updated: Block Information on Admin Pages
  • Updated: Post Type Button Options
  • Updated: Typography Options UI
  • Updated: Admin Page Setting Tab
  • Updated: Multiple Google Map on a Page
  • Updated: Google Map Multiple Markers
  • Updated: Google Map Loading on Editor
  • Fixed: Background Video not Working on Dynamic Block
  • Fixed: Multiple Meta on Post Types on Some Cases
  • Fixed: Post Type Button Spacing
  • Fixed: Gutentor Element => Map Markers
Download this release

Release Info

Developer gutentor
Plugin Icon 128x128 Gutentor – Gutenberg Blocks – Page Builder for Gutenberg Editor
Version 3.1.1
Comparing to
See all releases

Code changes from version 3.1.0 to 3.1.1

assets/css/module/t1.css CHANGED
@@ -1 +1 @@
1
- .gtf-list .gutentor-term{width:100%}.gtf-list .gutentor-term:not(.gtf-no-thumb) .gtf-item{display:-ms-flexbox;display:flex;-ms-flex-align:start;align-items:flex-start}.gtf-list .gutentor-term:not(.gtf-no-thumb) .gutentor-term-image-box{width:40%}.gtf-list .gutentor-term:not(.gtf-no-thumb) .gutentor-term-content{padding-left:20px;width:calc(100% - 40%)}.gtf-list.gtf-reverse-list .gutentor-term:not(.gtf-no-thumb) .gtf-item{-ms-flex-direction:row-reverse;flex-direction:row-reverse}.gtf-list.gtf-reverse-list .gutentor-term:not(.gtf-no-thumb) .gutentor-term-content{padding-left:0;padding-right:20px}.gtf-image-box{overflow:hidden}.gtf-image{line-height:0}
1
+ .gtf-list .gutentor-term{width:100%}.gtf-list .gutentor-term:not(.gtf-no-thumb) .gtf-item{display:-ms-flexbox;display:flex;-ms-flex-align:start;align-items:flex-start}.gtf-list .gutentor-term:not(.gtf-no-thumb) .gutentor-term-image-box{width:40%}.gtf-list .gutentor-term:not(.gtf-no-thumb) .gutentor-term-content{padding-left:20px;width:calc(100% - 40%)}.gtf-list.gtf-reverse-list .gutentor-term:not(.gtf-no-thumb) .gtf-item{-ms-flex-direction:row-reverse;flex-direction:row-reverse}.gtf-list.gtf-reverse-list .gutentor-term:not(.gtf-no-thumb) .gutentor-term-content{padding-left:0;padding-right:20px}.gtf-item{overflow:hidden}.gtf-image-box{overflow:hidden}.gtf-image{line-height:0}.g-pos-center-cont-m .gtf-content{top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%);bottom:inherit}.g-pos-top-cont-m .gtf-content{top:0;-webkit-transform:none;-ms-transform:none;transform:none;bottom:inherit}.g-pos-bottom-cont-m .gtf-content{bottom:0;-webkit-transform:none;-ms-transform:none;transform:none;top:inherit}@media (min-width: 768px){.g-pos-center-cont-t .gtf-content{top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%);bottom:inherit}.g-pos-top-cont-t .gtf-content{top:0;-webkit-transform:none;-ms-transform:none;transform:none;bottom:inherit}.g-pos-bottom-cont-t .gtf-content{bottom:0;-webkit-transform:none;-ms-transform:none;transform:none;top:inherit}}@media (min-width: 992px){.g-pos-center-cont-d .gtf-content{top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%);bottom:inherit}.g-pos-top-cont-d .gtf-content{top:0;-webkit-transform:none;-ms-transform:none;transform:none;bottom:inherit}.g-pos-bottom-cont-d .gtf-content{bottom:0;-webkit-transform:none;-ms-transform:none;transform:none;top:inherit}}
assets/css/module/t1.rtl.css CHANGED
@@ -1 +1 @@
1
- .gtf-list .gutentor-term{width:100%}.gtf-list .gutentor-term:not(.gtf-no-thumb) .gtf-item{display:-ms-flexbox;display:flex;-ms-flex-align:start;align-items:flex-start}.gtf-list .gutentor-term:not(.gtf-no-thumb) .gutentor-term-image-box{width:40%}.gtf-list .gutentor-term:not(.gtf-no-thumb) .gutentor-term-content{padding-right:20px;width:calc(100% - 40%)}.gtf-list.gtf-reverse-list .gutentor-term:not(.gtf-no-thumb) .gtf-item{-ms-flex-direction:row-reverse;flex-direction:row-reverse}.gtf-list.gtf-reverse-list .gutentor-term:not(.gtf-no-thumb) .gutentor-term-content{padding-right:0;padding-left:20px}.gtf-image-box{overflow:hidden}.gtf-image{line-height:0}
1
+ .gtf-list .gutentor-term{width:100%}.gtf-list .gutentor-term:not(.gtf-no-thumb) .gtf-item{display:-ms-flexbox;display:flex;-ms-flex-align:start;align-items:flex-start}.gtf-list .gutentor-term:not(.gtf-no-thumb) .gutentor-term-image-box{width:40%}.gtf-list .gutentor-term:not(.gtf-no-thumb) .gutentor-term-content{padding-right:20px;width:calc(100% - 40%)}.gtf-list.gtf-reverse-list .gutentor-term:not(.gtf-no-thumb) .gtf-item{-ms-flex-direction:row-reverse;flex-direction:row-reverse}.gtf-list.gtf-reverse-list .gutentor-term:not(.gtf-no-thumb) .gutentor-term-content{padding-right:0;padding-left:20px}.gtf-item{overflow:hidden}.gtf-image-box{overflow:hidden}.gtf-image{line-height:0}.g-pos-center-cont-m .gtf-content{top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%);bottom:inherit}.g-pos-top-cont-m .gtf-content{top:0;-webkit-transform:none;-ms-transform:none;transform:none;bottom:inherit}.g-pos-bottom-cont-m .gtf-content{bottom:0;-webkit-transform:none;-ms-transform:none;transform:none;top:inherit}@media (min-width: 768px){.g-pos-center-cont-t .gtf-content{top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%);bottom:inherit}.g-pos-top-cont-t .gtf-content{top:0;-webkit-transform:none;-ms-transform:none;transform:none;bottom:inherit}.g-pos-bottom-cont-t .gtf-content{bottom:0;-webkit-transform:none;-ms-transform:none;transform:none;top:inherit}}@media (min-width: 992px){.g-pos-center-cont-d .gtf-content{top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%);bottom:inherit}.g-pos-top-cont-d .gtf-content{top:0;-webkit-transform:none;-ms-transform:none;transform:none;bottom:inherit}.g-pos-bottom-cont-d .gtf-content{bottom:0;-webkit-transform:none;-ms-transform:none;transform:none;top:inherit}}
assets/img/admin/add-new-page-post-editor-page.png DELETED
Binary file
assets/img/admin/import-template-library.png DELETED
Binary file
assets/img/admin/page-post.png ADDED
Binary file
assets/img/admin/start-designing.png CHANGED
Binary file
assets/img/admin/template-library.png ADDED
Binary file
assets/img/admin/widget-designing.png ADDED
Binary file
assets/js/admin-script.js CHANGED
@@ -297,20 +297,5 @@
297
  });
298
  };
299
  FPIMAGEUPLOAD();
300
-
301
- /*Gutentor Settings Page*/
302
- /*Tab*/
303
- /* Remove image */
304
- $(document).on('click','.g-settings-wrap .nav-tab-wrapper a',function (e) {
305
-
306
- e.preventDefault();
307
- let childNum = $(this).index();
308
- $(this).siblings().removeClass('nav-tab-active');
309
- $(this).addClass('nav-tab-active');
310
- $(".g-settings-form").find('table').hide();
311
- $(".g-settings-form").children('table').eq(childNum).show();
312
- });
313
-
314
-
315
  });
316
  })( jQuery );
297
  });
298
  };
299
  FPIMAGEUPLOAD();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
300
  });
301
  })( jQuery );
assets/js/admin-script.min.js CHANGED
@@ -1 +1 @@
1
- (function(a){function b(d){if(c[d])return c[d].exports;var e=c[d]={i:d,l:!1,exports:{}};return a[d].call(e.exports,e,e.exports,b),e.l=!0,e.exports}var c={};return b.m=a,b.c=c,b.d=function(a,c,d){b.o(a,c)||Object.defineProperty(a,c,{configurable:!1,enumerable:!0,get:d})},b.n=function(a){var c=a&&a.__esModule?function(){return a['default']}:function(){return a};return b.d(c,'a',c),c},b.o=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)},b.p='',b(b.s=0)})([function(){(function(a){let b=function(b,c){var d={action:b,nonce:GUTENTOR_SETTINGS.ajax_nonce,block_id:c};a.ajax({url:GUTENTOR_SETTINGS.ajax_url,type:'POST',data:d,success:function(){},beforeSend:function(){},complete:function(){}})};a(document).ready(function(){a('#gutentor-admin-element-tab').click(function(){a(this).addClass('tablist-item-active').siblings().removeClass('tablist-item-active'),a('.gutentor-admin-element-content').addClass('gutentor-active').siblings().removeClass('gutentor-active')}),a('#gutentor-admin-module-tab').click(function(){a(this).addClass('tablist-item-active').siblings().removeClass('tablist-item-active'),a('.gutentor-admin-module-content').addClass('gutentor-active').siblings().removeClass('gutentor-active')}),a('#gutentor-admin-post-tab').click(function(){a(this).addClass('tablist-item-active').siblings().removeClass('tablist-item-active'),a('.gutentor-admin-post-content').addClass('gutentor-active').siblings().removeClass('gutentor-active')}),a('#gutentor-admin-term-tab').click(function(){a(this).addClass('tablist-item-active').siblings().removeClass('tablist-item-active'),a('.gutentor-admin-term-content').addClass('gutentor-active').siblings().removeClass('gutentor-active')}),a('#gutentor-admin-widget-tab').click(function(){a(this).addClass('tablist-item-active').siblings().removeClass('tablist-item-active'),a('.gutentor-admin-widget-content').addClass('gutentor-active').siblings().removeClass('gutentor-active')}),a(document).on('click','.onoffswitch',function(c){c.preventDefault();let d=a(this).find('input').data('action');a(this).find('input').prop('checked',!a(this).find('input').prop('checked'));let e=a(this).find('input').prop('checked'),f=e?'activate_block':'deactivate_block';'bulk'===d&&(f=e?'bulk_activate_blocks':'bulk_deactivate_blocks'),b(f,d)}),a('.gutentor-getting-started-watch-video').magnificPopup({disableOn:700,type:'iframe',mainClass:'mfp-fade',removalDelay:160,preloader:!1,fixedContentPos:!1}),'function'==typeof Color&&(Color.fn.toString=function(){if(1>this._alpha)return this.toCSS('rgba',this._alpha).replace(/\s+/g,'');var a=parseInt(this._color,10).toString(16);if(this.error)return'';if(6>a.length)for(var b=6-a.length-1;0<=b;b--)a='0'+a;return'#'+a});var c=function(a){console.log(a);var b=a.replace(/\s+/g,''),c=-1===b.indexOf('rgba')?100:parseFloat(100*b.replace(/^.*,(.+)\)/,'$1'));return{value:b,alpha:c,rgba:100>c}},d=function(b){if(b.data('rgba')&&1===b.data('rgba')){var d=c(b.val());b.wpColorPicker({clear:function(){b.trigger('keyup')},change:function(a,c){var d=c.color.toString();b.closest('.wp-picker-container').find('.fp-rgba-slider-offset').css('background-color',d),b.val(d).trigger('change')},create:function(){var e=b.data('a8cIris'),f=b.closest('.wp-picker-container'),g=a('<div class="fp-rgba-wrap"><div class="fp-rgba-slider"></div><div class="fp-rgba-slider-offset"></div><div class="fp-rgba-text"></div></div>').appendTo(f.find('.wp-picker-holder')),h=g.find('.fp-rgba-slider'),i=g.find('.fp-rgba-text'),j=g.find('.fp-rgba-slider-offset');h.slider({slide:function(a,c){console.log(c);var d=parseFloat(c.value/100);e._color._alpha=d,console.log(e._color._alpha),b.wpColorPicker('color',e._color.toString()),i.text(1>d?d:'')},create:function(){var k=parseFloat(d.alpha/100),l=1>k?k:'';i.text(l),j.css('background-color',d.value),f.on('click','.wp-picker-clear',function(){e._color._alpha=1,i.text('').trigger('change'),h.slider('option','value',100).trigger('slide')}),f.on('click','.wp-picker-default',function(){var a=c(b.data('default-color')),d=parseFloat(a.alpha/100),f=1>d?d:'';e._color._alpha=d,i.text(f),h.slider('option','value',a.alpha).trigger('slide')}),f.on('click','.wp-color-result',function(){g.toggle()}),a(document).on('click.wpcolorpicker',function(){g.hide()})},value:d.alpha,step:1,min:1,max:100})}})}else b.wpColorPicker({change:_.throttle(function(){b.trigger('change')},3e3),clear:_.throttle(function(){b.trigger('change')},4e3)})};a('body').find('.gutentor-color-picker').each(function(){d(a(this))});(function(){a(document).on('click','.gutentor-img-uploader-open',function(b){b.preventDefault();var c,d=a(this),e=d.closest('.gutentor-fields'),f=e.find('.gutentor-img-preview'),g=e.find('input'),h=e.find('img');return'undefined'!=typeof wp&&wp.media&&wp.media.gallery?c?void c.open():void(c=wp.media({library:{type:'image'},title:d.data('upload'),button:{text:d.data('button-text')}}),c.on('open',function(){var a=g.val();if(a){var b=c.state().get('selection'),d=wp.media.attachment(a);b.add(d)}}),c.on('select',function(){var a=c.state().get('selection').first().toJSON(),b='undefined'==typeof a.sizes.thumbnail?a.url:a.sizes.thumbnail.url;f.removeClass('hidden'),h.attr('src',b),g.val(a.id),g.trigger('change')}),c.open()):void 0}),a(document).on('click','.gutentor-clear-img',function(b){b.preventDefault();var c=a(this).closest('.gutentor-fields'),d=c.find('.gutentor-img-preview'),e=c.find('input');e.val(''),d.addClass('hidden')})})(),a(document).on('click','.g-settings-wrap .nav-tab-wrapper a',function(b){b.preventDefault();let c=a(this).index();a(this).siblings().removeClass('nav-tab-active'),a(this).addClass('nav-tab-active'),a('.g-settings-form').find('table').hide(),a('.g-settings-form').children('table').eq(c).show()})})})(jQuery)}]);
1
+ (function(a){function b(d){if(c[d])return c[d].exports;var e=c[d]={i:d,l:!1,exports:{}};return a[d].call(e.exports,e,e.exports,b),e.l=!0,e.exports}var c={};return b.m=a,b.c=c,b.d=function(a,c,d){b.o(a,c)||Object.defineProperty(a,c,{configurable:!1,enumerable:!0,get:d})},b.n=function(a){var c=a&&a.__esModule?function(){return a['default']}:function(){return a};return b.d(c,'a',c),c},b.o=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)},b.p='',b(b.s=0)})([function(){(function(a){let b=function(b,c){var d={action:b,nonce:GUTENTOR_SETTINGS.ajax_nonce,block_id:c};a.ajax({url:GUTENTOR_SETTINGS.ajax_url,type:'POST',data:d,success:function(){},beforeSend:function(){},complete:function(){}})};a(document).ready(function(){a('#gutentor-admin-element-tab').click(function(){a(this).addClass('tablist-item-active').siblings().removeClass('tablist-item-active'),a('.gutentor-admin-element-content').addClass('gutentor-active').siblings().removeClass('gutentor-active')}),a('#gutentor-admin-module-tab').click(function(){a(this).addClass('tablist-item-active').siblings().removeClass('tablist-item-active'),a('.gutentor-admin-module-content').addClass('gutentor-active').siblings().removeClass('gutentor-active')}),a('#gutentor-admin-post-tab').click(function(){a(this).addClass('tablist-item-active').siblings().removeClass('tablist-item-active'),a('.gutentor-admin-post-content').addClass('gutentor-active').siblings().removeClass('gutentor-active')}),a('#gutentor-admin-term-tab').click(function(){a(this).addClass('tablist-item-active').siblings().removeClass('tablist-item-active'),a('.gutentor-admin-term-content').addClass('gutentor-active').siblings().removeClass('gutentor-active')}),a('#gutentor-admin-widget-tab').click(function(){a(this).addClass('tablist-item-active').siblings().removeClass('tablist-item-active'),a('.gutentor-admin-widget-content').addClass('gutentor-active').siblings().removeClass('gutentor-active')}),a(document).on('click','.onoffswitch',function(c){c.preventDefault();let d=a(this).find('input').data('action');a(this).find('input').prop('checked',!a(this).find('input').prop('checked'));let e=a(this).find('input').prop('checked'),f=e?'activate_block':'deactivate_block';'bulk'===d&&(f=e?'bulk_activate_blocks':'bulk_deactivate_blocks'),b(f,d)}),a('.gutentor-getting-started-watch-video').magnificPopup({disableOn:700,type:'iframe',mainClass:'mfp-fade',removalDelay:160,preloader:!1,fixedContentPos:!1}),'function'==typeof Color&&(Color.fn.toString=function(){if(1>this._alpha)return this.toCSS('rgba',this._alpha).replace(/\s+/g,'');var a=parseInt(this._color,10).toString(16);if(this.error)return'';if(6>a.length)for(var b=6-a.length-1;0<=b;b--)a='0'+a;return'#'+a});var c=function(a){console.log(a);var b=a.replace(/\s+/g,''),c=-1===b.indexOf('rgba')?100:parseFloat(100*b.replace(/^.*,(.+)\)/,'$1'));return{value:b,alpha:c,rgba:100>c}},d=function(b){if(b.data('rgba')&&1===b.data('rgba')){var d=c(b.val());b.wpColorPicker({clear:function(){b.trigger('keyup')},change:function(a,c){var d=c.color.toString();b.closest('.wp-picker-container').find('.fp-rgba-slider-offset').css('background-color',d),b.val(d).trigger('change')},create:function(){var e=b.data('a8cIris'),f=b.closest('.wp-picker-container'),g=a('<div class="fp-rgba-wrap"><div class="fp-rgba-slider"></div><div class="fp-rgba-slider-offset"></div><div class="fp-rgba-text"></div></div>').appendTo(f.find('.wp-picker-holder')),h=g.find('.fp-rgba-slider'),i=g.find('.fp-rgba-text'),j=g.find('.fp-rgba-slider-offset');h.slider({slide:function(a,c){console.log(c);var d=parseFloat(c.value/100);e._color._alpha=d,console.log(e._color._alpha),b.wpColorPicker('color',e._color.toString()),i.text(1>d?d:'')},create:function(){var k=parseFloat(d.alpha/100),l=1>k?k:'';i.text(l),j.css('background-color',d.value),f.on('click','.wp-picker-clear',function(){e._color._alpha=1,i.text('').trigger('change'),h.slider('option','value',100).trigger('slide')}),f.on('click','.wp-picker-default',function(){var a=c(b.data('default-color')),d=parseFloat(a.alpha/100),f=1>d?d:'';e._color._alpha=d,i.text(f),h.slider('option','value',a.alpha).trigger('slide')}),f.on('click','.wp-color-result',function(){g.toggle()}),a(document).on('click.wpcolorpicker',function(){g.hide()})},value:d.alpha,step:1,min:1,max:100})}})}else b.wpColorPicker({change:_.throttle(function(){b.trigger('change')},3e3),clear:_.throttle(function(){b.trigger('change')},4e3)})};a('body').find('.gutentor-color-picker').each(function(){d(a(this))});(function(){a(document).on('click','.gutentor-img-uploader-open',function(b){b.preventDefault();var c,d=a(this),e=d.closest('.gutentor-fields'),f=e.find('.gutentor-img-preview'),g=e.find('input'),h=e.find('img');return'undefined'!=typeof wp&&wp.media&&wp.media.gallery?c?void c.open():void(c=wp.media({library:{type:'image'},title:d.data('upload'),button:{text:d.data('button-text')}}),c.on('open',function(){var a=g.val();if(a){var b=c.state().get('selection'),d=wp.media.attachment(a);b.add(d)}}),c.on('select',function(){var a=c.state().get('selection').first().toJSON(),b='undefined'==typeof a.sizes.thumbnail?a.url:a.sizes.thumbnail.url;f.removeClass('hidden'),h.attr('src',b),g.val(a.id),g.trigger('change')}),c.open()):void 0}),a(document).on('click','.gutentor-clear-img',function(b){b.preventDefault();var c=a(this).closest('.gutentor-fields'),d=c.find('.gutentor-img-preview'),e=c.find('input');e.val(''),d.addClass('hidden')})})()})})(jQuery)}]);
assets/js/google-map-loader.js CHANGED
@@ -37,8 +37,13 @@ const initMapScript = () => {
37
 
38
  if ( map.attributes.markers && 0 < map.attributes.markers.length ) {
39
  map.attributes.markers.forEach( marker => {
40
- const position = new google.maps.LatLng( marker.latitude, marker.longitude );
41
-
 
 
 
 
 
42
  const mark = new google.maps.Marker({
43
  position,
44
  map: googleMap,
37
 
38
  if ( map.attributes.markers && 0 < map.attributes.markers.length ) {
39
  map.attributes.markers.forEach( marker => {
40
+ let position;
41
+ if( marker.hasOwnProperty('e4Lat')){
42
+ position = new google.maps.LatLng( marker.e4Lat, marker.e4Lon );
43
+ }
44
+ else{
45
+ position = new google.maps.LatLng( marker.latitude, marker.longitude );
46
+ }
47
  const mark = new google.maps.Marker({
48
  position,
49
  map: googleMap,
assets/js/google-map-loader.min.js CHANGED
@@ -1 +1 @@
1
- (function(a){function b(d){if(c[d])return c[d].exports;var e=c[d]={i:d,l:!1,exports:{}};return a[d].call(e.exports,e,e.exports,b),e.l=!0,e.exports}var c={};return b.m=a,b.c=c,b.d=function(a,c,d){b.o(a,c)||Object.defineProperty(a,c,{configurable:!1,enumerable:!0,get:d})},b.n=function(a){var c=a&&a.__esModule?function(){return a['default']}:function(){return a};return b.d(c,'a',c),c},b.o=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)},b.p='',b(b.s=3)})({3:function(){function a(a){return`<div class="gutentor-map-overview"><h6 class="gutentor-map-overview-title">${a.title}</h6><div class="gutentor-map-overview-content">${a.description?`<p>${a.description}</p>`:''}</div></div>`}window.initMapScript=()=>{let b=[];b=window.gutentorGoogleMaps,b&&b.forEach((b)=>{const c=new google.maps.Map(document.getElementById(b.container),{center:{lat:+b.attributes.latitude,lng:+b.attributes.longitude},gestureHandling:'cooperative',zoom:b.attributes.zoom,mapTypeId:b.attributes.type,draggable:b.attributes.draggable,mapTypeControl:b.attributes.mapTypeControl,zoomControl:b.attributes.zoomControl,fullscreenControl:b.attributes.fullscreenControl,streetViewControl:b.attributes.streetViewControl});if(!b.attributes.id&&b.attributes.location){const a={query:b.attributes.location,fields:['name','geometry']},d=new google.maps.places.PlacesService(c);d.findPlaceFromQuery(a,(a,b)=>{b===google.maps.places.PlacesServiceStatus.OK&&0<a.length&&c.setCenter(a[0].geometry.location)})}b.attributes.markers&&0<b.attributes.markers.length&&b.attributes.markers.forEach((b)=>{const d=new google.maps.LatLng(b.latitude,b.longitude),e=new google.maps.Marker({position:d,map:c,title:b.title});(b.title||b.description)&&(!window.infoWindow&&(window.infoWindow=new google.maps.InfoWindow),e.addListener('click',()=>{window.infoWindow&&(window.infoWindow.setContent(a(b)),window.infoWindow.open(c,e))}))})})}}});
1
+ (function(a){function b(d){if(c[d])return c[d].exports;var e=c[d]={i:d,l:!1,exports:{}};return a[d].call(e.exports,e,e.exports,b),e.l=!0,e.exports}var c={};return b.m=a,b.c=c,b.d=function(a,c,d){b.o(a,c)||Object.defineProperty(a,c,{configurable:!1,enumerable:!0,get:d})},b.n=function(a){var c=a&&a.__esModule?function(){return a['default']}:function(){return a};return b.d(c,'a',c),c},b.o=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)},b.p='',b(b.s=3)})({3:function(){function a(a){return`<div class="gutentor-map-overview"><h6 class="gutentor-map-overview-title">${a.title}</h6><div class="gutentor-map-overview-content">${a.description?`<p>${a.description}</p>`:''}</div></div>`}window.initMapScript=()=>{let b=[];b=window.gutentorGoogleMaps,b&&b.forEach((b)=>{const c=new google.maps.Map(document.getElementById(b.container),{center:{lat:+b.attributes.latitude,lng:+b.attributes.longitude},gestureHandling:'cooperative',zoom:b.attributes.zoom,mapTypeId:b.attributes.type,draggable:b.attributes.draggable,mapTypeControl:b.attributes.mapTypeControl,zoomControl:b.attributes.zoomControl,fullscreenControl:b.attributes.fullscreenControl,streetViewControl:b.attributes.streetViewControl});if(!b.attributes.id&&b.attributes.location){const a={query:b.attributes.location,fields:['name','geometry']},d=new google.maps.places.PlacesService(c);d.findPlaceFromQuery(a,(a,b)=>{b===google.maps.places.PlacesServiceStatus.OK&&0<a.length&&c.setCenter(a[0].geometry.location)})}b.attributes.markers&&0<b.attributes.markers.length&&b.attributes.markers.forEach((b)=>{let d=b.hasOwnProperty('e4Lat')?new google.maps.LatLng(b.e4Lat,b.e4Lon):new google.maps.LatLng(b.latitude,b.longitude);const e=new google.maps.Marker({position:d,map:c,title:b.title});(b.title||b.description)&&(!window.infoWindow&&(window.infoWindow=new google.maps.InfoWindow),e.addListener('click',()=>{window.infoWindow&&(window.infoWindow.setContent(a(b)),window.infoWindow.open(c,e))}))})})}}});
dist/blocks.admin.build-rtl.css CHANGED
@@ -1 +1 @@
1
- section{padding:60px 0}.btn{text-decoration:none;padding:10px 20px;border:1px solid #ddd;background-color:#ddd}.btn:not(:last-child){margin-left:10px}.btn .dashicons{margin-left:10px}.btn-primary{border-color:#275cf6;background-color:#275cf6;color:#fff;padding:20px 40px;border-radius:60px;font-size:14px;text-transform:uppercase;letter-spacing:2px;font-weight:bold}.btn-primary:hover{border-color:#174cdf;background-color:#174cdf;color:#fff}.gutentor-plugin-landing-page{margin-right:15px;margin-left:30px;margin-top:40px}.gutentor-plugin-banner{background:#deeff7;padding:100px 0 280px}@media (min-width: 1600px){.gutentor-plugin-banner{padding:200px 0 300px}}.gutentor-plugin-list{margin-top:-200px}.gutentor-plugin-header{text-align:center;width:100%}.gutentor-plugin-header .btn{margin-top:30px;display:inline-block}.gutentor-plugin-header .btn .dashicons{margin-left:10px}.gutentor-plugin-header .gutentor-plugin-header-title{font-size:40px;font-weight:bold;margin:0;line-height:normal;color:#091e42}.gutentor-plugin-header p{font-size:16px;color:#838b9e;width:70%;margin:10px auto 0}.gutentor-container .gutentor-row{display:-ms-flexbox;display:flex;-ms-flex-pack:start;justify-content:flex-start;align-item:center;-ms-flex-wrap:wrap;flex-wrap:wrap;margin:0 auto;width:80%}.gutentor-container .gutentor-row .col{-ms-flex-preferred-size:calc(100% / 3 - 30px);flex-basis:calc(100% / 3 - 30px);margin:15px}@media (min-width: 1600px){.gutentor-container .gutentor-row .col{-ms-flex-preferred-size:calc(100% / 4 - 30px);flex-basis:calc(100% / 4 - 30px)}}.plugin-box{background:#fff;padding:40px;-webkit-box-shadow:0 15px 18px -7px rgba(0,0,0,0.1);box-shadow:0 15px 18px -7px rgba(0,0,0,0.1);-webkit-transition:all 0.3s ease-in-out 0s;-o-transition:all 0.3s ease-in-out 0s;transition:all 0.3s ease-in-out 0s;z-index:1;border-radius:4px}.plugin-box:hover{-webkit-transform:translateY(-30px);-ms-transform:translateY(-30px);transform:translateY(-30px);-webkit-box-shadow:0 -10px 38px -7px rgba(0,0,0,0.1);box-shadow:0 -10px 38px -7px rgba(0,0,0,0.1)}.plugin-box+.plugin-box{position:relative;z-index:2}.plugin-box p{font-size:14px}.onoffswitch{position:relative;width:70px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;margin-top:20px}.onoffswitch .onoffswitch-label{display:block;overflow:hidden;cursor:pointer;border:1px solid #D6D6D6;border-radius:20px;position:relative}.onoffswitch .onoffswitch-inner{display:block;width:200%;margin-right:-100%;-webkit-transition:margin 0.3s ease-in 0s;-o-transition:margin 0.3s ease-in 0s;transition:margin 0.3s ease-in 0s}.onoffswitch .onoffswitch-inner:before,.onoffswitch .onoffswitch-inner:after{display:block;float:right;width:50%;height:25px;padding:0;line-height:27px;font-size:12px;color:white;font-family:Trebuchet, Arial, sans-serif;font-weight:bold;-webkit-box-sizing:border-box;box-sizing:border-box}.onoffswitch .onoffswitch-inner:before{content:"ON";padding-right:10px;background-color:#275cf6;color:#FFFFFF}.onoffswitch .onoffswitch-inner:after{content:"OFF";padding-left:14px;background-color:#EDEDED;color:#999999;text-align:left}.onoffswitch .onoffswitch-switch{display:block;width:14px;height:14px;background:#FFFFFF;position:absolute;top:50%;left:48px;border-radius:20px;-webkit-transition:all 0.3s ease-in 0s;-o-transition:all 0.3s ease-in 0s;transition:all 0.3s ease-in 0s;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%)}.onoffswitch .onoffswitch-checkbox{opacity:0;visibility:hidden;display:none}.onoffswitch .onoffswitch-checkbox:checked+.onoffswitch-label{border-color:#275cf6}.onoffswitch .onoffswitch-checkbox:checked+.onoffswitch-label .onoffswitch-inner{margin-right:0}.onoffswitch .onoffswitch-checkbox:checked+.onoffswitch-label .onoffswitch-switch{left:4px}.gutentor-get-started-landing-page{margin-right:15px;margin-left:30px;margin-top:40px}.gutentor-plugin-banner.gutentor-get-started-header{padding:80px 0}.gutentor-plugin-header h4{font-size:20px;margin-top:10px}.gutentor-get-started section{padding:50px 0}.gutentor-get-started section:nth-child(odd) .container{-ms-flex-direction:row-reverse;flex-direction:row-reverse}.gutentor-get-started section:nth-child(odd) .container .gutentor-get-started-content{padding-left:40px;padding-right:0}.gutentor-get-started section:nth-child(even) .container .gutentor-get-started-content{padding-right:40px;padding-left:0}.gutentor-get-started section .container{margin:0 auto;width:90%;display:-ms-flexbox;display:flex;-ms-flex-pack:start;justify-content:flex-start;-ms-flex-align:center;align-items:center;-ms-flex-wrap:wrap;flex-wrap:wrap}.gutentor-get-started section .container .col{-ms-flex-preferred-size:50%;flex-basis:50%;max-width:50%}.gutentor-get-started section .container .col-image img{max-width:100%;height:auto}.gutentor-get-started section .container .col h3{font-size:20px;font-weight:bold;margin-bottom:15px;margin-top:0}.gutentor-get-started section .container .col h4{font-size:16px;font-weight:bold;margin-bottom:10px}.gutentor-get-started section .container .col p{font-size:16px;margin-bottom:20px}.gutentor-get-started section .container .col ul{list-style-type:lower-roman;list-style-position:inside;margin:20px 0}.gutentor-get-started section .container .col ul li{font-size:15px;margin-bottom:10px}.gutentor-get-started section .container .col ul li .dashicons-plus{border:2px solid #000;color:#000;border-radius:50%;font-size:13px;width:15px;height:15px;line-height:17px;text-align:center;display:inline-block;margin:0 5px}.gutentor-get-started section .container .col ul ul{padding-right:20px;margin-top:15px}.gutentor-get-started-footer{text-align:center;border-top:1px solid #e9e9e9;padding:80px 0;background:#ececec}.gutentor-tab-list{text-align:center;width:100%}.gutentor-tab-list .tablist-item{padding:10px 20px;display:inline-block;font-size:14px;font-weight:700;text-transform:uppercase;letter-spacing:2px;cursor:pointer;border:1px solid transparent;-webkit-transition:all 0.5s ease-in-out;-o-transition:all 0.5s ease-in-out;transition:all 0.5s ease-in-out}.gutentor-tab-list .tablist-item:hover,.gutentor-tab-list .tablist-item.tablist-item-active{color:#275cf6;border-color:#275cf6}.gutentor-tab-content{display:none}.gutentor-tab-content .col{display:none}.gutentor-tab-content.gutentor-active{display:block}.gutentor-tab-content.gutentor-active .col{-webkit-animation:fadeIn 1s;animation:fadeIn 1s;display:block}@-webkit-keyframes fadeIn{form{opacity:0}to{opacity:1}}@keyframes fadeIn{form{opacity:0}to{opacity:1}}.gutentor-fields .wp-picker-container .wp-color-result.button{height:35px;padding:0 35px 0 0}.gutentor-fields .wp-picker-container .wp-color-result.button .wp-color-result-text{line-height:33px}.gutentor-fields .wp-picker-container .wp-picker-input-wrap input.wp-color-picker{height:35px}.gutentor-fields .wp-picker-container .wp-picker-input-wrap .button{height:35px;padding:0 29px 1px}.gutentor-fields .wp-picker-container .wp-picker-holder .fp-rgba-wrap{display:none;position:relative;top:-1px;width:235px;padding:9px 10px;border:1px solid #dfdfdf;border-top:none;background-color:#fff}.gutentor-fields .wp-picker-container .wp-picker-holder .fp-rgba-wrap .fp-rgba-slider{position:absolute;width:199px;height:18px;background-color:transparent}.gutentor-fields .wp-picker-container .wp-picker-holder .fp-rgba-wrap .fp-rgba-slider .ui-slider-handle{height:1.7em;width:0.5em;background:transparent;border-width:2px;cursor:e-resize}.gutentor-fields .wp-picker-container .wp-picker-holder .fp-rgba-wrap .fp-rgba-slider-offset{height:19px;width:201px;background:url(https://raw.githubusercontent.com/addonspress/fieldpress/master/assets/images/fp-alpha-bg.png) repeat-y center right scroll #fff;-webkit-box-shadow:0 0 5px rgba(0,0,0,0.4) inset;box-shadow:0 0 5px rgba(0,0,0,0.4) inset;border-radius:2px}.gutentor-fields .wp-picker-container .wp-picker-holder .fp-rgba-wrap .fp-rgba-text{position:absolute;top:12px;left:10px;width:30px;font-size:12px;line-height:12px;text-align:center;color:#999}.g-settings-form table:not(:first-of-type){display:none}.g-resource-load-options .g-resource-load-option{margin-bottom:15px}.g-resource-load-options .g-resource-load-option .g-desc-wrap{position:relative}.g-resource-load-options .g-resource-load-option .g-desc-wrap .g-desc-icon{cursor:help;font-size:10px}.g-resource-load-options .g-resource-load-option .g-desc-wrap .g-desc-icon .dashicons{margin-top:5px}.g-resource-load-options .g-resource-load-option .g-desc-wrap .g-resource-desc{position:absolute;display:block;left:-280px;top:-10px;max-width:250px;background:#fff;padding:10px;display:none}.g-resource-load-options .g-resource-load-option .g-desc-wrap .g-resource-desc:before{width:0;height:0;border-top:6px solid transparent;border-bottom:6px solid transparent;border-left:6px solid #fff;position:absolute;content:'';right:-5px;top:16px}.g-resource-load-options .g-resource-load-option .g-desc-wrap:hover .g-desc-icon+.g-resource-desc{display:block}.g-resource-load-options label{width:150px;display:inline-block;text-transform:capitalize;font-weight:600}
1
+ section{padding:60px 0}.btn{text-decoration:none;padding:10px 20px;border:1px solid #ddd;background-color:#ddd}.btn:not(:last-child){margin-left:10px}.btn .dashicons{margin-left:10px}.btn-primary{border-color:#275cf6;background-color:#275cf6;color:#fff;padding:20px 40px;border-radius:60px;font-size:14px;text-transform:uppercase;letter-spacing:2px;font-weight:bold}.btn-primary:hover{border-color:#174cdf;background-color:#174cdf;color:#fff}.gutentor-plugin-landing-page{margin-right:15px;margin-left:30px;margin-top:40px}.gutentor-plugin-banner{background:#deeff7;padding:100px 0 280px}@media (min-width: 1600px){.gutentor-plugin-banner{padding:200px 0 300px}}.gutentor-plugin-list{margin-top:-200px}.gutentor-plugin-header{text-align:center;width:100%}.gutentor-plugin-header .btn{margin-top:30px;display:inline-block}.gutentor-plugin-header .btn .dashicons{margin-left:10px}.gutentor-plugin-header .gutentor-plugin-header-title{font-size:40px;font-weight:bold;margin:0;line-height:normal;color:#091e42}.gutentor-plugin-header p{font-size:16px;color:#838b9e;width:70%;margin:10px auto 0}.gutentor-container .gutentor-row{display:-ms-flexbox;display:flex;-ms-flex-pack:start;justify-content:flex-start;align-item:center;-ms-flex-wrap:wrap;flex-wrap:wrap;margin:0 auto;width:80%}.gutentor-container .gutentor-row .col{-ms-flex-preferred-size:calc(100% / 3 - 30px);flex-basis:calc(100% / 3 - 30px);margin:15px}@media (min-width: 1600px){.gutentor-container .gutentor-row .col{-ms-flex-preferred-size:calc(100% / 4 - 30px);flex-basis:calc(100% / 4 - 30px)}}.plugin-box{background:#fff;padding:40px;-webkit-box-shadow:0 15px 18px -7px rgba(0,0,0,0.1);box-shadow:0 15px 18px -7px rgba(0,0,0,0.1);-webkit-transition:all 0.3s ease-in-out 0s;-o-transition:all 0.3s ease-in-out 0s;transition:all 0.3s ease-in-out 0s;z-index:1;border-radius:4px}.plugin-box:hover{-webkit-transform:translateY(-30px);-ms-transform:translateY(-30px);transform:translateY(-30px);-webkit-box-shadow:0 -10px 38px -7px rgba(0,0,0,0.1);box-shadow:0 -10px 38px -7px rgba(0,0,0,0.1)}.plugin-box+.plugin-box{position:relative;z-index:2}.plugin-box p{font-size:14px}.onoffswitch{position:relative;width:70px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;margin-top:20px}.onoffswitch .onoffswitch-label{display:block;overflow:hidden;cursor:pointer;border:1px solid #D6D6D6;border-radius:20px;position:relative}.onoffswitch .onoffswitch-inner{display:block;width:200%;margin-right:-100%;-webkit-transition:margin 0.3s ease-in 0s;-o-transition:margin 0.3s ease-in 0s;transition:margin 0.3s ease-in 0s}.onoffswitch .onoffswitch-inner:before,.onoffswitch .onoffswitch-inner:after{display:block;float:right;width:50%;height:25px;padding:0;line-height:27px;font-size:12px;color:white;font-family:Trebuchet, Arial, sans-serif;font-weight:bold;-webkit-box-sizing:border-box;box-sizing:border-box}.onoffswitch .onoffswitch-inner:before{content:"ON";padding-right:10px;background-color:#275cf6;color:#FFFFFF}.onoffswitch .onoffswitch-inner:after{content:"OFF";padding-left:14px;background-color:#EDEDED;color:#999999;text-align:left}.onoffswitch .onoffswitch-switch{display:block;width:14px;height:14px;background:#FFFFFF;position:absolute;top:50%;left:48px;border-radius:20px;-webkit-transition:all 0.3s ease-in 0s;-o-transition:all 0.3s ease-in 0s;transition:all 0.3s ease-in 0s;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%)}.onoffswitch .onoffswitch-checkbox{opacity:0;visibility:hidden;display:none}.onoffswitch .onoffswitch-checkbox:checked+.onoffswitch-label{border-color:#275cf6}.onoffswitch .onoffswitch-checkbox:checked+.onoffswitch-label .onoffswitch-inner{margin-right:0}.onoffswitch .onoffswitch-checkbox:checked+.onoffswitch-label .onoffswitch-switch{left:4px}.gutentor-get-started-landing-page{margin-right:15px;margin-left:30px;margin-top:40px}.gutentor-plugin-banner.gutentor-get-started-header{padding:80px 0}.gutentor-plugin-header h4{font-size:20px;margin-top:10px}.gutentor-get-started section{padding:50px 0}.gutentor-get-started section:nth-child(odd) .container{-ms-flex-direction:row-reverse;flex-direction:row-reverse}.gutentor-get-started section:nth-child(odd) .container .gutentor-get-started-content{padding-left:40px;padding-right:0}.gutentor-get-started section:nth-child(even) .container .gutentor-get-started-content{padding-right:40px;padding-left:0}.gutentor-get-started section .container{margin:0 auto;width:90%;display:-ms-flexbox;display:flex;-ms-flex-pack:start;justify-content:flex-start;-ms-flex-align:center;align-items:center;-ms-flex-wrap:wrap;flex-wrap:wrap}.gutentor-get-started section .container .col{-ms-flex-preferred-size:50%;flex-basis:50%;max-width:50%}.gutentor-get-started section .container .col-image img{max-width:100%;height:auto}.gutentor-get-started section .container .col h3{font-size:20px;font-weight:bold;margin-bottom:15px;margin-top:0}.gutentor-get-started section .container .col h4{font-size:16px;font-weight:bold;margin-bottom:10px}.gutentor-get-started section .container .col p{font-size:16px;margin-bottom:20px}.gutentor-get-started section .container .col ul{list-style-type:lower-roman;list-style-position:inside;margin:20px 0}.gutentor-get-started section .container .col ul li{font-size:15px;margin-bottom:10px}.gutentor-get-started section .container .col ul li .dashicons-plus{border:2px solid #000;color:#000;border-radius:50%;font-size:13px;width:15px;height:15px;line-height:17px;text-align:center;display:inline-block;margin:0 5px}.gutentor-get-started section .container .col ul ul{padding-right:20px;margin-top:15px}.gutentor-get-started-footer{text-align:center;border-top:1px solid #e9e9e9;padding:80px 0;background:#ececec}.gutentor-tab-list{text-align:center;width:100%}.gutentor-tab-list .tablist-item{padding:10px 20px;display:inline-block;font-size:14px;font-weight:700;text-transform:uppercase;letter-spacing:2px;cursor:pointer;border:1px solid transparent;-webkit-transition:all 0.5s ease-in-out;-o-transition:all 0.5s ease-in-out;transition:all 0.5s ease-in-out}.gutentor-tab-list .tablist-item:hover,.gutentor-tab-list .tablist-item.tablist-item-active{color:#275cf6;border-color:#275cf6}.gutentor-tab-content{display:none}.gutentor-tab-content .col{display:none}.gutentor-tab-content.gutentor-active{display:block}.gutentor-tab-content.gutentor-active .col{-webkit-animation:fadeIn 1s;animation:fadeIn 1s;display:block}@-webkit-keyframes fadeIn{form{opacity:0}to{opacity:1}}@keyframes fadeIn{form{opacity:0}to{opacity:1}}.gutentor-fields .wp-picker-container .wp-color-result.button{height:35px;padding:0 35px 0 0}.gutentor-fields .wp-picker-container .wp-color-result.button .wp-color-result-text{line-height:33px}.gutentor-fields .wp-picker-container .wp-picker-input-wrap input.wp-color-picker{height:35px}.gutentor-fields .wp-picker-container .wp-picker-input-wrap .button{height:35px;padding:0 29px 1px}.gutentor-fields .wp-picker-container .wp-picker-holder .fp-rgba-wrap{display:none;position:relative;top:-1px;width:235px;padding:9px 10px;border:1px solid #dfdfdf;border-top:none;background-color:#fff}.gutentor-fields .wp-picker-container .wp-picker-holder .fp-rgba-wrap .fp-rgba-slider{position:absolute;width:199px;height:18px;background-color:transparent}.gutentor-fields .wp-picker-container .wp-picker-holder .fp-rgba-wrap .fp-rgba-slider .ui-slider-handle{height:1.7em;width:0.5em;background:transparent;border-width:2px;cursor:e-resize}.gutentor-fields .wp-picker-container .wp-picker-holder .fp-rgba-wrap .fp-rgba-slider-offset{height:19px;width:201px;background:url(https://raw.githubusercontent.com/addonspress/fieldpress/master/assets/images/fp-alpha-bg.png) repeat-y center right scroll #fff;-webkit-box-shadow:0 0 5px rgba(0,0,0,0.4) inset;box-shadow:0 0 5px rgba(0,0,0,0.4) inset;border-radius:2px}.gutentor-fields .wp-picker-container .wp-picker-holder .fp-rgba-wrap .fp-rgba-text{position:absolute;top:12px;left:10px;width:30px;font-size:12px;line-height:12px;text-align:center;color:#999}.g-resource-load-options .g-resource-load-option{margin-bottom:15px}.g-resource-load-options .g-resource-load-option .g-desc-wrap{position:relative}.g-resource-load-options .g-resource-load-option .g-desc-wrap .g-desc-icon{cursor:help;font-size:10px}.g-resource-load-options .g-resource-load-option .g-desc-wrap .g-desc-icon .dashicons{margin-top:5px}.g-resource-load-options .g-resource-load-option .g-desc-wrap .g-resource-desc{position:absolute;display:block;left:-280px;top:-10px;max-width:250px;background:#fff;padding:10px;display:none}.g-resource-load-options .g-resource-load-option .g-desc-wrap .g-resource-desc:before{width:0;height:0;border-top:6px solid transparent;border-bottom:6px solid transparent;border-left:6px solid #fff;position:absolute;content:'';right:-5px;top:16px}.g-resource-load-options .g-resource-load-option .g-desc-wrap:hover .g-desc-icon+.g-resource-desc{display:block}.g-resource-load-options label{width:150px;display:inline-block;text-transform:capitalize;font-weight:600}
dist/blocks.admin.build.css CHANGED
@@ -1 +1 @@
1
- section{padding:60px 0}.btn{text-decoration:none;padding:10px 20px;border:1px solid #ddd;background-color:#ddd}.btn:not(:last-child){margin-right:10px}.btn .dashicons{margin-right:10px}.btn-primary{border-color:#275cf6;background-color:#275cf6;color:#fff;padding:20px 40px;border-radius:60px;font-size:14px;text-transform:uppercase;letter-spacing:2px;font-weight:bold}.btn-primary:hover{border-color:#174cdf;background-color:#174cdf;color:#fff}.gutentor-plugin-landing-page{margin-left:15px;margin-right:30px;margin-top:40px}.gutentor-plugin-banner{background:#deeff7;padding:100px 0 280px}@media (min-width: 1600px){.gutentor-plugin-banner{padding:200px 0 300px}}.gutentor-plugin-list{margin-top:-200px}.gutentor-plugin-header{text-align:center;width:100%}.gutentor-plugin-header .btn{margin-top:30px;display:inline-block}.gutentor-plugin-header .btn .dashicons{margin-right:10px}.gutentor-plugin-header .gutentor-plugin-header-title{font-size:40px;font-weight:bold;margin:0;line-height:normal;color:#091e42}.gutentor-plugin-header p{font-size:16px;color:#838b9e;width:70%;margin:10px auto 0}.gutentor-container .gutentor-row{display:-ms-flexbox;display:flex;-ms-flex-pack:start;justify-content:flex-start;align-item:center;-ms-flex-wrap:wrap;flex-wrap:wrap;margin:0 auto;width:80%}.gutentor-container .gutentor-row .col{-ms-flex-preferred-size:calc(100% / 3 - 30px);flex-basis:calc(100% / 3 - 30px);margin:15px}@media (min-width: 1600px){.gutentor-container .gutentor-row .col{-ms-flex-preferred-size:calc(100% / 4 - 30px);flex-basis:calc(100% / 4 - 30px)}}.plugin-box{background:#fff;padding:40px;-webkit-box-shadow:0 15px 18px -7px rgba(0,0,0,0.1);box-shadow:0 15px 18px -7px rgba(0,0,0,0.1);-webkit-transition:all 0.3s ease-in-out 0s;-o-transition:all 0.3s ease-in-out 0s;transition:all 0.3s ease-in-out 0s;z-index:1;border-radius:4px}.plugin-box:hover{-webkit-transform:translateY(-30px);-ms-transform:translateY(-30px);transform:translateY(-30px);-webkit-box-shadow:0 -10px 38px -7px rgba(0,0,0,0.1);box-shadow:0 -10px 38px -7px rgba(0,0,0,0.1)}.plugin-box+.plugin-box{position:relative;z-index:2}.plugin-box p{font-size:14px}.onoffswitch{position:relative;width:70px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;margin-top:20px}.onoffswitch .onoffswitch-label{display:block;overflow:hidden;cursor:pointer;border:1px solid #D6D6D6;border-radius:20px;position:relative}.onoffswitch .onoffswitch-inner{display:block;width:200%;margin-left:-100%;-webkit-transition:margin 0.3s ease-in 0s;-o-transition:margin 0.3s ease-in 0s;transition:margin 0.3s ease-in 0s}.onoffswitch .onoffswitch-inner:before,.onoffswitch .onoffswitch-inner:after{display:block;float:left;width:50%;height:25px;padding:0;line-height:27px;font-size:12px;color:white;font-family:Trebuchet, Arial, sans-serif;font-weight:bold;-webkit-box-sizing:border-box;box-sizing:border-box}.onoffswitch .onoffswitch-inner:before{content:"ON";padding-left:10px;background-color:#275cf6;color:#FFFFFF}.onoffswitch .onoffswitch-inner:after{content:"OFF";padding-right:14px;background-color:#EDEDED;color:#999999;text-align:right}.onoffswitch .onoffswitch-switch{display:block;width:14px;height:14px;background:#FFFFFF;position:absolute;top:50%;right:48px;border-radius:20px;-webkit-transition:all 0.3s ease-in 0s;-o-transition:all 0.3s ease-in 0s;transition:all 0.3s ease-in 0s;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%)}.onoffswitch .onoffswitch-checkbox{opacity:0;visibility:hidden;display:none}.onoffswitch .onoffswitch-checkbox:checked+.onoffswitch-label{border-color:#275cf6}.onoffswitch .onoffswitch-checkbox:checked+.onoffswitch-label .onoffswitch-inner{margin-left:0}.onoffswitch .onoffswitch-checkbox:checked+.onoffswitch-label .onoffswitch-switch{right:4px}.gutentor-get-started-landing-page{margin-left:15px;margin-right:30px;margin-top:40px}.gutentor-plugin-banner.gutentor-get-started-header{padding:80px 0}.gutentor-plugin-header h4{font-size:20px;margin-top:10px}.gutentor-get-started section{padding:50px 0}.gutentor-get-started section:nth-child(odd) .container{-ms-flex-direction:row-reverse;flex-direction:row-reverse}.gutentor-get-started section:nth-child(odd) .container .gutentor-get-started-content{padding-right:40px;padding-left:0}.gutentor-get-started section:nth-child(even) .container .gutentor-get-started-content{padding-left:40px;padding-right:0}.gutentor-get-started section .container{margin:0 auto;width:90%;display:-ms-flexbox;display:flex;-ms-flex-pack:start;justify-content:flex-start;-ms-flex-align:center;align-items:center;-ms-flex-wrap:wrap;flex-wrap:wrap}.gutentor-get-started section .container .col{-ms-flex-preferred-size:50%;flex-basis:50%;max-width:50%}.gutentor-get-started section .container .col-image img{max-width:100%;height:auto}.gutentor-get-started section .container .col h3{font-size:20px;font-weight:bold;margin-bottom:15px;margin-top:0}.gutentor-get-started section .container .col h4{font-size:16px;font-weight:bold;margin-bottom:10px}.gutentor-get-started section .container .col p{font-size:16px;margin-bottom:20px}.gutentor-get-started section .container .col ul{list-style-type:lower-roman;list-style-position:inside;margin:20px 0}.gutentor-get-started section .container .col ul li{font-size:15px;margin-bottom:10px}.gutentor-get-started section .container .col ul li .dashicons-plus{border:2px solid #000;color:#000;border-radius:50%;font-size:13px;width:15px;height:15px;line-height:17px;text-align:center;display:inline-block;margin:0 5px}.gutentor-get-started section .container .col ul ul{padding-left:20px;margin-top:15px}.gutentor-get-started-footer{text-align:center;border-top:1px solid #e9e9e9;padding:80px 0;background:#ececec}.gutentor-tab-list{text-align:center;width:100%}.gutentor-tab-list .tablist-item{padding:10px 20px;display:inline-block;font-size:14px;font-weight:700;text-transform:uppercase;letter-spacing:2px;cursor:pointer;border:1px solid transparent;-webkit-transition:all 0.5s ease-in-out;-o-transition:all 0.5s ease-in-out;transition:all 0.5s ease-in-out}.gutentor-tab-list .tablist-item:hover,.gutentor-tab-list .tablist-item.tablist-item-active{color:#275cf6;border-color:#275cf6}.gutentor-tab-content{display:none}.gutentor-tab-content .col{display:none}.gutentor-tab-content.gutentor-active{display:block}.gutentor-tab-content.gutentor-active .col{-webkit-animation:fadeIn 1s;animation:fadeIn 1s;display:block}@-webkit-keyframes fadeIn{form{opacity:0}to{opacity:1}}@keyframes fadeIn{form{opacity:0}to{opacity:1}}.gutentor-fields .wp-picker-container .wp-color-result.button{height:35px;padding:0 0 0 35px}.gutentor-fields .wp-picker-container .wp-color-result.button .wp-color-result-text{line-height:33px}.gutentor-fields .wp-picker-container .wp-picker-input-wrap input.wp-color-picker{height:35px}.gutentor-fields .wp-picker-container .wp-picker-input-wrap .button{height:35px;padding:0 29px 1px}.gutentor-fields .wp-picker-container .wp-picker-holder .fp-rgba-wrap{display:none;position:relative;top:-1px;width:235px;padding:9px 10px;border:1px solid #dfdfdf;border-top:none;background-color:#fff}.gutentor-fields .wp-picker-container .wp-picker-holder .fp-rgba-wrap .fp-rgba-slider{position:absolute;width:199px;height:18px;background-color:transparent}.gutentor-fields .wp-picker-container .wp-picker-holder .fp-rgba-wrap .fp-rgba-slider .ui-slider-handle{height:1.7em;width:0.5em;background:transparent;border-width:2px;cursor:e-resize}.gutentor-fields .wp-picker-container .wp-picker-holder .fp-rgba-wrap .fp-rgba-slider-offset{height:19px;width:201px;background:url(https://raw.githubusercontent.com/addonspress/fieldpress/master/assets/images/fp-alpha-bg.png) repeat-y center left scroll #fff;-webkit-box-shadow:0 0 5px rgba(0,0,0,0.4) inset;box-shadow:0 0 5px rgba(0,0,0,0.4) inset;border-radius:2px}.gutentor-fields .wp-picker-container .wp-picker-holder .fp-rgba-wrap .fp-rgba-text{position:absolute;top:12px;right:10px;width:30px;font-size:12px;line-height:12px;text-align:center;color:#999}.g-settings-form table:not(:first-of-type){display:none}.g-resource-load-options .g-resource-load-option{margin-bottom:15px}.g-resource-load-options .g-resource-load-option .g-desc-wrap{position:relative}.g-resource-load-options .g-resource-load-option .g-desc-wrap .g-desc-icon{cursor:help;font-size:10px}.g-resource-load-options .g-resource-load-option .g-desc-wrap .g-desc-icon .dashicons{margin-top:5px}.g-resource-load-options .g-resource-load-option .g-desc-wrap .g-resource-desc{position:absolute;display:block;right:-280px;top:-10px;max-width:250px;background:#fff;padding:10px;display:none}.g-resource-load-options .g-resource-load-option .g-desc-wrap .g-resource-desc:before{width:0;height:0;border-top:6px solid transparent;border-bottom:6px solid transparent;border-right:6px solid #fff;position:absolute;content:'';left:-5px;top:16px}.g-resource-load-options .g-resource-load-option .g-desc-wrap:hover .g-desc-icon+.g-resource-desc{display:block}.g-resource-load-options label{width:150px;display:inline-block;text-transform:capitalize;font-weight:600}
1
+ section{padding:60px 0}.btn{text-decoration:none;padding:10px 20px;border:1px solid #ddd;background-color:#ddd}.btn:not(:last-child){margin-right:10px}.btn .dashicons{margin-right:10px}.btn-primary{border-color:#275cf6;background-color:#275cf6;color:#fff;padding:20px 40px;border-radius:60px;font-size:14px;text-transform:uppercase;letter-spacing:2px;font-weight:bold}.btn-primary:hover{border-color:#174cdf;background-color:#174cdf;color:#fff}.gutentor-plugin-landing-page{margin-left:15px;margin-right:30px;margin-top:40px}.gutentor-plugin-banner{background:#deeff7;padding:100px 0 280px}@media (min-width: 1600px){.gutentor-plugin-banner{padding:200px 0 300px}}.gutentor-plugin-list{margin-top:-200px}.gutentor-plugin-header{text-align:center;width:100%}.gutentor-plugin-header .btn{margin-top:30px;display:inline-block}.gutentor-plugin-header .btn .dashicons{margin-right:10px}.gutentor-plugin-header .gutentor-plugin-header-title{font-size:40px;font-weight:bold;margin:0;line-height:normal;color:#091e42}.gutentor-plugin-header p{font-size:16px;color:#838b9e;width:70%;margin:10px auto 0}.gutentor-container .gutentor-row{display:-ms-flexbox;display:flex;-ms-flex-pack:start;justify-content:flex-start;align-item:center;-ms-flex-wrap:wrap;flex-wrap:wrap;margin:0 auto;width:80%}.gutentor-container .gutentor-row .col{-ms-flex-preferred-size:calc(100% / 3 - 30px);flex-basis:calc(100% / 3 - 30px);margin:15px}@media (min-width: 1600px){.gutentor-container .gutentor-row .col{-ms-flex-preferred-size:calc(100% / 4 - 30px);flex-basis:calc(100% / 4 - 30px)}}.plugin-box{background:#fff;padding:40px;-webkit-box-shadow:0 15px 18px -7px rgba(0,0,0,0.1);box-shadow:0 15px 18px -7px rgba(0,0,0,0.1);-webkit-transition:all 0.3s ease-in-out 0s;-o-transition:all 0.3s ease-in-out 0s;transition:all 0.3s ease-in-out 0s;z-index:1;border-radius:4px}.plugin-box:hover{-webkit-transform:translateY(-30px);-ms-transform:translateY(-30px);transform:translateY(-30px);-webkit-box-shadow:0 -10px 38px -7px rgba(0,0,0,0.1);box-shadow:0 -10px 38px -7px rgba(0,0,0,0.1)}.plugin-box+.plugin-box{position:relative;z-index:2}.plugin-box p{font-size:14px}.onoffswitch{position:relative;width:70px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;margin-top:20px}.onoffswitch .onoffswitch-label{display:block;overflow:hidden;cursor:pointer;border:1px solid #D6D6D6;border-radius:20px;position:relative}.onoffswitch .onoffswitch-inner{display:block;width:200%;margin-left:-100%;-webkit-transition:margin 0.3s ease-in 0s;-o-transition:margin 0.3s ease-in 0s;transition:margin 0.3s ease-in 0s}.onoffswitch .onoffswitch-inner:before,.onoffswitch .onoffswitch-inner:after{display:block;float:left;width:50%;height:25px;padding:0;line-height:27px;font-size:12px;color:white;font-family:Trebuchet, Arial, sans-serif;font-weight:bold;-webkit-box-sizing:border-box;box-sizing:border-box}.onoffswitch .onoffswitch-inner:before{content:"ON";padding-left:10px;background-color:#275cf6;color:#FFFFFF}.onoffswitch .onoffswitch-inner:after{content:"OFF";padding-right:14px;background-color:#EDEDED;color:#999999;text-align:right}.onoffswitch .onoffswitch-switch{display:block;width:14px;height:14px;background:#FFFFFF;position:absolute;top:50%;right:48px;border-radius:20px;-webkit-transition:all 0.3s ease-in 0s;-o-transition:all 0.3s ease-in 0s;transition:all 0.3s ease-in 0s;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%)}.onoffswitch .onoffswitch-checkbox{opacity:0;visibility:hidden;display:none}.onoffswitch .onoffswitch-checkbox:checked+.onoffswitch-label{border-color:#275cf6}.onoffswitch .onoffswitch-checkbox:checked+.onoffswitch-label .onoffswitch-inner{margin-left:0}.onoffswitch .onoffswitch-checkbox:checked+.onoffswitch-label .onoffswitch-switch{right:4px}.gutentor-get-started-landing-page{margin-left:15px;margin-right:30px;margin-top:40px}.gutentor-plugin-banner.gutentor-get-started-header{padding:80px 0}.gutentor-plugin-header h4{font-size:20px;margin-top:10px}.gutentor-get-started section{padding:50px 0}.gutentor-get-started section:nth-child(odd) .container{-ms-flex-direction:row-reverse;flex-direction:row-reverse}.gutentor-get-started section:nth-child(odd) .container .gutentor-get-started-content{padding-right:40px;padding-left:0}.gutentor-get-started section:nth-child(even) .container .gutentor-get-started-content{padding-left:40px;padding-right:0}.gutentor-get-started section .container{margin:0 auto;width:90%;display:-ms-flexbox;display:flex;-ms-flex-pack:start;justify-content:flex-start;-ms-flex-align:center;align-items:center;-ms-flex-wrap:wrap;flex-wrap:wrap}.gutentor-get-started section .container .col{-ms-flex-preferred-size:50%;flex-basis:50%;max-width:50%}.gutentor-get-started section .container .col-image img{max-width:100%;height:auto}.gutentor-get-started section .container .col h3{font-size:20px;font-weight:bold;margin-bottom:15px;margin-top:0}.gutentor-get-started section .container .col h4{font-size:16px;font-weight:bold;margin-bottom:10px}.gutentor-get-started section .container .col p{font-size:16px;margin-bottom:20px}.gutentor-get-started section .container .col ul{list-style-type:lower-roman;list-style-position:inside;margin:20px 0}.gutentor-get-started section .container .col ul li{font-size:15px;margin-bottom:10px}.gutentor-get-started section .container .col ul li .dashicons-plus{border:2px solid #000;color:#000;border-radius:50%;font-size:13px;width:15px;height:15px;line-height:17px;text-align:center;display:inline-block;margin:0 5px}.gutentor-get-started section .container .col ul ul{padding-left:20px;margin-top:15px}.gutentor-get-started-footer{text-align:center;border-top:1px solid #e9e9e9;padding:80px 0;background:#ececec}.gutentor-tab-list{text-align:center;width:100%}.gutentor-tab-list .tablist-item{padding:10px 20px;display:inline-block;font-size:14px;font-weight:700;text-transform:uppercase;letter-spacing:2px;cursor:pointer;border:1px solid transparent;-webkit-transition:all 0.5s ease-in-out;-o-transition:all 0.5s ease-in-out;transition:all 0.5s ease-in-out}.gutentor-tab-list .tablist-item:hover,.gutentor-tab-list .tablist-item.tablist-item-active{color:#275cf6;border-color:#275cf6}.gutentor-tab-content{display:none}.gutentor-tab-content .col{display:none}.gutentor-tab-content.gutentor-active{display:block}.gutentor-tab-content.gutentor-active .col{-webkit-animation:fadeIn 1s;animation:fadeIn 1s;display:block}@-webkit-keyframes fadeIn{form{opacity:0}to{opacity:1}}@keyframes fadeIn{form{opacity:0}to{opacity:1}}.gutentor-fields .wp-picker-container .wp-color-result.button{height:35px;padding:0 0 0 35px}.gutentor-fields .wp-picker-container .wp-color-result.button .wp-color-result-text{line-height:33px}.gutentor-fields .wp-picker-container .wp-picker-input-wrap input.wp-color-picker{height:35px}.gutentor-fields .wp-picker-container .wp-picker-input-wrap .button{height:35px;padding:0 29px 1px}.gutentor-fields .wp-picker-container .wp-picker-holder .fp-rgba-wrap{display:none;position:relative;top:-1px;width:235px;padding:9px 10px;border:1px solid #dfdfdf;border-top:none;background-color:#fff}.gutentor-fields .wp-picker-container .wp-picker-holder .fp-rgba-wrap .fp-rgba-slider{position:absolute;width:199px;height:18px;background-color:transparent}.gutentor-fields .wp-picker-container .wp-picker-holder .fp-rgba-wrap .fp-rgba-slider .ui-slider-handle{height:1.7em;width:0.5em;background:transparent;border-width:2px;cursor:e-resize}.gutentor-fields .wp-picker-container .wp-picker-holder .fp-rgba-wrap .fp-rgba-slider-offset{height:19px;width:201px;background:url(https://raw.githubusercontent.com/addonspress/fieldpress/master/assets/images/fp-alpha-bg.png) repeat-y center left scroll #fff;-webkit-box-shadow:0 0 5px rgba(0,0,0,0.4) inset;box-shadow:0 0 5px rgba(0,0,0,0.4) inset;border-radius:2px}.gutentor-fields .wp-picker-container .wp-picker-holder .fp-rgba-wrap .fp-rgba-text{position:absolute;top:12px;right:10px;width:30px;font-size:12px;line-height:12px;text-align:center;color:#999}.g-resource-load-options .g-resource-load-option{margin-bottom:15px}.g-resource-load-options .g-resource-load-option .g-desc-wrap{position:relative}.g-resource-load-options .g-resource-load-option .g-desc-wrap .g-desc-icon{cursor:help;font-size:10px}.g-resource-load-options .g-resource-load-option .g-desc-wrap .g-desc-icon .dashicons{margin-top:5px}.g-resource-load-options .g-resource-load-option .g-desc-wrap .g-resource-desc{position:absolute;display:block;right:-280px;top:-10px;max-width:250px;background:#fff;padding:10px;display:none}.g-resource-load-options .g-resource-load-option .g-desc-wrap .g-resource-desc:before{width:0;height:0;border-top:6px solid transparent;border-bottom:6px solid transparent;border-right:6px solid #fff;position:absolute;content:'';left:-5px;top:16px}.g-resource-load-options .g-resource-load-option .g-desc-wrap:hover .g-desc-icon+.g-resource-desc{display:block}.g-resource-load-options label{width:150px;display:inline-block;text-transform:capitalize;font-weight:600}
dist/blocks.build.js CHANGED
@@ -1 +1 @@
1
- !function(e){function t(o){if(n[o])return n[o].exports;var a=n[o]={i:o,l:!1,exports:{}};return e[o].call(a.exports,a,a.exports,t),a.l=!0,a.exports}var n={};t.m=e,t.c=n,t.d=function(e,n,o){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:o})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=267)}([function(e,t,n){var o,a;!function(){"use strict";function n(){for(var e=[],t=0;t<arguments.length;t++){var o=arguments[t];if(o){var a=typeof o;if("string"===a||"number"===a)e.push(o);else if(Array.isArray(o)&&o.length){var l=n.apply(null,o);l&&e.push(l)}else if("object"===a)for(var i in o)r.call(o,i)&&o[i]&&e.push(i)}}return e.join(" ")}var r={}.hasOwnProperty;"undefined"!==typeof e&&e.exports?(n.default=n,e.exports=n):(o=[],void 0!==(a=function(){return n}.apply(t,o))&&(e.exports=a))}()},function(e,t,n){"use strict";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 a(e){return e.replace(/[^a-z\d\-_ ]+$/i,"")}function r(e,t){return t?e+": "+t+";":""}function l(e,t,n){var o=t?"!important":"";return n?e+": "+n+" "+o+";":""}function i(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"",r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"",l=arguments.length>6&&void 0!==arguments[6]?arguments[6]:"",i=arguments.length>7&&void 0!==arguments[7]?arguments[7]:"",s=arguments.length>8&&void 0!==arguments[8]?arguments[8]:"",c=arguments.length>9&&void 0!==arguments[9]?arguments[9]:"",u=e;return t&&(u=u+" "+t),n&&(u=u+" "+n),o&&(u=u+" "+o),a&&(u=u+" "+a),a&&(u=u+" "+a),r&&(u=u+" "+r),l&&(u=u+" "+l),i&&(u=u+" "+i),s&&(u=u+" "+s),c&&(u=u+" "+c),u}function s(e){return e.split(" ").includes("noreferrer")||(e=e?"noreferrer":"noreferrer "+e),e.split(" ").includes("noopener")||(e=e?"noopener":"noopener "+e),e}function c(e,t,n,o,a){var r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"save",l=arguments.length>6&&void 0!==arguments[6]&&arguments[6],i=arguments.length>7&&void 0!==arguments[7]&&arguments[7],s="";return s=e&&"bg-image"===t?wp.element.createElement("div",{className:"gutentor-bg-image"},n.enable&&wp.element.createElement("div",{className:"overlay"})):wp.element.createElement("div",{className:"gutentor-image-thumb"},o&&o.url?wp.element.createElement("img",{className:"normal-image",src:o.url,alt:o.alt}):wp.element.createElement("img",{className:"normal-image",src:gutentor.defaultImage}),n.enable&&wp.element.createElement("div",{className:"overlay"})),"edit"===r?wp.hooks.applyFilters("gutentor_edit_item_image_display_data",s,a,l,i):wp.hooks.applyFilters("gutentor_save_item_image_display_data",s,a,l,i)}function u(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"gutentor-",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return e+(new Date).getTime().toString()+t}function p(e){var t=[];return e.map(function(e,n){var o=e.name,a=e.attributes,r=e.innerBlocks;r.length>0&&(r=p(r)),t=t.concat([wp.blocks.createBlock(o,a,r)])}),t}function m(e){if(!e||!e.name||!e.attributes)return e;if(Array.isArray(e)){var t=[];return e.map(function(e,n){var o=e.name,a=e.attributes,r=e.innerBlocks;r&&r.length>0&&(r=p(r)),t=t.concat([wp.blocks.createBlock(o,a,r)])}),t}var n=e.name,o=e.attributes,a=e.innerBlocks;return a&&a.length>0&&(a=p(a)),wp.blocks.createBlock(n,o,a)}function g(e){var t=e.innerBlocks;if(t.length>0){if(!e.isValid)return!1;for(var n=!0,o=0;o<t.length&&(g(t[o])||(n=!1),n);o++);return n}return!e.name.includes("gutentor")||e.isValid}function d(e){var t=!1;return e.map(function(e,n){var o=e.name,a=e.innerBlocks;o.includes("gutentor")&&(t=!0),a.length>0&&!0!==t&&(t=d(a))}),t}function f(e){var t=[];return e.map(function(e){var n=e[0],o=e[1],a=[];3===e.length&&(a=f(e[2])),t=t.concat([wp.blocks.createBlock(n,o,a)])}),t}function b(e){var t=e.clientId,n=wp.data.select("core/block-editor").getBlockRootClientId(t);wp.data.dispatch("core/block-editor").selectBlock(n)}function h(e){var t=[];return e.map(function(e,n){var o=e.name,a=e.innerBlocks;if(o.includes("gutentor")&&t.push(e.name),a.length){var r=h(a);r&&r.forEach(function(e){t.push(e)})}}),t}function v(e){try{JSON.parse(e)}catch(e){return!1}return!0}n.d(t,"l",function(){return y}),n.d(t,"n",function(){return k}),n.d(t,"m",function(){return _}),n.d(t,"p",function(){return E}),n.d(t,"r",function(){return a}),n.d(t,"a",function(){return i}),n.d(t,"c",function(){return r}),n.d(t,"d",function(){return l}),n.d(t,"b",function(){return C}),n.d(t,"k",function(){return s}),n.d(t,"g",function(){return c}),n.d(t,"e",function(){return u}),n.d(t,"h",function(){return m}),n.d(t,"j",function(){return g}),n.d(t,"s",function(){return d}),n.d(t,"q",function(){return O}),n.d(t,"o",function(){return b}),n.d(t,"f",function(){return h}),n.d(t,"i",function(){return v});var w="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},y=function(e){if(!e)return null;var t=Math.round(100*e.a)/100;return"rgba("+Math.round(e.r)+", "+Math.round(e.g)+", "+Math.round(e.b)+", "+t+")"},_=function(e){if(e){if("transparent"===e.toLowerCase())return[0,0,0,0];if("#"===e[0])return e.length<7&&(e="#"+e[1]+e[1]+e[2]+e[2]+e[3]+e[3]+(e.length>4?e[4]+e[4]:"")),[parseInt(e.substr(1,2),16),parseInt(e.substr(3,2),16),parseInt(e.substr(5,2),16),e.length>7?parseInt(e.substr(7,2),16)/255:1];if(-1===e.indexOf("rgb")){var t=document.body.appendChild(document.createElement("fictum")),n="rgb(1, 2, 3)";if(t.style.color=n,t.style.color!==n)return;if(t.style.color=e,t.style.color===n||""===t.style.color)return;e=getComputedStyle(t).color,document.body.removeChild(t)}return 0===e.indexOf("rgb")?(-1===e.indexOf("rgba")&&(e+=",1"),e.match(/[\.\d]+/g).map(function(e){return+e})):void 0}},k=function(e){return e=e.match(/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?/i),e&&4===e.length?"#"+("0"+parseInt(e[1],10).toString(16)).slice(-2)+("0"+parseInt(e[2],10).toString(16)).slice(-2)+("0"+parseInt(e[3],10).toString(16)).slice(-2):""},E=function(e,t,n,a,r){var l=Object.assign({},n);l[t]=a,r(o({},e,l))},C=function(e){return"object"===("undefined"===typeof e?"undefined":w(e))&&(e=e.rgb&&1!==e.rgb.a?"rgba("+e.rgb.r+","+e.rgb.g+","+e.rgb.b+","+e.rgb.a+")":e.hex),e},O=function(e){var t=[];return e.map(function(e){var n=e[0],o=e[1],a=[];3===e.length&&(a=f(e[2])),t=t.concat([wp.blocks.createBlock(n,o,a)])}),t}},function(e,t,n){"use strict";var o=n(357);n.d(t,"d",function(){return o.a});var a=n(359);n.d(t,"b",function(){return a.a});var r=n(360);n.d(t,"a",function(){return r.a});var l=n(361);n.d(t,"c",function(){return l.a});n(119)},function(e,t,n){"use strict";var o=n(1),a=n(374),r=lodash,l=r.isObject,i=r.isArray,s=r.isString,c=function(e){var t=e.label,n=void 0===t?__("Color","gutentor"):t,r=e.onChange,c=e.disableAlpha,u=e.value,p=e.key1,m=void 0!==p&&p,g=e.key2,d=void 0!==g&&g,f=e.key3,b=void 0!==f&&f,h=e.key4,v=void 0!==h&&h,w=void 0;if(l(u)||i(u)?m&&(w=u[m],d&&(w=u[m][d],b&&(w=u[m][d][b],v&&(w=u[m][d][b][v])))):w=u,s(w)){var y=w.match(/[^,]+(?=\))/);if(y&&y[0]){var _=y[0].replace(/\s/g,"");1!==_&&"1"!==_||(w=Object(o.n)(w))}}return wp.element.createElement(a.a,{value:w,label:n,onChange:function(e){return r(e)},disableAlpha:c})};t.a=c},function(e,t,n){"use strict";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 a(e,t,n){var a=n.setAttributes,r=function(e){var t=["Animation","Delay","Speed","IterationType","Iteration"];for(var n in e)t.includes(n)?e[n]&&"default"!==e[n]&&"none"!==e[n]||delete e[n]:delete e[n];return e},l=function(n,l){var i=Object.assign({},t);"IterationType"===l?(i.Iteration="custom"!==n?n:"",i.IterationType=n):i[l]=n,"Animation"===l&&"none"===n&&(i={}),i=r(i),a(o({},e,i))},s=t&&t.Animation?t.Animation:"none",d=t&&t.Delay?t.Delay:"",f=t&&t.Speed?t.Speed:"",b=(t&&t.Iteration&&t.Iteration,t&&t.IterationType?t.IterationType:1),h=wp.element.createElement("div",{className:"gutentor-animation-wrap"},wp.element.createElement("div",{className:"gutentor-animation-options-wrap"},wp.element.createElement("p",{className:"gutentor-info"},__("Please note that animation is only recommended if you have proper knowledge of it.","gutentor")),wp.element.createElement(m,{label:__("Animation","gutentor"),value:s,options:wp.hooks.applyFilters("gutentor_animations_options",i.b),onChange:function(e){return l(e,"Animation")}}),"none"!==s&&wp.element.createElement(g,null,wp.element.createElement("p",{className:"gutentor-info"},__("Do not use delay greater than 20 second for better animation.","gutentor")),wp.element.createElement(c,{label:__("Delay (Second)","gutentor"),type:"number",value:d,onChange:function(e){return l(e,"Delay")}})),"none"!==s&&wp.element.createElement(c,{label:__("Duration (Second)","gutentor"),type:"number",value:f,onChange:function(e){return l(e,"Speed")}}),"none"!==s&&wp.element.createElement(g,null,wp.element.createElement(m,{label:__("Iteration Type","gutentor"),value:b,options:wp.hooks.applyFilters("gutentor_animations_iteration_type",i.a),onChange:function(e){return l(e,"IterationType")}}),wp.hooks.applyFilters("gutentor_animations_iteration_additional_options",[],e,t,n))));return wp.element.createElement(u,{title:__("Animation","gutentor"),className:"gutentor-animation-options-wrap",initialOpen:!1},wp.element.createElement(p,null,wp.element.createElement("div",{className:"gutentor-animation-main-wrap"},h)))}function r(e){if(!e)return"";var t=e&&e.Animation?e.Animation:"none";return t&&"none"===t?"":"wow "+t}n.d(t,"a",function(){return r}),n.d(t,"b",function(){return a});var l=n(42),i=n(354);n.d(t,"c",function(){return l.a});var __=wp.i18n.__,s=wp.components,c=s.TextControl,u=s.PanelBody,p=s.PanelRow,m=s.SelectControl,g=wp.element.Fragment},function(e,t,n){"use strict";function o(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,n){function o(a,r){try{var l=t[a](r),i=l.value}catch(e){return void n(e)}if(!l.done)return Promise.resolve(i).then(function(e){o("next",e)},function(e){o("throw",e)});e(i)}return o("next")})}}function a(e){var t=e.attributes,n=[],o=0;for(var a in t)if(a.includes("Typography")){var r=t[a];r&&r.fontType&&"google"===r.fontType&&r.googleFont&&r.fontWeight&&(void 0===n[o]&&(n[o]={}),n[o].family=r.googleFont,n[o]["font-weight"]=r.fontWeight,o++)}return n}function r(){for(var e=document.querySelectorAll(".editor-post-publish-button__button,.block-editor-post-preview__button-toggle"),t=0;t<e.length;t++)e[t].addEventListener("click",function(e){p()});jQuery(document).on("click",".editor-entities-saved-states__save-button",function(e){setTimeout(function(){p()},1e3)})}t.a=r,n.d(t,"c",function(){return d}),n.d(t,"b",function(){return f}),n.d(t,"d",function(){return b});var l=n(33),i=n.n(l),s=n(1),c=function(){var e=o(i.a.mark(function e(t){var n,o,a;return i.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.name,o="",a=["gutentor/advanced-import"],a.includes(n)||(o+=wp.hooks.applyFilters("gutentor_dynamic_style","",t),window.gutentorUniqueBlocks.includes(n)||window.gutentorUniqueBlocks.push(n)),e.abrupt("return",o);case 5:case"end":return e.stop()}},e,this)}));return function(_x){return e.apply(this,arguments)}}(),u=function(){var e=o(i.a.mark(function e(t){var n,r;return i.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n="",r=[],e.next=3,Promise.all(t.map(function(){var e=o(i.a.mark(function e(t,o){var l,p,m,d,f,b,h,v;return i.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(l=t.name,p=t.innerBlocks,!l.includes("gutentor")){e.next=9;break}return e.next=4,c(t);case 4:n+=e.sent,m=a(t),m&&r.push.apply(r,m),e.next=21;break;case 9:if("core/block"!==l){e.next=21;break}if(!(t&&t.attributes&&t.attributes.ref)){e.next=21;break}return e.next=13,g({path:"/wp/v2/blocks/"+t.attributes.ref});case 13:if(d=e.sent,!(f=wp.blocks.parse(d.content.raw))){e.next=21;break}return e.next=18,u(f);case 18:b=e.sent,b.gfonts&&b.gfonts.map(function(e,t){r.push(e)}),Object(s.s)(f)&&(h=g({path:"gutentor-dynamic-css/v1/save_dynamic_css",method:"POST",data:{dynamic_css:b,post_id:t.attributes.ref,blocks:Object(s.f)(f),is_reusable:!0}}));case 21:if(!(p.length>0)){e.next=27;break}return e.next=24,u(p);case 24:v=e.sent,n+=v.css,v.gfonts&&v.gfonts.map(function(e,t){r.push(e)});case 27:case"end":return e.stop()}},e,this)}));return function(t,n){return e.apply(this,arguments)}}()));case 3:return e.abrupt("return",{gfonts:r,css:n});case 4:case"end":return e.stop()}},e,this)}));return function(t){return e.apply(this,arguments)}}(),p=function(){var e=o(i.a.mark(function e(){var t,n,o,a,r,l;return i.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return window.gutentorUniqueBlocks=[],t=wp.data.select("core/block-editor").getBlocks(),e.next=4,u(t);case 4:return n=e.sent,e.next=7,wp.hooks.applyFilters("gutentor_get_dynamic_css",n);case 7:n=e.sent,n&&(o=wp.data.select("core/editor"),a=o.getCurrentPostId,r=a(),l=g({path:"gutentor-dynamic-css/v1/save_dynamic_css",method:"POST",data:{dynamic_css:n,post_id:r,blocks:window.gutentorUniqueBlocks}}));case 9:case"end":return e.stop()}},e,this)}));return function(){return e.apply(this,arguments)}}(),m=wp,g=m.apiFetch,d=function(e){if(e.id&&e.href){var t=window.document,n=document.getElementsByName("editor-canvas");if(n.length&&(t=n[0].contentDocument),null===t.getElementById(e.id)){var o=document.createElement("link");o.type="text/css",o.rel="stylesheet",o.id=e.id,t.getElementsByTagName("head")[0].appendChild(o),o.href=e.href}else t.getElementById(e.id).href=e.href}},f=function(e,t){if(t){var n=window.document,o=document.getElementsByName("editor-canvas");o.length&&(n=o[0].contentDocument);var a=void 0,r="";if(document.body.classList.contains("rtl")&&(r="-rtl"),document.body.classList.contains("rtl")&&(r="-rtl"),a=gutentor.dirUrl+"/assets/library/wpness-grid/wpness-grid"+r+".css",d({id:"gutentor-static-grid-css",href:a}),d({id:"fontawesome-static-css",href:gutentor.dirUrl+"/assets/library/fontawesome/css/all.min"+r+".css"}),null===n.getElementById(e)){var l=document.createElement("style");l.type="text/css",l.id=e,l.innerHTML=t,n.getElementsByTagName("head")[0].appendChild(l)}else n.getElementById(e).innerHTML=t}},b=function(e){var t=e.clientId;if(t){var n="gutentor-block-"+t,o=!1;["gutentor/advanced-import"].includes(e.name)||(o=wp.hooks.applyFilters("gutentor_dynamic_style","",e)),f(n,o)}}},function(e,t,n){"use strict";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 a(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"mobile",o=void 0,a=void 0,r=void 0,i=void 0,s=void 0;return o=t&&t.type?t.type:"px","desktop"===n?(a=t&&t.dTop?t.dTop:0,r=t&&t.dRight?t.dRight:0,i=t&&t.dBottom?t.dBottom:0,s=t&&t.dLeft?t.dLeft:0):"tablet"===n?(a=t&&t.tTop?t.tTop:0,r=t&&t.tRight?t.tRight:0,i=t&&t.tBottom?t.tBottom:0,s=t&&t.tLeft?t.tLeft:0):(a=t&&t.mTop?t.mTop:0,r=t&&t.mRight?t.mRight:0,i=t&&t.mBottom?t.mBottom:0,s=t&&t.mLeft?t.mLeft:0),Object(l.c)(e,a||r||i||s?a+o+" "+r+o+" "+i+o+" "+s+o:null)}function r(e,t,n){var a=n.setAttributes,r=function(e){var t=["type","dTop","dRight","dBottom","dLeft","tTop","tRight","tBottom","tLeft","mTop","mRight","mBottom","mLeft"];for(var n in e)t.includes(n)?e[n]&&"default"!==e[n]||delete e[n]:delete e[n];return e},l=function(n,l){var i=Object.assign({},t);i[l]=n,"type"===l&&"px"===n&&delete i[l],i=r(i),a(o({},e,i))};return wp.element.createElement("div",{className:"gutentor-margin-wrap"},wp.element.createElement(c,{selected:t&&t.type?t.type:"px",options:[{label:"%",value:"%"},{label:"px",value:"px"}],onChange:function(e){return l(e,"type")}}),wp.element.createElement("div",{className:"gutentor-margin-options-wrap"},wp.element.createElement(i.d,null,wp.element.createElement(i.b,null,wp.element.createElement(i.a,null,wp.element.createElement("i",{className:"dashicons dashicons-desktop"})),wp.element.createElement(i.a,null,wp.element.createElement("i",{className:"dashicons dashicons-tablet"})),wp.element.createElement(i.a,null,wp.element.createElement("i",{className:"dashicons dashicons-smartphone"}))),wp.element.createElement(i.c,null,wp.element.createElement("div",{className:"gutentor-display-flex"},wp.element.createElement(u,{label:__("Top","gutentor"),type:"number",value:t&&t.dTop?t.dTop:"",onChange:function(e){return l(e,"dTop")},min:0,max:1e3}),wp.element.createElement(u,{label:__("Right","gutentor"),type:"number",value:t&&t.dRight?t.dRight:"",onChange:function(e){return l(e,"dRight")},min:0,max:1e3}),wp.element.createElement(u,{label:__("Bottom","gutentor"),type:"number",value:t&&t.dBottom?t.dBottom:"",onChange:function(e){return l(e,"dBottom")},min:0,max:1e3}),wp.element.createElement(u,{label:__("Left","gutentor"),type:"number",value:t&&t.dLeft?t.dLeft:"",onChange:function(e){return l(e,"dLeft")},min:0,max:1e3}))),wp.element.createElement(i.c,null,wp.element.createElement("div",{className:"gutentor-display-flex"},wp.element.createElement(u,{label:__("Top","gutentor"),type:"number",value:t&&t.tTop?t.tTop:"",onChange:function(e){return l(e,"tTop")},min:0,max:1e3}),wp.element.createElement(u,{label:__("Right","gutentor"),type:"number",value:t&&t.tRight?t.tRight:"",onChange:function(e){return l(e,"tRight")},min:0,max:1e3}),wp.element.createElement(u,{label:__("Bottom","gutentor"),type:"number",value:t&&t.tBottom?t.tBottom:"",onChange:function(e){return l(e,"tBottom")},min:0,max:1e3}),wp.element.createElement(u,{label:__("Left","gutentor"),type:"number",value:t&&t.tLeft?t.tLeft:"",onChange:function(e){return l(e,"tLeft")},min:0,max:1e3}))),wp.element.createElement(i.c,null,wp.element.createElement("div",{className:"gutentor-display-flex"},wp.element.createElement(u,{label:__("Top","gutentor"),type:"number",value:t&&t.mTop?t.mTop:"",onChange:function(e){return l(e,"mTop")},min:0,max:1e3}),wp.element.createElement(u,{label:__("Right","gutentor"),type:"number",value:t&&t.mRight?t.mRight:"",onChange:function(e){return l(e,"mRight")},min:0,max:1e3}),wp.element.createElement(u,{label:__("Bottom","gutentor"),type:"number",value:t&&t.mBottom?t.mBottom:"",onChange:function(e){return l(e,"mBottom")},min:0,max:1e3}),wp.element.createElement(u,{label:__("Left","gutentor"),type:"number",value:t&&t.mLeft?t.mLeft:"",onChange:function(e){return l(e,"mLeft")},min:0,max:1e3}))))))}n.d(t,"a",function(){return r}),n.d(t,"b",function(){return a});var l=n(1),i=n(2),__=wp.i18n.__,s=wp.components,c=s.RadioControl,u=s.TextControl},function(e,t,n){"use strict";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 a(e,t,n){var a=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],r=n.setAttributes,l=function(e){var t=["type","desktop","tablet","mobile"];for(var n in e)t.includes(n)?e[n]&&"default"!==e[n]||delete e[n]:delete e[n];return e},i=function(n,a){var i=Object.assign({},t);i[a]=n,i=l(i),r(o({},e,i))},s=t&&t.type?t.type:"px",c=t&&t.desktop?t.desktop:"",u=t&&t.tablet?t.tablet:"",p=t&&t.mobile?t.mobile:"";return wp.element.createElement("div",{className:"gutentor-responsive-box"},a&&wp.element.createElement(w,{selected:s||"px",options:[{label:"%",value:"%"},{label:"px",value:"px"}],onChange:function(e){i(e,"type")}}),wp.element.createElement("div",{className:"gutentor-single-column-box-wrap"},wp.element.createElement(f.d,null,wp.element.createElement(f.b,null,wp.element.createElement(f.a,null,wp.element.createElement("i",{className:"dashicons dashicons-desktop"})),wp.element.createElement(f.a,null,wp.element.createElement("i",{className:"dashicons dashicons-tablet"})),wp.element.createElement(f.a,null,wp.element.createElement("i",{className:"dashicons dashicons-smartphone"}))),wp.element.createElement(f.c,null,wp.element.createElement(y,{value:c,onChange:function(e){i(e,"desktop")},min:1,max:1e4,allowReset:!0})),wp.element.createElement(f.c,null,wp.element.createElement(y,{value:u,onChange:function(e){i(e,"tablet")},min:1,max:1e4,allowReset:!0})),wp.element.createElement(f.c,null,wp.element.createElement(y,{value:p,onChange:function(e){i(e,"mobile")},min:1,max:1e4,allowReset:!0})))))}function r(e,t,n){var a=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],r=n.setAttributes,l=function(e){var t=["type","desktop","tablet","mobile"];for(var n in e)t.includes(n)?e[n]&&"default"!==e[n]||delete e[n]:delete e[n];return e},i=function(n,a){var i=Object.assign({},t);i=l(i),i[a]=n,r(o({},e,i))},s=t&&t.type?t.type:"px",c=t&&t.desktop?t.desktop:"",u=t&&t.tablet?t.tablet:"",p=t&&t.mobile?t.mobile:"";return wp.element.createElement("div",{className:"gutentor-responsive-box"},a&&wp.element.createElement(w,{selected:s||"px",options:[{label:"%",value:"%"},{label:"px",value:"px"},{label:"vh",value:"vh"}],onChange:function(e){i(e,"type")}}),wp.element.createElement("div",{className:"gutentor-single-column-box-wrap"},wp.element.createElement(f.d,null,wp.element.createElement(f.b,null,wp.element.createElement(f.a,null,wp.element.createElement("i",{className:"dashicons dashicons-desktop"})),wp.element.createElement(f.a,null,wp.element.createElement("i",{className:"dashicons dashicons-tablet"})),wp.element.createElement(f.a,null,wp.element.createElement("i",{className:"dashicons dashicons-smartphone"}))),wp.element.createElement(f.c,null,wp.element.createElement(y,{value:c,onChange:function(e){i(e,"desktop")},min:1,max:1e4,allowReset:!0})),wp.element.createElement(f.c,null,wp.element.createElement(y,{value:u,onChange:function(e){i(e,"tablet")},min:1,max:1e4,allowReset:!0})),wp.element.createElement(f.c,null,wp.element.createElement(y,{value:p,onChange:function(e){i(e,"mobile")},min:1,max:1e4,allowReset:!0})))))}function l(e,t,n){var a=n.setAttributes,r=function(e){var t=["desktop","tablet","mobile"];for(var n in e)t.includes(n)?e[n]&&"default"!==e[n]||delete e[n]:delete e[n];return e},l=function(n,l){var i=Object.assign({},t);i[l]=n,i=r(i),a(o({},e,i))},i=t&&t.desktop?t.desktop:"",s=t&&t.tablet?t.tablet:"",c=t&&t.mobile?t.mobile:"";return wp.element.createElement("div",{className:"gutentor-responsive-box"},wp.element.createElement("div",{className:"gutentor-single-column-box-wrap"},wp.element.createElement(f.d,null,wp.element.createElement(f.b,null,wp.element.createElement(f.a,null,wp.element.createElement("i",{className:"dashicons dashicons-desktop"})),wp.element.createElement(f.a,null,wp.element.createElement("i",{className:"dashicons dashicons-tablet"})),wp.element.createElement(f.a,null,wp.element.createElement("i",{className:"dashicons dashicons-smartphone"}))),wp.element.createElement(f.c,null,wp.element.createElement(h,{label:__("Enable","gutentor"),checked:i,onChange:function(e){l(e,"desktop")}})),wp.element.createElement(f.c,null,wp.element.createElement(h,{label:__("Enable","gutentor"),checked:s,onChange:function(e){l(e,"tablet")}})),wp.element.createElement(f.c,null,wp.element.createElement(h,{label:__("Enable","gutentor"),checked:c,onChange:function(e){l(e,"mobile")}})))))}function i(e,t,n){var a=n.setAttributes,r=function(e){var t=["enable","desktop","tablet","mobile"];for(var n in e)t.includes(n)?e[n]&&"default"!==e[n]||delete e[n]:delete e[n];return e},l=function(n,l){var i=Object.assign({},t);i[l]=n,i=r(i),a(o({},e,i))},i=t&&t.enable?t.enable:"",s=t&&t.desktop?t.desktop:"",c=t&&t.tablet?t.tablet:"",u=t&&t.mobile?t.mobile:"";return wp.element.createElement(_,null,wp.element.createElement(h,{label:__("Enable Z-Index","gutentor"),checked:i,onChange:function(e){l(e,"enable")}}),i&&wp.element.createElement(v,{label:__("Z-Index","gutentor")},wp.element.createElement("div",{className:"gutentor-responsive-box"},wp.element.createElement("div",{className:"gutentor-single-column-box-wrap"},wp.element.createElement(f.d,null,wp.element.createElement(f.b,null,wp.element.createElement(f.a,null,wp.element.createElement("i",{className:"dashicons dashicons-desktop"})),wp.element.createElement(f.a,null,wp.element.createElement("i",{className:"dashicons dashicons-tablet"})),wp.element.createElement(f.a,null,wp.element.createElement("i",{className:"dashicons dashicons-smartphone"}))),wp.element.createElement(f.c,null,wp.element.createElement(y,{value:s,onChange:function(e){l(e,"desktop")},min:-1e3,max:1e4,allowReset:!0})),wp.element.createElement(f.c,null,wp.element.createElement(y,{value:c,onChange:function(e){l(e,"tablet")},min:-1e3,max:1e4,allowReset:!0})),wp.element.createElement(f.c,null,wp.element.createElement(y,{value:u,onChange:function(e){l(e,"mobile")},min:-1e3,max:1e4,allowReset:!0})))))))}function s(e,t,n){var a=n.setAttributes,r=function(e){var t=["desktop","tablet","mobile"];for(var n in e)t.includes(n)?e[n]&&"default"!==e[n]||delete e[n]:delete e[n];return e},l=function(n,l){var i=Object.assign({},t);i[l]=n,i=r(i),a(o({},e,i))},i=t&&t.desktop?t.desktop:"",s=t&&t.tablet?t.tablet:"",c=t&&t.mobile?t.mobile:"";return wp.element.createElement("div",{className:"gutentor-responsive-box"},wp.element.createElement("div",{className:"gutentor-single-column-box-wrap"},wp.element.createElement(h,{label:__("Hide on Desktop","gutentor"),checked:i,onChange:function(e){l(e,"desktop")}}),wp.element.createElement(h,{label:__("Hide on Tablet","gutentor"),checked:s,onChange:function(e){l(e,"tablet")}}),wp.element.createElement(h,{label:__("Hide on Mobile","gutentor"),checked:c,onChange:function(e){l(e,"mobile")}})))}function c(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"mobile",o=t&&t.type?t.type:"px",a=t&&t.desktop?t.desktop:"",r=t&&t.tablet?t.tablet:"",l=t&&t.mobile?t.mobile:"";return"desktop"===n?Object(d.c)(e,a?a+o:""):"tablet"===n?Object(d.c)(e,r?r+o:""):Object(d.c)(e,l?l+o:"")}function u(e,t,n){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"mobile";if(!n)return"";var a=n&&n.desktop?n.desktop:"",r=n&&n.type?n.type:"px",l=n&&n.tablet?n.tablet:"",i=n&&n.mobile?n.mobile:"",s="";return t?s="desktop"===o?void 0===r?Object(d.c)(e,a||""):Object(d.c)(e,a?a+r:""):"tablet"===o?void 0===r?Object(d.c)(e,l||""):Object(d.c)(e,l?l+r:""):void 0===r?Object(d.c)(e,i||""):Object(d.c)(e,i?i+r:""):s}function p(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments[2],o=arguments[3],a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"mobile";if(!o)return"";var r=o&&o.desktop?o.desktop:"",l=o&&o.type?o.type:"px",i=o&&o.tablet?o.tablet:"",s=o&&o.mobile?o.mobile:"",c="";return n?c="desktop"===a?Object(d.d)(e,t,r?r+l:""):"tablet"===a?Object(d.d)(e,t,i?i+l:""):Object(d.d)(e,t,s?s+l:""):c}function m(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"mobile";if(!t)return"";var o=t&&t.desktop?t.desktop:"",a=!(!t||!t.enable)&&t.enable,r=t&&t.tablet?t.tablet:"",l=t&&t.mobile?t.mobile:"",i="";return a?i="desktop"===n?Object(d.c)(e,o):"tablet"===n?Object(d.c)(e,r):Object(d.c)(e,l):i}function g(e,t){return e&&null!=e?"desktop"===t?e.desktop?e.desktop:"":"tablet"===t?e.tablet?e.tablet:"":"mobile"===t?e.mobile?e.mobile:"":"type"===t?e.type?e.type:"px":"dTop"===t?e.dTop?e.dTop:"":"tTop"===t?e.tTop?e.tTop:"":"mTop"===t?e.mTop?e.mTop:"":"dBottom"===t?e.dBottom?e.dBottom:"":"tBottom"===t?e.tBottom?e.tBottom:"":"mBottom"===t?e.mBottom?e.mBottom:"":void 0:""}n.d(t,"b",function(){return a}),n.d(t,"h",function(){return s}),n.d(t,"i",function(){return l}),n.d(t,"e",function(){return r}),n.d(t,"j",function(){return i}),n.d(t,"c",function(){return c}),n.d(t,"f",function(){return u}),n.d(t,"a",function(){return p}),n.d(t,"g",function(){return m}),n.d(t,"d",function(){return g});var d=n(1),f=n(2),__=wp.i18n.__,b=wp.components,h=b.ToggleControl,v=b.BaseControl,w=b.RadioControl,y=b.RangeControl,_=wp.element.Fragment},function(e,t,n){"use strict";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 a(e,t,n){var a=function(a,r){var l=arguments.length>2&&void 0!==arguments[2]&&arguments[2],s=Object.assign({},t);s[r]=a,"fontType"===r?"default"===a&&(s={},s[r]=a):"systemFont"===r?delete s.googleFont:"googleFont"===r&&delete s.systemFont,s=i(s),l&&(s.fontWeight="regular"),n.setState?n.setState(o({},e,s)):n.setAttributes(o({},e,s))},r=function(a,r,l){var i=Object.assign({},t);i[r][l]=a,n.setState?n.setState(o({},e,i)):n.setAttributes(o({},e,i))};return wp.element.createElement(l.a,{Typography:t,SetTypography:a,SetTypographyTernary:r})}n.d(t,"a",function(){return a});var r=n(414),l=n(415);n.d(t,"b",function(){return r.a}),n.d(t,"c",function(){return r.b});var i=function(e){var t=["fontType","systemFont","googleFont","desktopFontSize","tabletFontSize","mobileFontSize","fontWeight","textTransform","fontStyle","textDecoration","desktopLineHeight","tabletLineHeight","mobileLineHeight","desktopLetterSpacing","tabletLetterSpacing","mobileLetterSpacing"];for(var n in e)t.includes(n)?"fontType"!==n&&(e[n]&&"default"!==e[n]||delete e[n]):delete e[n];return e}},function(e,t,n){"use strict";n.d(t,"b",function(){return a}),n.d(t,"l",function(){return r}),n.d(t,"a",function(){return o}),n.d(t,"k",function(){return l}),n.d(t,"c",function(){return i}),n.d(t,"o",function(){return s}),n.d(t,"g",function(){return c}),n.d(t,"e",function(){return u}),n.d(t,"f",function(){return p}),n.d(t,"d",function(){return m}),n.d(t,"i",function(){return g}),n.d(t,"h",function(){return d}),n.d(t,"j",function(){return f}),n.d(t,"r",function(){return b}),n.d(t,"m",function(){return h}),n.d(t,"n",function(){return v}),n.d(t,"s",function(){return w}),n.d(t,"q",function(){return y}),n.d(t,"p",function(){return _});var __=wp.i18n.__,o=[{label:__("Default","gutentor"),value:""},{label:__("Left","gutentor"),value:"text-align-left"},{label:__("Justify","gutentor"),value:"text-align-justify"},{label:__("Center","gutentor"),value:"text-align-center"},{label:__("Right","gutentor"),value:"text-align-right"}],a=[{label:__("Default","gutentor"),value:""},{label:__("Left","gutentor"),value:"text-align-left"},{label:__("Center","gutentor"),value:"text-align-center"},{label:__("Right","gutentor"),value:"text-align-right"}],r=[{label:__("Default","gutentor"),value:""},{label:__("Left","gutentor"),value:"g-f-l"},{label:__("Center","gutentor"),value:"g-f-c"},{label:__("Right","gutentor"),value:"g-f-r"}],l=[{label:__("Default","gutentor"),value:""},{label:__("Left","gutentor"),value:"button-align-left"},{label:__("Center","gutentor"),value:"button-align-center"},{label:__("Right","gutentor"),value:"button-align-right"}],i=[{value:"",label:__("Default","gutentor")},{value:"text-center",label:__("Center","gutentor")},{value:"text-left",label:__("Left","gutentor")},{value:"text-right",label:__("Right","gutentor")}],s=[{value:"hide",label:__("Hide","gutentor")},{value:"before",label:__("Before","gutentor")},{value:"after",label:__("After","gutentor")}],c=[{value:"",label:__("Default","gutentor")},{value:"auto",label:__("Auto","gutentor")},{value:"cover",label:__("Cover","gutentor")},{value:"contain",label:__("Contain","gutentor")}],u=[{value:"",label:__("Default","gutentor")},{value:"center",label:__("Center","gutentor")},{value:"left center",label:__("Left Center","gutentor")},{value:"right center",label:__("Right Center","gutentor")},{value:"top left",label:__("Top Left","gutentor")},{value:"top right",label:__("Top Right","gutentor")},{value:"top center",label:__("Top Center","gutentor")},{value:"bottom left",label:__("Bottom Left","gutentor")},{value:"bottom right",label:__("Bottom Right","gutentor")},{value:"bottom center",label:__("Bottom Center","gutentor")}],p=[{value:"",label:__("Default","gutentor")},{value:"no-repeat",label:__("No Repeat","gutentor")},{value:"repeat",label:__("Repeat","gutentor")},{value:"repeat-x",label:__("Repeat X","gutentor")},{value:"repeat-y",label:__("Repeat Y","gutentor")}],m=[{value:"",label:__("Default","gutentor")},{value:"scroll",label:__("Scroll","gutentor")},{value:"fixed",label:__("Fixed","gutentor")}],g=[{label:__("None","gutentor"),value:"none"},{label:__("Solid","gutentor"),value:"solid"},{label:__("Dotted","gutentor"),value:"dotted"},{label:__("Dashed","gutentor"),value:"dashed"},{label:__("Double","gutentor"),value:"double"},{label:__("Ridge","gutentor"),value:"ridge"},{label:__("Inset","gutentor"),value:"inset"},{label:__("Outset","gutentor"),value:"outset"}],d=[{value:"solid",label:__("Default","gutentor")},{value:"dashed",label:__("Dashed","gutentor")},{value:"dotted",label:__("Dotted","gutentor")},{value:"double",label:__("Double","gutentor")}],f=[{label:__("Default","gutentor"),value:""},{label:__("Inset","gutentor"),value:"inset"}],b=[{value:"h1",label:"H1"},{value:"h2",label:"H2"},{value:"h3",label:"H3"},{value:"h4",label:"H4"},{value:"h5",label:"H5"},{value:"h6",label:"H6"},{value:"p",label:"P"},{value:"div",label:"Div"},{value:"span",label:"Span"}],h=[{value:"h1",label:"H1"},{value:"h2",label:"H2"},{value:"h3",label:"H3"},{value:"h4",label:"H4"},{value:"h5",label:"H5"},{value:"h6",label:"H6"}],v=[{value:"section",label:__("Section","gutentor")},{value:"div",label:__("Div","gutentor")},{value:"header",label:__("Header","gutentor")},{value:"footer",label:__("Footer","gutentor")},{value:"main",label:__("Main","gutentor")},{value:"article",label:__("Article","gutentor")},{value:"aside",label:__("Aside","gutentor")}],w=[{label:__("Inherit","gutentor"),value:"inherit"},{label:__("Auto","gutentor"),value:"auto"},{label:__("Full","gutentor"),value:"full"},{label:__("Custom","gutentor"),value:"custom"}],y=[{label:__("Default","gutentor"),value:"gutentor-slick-a-default"},{label:__("Top Left","gutentor"),value:"gutentor-slick-a-t-left"},{label:__("Top Right","gutentor"),value:"gutentor-slick-a-t-right"},{label:__("Bottom Left","gutentor"),value:"gutentor-slick-a-b-left"},{label:__("Bottom Right","gutentor"),value:"gutentor-slick-a-b-right"}],_=[{value:"g-pos-top",label:__("Top","gutentor")},{value:"g-pos-center",label:__("Center","gutentor")},{value:"g-pos-bottom",label:__("Bottom","gutentor")}]},function(e,t,n){"use strict";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 a(e){if(null===e)return"";var t=e&&e.styleN?e.styleN:"none",n=e&&e.topN?e.topN:"",o=e&&e.rightN?e.rightN:"",a=e&&e.bottomN?e.bottomN:"",r=e&&e.leftN?e.leftN:"",l=e&&e.colorN?e.colorN:"",s=e&&e.rTypeN?e.rTypeN:"px",c=e&&e.rTopN?e.rTopN:"",u=e&&e.rRightN?e.rRightN:"",p=e&&e.rBottomN?e.rBottomN:"",m=e&&e.rLeftN?e.rLeftN:"",g=n||0,d=o||0,f=a||0,b=r||0;return Object(i.c)("border-style","none"!==t?t:null)+Object(i.c)("border-width","none"!==t?g+"px "+d+"px "+f+"px "+b+"px ":null)+Object(i.c)("border-color","none"!==t&&l?l:null)+Object(i.c)("border-top-left-radius",c?c+s:null)+Object(i.c)("border-top-right-radius",u?u+s:null)+Object(i.c)("border-bottom-right-radius",p?p+s:null)+Object(i.c)("border-bottom-left-radius",m?m+s:null)}function r(e){if(null===e)return"";var t=e&&e.styleH?e.styleH:"none",n=e&&e.topH?e.topH:"",o=e&&e.rightH?e.rightH:"",a=e&&e.bottomH?e.bottomH:"",r=e&&e.leftH?e.leftH:"",l=e&&e.colorH?e.colorH:"",s=e&&e.rTypeH?e.rTypeH:"px",c=e&&e.rTopH?e.rTopH:"",u=e&&e.rRightH?e.rRightH:"",p=e&&e.rBottomH?e.rBottomH:"",m=e&&e.rLeftH?e.rLeftH:"",g=n||0,d=o||0,f=a||0,b=r||0;return Object(i.c)("border-style","none"!==t?t:null)+Object(i.c)("border-width","none"!==t?g+"px "+d+"px "+f+"px "+b+"px ":null)+Object(i.c)("border-color","none"!==t&&l?l:null)+Object(i.c)("border-top-left-radius",c?c+s:null)+Object(i.c)("border-top-right-radius",u?u+s:null)+Object(i.c)("border-bottom-right-radius",p?p+s:null)+Object(i.c)("border-bottom-left-radius",m?m+s:null)}function l(e,t,n){var a=n.setAttributes,r=function(e){var t=["styleN","styleH","topN","topH","rightN","rightH","bottomN","bottomH","leftN","leftH","colorN","colorH","rTypeN","rTypeH","rTopN","rTopH","rRightN","rRightH","rBottomN","rBottomH","rLeftN","rLeftH"];for(var n in e)t.includes(n)?e[n]||delete e[n]:delete e[n];return e},l=function(n,l){var i=Object.assign({},t);i[l]=n,"colorN"===l&&(i[l]=n.rgb&&1!==n.rgb.a?"rgba("+n.rgb.r+","+n.rgb.g+","+n.rgb.b+","+n.rgb.a+")":n.hex),"colorH"===l&&(i[l]=n.rgb&&1!==n.rgb.a?"rgba("+n.rgb.r+","+n.rgb.g+","+n.rgb.b+","+n.rgb.a+")":n.hex),"styleN"===l?"none"===n&&(delete i.topN,delete i.rightN,delete i.bottomN,delete i.leftN,delete i.colorN,delete i[l]):"styleN"===l&&"none"===n&&(delete i.topH,delete i.rightH,delete i.bottomH,delete i.leftH,delete i.colorH,delete i[l]),i=r(i),a(o({},e,i))},i=t&&t.styleN?t.styleN:"none",p=t&&t.topN?t.topN:"",f=t&&t.rightN?t.rightN:"",b=t&&t.bottomN?t.bottomN:"",h=t&&t.leftN?t.leftN:"",v=t&&t.colorN?t.colorN:"",w=t&&t.rTypeN?t.rTypeN:"px",y=t&&t.rTopN?t.rTopN:"",_=t&&t.rRightN?t.rRightN:"",k=t&&t.rBottomN?t.rBottomN:"",E=t&&t.rLeftN?t.rLeftN:"",C=t&&t.styleH?t.styleH:"none",O=t&&t.topH?t.topH:"",j=t&&t.rightH?t.rightH:"",x=t&&t.bottomH?t.bottomH:"",I=t&&t.leftH?t.leftH:"",T=t&&t.colorH?t.colorH:"",F=t&&t.rTypeH?t.rTypeH:"px",B=t&&t.rTopH?t.rTopH:"",S=t&&t.rRightH?t.rRightH:"",N=t&&t.rBottomH?t.rBottomH:"",P=t&&t.rLeftH?t.rLeftH:"";return wp.element.createElement("div",{className:"gutentor-single-border-four-border-wrap"},function(){var e=wp.element.createElement(m,{label:__("Border Type","gutentor"),value:i||"",options:c.i,onChange:function(e){return l(e,"styleN")}}),t=wp.element.createElement(m,{label:__("Border Type","gutentor"),value:C||"",options:c.i,onChange:function(e){return l(e,"styleH")}}),n="";i&&"none"!==i&&(n=wp.element.createElement("div",{className:"gutentor-border-options-wrap"},wp.element.createElement("div",{className:"gutentor-border-border-wrap gutentor-display-flex"},wp.element.createElement(d,{label:__("Top","gutentor"),type:"number",value:p,onChange:function(e){return l(e,"topN")},min:0,max:1e3}),wp.element.createElement(d,{label:__("Right","gutentor"),type:"number",value:f,onChange:function(e){return l(e,"rightN")},min:0,max:100}),wp.element.createElement(d,{label:__("Bottom","gutentor"),type:"number",value:b,onChange:function(e){return l(e,"bottomN")},min:0,max:1e3}),wp.element.createElement(d,{label:__("Left","gutentor"),type:"number",value:h,onChange:function(e){return l(e,"leftN")},min:0,max:1e3})),wp.element.createElement(u.a,{value:v,label:__("Color","gutentor"),onChange:function(e){return l(e,"colorN")},disableAlpha:!1})));var o="";C&&"none"!==C&&(o=wp.element.createElement("div",{className:"gutentor-border-options-wrap"},wp.element.createElement("div",{className:"gutentor-border-border-wrap gutentor-display-flex"},wp.element.createElement(d,{label:__("Top","gutentor"),type:"number",value:O,onChange:function(e){return l(e,"topH")},min:0,max:1e3}),wp.element.createElement(d,{label:__("Right","gutentor"),type:"number",value:j,onChange:function(e){return l(e,"rightH")},min:0,max:100}),wp.element.createElement(d,{label:__("Bottom","gutentor"),type:"number",value:x,onChange:function(e){return l(e,"bottomH")},min:0,max:1e3}),wp.element.createElement(d,{label:__("Left","gutentor"),type:"number",value:I,onChange:function(e){return l(e,"leftH")},min:0,max:1e3})),wp.element.createElement(u.a,{value:T,label:__("Color","gutentor"),onChange:function(e){return l(e,"colorH")},disableAlpha:!1})));var a=wp.element.createElement("div",{className:"gutentor-border-radius-options-wrap"},wp.element.createElement("label",{className:"gutentor-group-label"},__("Border Radius","gutentor")),wp.element.createElement(g,{selected:w,options:[{label:"%",value:"%"},{label:"px",value:"px"}],onChange:function(e){return l(e,"rTypeN")}}),wp.element.createElement("div",{className:"gutentor-border-radius-border-wrap gutentor-display-flex"},wp.element.createElement(d,{label:__("Top","gutentor"),type:"number",value:y,onChange:function(e){return l(e,"rTopN")},min:1,max:100}),wp.element.createElement(d,{label:__("Right","gutentor"),type:"number",value:_,onChange:function(e){return l(e,"rRightN")},min:1,max:100}),wp.element.createElement(d,{label:__("Bottom","gutentor"),type:"number",value:k,onChange:function(e){return l(e,"rBottomN")},min:1,max:100}),wp.element.createElement(d,{label:__("Left","gutentor"),type:"number",value:E,onChange:function(e){return l(e,"rLeftN")},min:1,max:100}))),r=wp.element.createElement("div",{className:"gutentor-border-radius-options-wrap"},wp.element.createElement("label",{className:"gutentor-group-label"},__("Border Radius","gutentor")),wp.element.createElement(g,{selected:F,options:[{label:"%",value:"%"},{label:"px",value:"px"}],onChange:function(e){return l(e,"rTypeH")}}),wp.element.createElement("div",{className:"gutentor-border-radius-border-wrap gutentor-display-flex"},wp.element.createElement(d,{label:__("Top","gutentor"),type:"number",value:B,onChange:function(e){return l(e,"rTopH")},min:1,max:100}),wp.element.createElement(d,{label:__("Right","gutentor"),type:"number",value:S,onChange:function(e){return l(e,"rRightH")},min:1,max:100}),wp.element.createElement(d,{label:__("Bottom","gutentor"),type:"number",value:N,onChange:function(e){return l(e,"rBottomH")},min:1,max:100}),wp.element.createElement(d,{label:__("Left","gutentor"),type:"number",value:P,onChange:function(e){return l(e,"rLeftH")},min:1,max:100})));return wp.element.createElement("div",{className:"gutentor-border-border-wrap"},wp.element.createElement(s.d,null,wp.element.createElement(s.b,null,wp.element.createElement(s.a,null,__("Normal","gutentor")),wp.element.createElement(s.a,null,__("Hover","gutentor"))),wp.element.createElement(s.c,null,e,n,a),wp.element.createElement(s.c,null,t,o,r)))}())}n.d(t,"a",function(){return l}),n.d(t,"c",function(){return r}),n.d(t,"b",function(){return a});var i=n(1),s=n(2),c=n(9),u=n(3),__=wp.i18n.__,p=wp.components,m=p.SelectControl,g=p.RadioControl,d=p.TextControl;p.BaseControl},function(e,t){e.exports=React},function(e,t,n){"use strict";function o(e){return"gutentor/p2"===e.attributes.gName||"gutentor/t2"===e.attributes.gName}function a(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;if("gutentor/p2"===e.attributes.gName){if(t!==e.attributes.postsToShow)return!1;if(n!==e.attributes.p2Temp)return!1}else{if("gutentor/t2"!==e.attributes.gName)return!1;if(t!==e.attributes.t2Number)return!1;if(n!==e.attributes.t2Temp)return!1}return!0}function r(e){return"gutentor/p2"===e.attributes.gName}function l(e,t,n){var o=e.setAttributes;return o(!(void 0!==t._embedded&&t._embedded.author&&t._embedded.author[0]&&t._embedded.author[0].avatar_urls)?{pAccessAvatar:!1}:{pAccessAvatar:!0}),r(e)?"product"===e.attributes.pPostType||"download"===e.attributes.pPostType?Object(i.b)(e,t,n):Object(i.a)(e,t,n):Object(s.a)(e,t,n)}n.d(t,"b",function(){return o}),n.d(t,"d",function(){return a}),n.d(t,"c",function(){return r}),n.d(t,"a",function(){return l});var i=n(865),s=n(866)},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function r(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var l=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),__=wp.i18n.__,i=wp.element.Component,s=function(e){function t(e){o(this,t);var n=a(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={openExpand:!1},n.openExpandToggle=n.openExpandToggle.bind(n),n.htmlSelect=n.htmlSelect.bind(n),n}return r(t,e),l(t,[{key:"openExpandToggle",value:function(){this.setState({openExpand:!this.state.openExpand})}},{key:"htmlSelect",value:function(){var e=this,t={value:"icon-template1",label:'<img src="'+gutentor.dirUrl+'/assets/img/templates/icon-box/icon-box-template-1.svg" />'};return void 0!==this.props.value&&this.props.value?(this.props.options.map(function(n,o){n.value===e.props.value&&(t=n)}),wp.element.createElement("div",{className:"gutentor-html-select"},wp.element.createElement("span",{onClick:function(){return e.openExpandToggle()},dangerouslySetInnerHTML:{__html:t.label},className:"gutentor-html-selected"}),wp.element.createElement("span",{onClick:function(){return e.props.onChange("")}},wp.element.createElement("i",{className:"dashicons dashicons-trash"})))):wp.element.createElement("span",{onClick:function(){return e.openExpandToggle()},className:"gutentor-html-select-placeholder"},__("Click here to select","gutentor"))}},{key:"render",value:function(){var e=this.props,t=e.label,n=e.value,o=e.onChange,a=e.options;return wp.element.createElement("div",{className:"components-base-control"},wp.element.createElement("div",{className:"components-base-control__field"},wp.element.createElement("label",{className:"components-base-control__label"},t),wp.element.createElement("div",{className:"gutentor-html-select-main-wrap"},this.htmlSelect(),this.state.openExpand&&wp.element.createElement("ul",{className:"gutentor-html-select-box"},a.map(function(e,t){return wp.element.createElement("li",{className:e.value===n?"gutentor-active-html-select":"",onClick:function(){return o(e.value)},dangerouslySetInnerHTML:{__html:e.label}})})))))}}]),t}(i);t.a=s},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function r(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}n.d(t,"a",function(){return w});var l=n(423),i=n(1),s=n(0),c=n.n(s),u=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),__=wp.i18n.__,p=wp.components,m=p.TextControl,g=p.Popover,d=p.Button,f=wp.element,b=f.Component,h=f.Fragment,v=[{label:"Font Awesome",options:l.a}],w=function(e){function t(e){o(this,t);var n=a(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={open:!1,search:""},n}return r(t,e),u(t,[{key:"render",value:function(){var e=this,t=this.props,n=t.Icon,o=t.gClassName,a=t.setIcon,r=void 0===a?function(){}:a,l=this.state,s=l.open,u=l.search,p=wp.hooks.applyFilters("gutentor_icon_picker_icons",v,this.props),f=c()(o||"",n&&n.value?n.value:"fas fa-desktop"),b=Object(i.e)("g-palette-"),w=function(e){return wp.element.createElement(d,{className:c()("g-icon-picker-single-btn",b),isLink:!0,onClick:function(){r(e)}},wp.element.createElement("i",{className:e.value}))};return wp.element.createElement(h,null,wp.element.createElement(d,{className:c()("g-icon-picker-control-btn",b),isLink:!0,onClick:function(){e.setState({open:!s})}},wp.element.createElement("i",{className:f})),s&&wp.element.createElement(g,{onFocusOutside:function(){document.activeElement.classList.contains(b)||e.setState({open:!1})},className:c()("g-icon-picker-control-popup")},wp.element.createElement(m,{label:__("Search","gutentor"),type:"text",placeholder:__("Search for a icon...","gutentor"),value:u,onChange:function(t){e.setState({search:t})}}),p.map(function(e,t){return wp.element.createElement(h,null,wp.element.createElement("h6",null,e.label),e.options.map(function(e,t){return u&&(e.value.includes(u)||e.label.includes(u)||e.code.includes(u))?w(e):u?void 0:w(e)}))})))}}]),t}(b)},function(e,t,n){"use strict";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 a(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"mobile",o=void 0,a=void 0,r=void 0,l=void 0,s=void 0;return o=t&&t.type?t.type:"px","desktop"===n?(a=t&&t.desktopTop?t.desktopTop:0,r=t&&t.desktopRight?t.desktopRight:0,l=t&&t.desktopBottom?t.desktopBottom:0,s=t&&t.desktopLeft?t.desktopLeft:0):"tablet"===n?(a=t&&t.tabletTop?t.tabletTop:0,r=t&&t.tabletRight?t.tabletRight:0,l=t&&t.tabletBottom?t.tabletBottom:0,s=t&&t.tabletLeft?t.tabletLeft:0):(a=t&&t.mobileTop?t.mobileTop:0,r=t&&t.mobileRight?t.mobileRight:0,l=t&&t.mobileBottom?t.mobileBottom:0,s=t&&t.mobileLeft?t.mobileLeft:0),Object(i.c)(e,a||r||l||s?a+o+" "+r+o+" "+l+o+" "+s+o:null)}function r(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",o=void 0,a=void 0,r=void 0,l=void 0,s=void 0,c=void 0;return o=t&&t.type?t.type:"px","desktopTop"===n?(a=t&&t.desktopTop?t.desktopTop:0,c=Object(i.c)(e,a?"-"+a+o:null)):"desktopRight"===n?(r=t&&t.desktopRight?t.desktopRight:0,c=Object(i.c)(e,r?"-"+r+o:null)):"desktopBottom"===n?(l=t&&t.desktopBottom?t.desktopBottom:0,c=Object(i.c)(e,l?"-"+l+o:null)):"desktopLeft"===n?(s=t&&t.desktopLeft?t.desktopLeft:0,c=Object(i.c)(e,s?"-"+s+o:null)):"tabletTop"===n?(a=t&&t.tabletTop?t.tabletTop:0,c=Object(i.c)(e,a?"-"+a+o:null)):"tabletRight"===n?(r=t&&t.tabletRight?t.tabletRight:0,c=Object(i.c)(e,r?"-"+r+o:null)):"tabletBottom"===n?(l=t&&t.tabletBottom?t.tabletBottom:0,c=Object(i.c)(e,l?"-"+l+o:null)):"tabletLeft"===n?(s=t&&t.tabletLeft?t.tabletLeft:0,c=Object(i.c)(e,s?"-"+s+o:null)):"mobileTop"===n?(a=t&&t.mobileTop?t.mobileTop:0,c=Object(i.c)(e,a?"-"+a+o:null)):"mobileRight"===n?(r=t&&t.mobileRight?t.mobileRight:0,c=Object(i.c)(e,r?"-"+r+o:null)):"mobileBottom"===n?(l=t&&t.mobileBottom?t.mobileBottom:0,c=Object(i.c)(e,l?"-"+l+o:null)):"mobileLeft"===n?(s=t&&t.mobileLeft?t.mobileLeft:0,c=Object(i.c)(e,s?"-"+s+o:null)):c="",c}function l(e,t,n){var a=n.setAttributes,r=function(e){var t=["type","desktopTop","desktopRight","desktopBottom","desktopLeft","tabletTop","tabletRight","tabletBottom","tabletLeft","mobileTop","mobileRight","mobileBottom","mobileLeft"];for(var n in e)t.includes(n)?e[n]&&"default"!==e[n]||delete e[n]:delete e[n];return e},l=function(n,l){var i=Object.assign({},t);i[l]=n,"type"===l&&"px"===n&&delete i[l],i=r(i),a(o({},e,i))};return wp.element.createElement("div",{className:"gutentor-margin-wrap"},wp.element.createElement(u,{selected:t&&t.type?t.type:"px",options:[{label:"%",value:"%"},{label:"px",value:"px"}],onChange:function(e){return l(e,"type")}}),wp.element.createElement("div",{className:"gutentor-margin-options-wrap"},wp.element.createElement(s.d,null,wp.element.createElement(s.b,null,wp.element.createElement(s.a,null,wp.element.createElement("i",{className:"dashicons dashicons-desktop"})),wp.element.createElement(s.a,null,wp.element.createElement("i",{className:"dashicons dashicons-tablet"})),wp.element.createElement(s.a,null,wp.element.createElement("i",{className:"dashicons dashicons-smartphone"}))),wp.element.createElement(s.c,null,wp.element.createElement("div",{className:"gutentor-display-flex"},wp.element.createElement(p,{label:__("Top","gutentor"),type:"number",value:t&&t.desktopTop?t.desktopTop:"",onChange:function(e){return l(e,"desktopTop")},min:0,max:1e3}),wp.element.createElement(p,{label:__("Right","gutentor"),type:"number",value:t&&t.desktopRight?t.desktopRight:"",onChange:function(e){return l(e,"desktopRight")},min:0,max:1e3}),wp.element.createElement(p,{label:__("Bottom","gutentor"),type:"number",value:t&&t.desktopBottom?t.desktopBottom:"",onChange:function(e){return l(e,"desktopBottom")},min:0,max:1e3}),wp.element.createElement(p,{label:__("Left","gutentor"),type:"number",value:t&&t.desktopLeft?t.desktopLeft:"",onChange:function(e){return l(e,"desktopLeft")},min:0,max:1e3}))),wp.element.createElement(s.c,null,wp.element.createElement("div",{className:"gutentor-display-flex"},wp.element.createElement(p,{label:__("Top","gutentor"),type:"number",value:t&&t.tabletTop?t.tabletTop:"",onChange:function(e){return l(e,"tabletTop")},min:0,max:1e3}),wp.element.createElement(p,{label:__("Right","gutentor"),type:"number",value:t&&t.tabletRight?t.tabletRight:"",onChange:function(e){return l(e,"tabletRight")},min:0,max:1e3}),wp.element.createElement(p,{label:__("Bottom","gutentor"),type:"number",value:t&&t.tabletBottom?t.tabletBottom:"",onChange:function(e){return l(e,"tabletBottom")},min:0,max:1e3}),wp.element.createElement(p,{label:__("Left","gutentor"),type:"number",value:t&&t.tabletLeft?t.tabletLeft:"",onChange:function(e){return l(e,"tabletLeft")},min:0,max:1e3}))),wp.element.createElement(s.c,null,wp.element.createElement("div",{className:"gutentor-display-flex"},wp.element.createElement(p,{label:__("Top","gutentor"),type:"number",value:t&&t.mobileTop?t.mobileTop:"",onChange:function(e){return l(e,"mobileTop")},min:0,max:1e3}),wp.element.createElement(p,{label:__("Right","gutentor"),type:"number",value:t&&t.mobileRight?t.mobileRight:"",onChange:function(e){return l(e,"mobileRight")},min:0,max:1e3}),wp.element.createElement(p,{label:__("Bottom","gutentor"),type:"number",value:t&&t.mobileBottom?t.mobileBottom:"",onChange:function(e){return l(e,"mobileBottom")},min:0,max:1e3}),wp.element.createElement(p,{label:__("Left","gutentor"),type:"number",value:t&&t.mobileLeft?t.mobileLeft:"",onChange:function(e){return l(e,"mobileLeft")},min:0,max:1e3}))))))}n.d(t,"a",function(){return l}),n.d(t,"b",function(){return a}),n.d(t,"c",function(){return r});var i=n(1),s=n(2),__=wp.i18n.__,c=wp.components,u=c.RadioControl,p=c.TextControl},function(e,t,n){"use strict";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 a(e){var t=e&&e.nColor?e.nColor:"",n=e&&e.nX?e.nX:"",o=e&&e.nY?e.nY:"",a=e&&e.nBlur?e.nBlur:"",r=e&&e.nSpread?e.nSpread:"",l=e&&e.nPos?e.nPos:"";return Object(s.c)("box-shadow",n&&o&&a&&r&&t?n+"px "+o+"px "+a+"px "+r+"px "+t+" "+l:null)}function r(e){var t=e&&e.hColor?e.hColor:"",n=e&&e.hX?e.hX:"",o=e&&e.hY?e.hY:"",a=e&&e.hBlur?e.hBlur:"",r=e&&e.hSpread?e.hSpread:"",l=e&&e.hPos?e.hPos:"";return Object(s.c)("box-shadow",n&&o&&a&&r&&t?n+"px "+o+"px "+a+"px "+r+"px "+t+" "+l:null)}function l(e,t,n){var a=(n.attributes,n.className,n.setAttributes),r=function(e){var t=["nColor","hColor","nX","hX","nY","hY","nBlur","hBlur","nSpread","hSpread","nPos","hPos"];for(var n in e)t.includes(n)?e[n]||delete e[n]:delete e[n];return e},l=function(n,l){var i=Object.assign({},t);i[l]=n,"nColor"===l&&(i[l]=n.rgb&&1!==n.rgb.a?"rgba("+n.rgb.r+","+n.rgb.g+","+n.rgb.b+","+n.rgb.a+")":n.hex),"hColor"===l&&(i[l]=n.rgb&&1!==n.rgb.a?"rgba("+n.rgb.r+","+n.rgb.g+","+n.rgb.b+","+n.rgb.a+")":n.hex),i=r(i),a(o({},e,i))},s=t&&t.nColor?t.nColor:"",p=t&&t.nX?t.nX:"",d=t&&t.nY?t.nY:"",f=t&&t.nBlur?t.nBlur:"",b=t&&t.nSpread?t.nSpread:"",h=t&&t.nPos?t.nPos:"",v=t&&t.hColor?t.hColor:"",w=t&&t.hX?t.hX:"",y=t&&t.hY?t.hY:"",_=t&&t.hBlur?t.hBlur:"",k=t&&t.hSpread?t.hSpread:"",E=t&&t.hPos?t.hPos:"";return wp.element.createElement("div",{className:"box-shadow-options"},wp.element.createElement("div",{className:"box-shadow-options-components"},wp.element.createElement("div",{className:"gutentor-box-shadow-wrap"},wp.element.createElement("label",{className:"gutentor-group-label"},__("Box Shadow","gutentor")),wp.element.createElement(i.d,null,wp.element.createElement(i.b,null,wp.element.createElement(i.a,null,__("Normal","gutentor")),wp.element.createElement(i.a,null,__("Hover","gutentor"))),wp.element.createElement(i.c,null,wp.element.createElement(u.a,{value:s,label:__("Color","gutentor"),onChange:function(e){return l(e,"nColor")},disableAlpha:!1}),wp.element.createElement("div",{className:"gutentor-box-shadow-box-wrap gutentor-display-flex"},wp.element.createElement(g,{label:__("X","gutentor"),type:"number",value:p,onChange:function(e){return l(e,"nX")},min:-1e3,max:1e3}),wp.element.createElement(g,{label:__("Y","gutentor"),type:"number",value:d,onChange:function(e){return l(e,"nY")},min:-1e3,max:1e3}),wp.element.createElement(g,{label:__("Blur","gutentor"),type:"number",value:f,onChange:function(e){return l(e,"nBlur")},min:0,max:1e3}),wp.element.createElement(g,{label:__("Spread","gutentor"),type:"number",value:b,onChange:function(e){return l(e,"nSpread")},min:0,max:1e3}),wp.element.createElement(m,{label:__("Position","gutentor"),value:h||"outline",options:c.j,onChange:function(e){return l(e,"nPos")}}))),wp.element.createElement(i.c,null,wp.element.createElement(u.a,{value:v,label:__("Color","gutentor"),onChange:function(e){return l(e,"hColor")},disableAlpha:!1}),wp.element.createElement("div",{className:"gutentor-box-shadow-box-wrap gutentor-display-flex"},wp.element.createElement(g,{label:__("X","gutentor"),type:"number",value:w,onChange:function(e){return l(e,"hX")},min:-1e3,max:1e3}),wp.element.createElement(g,{label:__("Y","gutentor"),type:"number",value:y,onChange:function(e){return l(e,"hY")},min:-1e3,max:1e3}),wp.element.createElement(g,{label:__("Blur","gutentor"),type:"number",value:_,onChange:function(e){return l(e,"hBlur")},min:0,max:1e3}),wp.element.createElement(g,{label:__("Spread","gutentor"),type:"number",value:k,onChange:function(e){return l(e,"hSpread")},min:0,max:1e3}),wp.element.createElement(m,{label:__("Position","gutentor"),value:E||"outline",options:c.j,onChange:function(e){return l(e,"hPos")}})))))))}n.d(t,"b",function(){return l}),n.d(t,"c",function(){return a}),n.d(t,"a",function(){return r});var i=n(2),s=n(1),c=n(9),u=n(3),__=wp.i18n.__,p=wp.components,m=p.SelectControl,g=p.TextControl},function(e,t,n){"use strict";n.d(t,"a",function(){return o});var o={blockComponentAnimation:{type:"object",default:{Animation:"none",Delay:"",Speed:"",IterationType:"1",Iteration:"1"},gCopy:!0},blockComponentBGType:{type:"string",gCopy:!0},mBGImageSrc:{type:"string",default:"self-hosted-local",gCopy:!0},blockComponentBGImage:{type:"object",gCopy:!0},blockComponentBGImageSizeType:{type:"string",default:"full",gCopy:!0},blockComponentBGVideo:{type:"object",gCopy:!0},mBGImageUrl:{type:"string",default:"",gCopy:!0},mBGVideoSrc:{type:"string",default:"self-hosted-local",gCopy:!0},mBGVideoUrl:{type:"string",default:"https://www.youtube.com/watch?v=bGMi7L78hVk",gCopy:!0},blockComponentBGColor:{type:"object",gCopy:!0},mBGGradient:{type:"string",gCopy:!0},blockComponentBGImageSize:{type:"string",gCopy:!0},blockComponentBGImagePosition:{type:"string",gCopy:!0},blockComponentBGImageRepeat:{type:"string",gCopy:!0},blockComponentBGImageAttachment:{type:"string",gCopy:!0},blockComponentBGVideoLoop:{type:"boolean",default:!0,gCopy:!0},blockComponentBGVideoMuted:{type:"boolean",default:!0,gCopy:!0},blockComponentEnableOverlay:{type:"boolean",default:!1,gCopy:!0},blockComponentOverlayColor:{type:"object",gCopy:!0},blockComponentDesktopDisplayMode:{type:"boolean",default:!1,gCopy:!0},blockComponentTabletDisplayMode:{type:"boolean",default:!1,gCopy:!0},blockComponentMobileDisplayMode:{type:"boolean",default:!1,gCopy:!0},blockComponentBoxBorder:{type:"object",default:{borderStyle:"none",borderTop:"",borderRight:"",borderBottom:"",borderLeft:"",borderColorNormal:"",borderColorHover:"",borderRadiusType:"px",borderRadiusTop:"",borderRadiusRight:"",borderRadiusBottom:"",borderRadiusLeft:""},gCopy:!0},blockComponentMargin:{type:"object",default:{type:"px",desktopTop:"",desktopRight:"",desktopBottom:"",desktopLeft:"",tabletTop:"",tabletRight:"",tabletBottom:"",tabletLeft:"",mobileTop:"",mobileRight:"",mobileBottom:"",mobileLeft:""},gCopy:!0},blockComponentPadding:{type:"object",default:{type:"px",desktopTop:"",desktopRight:"",desktopBottom:"",desktopLeft:"",tabletTop:"",tabletRight:"",tabletBottom:"",tabletLeft:"",mobileTop:"",mobileRight:"",mobileBottom:"",mobileLeft:""},gCopy:!0},blockComponentBoxShadowOptions:{type:"object",default:{boxShadowColor:"",boxShadowX:"",boxShadowY:"",boxShadowBlur:"",boxShadowSpread:"",boxShadowPosition:""},gCopy:!0},blockSectionHtmlTag:{type:"string",default:"section"},blockShapeTopSelect:{type:"string",default:"",gCopy:!0},blockShapeTopSelectEnableColor:{type:"boolean",default:"",gCopy:!0},blockShapeTopFlipVertically:{type:"boolean",default:!1,gCopy:!0},blockShapeTopFlipHorizontally:{type:"boolean",default:!1,gCopy:!0},blockShapeTopSelectColor:{type:"object",default:"",gCopy:!0},blockShapeTopHeight:{type:"object",default:{type:"px",desktop:"",tablet:"",mobile:""},gCopy:!0},blockShapeTopWidth:{type:"object",default:{type:"px",desktop:"",tablet:"",mobile:""},gCopy:!0},blockShapeTopPosition:{type:"boolean",default:"",gCopy:!0},blockShapeBottomSelect:{type:"string",default:"",gCopy:!0},blockShapeBottomSelectEnableColor:{type:"boolean",default:"",gCopy:!0},blockShapeBottomFlipVertically:{type:"boolean",default:!1,gCopy:!0},blockShapeBottomFlipHorizontally:{type:"boolean",default:!1,gCopy:!0},blockShapeBottomSelectColor:{type:"object",default:"",gCopy:!0},blockShapeBottomHeight:{type:"object",default:{type:"px",desktop:"",tablet:"",mobile:""},gCopy:!0},blockShapeBottomWidth:{type:"object",default:{type:"px",desktop:"",tablet:"",mobile:""},gCopy:!0},blockShapeBottomPosition:{type:"boolean",default:"",gCopy:!0},blockComponentEnablePosition:{type:"boolean",default:!1,gCopy:!0},blockComponentEnableContentVerticalAlign:{type:"boolean",default:!1,gCopy:!0},blockComponentContentVerticalAlignMobile:{type:"string",default:"g-c-r-valign",gCopy:!0},blockComponentContentVerticalAlignTablet:{type:"string",default:"g-c-r-valign",gCopy:!0},blockComponentContentVerticalAlignDesktop:{type:"string",default:"g-c-r-valign",gCopy:!0},blockComponentPositionTypeDesktop:{type:"string",default:"g-pos-d",gCopy:!0},blockComponentPositionTypeTablet:{type:"string",default:"g-pos-d",gCopy:!0},blockComponentPositionTypeMobile:{type:"string",default:"g-pos-d",gCopy:!0},blockComponentPositionDesktop:{type:"object",default:{type:"px",top:"",right:"",bottom:"",left:""},gCopy:!0},blockComponentPositionDesktopWidth:{type:"object",default:{type:"px",width:""},gCopy:!0},blockComponentPositionTablet:{type:"object",default:{type:"px",top:"",right:"",bottom:"",left:""},gCopy:!0},blockComponentPositionTabletWidth:{type:"object",default:{type:"px",width:""},gCopy:!0},blockComponentPositionMobile:{type:"object",default:{type:"px",top:"",right:"",bottom:"",left:""},gCopy:!0},blockComponentPositionMobileWidth:{type:"object",default:{type:"px",width:""},gCopy:!0},blockComponentEnableZIndex:{type:"boolean",default:!1,gCopy:!0},blockComponentZIndex:{type:"object",default:{desktop:"",tablet:"",mobile:""},gCopy:!0},blockComponentEnableHeight:{type:"boolean",default:!1,gCopy:!0},blockComponentHeight:{type:"object",default:{type:"px",desktop:"",tablet:"",mobile:""},gCopy:!0},blockComponentRemoveContainerSpace:{type:"object",default:{desktop:"",tablet:"",mobile:""},gCopy:!0},blockComponentRemoveRowSpace:{type:"object",default:{desktop:"",tablet:"",mobile:""},gCopy:!0},blockComponentRemoveColumnSpace:{type:"object",default:{desktop:"",tablet:"",mobile:""},gCopy:!0},wRawCustomCss:{type:"string",default:"",gCopy:!0}}},function(e,t){function n(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function a(e){if(u===setTimeout)return setTimeout(e,0);if((u===n||!u)&&setTimeout)return u=setTimeout,setTimeout(e,0);try{return u(e,0)}catch(t){try{return u.call(null,e,0)}catch(t){return u.call(this,e,0)}}}function r(e){if(p===clearTimeout)return clearTimeout(e);if((p===o||!p)&&clearTimeout)return p=clearTimeout,clearTimeout(e);try{return p(e)}catch(t){try{return p.call(null,e)}catch(t){return p.call(this,e)}}}function l(){f&&g&&(f=!1,g.length?d=g.concat(d):b=-1,d.length&&i())}function i(){if(!f){var e=a(l);f=!0;for(var t=d.length;t;){for(g=d,d=[];++b<t;)g&&g[b].run();b=-1,t=d.length}g=null,f=!1,r(e)}}function s(e,t){this.fun=e,this.array=t}function c(){}var u,p,m=e.exports={};!function(){try{u="function"===typeof setTimeout?setTimeout:n}catch(e){u=n}try{p="function"===typeof clearTimeout?clearTimeout:o}catch(e){p=o}}();var g,d=[],f=!1,b=-1;m.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];d.push(new s(e,t)),1!==d.length||f||a(i)},s.prototype.run=function(){this.fun.apply(null,this.array)},m.title="browser",m.browser=!0,m.env={},m.argv=[],m.version="",m.versions={},m.on=c,m.addListener=c,m.once=c,m.off=c,m.removeListener=c,m.removeAllListeners=c,m.emit=c,m.prependListener=c,m.prependOnceListener=c,m.listeners=function(e){return[]},m.binding=function(e){throw new Error("process.binding is not supported")},m.cwd=function(){return"/"},m.chdir=function(e){throw new Error("process.chdir is not supported")},m.umask=function(){return 0}},function(e,t,n){"use strict";n.d(t,"a",function(){return o});var __=wp.i18n.__,o={blockComponentTitleEnable:{type:"boolean",default:!0,gCopy:!0},blockComponentTitle:{type:"string",default:__("Block Title","gutentor")},blockComponentTitleTag:{type:"string",default:"h2",gCopy:!0},blockComponentTitleAlign:{type:"string",default:"text-center",gCopy:!0},blockComponentTitleColorEnable:{type:"boolean",default:!0,gCopy:!0},blockComponentTitleColor:{type:"object",default:{hex:"#111111"},gCopy:!0},blockComponentTitleTypography:{type:"object",default:{fontType:"default",systemFont:"",googleFont:"",customFont:"",desktopFontSize:"",tabletFontSize:"",mobileFontSize:"",fontWeight:"",textTransform:"",fontStyle:"",textDecoration:"",desktopLineHeight:"",tabletLineHeight:"",mobileLineHeight:"",desktopLetterSpacing:"",tabletLetterSpacing:"",mobileLetterSpacing:""},gCopy:!0},blockComponentTitleMargin:{type:"object",default:{type:"px",desktopTop:"",desktopRight:"",desktopBottom:"",desktopLeft:"",tabletTop:"",tabletRight:"",tabletBottom:"",tabletLeft:"",mobileTop:"",mobileRight:"",mobileBottom:"",mobileLeft:""},gCopy:!0},blockComponentTitlePadding:{type:"object",default:{type:"px",desktopTop:"",desktopRight:"",desktopBottom:"",desktopLeft:"",tabletTop:"",tabletRight:"",tabletBottom:"",tabletLeft:"",mobileTop:"",mobileRight:"",mobileBottom:"",mobileLeft:""},gCopy:!0},blockComponentTitleAnimation:{type:"object",default:{Animation:"none",Delay:"",Speed:"",IterationType:"1",Iteration:"1"},gCopy:!0},blockComponentTitleDesignEnable:{type:"boolean",default:!0,gCopy:!0},blockComponentTitleSeperatorPosition:{type:"string",default:"seperator-bottom",gCopy:!0}}},function(e,t,n){"use strict";n.d(t,"a",function(){return o});var __=wp.i18n.__,o={blockComponentSubTitleEnable:{type:"boolean",default:!1,gCopy:!0},blockComponentSubTitle:{type:"string",default:__("Block Sub Title","gutentor")},blockComponentSubTitleTag:{type:"string",default:"p",gCopy:!0},blockComponentSubTitleAlign:{type:"string",default:"text-center",gCopy:!0},blockComponentSubTitleColorEnable:{type:"boolean",default:!0,gCopy:!0},blockComponentSubTitleColor:{type:"object",default:{hex:"#111111"},gCopy:!0},blockComponentSubTitleTypography:{type:"object",default:{fontType:"default",systemFont:"",googleFont:"",customFont:"",desktopFontSize:"",tabletFontSize:"",mobileFontSize:"",fontWeight:"",textTransform:"",fontStyle:"",textDecoration:"",desktopLineHeight:"",tabletLineHeight:"",mobileLineHeight:"",desktopLetterSpacing:"",tabletLetterSpacing:"",mobileLetterSpacing:""},gCopy:!0},blockComponentSubTitleMargin:{type:"object",default:{type:"px",desktopTop:"",desktopRight:"",desktopBottom:"",desktopLeft:"",tabletTop:"",tabletRight:"",tabletBottom:"",tabletLeft:"",mobileTop:"",mobileRight:"",mobileBottom:"",mobileLeft:""},gCopy:!0},blockComponentSubTitlePadding:{type:"object",default:{type:"px",desktopTop:"",desktopRight:"",desktopBottom:"",desktopLeft:"",tabletTop:"",tabletRight:"",tabletBottom:"",tabletLeft:"",mobileTop:"",mobileRight:"",mobileBottom:"",mobileLeft:""},gCopy:!0},blockComponentSubTitleAnimation:{type:"object",default:{Animation:"none",Delay:"",Speed:"",IterationType:"1",Iteration:"1"},gCopy:!0},blockComponentSubTitleDesignEnable:{type:"boolean",default:!1},blockComponentSubTitleSeperatorPosition:{type:"string",default:"seperator-bottom",gCopy:!0}}},function(e,t,n){"use strict";n.d(t,"a",function(){return o});var __=wp.i18n.__,o={blockComponentButtonEnable:{type:"boolean",default:!0,gCopy:!0},blockComponentButtonAlign:{type:"string",default:"text-left",gCopy:!0},blockComponentButtonLinkOptions:{type:"object",default:{openInNewTab:!1,rel:""}},blockComponentButtonColor:{type:"object",default:{enable:!0,normal:{hex:"#275cf6",rgb:{r:"39",g:"92",b:"246",a:"1"}},hover:{hex:"#1949d4",rgb:{r:"25",g:"73",b:"212",a:"1"}}},gCopy:!0},blockComponentButtonTextColor:{type:"object",default:{enable:!0,normal:{hex:"#fff"},hover:""},gCopy:!0},blockComponentButtonMargin:{type:"object",default:{type:"px",desktopTop:"",desktopRight:"",desktopBottom:"",desktopLeft:"",tabletTop:"",tabletRight:"",tabletBottom:"",tabletLeft:"",mobileTop:"",mobileRight:"",mobileBottom:"",mobileLeft:""},gCopy:!0},blockComponentButtonPadding:{type:"object",default:{type:"px",desktopTop:"12",desktopRight:"25",desktopBottom:"12",desktopLeft:"25",tabletTop:"12",tabletRight:"25",tabletBottom:"12",tabletLeft:"25",mobileTop:"12",mobileRight:"25",mobileBottom:"12",mobileLeft:"25"},gCopy:!0},blockComponentButtonIconOptions:{type:"object",default:{position:"hide",size:""}},blockComponentButtonIconMargin:{type:"object",default:{type:"px",desktopTop:"",desktopRight:"",desktopBottom:"",desktopLeft:"",tabletTop:"",tabletRight:"",tabletBottom:"",tabletLeft:"",mobileTop:"",mobileRight:"",mobileBottom:"",mobileLeft:""},gCopy:!0},blockComponentButtonIconPadding:{type:"object",default:{type:"px",desktopTop:"",desktopRight:"",desktopBottom:"",desktopLeft:"",tabletTop:"",tabletRight:"",tabletBottom:"",tabletLeft:"",mobileTop:"",mobileRight:"",mobileBottom:"",mobileLeft:""},gCopy:!0},blockComponentButtonBorder:{type:"object",default:{borderStyle:"",borderTop:"",borderRight:"",borderBottom:"",borderLeft:"",borderColorNormal:"",borderColorHover:"",borderRadiusType:"px",borderRadiusTop:"3",borderRadiusRight:"3",borderRadiusBottom:"3",borderRadiusLeft:"3"},gCopy:!0},blockComponentButtonBoxShadow:{type:"object",default:{boxShadowColor:"",boxShadowX:"",boxShadowY:"",boxShadowBlur:"",boxShadowSpread:"",boxShadowPosition:""},gCopy:!0},blockComponentButtonTypography:{type:"object",default:{fontType:"system",systemFont:"",googleFont:"",customFont:"",desktopFontSize:"16",tabletFontSize:"16",mobileFontSize:"16",fontWeight:"",textTransform:"normal",fontStyle:"",textDecoration:"",desktopLineHeight:"",tabletLineHeight:"",mobileLineHeight:"",desktopLetterSpacing:"",tabletLetterSpacing:"",mobileLetterSpacing:""},gCopy:!0},blockComponentButtonIcon:{type:"object",default:{label:"fa-book",value:4===gutentor.fontAwesomeVersion?"fa fa-book":"fas fa-book",code:"f108"}},blockComponentButtonText:{type:"string",default:__("Gutentor Button","gutentor")},blockComponentButtonLink:{type:"string",default:"#"},blockComponentButtonClassName:{type:"string",default:"",gCopy:!0},blockComponentButtonLayout:{type:"string",default:"",gCopy:!0}}},function(e,t,n){"use strict";n.d(t,"a",function(){return o});var o={blockItemsWrapMargin:{type:"object",default:{type:"px",desktopTop:"",desktopRight:"",desktopBottom:"",desktopLeft:"",tabletTop:"",tabletRight:"",tabletBottom:"",tabletLeft:"",mobileTop:"",mobileRight:"",mobileBottom:"",mobileLeft:""},gCopy:!0},blockItemsWrapPadding:{type:"object",default:{type:"px",desktopTop:"",desktopRight:"",desktopBottom:"",desktopLeft:"",tabletTop:"",tabletRight:"",tabletBottom:"",tabletLeft:"",mobileTop:"",mobileRight:"",mobileBottom:"",mobileLeft:""},gCopy:!0},blockItemsWrapAnimation:{type:"object",default:{Animation:"none",Delay:"",Speed:"",IterationType:"1",Iteration:"1"},gCopy:!0}}},function(e,t,n){"use strict";n.d(t,"a",function(){return o});var __=wp.i18n.__,o={blockComponentPrimaryButtonEnable:{type:"boolean",default:!1,gCopy:!0},blockComponentPrimaryButtonLinkOptions:{type:"object",default:{openInNewTab:!1,rel:""}},blockComponentPrimaryButtonColor:{type:"object",default:{enable:!0,normal:{hex:"#275cf6",rgb:{r:"39",g:"92",b:"246",a:"1"}},hover:{hex:"#1949d4",rgb:{r:"25",g:"73",b:"212",a:"1"}}},gCopy:!0},blockComponentPrimaryButtonTextColor:{type:"object",default:{enable:!0,normal:{hex:"#fff"},hover:""},gCopy:!0},blockComponentPrimaryButtonMargin:{type:"object",default:{type:"px",desktopTop:"",desktopRight:"",desktopBottom:"",desktopLeft:"",tabletTop:"",tabletRight:"",tabletBottom:"",tabletLeft:"",mobileTop:"",mobileRight:"",mobileBottom:"",mobileLeft:""},gCopy:!0},blockComponentPrimaryButtonPadding:{type:"object",default:{type:"px",desktopTop:"12",desktopRight:"25",desktopBottom:"12",desktopLeft:"25",tabletTop:"12",tabletRight:"25",tabletBottom:"12",tabletLeft:"25",mobileTop:"12",mobileRight:"25",mobileBottom:"12",mobileLeft:"25"},gCopy:!0},blockComponentPrimaryButtonIconOptions:{type:"object",default:{position:"hide",size:""},gCopy:!0},blockComponentPrimaryButtonIconMargin:{type:"object",default:{type:"px",desktopTop:"",desktopRight:"",desktopBottom:"",desktopLeft:"",tabletTop:"",tabletRight:"",tabletBottom:"",tabletLeft:"",mobileTop:"",mobileRight:"",mobileBottom:"",mobileLeft:""},gCopy:!0},blockComponentPrimaryButtonIconPadding:{type:"object",default:{type:"px",desktopTop:"",desktopRight:"",desktopBottom:"",desktopLeft:"",tabletTop:"",tabletRight:"",tabletBottom:"",tabletLeft:"",mobileTop:"",mobileRight:"",mobileBottom:"",mobileLeft:""},gCopy:!0},blockComponentPrimaryButtonBorder:{type:"object",default:{borderStyle:"",borderTop:"",borderRight:"",borderBottom:"",borderLeft:"",borderColorNormal:"",borderColorHover:"",borderRadiusType:"px",borderRadiusTop:"3",borderRadiusRight:"3",borderRadiusBottom:"3",borderRadiusLeft:"3"},gCopy:!0},blockComponentPrimaryButtonBoxShadow:{type:"object",default:{boxShadowColor:"",boxShadowX:"",boxShadowY:"",boxShadowBlur:"",boxShadowSpread:"",boxShadowPosition:""},gCopy:!0},blockComponentPrimaryButtonTypography:{type:"object",default:{fontType:"default",systemFont:"",googleFont:"",customFont:"",desktopFontSize:"16",tabletFontSize:"16",mobileFontSize:"16",fontWeight:"",textTransform:"normal",fontStyle:"",textDecoration:"",desktopLineHeight:"",tabletLineHeight:"",mobileLineHeight:"",desktopLetterSpacing:"",tabletLetterSpacing:"",mobileLetterSpacing:""},gCopy:!0},blockComponentPrimaryButtonIcon:{type:"object",default:{label:"fa-book",value:4==gutentor.fontAwesomeVersion?"fa fa-book":"fas fa-book",code:"f108"}},blockComponentPrimaryButtonText:{type:"string",default:__("View More","gutentor")},blockComponentPrimaryButtonLink:{type:"string",default:"#"},blockComponentPrimaryButtonResponsiveSetting:{type:"object",default:{fullWidthInMobile:!1},gCopy:!0},blockComponentPrimaryButtonClassName:{type:"string",default:"",gCopy:!0}}},function(e,t,n){"use strict";n.d(t,"a",function(){return o});var o={blockButtonGroupAlign:{type:"string",default:"flex-align-left",gCopy:!0},blockButtonDesktopFullwidth:{type:"boolean",default:!1,gCopy:!0},blockButtonTabletFullwidth:{type:"boolean",default:!1,gCopy:!0},blockButtonMobileFullwidth:{type:"boolean",default:!1,gCopy:!0}}},function(e,t,n){"use strict";n.d(t,"a",function(){return o});var __=wp.i18n.__,o={blockComponentSecondaryButtonEnable:{type:"boolean",default:!1,gCopy:!0},blockComponentSecondaryButtonLinkOptions:{type:"object",default:{openInNewTab:!1,rel:""}},blockComponentSecondaryButtonColor:{type:"object",default:{enable:!0,normal:{hex:"#275cf6",rgb:{r:"39",g:"92",b:"246",a:"1"}},hover:{hex:"#1949d4",rgb:{r:"25",g:"73",b:"212",a:"1"}}},gCopy:!0},blockComponentSecondaryButtonTextColor:{type:"object",default:{enable:!0,normal:{hex:"#fff"},hover:""},gCopy:!0},blockComponentSecondaryButtonMargin:{type:"object",default:{type:"px",desktopTop:"",desktopRight:"",desktopBottom:"",desktopLeft:"",tabletTop:"",tabletRight:"",tabletBottom:"",tabletLeft:"",mobileTop:"",mobileRight:"",mobileBottom:"",mobileLeft:""},gCopy:!0},blockComponentSecondaryButtonPadding:{type:"object",default:{type:"px",desktopTop:"12",desktopRight:"25",desktopBottom:"12",desktopLeft:"25",tabletTop:"12",tabletRight:"25",tabletBottom:"12",tabletLeft:"25",mobileTop:"12",mobileRight:"25",mobileBottom:"12",mobileLeft:"25"},gCopy:!0},blockComponentSecondaryButtonIconOptions:{type:"object",default:{position:"hide",size:""},gCopy:!0},blockComponentSecondaryButtonIconMargin:{type:"object",default:{type:"px",desktopTop:"",desktopRight:"",desktopBottom:"",desktopLeft:"",tabletTop:"",tabletRight:"",tabletBottom:"",tabletLeft:"",mobileTop:"",mobileRight:"",mobileBottom:"",mobileLeft:""},gCopy:!0},blockComponentSecondaryButtonIconPadding:{type:"object",default:{type:"px",desktopTop:"",desktopRight:"",desktopBottom:"",desktopLeft:"",tabletTop:"",tabletRight:"",tabletBottom:"",tabletLeft:"",mobileTop:"",mobileRight:"",mobileBottom:"",mobileLeft:""},gCopy:!0},blockComponentSecondaryButtonBorder:{type:"object",default:{borderStyle:"",borderTop:"",borderRight:"",borderBottom:"",borderLeft:"",borderColorNormal:"",borderColorHover:"",borderRadiusType:"px",borderRadiusTop:"3",borderRadiusRight:"3",borderRadiusBottom:"3",borderRadiusLeft:"3"},gCopy:!0},blockComponentSecondaryButtonBoxShadow:{type:"object",default:{boxShadowColor:"",boxShadowX:"",boxShadowY:"",boxShadowBlur:"",boxShadowSpread:"",boxShadowPosition:""},gCopy:!0},blockComponentSecondaryButtonTypography:{type:"object",default:{fontType:"default",systemFont:"",googleFont:"",customFont:"",desktopFontSize:"16",tabletFontSize:"16",mobileFontSize:"16",fontWeight:"",textTransform:"normal",fontStyle:"",textDecoration:"",desktopLineHeight:"",tabletLineHeight:"",mobileLineHeight:"",desktopLetterSpacing:"",tabletLetterSpacing:"",mobileLetterSpacing:""},gCopy:!0},blockComponentSecondaryButtonIcon:{type:"object",default:{label:"fa-book",value:4==gutentor.fontAwesomeVersion?"fa fa-book":"fas fa-book",code:"f108"}},blockComponentSecondaryButtonText:{type:"string",default:__("View More","gutentor")},blockComponentSecondaryButtonLink:{type:"string",default:"#"},blockComponentSecondaryButtonResponsiveSetting:{type:"object",default:{fullWidthInMobile:!1},gCopy:!0},blockComponentSecondaryButtonClassName:{type:"string",default:"",gCopy:!0}}},function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.arrayMove=t.sortableHandle=t.sortableElement=t.sortableContainer=t.SortableHandle=t.SortableElement=t.SortableContainer=void 0;var a=n(63);Object.defineProperty(t,"arrayMove",{enumerable:!0,get:function(){return a.arrayMove}});var r=n(347),l=o(r),i=n(352),s=o(i),c=n(353),u=o(c);t.SortableContainer=l.default,t.SortableElement=s.default,t.SortableHandle=u.default,t.sortableContainer=l.default,t.sortableElement=s.default,t.sortableHandle=u.default},function(e,t,n){"use strict";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 a(e,t,n,a){var r=a.setAttributes,s=function(e){var t=["desktop","tablet","mobile"];for(var n in e)t.includes(n)?e[n]&&"default"!==e[n]||delete e[n]:delete e[n];return e},c=function(n,a){var l=Object.assign({},t);l=s(l),l[a]=n,r(o({},e,l))},u=n.slice(0);"m0ArrowPosition"!==e&&"p3ArrowPosition"!==e||(t&&t.desktop&&"gutentor-slick-a-default"===t.desktop?u.splice(1,5):u.splice(0,1));var p=t&&t.desktop?t.desktop:"",m=t&&t.tablet?t.tablet:"",g=t&&t.mobile?t.mobile:"";return wp.element.createElement("div",{className:"gutentor-single-column-box-wrap"},wp.element.createElement(l.d,null,wp.element.createElement(l.b,null,wp.element.createElement(l.a,null,wp.element.createElement("i",{className:"dashicons dashicons-desktop"})),wp.element.createElement(l.a,null,wp.element.createElement("i",{className:"dashicons dashicons-tablet"})),wp.element.createElement(l.a,null,wp.element.createElement("i",{className:"dashicons dashicons-smartphone"}))),wp.element.createElement(l.c,null,wp.element.createElement(i,{value:p,onChange:function(e){c(e,"desktop")},options:n})),wp.element.createElement(l.c,null,wp.element.createElement(i,{value:m,onChange:function(e){c(e,"tablet")},options:u})),wp.element.createElement(l.c,null,wp.element.createElement(i,{value:g,onChange:function(e){c(e,"mobile")},options:u}))))}function r(e,t,n,a){var r=a.setAttributes,s=function(e){var t=["desktop","tablet","mobile"];for(var n in e)t.includes(n)?e[n]&&"default"!==e[n]||delete e[n]:delete e[n];return e},c=function(n,a){var l=Object.assign({},t);l=s(l),l[a]=n,r(o({},e,l))},u=t&&t.desktop?t.desktop:"",p=t&&t.tablet?t.tablet:"",m=t&&t.mobile?t.mobile:"";return wp.element.createElement("div",{className:"gutentor-single-column-box-wrap"},wp.element.createElement(l.d,null,wp.element.createElement(l.b,null,wp.element.createElement(l.a,null,wp.element.createElement("i",{className:"dashicons dashicons-desktop"})),wp.element.createElement(l.a,null,wp.element.createElement("i",{className:"dashicons dashicons-tablet"})),wp.element.createElement(l.a,null,wp.element.createElement("i",{className:"dashicons dashicons-smartphone"}))),wp.element.createElement(l.c,null,wp.element.createElement(i,{value:u,onChange:function(e){c(e,"desktop")},options:n})),wp.element.createElement(l.c,null,wp.element.createElement(i,{value:p,onChange:function(e){c(e,"tablet")},options:n})),wp.element.createElement(l.c,null,wp.element.createElement(i,{value:m,onChange:function(e){c(e,"mobile")},options:n}))))}n.d(t,"b",function(){return a}),n.d(t,"a",function(){return r});var l=n(2),i=wp.components.SelectControl},function(e,t,n){"use strict";n.d(t,"a",function(){return o});var o={blockSingleItemBoxColor:{type:"object",default:{enable:!0,normal:"",hover:""},gCopy:!0},blockSingleItemBoxBorder:{type:"object",default:{borderStyle:"none",borderTop:"",borderRight:"",borderBottom:"",borderLeft:"",borderColorNormal:"",borderColorHover:"",borderRadiusType:"px",borderRadiusTop:"",borderRadiusRight:"",borderRadiusBottom:"",borderRadiusLeft:""},gCopy:!0},blockSingleItemBoxShadowOptions:{type:"object",default:{boxShadowColor:"",boxShadowX:"",boxShadowY:"",boxShadowBlur:"",boxShadowSpread:"",boxShadowPosition:""},gCopy:!0},blockSingleItemBoxMargin:{type:"object",default:{type:"px",desktopTop:"",desktopRight:"",desktopBottom:"",desktopLeft:"",tabletTop:"",tabletRight:"",tabletBottom:"",tabletLeft:"",mobileTop:"",mobileRight:"",mobileBottom:"",mobileLeft:""},gCopy:!0},blockSingleItemBoxPadding:{type:"object",default:{type:"px",desktopTop:"",desktopRight:"",desktopBottom:"",desktopLeft:"",tabletTop:"",tabletRight:"",tabletBottom:"",tabletLeft:"",mobileTop:"",mobileRight:"",mobileBottom:"",mobileLeft:""},gCopy:!0}}},function(e,t,n){"use strict";n.d(t,"a",function(){return o});var __=wp.i18n.__,o={blockItemTitle:{type:"string",default:__("Title","gutentor")},blockSingleItemTitleEnable:{type:"boolean",default:!0,gCopy:!0},blockSingleItemTitleTag:{type:"string",default:"h3",gCopy:!0},blockSingleItemTitleColor:{type:"object",default:{enable:!1,normal:"",hover:""},gCopy:!0},blockSingleItemTitleTypography:{type:"object",default:{fontType:"default",systemFont:"",googleFont:"",customFont:"",desktopFontSize:"",tabletFontSize:"",mobileFontSize:"",fontWeight:"",textTransform:"",fontStyle:"",textDecoration:"",desktopLineHeight:"",tabletLineHeight:"",mobileLineHeight:"",desktopLetterSpacing:"",tabletLetterSpacing:"",mobileLetterSpacing:""},gCopy:!0},blockSingleItemTitleMargin:{type:"object",default:{type:"px",desktopTop:"",desktopRight:"",desktopBottom:"",desktopLeft:"",tabletTop:"",tabletRight:"",tabletBottom:"",tabletLeft:"",mobileTop:"",mobileRight:"",mobileBottom:"",mobileLeft:""},gCopy:!0},blockSingleItemTitlePadding:{type:"object",default:{type:"px",desktopTop:"",desktopRight:"",desktopBottom:"",desktopLeft:"",tabletTop:"",tabletRight:"",tabletBottom:"",tabletLeft:"",mobileTop:"",mobileRight:"",mobileBottom:"",mobileLeft:""},gCopy:!0}}},function(e,t,n){"use strict";n.d(t,"a",function(){return o});var __=wp.i18n.__,o={blockItemDescription:{type:"string",default:__("Short Description","gutentor")},blockSingleItemDescriptionEnable:{type:"boolean",default:!0,gCopy:!0},blockSingleItemDescriptionTag:{type:"string",default:"p",gCopy:!0},blockSingleItemDescriptionColor:{type:"object",default:{enable:!1,normal:"",hover:""},gCopy:!0},blockSingleItemDescriptionTypography:{type:"object",default:{fontType:"default",systemFont:"",googleFont:"",customFont:"",desktopFontSize:"",tabletFontSize:"",mobileFontSize:"",fontWeight:"",textTransform:"",fontStyle:"",textDecoration:"",desktopLineHeight:"",tabletLineHeight:"",mobileLineHeight:"",desktopLetterSpacing:"",tabletLetterSpacing:"",mobileLetterSpacing:""},gCopy:!0},blockSingleItemDescriptionMargin:{type:"object",default:{type:"px",desktopTop:"",desktopRight:"",desktopBottom:"",desktopLeft:"",tabletTop:"",tabletRight:"",tabletBottom:"",tabletLeft:"",mobileTop:"",mobileRight:"",mobileBottom:"",mobileLeft:""},gCopy:!0},blockSingleItemDescriptionPadding:{type:"object",default:{type:"px",desktopTop:"",desktopRight:"",desktopBottom:"",desktopLeft:"",tabletTop:"",tabletRight:"",tabletBottom:"",tabletLeft:"",mobileTop:"",mobileRight:"",mobileBottom:"",mobileLeft:""},gCopy:!0}}},function(e,t,n){"use strict";n.d(t,"a",function(){return o});var __=wp.i18n.__,o={blockItemButtonIcon:{type:"object",default:{label:"fa-book",value:4==gutentor.fontAwesomeVersion?"fa fa-book":"fas fa-book",code:"f108"}},blockItemButtonText:{type:"string",default:__("Read More","gutentor")},blockItemButtonLink:{type:"string",default:"#"},blockSingleItemButtonEnable:{type:"boolean",default:!1,gCopy:!0},blockSingleItemButtonLinkOptions:{type:"object",default:{openInNewTab:!1,rel:""}},blockSingleItemButtonColor:{type:"object",default:{enable:!0,normal:{hex:"#275cf6",rgb:{r:"39",g:"92",b:"246",a:"1"}},hover:{hex:"#1949d4",rgb:{r:"25",g:"73",b:"212",a:"1"}}},gCopy:!0},blockSingleItemButtonTextColor:{type:"object",default:{enable:!0,normal:{hex:"#fff"},hover:""},gCopy:!0},blockSingleItemButtonMargin:{type:"object",default:{type:"px",desktopTop:"",desktopRight:"",desktopBottom:"",desktopLeft:"",tabletTop:"",tabletRight:"",tabletBottom:"",tabletLeft:"",mobileTop:"",mobileRight:"",mobileBottom:"",mobileLeft:""},gCopy:!0},blockSingleItemButtonPadding:{type:"object",default:{type:"px",desktopTop:"10",desktopRight:"15",desktopBottom:"10",desktopLeft:"15",tabletTop:"10",tabletRight:"15",tabletBottom:"10",tabletLeft:"15",mobileTop:"10",mobileRight:"15",mobileBottom:"10",mobileLeft:"15"},gCopy:!0},blockSingleItemButtonIconOptions:{type:"object",default:{position:"hide",size:""},gCopy:!0},blockSingleItemButtonIconMargin:{type:"object",default:{type:"px",desktopTop:"",desktopRight:"",desktopBottom:"",desktopLeft:"",tabletTop:"",tabletRight:"",tabletBottom:"",tabletLeft:"",mobileTop:"",mobileRight:"",mobileBottom:"",mobileLeft:""},gCopy:!0},blockSingleItemButtonIconPadding:{type:"object",default:{type:"px",desktopTop:"",desktopRight:"",desktopBottom:"",desktopLeft:"",tabletTop:"",tabletRight:"",tabletBottom:"",tabletLeft:"",mobileTop:"",mobileRight:"",mobileBottom:"",mobileLeft:""},gCopy:!0},blockSingleItemButtonBorder:{type:"object",default:{borderStyle:"",borderTop:"",borderRight:"",borderBottom:"",borderLeft:"",borderColorNormal:"",borderColorHover:"",borderRadiusType:"px",borderRadiusTop:"3",borderRadiusRight:"3",borderRadiusBottom:"3",borderRadiusLeft:"3"},gCopy:!0},blockSingleItemButtonBoxShadow:{type:"object",default:{boxShadowColor:"",boxShadowX:"",boxShadowY:"",boxShadowBlur:"",boxShadowSpread:"",boxShadowPosition:""},gCopy:!0},blockSingleItemButtonTypography:{type:"object",default:{fontType:"default",systemFont:"",googleFont:"",customFont:"",desktopFontSize:"14",tabletFontSize:"14",mobileFontSize:"14",fontWeight:"",textTransform:"normal",fontStyle:"",textDecoration:"",desktopLineHeight:"",tabletLineHeight:"",mobileLineHeight:"",desktopLetterSpacing:"",tabletLetterSpacing:"",mobileLetterSpacing:""},gCopy:!0},blockSingleItemButtonIcon:{type:"object",default:{label:"fa-book",value:4===gutentor.fontAwesomeVersion?"fa fa-book":"fas fa-book",code:"f108"}},blockSingleItemButtonText:{type:"string",default:__("View More","gutentor")},blockSingleItemButtonLink:{type:"string",default:"#"},blockItemButtonClassName:{type:"string",default:"",gCopy:!0}}},function(e,t,n){"use strict";n.d(t,"a",function(){return o});var o={eAnimation:{type:"object",gCopy:!0},eOnPos:{type:"boolean",default:!1,gCopy:!0},ePosTypeD:{type:"string",default:"g-pos-d",gCopy:!0},ePosOptD:{type:"string",default:"default",gCopy:!0},ePosMarginAutoD:{type:"boolean",default:!1,gCopy:!0},ePosTypeT:{type:"string",default:"g-pos-d",gCopy:!0},ePosOptT:{type:"string",default:"default",gCopy:!0},ePosMarginAutoT:{type:"boolean",default:!1,gCopy:!0},ePosTypeM:{type:"string",default:"g-pos-d",gCopy:!0},ePosOptM:{type:"string",default:"default",gCopy:!0},ePosMarginAutoM:{type:"boolean",default:!1,gCopy:!0},ePosD:{type:"object",gCopy:!0},ePosDWidth:{type:"object",default:{type:"%",width:""},gCopy:!0},ePosT:{type:"object",gCopy:!0},ePosTWidth:{type:"object",default:{type:"%",width:""},gCopy:!0},ePosM:{type:"object",gCopy:!0},ePosMWidth:{type:"object",default:{type:"%",width:""},gCopy:!0},eZIndex:{type:"object",gCopy:!0},eHideMode:{type:"object",gCopy:!0},eRawCustomCss:{type:"string",default:"",gCopy:!0}}},function(e,t,n){e.exports=n(355)},function(e,t,n){"use strict";function o(e){return!!["gutentor-cat-pos-img-top-left","gutentor-cat-pos-img-top-right","gutentor-cat-pos-img-bottom-left","gutentor-cat-pos-img-bottom-right"].includes(e)}function a(e){return!!["gutentor-pf-pos-img-top-left","gutentor-pf-pos-img-top-right","gutentor-pf-pos-img-bottom-left","gutentor-pf-pos-img-bottom-right"].includes(e)}function r(e){return!!["g-avatar-img-t-l","g-avatar-img-t-r","g-avatar-img-b-l","g-avatar-img-b-r"].includes(e)}function l(e){return!!["g-avatar-img-fp-t-l","g-avatar-img-fp-t-r","g-avatar-img-fp-b-l","g-avatar-img-fp-b-r"].includes(e)}function i(e){return!!["g-avatar-b-title-l","g-avatar-b-title-r"].includes(e)}function s(e){return"product"===e?{rTypeN:"px"}:{rTypeN:"px",rTypeH:"px",rTopN:"5",rTopH:"5",rRightN:"5",rRightH:"5",rBottomN:"5",rBottomH:"5",rLeftN:"5",rLeftH:"5"}}function c(e){return"product"===e||"download"===e?{rTypeN:"px"}:{rTypeN:"%",rTypeH:"%",rTopN:"50",rTopH:"50",rRightN:"50",rRightH:"50",rBottomN:"50",rBottomH:"50",rLeftN:"50",rLeftH:"50"}}function u(e){return"product"===e||"download"===e?{type:"px",mTop:"10",mRight:"10",mBottom:"10",mLeft:"10"}:{type:"px",mTop:"20",mRight:"20",mBottom:"20",mLeft:"20"}}function p(e){return"product"===e?{type:"px",mTop:"10",mRight:"10",mBottom:"10",mLeft:"10"}:{type:"px",mTop:"5",mRight:"10",mBottom:"5",mLeft:"10"}}function m(e,t){if("product"===t||"download"===t){e.some(function(e){return"meta-tag"===e.itemValue})||e.unshift({itemValue:"meta-tag",itemLabel:__("Tag","gutentor")}),e=e.filter(function(e){return"meta-date"!==e.itemValue&&"meta-category"!==e.itemValue})}else if("post"===t){var n=e.some(function(e){return"meta-date"===e.itemValue}),o=e.some(function(e){return"meta-category"===e.itemValue}),a=e.some(function(e){return"meta-tag"===e.itemValue});n||e.unshift({itemValue:"meta-date",itemLabel:__("Date","gutentor")}),o||e.unshift({itemValue:"meta-category",itemLabel:__("Category","gutentor")}),a||e.unshift({itemValue:"meta-tag",itemLabel:__("Tag","gutentor")})}else{var r=e.some(function(e){return"meta-date"===e.itemValue});r||e.unshift({itemValue:"meta-date",itemLabel:__("Date","gutentor")}),e=e.filter(function(e){return"meta-category"!==e.itemValue&&"meta-tag"!==e.itemValue})}return e}function g(e,t){return"download"===t&&"gutentor_p1_template4"===e?{type:"px",mBottom:"0"}:{type:"px",mBottom:""}}function d(e,t){return"download"===t&&"gutentor_p1_template4"===e?{type:"px",mBottom:"0",mLeft:"10"}:{type:"px",mBottom:"",mLeft:""}}function f(e,t){return"download"!=t&&"gutentor_p1_template4"===e?"gutentor_p1_template1":e}function b(e){return e=e.map(JSON.stringify).reverse().filter(function(e,t,n){return-1===n.indexOf(e,t+1)}).reverse().map(JSON.parse)}function h(e){return e.some(function(e){return"g-avatar-sorting"===e.value})||e.push({value:"g-avatar-sorting",label:__("Sorting","gutentor")}),e=e.map(JSON.stringify).reverse().filter(function(e,t,n){return-1===n.indexOf(e,t+1)}).reverse().map(JSON.parse)}n.d(t,"i",function(){return m}),n.d(t,"d",function(){return o}),n.d(t,"e",function(){return a}),n.d(t,"b",function(){return r}),n.d(t,"a",function(){return l}),n.d(t,"c",function(){return i}),n.d(t,"j",function(){return s}),n.d(t,"k",function(){return c}),n.d(t,"l",function(){return u}),n.d(t,"h",function(){return p}),n.d(t,"m",function(){return g}),n.d(t,"n",function(){return d}),n.d(t,"o",function(){return f}),n.d(t,"f",function(){return b}),n.d(t,"g",function(){return h});var __=wp.i18n.__},function(e,t,n){"use strict";n.d(t,"a",function(){return o});var o={blockItemsColumn:{type:"object",default:{desktop:"grid-lg-4",tablet:"grid-md-4",mobile:"grid-12"},gCopy:!0},blockNonRepeaterTabletFullWidth:{type:"boolean",default:!1,gCopy:!0},blockNonRepeaterMobileFullWidth:{type:"boolean",default:!1,gCopy:!0}}},function(e,t,n){"use strict";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 a(e,t,n){var a=n.setAttributes,r=function(e){var t=["styleN","styleH","styleA","topN","topH","topA","rightN","rightH","rightA","bottomN","bottomH","bottomA","leftN","leftH","leftA","colorN","colorH","colorA","rTypeN","rTypeH","rTypeA","rTopN","rTopH","rTopA","rRightN","rRightH","rRightA","rBottomN","rBottomH","rBottomA","rLeftN","rLeftH","rLeftA"];for(var n in e)t.includes(n)?e[n]||delete e[n]:delete e[n];return e},i=function(n,l){var i=Object.assign({},t);i[l]=n,"colorN"===l&&(i[l]=n.rgb&&1!==n.rgb.a?"rgba("+n.rgb.r+","+n.rgb.g+","+n.rgb.b+","+n.rgb.a+")":n.hex),"colorH"===l&&(i[l]=n.rgb&&1!==n.rgb.a?"rgba("+n.rgb.r+","+n.rgb.g+","+n.rgb.b+","+n.rgb.a+")":n.hex),"colorA"===l&&(i[l]=n.rgb&&1!==n.rgb.a?"rgba("+n.rgb.r+","+n.rgb.g+","+n.rgb.b+","+n.rgb.a+")":n.hex),"styleN"===l?"none"===n&&(delete i.topN,delete i.rightN,delete i.bottomN,delete i.leftN,delete i.colorN,delete i[l]):"styleN"===l?"none"===n&&(delete i.topH,delete i.rightH,delete i.bottomH,delete i.leftH,delete i.colorH,delete i[l]):"styleA"===l&&"none"===n&&(delete i.topA,delete i.rightA,delete i.bottomA,delete i.leftA,delete i.colorA,delete i[l]),i=r(i),a(o({},e,i))},c=t&&t.styleN?t.styleN:"none",p=t&&t.topN?t.topN:"",f=t&&t.rightN?t.rightN:"",b=t&&t.bottomN?t.bottomN:"",h=t&&t.leftN?t.leftN:"",v=t&&t.colorN?t.colorN:"",w=t&&t.rTypeN?t.rTypeN:"px",y=t&&t.rTopN?t.rTopN:"",_=t&&t.rRightN?t.rRightN:"",k=t&&t.rBottomN?t.rBottomN:"",E=t&&t.rLeftN?t.rLeftN:"",C=t&&t.styleH?t.styleH:"none",O=t&&t.topH?t.topH:"",j=t&&t.rightH?t.rightH:"",x=t&&t.bottomH?t.bottomH:"",I=t&&t.leftH?t.leftH:"",T=t&&t.colorH?t.colorH:"",F=t&&t.rTypeH?t.rTypeH:"px",B=t&&t.rTopH?t.rTopH:"",S=t&&t.rRightH?t.rRightH:"",N=t&&t.rBottomH?t.rBottomH:"",P=t&&t.rLeftH?t.rLeftH:"",A=t&&t.styleA?t.styleA:"none",M=t&&t.topA?t.topA:"",D=t&&t.rightA?t.rightA:"",H=t&&t.bottomA?t.bottomA:"",L=t&&t.leftA?t.leftA:"",R=t&&t.colorA?t.colorA:"",V=t&&t.rTypeA?t.rTypeA:"px",W=t&&t.rTopA?t.rTopA:"",z=t&&t.rRightA?t.rRightA:"",G=t&&t.rBottomA?t.rBottomA:"",U=t&&t.rLeftA?t.rLeftA:"";return wp.element.createElement("div",{className:"gutentor-single-border-four-border-wrap"},function(){var e=wp.element.createElement(m,{label:__("Border Type","gutentor"),value:c||"",options:u.i,onChange:function(e){return i(e,"styleN")}}),t=wp.element.createElement(m,{label:__("Border Type","gutentor"),value:C||"",options:u.i,onChange:function(e){return i(e,"styleH")}}),n=wp.element.createElement(m,{label:__("Border Type","gutentor"),value:A||"",options:u.i,onChange:function(e){return i(e,"styleA")}}),o="";c&&"none"!==c&&(o=wp.element.createElement("div",{className:"gutentor-border-options-wrap"},wp.element.createElement("div",{className:"gutentor-border-border-wrap gutentor-display-flex"},wp.element.createElement(d,{label:__("Top","gutentor"),type:"number",value:p,onChange:function(e){return i(e,"topN")},min:0,max:1e3}),wp.element.createElement(d,{label:__("Right","gutentor"),type:"number",value:f,onChange:function(e){return i(e,"rightN")},min:0,max:100}),wp.element.createElement(d,{label:__("Bottom","gutentor"),type:"number",value:b,onChange:function(e){return i(e,"bottomN")},min:0,max:1e3}),wp.element.createElement(d,{label:__("Left","gutentor"),type:"number",value:h,onChange:function(e){return i(e,"leftN")},min:0,max:1e3})),wp.element.createElement(l.a,{value:v,label:__("Color","gutentor"),onChange:function(e){return i(e,"colorN")},disableAlpha:!1})));var a="";C&&"none"!==C&&(a=wp.element.createElement("div",{className:"gutentor-border-options-wrap"},wp.element.createElement("div",{className:"gutentor-border-border-wrap gutentor-display-flex"},wp.element.createElement(d,{label:__("Top","gutentor"),type:"number",value:O,onChange:function(e){return i(e,"topH")},min:0,max:1e3}),wp.element.createElement(d,{label:__("Right","gutentor"),type:"number",value:j,onChange:function(e){return i(e,"rightH")},min:0,max:100}),wp.element.createElement(d,{label:__("Bottom","gutentor"),type:"number",value:x,onChange:function(e){return i(e,"bottomH")},min:0,max:1e3}),wp.element.createElement(d,{label:__("Left","gutentor"),type:"number",value:I,onChange:function(e){return i(e,"leftH")},min:0,max:1e3})),wp.element.createElement(l.a,{value:T,label:__("Color","gutentor"),onChange:function(e){return i(e,"colorH")},disableAlpha:!1})));var r="";A&&"none"!==A&&(r=wp.element.createElement("div",{className:"gutentor-border-options-wrap"},wp.element.createElement("div",{className:"gutentor-border-border-wrap gutentor-display-flex"},wp.element.createElement(d,{label:__("Top","gutentor"),type:"number",value:M,onChange:function(e){return i(e,"topA")},min:0,max:1e3}),wp.element.createElement(d,{label:__("Right","gutentor"),type:"number",value:D,onChange:function(e){return i(e,"rightA")},min:0,max:100}),wp.element.createElement(d,{label:__("Bottom","gutentor"),type:"number",value:H,onChange:function(e){return i(e,"bottomA")},min:0,max:1e3}),wp.element.createElement(d,{label:__("Left","gutentor"),type:"number",value:L,onChange:function(e){return i(e,"leftA")},min:0,max:1e3})),wp.element.createElement(l.a,{value:R,label:__("Color","gutentor"),onChange:function(e){return i(e,"colorA")},disableAlpha:!1})));var q=wp.element.createElement("div",{className:"gutentor-border-radius-options-wrap"},wp.element.createElement("label",{className:"gutentor-group-label"},__("Border Radius","gutentor")),wp.element.createElement(g,{selected:w,options:[{label:"%",value:"%"},{label:"px",value:"px"}],onChange:function(e){return i(e,"rTypeN")}}),wp.element.createElement("div",{className:"gutentor-border-radius-border-wrap gutentor-display-flex"},wp.element.createElement(d,{label:__("Top","gutentor"),type:"number",value:y,onChange:function(e){return i(e,"rTopN")},min:1,max:100}),wp.element.createElement(d,{label:__("Right","gutentor"),type:"number",value:_,onChange:function(e){return i(e,"rRightN")},min:1,max:100}),wp.element.createElement(d,{label:__("Bottom","gutentor"),type:"number",value:k,onChange:function(e){return i(e,"rBottomN")},min:1,max:100}),wp.element.createElement(d,{label:__("Left","gutentor"),type:"number",value:E,onChange:function(e){return i(e,"rLeftN")},min:1,max:100}))),Y=wp.element.createElement("div",{className:"gutentor-border-radius-options-wrap"},wp.element.createElement("label",{className:"gutentor-group-label"},__("Border Radius","gutentor")),wp.element.createElement(g,{selected:F,options:[{label:"%",value:"%"},{label:"px",value:"px"}],onChange:function(e){return i(e,"rTypeH")}}),wp.element.createElement("div",{className:"gutentor-border-radius-border-wrap gutentor-display-flex"},wp.element.createElement(d,{label:__("Top","gutentor"),type:"number",value:B,onChange:function(e){return i(e,"rTopH")},min:1,max:100}),wp.element.createElement(d,{label:__("Right","gutentor"),type:"number",value:S,onChange:function(e){return i(e,"rRightH")},min:1,max:100}),wp.element.createElement(d,{label:__("Bottom","gutentor"),type:"number",value:N,onChange:function(e){return i(e,"rBottomH")},min:1,max:100}),wp.element.createElement(d,{label:__("Left","gutentor"),type:"number",value:P,onChange:function(e){return i(e,"rLeftH")},min:1,max:100}))),K=wp.element.createElement("div",{className:"gutentor-border-radius-options-wrap"},wp.element.createElement("label",{className:"gutentor-group-label"},__("Border Radius","gutentor")),wp.element.createElement(g,{selected:V,options:[{label:"%",value:"%"},{label:"px",value:"px"}],onChange:function(e){return i(e,"rTypeA")}}),wp.element.createElement("div",{className:"gutentor-border-radius-border-wrap gutentor-display-flex"},wp.element.createElement(d,{label:__("Top","gutentor"),type:"number",value:W,onChange:function(e){return i(e,"rTopA")},min:1,max:100}),wp.element.createElement(d,{label:__("Right","gutentor"),type:"number",value:z,onChange:function(e){return i(e,"rRightA")},min:1,max:100}),wp.element.createElement(d,{label:__("Bottom","gutentor"),type:"number",value:G,onChange:function(e){return i(e,"rBottomA")},min:1,max:100}),wp.element.createElement(d,{label:__("Left","gutentor"),type:"number",value:U,onChange:function(e){return i(e,"rLeftA")},min:1,max:100})));return wp.element.createElement("div",{className:"gutentor-border-border-wrap"},wp.element.createElement(s.d,null,wp.element.createElement(s.b,null,wp.element.createElement(s.a,null,__("Normal","gutentor")),wp.element.createElement(s.a,null,__("Hover","gutentor")),wp.element.createElement(s.a,null,__("Active","gutentor"))),wp.element.createElement(s.c,null,e,o,q),wp.element.createElement(s.c,null,t,a,Y),wp.element.createElement(s.c,null,n,r,K)))}())}function r(e){if(null===e)return"";var t=e&&e.styleA?e.styleA:"none",n=e&&e.topA?e.topA:"",o=e&&e.rightA?e.rightA:"",a=e&&e.bottomA?e.bottomA:"",r=e&&e.leftA?e.leftA:"",l=e&&e.colorA?e.colorA:"",s=e&&e.rTypeA?e.rTypeA:"px",c=e&&e.rTopA?e.rTopA:"",u=e&&e.rRightA?e.rRightA:"",p=e&&e.rBottomA?e.rBottomA:"",m=e&&e.rLeftA?e.rLeftA:"",g=n||0,d=o||0,f=a||0,b=r||0;return Object(i.c)("border-style","none"!==t?t:null)+Object(i.c)("border-width","none"!==t?g+"px "+d+"px "+f+"px "+b+"px ":null)+Object(i.c)("border-color","none"!==t&&l?l:null)+Object(i.c)("border-top-left-radius",c?c+s:null)+Object(i.c)("border-top-right-radius",u?u+s:null)+Object(i.c)("border-bottom-right-radius",p?p+s:null)+Object(i.c)("border-bottom-left-radius",m?m+s:null)}n.d(t,"d",function(){return a}),n.d(t,"a",function(){return r});var l=n(3),i=n(1),s=n(2),c=n(10),u=n(9);n.d(t,"b",function(){return c.a}),n.d(t,"e",function(){return c.c}),n.d(t,"c",function(){return c.b});var __=wp.i18n.__,p=wp.components,m=p.SelectControl,g=p.RadioControl,d=p.TextControl;p.BaseControl},function(e,t,n){(function(t){if("production"!==t.env.NODE_ENV){var o="function"===typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,a=function(e){return"object"===typeof e&&null!==e&&e.$$typeof===o};e.exports=n(348)(a,!0)}else e.exports=n(350)()}).call(t,n(18))},function(e,t,n){"use strict";n.d(t,"a",function(){return o});var o={image:{type:"object",default:""},blockImageBoxImageOverlayColor:{type:"object",default:{enable:!1,normal:"",hover:""},gCopy:!0},blockFullImageEnable:{type:"boolean",default:!1,gCopy:!0},blockEnableImageBoxWidth:{type:"boolean",default:!1,gCopy:!0},blockImageBoxWidth:{type:"object",default:{type:"px",desktop:"",tablet:"",mobile:""},gCopy:!0},blockEnableImageBoxHeight:{type:"boolean",default:!1,gCopy:!0},blockImageBoxHeight:{type:"object",default:{type:"px",desktop:"",tablet:"",mobile:""},gCopy:!0},blockEnableImageBoxDisplayOptions:{type:"boolean",default:!1,gCopy:!0},blockImageBoxDisplayOptions:{type:"string",default:"normal-image",gCopy:!0},blockImageBoxBackgroundImageOptions:{type:"object",default:{backgroundImage:"",desktopHeight:"",tabletHeight:"",mobileHeight:"",type:"px",backgroundSize:"cover",backgroundPosition:"center",backgroundRepeat:"no-repeat",backgroundAttachment:"scroll"},gCopy:!0},blockEnableImageBoxBorder:{type:"boolean",default:!1,gCopy:!0},blockImageBoxBorder:{type:"object",default:{borderStyle:"none",borderTop:"",borderRight:"",borderBottom:"",borderLeft:"",borderColorNormal:"",borderColorHover:"",borderRadiusType:"px",borderRadiusTop:"",borderRadiusRight:"",borderRadiusBottom:"",borderRadiusLeft:""},gCopy:!0},blockImageBoxMargin:{type:"object",default:{type:"px",desktopTop:"",desktopRight:"",desktopBottom:"",desktopLeft:"",tabletTop:"",tabletRight:"",tabletBottom:"",tabletLeft:"",mobileTop:"",mobileRight:"",mobileBottom:"",mobileLeft:""},gCopy:!0},blockImageBoxPadding:{type:"object",default:{type:"px",desktopTop:"",desktopRight:"",desktopBottom:"",desktopLeft:"",tabletTop:"",tabletRight:"",tabletBottom:"",tabletLeft:"",mobileTop:"",mobileRight:"",mobileBottom:"",mobileLeft:""},gCopy:!0},blockImageBoxLinkOptionsEnable:{type:"boolean",default:!1},blockImageBoxLinkUrl:{type:"string",default:"#"},blockImageBoxLinkOpenNewTab:{type:"boolean",default:!1},blockImageBoxLinkRel:{type:"string",default:"noopener noreferrer"},blockImageBoxLinkClass:{type:"string",gCopy:!0}}},function(e,t,n){"use strict";n.d(t,"a",function(){return o});var o={mAnimation:{type:"object",default:{Animation:"none",Delay:"",Speed:"",IterationType:"1",Iteration:"1"},gCopy:!0},mBGType:{type:"string",gCopy:!0},mBGImageSrc:{type:"string",default:"self-hosted-local",gCopy:!0},mBGImage:{type:"object",gCopy:!0},mBGImageUrl:{type:"string",default:"",gCopy:!0},mBGImageSizeType:{type:"string",default:"full",gCopy:!0},mBGVideo:{type:"object",gCopy:!0},mBGVideoSrc:{type:"string",default:"self-hosted-local",gCopy:!0},mBGVideoUrl:{type:"string",default:"https://www.youtube.com/watch?v=bGMi7L78hVk",gCopy:!0},mBGColor:{type:"string",gCopy:!0},mBGGradient:{type:"string",gCopy:!0},mBGImgSize:{type:"string",gCopy:!0},mBGImgPos:{type:"string",gCopy:!0},mBGImgRepeat:{type:"string",gCopy:!0},mBGImgAttach:{type:"string",gCopy:!0},mBGVideoLoop:{type:"boolean",default:!0,gCopy:!0},mBGVideoMute:{type:"boolean",default:!0,gCopy:!0},mOnOverlay:{type:"boolean",default:!1,gCopy:!0},mOverlayColor:{type:"string",gCopy:!0},mHideMode:{type:"object",gCopy:!0},mBxBorder:{type:"object",gCopy:!0},mMargin:{type:"object",gCopy:!0},mPadding:{type:"object",gCopy:!0},mBxShadow:{type:"object",gCopy:!0},mTag:{type:"string",default:"section",gCopy:!0},mID:{type:"string",default:"",gCopy:!0},mTShapeOpt:{type:"string",default:"gb-svg",gCopy:!0},mTShapeImg:{type:"object",default:"",gCopy:!0},mTShapeImgSizeType:{type:"string",default:"full",gCopy:!0},mTShapeSVGOpt:{type:"string",default:"gb-svg-default",gCopy:!0},mTShapeCustomSVG:{type:"string",default:"",gCopy:!0},mTShape:{type:"string",default:"",gCopy:!0},mTShapeOnColor:{type:"boolean",default:"",gCopy:!0},mTShapeVFlip:{type:"boolean",default:!1,gCopy:!0},mTShapeHFlip:{type:"boolean",default:!1,gCopy:!0},mTShapeColor:{type:"string",gCopy:!0},mTShapeHeight:{type:"object",gCopy:!0},mTShapeWidth:{type:"object",gCopy:!0},mTShapePos:{type:"boolean",default:"",gCopy:!0},mBShapeOpt:{type:"string",default:"gb-svg",gCopy:!0},mBShapeImg:{type:"object",default:"",gCopy:!0},mBShapeImgSizeType:{type:"string",default:"full",gCopy:!0},mBShapeSVGOpt:{type:"string",default:"gb-svg-default",gCopy:!0},mBShapeCustomSVG:{type:"string",default:"",gCopy:!0},mBShape:{type:"string",default:"",gCopy:!0},mBShapeOnColor:{type:"boolean",default:"",gCopy:!0},mBShapeVFlip:{type:"boolean",default:!1,gCopy:!0},mBShapeHFlip:{type:"boolean",default:!1,gCopy:!0},mBShapeColor:{type:"string",gCopy:!0},mBShapeHeight:{type:"object",gCopy:!0},mBShapeWidth:{type:"object",gCopy:!0},mBShapePos:{type:"boolean",default:"",gCopy:!0},mOnPos:{type:"boolean",default:!1,gCopy:!0},mContOnVAlign:{type:"boolean",default:!1,gCopy:!0},mContVAlign:{type:"string",default:"g-c-r-valign",gCopy:!0},mContVAlignT:{type:"string",default:"g-c-r-valign",gCopy:!0},mContVAlignD:{type:"string",default:"g-c-r-valign",gCopy:!0},mPosTypeD:{type:"string",default:"g-pos-d",gCopy:!0},mPosOptD:{type:"string",default:"default",gCopy:!0},mPosMarginAutoD:{type:"boolean",default:!1,gCopy:!0},mPosTypeT:{type:"string",default:"g-pos-d",gCopy:!0},mPosOptT:{type:"string",default:"default",gCopy:!0},mPosMarginAutoT:{type:"boolean",default:!1,gCopy:!0},mPosTypeM:{type:"string",default:"g-pos-d",gCopy:!0},mPosOptM:{type:"string",default:"default",gCopy:!0},mPosMarginAutoM:{type:"boolean",default:!1,gCopy:!0},mPosD:{type:"object",gCopy:!0},mPosDWidth:{type:"object",default:{type:"%",width:""},gCopy:!0},mPosT:{type:"object",gCopy:!0},mPosTWidth:{type:"object",default:{type:"%",width:""},gCopy:!0},mPosM:{type:"object",gCopy:!0},mPosMWidth:{type:"object",default:{type:"%",width:""},gCopy:!0},mZIndex:{type:"object",gCopy:!0},mOnHeight:{type:"boolean",default:!1,gCopy:!0},mHeight:{type:"object",gCopy:!0},mHideContSpace:{type:"object",gCopy:!0},mHideRowSpace:{type:"object",gCopy:!0},mHideColSpace:{type:"object",gCopy:!0},mRawCustomCss:{type:"string",default:"",gCopy:!0}}},function(e,t,n){"use strict";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 a(e){var t=e&&e.aColor?e.aColor:"",n=e&&e.aX?e.aX:"",o=e&&e.aY?e.aY:"",a=e&&e.aBlur?e.aBlur:"",r=e&&e.aSpread?e.aSpread:"",l=e&&e.aPos?e.aPos:"";return Object(s.c)("box-shadow",n&&o&&a&&r&&t?n+"px "+o+"px "+a+"px "+r+"px "+t+" "+l:null)}function r(e,t,n){var a=(n.attributes,n.className,n.setAttributes),r=function(e){var t=["nColor","hColor","aColor","nX","hX","aX","nY","hY","aY","nBlur","hBlur","aBlur","nSpread","hSpread","aSpread","nPos","hPos","aPos"];for(var n in e)t.includes(n)?e[n]||delete e[n]:delete e[n];return e},s=function(n,l){var i=Object.assign({},t);i[l]=n,"nColor"===l&&(i[l]=n.rgb&&1!==n.rgb.a?"rgba("+n.rgb.r+","+n.rgb.g+","+n.rgb.b+","+n.rgb.a+")":n.hex),"hColor"===l&&(i[l]=n.rgb&&1!==n.rgb.a?"rgba("+n.rgb.r+","+n.rgb.g+","+n.rgb.b+","+n.rgb.a+")":n.hex),"aColor"===l&&(i[l]=n.rgb&&1!==n.rgb.a?"rgba("+n.rgb.r+","+n.rgb.g+","+n.rgb.b+","+n.rgb.a+")":n.hex),i=r(i),a(o({},e,i))},c=t&&t.nColor?t.nColor:"",p=t&&t.nX?t.nX:"",d=t&&t.nY?t.nY:"",f=t&&t.nBlur?t.nBlur:"",b=t&&t.nSpread?t.nSpread:"",h=t&&t.nPos?t.nPos:"",v=t&&t.hColor?t.hColor:"",w=t&&t.hX?t.hX:"",y=t&&t.hY?t.hY:"",_=t&&t.hBlur?t.hBlur:"",k=t&&t.hSpread?t.hSpread:"",E=t&&t.hPos?t.hPos:"",C=t&&t.aColor?t.aColor:"",O=t&&t.aX?t.aX:"",j=t&&t.aY?t.aY:"",x=t&&t.aBlur?t.aBlur:"",I=t&&t.aSpread?t.aSpread:"",T=t&&t.aPos?t.aPos:"";return wp.element.createElement("div",{className:"box-shadow-options"},wp.element.createElement("div",{className:"box-shadow-options-components"},wp.element.createElement("div",{className:"gutentor-box-shadow-wrap"},wp.element.createElement("label",{className:"gutentor-group-label"},__("Box Shadow","gutentor")),wp.element.createElement(i.d,null,wp.element.createElement(i.b,null,wp.element.createElement(i.a,null,__("Normal","gutentor")),wp.element.createElement(i.a,null,__("Hover","gutentor")),wp.element.createElement(i.a,null,__("Active","gutentor"))),wp.element.createElement(i.c,null,wp.element.createElement(l.a,{value:c,label:__("Color","gutentor"),onChange:function(e){return s(e,"nColor")},disableAlpha:!1}),wp.element.createElement("div",{className:"gutentor-box-shadow-box-wrap gutentor-display-flex"},wp.element.createElement(g,{label:__("X","gutentor"),type:"number",value:p,onChange:function(e){return s(e,"nX")},min:-1e3,max:1e3}),wp.element.createElement(g,{label:__("Y","gutentor"),type:"number",value:d,onChange:function(e){return s(e,"nY")},min:-1e3,max:1e3}),wp.element.createElement(g,{label:__("Blur","gutentor"),type:"number",value:f,onChange:function(e){return s(e,"nBlur")},min:0,max:1e3}),wp.element.createElement(g,{label:__("Spread","gutentor"),type:"number",value:b,onChange:function(e){return s(e,"nSpread")},min:0,max:1e3}),wp.element.createElement(m,{label:__("Position","gutentor"),value:h||"outline",options:u.j,onChange:function(e){return s(e,"nPos")}}))),wp.element.createElement(i.c,null,wp.element.createElement(l.a,{value:v,label:__("Color","gutentor"),onChange:function(e){return s(e,"hColor")},disableAlpha:!1}),wp.element.createElement("div",{className:"gutentor-box-shadow-box-wrap gutentor-display-flex"},wp.element.createElement(g,{label:__("X","gutentor"),type:"number",value:w,onChange:function(e){return s(e,"hX")},min:-1e3,max:1e3}),wp.element.createElement(g,{label:__("Y","gutentor"),type:"number",value:y,onChange:function(e){return s(e,"hY")},min:-1e3,max:1e3}),wp.element.createElement(g,{label:__("Blur","gutentor"),type:"number",value:_,onChange:function(e){return s(e,"hBlur")},min:0,max:1e3}),wp.element.createElement(g,{label:__("Spread","gutentor"),type:"number",value:k,onChange:function(e){return s(e,"hSpread")},min:0,max:1e3}),wp.element.createElement(m,{label:__("Position","gutentor"),value:E||"outline",options:u.j,onChange:function(e){return s(e,"hPos")}}))),wp.element.createElement(i.c,null,wp.element.createElement(l.a,{value:C,label:__("Color","gutentor"),onChange:function(e){return s(e,"aColor")},disableAlpha:!1}),wp.element.createElement("div",{className:"gutentor-box-shadow-box-wrap gutentor-display-flex"},wp.element.createElement(g,{label:__("X","gutentor"),type:"number",value:O,onChange:function(e){return s(e,"aX")},min:-1e3,max:1e3}),wp.element.createElement(g,{label:__("Y","gutentor"),type:"number",value:j,onChange:function(e){return s(e,"aY")},min:-1e3,max:1e3}),wp.element.createElement(g,{label:__("Blur","gutentor"),type:"number",value:x,onChange:function(e){return s(e,"aBlur")},min:0,max:1e3}),wp.element.createElement(g,{label:__("Spread","gutentor"),type:"number",value:I,onChange:function(e){return s(e,"aSpread")},min:0,max:1e3}),wp.element.createElement(m,{label:__("Position","gutentor"),value:T||"outline",options:u.j,onChange:function(e){return s(e,"aPos")}})))))))}n.d(t,"a",function(){return a}),n.d(t,"e",function(){return r});var l=n(3),i=n(2),s=n(1),c=n(16),u=n(9);n.d(t,"c",function(){return c.b}),n.d(t,"d",function(){return c.c}),n.d(t,"b",function(){return c.a});var __=wp.i18n.__,p=wp.components,m=p.SelectControl,g=p.TextControl},function(e,t,n){"use strict";n.d(t,"a",function(){return o});var o={blockItemsCarouselEnable:{type:"boolean",default:!1,gCopy:!0},blockItemsCarouselDots:{type:"boolean",default:!1,gCopy:!0},blockItemsCarouselDotsTablet:{type:"boolean",default:!1,gCopy:!0},blockItemsCarouselDotsMobile:{type:"boolean",default:!1,gCopy:!0},blockItemsCarouselDotsColor:{type:"object",default:{enable:!1,normal:"",hover:""},gCopy:!0},blockItemsCarouselDotsButtonBorder:{type:"object",default:{borderStyle:"none",borderTop:"",borderRight:"",borderBottom:"",borderLeft:"",borderColorNormal:"",borderColorHover:"",borderRadiusType:"px",borderRadiusTop:"",borderRadiusRight:"",borderRadiusBottom:"",borderRadiusLeft:""},gCopy:!0},blockItemsCarouselDotsButtonHeight:{type:"number",gCopy:!0},blockItemsCarouselDotsButtonWidth:{type:"number",gCopy:!0},blockItemsCarouselArrows:{type:"boolean",default:!0,gCopy:!0},blockItemsCarouselArrowsTablet:{type:"boolean",default:!0,gCopy:!0},blockItemsCarouselArrowsMobile:{type:"boolean",default:!0,gCopy:!0},blockItemsCarouselArrowsBgColor:{type:"object",default:{enable:!1,normal:"",hover:""},gCopy:!0},blockItemsCarouselArrowsTextColor:{type:"object",default:{enable:!1,normal:"",hover:""},gCopy:!0},blockItemsCarouselInfinite:{type:"boolean",default:!1,gCopy:!0},blockItemsCarouselFade:{type:"boolean",default:!1,gCopy:!0},blockItemsCarouselAutoPlay:{type:"boolean",default:!1,gCopy:!0},blockItemsCarouselSlideSpeed:{type:"number",default:300,gCopy:!0},blockItemsCarouselCenterMode:{type:"boolean",default:!1,gCopy:!0},blockItemsCarouselCenterPadding:{type:"number",default:60,gCopy:!0},blockItemsCarouselAutoPlaySpeed:{type:"number",default:1200,gCopy:!0},blockItemsCarouselResponsiveSlideItem:{type:"object",default:{desktop:"4",tablet:"3",mobile:"2"},gCopy:!0},blockItemsCarouselResponsiveSlideScroll:{type:"object",default:{desktop:"4",tablet:"3",mobile:"2"},gCopy:!0},blockItemsCarouselNextArrow:{type:"object",default:{label:"fa-angle-right",value:"fas fa-angle-right",code:"f105"}},blockItemsCarouselPrevArrow:{type:"object",default:{label:"fa-angle-left",value:"fas fa-angle-left",code:"f104"}},blockItemsCarouselButtonIconSize:{type:"number",default:16,gCopy:!0},blockItemsCarouselArrowButtonHeight:{type:"object",default:{desktop:"40",tablet:"30",mobile:"20"},gCopy:!0},blockItemsCarouselArrowButtonWidth:{type:"object",default:{desktop:"40",tablet:"30",mobile:"20"},gCopy:!0},blockItemsCarouselArrowButtonBorder:{type:"object",default:{borderStyle:"none",borderTop:"",borderRight:"",borderBottom:"",borderLeft:"",borderColorNormal:"",borderColorHover:"",borderRadiusType:"px",borderRadiusTop:"",borderRadiusRight:"",borderRadiusBottom:"",borderRadiusLeft:""},gCopy:!0}}},function(e,t,n){"use strict";function o(e){var t=e&&e.Animation?e.Animation:"none",n=e&&e.Delay?e.Delay:"",o=e&&e.Speed?e.Speed:"",a=e&&e.Iteration?e.Iteration:"";e&&e.IterationType&&e.IterationType;if(t&&"none"===t)return"";var r={};return t&&"none"!==t&&(r["data-wow-Animation"]=t),t&&"none"!==t&&n&&(r["data-wow-Delay"]=n+"s"),t&&"none"!==t&&o&&(r["data-wow-duration"]=o+"s"),t&&"none"!==t&&a&&(r["data-wow-Iteration"]=a),r}t.a=o},function(e,t){e.exports=ReactDOM},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function r(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var l=n(0),i=n.n(l),s=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),c=wp.element.Component,u=function(e){function t(e){o(this,t);var n=a(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={openExpand:!1},n.openExpandToggle=n.openExpandToggle.bind(n),n}return r(t,e),s(t,[{key:"openExpandToggle",value:function(){this.setState({openExpand:!this.state.openExpand})}},{key:"render",value:function(){var e=this.props,t=e.label,n=e.value,o=e.onChange,a=e.options,r=a?Object.keys(a).length:3,l="",s="";return s=a.map(function(e,t){return e.value}),Object.values(s).includes("fill")&&Object.values(s).includes("outline")&&(l="gutentor-custom-select-fill-outline-opt"),l=""===l&&this.props.OptionType?"gutentor-custom-select-fill-outline-opt":l,wp.element.createElement("div",{className:"components-base-control"},wp.element.createElement("div",{className:"components-base-control__field"},wp.element.createElement("label",{className:"components-base-control__label"},t),wp.element.createElement("div",{className:i()("gutentor-custom-select",l,"gutentor-custom-select-col-"+r)},wp.element.createElement("div",{className:"gutentor-custom-select-box"},a.map(function(e,t){return wp.element.createElement("span",{className:i()(e.value,e.type?e.type:"",e.value===n?"gutentor-active-custom-select":""),onClick:function(){return o(e.value)},dangerouslySetInnerHTML:{__html:e.label}})})))))}}]),t}(c);t.a=u},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function r(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function l(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){var t=e.position,n=e.size;return[l({},"gutentor-icon-"+t,t),l({},n,n)]}function s(e){var t=e.gID,n=e.buttonColor,o=e.buttonTextColor,a=e.buttonMargin,r=e.buttonPadding,l=e.buttonIconOptions,i=e.buttonIconMargin,s=e.buttonIconPadding,c=e.buttonBorder,u=e.buttonBoxShadow,d=e.buttonTypography,h=e.buttonClass;return[".section-"+t+" ."+h+"{",Object(p.c)("color",o.enable&&o.normal?o.normal:null),Object(p.c)("background-color",n.enable&&n.normal?n.normal:null),Object(g.b)("margin",a),Object(g.b)("padding",r),Object(b.b)(c),Object(f.c)(u),Object(m.b)(d),"}",".section-"+t+" ."+h+":hover{",Object(p.c)("color",o.enable&&o.hover?o.hover:null),Object(p.c)("background-color",n.enable&&n.hover?n.hover:null),Object(b.c)(c),Object(f.a)(u),"}",".section-"+t+" ."+h+" .gutentor-button-icon{",Object(g.b)("margin",i),Object(g.b)("padding",s),Object(p.c)("font-size",l.size?l.size+"px":null),"}","@media only screen and (min-width: 768px) {",".section-"+t+" ."+h+"{",Object(g.b)("margin",a,"tablet"),Object(g.b)("padding",r,"tablet"),Object(m.c)(d,"tablet"),"}",".section-"+t+" ."+h+" .gutentor-button-icon{",Object(g.b)("margin",i,"tablet"),Object(g.b)("padding",s,"tablet"),"}","}","@media only screen and (min-width: 992px) {",".section-"+t+" ."+h+"{",Object(g.b)("margin",a,"desktop"),Object(g.b)("padding",r,"desktop"),Object(m.c)(d,"desktop"),"}",".section-"+t+" ."+h+" .gutentor-button-icon{",Object(g.b)("margin",i,"desktop"),Object(g.b)("padding",s,"desktop"),"}","}"].join("\n")}function c(e,t,n){var o=n.setAttributes,a=function(n,a){var r=Object.assign({},t);if("rel"===a&&(r[a]=Object(p.k)(n)),"openInNewTab"===a){r[a]=n,r.rel="noopener noreferrer"}o(l({},e,r))};return wp.element.createElement(j,{title:__("Button Link Options","gutentor"),initialOpen:!1},wp.element.createElement(x,null,wp.element.createElement(I,{label:__("Open in New Tab","gutentor"),checked:t.openInNewTab,onChange:function(){a(!t.openInNewTab,"openInNewTab")}}),wp.element.createElement(E,{label:__("Link Rel","gutentor"),type:"text",value:t.rel,onChange:function(e){return a(e,"rel")}})))}function u(e){return!(e&&e.attributes&&e.attributes.pPostType)||"product"!==e.attributes.pPostType&&"download"!==e.attributes.pPostType}n.d(t,"b",function(){return B}),n.d(t,"c",function(){return i}),n.d(t,"a",function(){return s});var p=n(1),m=n(8),g=n(6),d=n(2),f=n(16),b=n(10),h=n(14),v=n(9),w=n(3),y=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),__=wp.i18n.__,_=wp.components,k=_.SelectControl,E=_.TextControl,C=_.BaseControl,O=_.FontSizePicker,j=_.PanelBody,x=_.PanelRow,I=_.ToggleControl,T=wp.element.Fragment,F=wp.element.Component,B=function(e){function t(e){return o(this,t),a(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e))}return r(t,e),y(t,[{key:"render",value:function(){var e=this.props,t=e.buttonEnableKey,n=e.buttonEnableValue,o=e.buttonLinkOptionsEnable,a=void 0!==o&&o,r=e.buttonLinkOptionsKey,i=e.buttonLinkOptionsValue,s=e.buttonColorKey,y=e.buttonColorValue,_=e.buttonTextKey,F=e.buttonTextValue,B=e.buttonTextColorKey,S=e.buttonTextColorValue,N=e.buttonMarginKey,P=e.buttonMarginValue,A=e.buttonPaddingKey,M=e.buttonPaddingValue,D=e.buttonIconOptionsKey,H=e.buttonIconOptionsValue,L=e.buttonIconKey,R=e.buttonIconValue,V=e.buttonIconMarginKey,W=e.buttonIconMarginValue,z=e.buttonIconPaddingKey,G=e.buttonIconPaddingValue,U=e.buttonBorderKey,q=e.buttonBorderValue,Y=e.buttonBoxShadowKey,K=e.buttonBoxShadowValue,X=e.buttonTypographyKey,Z=e.buttonTypographyValue,Q=e.buttonClassNameKey,J=e.buttonClassNameValue,$=e.allProps,ee=$.setAttributes,te=[{name:__("XS","gutentor"),slug:"xs",size:14},{name:__("Small","gutentor"),slug:"small",size:16},{name:__("Normal","gutentor"),slug:"Normal",size:18},{name:__("Medium","gutentor"),slug:"medium",size:24},{name:__("Large","gutentor"),slug:"large",size:28},{name:__("XL","gutentor"),slug:"xl",size:32}];return wp.element.createElement(T,null,wp.element.createElement(I,{label:__("Enable Button","gutentor"),className:"gutentor-block-button-enable",checked:n,onChange:function(){ee(l({},t,!n))}}),n&&wp.element.createElement(T,null,wp.hooks.applyFilters("gutentor_edit_before_button_options",[],$),wp.hooks.applyFilters("gutentor_post_module_button_link_control",!0,$)&&c(r,i,$),a&&c(r,i,$),wp.element.createElement(j,{title:__("Background Color","gutentor"),initialOpen:!1},wp.element.createElement(x,null,wp.element.createElement(I,{label:__("Enable Color","gutentor"),checked:y.enable,onChange:function(){Object(p.p)(s,"enable",y,!y.enable,ee)}}),y.enable&&wp.element.createElement(C,{label:__("Select Color","gutentor")},wp.element.createElement(d.d,null,wp.element.createElement(d.b,null,wp.element.createElement(d.a,null,__("Normal","gutentor")),wp.element.createElement(d.a,null,__("Hover","gutentor"))),wp.element.createElement(d.c,null,wp.element.createElement(w.a,{value:y,key1:"normal",label:__("Color","gutentor"),onChange:function(e){var t=e.rgb&&1!==e.rgb.a?"rgba("+e.rgb.r+","+e.rgb.g+","+e.rgb.b+","+e.rgb.a+")":e.hex;Object(p.p)(s,"normal",y,t,ee)},disableAlpha:!1})),wp.element.createElement(d.c,null,wp.element.createElement(w.a,{value:y,key1:"hover",label:__("Color","gutentor"),onChange:function(e){var t=e.rgb&&1!==e.rgb.a?"rgba("+e.rgb.r+","+e.rgb.g+","+e.rgb.b+","+e.rgb.a+")":e.hex;Object(p.p)(s,"hover",y,t,ee)},disableAlpha:!1})))))),wp.element.createElement(j,{title:__("Text","gutentor"),initialOpen:!1},u($)&&wp.element.createElement(x,null,wp.element.createElement(E,{label:__("Text","gutentor"),value:F,onChange:function(e){ee(l({},_,e))}})),wp.element.createElement(x,null,wp.element.createElement(I,{label:__("Enable Color","gutentor"),checked:S.enable,onChange:function(){Object(p.p)(B,"enable",S,!S.enable,ee)}}),S.enable&&wp.element.createElement(C,{label:__("Select Color","gutentor")},wp.element.createElement(d.d,null,wp.element.createElement(d.b,null,wp.element.createElement(d.a,null,__("Normal","gutentor")),wp.element.createElement(d.a,null,__("Hover","gutentor"))),wp.element.createElement(d.c,null,wp.element.createElement(w.a,{value:S,key1:"normal",label:__("Color","gutentor"),onChange:function(e){var t=e.rgb&&1!==e.rgb.a?"rgba("+e.rgb.r+","+e.rgb.g+","+e.rgb.b+","+e.rgb.a+")":e.hex;Object(p.p)(B,"normal",S,t,ee)},disableAlpha:!1})),wp.element.createElement(d.c,null,wp.element.createElement(w.a,{value:S,key1:"hover",label:__("Color","gutentor"),onChange:function(e){var t=e.rgb&&1!==e.rgb.a?"rgba("+e.rgb.r+","+e.rgb.g+","+e.rgb.b+","+e.rgb.a+")":e.hex;Object(p.p)(B,"hover",S,t,ee)},disableAlpha:!1})))))),wp.element.createElement(j,{title:__("Icon","gutentor"),initialOpen:!1},wp.element.createElement(x,{className:"button-icon-position"},wp.element.createElement(k,{label:__("Icon Position","gutentor"),value:H.position,onChange:function(e){Object(p.p)(D,"position",H,e,ee)},options:v.o}),"hide"!==H.position&&wp.element.createElement(C,null,wp.hooks.applyFilters("gutentor_edit_button_icon_options",[],$),wp.element.createElement(C,{label:__("Choose Icon","gutentor")},wp.element.createElement(h.a,{Icon:R,setIcon:function(e){ee(l({},L,e))}})),wp.element.createElement(C,{className:"gutentor-hide-fontsizepicker-label"},wp.element.createElement(O,{value:H.size,fontSizes:te,fallbackFontSize:18,onChange:function(e){Object(p.p)(D,"size",H,e,ee)}})),wp.element.createElement(C,{label:__("Margin","gutentor")},Object(g.a)(V,W,$)),wp.element.createElement(C,{label:__("Padding","gutentor")},Object(g.a)(z,G,$))))),wp.element.createElement(j,{title:__("Margin/Padding","gutentor"),initialOpen:!1},wp.element.createElement(x,null,wp.element.createElement(C,{label:__("Margin","gutentor")},Object(g.a)(N,P,$)),wp.element.createElement(C,{label:__("Padding","gutentor")},Object(g.a)(A,M,$)))),wp.element.createElement(j,{title:__("Border","gutentor"),initialOpen:!1},wp.element.createElement(x,null,Object(b.a)(U,q,$))),wp.element.createElement(j,{title:__("Box Shadow","gutentor"),initialOpen:!1},wp.element.createElement(x,null,Object(f.b)(Y,K,$))),wp.element.createElement(j,{title:__("Typography","gutentor"),initialOpen:!1},wp.element.createElement(x,null,Object(m.a)(X,Z,$))),wp.element.createElement(j,{title:__("Css Class","gutentor"),initialOpen:!1},wp.element.createElement(x,null,wp.element.createElement(E,{label:__("Space for multiple classes","gutentor"),value:J,onChange:function(e){ee(l({},Q,e))}}))),wp.hooks.applyFilters("gutentor_edit_after_button_options",[],$)))}}]),t}(F)},function(e,t,n){"use strict";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 a(e,t,n){var a=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],r=n.setAttributes,l=function(e){var t=["type","desktop","tablet","mobile"];for(var n in e)t.includes(n)?e[n]&&"default"!==e[n]||delete e[n]:delete e[n];return e},i=function(n,a){var i=Object.assign({},t);i[a]=n,"type"===a&&"px"===n&&delete i[a],i=l(i),r(o({},e,i))},s=t&&t.type?t.type:"px",c=t&&t.desktop?t.desktop:"",u=t&&t.tablet?t.tablet:"",p=t&&t.mobile?t.mobile:"";return wp.element.createElement("div",{className:"gutentor-responsive-box"},a&&wp.element.createElement(f,{selected:s||"px",options:[{label:"%",value:"%"},{label:"px",value:"px"}],onChange:function(e){i(e,"type")}}),wp.element.createElement("div",{className:"gutentor-single-column-box-wrap"},wp.element.createElement(m.d,null,wp.element.createElement(m.b,null,wp.element.createElement(m.a,null,wp.element.createElement("i",{className:"dashicons dashicons-desktop"})),wp.element.createElement(m.a,null,wp.element.createElement("i",{className:"dashicons dashicons-tablet"})),wp.element.createElement(m.a,null,wp.element.createElement("i",{className:"dashicons dashicons-smartphone"}))),wp.element.createElement(m.c,null,wp.element.createElement(b,{value:c,onChange:function(e){i(e,"desktop")},min:1,max:1e4})),wp.element.createElement(m.c,null,wp.element.createElement(b,{value:u,onChange:function(e){i(e,"tablet")},min:1,max:1e4})),wp.element.createElement(m.c,null,wp.element.createElement(b,{value:p,onChange:function(e){i(e,"mobile")},min:1,max:1e4})))))}function r(e,t,n){var a=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],r=n.setAttributes,l=function(n,a){var l=Object.assign({},t);l[a]=n,r(o({},e,l))},i=t.type,s=t.desktop,c=t.tablet,u=t.mobile;return wp.element.createElement("div",{className:"gutentor-responsive-box"},a&&wp.element.createElement(f,{selected:i||"px",options:[{label:"%",value:"%"},{label:"px",value:"px"},{label:"vh",value:"vh"}],onChange:function(e){l(e,"type")}}),wp.element.createElement("div",{className:"gutentor-single-column-box-wrap"},wp.element.createElement(m.d,null,wp.element.createElement(m.b,null,wp.element.createElement(m.a,null,wp.element.createElement("i",{className:"dashicons dashicons-desktop"})),wp.element.createElement(m.a,null,wp.element.createElement("i",{className:"dashicons dashicons-tablet"})),wp.element.createElement(m.a,null,wp.element.createElement("i",{className:"dashicons dashicons-smartphone"}))),wp.element.createElement(m.c,null,wp.element.createElement(b,{value:s,onChange:function(e){l(e,"desktop")},min:1,max:1e4})),wp.element.createElement(m.c,null,wp.element.createElement(b,{value:c,onChange:function(e){l(e,"tablet")},min:1,max:1e4})),wp.element.createElement(m.c,null,wp.element.createElement(b,{value:u,onChange:function(e){l(e,"mobile")},min:1,max:1e4})))))}function l(e,t,n){var a=n.setAttributes,r=function(n,r){var l=Object.assign({},t);l[r]=n,a(o({},e,l))},l=t&&t.desktop?t.desktop:"",i=t&&t.tablet?t.tablet:"",s=t&&t.mobile?t.mobile:"";return wp.element.createElement("div",{className:"gutentor-responsive-box"},wp.element.createElement("div",{className:"gutentor-single-column-box-wrap"},wp.element.createElement(m.d,null,wp.element.createElement(m.b,null,wp.element.createElement(m.a,null,wp.element.createElement("i",{className:"dashicons dashicons-desktop"})),wp.element.createElement(m.a,null,wp.element.createElement("i",{className:"dashicons dashicons-tablet"})),wp.element.createElement(m.a,null,wp.element.createElement("i",{className:"dashicons dashicons-smartphone"}))),wp.element.createElement(m.c,null,wp.element.createElement(d,{label:__("Enable","gutentor"),checked:l,onChange:function(e){r(e,"desktop")}})),wp.element.createElement(m.c,null,wp.element.createElement(d,{label:__("Enable","gutentor"),checked:i,onChange:function(e){r(e,"tablet")}})),wp.element.createElement(m.c,null,wp.element.createElement(d,{label:__("Enable","gutentor"),checked:s,onChange:function(e){r(e,"mobile")}})))))}function i(e,t,n){var a=n.setAttributes,r=function(e){var t=["desktop","tablet","mobile"];for(var n in e)t.includes(n)?e[n]&&"default"!==e[n]||delete e[n]:delete e[n];return e},l=function(n,l){var i=Object.assign({},t);i[l]=n,i=r(i),a(o({},e,i))},i=t&&t.desktop?t.desktop:"",s=t&&t.tablet?t.tablet:"",c=t&&t.mobile?t.mobile:"";return wp.element.createElement("div",{className:"gutentor-responsive-box"},wp.element.createElement("div",{className:"gutentor-single-column-box-wrap"},wp.element.createElement(m.d,null,wp.element.createElement(m.b,null,wp.element.createElement(m.a,null,wp.element.createElement("i",{className:"dashicons dashicons-desktop"})),wp.element.createElement(m.a,null,wp.element.createElement("i",{className:"dashicons dashicons-tablet"})),wp.element.createElement(m.a,null,wp.element.createElement("i",{className:"dashicons dashicons-smartphone"}))),wp.element.createElement(m.c,null,wp.element.createElement(b,{value:i,onChange:function(e){l(e,"desktop")},min:-1e3,max:1e4})),wp.element.createElement(m.c,null,wp.element.createElement(b,{value:s,onChange:function(e){l(e,"tablet")},min:-1e3,max:1e4})),wp.element.createElement(m.c,null,wp.element.createElement(b,{value:c,onChange:function(e){l(e,"mobile")},min:-1e3,max:1e4})))))}function s(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"mobile",o=t&&t.type?t.type:"px",a=t&&t.desktop?t.desktop:"",r=t&&t.tablet?t.tablet:"",l=t&&t.mobile?t.mobile:"";return"desktop"===n?Object(p.c)(e,a?a+o:""):"tablet"===n?Object(p.c)(e,r?r+o:""):Object(p.c)(e,l?l+o:"")}function c(e,t,n){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"mobile";if(!n)return"";var a=n.type,r=n.desktop,l=n.tablet,i=n.mobile,s="";return t?s="desktop"===o?void 0===a?Object(p.c)(e,r||""):Object(p.c)(e,r?r+a:""):"tablet"===o?void 0===a?Object(p.c)(e,l||""):Object(p.c)(e,l?l+a:""):void 0===a?Object(p.c)(e,i||""):Object(p.c)(e,i?i+a:""):s}function u(e,t,n){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"mobile";if(!n)return"";var a=n&&n.desktop?n.desktop:"",r=n&&n.tablet?n.tablet:"",l=n&&n.mobile?n.mobile:"",i="";return t?i="desktop"===o?Object(p.c)(e,a):"tablet"===o?Object(p.c)(e,r):Object(p.c)(e,l):i}n.d(t,"a",function(){return a}),n.d(t,"f",function(){return l}),n.d(t,"c",function(){return r}),n.d(t,"g",function(){return i}),n.d(t,"b",function(){return s}),n.d(t,"d",function(){return c}),n.d(t,"e",function(){return u});var p=n(1),m=n(2),__=wp.i18n.__,g=wp.components,d=g.ToggleControl,f=g.RadioControl,b=g.RangeControl},function(e,t,n){"use strict";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 a(e){if(null===e)return"";var t=e&&e.borderStyle?e.borderStyle:"none",n=e&&e.borderTop?e.borderTop:"",o=e&&e.borderRight?e.borderRight:"",a=e&&e.borderBottom?e.borderBottom:"",r=e&&e.borderLeft?e.borderLeft:"",i=e&&e.borderColorNormal?e.borderColorNormal:"",s=e&&e.borderRadiusType?e.borderRadiusType:"px",c=e&&e.borderRadiusTop?e.borderRadiusTop:"",u=e&&e.borderRadiusRight?e.borderRadiusRight:"",p=e&&e.borderRadiusBottom?e.borderRadiusBottom:"",m=e&&e.borderRadiusLeft?e.borderRadiusLeft:"",g=n||0,d=o||0,f=a||0,b=r||0;return Object(l.c)("border-style","none"!==t?t:null)+Object(l.c)("border-width","none"!==t?g+"px "+d+"px "+f+"px "+b+"px ":null)+Object(l.c)("border-color","none"!==t&&i&&i.rgb?Object(l.l)(i.rgb):null)+Object(l.c)("border-top-left-radius",c?c+s:null)+Object(l.c)("border-top-right-radius",u?u+s:null)+Object(l.c)("border-bottom-right-radius",p?p+s:null)+Object(l.c)("border-bottom-left-radius",m?m+s:null)}function r(e,t,n){var a=n.setAttributes,r=function(e){var t=["borderStyle","borderTop","borderRight","borderBottom","borderLeft","borderColorNormal","borderColorHover","borderRadiusType","borderRadiusTop","borderRadiusRight","borderRadiusBottom","borderRadiusLeft"];for(var n in e)t.includes(n)?e[n]&&"default"!==e[n]&&"none"!==e[n]||delete e[n]:delete e[n];return e},l=function(n,l){var i=Object.assign({},t);i[l]=n,i=r(i),a(o({},e,i))},u=t&&t.borderStyle?t.borderStyle:"none",f=t&&t.borderTop?t.borderTop:"",b=t&&t.borderRight?t.borderRight:"",h=t&&t.borderBottom?t.borderBottom:"",v=t&&t.borderLeft?t.borderLeft:"",w=t&&t.borderColorNormal?t.borderColorNormal:"",y=t&&t.borderColorHover?t.borderColorHover:"",_=t&&t.borderRadiusType?t.borderRadiusType:"px",k=t&&t.borderRadiusTop?t.borderRadiusTop:"",E=t&&t.borderRadiusRight?t.borderRadiusRight:"",C=t&&t.borderRadiusBottom?t.borderRadiusBottom:"",O=t&&t.borderRadiusLeft?t.borderRadiusLeft:"";return wp.element.createElement("div",{className:"gutentor-single-border-four-border-wrap"},function(){var e=wp.element.createElement(p,{label:__("Border Type","gutentor"),value:u||"",options:c.i,onChange:function(e){return l(e,"borderStyle")}}),t="";"none"!==u&&(t=wp.element.createElement("div",{className:"gutentor-border-options-wrap"},wp.element.createElement("div",{className:"gutentor-border-border-wrap gutentor-display-flex"},wp.element.createElement(g,{label:__("Top","gutentor"),type:"number",value:f,onChange:function(e){return l(e,"borderTop")},min:0,max:1e3}),wp.element.createElement(g,{label:__("Right","gutentor"),type:"number",value:b,onChange:function(e){return l(e,"borderRight")},min:0,max:100}),wp.element.createElement(g,{label:__("Bottom","gutentor"),type:"number",value:h,onChange:function(e){return l(e,"borderBottom")},min:0,max:1e3}),wp.element.createElement(g,{label:__("Left","gutentor"),type:"number",value:v,onChange:function(e){return l(e,"borderLeft")},min:0,max:1e3})),wp.element.createElement(d,{label:__("Color","gutentor")},wp.element.createElement(s.d,null,wp.element.createElement(s.b,null,wp.element.createElement(s.a,null,__("Normal","gutentor")),wp.element.createElement(s.a,null,__("Hover","gutentor"))),wp.element.createElement(s.c,null,wp.element.createElement(i.a,{value:w,label:__("Color","gutentor"),onChange:function(e){return l(e,"borderColorNormal")},disableAlpha:!1})),wp.element.createElement(s.c,null,wp.element.createElement(i.a,{value:y,label:__("Color","gutentor"),onChange:function(e){return l(e,"borderColorHover")},disableAlpha:!1}))))));var n=wp.element.createElement("div",{className:"gutentor-border-radius-options-wrap"},wp.element.createElement("label",{className:"gutentor-group-label"},__("Border Radius","gutentor")),wp.element.createElement(m,{selected:_,options:[{label:"%",value:"%"},{label:"px",value:"px"}],onChange:function(e){return l(e,"borderRadiusType")}}),wp.element.createElement("div",{className:"gutentor-border-radius-border-wrap gutentor-display-flex"},wp.element.createElement(g,{label:__("Top","gutentor"),type:"number",value:k,onChange:function(e){return l(e,"borderRadiusTop")},min:1,max:100}),wp.element.createElement(g,{label:__("Right","gutentor"),type:"number",value:E,onChange:function(e){return l(e,"borderRadiusRight")},min:1,max:100}),wp.element.createElement(g,{label:__("Bottom","gutentor"),type:"number",value:C,onChange:function(e){return l(e,"borderRadiusBottom")},min:1,max:100}),wp.element.createElement(g,{label:__("Left","gutentor"),type:"number",value:O,onChange:function(e){return l(e,"borderRadiusLeft")},min:1,max:100})));return wp.element.createElement("div",{className:"gutentor-border-border-wrap"},e,t,n)}())}n.d(t,"a",function(){return r}),n.d(t,"b",function(){return a});var l=n(1),i=n(3),s=n(2),c=n(9),__=(n(421),wp.i18n.__),u=wp.components,p=u.SelectControl,m=u.RadioControl,g=u.TextControl,d=u.BaseControl},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}t.a=o},function(e,t,n){"use strict";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 a(e,t,n){var a=n.setAttributes,i=function(r,l){var i=Object.assign({},t);i[l]=r,a(o({},e,i)),wp.hooks.doAction("gutentor_after_set_column",n)},s=t&&t.desktop?t.desktop:"",c=t&&t.tablet?t.tablet:"",u=t&&t.mobile?t.mobile:"";return wp.element.createElement("div",{className:"gutentor-single-column-box-wrap"},wp.element.createElement(r.d,null,wp.element.createElement(r.b,null,wp.element.createElement(r.a,null,wp.element.createElement("i",{className:"dashicons dashicons-desktop"})),wp.element.createElement(r.a,null,wp.element.createElement("i",{className:"dashicons dashicons-tablet"})),wp.element.createElement(r.a,null,wp.element.createElement("i",{className:"dashicons dashicons-smartphone"}))),wp.element.createElement(r.c,null,wp.element.createElement(l,{value:s,onChange:function(e){i(e,"desktop")},options:[{value:"grid-lg-12",label:__("1","gutentor")},{value:"grid-lg-6",label:__("2","gutentor")},{value:"grid-lg-4",label:__("3","gutentor")},{value:"grid-lg-3",label:__("4","gutentor")},{value:"grid-lg-2m3",label:__("5","gutentor")},{value:"grid-lg-2",label:__("6","gutentor")}]})),wp.element.createElement(r.c,null,wp.element.createElement(l,{value:c,onChange:function(e){i(e,"tablet")},options:[{value:"grid-md-12",label:__("1","gutentor")},{value:"grid-md-6",label:__("2","gutentor")},{value:"grid-md-4",label:__("3","gutentor")},{value:"grid-md-3",label:__("4","gutentor")},{value:"grid-md-2m3",label:__("5","gutentor")},{value:"grid-md-2",label:__("6","gutentor")}]})),wp.element.createElement(r.c,null,wp.element.createElement(l,{value:u,onChange:function(e){i(e,"mobile")},options:[{value:"grid-12",label:__("1","gutentor")},{value:"grid-6",label:__("2","gutentor")},{value:"grid-4",label:__("3","gutentor")},{value:"grid-3",label:__("4","gutentor")},{value:"grid-2m3",label:__("5","gutentor")},{value:"grid-2",label:__("6","gutentor")}]}))))}n.d(t,"a",function(){return a});var r=n(2),__=wp.i18n.__,l=wp.components.SelectControl},function(e,t,n){"use strict";var o=n(542),a=n(543),r=n(544);n.d(t,"c",function(){return o.a}),n.d(t,"a",function(){return a.a}),n.d(t,"b",function(){return r.a})},function(e,t,n){"use strict";function o(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function a(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e}t.a=a},function(e,t,n){"use strict";t.a=function(e,t){return e<t?-1:e>t?1:e>=t?0:NaN}},function(e,t,n){"use strict";n.d(t,"a",function(){return o});var o={blockIconBoxEnableIconBoxStyle:{type:"boolean",default:!1,gCopy:!0},blockIconBoxEnableContentPosition:{type:"boolean",default:!1,gCopy:!0},blockImageBoxTemplate4ContentPosition:{type:"string",default:"position-center",gCopy:!0},blockImageBoxTemplate5ContentPosition:{type:"string",default:"position-bottom",gCopy:!0},blockIconBoxEnableContentAlign:{type:"boolean",default:!1,gCopy:!0},blockImageBoxContentAlign:{type:"string",default:"content-left",gCopy:!0},blockImageBoxCaptionBgColor:{type:"object",default:{enable:!1,normal:"",hover:""},gCopy:!0},blockIconBoxEnableCaptionBorder:{type:"boolean",default:!1,gCopy:!0},blockImageBoxCaptionBorder:{type:"object",default:{borderStyle:"none",borderTop:"",borderRight:"",borderBottom:"",borderLeft:"",borderColorNormal:"",borderColorHover:"",borderRadiusType:"px",borderRadiusTop:"",borderRadiusRight:"",borderRadiusBottom:"",borderRadiusLeft:""},gCopy:!0},blockIconBoxEnableCaptionMarginPadding:{type:"boolean",default:!1,gCopy:!0},blockImageBoxCaptionMargin:{type:"object",default:{type:"px",desktopTop:"",desktopRight:"",desktopBottom:"",desktopLeft:"",tabletTop:"",tabletRight:"",tabletBottom:"",tabletLeft:"",mobileTop:"",mobileRight:"",mobileBottom:"",mobileLeft:""},gCopy:!0},blockImageBoxCaptionPadding:{type:"object",default:{type:"px",desktopTop:"",desktopRight:"",desktopBottom:"",desktopLeft:"",tabletTop:"",tabletRight:"",tabletBottom:"",tabletLeft:"",mobileTop:"",mobileRight:"",mobileBottom:"",mobileLeft:""},gCopy:!0}}},function(e,t,n){"use strict";function o(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function a(e){var t=e.BGLabel,n=e.backgroundType,a=e.backgroundImageSrc,i=e.backgroundImageUrl,s=e.backgroundImage,m=e.imageSizeType,f=e.backgroundImageSize,v=e.backgroundImagePosition,x=e.backgroundImageRepeat,I=e.backgroundImageAttachment,T=e.backgroundVideoSrc,F=e.backgroundVideo,B=e.backgroundVideoUrl,S=e.backgroundVideoLoop,N=e.backgroundVideoMuted,P=e.backgroundColor,A=e.backgroundGradient,M=e.BGEnableOverlay,D=e.BGOverlayColor,H=e.setBGType,L=void 0===H?function(){}:H,R=e.setBGImageSrc,V=void 0===R?function(){}:R,W=e.setBGImage,z=void 0===W?function(){}:W,G=e.setImageUrl,U=void 0===G?function(){}:G,q=e.setImageSizeType,Y=void 0===q?function(){}:q,K=e.setBGImageSize,X=void 0===K?function(){}:K,Z=e.setBGImagePosition,Q=void 0===Z?function(){}:Z,J=e.setBGImageRepeat,$=void 0===J?function(){}:J,ee=e.setBGImageAttachment,te=void 0===ee?function(){}:ee,ne=e.removeBGImage,oe=void 0===ne?function(){}:ne,ae=e.setBGVideoSrc,re=void 0===ae?function(){}:ae,le=e.setBGVideo,ie=void 0===le?function(){}:le,se=e.setVideoUrl,ce=void 0===se?function(){}:se,ue=e.removeBGVideo,pe=void 0===ue?function(){}:ue,me=e.toggleBGVideoLoop,ge=void 0===me?function(){}:me,de=e.toggleBGVideoMuted,fe=void 0===de?function(){}:de,be=e.setBGColor,he=void 0===be?function(){}:be,ve=e.setBGGradient,we=void 0===ve?function(){}:ve,ye=e.toggleOverlayColor,_e=void 0===ye?function(){}:ye,ke=e.setOverlayColor,Ee=void 0===ke?function(){}:ke,Ce=e.allowNormalImage,Oe=void 0!==Ce&&Ce,je=function(){return"image"===n&&L("image-bg"),["image-bg","image-normal"].includes(n)?wp.element.createElement("div",{className:"gutentor-bg-img-props-wrap"},wp.element.createElement(C,{label:__("Background Size:","gutentor"),value:f||"default",onChange:X,options:l.g}),wp.element.createElement(C,{label:__("Background Position:","gutentor"),value:v||"default",onChange:Q,options:l.e}),wp.element.createElement(C,{label:__("Background Repeat:","gutentor"),value:x||"default",onChange:$,options:l.f}),wp.element.createElement(C,{label:__("Background Attachment:","gutentor"),value:I||"default",onChange:te,options:l.d})):""},xe=function(){if(!["image-bg","image-normal"].includes(n))return"";var e="",t="",a={},r=[];m&&s&&s.sizes&&(a=Object.keys(s.sizes).map(function(e){return e={label:g(d(e)),value:e}}),r=[].concat(o(a)));var l=wp.element.createElement(h,null,wp.element.createElement("div",{className:"gutentor-bg-upload-wrap"},wp.element.createElement(b,{onSelect:z,allowedTypes:["image"],title:__("Select or Upload Background Image","gutentor"),render:function(e){var t=e.open;return wp.element.createElement(w,{className:"button button-primary",onClick:t},wp.element.createElement(y,{icon:"format-image"}),s?__("Change Image","gutentor"):__("Upload Image","gutentor"))}}),s&&wp.element.createElement("div",{className:"gutentor-bg-image-wrap"},wp.element.createElement("div",{className:"gutentor-bg-img-props-wrap"},wp.element.createElement(w,{className:"button",onClick:oe},wp.element.createElement(y,{icon:"no-alt"}))))));if(s){var i="";m&&s&&s.sizes&&(i=s&&s.url&&s.sizes[m].url?s.sizes[m].url:"",i=""===i&&s?s.url:i),e=wp.element.createElement("div",{className:"gutentor-bg-image-wrap"},wp.element.createElement("p",null,wp.element.createElement("img",{src:i||s.url,alt:s.alt}))),"image-bg"!==n&&"image-normal"!==n||(t=wp.element.createElement("div",{className:"gutentor-bg-img-props-wrap"},m&&r&&wp.element.createElement(C,{label:__("Image Size","gutentor"),value:m||"full",onChange:Y,options:r}),je()))}return wp.element.createElement("div",{className:"gutentor-bg-main-wrap"},e,l,t)},Ie=function(){return"image-bg"!==n?"":wp.element.createElement("div",{className:"gutentor-img-url-main-wrap"},i&&wp.element.createElement("img",{src:i||""}),wp.element.createElement(E,{label:__("Enter Image URL","gutentor")},wp.element.createElement(j,{value:i||"",onChange:U,placeholder:__("Enter Url, e.g https://www.gutentor.com/","gutentor")})),je())};return wp.element.createElement(_,{title:t,className:"gutentor-bg-options-wrap",initialOpen:!1},wp.element.createElement(k,null,wp.element.createElement(C,{label:__("Background Type","gutentor"),value:n||"",options:function(){var e=[{label:__("None","gutentor"),value:""},{label:__("Background Image","gutentor"),value:"image-bg"},{label:__("Video","gutentor"),value:"video"},{label:__("Color","gutentor"),value:"color"}];return Oe&&e.splice(2,0,{label:__("Normal Image","gutentor"),value:"image-normal"}),e}(),onChange:L}),function(){if("image"===n&&L("image-bg"),!["image-bg"].includes(n))return"";var e="",t=wp.element.createElement(C,{label:__("Image Source","gutentor"),value:a,options:[{label:__("Self Hosted (Local)","gutentor"),value:"self-hosted-local"},{label:__("External URL","gutentor"),value:"external-url"}],onChange:V});return"self-hosted-local"===a&&(e=xe()),"external-url"===a&&(e=Ie()),wp.element.createElement("div",{className:"gutentor-bg-main-wrap"},t,e)}(),function(){if(!["image-normal"].includes(n))return"";var e="",t="",a={},r=[];m&&s&&s.sizes&&(a=Object.keys(s.sizes).map(function(e){return e={label:g(d(e)),value:e}}),r=[].concat(o(a)));var l=wp.element.createElement(h,null,wp.element.createElement("div",{className:"gutentor-bg-upload-wrap"},wp.element.createElement(b,{onSelect:z,allowedTypes:["image"],title:__("Select or Upload Background Image","gutentor"),render:function(e){var t=e.open;return wp.element.createElement(w,{className:"button button-primary",onClick:t},wp.element.createElement(y,{icon:"format-image"}),s?__("Change Image","gutentor"):__("Upload Image","gutentor"))}}),s&&wp.element.createElement("div",{className:"gutentor-bg-image-wrap"},wp.element.createElement("div",{className:"gutentor-bg-img-props-wrap"},wp.element.createElement(w,{className:"button",onClick:oe},wp.element.createElement(y,{icon:"no-alt"}))))));if(s){var i="";m&&s&&s.sizes&&(i=s&&s.url&&s.sizes[m].url?s.sizes[m].url:"",i=""===i&&s?s.url:i),e=wp.element.createElement("div",{className:"gutentor-bg-image-wrap"},wp.element.createElement("p",null,wp.element.createElement("img",{src:i||s.url,alt:s.alt}))),"image-normal"===n&&(t=wp.element.createElement("div",{className:"gutentor-bg-img-props-wrap"},m&&r&&wp.element.createElement(C,{label:__("Image Size","gutentor"),value:m||"full",onChange:Y,options:r}),je()))}return wp.element.createElement("div",{className:"gutentor-bg-main-wrap"},e,l,t)}(),function(){if("video"!==n)return"";var e="",t="",o="",a=wp.element.createElement(C,{label:__("Video Source","gutentor"),value:T,options:[{label:__("Self Hosted (Local)","gutentor"),value:"self-hosted-local"},{label:__("External URL","gutentor"),value:"external-url"}],onChange:re});return"self-hosted-local"===T&&(t=wp.element.createElement(h,null,wp.element.createElement("div",{className:"gutentor-bg-upload-wrap"},wp.element.createElement(b,{onSelect:ie,allowedTypes:["video"],title:__("Select or Upload Background Video","gutentor"),render:function(e){var t=e.open;return wp.element.createElement(w,{className:"button button-primary",onClick:t},wp.element.createElement(y,{icon:"format-image"}),F?__("Change Video","gutentor"):__("Upload Video","gutentor"))}}),F&&wp.element.createElement("div",{className:"gutentor-bg-image-wrap"},wp.element.createElement("div",{className:"gutentor-bg-video-props-wrap"},wp.element.createElement(w,{className:"button",onClick:pe},wp.element.createElement(y,{icon:"no-alt"}))))),wp.element.createElement("span",{className:"description"},__("Upload your video in format ","gutentor"),wp.element.createElement("code",null,".mp4"),__("and minimize its file size for best results.","gutentor")))),"external-url"===T&&(t=wp.element.createElement(E,{label:__("Enter Video URL","gutentor")},wp.element.createElement(j,{value:B||"",onChange:ce,placeholder:__("Example: https://www.youtube.com/watch?v=iki02JUy-NE","gutentor")}),wp.element.createElement("p",{className:"gutentor-info"},__("Note: Youtube & vimeo video url only supported.","gutentor")))),"self-hosted-local"===T&&F&&(e=wp.element.createElement("div",{className:"gutentor-bg-video-wrap"},wp.element.createElement("p",null,wp.element.createElement("video",{autoPlay:!0,loop:!!S,muted:!!N,className:"gutentor-bg-video"},wp.element.createElement("source",{type:"video/mp4",src:F.url?F.url:""}))))),(F&&"self-hosted-local"===T||B&&"external-url"===T)&&(o=wp.element.createElement("div",{className:"gutentor-bg-video-props-wrap"},wp.element.createElement(O,{label:__("Loop","gutentor"),onChange:ge,checked:S}),wp.element.createElement(O,{label:__("Muted","gutentor"),help:__("Some browsers don't autoplay video if unchecked muted.","gutentor"),onChange:fe,checked:N}),Object(c.a)(B)&&wp.element.createElement("p",{className:"gutentor-info"},__("Note: In youtube video autoplay works only when muted is enabled.","gutentor")))),wp.element.createElement("div",{className:"gutentor-bg-main-wrap"},a,e,t,o)}(),function(){return"color"!==n?"":wp.element.createElement(p.a,{colorValue:P?Object(r.b)(P):"",onColorChange:he,gradientValue:A,onGradientChange:we,className:""})}(),function(){return wp.element.createElement("div",{className:"gutentor-bg-overlay-props-wrap"},wp.element.createElement(O,{label:__("Enable Overlay","gutentor"),onChange:_e,checked:M}),M&&wp.element.createElement(u.a,{value:D?Object(r.b)(D):"",label:__("Color","gutentor"),onChange:Ee,disableAlpha:!1}))}()))}n.d(t,"a",function(){return a});var r=n(1),l=n(9),i=n(427),s=n(428),c=n(429),u=n(3),p=n(430);n.d(t,"b",function(){return i.a}),n.d(t,"c",function(){return s.a}),n.d(t,"d",function(){return c.b});var __=wp.i18n.__,m=lodash,g=m.startCase,d=m.toLower,f=wp.blockEditor,b=f.MediaUpload,h=f.MediaUploadCheck,v=wp.components,w=v.Button,y=v.Dashicon,_=v.PanelBody,k=v.PanelRow,E=v.BaseControl,C=v.SelectControl,O=v.ToggleControl,j=wp.blockEditor.URLInput;wp.element.Fragment},function(e,t,n){"use strict";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 a(e,t,n){var a=n.setAttributes,r=function(e){var t=["type","top","right","bottom","left"];for(var n in e)t.includes(n)?e[n]&&"default"!==e[n]||delete e[n]:delete e[n];return e},l=function(n,l){var i=Object.assign({},t);i[l]=n,"type"===l&&"px"===n&&delete i[l],i=r(i),a(o({},e,i))},i=t&&t.type?t.type:"px",s=t&&t.top?t.top:"",m=t&&t.right?t.right:"",g=t&&t.bottom?t.bottom:"",d=t&&t.left?t.left:"";return wp.element.createElement("div",{className:"gutentor-single-box-four-box-wrap"},wp.element.createElement(p,{label:__("Position","gutentor")},wp.element.createElement(c,{selected:i,options:[{label:"%",value:"%"},{label:"px",value:"px"}],onChange:function(e){return l(e,"type")}}),wp.element.createElement("div",{className:"gutentor-display-flex"},wp.element.createElement(u,{label:__("Top","gutentor"),type:"number",value:s,onChange:function(e){return l(e,"top")},min:-1e4,max:1e4}),wp.element.createElement(u,{label:__("Right","gutentor"),type:"number",value:m,onChange:function(e){return l(e,"right")},min:-1e4,max:1e4}),wp.element.createElement(u,{label:__("Bottom","gutentor"),type:"number",value:g,onChange:function(e){return l(e,"bottom")},min:-1e4,max:1e4}),wp.element.createElement(u,{label:__("Left","gutentor"),type:"number",value:d,onChange:function(e){return l(e,"left")},min:-1e4,max:1e4}))))}function r(e,t,n){if(!e||!n||"g-pos-d"===t)return"";var o=n&&n.type?n.type:"px",a=n&&n.top?n.top:0,r=n&&n.right?n.right:0,l=n&&n.bottom?n.bottom:0,s=n&&n.left?n.left:0;return a=a?Object(i.c)("top",a+o):"",r=r?Object(i.c)("right",r+o):"",l=l?Object(i.c)("bottom",l+o):"",s=s?Object(i.c)("left",s+o):"",a+r+l+s}function l(e){if(!e)return"";var t=e&&e.type?e.type:"px",n=e&&e.top?e.top:0,o=e&&e.right?e.right:0,a=e&&e.bottom?e.bottom:0,r=e&&e.left?e.left:0;return n=n?Object(i.c)("top",n+t):"",o=o?Object(i.c)("right",o+t):"",a=a?Object(i.c)("bottom",a+t):"",r=r?Object(i.c)("left",r+t):"",n+o+a+r}n.d(t,"c",function(){return a}),n.d(t,"a",function(){return l}),n.d(t,"b",function(){return r});var i=n(1),__=wp.i18n.__,s=wp.components,c=s.RadioControl,u=s.TextControl,p=s.BaseControl},function(e,t,n){"use strict";function o(e,t){return!t||"object"!==Object(a.a)(t)&&"function"!==typeof t?Object(r.a)(e):t}t.a=o;var a=n(620),r=n(57)},function(e,t,n){"use strict";function o(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}t.a=o},function(e,t,n){"use strict";function o(e){return(o=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}t.a=o},function(e,t,n){"use strict";function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Object(a.a)(e,t)}t.a=o;var a=n(621)},function(e,t,n){"use strict";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}t.a=o},function(e,t,n){(function(t){if("production"!==t.env.NODE_ENV){var o=n(227);e.exports=n(624)(o.isElement,!0)}else e.exports=n(626)()}).call(t,n(18))},function(e,t,n){"use strict";t.a=function(e){return null===e?NaN:+e}},function(e,t,n){"use strict";function o(e,t,n){var o=e.slice(0);if(n>=o.length)for(var a=n-o.length;1+a--;)o.push(void 0);return o.splice(n,0,o.splice(t,1)[0]),o}function a(e){for(var t=arguments.length,n=Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];return Object.keys(e).reduce(function(t,o){return-1===n.indexOf(o)&&(t[o]=e[o]),t},{})}function r(e,t){for(;e;){if(t(e))return e;e=e.parentNode}}function l(e,t,n){return n<e?e:n>t?t:n}function i(e){return"px"===e.substr(-2)?parseFloat(e):0}function s(e){var t=window.getComputedStyle(e);return{top:i(t.marginTop),right:i(t.marginRight),bottom:i(t.marginBottom),left:i(t.marginLeft)}}function c(e,t){var n=t.displayName||t.name;return n?e+"("+n+")":e}function u(e){return e.touches&&e.touches.length?{x:e.touches[0].pageX,y:e.touches[0].pageY}:e.changedTouches&&e.changedTouches.length?{x:e.changedTouches[0].pageX,y:e.changedTouches[0].pageY}:{x:e.pageX,y:e.pageY}}function p(e){return e.touches&&e.touches.length||e.changedTouches&&e.changedTouches.length}function m(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{top:0,left:0};if(e){var o={top:n.top+e.offsetTop,left:n.left+e.offsetLeft};return e.parentNode!==t?m(e.parentNode,t,o):o}}function g(e){var t=e.lockOffset,n=e.width,o=e.height,a=t,r=t,l="px";if("string"===typeof t){var i=/^[+-]?\d*(?:\.\d*)?(px|%)$/.exec(t);(0,f.default)(null!==i,'lockOffset value should be a number or a string of a number followed by "px" or "%". Given %s',t),a=r=parseFloat(t),l=i[1]}return(0,f.default)(isFinite(a)&&isFinite(r),"lockOffset value should be a finite. Given %s",t),"%"===l&&(a=a*n/100,r=r*o/100),{x:a,y:r}}Object.defineProperty(t,"__esModule",{value:!0}),t.vendorPrefix=t.events=void 0,t.arrayMove=o,t.omit=a,t.closest=r,t.limit=l,t.getElementMargin=s,t.provideDisplayName=c,t.getPosition=u,t.isTouchEvent=p,t.getEdgeOffset=m,t.getLockPixelOffset=g;var d=n(64),f=function(e){return e&&e.__esModule?e:{default:e}}(d);t.events={start:["touchstart","mousedown"],move:["touchmove","mousemove"],end:["touchend","touchcancel","mouseup"]},t.vendorPrefix=function(){if("undefined"===typeof window||"undefined"===typeof document)return"";var e=window.getComputedStyle(document.documentElement,"")||["-moz-hidden-iframe"],t=(Array.prototype.slice.call(e).join("").match(/-(moz|webkit|ms)-/)||""===e.OLink&&["","o"])[1];switch(t){case"ms":return"ms";default:return t&&t.length?t[0].toUpperCase()+t.substr(1):""}}()},function(e,t,n){"use strict";(function(t){var n=function(e,n,o,a,r,l,i,s){if("production"!==t.env.NODE_ENV&&void 0===n)throw new Error("invariant requires an error message argument");if(!e){var c;if(void 0===n)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[o,a,r,l,i,s],p=0;c=new Error(n.replace(/%s/g,function(){return u[p++]})),c.name="Invariant Violation"}throw c.framesToPop=1,c}};e.exports=n}).call(t,n(18))},function(e,t,n){"use strict";function o(e){return e.type&&"Tab"===e.type.tabsRole}function a(e){return e.type&&"TabPanel"===e.type.tabsRole}function r(e){return e.type&&"TabList"===e.type.tabsRole}t.a=o,t.c=a,t.b=r},function(e,t,n){"use strict";n.d(t,"a",function(){return o});var o={addSocialIcon:{type:"array",default:[{socialIcon:{label:"fa-book",value:4==gutentor.fontAwesomeVersion?"fa fa-book":"fas fa-book",code:"f108"},socialLink:"#",enableIconColor:!1,singleIconColor:{},singleIconHoverColor:{},enableIconBgColor:!1,singleIconBgColor:{},singleIconHoverBgColor:{},enableIconBorderColor:!1,singleIconBorderColor:{},singleIconHoverBorderColor:{}}]},blockSocialIconColorInsideRepeater:{type:"object",default:{enable:!1,normal:"",hover:""},gCopy:!0},blockSocialInsideRepeaterIconWidthEnable:{type:"boolean",default:!0,gCopy:!0},blockSocialInsideRepeaterIconWidth:{type:"object",default:{type:"px",desktop:"",tablet:"",mobile:"40"},gCopy:!0},blockSocialInsideRepeaterIconHeightEnable:{type:"boolean",default:!0,gCopy:!0},blockSocialInsideRepeaterIconHeight:{type:"object",default:{type:"px",desktop:"",tablet:"",mobile:"40"},gCopy:!0},blockSocialEnableInsideRepeater:{type:"boolean",default:!1},blockSocialNewTabEnableInsideRepeater:{type:"boolean",default:!1},blockSocialIconBgColorInsideRepeater:{type:"object",default:{enable:!1,normal:"",hover:""},gCopy:!0},blockSocialInsideRepeaterIconSize:{type:"object",default:{type:"px",desktop:"",tablet:"",mobile:""},gCopy:!0},blockSocialIconWidthInsideRepeater:{type:"number",default:"40",gCopy:!0},blockSocialIconHeightInsideRepeater:{type:"number",default:"40",gCopy:!0},blockSocialIconBorderInsideRepeater:{type:"object",default:{borderStyle:"none",borderTop:"",borderRight:"",borderBottom:"",borderLeft:"",borderColor:"",borderRadiusType:"px",borderRadiusTop:"",borderRadiusRight:"",borderRadiusBottom:"",borderRadiusLeft:""},gCopy:!0}}},function(e,t,n){"use strict";n.d(t,"a",function(){return A});var o=n(19),a=n(20),r=n(21),l=n(23),i=n(24),s=n(25),c=n(41),u=n(22),p=n(35),m=n(28),g=n(31),d=n(30),f=n(29),b=n(17),h=n(66),v=n(141),w=n(397),y=n(116),_=n(124),k=n(53),E=n(127),C=n(129),O=n(131),j=n(152),x=n(136),I=n(139),T=n(149),F=n(143),B=n(153),S=n(77),N=n(38),P=n(151),A=Object.assign({},o.a,a.a,r.a,i.a,l.a,s.a,c.a,u.a,p.a,m.a,g.a,d.a,f.a,b.a,h.a,y.a,_.a,k.a,E.a,C.a,O.a,x.a,v.a,I.a,T.a,F.a,B.a,S.a,N.a,j.a,P.a,w.a)},function(e,t,n){"use strict";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 a(e){var t=e&&e.boxShadowColor?e.boxShadowColor:"",n=e&&e.boxShadowX?e.boxShadowX:"",o=e&&e.boxShadowY?e.boxShadowY:"",a=e&&e.boxShadowBlur?e.boxShadowBlur:"",r=e&&e.boxShadowSpread?e.boxShadowSpread:"",i=e&&e.boxShadowPosition?e.boxShadowPosition:"";return Object(l.c)("box-shadow",n&&o&&a&&r&&t?n+"px "+o+"px "+a+"px "+r+"px "+Object(l.l)(t.rgb)+" "+i:null)}function r(e,t,n){var a=(n.attributes,n.className,n.setAttributes),r=function(e){var t=["boxShadowColor","boxShadowX","boxShadowY","boxShadowBlur","boxShadowSpread","boxShadowPosition"];for(var n in e)t.includes(n)?e[n]&&"default"!==e[n]&&"none"!==e[n]||delete e[n]:delete e[n];return e},l=function(n,l){var i=Object.assign({},t);i[l]=n,i=r(i),a(o({},e,i))},c=t&&t.boxShadowColor?t.boxShadowColor:"",m=t&&t.boxShadowX?t.boxShadowX:"",g=t&&t.boxShadowY?t.boxShadowY:"",d=t&&t.boxShadowBlur?t.boxShadowBlur:"",f=t&&t.boxShadowSpread?t.boxShadowSpread:"",b=t&&t.boxShadowPosition?t.boxShadowPosition:"";return wp.element.createElement("div",{className:"box-shadow-options"},wp.element.createElement("div",{className:"box-shadow-options-components"},wp.element.createElement("div",{className:"gutentor-box-shadow-wrap"},wp.element.createElement("label",{className:"gutentor-group-label"},__("Box Shadow","gutentor")),wp.element.createElement(s.a,{value:c,label:__("Color","gutentor"),onChange:function(e){return l(e,"boxShadowColor")},disableAlpha:!1}),wp.element.createElement("div",{className:"gutentor-box-shadow-box-wrap gutentor-display-flex"},wp.element.createElement(p,{label:__("X","gutentor"),type:"number",value:m,onChange:function(e){return l(e,"boxShadowX")},min:-1e3,max:1e3}),wp.element.createElement(p,{label:__("Y","gutentor"),type:"number",value:g,onChange:function(e){return l(e,"boxShadowY")},min:-1e3,max:1e3}),wp.element.createElement(p,{label:__("Blur","gutentor"),type:"number",value:d,onChange:function(e){return l(e,"boxShadowBlur")},min:0,max:1e3}),wp.element.createElement(p,{label:__("Spread","gutentor"),type:"number",value:f,onChange:function(e){return l(e,"boxShadowSpread")},min:0,max:1e3}),wp.element.createElement(u,{label:__("Position","gutentor"),value:b||"",options:i.j,onChange:function(e){return l(e,"boxShadowPosition")}})))))}n.d(t,"a",function(){return r}),n.d(t,"b",function(){return a});var l=n(1),i=n(9),s=n(3),__=wp.i18n.__,c=wp.components,u=c.SelectControl,p=c.TextControl;c.BaseControl},function(e,t,n){"use strict";function o(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,n){function o(a,r){try{var l=t[a](r),i=l.value}catch(e){return void n(e)}if(!l.done)return Promise.resolve(i).then(function(e){o("next",e)},function(e){o("throw",e)});e(i)}return o("next")})}}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){var n=!(!e.attributes||!e.attributes.pBadgeType)&&e.attributes.pBadgeType;t.map(function(e,t){e.categories&&"category"===n&&e.categories.map(function(e,t){b[e.taxonomy]||(b[e.taxonomy]=[]),b[e.taxonomy].includes(e.term_id)||(b[e.taxonomy].push(e.term_id),h=!0)}),e.product_cat&&n&&"product_cat"===n&&e.product_cat.map(function(e,t){b[e.taxonomy]||(b[e.taxonomy]=[]),b[e.taxonomy].includes(e.term_id)||(b[e.taxonomy].push(e.term_id),h=!0)}),e.product_tag&&n&&"product_tag"===n&&e.product_tag.map(function(e,t){b[e.taxonomy]||(b[e.taxonomy]=[]),b[e.taxonomy].includes(e.term_id)||(b[e.taxonomy].push(e.term_id),h=!0)})}),h&&f.setGlobalTaxTermCSSOnHead(b),v||(f.setPostFormatCss(),v=!0)}t.a=r;var l=n(33),i=n.n(l),s=n(515),c=n(5),u=n(8),p=n(166),m=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}();window.gutentorSettings={},window.gutentorSettings.globalTypography=gutentor.globalTypography,window.gutentorSettings.globalColor=gutentor.globalColor,window.gutentorSettings.globalContainerWidth=gutentor.globalContainerWidth,window.gutentorSettings.gutentor_gt_apply_options=gutentor.gutentor_gt_apply_options,(0,wp.plugins.registerPlugin)("gutentor-settings",{render:function(){return wp.element.createElement(s.a,null)}});var g=void 0,d=function(){function e(){a(this,e),g=this,this.getTaxTermsCss=this.getTaxTermsCss.bind(this),this.getGlobalTypographyCss=this.getGlobalTypographyCss.bind(this),this.setPostFormatCss=this.setPostFormatCss.bind(this),this.setGlobalTaxTermCSSOnHead=this.setGlobalTaxTermCSSOnHead.bind(this),this.setGlobalCSSOnDB=this.setGlobalCSSOnDB.bind(this),this.settings,this.response}return m(e,[{key:"getSettings",value:function(){function e(){return t.apply(this,arguments)}var t=o(i.a.mark(function e(){var t=this;return i.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,wp.api.loadPromise.then(function(){t.settings=new wp.api.models.Settings});case 2:case"end":return e.stop()}},e,this)}));return e}()},{key:"setPostFormatCss",value:function(){function e(){return t.apply(this,arguments)}var t=o(i.a.mark(function e(){var t,n,o=this;return i.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.getSettings();case 2:t="",this.settings.fetch().then(function(e){o.response=e,t=Object(p.e)(e)}),t?Object(c.b)("gutentor-global-pf-css",t):(n=gutentor.postFormatsColors)&&Object(c.b)("gutentor-global-pf-css",n);case 5:case"end":return e.stop()}},e,this)}));return e}()},{key:"getTaxTermsCss",value:function(){function e(_x){return t.apply(this,arguments)}var t=o(i.a.mark(function e(t){var n;return i.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n={tax_terms:t},e.next=3,wp.apiFetch({path:wp.url.addQueryArgs("gutentor-dynamic-css/v1/get_tax_term_css",n)});case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e,this)}));return e}()},{key:"setGlobalTaxTermCSSOnHead",value:function(){function e(e){return t.apply(this,arguments)}var t=o(i.a.mark(function e(t){var n;return i.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.getTaxTermsCss(t);case 2:n=e.sent,Object(c.b)("gutentor-global-tax-terms-css",n.data);case 4:case"end":return e.stop()}},e,this)}));return e}()},{key:"getGlobalTypographyCss",value:function(e){var t="",n=window.gutentorSettings.gutentor_gt_apply_options;for(var o in e)if(o.includes("gutentor-gt-")){var a=o.replace("gutentor-gt-",""),r=void 0;if("body"===a){var l='[class*="wp-block-gutentor-"]';"global"===n&&(l=".gutentor-active"),r=[l+"{",Object(u.b)(e[o]),"}","@media only screen and (min-width: 768px) {",l+"{",Object(u.c)(e[o],"tablet"),"}","}","@media only screen and (min-width: 992px) {",l+"{",Object(u.c)(e[o],"desktop"),"}","}"].join("\n")}else if("button"===a)r=[".gutentor-button{",Object(u.b)(e[o]),"}","@media only screen and (min-width: 768px) {",".gutentor-button{",Object(u.c)(e[o],"tablet"),"}","}","@media only screen and (min-width: 992px) {",".gutentor-button{",Object(u.c)(e[o],"desktop"),"}","}"].join("\n");else{var i='[class*="wp-block-gutentor-"] '+a;i+=',[class*="wp-block-gutentor-"] '+a+" a","global"===n&&(i=".gutentor-active "+a,i+=",.gutentor-active "+a+" a"),r=[i+"{",Object(u.b)(e[o]),"}","@media only screen and (min-width: 768px) {",i+"{",Object(u.c)(e[o],"tablet"),"}","}","@media only screen and (min-width: 992px) {",i+"{",Object(u.c)(e[o],"desktop"),"}","}"].join("\n")}t+=r}return t}},{key:"setGlobalCSSOnHead",value:function(e){Object(c.b)("gutentor-global-editor-typography-css",Object(p.d)(window.gutentorSettings.globalTypography)),Object(c.b)("gutentor-global-editor-color-css",Object(p.b)(window.gutentorSettings.globalColor)),Object(c.b)("gutentor-global-container-width-css",Object(p.c)(window.gutentorSettings.globalContainerWidth))}},{key:"setGlobalCSSOnDB",value:function(){function e(e){return t.apply(this,arguments)}var t=o(i.a.mark(function e(t){var n,o,a,r,l,s,c,u,m,g,d,f,b;return i.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:n=t.css?t.css:"",o=t.gfonts?t.gfonts:[],a=window.gutentorSettings.globalTypography,r=window.gutentorSettings.globalColor,l=window.gutentorSettings.globalContainerWidth,s=document.getElementById("gutentor-global-pf-css")?document.getElementById("gutentor-global-pf-css").innerHTML:"",c=this.getGlobalTypographyCss(a),u=Object(p.b)(r,!1),m=Object(p.c)(l),g="",null!=document.getElementById("gutentor-global-tax-terms-css")&&(g=document.getElementById("gutentor-global-tax-terms-css").innerHTML),d=m+s+c+u+g+n;for(f in a)a[f]&&a[f].fontType&&"google"===a[f].fontType&&(b={family:a[f].googleFont,"font-weight":a[f].fontWeight},o.push(b));return e.abrupt("return",{gfonts:o,css:d});case 5:case"end":return e.stop()}},e,this)}));return e}()}]),e}(),f=new d;wp.hooks.addFilter("gutentor_get_dynamic_css","gutentor/global-global-dynamic-css",f.setGlobalCSSOnDB,10),document.addEventListener("DOMContentLoaded",f.setGlobalCSSOnHead());var b=[],h=!1,v=!1},function(e,t,n){"use strict";n.d(t,"a",function(){return o});var o={mColAnimation:{type:"object",default:{Animation:"none",Delay:"",Speed:"",IterationType:"1",Iteration:"1"},gCopy:!0},mBGType:{type:"string",gCopy:!0},mBGImageSrc:{type:"string",default:"self-hosted-local",gCopy:!0},mBGImage:{type:"object",gCopy:!0},mBGImageUrl:{type:"string",default:"",gCopy:!0},mBGImageSizeType:{type:"string",default:"full",gCopy:!0},mBGVideoSrc:{type:"string",default:"self-hosted-local",gCopy:!0},mBGVideo:{type:"object",gCopy:!0},mBGVideoUrl:{type:"string",default:"https://www.youtube.com/watch?v=bGMi7L78hVk",gCopy:!0},mBGColor:{type:"object",gCopy:!0},mBGGradient:{type:"string",gCopy:!0},mBGImgSize:{type:"string",gCopy:!0},mBGImgPos:{type:"string",gCopy:!0},mBGImgRepeat:{type:"string",gCopy:!0},mBGImgAttach:{type:"string",gCopy:!0},mBGVideoLoop:{type:"boolean",default:!0,gCopy:!0},mBGVideoMute:{type:"boolean",default:!0,gCopy:!0},mOnOverlay:{type:"boolean",default:!1,gCopy:!0},mOverlayColor:{type:"object",gCopy:!0},mBxBorder:{type:"object",gCopy:!0},mMargin:{type:"object",gCopy:!0},mPadding:{type:"object",gCopy:!0},mBxShadow:{type:"object",gCopy:!0},mSingleZIndex:{type:"object",gCopy:!0}}},function(e,t,n){"use strict";n.d(t,"a",function(){return o});var o=(wp.i18n.__,{mAnimation:{type:"object",default:{Animation:"none",Delay:"",Speed:"",IterationType:"1",Iteration:"1"},gCopy:!0},mBGType:{type:"string",gCopy:!0},mBGImageSrc:{type:"string",default:"self-hosted-local",gCopy:!0},mBGImage:{type:"object",gCopy:!0},mBGImageUrl:{type:"string",default:"",gCopy:!0},mBGImageSizeType:{type:"string",default:"full",gCopy:!0},mBGVideo:{type:"object",gCopy:!0},mBGVideoSrc:{type:"string",default:"self-hosted-local",gCopy:!0},mBGVideoUrl:{type:"string",default:"https://www.youtube.com/watch?v=bGMi7L78hVk",gCopy:!0},mBGColor:{type:"string",gCopy:!0},mBGGradient:{type:"string",gCopy:!0},mBGImgSize:{type:"string",gCopy:!0},mBGImgPos:{type:"string",gCopy:!0},mBGImgRepeat:{type:"string",gCopy:!0},mBGImgAttach:{type:"string",gCopy:!0},mBGVideoLoop:{type:"boolean",default:!0,gCopy:!0},mBGVideoMute:{type:"boolean",default:!0,gCopy:!0},mOnOverlay:{type:"boolean",default:!1,gCopy:!0},mOverlayColor:{type:"string",gCopy:!0},mHideMode:{type:"object",gCopy:!0},mBxBorder:{type:"object",gCopy:!0},mMargin:{type:"object",gCopy:!0},mPadding:{type:"object",gCopy:!0},mBxShadow:{type:"object",gCopy:!0},mTag:{type:"string",default:"section"},pID:{type:"string",default:""},mTShapeOpt:{type:"string",default:"gb-svg",gCopy:!0},mTShapeImg:{type:"object",default:"",gCopy:!0},mTShapeImgSizeType:{type:"string",default:"full",gCopy:!0},mTShapeSVGOpt:{type:"string",default:"gb-svg-default",gCopy:!0},mTShapeCustomSVG:{type:"string",default:"",gCopy:!0},mTShape:{type:"string",default:"",gCopy:!0},mTShapeOnColor:{type:"boolean",default:"",gCopy:!0},mTShapeVFlip:{type:"boolean",default:!1,gCopy:!0},mTShapeHFlip:{type:"boolean",default:!1,gCopy:!0},mTShapeColor:{type:"string",gCopy:!0},mTShapeHeight:{type:"object",gCopy:!0},mTShapeWidth:{type:"object",gCopy:!0},mTShapePos:{type:"boolean",default:"",gCopy:!0},mBShapeOpt:{type:"string",default:"gb-svg",gCopy:!0},mBShapeImg:{type:"object",default:"",gCopy:!0},mBShapeImgSizeType:{type:"string",default:"full",gCopy:!0},mBShapeSVGOpt:{type:"string",default:"gb-svg-default",gCopy:!0},mBShapeCustomSVG:{type:"string",default:"",gCopy:!0},mBShape:{type:"string",default:"",gCopy:!0},mBShapeOnColor:{type:"boolean",default:"",gCopy:!0},mBShapeVFlip:{type:"boolean",default:!1,gCopy:!0},mBShapeHFlip:{type:"boolean",default:!1,gCopy:!0},mBShapeColor:{type:"string",gCopy:!0},mBShapeHeight:{type:"object",gCopy:!0},mBShapeWidth:{type:"object",gCopy:!0},mBShapePos:{type:"boolean",default:"",gCopy:!0},mOnPos:{type:"boolean",default:!1,gCopy:!0},mContOnVAlign:{type:"boolean",default:!1,gCopy:!0},mContVAlign:{type:"string",default:"g-c-r-valign",gCopy:!0},mContVAlignT:{type:"string",default:"g-c-r-valign",gCopy:!0},mContVAlignD:{type:"string",default:"g-c-r-valign",gCopy:!0},mPosTypeD:{type:"string",default:"g-pos-d",gCopy:!0},mPosOptD:{type:"string",default:"default",gCopy:!0},mPosMarginAutoD:{type:"boolean",default:!1,gCopy:!0},mPosTypeT:{type:"string",default:"g-pos-d",gCopy:!0},mPosOptT:{type:"string",default:"default",gCopy:!0},mPosMarginAutoT:{type:"boolean",default:!1,gCopy:!0},mPosTypeM:{type:"string",default:"g-pos-d",gCopy:!0},mPosOptM:{type:"string",default:"default",gCopy:!0},mPosMarginAutoM:{type:"boolean",default:!1,gCopy:!0},mPosD:{type:"object",gCopy:!0},mPosDWidth:{type:"object",default:{type:"%",width:""},gCopy:!0},mPosT:{type:"object",gCopy:!0},mPosTWidth:{type:"object",default:{type:"%",width:""},gCopy:!0},mPosM:{type:"object",gCopy:!0},mPosMWidth:{type:"object",default:{type:"%",width:""},gCopy:!0},mZIndex:{type:"object",gCopy:!0},mOnHeight:{type:"boolean",default:!1,gCopy:!0},mHeight:{type:"object",gCopy:!0},mHideContSpace:{type:"object",gCopy:!0},mHideRowSpace:{type:"object",gCopy:!0},mHideColSpace:{type:"object",gCopy:!0},mRawCustomCss:{type:"string",default:"",gCopy:!0}})},function(e,t,n){"use strict";function o(e,t){return t?"-"===t[0]?e+t:e+"__"+t:e}function a(e,t,n,a){var r=[t,a];if(n&&e)for(var l in n)n.hasOwnProperty(l)&&n[l]&&r.push(""+o(e,l));return r.filter(function(e){return e}).map(function(e){return String(e).trim()}).join(" ")}function r(e,t,n){if(n){var o=n(e,t);if("string"===typeof o)return o}return e}function l(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function i(e){return l(e)?window.pageYOffset:e.scrollTop}function s(e,t){if(l(e))return void window.scrollTo(0,t);e.scrollTop=t}function c(e){var t=getComputedStyle(e),n="absolute"===t.position,o=/(auto|scroll)/,a=document.documentElement;if("fixed"===t.position)return a;for(var r=e;r=r.parentElement;)if(t=getComputedStyle(r),(!n||"static"!==t.position)&&o.test(t.overflow+t.overflowY+t.overflowX))return r;return a}function u(e,t,n,o){return n*((e=e/o-1)*e*e+1)+t}function p(e,t){function n(){p+=c;var t=u(p,r,l,o);s(e,t),p<o?C()(n):a(e)}var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:G,r=i(e),l=t-r,c=10,p=0;n()}function m(e,t){var n=e.getBoundingClientRect(),o=t.getBoundingClientRect(),a=t.offsetHeight/3;o.bottom+a>n.bottom?s(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+a,e.scrollHeight)):o.top-a<n.top&&s(e,Math.max(t.offsetTop-a,0))}function g(e){var t=e.getBoundingClientRect();return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}function d(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}function f(e){var t=e.maxHeight,n=e.menuEl,o=e.minHeight,a=e.placement,r=e.shouldScroll,l=e.isFixedPosition,u=e.theme,m=u.spacing,g=c(n),d={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return d;var f=g.getBoundingClientRect(),b=f.height,h=n.getBoundingClientRect(),v=h.bottom,w=h.height,y=h.top,_=n.offsetParent.getBoundingClientRect(),k=_.top,E=window.innerHeight,C=i(g),O=parseInt(getComputedStyle(n).marginBottom,10),j=parseInt(getComputedStyle(n).marginTop,10),x=k-j,I=E-y,T=x+C,F=b-C-y,B=v-E+C+O,S=C+y-j;switch(a){case"auto":case"bottom":if(I>=w)return{placement:"bottom",maxHeight:t};if(F>=w&&!l)return r&&p(g,B,160),{placement:"bottom",maxHeight:t};if(!l&&F>=o||l&&I>=o){r&&p(g,B,160);return{placement:"bottom",maxHeight:l?I-O:F-O}}if("auto"===a||l){var N=t;return(!l&&T>=o||l&&x>=o)&&(N=l?x-O-m.controlHeight:T-O-m.controlHeight),{placement:"top",maxHeight:N}}if("bottom"===a)return s(g,B),{placement:"bottom",maxHeight:t};break;case"top":if(x>=w)return{placement:"top",maxHeight:t};if(T>=w&&!l)return r&&p(g,S,160),{placement:"top",maxHeight:t};if(!l&&T>=o||l&&x>=o){var P=t;return(!l&&T>=o||l&&x>=o)&&(P=l?x-j:T-j),r&&p(g,S,160),{placement:"top",maxHeight:P}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'+a+'".')}return d}function b(e){var t={bottom:"top",top:"bottom"};return e?t[e]:"bottom"}function h(e,t){if(e===t)return!0;if(e&&t&&"object"==("undefined"===typeof e?"undefined":A(e))&&"object"==("undefined"===typeof t?"undefined":A(t))){var n,o,a,r=re(e),l=re(t);if(r&&l){if((o=e.length)!=t.length)return!1;for(n=o;0!==n--;)if(!h(e[n],t[n]))return!1;return!0}if(r!=l)return!1;var i=e instanceof Date,s=t instanceof Date;if(i!=s)return!1;if(i&&s)return e.getTime()==t.getTime();var c=e instanceof RegExp,u=t instanceof RegExp;if(c!=u)return!1;if(c&&u)return e.toString()==t.toString();var p=le(e);if((o=p.length)!==le(t).length)return!1;for(n=o;0!==n--;)if(!ie.call(t,p[n]))return!1;for(n=o;0!==n--;)if(("_owner"!==(a=p[n])||!e.$$typeof)&&!h(e[a],t[a]))return!1;return!0}return e!==e&&t!==t}function v(e,t){try{return h(e,t)}catch(e){if(e.message&&e.message.match(/stack|recursion/i))return console.warn("Warning: react-fast-compare does not handle circular references.",e.name,e.message),!1;throw e}}function w(e){e.preventDefault()}function y(e){e.stopPropagation()}function _(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;0===e?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function k(){return"ontouchstart"in window||navigator.maxTouchPoints}var E=n(216),C=n.n(E),O=n(11),j=n.n(O),x=n(43),I=(n.n(x),n(37)),T=n.n(I),F=n(103),B=n(217),S=n.n(B),N=n(218),P=n(602),A=(n.n(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}),M=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},D=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),H=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},L=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},R=function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)},V=function(e,t){var n={};for(var o in e)t.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n},W=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t},z=function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)},G=function(){},U=function(e){return Array.isArray(e)?e.filter(Boolean):"object"===("undefined"===typeof e?"undefined":A(e))&&null!==e?[e]:[]},q=function(e){return"auto"===e?"bottom":e},Y=function(e){var t,n=e.placement,o=e.theme,a=o.borderRadius,r=o.spacing,l=o.colors;return t={},H(t,b(n),"100%"),H(t,"backgroundColor",l.neutral0),H(t,"borderRadius",a),H(t,"boxShadow","0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)"),H(t,"marginBottom",r.menuGutter),H(t,"marginTop",r.menuGutter),H(t,"position","absolute"),H(t,"width","100%"),H(t,"zIndex",1),t},K=function(e){function t(){var e,n,o,a;M(this,t);for(var r=arguments.length,l=Array(r),i=0;i<r;i++)l[i]=arguments[i];return n=o=W(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(l))),o.state={maxHeight:o.props.maxMenuHeight,placement:null},o.getPlacement=function(e){var t=o.props,n=t.minMenuHeight,a=t.maxMenuHeight,r=t.menuPlacement,l=t.menuPosition,i=t.menuShouldScrollIntoView,s=t.theme,c=o.context.getPortalPlacement;if(e){var u="fixed"===l,p=i&&!u,m=f({maxHeight:a,menuEl:e,minHeight:n,placement:r,shouldScroll:p,isFixedPosition:u,theme:s});c&&c(m),o.setState(m)}},o.getUpdatedProps=function(){var e=o.props.menuPlacement,t=o.state.placement||q(e);return L({},o.props,{placement:t,maxHeight:o.state.maxHeight})},a=n,W(o,a)}return R(t,e),D(t,[{key:"render",value:function(){return(0,this.props.children)({ref:this.getPlacement,placerProps:this.getUpdatedProps()})}}]),t}(O.Component);K.contextTypes={getPortalPlacement:T.a.func};var X=function(e){var t=e.children,n=e.className,o=e.cx,a=e.getStyles,r=e.innerRef,l=e.innerProps,i=e.emotion,s=o(i.css(a("menu",e)),{menu:!0},n);return j.a.createElement("div",L({className:s},l,{ref:r}),t)},Z=function(e){var t=e.maxHeight,n=e.theme.spacing.baseUnit;return{maxHeight:t,overflowY:"auto",paddingBottom:n,paddingTop:n,position:"relative",WebkitOverflowScrolling:"touch"}},Q=function(e){var t=e.children,n=e.className,o=e.cx,a=e.getStyles,r=e.isMulti,l=e.innerRef,i=e.emotion;return j.a.createElement("div",{className:o(i.css(a("menuList",e)),{"menu-list":!0,"menu-list--is-multi":r},n),ref:l},t)},J=function(e){var t=e.theme,n=t.spacing.baseUnit;return{color:t.colors.neutral40,padding:2*n+"px "+3*n+"px",textAlign:"center"}},$=J,ee=J,te=function(e){var t=e.children,n=e.className,o=e.cx,a=e.getStyles,r=e.innerProps,l=e.emotion;return j.a.createElement("div",L({className:o(l.css(a("noOptionsMessage",e)),{"menu-notice":!0,"menu-notice--no-options":!0},n)},r),t)};te.defaultProps={children:"No options"};var ne=function(e){var t=e.children,n=e.className,o=e.cx,a=e.getStyles,r=e.innerProps,l=e.emotion;return j.a.createElement("div",L({className:o(l.css(a("loadingMessage",e)),{"menu-notice":!0,"menu-notice--loading":!0},n)},r),t)};ne.defaultProps={children:"Loading..."};var oe=function(e){var t=e.rect,n=e.offset,o=e.position;return{left:t.left,position:o,top:n,width:t.width,zIndex:1}},ae=function(e){function t(){var e,n,o,a;M(this,t);for(var r=arguments.length,l=Array(r),i=0;i<r;i++)l[i]=arguments[i];return n=o=W(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(l))),o.state={placement:null},o.getPortalPlacement=function(e){var t=e.placement;t!==q(o.props.menuPlacement)&&o.setState({placement:t})},a=n,W(o,a)}return R(t,e),D(t,[{key:"getChildContext",value:function(){return{getPortalPlacement:this.getPortalPlacement}}},{key:"render",value:function(){var e=this.props,t=e.appendTo,n=e.children,o=e.controlElement,a=e.menuPlacement,r=e.menuPosition,l=e.getStyles,i=e.emotion,s="fixed"===r;if(!t&&!s||!o)return null;var c=this.state.placement||q(a),u=g(o),p=s?0:window.pageYOffset,m=u[c]+p,d={offset:m,position:r,rect:u},f=j.a.createElement("div",{className:i.css(l("menuPortal",d))},n);return t?Object(x.createPortal)(f,t):f}}]),t}(O.Component);ae.childContextTypes={getPortalPlacement:T.a.func};var re=Array.isArray,le=Object.keys,ie=Object.prototype.hasOwnProperty,se=[{base:"A",letters:/[\u0041\u24B6\uFF21\u00C0\u00C1\u00C2\u1EA6\u1EA4\u1EAA\u1EA8\u00C3\u0100\u0102\u1EB0\u1EAE\u1EB4\u1EB2\u0226\u01E0\u00C4\u01DE\u1EA2\u00C5\u01FA\u01CD\u0200\u0202\u1EA0\u1EAC\u1EB6\u1E00\u0104\u023A\u2C6F]/g},{base:"AA",letters:/[\uA732]/g},{base:"AE",letters:/[\u00C6\u01FC\u01E2]/g},{base:"AO",letters:/[\uA734]/g},{base:"AU",letters:/[\uA736]/g},{base:"AV",letters:/[\uA738\uA73A]/g},{base:"AY",letters:/[\uA73C]/g},{base:"B",letters:/[\u0042\u24B7\uFF22\u1E02\u1E04\u1E06\u0243\u0182\u0181]/g},{base:"C",letters:/[\u0043\u24B8\uFF23\u0106\u0108\u010A\u010C\u00C7\u1E08\u0187\u023B\uA73E]/g},{base:"D",letters:/[\u0044\u24B9\uFF24\u1E0A\u010E\u1E0C\u1E10\u1E12\u1E0E\u0110\u018B\u018A\u0189\uA779]/g},{base:"DZ",letters:/[\u01F1\u01C4]/g},{base:"Dz",letters:/[\u01F2\u01C5]/g},{base:"E",letters:/[\u0045\u24BA\uFF25\u00C8\u00C9\u00CA\u1EC0\u1EBE\u1EC4\u1EC2\u1EBC\u0112\u1E14\u1E16\u0114\u0116\u00CB\u1EBA\u011A\u0204\u0206\u1EB8\u1EC6\u0228\u1E1C\u0118\u1E18\u1E1A\u0190\u018E]/g},{base:"F",letters:/[\u0046\u24BB\uFF26\u1E1E\u0191\uA77B]/g},{base:"G",letters:/[\u0047\u24BC\uFF27\u01F4\u011C\u1E20\u011E\u0120\u01E6\u0122\u01E4\u0193\uA7A0\uA77D\uA77E]/g},{base:"H",letters:/[\u0048\u24BD\uFF28\u0124\u1E22\u1E26\u021E\u1E24\u1E28\u1E2A\u0126\u2C67\u2C75\uA78D]/g},{base:"I",letters:/[\u0049\u24BE\uFF29\u00CC\u00CD\u00CE\u0128\u012A\u012C\u0130\u00CF\u1E2E\u1EC8\u01CF\u0208\u020A\u1ECA\u012E\u1E2C\u0197]/g},{base:"J",letters:/[\u004A\u24BF\uFF2A\u0134\u0248]/g},{base:"K",letters:/[\u004B\u24C0\uFF2B\u1E30\u01E8\u1E32\u0136\u1E34\u0198\u2C69\uA740\uA742\uA744\uA7A2]/g},{base:"L",letters:/[\u004C\u24C1\uFF2C\u013F\u0139\u013D\u1E36\u1E38\u013B\u1E3C\u1E3A\u0141\u023D\u2C62\u2C60\uA748\uA746\uA780]/g},{base:"LJ",letters:/[\u01C7]/g},{base:"Lj",letters:/[\u01C8]/g},{base:"M",letters:/[\u004D\u24C2\uFF2D\u1E3E\u1E40\u1E42\u2C6E\u019C]/g},{base:"N",letters:/[\u004E\u24C3\uFF2E\u01F8\u0143\u00D1\u1E44\u0147\u1E46\u0145\u1E4A\u1E48\u0220\u019D\uA790\uA7A4]/g},{base:"NJ",letters:/[\u01CA]/g},{base:"Nj",letters:/[\u01CB]/g},{base:"O",letters:/[\u004F\u24C4\uFF2F\u00D2\u00D3\u00D4\u1ED2\u1ED0\u1ED6\u1ED4\u00D5\u1E4C\u022C\u1E4E\u014C\u1E50\u1E52\u014E\u022E\u0230\u00D6\u022A\u1ECE\u0150\u01D1\u020C\u020E\u01A0\u1EDC\u1EDA\u1EE0\u1EDE\u1EE2\u1ECC\u1ED8\u01EA\u01EC\u00D8\u01FE\u0186\u019F\uA74A\uA74C]/g},{base:"OI",letters:/[\u01A2]/g},{base:"OO",letters:/[\uA74E]/g},{base:"OU",letters:/[\u0222]/g},{base:"P",letters:/[\u0050\u24C5\uFF30\u1E54\u1E56\u01A4\u2C63\uA750\uA752\uA754]/g},{base:"Q",letters:/[\u0051\u24C6\uFF31\uA756\uA758\u024A]/g},{base:"R",letters:/[\u0052\u24C7\uFF32\u0154\u1E58\u0158\u0210\u0212\u1E5A\u1E5C\u0156\u1E5E\u024C\u2C64\uA75A\uA7A6\uA782]/g},{base:"S",letters:/[\u0053\u24C8\uFF33\u1E9E\u015A\u1E64\u015C\u1E60\u0160\u1E66\u1E62\u1E68\u0218\u015E\u2C7E\uA7A8\uA784]/g},{base:"T",letters:/[\u0054\u24C9\uFF34\u1E6A\u0164\u1E6C\u021A\u0162\u1E70\u1E6E\u0166\u01AC\u01AE\u023E\uA786]/g},{base:"TZ",letters:/[\uA728]/g},{base:"U",letters:/[\u0055\u24CA\uFF35\u00D9\u00DA\u00DB\u0168\u1E78\u016A\u1E7A\u016C\u00DC\u01DB\u01D7\u01D5\u01D9\u1EE6\u016E\u0170\u01D3\u0214\u0216\u01AF\u1EEA\u1EE8\u1EEE\u1EEC\u1EF0\u1EE4\u1E72\u0172\u1E76\u1E74\u0244]/g},{base:"V",letters:/[\u0056\u24CB\uFF36\u1E7C\u1E7E\u01B2\uA75E\u0245]/g},{base:"VY",letters:/[\uA760]/g},{base:"W",letters:/[\u0057\u24CC\uFF37\u1E80\u1E82\u0174\u1E86\u1E84\u1E88\u2C72]/g},{base:"X",letters:/[\u0058\u24CD\uFF38\u1E8A\u1E8C]/g},{base:"Y",letters:/[\u0059\u24CE\uFF39\u1EF2\u00DD\u0176\u1EF8\u0232\u1E8E\u0178\u1EF6\u1EF4\u01B3\u024E\u1EFE]/g},{base:"Z",letters:/[\u005A\u24CF\uFF3A\u0179\u1E90\u017B\u017D\u1E92\u1E94\u01B5\u0224\u2C7F\u2C6B\uA762]/g},{base:"a",letters:/[\u0061\u24D0\uFF41\u1E9A\u00E0\u00E1\u00E2\u1EA7\u1EA5\u1EAB\u1EA9\u00E3\u0101\u0103\u1EB1\u1EAF\u1EB5\u1EB3\u0227\u01E1\u00E4\u01DF\u1EA3\u00E5\u01FB\u01CE\u0201\u0203\u1EA1\u1EAD\u1EB7\u1E01\u0105\u2C65\u0250]/g},{base:"aa",letters:/[\uA733]/g},{base:"ae",letters:/[\u00E6\u01FD\u01E3]/g},{base:"ao",letters:/[\uA735]/g},{base:"au",letters:/[\uA737]/g},{base:"av",letters:/[\uA739\uA73B]/g},{base:"ay",letters:/[\uA73D]/g},{base:"b",letters:/[\u0062\u24D1\uFF42\u1E03\u1E05\u1E07\u0180\u0183\u0253]/g},{base:"c",letters:/[\u0063\u24D2\uFF43\u0107\u0109\u010B\u010D\u00E7\u1E09\u0188\u023C\uA73F\u2184]/g},{base:"d",letters:/[\u0064\u24D3\uFF44\u1E0B\u010F\u1E0D\u1E11\u1E13\u1E0F\u0111\u018C\u0256\u0257\uA77A]/g},{base:"dz",letters:/[\u01F3\u01C6]/g},{base:"e",letters:/[\u0065\u24D4\uFF45\u00E8\u00E9\u00EA\u1EC1\u1EBF\u1EC5\u1EC3\u1EBD\u0113\u1E15\u1E17\u0115\u0117\u00EB\u1EBB\u011B\u0205\u0207\u1EB9\u1EC7\u0229\u1E1D\u0119\u1E19\u1E1B\u0247\u025B\u01DD]/g},{base:"f",letters:/[\u0066\u24D5\uFF46\u1E1F\u0192\uA77C]/g},{base:"g",letters:/[\u0067\u24D6\uFF47\u01F5\u011D\u1E21\u011F\u0121\u01E7\u0123\u01E5\u0260\uA7A1\u1D79\uA77F]/g},{base:"h",letters:/[\u0068\u24D7\uFF48\u0125\u1E23\u1E27\u021F\u1E25\u1E29\u1E2B\u1E96\u0127\u2C68\u2C76\u0265]/g},{base:"hv",letters:/[\u0195]/g},{base:"i",letters:/[\u0069\u24D8\uFF49\u00EC\u00ED\u00EE\u0129\u012B\u012D\u00EF\u1E2F\u1EC9\u01D0\u0209\u020B\u1ECB\u012F\u1E2D\u0268\u0131]/g},{base:"j",letters:/[\u006A\u24D9\uFF4A\u0135\u01F0\u0249]/g},{base:"k",letters:/[\u006B\u24DA\uFF4B\u1E31\u01E9\u1E33\u0137\u1E35\u0199\u2C6A\uA741\uA743\uA745\uA7A3]/g},{base:"l",letters:/[\u006C\u24DB\uFF4C\u0140\u013A\u013E\u1E37\u1E39\u013C\u1E3D\u1E3B\u017F\u0142\u019A\u026B\u2C61\uA749\uA781\uA747]/g},{base:"lj",letters:/[\u01C9]/g},{base:"m",letters:/[\u006D\u24DC\uFF4D\u1E3F\u1E41\u1E43\u0271\u026F]/g},{base:"n",letters:/[\u006E\u24DD\uFF4E\u01F9\u0144\u00F1\u1E45\u0148\u1E47\u0146\u1E4B\u1E49\u019E\u0272\u0149\uA791\uA7A5]/g},{base:"nj",letters:/[\u01CC]/g},{base:"o",letters:/[\u006F\u24DE\uFF4F\u00F2\u00F3\u00F4\u1ED3\u1ED1\u1ED7\u1ED5\u00F5\u1E4D\u022D\u1E4F\u014D\u1E51\u1E53\u014F\u022F\u0231\u00F6\u022B\u1ECF\u0151\u01D2\u020D\u020F\u01A1\u1EDD\u1EDB\u1EE1\u1EDF\u1EE3\u1ECD\u1ED9\u01EB\u01ED\u00F8\u01FF\u0254\uA74B\uA74D\u0275]/g},{base:"oi",letters:/[\u01A3]/g},{base:"ou",letters:/[\u0223]/g},{base:"oo",letters:/[\uA74F]/g},{base:"p",letters:/[\u0070\u24DF\uFF50\u1E55\u1E57\u01A5\u1D7D\uA751\uA753\uA755]/g},{base:"q",letters:/[\u0071\u24E0\uFF51\u024B\uA757\uA759]/g},{base:"r",letters:/[\u0072\u24E1\uFF52\u0155\u1E59\u0159\u0211\u0213\u1E5B\u1E5D\u0157\u1E5F\u024D\u027D\uA75B\uA7A7\uA783]/g},{base:"s",letters:/[\u0073\u24E2\uFF53\u00DF\u015B\u1E65\u015D\u1E61\u0161\u1E67\u1E63\u1E69\u0219\u015F\u023F\uA7A9\uA785\u1E9B]/g},{base:"t",letters:/[\u0074\u24E3\uFF54\u1E6B\u1E97\u0165\u1E6D\u021B\u0163\u1E71\u1E6F\u0167\u01AD\u0288\u2C66\uA787]/g},{base:"tz",letters:/[\uA729]/g},{base:"u",letters:/[\u0075\u24E4\uFF55\u00F9\u00FA\u00FB\u0169\u1E79\u016B\u1E7B\u016D\u00FC\u01DC\u01D8\u01D6\u01DA\u1EE7\u016F\u0171\u01D4\u0215\u0217\u01B0\u1EEB\u1EE9\u1EEF\u1EED\u1EF1\u1EE5\u1E73\u0173\u1E77\u1E75\u0289]/g},{base:"v",letters:/[\u0076\u24E5\uFF56\u1E7D\u1E7F\u028B\uA75F\u028C]/g},{base:"vy",letters:/[\uA761]/g},{base:"w",letters:/[\u0077\u24E6\uFF57\u1E81\u1E83\u0175\u1E87\u1E85\u1E98\u1E89\u2C73]/g},{base:"x",letters:/[\u0078\u24E7\uFF58\u1E8B\u1E8D]/g},{base:"y",letters:/[\u0079\u24E8\uFF59\u1EF3\u00FD\u0177\u1EF9\u0233\u1E8F\u00FF\u1EF7\u1E99\u1EF5\u01B4\u024F\u1EFF]/g},{base:"z",letters:/[\u007A\u24E9\uFF5A\u017A\u1E91\u017C\u017E\u1E93\u1E95\u01B6\u0225\u0240\u2C6C\uA763]/g}],ce=function(e){for(var t=0;t<se.length;t++)e=e.replace(se[t].letters,se[t].base);return e},ue=function(e){return e.replace(/^\s+|\s+$/g,"")},pe=function(e){return e.label+" "+e.value},me=function(e){return j.a.createElement("span",L({className:e.emotion.css({zIndex:9999,border:0,clip:"rect(1px, 1px, 1px, 1px)",height:1,width:1,position:"absolute",overflow:"hidden",padding:0,whiteSpace:"nowrap",backgroundColor:"red",color:"blue"})},e))},ge=function(e){function t(){return M(this,t),W(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return R(t,e),D(t,[{key:"render",value:function(){var e=this.props,t=(e.in,e.out,e.onExited,e.appear,e.enter,e.exit,e.innerRef),n=e.emotion,o=V(e,["in","out","onExited","appear","enter","exit","innerRef","emotion"]);return j.a.createElement("input",L({ref:t},o,{className:n.css({background:0,border:0,fontSize:"inherit",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(0)"})}))}}]),t}(O.Component),de=function(e){function t(){return M(this,t),W(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return R(t,e),D(t,[{key:"componentDidMount",value:function(){this.props.innerRef(Object(x.findDOMNode)(this))}},{key:"componentWillUnmount",value:function(){this.props.innerRef(null)}},{key:"render",value:function(){return this.props.children}}]),t}(O.Component),fe=["boxSizing","height","overflow","paddingRight","position"],be={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"},he=!("undefined"===typeof window||!window.document||!window.document.createElement),ve=0,we=function(e){function t(){var e,n,o,a;M(this,t);for(var r=arguments.length,l=Array(r),i=0;i<r;i++)l[i]=arguments[i];return n=o=W(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(l))),o.originalStyles={},o.listenerOptions={capture:!1,passive:!1},a=n,W(o,a)}return R(t,e),D(t,[{key:"componentDidMount",value:function(){var e=this;if(he){var t=this.props,n=t.accountForScrollbars,o=t.touchScrollTarget,a=document.body,r=a&&a.style;if(n&&fe.forEach(function(t){var n=r&&r[t];e.originalStyles[t]=n}),n&&ve<1){var l=parseInt(this.originalStyles.paddingRight,10)||0,i=document.body?document.body.clientWidth:0,s=window.innerWidth-i+l||0;Object.keys(be).forEach(function(e){var t=be[e];r&&(r[e]=t)}),r&&(r.paddingRight=s+"px")}a&&k()&&(a.addEventListener("touchmove",w,this.listenerOptions),o&&(o.addEventListener("touchstart",_,this.listenerOptions),o.addEventListener("touchmove",y,this.listenerOptions))),ve+=1}}},{key:"componentWillUnmount",value:function(){var e=this;if(he){var t=this.props,n=t.accountForScrollbars,o=t.touchScrollTarget,a=document.body,r=a&&a.style;ve=Math.max(ve-1,0),n&&ve<1&&fe.forEach(function(t){var n=e.originalStyles[t];r&&(r[t]=n)}),a&&k()&&(a.removeEventListener("touchmove",w,this.listenerOptions),o&&(o.removeEventListener("touchstart",_,this.listenerOptions),o.removeEventListener("touchmove",y,this.listenerOptions)))}}},{key:"render",value:function(){return null}}]),t}(O.Component);we.defaultProps={accountForScrollbars:!0};var ye=function(e){function t(){var e,n,o,a;M(this,t);for(var r=arguments.length,l=Array(r),i=0;i<r;i++)l[i]=arguments[i];return n=o=W(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(l))),o.state={touchScrollTarget:null},o.getScrollTarget=function(e){e!==o.state.touchScrollTarget&&o.setState({touchScrollTarget:e})},o.blurSelectInput=function(){document.activeElement&&document.activeElement.blur()},a=n,W(o,a)}return R(t,e),D(t,[{key:"render",value:function(){var e=this.props,t=e.children,n=e.isEnabled,o=e.emotion,a=this.state.touchScrollTarget;return n?j.a.createElement("div",null,j.a.createElement("div",{onClick:this.blurSelectInput,className:o.css({position:"fixed",left:0,bottom:0,right:0,top:0})}),j.a.createElement(de,{innerRef:this.getScrollTarget},t),a?j.a.createElement(we,{touchScrollTarget:a}):null):t}}]),t}(O.PureComponent),_e=function(e){function t(){var e,n,o,a;M(this,t);for(var r=arguments.length,l=Array(r),i=0;i<r;i++)l[i]=arguments[i];return n=o=W(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(l))),o.isBottom=!1,o.isTop=!1,o.cancelScroll=function(e){e.preventDefault(),e.stopPropagation()},o.handleEventDelta=function(e,t){var n=o.props,a=n.onBottomArrive,r=n.onBottomLeave,l=n.onTopArrive,i=n.onTopLeave,s=o.scrollTarget,c=s.scrollTop,u=s.scrollHeight,p=s.clientHeight,m=o.scrollTarget,g=t>0,d=u-p-c,f=!1;d>t&&o.isBottom&&(r&&r(e),o.isBottom=!1),g&&o.isTop&&(i&&i(e),o.isTop=!1),g&&t>d?(a&&!o.isBottom&&a(e),m.scrollTop=u,f=!0,o.isBottom=!0):!g&&-t>c&&(l&&!o.isTop&&l(e),m.scrollTop=0,f=!0,o.isTop=!0),f&&o.cancelScroll(e)},o.onWheel=function(e){o.handleEventDelta(e,e.deltaY)},o.onTouchStart=function(e){o.touchStart=e.changedTouches[0].clientY},o.onTouchMove=function(e){var t=o.touchStart-e.changedTouches[0].clientY;o.handleEventDelta(e,t)},o.getScrollTarget=function(e){o.scrollTarget=e},a=n,W(o,a)}return R(t,e),D(t,[{key:"componentDidMount",value:function(){this.startListening(this.scrollTarget)}},{key:"componentWillUnmount",value:function(){this.stopListening(this.scrollTarget)}},{key:"startListening",value:function(e){e.scrollHeight<=e.clientHeight||("function"===typeof e.addEventListener&&e.addEventListener("wheel",this.onWheel,!1),"function"===typeof e.addEventListener&&e.addEventListener("touchstart",this.onTouchStart,!1),"function"===typeof e.addEventListener&&e.addEventListener("touchmove",this.onTouchMove,!1))}},{key:"stopListening",value:function(e){e.scrollHeight<=e.clientHeight||("function"===typeof e.removeEventListener&&e.removeEventListener("wheel",this.onWheel,!1),"function"===typeof e.removeEventListener&&e.removeEventListener("touchstart",this.onTouchStart,!1),"function"===typeof e.removeEventListener&&e.removeEventListener("touchmove",this.onTouchMove,!1))}},{key:"render",value:function(){return j.a.createElement(de,{innerRef:this.getScrollTarget},this.props.children)}}]),t}(O.Component),ke=function(e){function t(){return M(this,t),W(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return R(t,e),D(t,[{key:"render",value:function(){var e=this.props,t=e.isEnabled,n=V(e,["isEnabled"]);return t?j.a.createElement(_e,n):this.props.children}}]),t}(O.Component);ke.defaultProps={isEnabled:!0};var Ee=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.isSearchable,o=t.isMulti,a=t.label;switch(e){case"menu":return"Use Up and Down to choose options, press Enter to select the currently focused option, press Escape to exit the menu, press Tab to select the option and exit the menu.";case"input":return(a||"Select")+" is focused "+(n?",type to refine list":"")+", press Down to open the menu, "+(o?" press left to focus selected values":"");case"value":return"Use left and right to toggle between focused values, press Enter to remove the currently focused value"}},Ce=function(e,t){var n=t.value;if(n)switch(e){case"deselect-option":case"pop-value":case"remove-value":return"option "+n+", deselected.";case"select-option":return"option "+n+", selected."}},Oe=function(e){var t=e.focusedValue,n=e.getOptionLabel,o=e.selectValue;return"value "+n(t)+" focused, "+(o.indexOf(t)+1)+" of "+o.length+"."},je=function(e){var t=e.focusedOption,n=e.getOptionLabel,o=e.options;return"option "+n(t)+" focused, "+(o.indexOf(t)+1)+" of "+o.length+"."},xe=function(e){var t=e.inputValue;return e.screenReaderMessage+(t?" for search term "+t:"")+"."},Ie=function(e){return e.label},Te=function(e){return e.label},Fe=function(e){return e.value},Be=function(e){return!!e.isDisabled},Se=function(e){var t=e.isDisabled;return{direction:e.isRtl?"rtl":null,pointerEvents:t?"none":null,position:"relative"}},Ne=function(e){var t=e.children,n=e.className,o=e.cx,a=e.getStyles,r=e.innerProps,l=e.isDisabled,i=e.isRtl,s=e.emotion;return j.a.createElement("div",L({className:o(s.css(a("container",e)),{"--is-disabled":l,"--is-rtl":i},n)},r),t)},Pe=function(e){var t=e.theme.spacing;return{alignItems:"center",display:"flex",flex:1,flexWrap:"wrap",padding:t.baseUnit/2+"px "+2*t.baseUnit+"px",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"}},Ae=function(e){function t(){return M(this,t),W(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return R(t,e),D(t,[{key:"render",value:function(){var e=this.props,t=e.children,n=e.className,o=e.cx,a=e.isMulti,r=e.getStyles,l=e.hasValue,i=e.emotion;return j.a.createElement("div",{className:o(i.css(r("valueContainer",this.props)),{"value-container":!0,"value-container--is-multi":a,"value-container--has-value":l},n)},t)}}]),t}(O.Component),Me=function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},De=function(e){var t=e.children,n=e.className,o=e.cx,a=e.getStyles,r=e.emotion;return j.a.createElement("div",{className:o(r.css(a("indicatorsContainer",e)),{indicators:!0},n)},t)},He=function(e,t){return Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}(["@keyframes "," {\n 0%, 80%, 100% { opacity: 0; }\n 40% { opacity: 1; }\n };"],["@keyframes "," {\n 0%, 80%, 100% { opacity: 0; }\n 40% { opacity: 1; }\n };"]),Le=function(e){var t=e.size,n=e.emotion,o=V(e,["size","emotion"]);return j.a.createElement("svg",L({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",className:n.css({display:"inline-block",fill:"currentColor",lineHeight:1,stroke:"currentColor",strokeWidth:0})},o))},Re=function(e){return j.a.createElement(Le,L({size:20},e),j.a.createElement("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},Ve=function(e){return j.a.createElement(Le,L({size:20},e),j.a.createElement("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},We=function(e){var t=e.isFocused,n=e.theme,o=n.spacing.baseUnit,a=n.colors;return{color:t?a.neutral60:a.neutral20,display:"flex",padding:2*o,transition:"color 150ms",":hover":{color:t?a.neutral80:a.neutral40}}},ze=We,Ge=function(e){var t=e.children,n=e.className,o=e.cx,a=e.getStyles,r=e.innerProps,l=e.emotion;return j.a.createElement("div",L({},r,{className:o(l.css(a("dropdownIndicator",e)),{indicator:!0,"dropdown-indicator":!0},n)}),t||j.a.createElement(Ve,{emotion:l}))},Ue=We,qe=function(e){var t=e.children,n=e.className,o=e.cx,a=e.getStyles,r=e.innerProps,l=e.emotion;return j.a.createElement("div",L({},r,{className:o(l.css(a("clearIndicator",e)),{indicator:!0,"clear-indicator":!0},n)}),t||j.a.createElement(Re,{emotion:l}))},Ye=function(e){var t=e.isDisabled,n=e.theme,o=n.spacing.baseUnit,a=n.colors;return{alignSelf:"stretch",backgroundColor:t?a.neutral10:a.neutral20,marginBottom:2*o,marginTop:2*o,width:1}},Ke=function(e){var t=e.className,n=e.cx,o=e.getStyles,a=e.innerProps,r=e.emotion;return j.a.createElement("span",L({},a,{className:n(r.css(o("indicatorSeparator",e)),{"indicator-separator":!0},t)}))},Xe=!1,Ze=function(e){var t=e.isFocused,n=e.size,o=e.theme,a=o.colors,r=o.spacing.baseUnit;return{color:t?a.neutral60:a.neutral20,display:"flex",padding:2*r,transition:"color 150ms",alignSelf:"center",fontSize:n,lineHeight:1,marginRight:n,textAlign:"center",verticalAlign:"middle"}},Qe=function(e){var t=e.color,n=e.delay,o=e.offset,a=e.emotion;return j.a.createElement("span",{className:a.css({animationDuration:"1s",animationDelay:n+"ms",animationIterationCount:"infinite",animationName:"react-select-loading-indicator",animationTimingFunction:"ease-in-out",backgroundColor:t,borderRadius:"1em",display:"inline-block",marginLeft:o?"1em":null,height:"1em",verticalAlign:"top",width:"1em"})})},Je=function(e){var t=e.className,n=e.cx,o=e.getStyles,a=e.innerProps,r=e.isFocused,l=e.isRtl,i=e.emotion,s=e.theme.colors,c=r?s.neutral80:s.neutral20;return Xe||(i.injectGlobal(He,"react-select-loading-indicator"),Xe=!0),j.a.createElement("div",L({},a,{className:n(i.css(o("loadingIndicator",e)),{indicator:!0,"loading-indicator":!0},t)}),j.a.createElement(Qe,{emotion:i,color:c,delay:0,offset:l}),j.a.createElement(Qe,{emotion:i,color:c,delay:160,offset:!0}),j.a.createElement(Qe,{emotion:i,color:c,delay:320,offset:!l}))};Je.defaultProps={size:4};var $e=function(e){var t=e.isDisabled,n=e.isFocused,o=e.theme,a=o.colors,r=o.borderRadius,l=o.spacing;return{alignItems:"center",backgroundColor:t?a.neutral5:a.neutral0,borderColor:t?a.neutral10:n?a.primary:a.neutral20,borderRadius:r,borderStyle:"solid",borderWidth:1,boxShadow:n?"0 0 0 1px "+a.primary:null,cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:l.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms","&:hover":{borderColor:n?a.primary:a.neutral30}}},et=function(e){var t=e.children,n=e.cx,o=e.getStyles,a=e.className,r=e.isDisabled,l=e.isFocused,i=e.innerRef,s=e.innerProps,c=e.emotion;return j.a.createElement("div",L({ref:i,className:n(c.css(o("control",e)),{control:!0,"control--is-disabled":r,"control--is-focused":l},a)},s),t)},tt=function(e){var t=e.theme.spacing;return{paddingBottom:2*t.baseUnit,paddingTop:2*t.baseUnit}},nt=function(e){var t=e.children,n=e.className,o=e.cx,a=e.getStyles,r=e.Heading,l=e.headingProps,i=e.label,s=e.theme,c=e.emotion,u=e.selectProps;return j.a.createElement("div",{className:o(c.css(a("group",e)),{group:!0},n)},j.a.createElement(r,L({},l,{selectProps:u,emotion:c,theme:s,getStyles:a,cx:o}),i),j.a.createElement("div",null,t))},ot=function(e){var t=e.theme.spacing;return{color:"#999",cursor:"default",display:"block",fontSize:"75%",fontWeight:"500",marginBottom:"0.25em",paddingLeft:3*t.baseUnit,paddingRight:3*t.baseUnit,textTransform:"uppercase"}},at=function(e){var t=e.className,n=e.cx,o=e.getStyles,a=e.theme,r=e.emotion,l=(e.selectProps,V(e,["className","cx","getStyles","theme","emotion","selectProps"]));return j.a.createElement("div",L({className:n(r.css(o("groupHeading",L({theme:a},l))),{"group-heading":!0},t)},l))},rt=function(e){var t=e.isDisabled,n=e.theme,o=n.spacing,a=n.colors;return{margin:o.baseUnit/2,paddingBottom:o.baseUnit/2,paddingTop:o.baseUnit/2,visibility:t?"hidden":"visible",color:a.neutral80}},lt=function(e){return{background:0,border:0,fontSize:"inherit",opacity:e?0:1,outline:0,padding:0,color:"inherit"}},it=function(e){var t=e.className,n=e.cx,o=e.getStyles,a=e.innerRef,r=e.isHidden,l=e.isDisabled,i=e.theme,s=e.emotion,c=(e.selectProps,V(e,["className","cx","getStyles","innerRef","isHidden","isDisabled","theme","emotion","selectProps"]));return j.a.createElement("div",{className:s.css(o("input",L({theme:i},c)))},j.a.createElement(S.a,L({className:n(null,{input:!0},t),inputRef:a,inputStyle:lt(r),disabled:l},c)))},st=function(e){var t=e.theme,n=t.spacing,o=t.borderRadius;return{backgroundColor:t.colors.neutral10,borderRadius:o/2,display:"flex",margin:n.baseUnit/2,minWidth:0}},ct=function(e){var t=e.theme,n=t.borderRadius,o=t.colors,a=e.cropWithEllipsis;return{borderRadius:n/2,color:o.neutral80,fontSize:"85%",overflow:"hidden",padding:3,paddingLeft:6,textOverflow:a?"ellipsis":null,whiteSpace:"nowrap"}},ut=function(e){var t=e.theme,n=t.spacing,o=t.borderRadius,a=t.colors;return{alignItems:"center",borderRadius:o/2,backgroundColor:e.isFocused&&a.dangerLight,display:"flex",paddingLeft:n.baseUnit,paddingRight:n.baseUnit,":hover":{backgroundColor:a.dangerLight,color:a.danger}}},pt=function(e){var t=e.children,n=e.innerProps;return j.a.createElement("div",n,t)},mt=pt,gt=pt,dt=function(e){function t(){return M(this,t),W(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return R(t,e),D(t,[{key:"render",value:function(){var e=this.props,t=e.children,n=e.innerProps,o=e.emotion;return j.a.createElement("div",n,t||j.a.createElement(Re,{size:14,emotion:o}))}}]),t}(O.Component),ft=function(e){function t(){return M(this,t),W(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return R(t,e),D(t,[{key:"render",value:function(){var e=this.props,t=e.children,n=e.className,o=e.components,a=e.cx,r=e.data,l=e.getStyles,i=e.innerProps,s=e.isDisabled,c=e.removeProps,u=e.selectProps,p=e.emotion,m=o.Container,g=o.Label,d=o.Remove,f=L({className:a(p.css(l("multiValue",this.props)),{"multi-value":!0,"multi-value--is-disabled":s},n)},i),b={className:a(p.css(l("multiValueLabel",this.props)),{"multi-value__label":!0},n)},h=L({className:a(p.css(l("multiValueRemove",this.props)),{"multi-value__remove":!0},n)},c);return j.a.createElement(m,{data:r,innerProps:f,selectProps:u},j.a.createElement(g,{data:r,innerProps:b,selectProps:u},t),j.a.createElement(d,{data:r,innerProps:h,selectProps:u,emotion:p}))}}]),t}(O.Component);ft.defaultProps={cropWithEllipsis:!0};var bt=function(e){var t=e.isDisabled,n=e.isFocused,o=e.isSelected,a=e.theme,r=a.spacing,l=a.colors;return{backgroundColor:o?l.primary:n?l.primary25:"transparent",color:t?l.neutral20:o?l.neutral0:"inherit",cursor:"default",display:"block",fontSize:"inherit",padding:2*r.baseUnit+"px "+3*r.baseUnit+"px",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",":active":{backgroundColor:o?l.primary:l.primary50}}},ht=function(e){var t=e.children,n=e.className,o=e.cx,a=e.getStyles,r=e.isDisabled,l=e.isFocused,i=e.isSelected,s=e.innerRef,c=e.innerProps,u=e.emotion;return j.a.createElement("div",L({ref:s,className:o(u.css(a("option",e)),{option:!0,"option--is-disabled":r,"option--is-focused":l,"option--is-selected":i},n)},c),t)},vt=function(e){var t=e.theme,n=t.spacing;return{color:t.colors.neutral50,marginLeft:n.baseUnit/2,marginRight:n.baseUnit/2,position:"absolute",top:"50%",transform:"translateY(-50%)"}},wt=function(e){var t=e.children,n=e.className,o=e.cx,a=e.getStyles,r=e.innerProps,l=e.emotion;return j.a.createElement("div",L({className:o(l.css(a("placeholder",e)),{placeholder:!0},n)},r),t)},yt=function(e){var t=e.isDisabled,n=e.theme,o=n.spacing,a=n.colors;return{color:t?a.neutral40:a.neutral80,marginLeft:o.baseUnit/2,marginRight:o.baseUnit/2,maxWidth:"calc(100% - "+2*o.baseUnit+"px)",overflow:"hidden",position:"absolute",textOverflow:"ellipsis",whiteSpace:"nowrap",top:"50%",transform:"translateY(-50%)"}},_t=function(e){var t=e.children,n=e.className,o=e.cx,a=e.getStyles,r=e.isDisabled,l=e.innerProps,i=e.emotion;return j.a.createElement("div",L({className:o(i.css(a("singleValue",e)),{"single-value":!0,"single-value--is-disabled":r},n)},l),t)},kt={ClearIndicator:qe,Control:et,DropdownIndicator:Ge,DownChevron:Ve,CrossIcon:Re,Group:nt,GroupHeading:at,IndicatorsContainer:De,IndicatorSeparator:Ke,Input:it,LoadingIndicator:Je,Menu:X,MenuList:Q,MenuPortal:ae,LoadingMessage:ne,NoOptionsMessage:te,MultiValue:ft,MultiValueContainer:mt,MultiValueLabel:gt,MultiValueRemove:dt,Option:ht,Placeholder:wt,SelectContainer:Ne,SingleValue:_t,ValueContainer:Ae},Et=function(e){return L({},kt,e.components)},Ct={clearIndicator:Ue,container:Se,control:$e,dropdownIndicator:ze,group:tt,groupHeading:ot,indicatorsContainer:Me,indicatorSeparator:Ye,input:rt,loadingIndicator:Ze,loadingMessage:ee,menu:Y,menuList:Z,menuPortal:oe,multiValue:st,multiValueLabel:ct,multiValueRemove:ut,noOptionsMessage:$,option:bt,placeholder:vt,singleValue:yt,valueContainer:Pe},Ot={primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},jt={baseUnit:4,controlHeight:38,menuGutter:8},xt={borderRadius:4,colors:Ot,spacing:jt},It={backspaceRemovesValue:!0,blurInputOnSelect:d(),captureMenuScroll:!d(),closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:function(e){return function(t,n){var o=L({ignoreCase:!0,ignoreAccents:!0,stringify:pe,trim:!0,matchFrom:"any"},e),a=o.ignoreCase,r=o.ignoreAccents,l=o.stringify,i=o.trim,s=o.matchFrom,c=i?ue(n):n,u=i?ue(l(t)):l(t);return a&&(c=c.toLowerCase(),u=u.toLowerCase()),r&&(c=ce(c),u=ce(u)),"start"===s?u.substr(0,c.length)===c:u.indexOf(c)>-1}}(),formatGroupLabel:Ie,getOptionLabel:Te,getOptionValue:Fe,isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:Be,loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!function(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch(e){return!1}}(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(e){var t=e.count;return t+" result"+(1!==t?"s":"")+" available"},styles:{},tabIndex:"0",tabSelectsValue:!0},Tt=1,Ft=Object(N.default)(function(e){return Object(F.default)(e?{nonce:e}:{})}),Bt=function(e){function t(e){M(this,t);var n=W(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));St.call(n);var o=e.value;n.cacheComponents=Object(N.default)(n.cacheComponents,v).bind(n),n.cacheComponents(e.components),n.instancePrefix="react-select-"+(n.props.instanceId||++Tt);var a=U(o),r=n.buildMenuOptions(e,a);return n.emotion=Ft(e.nonce),n.state.menuOptions=r,n.state.selectValue=a,n}return R(t,e),D(t,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput()}},{key:"componentWillReceiveProps",value:function(e){var t=this.props,n=t.options,o=t.value,a=t.inputValue;if(this.cacheComponents(e.components),e.value!==o||e.options!==n||e.inputValue!==a){var r=U(e.value),l=this.buildMenuOptions(e,r),i=this.getNextFocusedValue(r),s=this.getNextFocusedOption(l.focusable);this.setState({menuOptions:l,selectValue:r,focusedOption:s,focusedValue:i})}null!=this.inputIsHiddenAfterUpdate&&(this.setState({inputIsHidden:this.inputIsHiddenAfterUpdate}),delete this.inputIsHiddenAfterUpdate)}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.isDisabled,o=t.menuIsOpen,a=this.state.isFocused;(a&&!n&&e.isDisabled||a&&o&&!e.menuIsOpen)&&this.focusInput(),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&m(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){var e=this.props,t=e.isSearchable,n=e.isMulti;this.announceAriaLiveContext({event:"input",context:{isSearchable:t,isMulti:n}}),this.onInputChange("",{action:"menu-close"}),this.props.onMenuClose()}},{key:"onInputChange",value:function(e,t){this.props.onInputChange(e,t)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(e){var t=this.state,n=t.menuOptions,o=t.selectValue,a=this.props.isMulti,r="first"===e?0:n.focusable.length-1;if(!a){var l=n.focusable.indexOf(o[0]);l>-1&&(r=l)}this.scrollToFocusedOptionOnUpdate=!0,this.inputIsHiddenAfterUpdate=!1,this.onMenuOpen(),this.setState({focusedValue:null,focusedOption:n.focusable[r]}),this.announceAriaLiveContext({event:"menu"})}},{key:"focusValue",value:function(e){var t=this.props,n=t.isMulti,o=t.isSearchable,a=this.state,r=a.selectValue,l=a.focusedValue;if(n){this.setState({focusedOption:null});var i=r.indexOf(l);l||(i=-1,this.announceAriaLiveContext({event:"value"}));var s=r.length-1,c=-1;if(r.length){switch(e){case"previous":c=0===i?0:-1===i?s:i-1;break;case"next":i>-1&&i<s&&(c=i+1)}-1===c&&this.announceAriaLiveContext({event:"input",context:{isSearchable:o,isMulti:n}}),this.setState({inputIsHidden:-1!==c,focusedValue:r[c]})}}}},{key:"focusOption",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"first",t=this.props.pageSize,n=this.state,o=n.focusedOption,a=n.menuOptions,r=a.focusable;if(r.length){var l=0,i=r.indexOf(o);o||(i=-1,this.announceAriaLiveContext({event:"menu"})),"up"===e?l=i>0?i-1:r.length-1:"down"===e?l=(i+1)%r.length:"pageup"===e?(l=i-t)<0&&(l=0):"pagedown"===e?(l=i+t)>r.length-1&&(l=r.length-1):"last"===e&&(l=r.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:r[l],focusedValue:null})}}},{key:"getTheme",value:function(){return this.props.theme?"function"===typeof this.props.theme?this.props.theme(xt):L({},xt,this.props.theme):xt}},{key:"getCommonProps",value:function(){var e=this.clearValue,t=this.getStyles,n=this.setValue,o=this.selectOption,r=this.props,l=r.classNamePrefix,i=r.isMulti,s=r.isRtl,c=r.options,u=this.state.selectValue,p=this.hasValue(),m=function(){return u},g=l;return{cx:a.bind(null,g),clearValue:e,getStyles:t,getValue:m,hasValue:p,isMulti:i,isRtl:s,options:c,selectOption:o,setValue:n,selectProps:r,theme:this.getTheme(),emotion:this.emotion}}},{key:"getNextFocusedValue",value:function(e){if(this.clearFocusValueOnUpdate)return this.clearFocusValueOnUpdate=!1,null;var t=this.state,n=t.focusedValue,o=t.selectValue,a=o.indexOf(n);if(a>-1){if(e.indexOf(n)>-1)return n;if(a<e.length)return e[a]}return null}},{key:"getNextFocusedOption",value:function(e){var t=this.state.focusedOption;return t&&e.indexOf(t)>-1?t:e[0]}},{key:"hasValue",value:function(){return this.state.selectValue.length>0}},{key:"hasOptions",value:function(){return!!this.state.menuOptions.render.length}},{key:"countOptions",value:function(){return this.state.menuOptions.focusable.length}},{key:"isClearable",value:function(){var e=this.props,t=e.isClearable,n=e.isMulti;return void 0===t?n:t}},{key:"isOptionDisabled",value:function(e,t){return"function"===typeof this.props.isOptionDisabled&&this.props.isOptionDisabled(e,t)}},{key:"isOptionSelected",value:function(e,t){var n=this;if(t.indexOf(e)>-1)return!0;if("function"===typeof this.props.isOptionSelected)return this.props.isOptionSelected(e,t);var o=this.getOptionValue(e);return t.some(function(e){return n.getOptionValue(e)===o})}},{key:"filterOption",value:function(e,t){return!this.props.filterOption||this.props.filterOption(e,t)}},{key:"formatOptionLabel",value:function(e,t){if("function"===typeof this.props.formatOptionLabel){var n=this.props.inputValue,o=this.state.selectValue;return this.props.formatOptionLabel(e,{context:t,inputValue:n,selectValue:o})}return this.getOptionLabel(e)}},{key:"formatGroupLabel",value:function(e){return this.props.formatGroupLabel(e)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"buildMenuOptions",value:function(e,t){var n=this,o=e.inputValue,a=void 0===o?"":o,r=e.options,l=function(e,o){var r=n.isOptionDisabled(e,t),l=n.isOptionSelected(e,t),i=n.getOptionLabel(e),s=n.getOptionValue(e);if(!(n.shouldHideSelectedOptions()&&l||!n.filterOption({label:i,value:s,data:e},a))){var c=r?void 0:function(){return n.onOptionHover(e)},u=r?void 0:function(){return n.selectOption(e)},p=n.getElementId("option")+"-"+o;return{innerProps:{id:p,onClick:u,onMouseMove:c,onMouseOver:c,role:"option",tabIndex:-1},data:e,isDisabled:r,isSelected:l,key:p,label:i,type:"option",value:s}}};return r.reduce(function(e,t,o){if(t.options){n.hasGroups||(n.hasGroups=!0);var a=t.options,r=a.map(function(t,n){var a=l(t,o+"-"+n);return a&&!a.isDisabled&&e.focusable.push(t),a}).filter(Boolean);if(r.length){var i=n.getElementId("group")+"-"+o;e.render.push({type:"group",key:i,data:t,options:r})}}else{var s=l(t,""+o);s&&(e.render.push(s),s.isDisabled||e.focusable.push(t))}return e},{render:[],focusable:[]})}},{key:"constructAriaLiveMessage",value:function(){var e=this.state,t=e.ariaLiveContext,n=e.selectValue,o=e.focusedValue,a=e.focusedOption,r=this.props,l=r.options,i=r.menuIsOpen,s=r.inputValue,c=r.screenReaderStatus;return(o?Oe({focusedValue:o,getOptionLabel:this.getOptionLabel,selectValue:n}):"")+" "+(a&&i?je({focusedOption:a,getOptionLabel:this.getOptionLabel,options:l}):"")+" "+xe({inputValue:s,screenReaderMessage:c({count:this.countOptions()})})+" "+t}},{key:"renderInput",value:function(){var e=this.props,t=e.isDisabled,n=e.isSearchable,o=e.inputId,a=e.inputValue,r=e.tabIndex,l=this.components.Input,i=this.state.inputIsHidden,s=o||this.getElementId("input");if(!n)return j.a.createElement(ge,{id:s,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:G,onFocus:this.onInputFocus,readOnly:!0,disabled:t,tabIndex:r,value:"",emotion:this.emotion});var c={"aria-autocomplete":"list","aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"]},u=this.commonProps,p=u.cx,m=u.theme,g=u.selectProps;return j.a.createElement(l,L({autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",cx:p,getStyles:this.getStyles,id:s,innerRef:this.getInputRef,isDisabled:t,isHidden:i,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,selectProps:g,spellCheck:"false",tabIndex:r,theme:m,type:"text",value:a,emotion:this.emotion},c))}},{key:"renderPlaceholderOrValue",value:function(){var e=this,t=this.components,n=t.MultiValue,o=t.MultiValueContainer,a=t.MultiValueLabel,r=t.MultiValueRemove,l=t.SingleValue,i=t.Placeholder,s=this.commonProps,c=this.props,u=c.controlShouldRenderValue,p=c.isDisabled,m=c.isMulti,g=c.inputValue,d=c.placeholder,f=this.state,b=f.selectValue,h=f.focusedValue,v=f.isFocused;if(!this.hasValue()||!u)return g?null:j.a.createElement(i,L({},s,{key:"placeholder",isDisabled:p,isFocused:v}),d);if(m){return b.map(function(t){var l=t===h;return j.a.createElement(n,L({},s,{components:{Container:o,Label:a,Remove:r},isFocused:l,isDisabled:p,key:e.getOptionValue(t),removeProps:{onClick:function(){return e.removeValue(t)},onTouchEnd:function(){return e.removeValue(t)},onMouseDown:function(e){e.preventDefault(),e.stopPropagation()}},data:t}),e.formatOptionLabel(t,"value"))})}if(g)return null;var w=b[0];return j.a.createElement(l,L({},s,{data:w,isDisabled:p}),this.formatOptionLabel(w,"value"))}},{key:"renderClearIndicator",value:function(){var e=this.components.ClearIndicator,t=this.commonProps,n=this.props,o=n.isDisabled,a=n.isLoading,r=this.state.isFocused;if(!this.isClearable()||!e||o||!this.hasValue()||a)return null;var l={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return j.a.createElement(e,L({},t,{innerProps:l,isFocused:r}))}},{key:"renderLoadingIndicator",value:function(){var e=this.components.LoadingIndicator,t=this.commonProps,n=this.props,o=n.isDisabled,a=n.isLoading,r=this.state.isFocused;if(!e||!a)return null;var l={"aria-hidden":"true"};return j.a.createElement(e,L({},t,{innerProps:l,isDisabled:o,isFocused:r}))}},{key:"renderIndicatorSeparator",value:function(){var e=this.components,t=e.DropdownIndicator,n=e.IndicatorSeparator;if(!t||!n)return null;var o=this.commonProps,a=this.props.isDisabled,r=this.state.isFocused;return j.a.createElement(n,L({},o,{isDisabled:a,isFocused:r}))}},{key:"renderDropdownIndicator",value:function(){var e=this.components.DropdownIndicator;if(!e)return null;var t=this.commonProps,n=this.props.isDisabled,o=this.state.isFocused,a={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return j.a.createElement(e,L({},t,{innerProps:a,isDisabled:n,isFocused:o}))}},{key:"renderMenu",value:function(){var e=this,t=this.components,n=t.Group,o=t.GroupHeading,a=t.Menu,r=t.MenuList,l=t.MenuPortal,i=t.LoadingMessage,s=t.NoOptionsMessage,c=t.Option,u=this.commonProps,p=this.state,m=p.focusedOption,g=p.menuOptions,d=this.props,f=d.captureMenuScroll,b=d.inputValue,h=d.isLoading,v=d.loadingMessage,w=d.minMenuHeight,y=d.maxMenuHeight,_=d.menuIsOpen,k=d.menuPlacement,E=d.menuPosition,C=d.menuPortalTarget,O=d.menuShouldBlockScroll,x=d.menuShouldScrollIntoView,I=d.noOptionsMessage,T=d.onMenuScrollToTop,F=d.onMenuScrollToBottom;if(!_)return null;var B=function(t){var n=m===t.data;return t.innerRef=n?e.getFocusedOptionRef:void 0,j.a.createElement(c,L({},u,t,{isFocused:n}),e.formatOptionLabel(t.data,"menu"))},S=void 0;if(this.hasOptions())S=g.render.map(function(t){if("group"===t.type){var a=(t.type,V(t,["type"])),r=t.key+"-heading";return j.a.createElement(n,L({},u,a,{Heading:o,headingProps:{id:r},label:e.formatGroupLabel(t.data)}),t.options.map(function(e){return B(e)}))}if("option"===t.type)return B(t)});else if(h){var N=v({inputValue:b});if(null===N)return null;S=j.a.createElement(i,u,N)}else{var P=I({inputValue:b});if(null===P)return null;S=j.a.createElement(s,u,P)}var A={minMenuHeight:w,maxMenuHeight:y,menuPlacement:k,menuPosition:E,menuShouldScrollIntoView:x},M=j.a.createElement(K,L({},u,A),function(t){var n=t.ref,o=t.placerProps,l=o.placement,i=o.maxHeight;return j.a.createElement(a,L({},u,A,{innerRef:n,innerProps:{onMouseDown:e.onMenuMouseDown,onMouseMove:e.onMenuMouseMove},isLoading:h,placement:l}),j.a.createElement(ke,{isEnabled:f,onTopArrive:T,onBottomArrive:F},j.a.createElement(ye,{emotion:e.emotion,isEnabled:O},j.a.createElement(r,L({},u,{innerRef:e.getMenuListRef,isLoading:h,maxHeight:i}),S))))});return C||"fixed"===E?j.a.createElement(l,L({},u,{appendTo:C,controlElement:this.controlRef,menuPlacement:k,menuPosition:E}),M):M}},{key:"renderFormField",value:function(){var e=this,t=this.props,n=t.delimiter,o=t.isDisabled,a=t.isMulti,r=t.name,l=this.state.selectValue;if(r&&!o){if(a){if(n){var i=l.map(function(t){return e.getOptionValue(t)}).join(n);return j.a.createElement("input",{name:r,type:"hidden",value:i})}var s=l.length>0?l.map(function(t,n){return j.a.createElement("input",{key:"i-"+n,name:r,type:"hidden",value:e.getOptionValue(t)})}):j.a.createElement("input",{name:r,type:"hidden"});return j.a.createElement("div",null,s)}var c=l[0]?this.getOptionValue(l[0]):"";return j.a.createElement("input",{name:r,type:"hidden",value:c})}}},{key:"renderLiveRegion",value:function(){return this.state.isFocused?j.a.createElement(me,{emotion:this.emotion,"aria-live":"assertive"},j.a.createElement("p",{id:"aria-selection-event"},"\xa0",this.state.ariaLiveSelection),j.a.createElement("p",{id:"aria-context"},"\xa0",this.constructAriaLiveMessage())):null}},{key:"render",value:function(){var e=this.components,t=e.Control,n=e.IndicatorsContainer,o=e.SelectContainer,a=e.ValueContainer,r=this.props,l=r.className,i=r.id,s=r.isDisabled,c=this.state.isFocused,u=this.commonProps=this.getCommonProps();return j.a.createElement(o,L({},u,{className:l,innerProps:{id:i,onKeyDown:this.onKeyDown},isDisabled:s,isFocused:c}),this.renderLiveRegion(),j.a.createElement(t,L({},u,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:s,isFocused:c}),j.a.createElement(a,L({},u,{isDisabled:s}),this.renderPlaceholderOrValue(),this.renderInput()),j.a.createElement(n,L({},u,{isDisabled:s}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}]),t}(O.Component);Bt.defaultProps=It;var St=function(){var e=this;this.state={ariaLiveSelection:"",ariaLiveContext:"",focusedOption:null,focusedValue:null,inputIsHidden:!1,isFocused:!1,isComposing:!1,menuOptions:{render:[],focusable:[]},selectValue:[]},this.blockOptionHover=!1,this.clearFocusValueOnUpdate=!1,this.hasGroups=!1,this.initialTouchX=0,this.initialTouchY=0,this.instancePrefix="",this.openAfterFocus=!1,this.scrollToFocusedOptionOnUpdate=!1,this.controlRef=null,this.getControlRef=function(t){e.controlRef=t},this.focusedOptionRef=null,this.getFocusedOptionRef=function(t){e.focusedOptionRef=t},this.menuListRef=null,this.getMenuListRef=function(t){e.menuListRef=t},this.inputRef=null,this.getInputRef=function(t){e.inputRef=t},this.cacheComponents=function(t){e.components=Et({components:t})},this.focus=this.focusInput,this.blur=this.blurInput,this.onChange=function(t,n){var o=e.props,a=o.onChange,r=o.name;a(t,L({},n,{name:r}))},this.setValue=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"set-value",o=arguments[2],a=e.props,r=a.closeMenuOnSelect,l=a.isMulti;e.onInputChange("",{action:"set-value"}),r&&(e.inputIsHiddenAfterUpdate=!l,e.onMenuClose()),e.clearFocusValueOnUpdate=!0,e.onChange(t,{action:n,option:o})},this.selectOption=function(t){var n=e.props,o=n.blurInputOnSelect;if(n.isMulti){var a=e.state.selectValue;if(e.isOptionSelected(t,a)){var r=e.getOptionValue(t);e.setValue(a.filter(function(t){return e.getOptionValue(t)!==r}),"deselect-option",t),e.announceAriaLiveSelection({event:"deselect-option",context:{value:e.getOptionLabel(t)}})}else e.setValue([].concat(z(a),[t]),"select-option",t),e.announceAriaLiveSelection({event:"select-option",context:{value:e.getOptionLabel(t)}})}else e.setValue(t,"select-option"),e.announceAriaLiveSelection({event:"select-option",context:{value:e.getOptionLabel(t)}});o&&e.blurInput()},this.removeValue=function(t){var n=e.state.selectValue,o=e.getOptionValue(t);e.onChange(n.filter(function(t){return e.getOptionValue(t)!==o}),{action:"remove-value",removedValue:t}),e.announceAriaLiveSelection({event:"remove-value",context:{value:t?e.getOptionLabel(t):void 0}}),e.focusInput()},this.clearValue=function(){var t=e.props.isMulti;e.onChange(t?[]:null,{action:"clear"})},this.popValue=function(){var t=e.state.selectValue,n=t[t.length-1];e.announceAriaLiveSelection({event:"pop-value",context:{value:n?e.getOptionLabel(n):void 0}}),e.onChange(t.slice(0,t.length-1),{action:"pop-value",removedValue:n})},this.getOptionLabel=function(t){return e.props.getOptionLabel(t)},this.getOptionValue=function(t){return e.props.getOptionValue(t)},this.getStyles=function(t,n){var o=Ct[t](n);o.boxSizing="border-box";var a=e.props.styles[t];return a?a(o,n):o},this.getElementId=function(t){return e.instancePrefix+"-"+t},this.getActiveDescendentId=function(){var t=e.props.menuIsOpen,n=e.state,o=n.menuOptions,a=n.focusedOption;if(a&&t){var r=o.focusable.indexOf(a),l=o.render[r];return l&&l.key}},this.announceAriaLiveSelection=function(t){var n=t.event,o=t.context;e.setState({ariaLiveSelection:Ce(n,o)})},this.announceAriaLiveContext=function(t){var n=t.event,o=t.context;e.setState({ariaLiveContext:Ee(n,L({},o,{label:e.props["aria-label"]}))})},this.onMenuMouseDown=function(t){0===t.button&&(t.stopPropagation(),t.preventDefault(),e.focusInput())},this.onMenuMouseMove=function(t){e.blockOptionHover=!1},this.onControlMouseDown=function(t){var n=e.props.openMenuOnClick;e.state.isFocused?e.props.menuIsOpen?"INPUT"!==t.target.tagName&&e.onMenuClose():e.openMenu("first"):(n&&(e.openAfterFocus=!0),e.focusInput()),"INPUT"!==t.target.tagName&&t.preventDefault()},this.onDropdownIndicatorMouseDown=function(t){if((!t||"mousedown"!==t.type||0===t.button)&&!e.props.isDisabled){var n=e.props,o=n.isMulti,a=n.menuIsOpen;e.focusInput(),a?(e.inputIsHiddenAfterUpdate=!o,e.onMenuClose()):e.openMenu("first"),t.preventDefault(),t.stopPropagation()}},this.onClearIndicatorMouseDown=function(t){t&&"mousedown"===t.type&&0!==t.button||(e.clearValue(),t.stopPropagation(),e.openAfterFocus=!1,setTimeout(function(){return e.focusInput()}))},this.onScroll=function(t){"boolean"===typeof e.props.closeMenuOnScroll?t.target instanceof HTMLElement&&l(t.target)&&e.props.onMenuClose():"function"===typeof e.props.closeMenuOnScroll&&e.props.closeMenuOnScroll(t)&&e.props.onMenuClose()},this.onCompositionStart=function(){e.setState({isComposing:!0})},this.onCompositionEnd=function(){e.setState({isComposing:!1})},this.onTouchStart=function(t){var n=t.touches,o=n.item(0);o&&(e.initialTouchX=o.clientX,e.initialTouchY=o.clientY,e.userIsDragging=!1)},this.onTouchMove=function(t){var n=t.touches,o=n.item(0);if(o){var a=Math.abs(o.clientX-e.initialTouchX),r=Math.abs(o.clientY-e.initialTouchY);e.userIsDragging=a>5||r>5}},this.onTouchEnd=function(t){if(!e.userIsDragging){var n=t.target;e.controlRef&&!e.controlRef.contains(n)&&e.menuListRef&&!e.menuListRef.contains(n)&&e.blurInput(),e.initialTouchX=0,e.initialTouchY=0}},this.onControlTouchEnd=function(t){e.userIsDragging||e.onControlMouseDown(t)},this.onClearIndicatorTouchEnd=function(t){e.userIsDragging||e.onClearIndicatorMouseDown(t)},this.onDropdownIndicatorTouchEnd=function(t){e.userIsDragging||e.onDropdownIndicatorMouseDown(t)},this.handleInputChange=function(t){var n=t.currentTarget.value;e.inputIsHiddenAfterUpdate=!1,e.onInputChange(n,{action:"input-change"}),e.onMenuOpen()},this.onInputFocus=function(t){var n=e.props,o=n.isSearchable,a=n.isMulti;e.props.onFocus&&e.props.onFocus(t),e.inputIsHiddenAfterUpdate=!1,e.announceAriaLiveContext({event:"input",context:{isSearchable:o,isMulti:a}}),e.setState({isFocused:!0}),(e.openAfterFocus||e.props.openMenuOnFocus)&&e.openMenu("first"),e.openAfterFocus=!1},this.onInputBlur=function(t){if(e.menuListRef&&e.menuListRef.contains(document.activeElement))return void e.inputRef.focus();e.props.onBlur&&e.props.onBlur(t),e.onInputChange("",{action:"input-blur"}),e.onMenuClose(),e.setState({focusedValue:null,isFocused:!1})},this.onOptionHover=function(t){e.blockOptionHover||e.state.focusedOption===t||e.setState({focusedOption:t})},this.shouldHideSelectedOptions=function(){var t=e.props,n=t.hideSelectedOptions,o=t.isMulti;return void 0===n?o:n},this.onKeyDown=function(t){var n=e.props,o=n.isMulti,a=n.backspaceRemovesValue,r=n.escapeClearsValue,l=n.inputValue,i=n.isClearable,s=n.isDisabled,c=n.menuIsOpen,u=n.onKeyDown,p=n.tabSelectsValue,m=n.openMenuOnFocus,g=e.state,d=g.isComposing,f=g.focusedOption,b=g.focusedValue,h=g.selectValue;if(!s&&("function"!==typeof u||(u(t),!t.defaultPrevented))){switch(e.blockOptionHover=!0,t.key){case"ArrowLeft":if(!o||l)return;e.focusValue("previous");break;case"ArrowRight":if(!o||l)return;e.focusValue("next");break;case"Delete":case"Backspace":if(l)return;if(b)e.removeValue(b);else{if(!a)return;o?e.popValue():i&&e.clearValue()}break;case"Tab":if(d)return;if(t.shiftKey||!c||!p||!f||m&&e.isOptionSelected(f,h))return;e.selectOption(f);break;case"Enter":if(c){if(!f)return;if(d)return;e.selectOption(f)}else e.focusOption("first");break;case"Escape":c?(e.inputIsHiddenAfterUpdate=!1,e.onInputChange("",{action:"menu-close"}),e.onMenuClose()):i&&r&&e.clearValue();break;case" ":if(l)return;if(!c){e.openMenu("first");break}if(!f)return;e.selectOption(f);break;case"ArrowUp":c?e.focusOption("up"):e.openMenu("last");break;case"ArrowDown":c?e.focusOption("down"):e.openMenu("first");break;case"PageUp":if(!c)return;e.focusOption("pageup");break;case"PageDown":if(!c)return;e.focusOption("pagedown");break;case"Home":if(!c)return;e.focusOption("first");break;case"End":if(!c)return;e.focusOption("last");break;default:return}t.preventDefault()}}},Nt=function(e){var t,n;return n=t=function(t){function n(){var e,t,o,a;M(this,n);for(var r=arguments.length,l=Array(r),i=0;i<r;i++)l[i]=arguments[i];return t=o=W(this,(e=n.__proto__||Object.getPrototypeOf(n)).call.apply(e,[this].concat(l))),o.state={inputValue:void 0!==o.props.inputValue?o.props.inputValue:o.props.defaultInputValue,menuIsOpen:void 0!==o.props.menuIsOpen?o.props.menuIsOpen:o.props.defaultMenuIsOpen,value:void 0!==o.props.value?o.props.value:o.props.defaultValue},o.onChange=function(e,t){o.callProp("onChange",e,t),o.setState({value:e})},o.onInputChange=function(e,t){var n=o.callProp("onInputChange",e,t);o.setState({inputValue:void 0!==n?n:e})},o.onMenuOpen=function(){o.callProp("onMenuOpen"),o.setState({menuIsOpen:!0})},o.onMenuClose=function(){o.callProp("onMenuClose"),o.setState({menuIsOpen:!1})},a=t,W(o,a)}return R(n,t),D(n,[{key:"focus",value:function(){this.select.focus()}},{key:"blur",value:function(){this.select.blur()}},{key:"getProp",value:function(e){return void 0!==this.props[e]?this.props[e]:this.state[e]}},{key:"callProp",value:function(e){if("function"===typeof this.props[e]){for(var t,n=arguments.length,o=Array(n>1?n-1:0),a=1;a<n;a++)o[a-1]=arguments[a];return(t=this.props)[e].apply(t,z(o))}}},{key:"render",value:function(){var t=this;return j.a.createElement(e,L({},this.props,{ref:function(e){t.select=e},inputValue:this.getProp("inputValue"),menuIsOpen:this.getProp("menuIsOpen"),onChange:this.onChange,onInputChange:this.onInputChange,onMenuClose:this.onMenuClose,onMenuOpen:this.onMenuOpen,value:this.getProp("value")}))}}]),n}(O.Component),t.defaultProps={defaultInputValue:"",defaultMenuIsOpen:!1,defaultValue:null},n},Pt={cacheOptions:!1,defaultOptions:!1},At=function(e){var t,n;return n=t=function(t){function n(e){M(this,n);var t=W(this,(n.__proto__||Object.getPrototypeOf(n)).call(this));return t.mounted=!1,t.optionsCache={},t.handleInputChange=function(e,n){var o=t.props,a=o.cacheOptions,l=o.onInputChange,i=r(e,n,l);if(!i)return delete t.lastRequest,void t.setState({inputValue:"",loadedInputValue:"",loadedOptions:[],isLoading:!1,passEmptyOptions:!1});if(a&&t.optionsCache[i])t.setState({inputValue:i,loadedInputValue:i,loadedOptions:t.optionsCache[i],isLoading:!1,passEmptyOptions:!1});else{var s=t.lastRequest={};t.setState({inputValue:i,isLoading:!0,passEmptyOptions:!t.state.loadedInputValue},function(){t.loadOptions(i,function(e){t.mounted&&(e&&(t.optionsCache[i]=e),s===t.lastRequest&&(delete t.lastRequest,t.setState({isLoading:!1,loadedInputValue:i,loadedOptions:e||[],passEmptyOptions:!1})))})})}return i},t.state={defaultOptions:Array.isArray(e.defaultOptions)?e.defaultOptions:void 0,inputValue:e.inputValue,isLoading:!0===e.defaultOptions,loadedOptions:[],passEmptyOptions:!1},t}return R(n,t),D(n,[{key:"componentDidMount",value:function(){var e=this;this.mounted=!0;var t=this.props.defaultOptions,n=this.state.inputValue;!0===t&&this.loadOptions(n,function(t){if(e.mounted){var n=!!e.lastRequest;e.setState({defaultOptions:t||[],isLoading:n})}})}},{key:"componentWillReceiveProps",value:function(e){e.cacheOptions!==this.props.cacheOptions&&(this.optionsCache={}),e.defaultOptions!==this.props.defaultOptions&&this.setState({defaultOptions:Array.isArray(e.defaultOptions)?e.defaultOptions:void 0})}},{key:"componentWillUnmount",value:function(){this.mounted=!1}},{key:"focus",value:function(){this.select.focus()}},{key:"blur",value:function(){this.select.blur()}},{key:"loadOptions",value:function(e,t){var n=this.props.loadOptions;if(!n)return t();var o=n(e,t);o&&"function"===typeof o.then&&o.then(t,function(){return t()})}},{key:"render",value:function(){var t=this,n=this.props,o=(n.loadOptions,V(n,["loadOptions"])),a=this.state,r=a.defaultOptions,l=a.inputValue,i=a.isLoading,s=a.loadedInputValue,c=a.loadedOptions,u=a.passEmptyOptions,p=u?[]:l&&s?c:r||[];return j.a.createElement(e,L({},o,{filterOption:this.props.filterOption||null,ref:function(e){t.select=e},options:p,isLoading:i,onInputChange:this.handleInputChange}))}}]),n}(O.Component),t.defaultProps=Pt,n},Mt=(At(Nt(Bt)),function(e,t){var n=e.toLowerCase();return t.value.toLowerCase()===n||t.label.toLowerCase()===n}),Dt={formatCreateLabel:function(e){return'Create "'+e+'"'},isValidNewOption:function(e,t,n){return!(!e||t.some(function(t){return Mt(e,t)})||n.some(function(t){return Mt(e,t)}))},getNewOptionData:function(e,t){return{label:t,value:e,__isNew__:!0}}},Ht=L({allowCreateWhileLoading:!1,createOptionPosition:"last"},Dt),Lt=function(e){var t,n;return n=t=function(t){function n(e){M(this,n);var t=W(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,e));t.onChange=function(e,n){var o=t.props,a=o.getNewOptionData,r=o.inputValue,l=o.isMulti,i=o.onChange,s=o.onCreateOption,c=o.value;if("select-option"!==n.action)return i(e,n);var u=t.state.newOption,p=Array.isArray(e)?e:[e];if(p[p.length-1]!==u)i(e,n);else if(s)s(r);else{var m=a(r,r),g={action:"create-option"};l?i([].concat(z(U(c)),[m]),g):i(m,g)}};var o=e.options||[];return t.state={newOption:void 0,options:o},t}return R(n,t),D(n,[{key:"componentWillReceiveProps",value:function(e){var t=e.allowCreateWhileLoading,n=e.createOptionPosition,o=e.formatCreateLabel,a=e.getNewOptionData,r=e.inputValue,l=e.isLoading,i=e.isValidNewOption,s=e.value,c=e.options||[],u=this.state.newOption;u=i(r,U(s),c)?a(r,o(r)):void 0,this.setState({newOption:u,options:!t&&l||!u?c:"first"===n?[u].concat(z(c)):[].concat(z(c),[u])})}},{key:"focus",value:function(){this.select.focus()}},{key:"blur",value:function(){this.select.blur()}},{key:"render",value:function(){var t=this,n=V(this.props,[]),o=this.state.options;return j.a.createElement(e,L({},n,{ref:function(e){t.select=e},options:o,onChange:this.onChange}))}}]),n}(O.Component),t.defaultProps=Ht,n},Rt=(Nt(Lt(Bt)),At(Nt(Lt(Bt))),function(e){var t=e.component,n=e.duration,o=void 0===n?1:n,a=e.in,r=(e.onExited,V(e,["component","duration","in","onExited"])),l={entering:{opacity:0},entered:{opacity:1,transition:"opacity "+o+"ms"},exiting:{opacity:0},exited:{opacity:0}};return j.a.createElement(P.Transition,{mountOnEnter:!0,unmountOnExit:!0,in:a,timeout:o},function(e){var n={style:L({},l[e])};return j.a.createElement(t,L({innerProps:n},r))})}),Vt=260,Wt=function(e){function t(){var e,n,o,a;M(this,t);for(var r=arguments.length,l=Array(r),i=0;i<r;i++)l[i]=arguments[i];return n=o=W(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(l))),o.duration=Vt,o.state={width:"auto"},o.transition={exiting:{width:0,transition:"width "+o.duration+"ms ease-out"},exited:{width:0}},o.getWidth=function(e){if(e&&isNaN(o.state.width)){var t=e.getBoundingClientRect(),n=t.width;o.setState({width:n})}},o.getStyle=function(e){return{overflow:"hidden",whiteSpace:"nowrap",width:e}},o.getTransition=function(e){return o.transition[e]},a=n,W(o,a)}return R(t,e),D(t,[{key:"render",value:function(){var e=this,t=this.props,n=t.children,o=t.in,a=this.state.width;return j.a.createElement(P.Transition,{enter:!1,mountOnEnter:!0,unmountOnExit:!0,in:o,timeout:this.duration},function(t){var o=L({},e.getStyle(a),e.getTransition(t));return j.a.createElement("div",{ref:e.getWidth,style:o},n)})}}]),t}(O.Component),zt=function(e){return function(t){var n=(t.in,t.onExited,t.appear,t.enter,t.exit,t.innerRef),o=V(t,["in","onExited","appear","enter","exit","innerRef"]);return j.a.createElement(e,L({innerRef:n},o))}},Gt=function(e){return function(t){var n=t.in,o=t.onExited,a=V(t,["in","onExited"]);return j.a.createElement(Wt,{in:n,onExited:o},j.a.createElement(e,L({cropWithEllipsis:n},a)))}},Ut=function(e){return function(t){return j.a.createElement(Rt,L({component:e,duration:t.isMulti?Vt:1},t))}},qt=function(e){return function(t){return j.a.createElement(Rt,L({component:e},t))}},Yt=function(e){return function(t){return j.a.createElement(P.TransitionGroup,L({component:e},t))}},Kt=function(e){var t=Et({components:e}),n=t.Input,o=t.MultiValue,a=t.Placeholder,r=t.SingleValue,l=t.ValueContainer,i=V(t,["Input","MultiValue","Placeholder","SingleValue","ValueContainer"]);return L({Input:zt(n),MultiValue:Gt(o),Placeholder:Ut(a),SingleValue:qt(r),ValueContainer:Yt(l)},i)},Xt=Kt(),Zt=(Xt.Input,Xt.MultiValue,Xt.Placeholder,Xt.SingleValue,Xt.ValueContainer,Object(N.default)(Kt,v),Nt(Bt));t.a=Zt},function(e,t,n){"use strict";function o(e,t){for(var n=[],o=[],a=[],r=0;r<e;r++)p.c[e]&&p.c[e][t.d]&&p.c[e][t.d][r]&&n.push(parseInt(parseInt(p.c[e][t.d][r])/12*100)),p.c[e]&&p.c[e][t.t]&&p.c[e][t.t][r]&&o.push(parseInt(parseInt(p.c[e][t.t][r])/12*100)),p.c[e]&&p.c[e][t.m]&&p.c[e][t.m][r]&&a.push(parseInt(parseInt(p.c[e][t.m][r])/12*100));return 100!==n.reduce(function(e,t){return e+t},0)&&(n[n.length-1]=n[n.length-1]+(100-n.reduce(function(e,t){return e+t},0))),100!==o.reduce(function(e,t){return e+t},0)&&(o[o.length-1]=o[o.length-1]+(100-o.reduce(function(e,t){return e+t},0))),100!==a.reduce(function(e,t){return e+t},0)&&(a[a.length-1]=a[a.length-1]+(100-a.reduce(function(e,t){return e+t},0))),{d:n,t:o,m:a}}function a(e,t,n,a,l){var i=o(t,n);return b(e,i)?"":[a+"{",Object(r.c)("flex-basis",e.m[l]+"%"),Object(r.c)("max-width",e.m[l]+"%"),"}","@media only screen and (min-width: 768px) {",a+"{",Object(r.c)("flex-basis",e.t[l]+"%"),Object(r.c)("max-width",e.t[l]+"%"),"}","}","@media only screen and (min-width: 992px) {",a+"{",Object(r.c)("flex-basis",e.d[l]+"%"),Object(r.c)("max-width",e.d[l]+"%"),"}","}"].join("\n")}n.d(t,"a",function(){return a});var r=n(1),l=n(0),i=n.n(l),s=n(2),c=n(612),u=n(655),p=n(50),m=wp.components,g=m.BaseControl,d=m.Button,__=wp.i18n.__,f=lodash,b=f.isEqual,h=function(e){var t=e.values,n=e.cols,a=e.layout,r=e.onChange,l=e.help,p=e.label,m=e.className,f=o(n,a);return wp.element.createElement(g,{label:p,help:l,className:i()(m,"g-responsive-cols-width")},wp.element.createElement(s.d,null,wp.element.createElement(s.b,null,wp.element.createElement(s.a,null,wp.element.createElement("i",{className:"dashicons dashicons-desktop"})),wp.element.createElement(s.a,null,wp.element.createElement("i",{className:"dashicons dashicons-tablet"})),wp.element.createElement(s.a,null,wp.element.createElement("i",{className:"dashicons dashicons-smartphone"})),wp.element.createElement(d,{className:"g-reset",disabled:b(t,f),onClick:function(){r(f)},isSmall:!0,isSecondary:!0},__("Reset","gutentor"))),wp.element.createElement(s.c,null,wp.element.createElement(c.a,{value:t.d,onChange:function(e){var n=t;n.d=e,r(n)}}),wp.element.createElement(u.a,{value:t.d,onChange:function(e){var n=t;n.d=e,r(n)}})),wp.element.createElement(s.c,null,wp.element.createElement(c.a,{value:t.t,onChange:function(e){var n=t;n.t=e,r(n)}}),wp.element.createElement(u.a,{value:t.t,onChange:function(e){var n=t;n.t=e,r(n)}})),wp.element.createElement(s.c,null,wp.element.createElement(c.a,{value:t.m,onChange:function(e){var n=t;n.m=e,r(n)}}),wp.element.createElement(u.a,{value:t.m,onChange:function(e){var n=t;n.m=e,r(n)}}))))};h.defaultProps={values:["",""],cols:3,layout:{d:"fiveFiveTwo",t:"fiveFiveTwo",m:"fiveFiveTwo"},onChange:function(){},help:"",label:__("Column Widths","gutentor"),className:""},t.b=h},function(e,t,n){"use strict";function o(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,n){function o(a,r){try{var l=t[a](r),i=l.value}catch(e){return void n(e)}if(!l.done)return Promise.resolve(i).then(function(e){o("next",e)},function(e){o("throw",e)});e(i)}return o("next")})}}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function l(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=n(33),s=n.n(i),c=n(72),u=n(765),p=n.n(u),m=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),__=wp.i18n.__,g=wp.element.Fragment,d=wp.components,f=d.BaseControl,b=d.TextControl,h=d.RangeControl,v=d.SelectControl,w=wp.element.Component,y=wp,_=y.apiFetch,k=function(e){function t(){a(this,t);var e=r(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments));return e.getPostTypes=e.getPostTypes.bind(e),e.getTaxTerms=e.getTaxTerms.bind(e),e.getTaxTypes=e.getTaxTypes.bind(e),e.getPostAuthors=e.getPostAuthors.bind(e),e.state={getPostTypes:!1,postTypes:!1,getTaxTypes:!1,getPostAuthors:!1,getTaxTerms:!1,getCurrentTaxTerms:!1},e.getPostTypes(),e}return l(t,e),m(t,[{key:"getPostTypes",value:function(){function e(){return t.apply(this,arguments)}var t=o(s.a.mark(function e(){var t,n,o;return s.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,_({path:"/wp/v2/types?context=edit",per_page:100});case 2:if(t=e.sent,n=[],t){for(o in t)t[o].name&&"attachment"!==o&&n.push({label:t[o].name,value:o});gutentor.edd.active&&n.push({label:__("Download (EDD)","gutentor"),value:"download"})}this.setState({getPostTypes:t,postTypes:n}),this.getTaxTypes(this.props.postType),this.getPostAuthors(this.props.postType),this.getTaxTerms(this.props.taxType);case 9:case"end":return e.stop()}},e,this)}));return e}()},{key:"getTaxTypes",value:function(){function e(_x){return t.apply(this,arguments)}var t=o(s.a.mark(function e(t){var n,o;return s.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(n=this.state.getTaxTypes,n||(n=[]),n[t]){e.next=8;break}return n[t]=[],e.next=6,wp.apiFetch({path:wp.url.addQueryArgs("gutentor-self-api/v1/tax",{post_type:t})});case 6:o=e.sent,o&&(n[t].push({label:__("None","gutentor"),value:-1}),Object.keys(o).map(function(e){n[t].push({label:o[e].label,value:o[e].value})}));case 8:this.setState({getTaxTypes:n}),wp.hooks.doAction("gutentor_query_control_tax_types",n);case 10:case"end":return e.stop()}},e,this)}));return e}()},{key:"getPostAuthors",value:function(){function e(e){return t.apply(this,arguments)}var t=o(s.a.mark(function e(t){var n,o;return s.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(n=this.state.getPostAuthors,n||(n=[]),n[t]){e.next=8;break}return n[t]=[],e.next=6,wp.apiFetch({path:wp.url.addQueryArgs("gutentor-self-api/v1/get_authors",{post_type:t})});case 6:o=e.sent,o&&Object.keys(o).map(function(e){n[t].push({label:o[e].label,value:o[e].value})});case 8:this.setState({getPostAuthors:n}),wp.hooks.doAction("gutentor_query_control_post_authors",n);case 10:case"end":return e.stop()}},e,this)}));return e}()},{key:"getTaxTerms",value:function(){function e(e){return t.apply(this,arguments)}var t=o(s.a.mark(function e(t){var n,o,a,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return s.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t&&-1!=t){e.next=2;break}return e.abrupt("return");case 2:if(n=void 0,o=this.state.getTaxTerms,o||(o=[]),o[t]){e.next=10;break}return o[t]=[],e.next=8,wp.apiFetch({path:wp.url.addQueryArgs("gutentor-self-api/v1/tex_terms",{tax:t,searchTxt:r})});case 8:if(n=e.sent)for(a in n)n[a].name&&o[t].push({label:n[a].name,value:n[a].term_id});case 10:this.setState({getTaxTerms:o,getCurrentTaxTerms:!!o[t]&&o[t]});case 11:case"end":return e.stop()}},e,this)}));return e}()},{key:"loadOptions",value:function(){function e(e,n){return t.apply(this,arguments)}var t=o(s.a.mark(function e(t,n){var o,a,r;return s.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return o=void 0,a=[],a[t]=[],e.next=4,wp.apiFetch({path:wp.url.addQueryArgs("gutentor-self-api/v1/tex_terms",{tax:t,searchTxt:n})});case 4:if(o=e.sent)for(r in o)o[r].name&&a[t].push({label:o[r].name,value:o[r].term_id});return e.abrupt("return",!!a[t]&&a[t]);case 7:case"end":return e.stop()}},e,this)}));return e}()},{key:"render",value:function(){var e=this,t=this.props,n=t.postType,o=t.postTypeChange,a=t.numberOfItems,r=t.numberOfItemsChange,l=t.maxItems,i=void 0===l?100:l,s=t.minItems,u=void 0===s?1:s,m=t.taxType,d=t.taxTypeChange,w=t.taxTerm,y=t.taxTermChange,_=t.orderBy,k=t.orderByChange,E=t.order,C=t.orderChange,O=t.metaKey,j=t.metaKeyChange,x=t.includePosts,I=t.includePostsChange,T=t.excludePosts,F=t.excludePostsChange,B=t.offsetPosts,S=t.offsetPostsChange,N=t.author,P=t.authorChange,A=[{label:__("Date","gutentor"),value:"date"},{label:__("Title","gutentor"),value:"title"},{label:__("Menu Order","gutentor"),value:"menu_order"},{label:__("Comment Count","gutentor"),value:"comment_count"},{label:__("Modified Date","gutentor"),value:"modified"},{label:__("Random","gutentor"),value:"rand"},{label:__("Meta Value Number","gutentor"),value:"meta_value_num"}],M=[{label:__("Price","gutentor"),value:"price"},{label:__("Rated","gutentor"),value:"rating"},{label:__("Best Seller","gutentor"),value:"popularity"}];return A="product"===n?A.concat(M):A,wp.element.createElement("div",{className:"g-query-control"},wp.element.createElement("div",{className:"g-query-main-control"},this.state.postTypes&&wp.element.createElement(v,{label:__("Select Post Type","gutentor"),value:n,onChange:function(t){e.setState({getCurrentTaxTerms:!1}),e.getPostAuthors(t),e.getTaxTypes(t),o(t)},options:this.state.postTypes}),this.state.getTaxTypes&&this.state.getTaxTypes[n]&&wp.element.createElement(v,{label:__("Taxonomy Type","gutentor"),value:m,onChange:function(t){e.getTaxTerms(t,""),d(t)},options:this.state.getTaxTypes[n]}),this.state.getCurrentTaxTerms&&wp.element.createElement(g,null,wp.element.createElement(p.a,{cacheOptions:!0,isMulti:!0,onChange:y,value:w,loadOptions:function(t){return e.loadOptions(m,t)},defaultOptions:this.state.getCurrentTaxTerms}))),wp.element.createElement(v,{label:__("Order by","gutentor"),value:_,options:wp.hooks.applyFilters("gutentor_post_module_order_by_options",A,this.props),onChange:k}),"meta_value_num"===_&&wp.element.createElement(b,{label:__("Meta key","gutentor"),type:"text",value:O,placeholder:__("Meta key","gutentor"),onChange:j}),wp.element.createElement(v,{label:__("Order","gutentor"),value:E,options:[{label:__("Asc","gutentor"),value:"asc"},{label:__("Desc","gutentor"),value:"desc"}],onChange:C}),wp.element.createElement(b,{label:__("Include Posts","gutentor"),type:"text",value:x,placeholder:__("Post ids separated by comma, eg: 1,5,11","gutentor"),onChange:I}),wp.element.createElement(b,{label:__("Exclude Posts","gutentor"),type:"text",value:T,placeholder:__("Post ids separated by comma, eg: 1,5,11","gutentor"),onChange:F}),wp.element.createElement(h,{label:__("Number of items","gutentor"),value:a,onChange:r,min:u,max:i,required:!0}),wp.element.createElement(h,{label:__("Offset","gutentor"),help:__("Use this setting to skip over initial posts (eg. 3 to skip over 3 posts,0 not applied).","gutentor"),value:B,onChange:S,min:0,step:1,allowReset:!0,resetFallbackValue:null,initialPosition:0}),this.state.getPostAuthors&&this.state.getPostAuthors[n]&&this.state.getPostAuthors[n].length&&wp.element.createElement(f,{label:__("Author","gutentor")},wp.element.createElement(c.a,{value:N,onChange:P,options:this.state.getPostAuthors[n],isMulti:"true",acheOptions:!1})))}}]),t}(w);t.a=k},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},o=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),o.forEach(function(t){a(e,t,n[t])})}return e}function a(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){return Object(c.a)(e)||Object(c.b)(e)||Object(c.c)(e)}function l(e,t){return s.Children.map(e,function(e){return null===e?null:r(e)?t(e):e.props&&e.props.children&&"object"===typeof e.props.children?Object(s.cloneElement)(e,o({},e.props,{children:l(e.props.children,t)})):e})}function i(e,t){return s.Children.forEach(e,function(e){null!==e&&(Object(c.a)(e)||Object(c.c)(e)?t(e):e.props&&e.props.children&&"object"===typeof e.props.children&&(Object(c.b)(e)&&t(e),i(e.props.children,t)))})}t.b=l,t.a=i;var s=n(11),c=(n.n(s),n(65))},function(e,t,n){"use strict";n.d(t,"a",function(){return o});var __=wp.i18n.__,o={blockItemButtonTwoIcon:{type:"object",default:{label:"fa-book",value:4==gutentor.fontAwesomeVersion?"fa fa-book":"fas fa-book",code:"f108"}},blockItemButtonTwoText:{type:"string",default:__("Read More","gutentor")},blockItemButtonTwoLink:{type:"string",default:"#"},blockItemButtonTwoEnable:{type:"boolean",default:!1,gCopy:!0},blockItemButtonTwoLinkOptions:{type:"object",default:{openInNewTab:!1,rel:""}},blockItemButtonTwoColor:{type:"object",default:{enable:!0,normal:{hex:"#275cf6",rgb:{r:"39",g:"92",b:"246",a:"1"}},hover:{hex:"#1949d4",rgb:{r:"25",g:"73",b:"212",a:"1"}}},gCopy:!0},blockItemButtonTwoTextColor:{type:"object",default:{enable:!0,normal:{hex:"#fff"},hover:""},gCopy:!0},blockItemButtonTwoMargin:{type:"object",default:{type:"px",desktopTop:"",desktopRight:"",desktopBottom:"",desktopLeft:"",tabletTop:"",tabletRight:"",tabletBottom:"",tabletLeft:"",mobileTop:"",mobileRight:"",mobileBottom:"",mobileLeft:""},gCopy:!0},blockItemButtonTwoPadding:{type:"object",default:{type:"px",desktopTop:"10",desktopRight:"15",desktopBottom:"10",desktopLeft:"15",tabletTop:"10",tabletRight:"15",tabletBottom:"10",tabletLeft:"15",mobileTop:"10",mobileRight:"15",mobileBottom:"10",mobileLeft:"15"},gCopy:!0},blockItemButtonTwoIconOptions:{type:"object",default:{position:"hide",size:""},gCopy:!0},blockItemButtonTwoIconMargin:{type:"object",default:{type:"px",desktopTop:"",desktopRight:"",desktopBottom:"",desktopLeft:"",tabletTop:"",tabletRight:"",tabletBottom:"",tabletLeft:"",mobileTop:"",mobileRight:"",mobileBottom:"",mobileLeft:""},gCopy:!0},blockItemButtonTwoIconPadding:{type:"object",default:{type:"px",desktopTop:"",desktopRight:"",desktopBottom:"",desktopLeft:"",tabletTop:"",tabletRight:"",tabletBottom:"",tabletLeft:"",mobileTop:"",mobileRight:"",mobileBottom:"",mobileLeft:""},gCopy:!0},blockItemButtonTwoBorder:{type:"object",default:{borderStyle:"",borderTop:"",borderRight:"",borderBottom:"",borderLeft:"",borderColorNormal:"",borderColorHover:"",borderRadiusType:"px",borderRadiusTop:"3",borderRadiusRight:"3",borderRadiusBottom:"3",borderRadiusLeft:"3"},gCopy:!0},blockItemButtonTwoBoxShadow:{type:"object",default:{boxShadowColor:"",boxShadowX:"",boxShadowY:"",boxShadowBlur:"",boxShadowSpread:"",boxShadowPosition:""},gCopy:!0},blockItemButtonTwoTypography:{type:"object",default:{fontType:"system",systemFont:"",googleFont:"",customFont:"",desktopFontSize:"14",tabletFontSize:"14",mobileFontSize:"14",fontWeight:"",textTransform:"normal",fontStyle:"",textDecoration:"",desktopLineHeight:"",tabletLineHeight:"",mobileLineHeight:"",desktopLetterSpacing:"",tabletLetterSpacing:"",mobileLetterSpacing:""},gCopy:!0},blockItemButtonTwoClassName:{type:"string",default:"",gCopy:!0}}},function(e,t,n){var o=n(402),a=n(403),r=a;r.v1=o,r.v4=a,e.exports=r},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function r(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function l(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){var t=e.position,n=e.size;return[l({},"gutentor-icon-"+t,t),l({},n,n)]}function s(e){var t=e.blockID,n=e.buttonColor,o=e.buttonTextColor,a=e.buttonMargin,r=e.buttonPadding,l=e.buttonIconOptions,i=e.buttonIconMargin,s=e.buttonIconPadding,c=e.buttonBorder,g=e.buttonBoxShadow,b=e.buttonTypography,h=e.buttonClass;e.allProps;return["#section-"+t+" ."+h+"{",Object(u.c)("color",o.enable&&o.normal?o.normal.hex:null),Object(u.c)("background-color",n.enable&&n.normal&&n.normal.rgb?Object(u.l)(n.normal.rgb):null),Object(m.b)("margin",a),Object(m.b)("padding",r),Object(f.b)(c),Object(d.b)(g),Object(p.b)(b),"}","#section-"+t+" ."+h+":hover{",Object(u.c)("color",o.enable&&o.hover&&o.hover.hex?o.hover.hex:null),Object(u.c)("border-color","none"!==c.borderStyle&&c.borderColorHover&&c.borderColorHover.rgb?Object(u.l)(c.borderColorHover.rgb):null),Object(u.c)("background-color",n.enable&&n.hover&&n.hover.rgb?Object(u.l)(n.hover.rgb):null),"}","#section-"+t+" ."+h+" .gutentor-button-icon{",Object(m.b)("margin",i),Object(m.b)("padding",s),Object(u.c)("font-size",l.size?l.size+"px":null),"}","@media only screen and (min-width: 768px) {","#section-"+t+" ."+h+"{",Object(m.b)("margin",a,"tablet"),Object(m.b)("padding",r,"tablet"),Object(p.c)(b,"tablet"),"}","#section-"+t+" ."+h+" .gutentor-button-icon{",Object(m.b)("margin",i,"tablet"),Object(m.b)("padding",s,"tablet"),"}","}","@media only screen and (min-width: 992px) {","#section-"+t+" ."+h+"{",Object(m.b)("margin",a,"desktop"),Object(m.b)("padding",r,"desktop"),Object(p.c)(b,"desktop"),"}","#section-"+t+" ."+h+" .gutentor-button-icon{",Object(m.b)("margin",i,"desktop"),Object(m.b)("padding",s,"desktop"),"}","}"].join("\n")}function c(e,t,n){var o=n.setAttributes,a=function(n,a){var r=Object.assign({},t);if("rel"===a&&(r[a]=Object(u.k)(n)),"openInNewTab"===a){r[a]=n,r.rel="noopener noreferrer"}o(l({},e,r))};return wp.element.createElement(O,{title:__("Button Link Options","gutentor"),initialOpen:!1},wp.element.createElement(j,null,wp.element.createElement(x,{label:__("Open in New Tab","gutentor"),checked:t.openInNewTab,onChange:function(){a(!t.openInNewTab,"openInNewTab")}}),wp.element.createElement(k,{label:__("Link Rel","gutentor"),type:"text",value:t.rel,onChange:function(e){return a(e,"rel")}})))}n.d(t,"b",function(){return T}),n.d(t,"c",function(){return i}),n.d(t,"a",function(){return s});var u=n(1),p=n(8),m=n(15),g=n(2),d=n(68),f=n(47),b=n(46),h=n(9),v=n(3),w=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),__=wp.i18n.__,y=wp.components,_=y.SelectControl,k=y.TextControl,E=y.BaseControl,C=y.FontSizePicker,O=y.PanelBody,j=y.PanelRow,x=y.ToggleControl,I=wp.element.Component,T=function(e){function t(e){return o(this,t),a(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e))}return r(t,e),w(t,[{key:"render",value:function(){var e=this.props,t=e.buttonEnableKey,n=e.buttonEnableValue,o=e.buttonLinkOptionsKey,a=e.buttonLinkOptionsValue,r=e.buttonColorKey,i=e.buttonColorValue,s=e.buttonTextColorKey,w=e.buttonTextColorValue,y=e.buttonMarginKey,I=e.buttonMarginValue,T=e.buttonPaddingKey,F=e.buttonPaddingValue,B=e.buttonIconOptionsKey,S=e.buttonIconOptionsValue,N=e.buttonIconMarginKey,P=e.buttonIconMarginValue,A=e.buttonIconPaddingKey,M=e.buttonIconPaddingValue,D=e.buttonBorderKey,H=e.buttonBorderValue,L=e.buttonBoxShadowKey,R=e.buttonBoxShadowValue,V=e.buttonTypographyKey,W=e.buttonTypographyValue,z=e.buttonClassNameKey,G=e.buttonClassNameValue,U=e.buttonResponsiveWidthKey,q=e.buttonResponsiveWidthValue,Y=e.allProps,K=Y.setAttributes,X=[{name:__("XS","gutentor"),slug:"xs",size:14},{name:__("Small","gutentor"),slug:"small",size:16},{name:__("Normal","gutentor"),slug:"Normal",size:18},{name:__("Medium","gutentor"),slug:"medium",size:24},{name:__("Large","gutentor"),slug:"large",size:28},{name:__("XL","gutentor"),slug:"xl",size:32}];return wp.element.createElement(j,null,wp.element.createElement(x,{label:__("Enable Button","gutentor"),className:"gutentor-block-button-enable",checked:n,onChange:function(){K(l({},t,!n))}}),n&&wp.element.createElement(E,{label:__("Button Options","gutentor")},wp.hooks.applyFilters("gutentor_edit_before_button_options",[],Y),c(o,a,Y),wp.element.createElement(O,{title:__("Background Color","gutentor"),initialOpen:!1},wp.element.createElement(j,null,wp.element.createElement(x,{label:__("Enable Color","gutentor"),checked:i.enable,onChange:function(){Object(u.p)(r,"enable",i,!i.enable,K)}}),i.enable&&wp.element.createElement(E,{label:__("Select Color","gutentor")},wp.element.createElement(g.d,null,wp.element.createElement(g.b,null,wp.element.createElement(g.a,null,__("Normal","gutentor")),wp.element.createElement(g.a,null,__("Hover","gutentor"))),wp.element.createElement(g.c,null,wp.element.createElement(v.a,{value:i,key1:"normal",label:__("Color","gutentor"),onChange:function(e){Object(u.p)(r,"normal",i,e,K)},disableAlpha:!1})),wp.element.createElement(g.c,null,wp.element.createElement(v.a,{value:i,key1:"hover",label:__("Color","gutentor"),onChange:function(e){Object(u.p)(r,"hover",i,e,K)},disableAlpha:!1})))))),wp.element.createElement(O,{title:__("Text Color","gutentor"),initialOpen:!1},wp.element.createElement(j,null,wp.element.createElement(x,{label:__("Enable Color","gutentor"),checked:w.enable,onChange:function(){Object(u.p)(s,"enable",w,!w.enable,K)}}),w.enable&&wp.element.createElement(E,{label:__("Select Color","gutentor")},wp.element.createElement(g.d,null,wp.element.createElement(g.b,null,wp.element.createElement(g.a,null,__("Normal","gutentor")),wp.element.createElement(g.a,null,__("Hover","gutentor"))),wp.element.createElement(g.c,null,wp.element.createElement(v.a,{value:w,key1:"normal",label:__("Color","gutentor"),onChange:function(e){Object(u.p)(s,"normal",w,e,K)},disableAlpha:!0})),wp.element.createElement(g.c,null,wp.element.createElement(v.a,{value:w,key1:"hover",label:__("Color","gutentor"),onChange:function(e){Object(u.p)(s,"hover",w,e,K)},disableAlpha:!0})))))),wp.element.createElement(O,{title:__("Icon","gutentor"),initialOpen:!1},wp.element.createElement(j,{className:"button-icon-position"},wp.element.createElement(_,{label:__("Icon Position","gutentor"),value:S.position,onChange:function(e){Object(u.p)(B,"position",S,e,K)},options:h.o})),"hide"!==S.position&&wp.element.createElement(E,null,wp.hooks.applyFilters("gutentor_edit_button_icon_options",[],Y),wp.element.createElement(j,null,wp.element.createElement(E,{className:"gutentor-hide-fontsizepicker-label"},wp.element.createElement(C,{value:S.size,fontSizes:X,fallbackFontSize:18,onChange:function(e){Object(u.p)(B,"size",S,e,K)}}))),wp.element.createElement(j,null,wp.element.createElement(E,{label:__("Margin","gutentor")},Object(m.a)(N,P,Y)),wp.element.createElement(E,{label:__("Padding","gutentor")},Object(m.a)(A,M,Y))))),wp.element.createElement(O,{title:__("Margin/Padding","gutentor"),initialOpen:!1},wp.element.createElement(j,null,wp.element.createElement(E,{label:__("Margin","gutentor")},Object(m.a)(y,I,Y)),wp.element.createElement(E,{label:__("Padding","gutentor")},Object(m.a)(T,F,Y)))),wp.element.createElement(O,{title:__("Border","gutentor"),initialOpen:!1},wp.element.createElement(j,null,Object(f.a)(D,H,Y))),wp.element.createElement(O,{title:__("Box Shadow","gutentor"),initialOpen:!1},wp.element.createElement(j,null,Object(d.a)(L,R,Y))),wp.element.createElement(O,{title:__("Typography","gutentor"),initialOpen:!1},wp.element.createElement(j,null,Object(p.a)(V,W,Y))),q&&wp.element.createElement(O,{title:__("Responsive Width","gutentor"),initialOpen:!1},wp.element.createElement(j,null,wp.element.createElement(x,{label:__("Enable Button Width","gutentor"),checked:q.enable,onChange:function(){Object(u.p)(U,"enable",q,!q.enable,K)}}),q.enable&&wp.element.createElement(E,{label:__("Button Width","gutentor")},Object(b.a)("buttonResponsiveWidthKey",q,Y)))),wp.element.createElement(O,{title:__("Css Class","gutentor"),initialOpen:!1},wp.element.createElement(j,null,wp.element.createElement(k,{label:__("Space for multiple classes","gutentor"),value:G,onChange:function(e){K(l({},z,e))}}))),wp.hooks.applyFilters("gutentor_edit_after_button_options",[],Y)))}}]),t}(I)},function(e,t,n){"use strict";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 a(e,t,n,a){var r=a.setAttributes,l=function(e){var t=["type","width"];for(var n in e)t.includes(n)?e[n]&&"default"!==e[n]||delete e[n]:delete e[n];return e},i=function(n,a){var i=Object.assign({},t);i[a]=n,i=l(i),r(o({},e,i))},u=t&&t.type?t.type:"px",p=t&&t.width?t.width:"";return wp.element.createElement("div",{className:"gutentor-range-control"},wp.element.createElement(s,{selected:u,options:[{label:"%",value:"%"},{label:"px",value:"px"}],onChange:function(e){return i(e,"type")}}),wp.element.createElement(c,{label:n,value:p,onChange:function(e){return i(e,"width")},min:0,max:u&&"%"===u?100:1e4,allowReset:!0}))}function r(e,t){if(!e||!t)return"";var n=t&&t.type?t.type:"px",o=t&&t.width?t.width:"";return o?Object(l.c)(e,o+n):""}n.d(t,"a",function(){return a}),n.d(t,"b",function(){return r});var l=n(1),i=wp.components,s=i.RadioControl,c=i.RangeControl},function(e,t,n){"use strict";n.d(t,"a",function(){return o});var o={eHideContSpace:{type:"object"},eHideRowSpace:{type:"object"},eHideColSpace:{type:"object"}}},function(e,t,n){"use strict";n.d(t,"a",function(){return i}),n.d(t,"b",function(){return c});var o=n(39),a=n(70),r={m0Dots:{type:"boolean",default:!1,gCopy:!0},m0DotsT:{type:"boolean",default:!1,gCopy:!0},m0DotsM:{type:"boolean",default:!1,gCopy:!0},m0DotsColor:{type:"object",default:{enable:!1,normal:"",hover:""},gCopy:!0},m0DotsBr:{type:"object",gCopy:!0},m0DotsOnWidth:{type:"boolean",default:!1,gCopy:!0},m0DotsWidth:{type:"object",gCopy:!0},m0DotsOnHeight:{type:"boolean",default:!1,gCopy:!0},m0DotsHeight:{type:"object",gCopy:!0},m0ArrowNextIcon:{type:"object",default:{label:"fa-angle-right",value:4===gutentor.fontAwesomeVersion?"fa fa-angle-right":"fas fa-angle-right",code:"f105"},gCopy:!0},m0ArrowPrevIcon:{type:"object",default:{label:"fa-angle-left",value:4===gutentor.fontAwesomeVersion?"fa fa-angle-left":"fas fa-angle-left",code:"f104"},gCopy:!0},m0ArrowSize:{type:"object",gCopy:!0},m0ArrowPosition:{type:"object",default:{desktop:"gutentor-slick-a-default",tablet:"gutentor-slick-a-default",mobile:"gutentor-slick-a-default"},gCopy:!0},m0Arrows:{type:"boolean",default:!0,gCopy:!0},m0ArrowsT:{type:"boolean",default:!0,gCopy:!0},m0ArrowsM:{type:"boolean",default:!0,gCopy:!0},m0ArrowOnWidth:{type:"boolean",default:!1,gCopy:!0},m0ArrowWidth:{type:"object",gCopy:!0},m0ArrowOnHeight:{type:"boolean",default:!1,gCopy:!0},m0ArrowHeight:{type:"object",gCopy:!0},m0ArrowBr:{type:"object",gCopy:!0},m0ArrowBgColor:{type:"object",default:{enable:!1,normal:"",hover:""},gCopy:!0},m0ArrowTxtColor:{type:"object",default:{enable:!1,normal:"",hover:""},gCopy:!0},m0Infinite:{type:"boolean",default:!1,gCopy:!0},m0AutoPlay:{type:"boolean",default:!1,gCopy:!0},m0Draggable:{type:"boolean",default:!0,gCopy:!0},m0PauseOnFocus:{type:"boolean",default:!0,gCopy:!0},m0PauseOnHover:{type:"boolean",default:!0,gCopy:!0},m0AutoPlaySpeed:{type:"number",default:3e3,gCopy:!0},m0SlideSpeed:{type:"number",default:300,gCopy:!0},m0Cm:{type:"object",gCopy:!0},m0SlideItem:{type:"object",default:{desktop:"3",tablet:"3",mobile:"2"},gCopy:!0},m0SlideScroll:{type:"object",default:{desktop:"3",tablet:"3",mobile:"2"},gCopy:!0},m0SIMargin:{type:"object",gCopy:!0}},l=Object.assign({gID:{type:"string"},gName:{type:"string",default:"gutentor/m0"},blockItemsColumn:{type:"object",default:{desktop:"grid-lg-4",tablet:"grid-md-4",mobile:"grid-12"},gCopy:!0}},o.a,r),i=Object.assign({},l),s=Object.assign({gID:{type:"string"},gName:{type:"string",default:"gutentor/m0-col"},mPID:{type:"string"}},a.a),c=Object.assign({},s)},function(e,t,n){"use strict";n.d(t,"a",function(){return l}),n.d(t,"b",function(){return s});var o=n(39),a=n(70),r=Object.assign({gID:{type:"string"},gName:{type:"string",default:"gutentor/m2"},blockItemsColumn:{type:"object",default:{desktop:"grid-lg-4",tablet:"grid-md-4",mobile:"grid-12"},gCopy:!0},colEqualHeight:{type:"boolean",default:!1,gCopy:!0}},o.a),l=Object.assign({},r),i=Object.assign({gID:{type:"string"},gName:{type:"string",default:"gutentor/m2-col"},mPID:{type:"string"},mPClass:{type:"object"},blockItemsColumn:{type:"object",default:{desktop:"grid-lg-4",tablet:"grid-md-4",mobile:"grid-12"},gCopy:!0}},a.a),s=Object.assign({},i)},function(e,t,n){"use strict";n.d(t,"a",function(){return l}),n.d(t,"b",function(){return s});var o=n(39),a=n(70),r=Object.assign({gID:{type:"string"},gName:{type:"string",default:"gutentor/m4"},columns:{type:"number"},dLayout:{type:"string",gCopy:!0},tLayout:{type:"string",default:"twelve",gCopy:!0},mLayout:{type:"string",default:"twelve",gCopy:!0},colEqualHeight:{type:"boolean",default:!1,gCopy:!0},enableSticky:{type:"boolean",default:!1,gCopy:!0},stickyMTop:{type:"string",default:"0",gCopy:!0},stickyMBottom:{type:"string",default:"0",gCopy:!0}},o.a),l=Object.assign({},r),i=Object.assign({gID:{type:"string"},gName:{type:"string",default:"gutentor/m4-col"},mPID:{type:"string"},mPClass:{type:"object"},columns:{type:"number",gCopy:!0},dLayout:{type:"string",gCopy:!0},tLayout:{type:"string",default:"twelve",gCopy:!0},mLayout:{type:"string",default:"twelve",gCopy:!0},layoutIndex:{type:"number",gCopy:!0},dLayoutColumn:{type:"string",gCopy:!0},colWidth:{type:"number",gCopy:!0}},a.a),s=Object.assign({},i)},function(e,t,n){"use strict";n.d(t,"a",function(){return i}),n.d(t,"b",function(){return c});var o=n(39),a={mBGType:{type:"string",default:"image-normal",gCopy:!0},mBGImageSrc:{type:"string",default:"self-hosted-local",gCopy:!0},mBGImageUrl:{type:"string",default:"",gCopy:!0},mBGImage:{type:"object",default:{url:gutentor.defaultImage}},mBGImageSizeType:{type:"string",default:"full",gCopy:!0},mBGVideoSrc:{type:"string",default:"self-hosted-local",gCopy:!0},mBGVideo:{type:"object"},mBGVideoUrl:{type:"string",default:"https://www.youtube.com/watch?v=bGMi7L78hVk",gCopy:!0},mBGColor:{type:"object"},mBGGradient:{type:"string",gCopy:!0},mBGImgSize:{type:"string",gCopy:!0},mBGImgPos:{type:"string",gCopy:!0},mBGImgRepeat:{type:"string",gCopy:!0},mBGImgAttach:{type:"string",gCopy:!0},mBGVideoLoop:{type:"boolean",default:!0},mBGVideoMute:{type:"boolean",default:!0},mOnOverlay:{type:"boolean",default:!1,gCopy:!0},mOverlayColor:{type:"object",gCopy:!0},mBxBorder:{type:"object",gCopy:!0},mMargin:{type:"object",gCopy:!0},mPadding:{type:"object",gCopy:!0},mBxShadow:{type:"object",gCopy:!0}},r={m5Dots:{type:"boolean",default:!1},m5DotsT:{type:"boolean",default:!1,gCopy:!0},m5DotsM:{type:"boolean",default:!1,gCopy:!0},m5DotsColor:{type:"object",default:{enable:!1,normal:"",hover:""},gCopy:!0},m5DotsOnWidth:{type:"boolean",default:!1,gCopy:!0},m5DotsWidth:{type:"object",gCopy:!0},m5DotsOnHeight:{type:"boolean",default:!1,gCopy:!0},m5DotsHeight:{type:"object",gCopy:!0},m5DotsBr:{type:"object",gCopy:!0},m5ArrowNextIcon:{type:"object",default:{label:"fa-angle-right",value:4===gutentor.fontAwesomeVersion?"fa fa-angle-right":"fas fa-angle-right",code:"f105"},gCopy:!0},m5ArrowPrevIcon:{type:"object",default:{label:"fa-angle-left",value:4===gutentor.fontAwesomeVersion?"fa fa-angle-left":"fas fa-angle-left",code:"f104"},gCopy:!0},m5ArrowSize:{type:"object",gCopy:!0},m5ArrowPosition:{type:"object",default:{desktop:"gutentor-slick-a-default"},gCopy:!0},m5ArrowOnWidth:{type:"boolean",default:!1,gCopy:!0},m5ArrowWidth:{type:"object",gCopy:!0},m5ArrowOnHeight:{type:"boolean",default:!1,gCopy:!0},m5ArrowHeight:{type:"object",gCopy:!0},m5ArrowBr:{type:"object",gCopy:!0},m5Arrows:{type:"boolean",default:!0,gCopy:!0},m5ArrowsT:{type:"boolean",default:!0,gCopy:!0},m5ArrowsM:{type:"boolean",default:!0,gCopy:!0},m5ArrowBgColor:{type:"object",default:{enable:!1,normal:"",hover:""},gCopy:!0},m5ArrowTxtColor:{type:"object",default:{enable:!1,normal:"",hover:""},gCopy:!0},m5Infinite:{type:"boolean",default:!1,gCopy:!0},m0AutoPlay:{type:"boolean",default:!1,gCopy:!0},m5AutoPlaySpeed:{type:"number",default:300,gCopy:!0},m5SlideSpeed:{type:"number",default:300,gCopy:!0},m5Fade:{type:"boolean",default:!1,gCopy:!0},m5Draggable:{type:"boolean",default:!0,gCopy:!0},m5PauseOnFocus:{type:"boolean",default:!0,gCopy:!0},m5PauseOnHover:{type:"boolean",default:!0,gCopy:!0}},l=Object.assign({gID:{type:"string"},gName:{type:"string",default:"gutentor/m5"},m5OnCaption:{type:"boolean",default:!0,gCopy:!0},m5HideContSpace:{type:"object",gCopy:!0}},o.a,r),i=Object.assign({},l),s=Object.assign({gID:{type:"string"},gName:{type:"string",default:"gutentor/m5-col"},mPID:{type:"string"},m5OnHeight:{type:"boolean",default:!1,gCopy:!0},m5Height:{type:"object",gCopy:!0},m5Active:{type:"boolean",default:!1,gCopy:!0}},a),c=Object.assign({},s)},function(e,t,n){"use strict";n.d(t,"a",function(){return l}),n.d(t,"b",function(){return s});var o=n(39),a=n(520),r=Object.assign({gID:{type:"string"},gName:{type:"string",default:"gutentor/m6"},m6Layout:{type:"string",default:"fill",gCopy:!0},m6OnActive:{type:"boolean",default:!0,gCopy:!0},m6Open1Item:{type:"boolean",default:!1,gCopy:!0},m6Toggle:{type:"boolean",default:!1,gCopy:!0},m6IconPos:{type:"string",default:"right",gCopy:!0},m6OpenIcon:{type:"object",default:{label:"fa-plus",value:4===gutentor.fontAwesomeVersion?"fa fa-plus":"fas fa-plus",code:"f067"}},m6IconPadding:{type:"object",gCopy:!0},m6IconMargin:{type:"object",gCopy:!0},m6CloseIconPadding:{type:"object",gCopy:!0},m6CloseIconMargin:{type:"object",gCopy:!0},m6IconBorder:{type:"object",gCopy:!0},m6IconBoxShadow:{type:"object",gCopy:!0},m6IconOnWidth:{type:"boolean",default:!1,gCopy:!0},m6OpenIconWidth:{type:"object",gCopy:!0},m6IconOnHeight:{type:"boolean",default:!1,gCopy:!0},m6IconHeight:{type:"object",gCopy:!0},m6CloseIcon:{type:"object",default:{label:"fa-minus",value:4===gutentor.fontAwesomeVersion?"fa fa-minus":"fas fa-minus",code:"f068"}},m6IconStyle:{type:"string",default:"gutentor-icon-default",gCopy:!0},m6OpenIconBgColor:{type:"object",default:{enable:!1,normal:"#fff",hover:""},gCopy:!0},m6CloseIconBgColor:{type:"object",default:{enable:!1,normal:"#fff",hover:""},gCopy:!0},m6IconSize:{type:"object",gCopy:!0},m6CloseIconSize:{type:"object",gCopy:!0},m6OpenIconColor:{type:"object",default:{enable:!0,normal:"#FFFFFF",hover:"#FFFFFF"},gCopy:!0},m6CloseIconColor:{type:"object",default:{enable:!0,normal:"#FFFFFF",hover:"#FFFFFF"},gCopy:!0},m6BodyBxBorder:{type:"object",default:{styleN:"solid",styleH:"solid",topN:"0",topH:"0",rightN:"1",rightH:"1",bottomN:"1",bottomH:"1",leftN:"1",leftH:"1",colorN:"#275cf6",colorH:"#275cf6"},gCopy:!0},m6PanelTxtColor:{type:"object",default:{enable:!0,normal:"#ffffff",hover:"#ffffff"},gCopy:!0},m6PanelTypography:{type:"object",gCopy:!0},m6PanelBxBorder:{type:"object",gCopy:!0},m6BodyBgColor:{type:"object",default:{enable:!1,normal:"#000",hover:""},gCopy:!0},m6PanelBgColor:{type:"object",default:{enable:!0,normal:"rgba(39, 92, 246, 1)",hover:"rgba(25, 73, 212, 1)"},gCopy:!0},m6PanelMargin:{type:"object",gCopy:!0},m6PanelPadding:{type:"object",gCopy:!0},m6BodyMargin:{type:"object",gCopy:!0},m6BodyPadding:{type:"object",default:{type:"px",mTop:"20",mRight:"20",mBottom:"20",mLeft:"20"},gCopy:!0}},o.a),l=Object.assign({},r),i=Object.assign({gID:{type:"string"},gName:{type:"string",default:"gutentor/m6-item"},m6ItemPId:{type:"string"},m6ItemNumber:{type:"number",gCopy:!0},m6ItemHeading:{type:"string",default:"Accordion Panel Title"},m6ItemOpenIconOnWidth:{type:"boolean",default:!1,gCopy:!0},m6ItemOpenIconWidth:{type:"object",gCopy:!0},m6ItemOnActive:{type:"boolean",default:!0,gCopy:!0},m6ItemOpen1Item:{type:"boolean",default:!1,gCopy:!0},m6ItemIconPos:{type:"string",default:"right",gCopy:!0},m6ItemOpenIcon:{type:"object",default:{label:"fa-plus",value:4===gutentor.fontAwesomeVersion?"fa fa-plus":"fas fa-plus",code:"f067"}},m6ItemCloseIcon:{type:"object",default:{label:"fa-minus",value:4===gutentor.fontAwesomeVersion?"fa fa-minus":"fas fa-minus",code:"f068"}},m6ItemToggle:{type:"boolean",default:!0,gCopy:!0}},a.a),s=Object.assign({},i)},function(e,t,n){"use strict";n.d(t,"a",function(){return l}),n.d(t,"b",function(){return s});var o=n(39),a=n(70),r=(wp.i18n.__,Object.assign({gID:{type:"string"},gName:{type:"string",default:"gutentor/m10"},blockItemsColumn:{type:"object",default:{desktop:"grid-lg-4",tablet:"grid-md-4",mobile:"grid-12"},gCopy:!0},m10MsyOn:{type:"boolean",default:!1,gCopy:!0},m10PopOn:{type:"boolean",default:!1,gCopy:!0},m10PopPos:{type:"string",default:"g-popup-middle-center",gCopy:!0},m10PopCusPos:{type:"object",gCopy:!0},m10PopI:{type:"object",default:{label:"fa-search",code:"f002",value:4===gutentor.fontAwesomeVersion?"fa fa-search":"fas fa-search"}},m10PopISize:{type:"object",gCopy:!0},m10PopIC:{type:"object",default:{enable:!1,normal:"",hover:""},gCopy:!0},m10PopIBgC:{type:"object",default:{enable:!1,normal:"#fff",hover:""},gCopy:!0},m10PopIOnW:{type:"boolean",default:!1,gCopy:!0},m10PopIW:{type:"object",gCopy:!0},m10PopIOnH:{type:"boolean",default:!1,gCopy:!0},m10PopIH:{type:"object",gCopy:!0},m10PopIBr:{type:"object",gCopy:!0},m10PopHover:{type:"object",default:{enable:!0},gCopy:!0}},o.a)),l=Object.assign({},r),i=Object.assign({gID:{type:"string"},gName:{type:"string",default:"gutentor/m10-col"},mPID:{type:"string"},mPClass:{type:"object"},blockItemsColumn:{type:"object",default:{desktop:"grid-lg-4",tablet:"grid-md-4",mobile:"grid-12"},gCopy:!0},m10ColPrFil:{type:"array"},m10ColSeFil:{type:"array"},m10ColPopOn:{type:"boolean",default:!1},m10ColPopI:{type:"object",default:{label:4===gutentor.fontAwesomeVersion?"fa fa-arrow-right":"fas fa-arrow-right",value:4===gutentor.fontAwesomeVersion?"fa fa-arrow-right":"fas fa-arrow-right",code:"f061"}},m10ColPopMedia:{type:"string",default:"g-popup-img",gCopy:!0},m10ColPopSrc:{type:"string",default:"self-hosted-local"},m10ColPopV:{type:"object"},m10ColPopVExtUrl:{type:"string",default:"https://www.youtube.com/watch?v=bGMi7L78hVk"},m10ColPopImg:{type:"object",default:""},m10ColPopLink:{type:"string",default:""},m10ColPopIC:{type:"object",default:{enable:!1,normal:"",hover:""},gCopy:!0},m10ColPopIBgC:{type:"object",default:{enable:!1,normal:"",hover:""},gCopy:!0},m10ColPopISize:{type:"object",gCopy:!0},m10ColPopPos:{type:"string",default:"g-popup-middle-center",gCopy:!0},m10ColPopCusPos:{type:"object",gCopy:!0},m10ColPopIBr:{type:"object",gCopy:!0},m10ColPopIOnW:{type:"boolean",default:!1,gCopy:!0},m10ColPopIW:{type:"object",gCopy:!0},m10ColPopIOnH:{type:"boolean",default:!1,gCopy:!0},m10ColPopIH:{type:"object",gCopy:!0}},a.a),s=Object.assign({},i)},function(e,t,n){"use strict";n.d(t,"a",function(){return o});var o={pBxAlign:{type:"object",gCopy:!0},pBxColor:{type:"object",default:{enable:!0,normal:"",hover:""},gCopy:!0},pBxBorder:{type:"object",gCopy:!0},pBxShadow:{type:"object",gCopy:!0},pBxMargin:{type:"object",default:{type:"px",mTop:"15",mBottom:"15"},gCopy:!0},pBxPadding:{type:"object",gCopy:!0}}},function(e,t,n){"use strict";n.d(t,"a",function(){return o});var __=wp.i18n.__,o={pMeta1Sorting:{type:"array",default:[{itemValue:"meta-author",itemLabel:__("Author","gutentor")},{itemValue:"meta-date",itemLabel:__("Date","gutentor")},{itemValue:"meta-category",itemLabel:__("Category","gutentor")},{itemValue:"meta-comment",itemLabel:__("Comment","gutentor")},{itemValue:"meta-tag",itemLabel:__("Tag","gutentor")}]},pMeta1FSize:{type:"number",default:14,gCopy:!0},pOnMeta1:{type:"boolean",default:!0,gCopy:!0},pOnAuthorMeta1:{type:"boolean",default:!0,gCopy:!0},pOnDateMeta1:{type:"boolean",default:!0,gCopy:!0},pOnCatMeta1:{type:"boolean",default:!0,gCopy:!0},pOnTagMeta1:{type:"boolean",default:!0,gCopy:!0},pOnCommentMeta1:{type:"boolean",default:!0,gCopy:!0},categories:{type:"string",default:""},pMeta1Color:{type:"object",default:{enable:!1,normal:"",hover:""},gCopy:!0},pMeta1Typography:{type:"object",gCopy:!0},pMeta1Margin:{type:"object",gCopy:!0},pMeta1Padding:{type:"object",gCopy:!0}}},function(e,t,n){"use strict";n.d(t,"a",function(){return o});var __=wp.i18n.__,o={pMeta2Sorting:{type:"array",default:[{itemValue:"meta-author",itemLabel:__("Author","gutentor")},{itemValue:"meta-date",itemLabel:__("Date","gutentor")},{itemValue:"meta-category",itemLabel:__("Category","gutentor")},{itemValue:"meta-comment",itemLabel:__("Comment","gutentor")},{itemValue:"meta-tag",itemLabel:__("Tag","gutentor")}]},pMeta2FSize:{type:"number",default:14,gCopy:!0},pOnMeta2:{type:"boolean",default:!1,gCopy:!0},pOnAuthorMeta2:{type:"boolean",default:!0,gCopy:!0},pOnDateMeta2:{type:"boolean",default:!0,gCopy:!0},pOnCatMeta2:{type:"boolean",default:!0,gCopy:!0},pOnTagMeta2:{type:"boolean",default:!0,gCopy:!0},categories:{type:"string",default:""},pMeta2Color:{type:"object",default:{enable:!1,normal:"",hover:""},gCopy:!0},pOnCommentMeta2:{type:"boolean",default:!0,gCopy:!0},pMeta2Typography:{type:"object",gCopy:!0},pMeta2Margin:{type:"object",gCopy:!0},pMeta2Padding:{type:"object",gCopy:!0}}},function(e,t,n){"use strict";n.d(t,"a",function(){return o});var __=wp.i18n.__,o={pBtnIconOpt:{type:"object",default:{position:"hide",size:""},gCopy:!0},pBtnIcon:{type:"object",default:{label:"fa-book",value:4===gutentor.fontAwesomeVersion?"fa fa-book":"fas fa-book",code:"f108"}},pBtnText:{type:"string",default:__("Read More","gutentor")},pBtnLink:{type:"object",default:{openInNewTab:!1,rel:""}},pBtnBxShad:{type:"object",gCopy:!0},pOnBtn:{type:"boolean",default:!0,gCopy:!0},pBtnColor:{type:"object",default:{enable:!0,normal:"#275cf6",hover:"#1949d4"},gCopy:!0},pBtnTxtColor:{type:"object",default:{enable:!0,normal:"#fff",hover:"#fff"},gCopy:!0},pBtnMargin:{type:"object",gCopy:!0},pBtnPadding:{type:"object",default:{type:"px",dTop:"10",dRight:"15",dBottom:"10",dLeft:"15",tTop:"10",tRight:"15",tBottom:"10",tLeft:"15",mTop:"10",mRight:"15",mBottom:"10",mLeft:"15"},gCopy:!0},pBtnIconMargin:{type:"object",gCopy:!0},pBtnIconPadding:{type:"object",gCopy:!0},pBtnBorder:{type:"object",default:{rTypeN:"px",rTypeH:"px",rTopN:"3",rTopH:"3",rRightN:"3",rRightH:"3",rBottomN:"3",rBottomH:"3",rLeftN:"3",rLeftH:"3"},gCopy:!0},pBtnTypography:{type:"object",default:{fontType:"default",desktopFontSize:"16",tabletFontSize:"16",mobileFontSize:"16",textTransform:"normal"},gCopy:!0},pBtnCName:{type:"string",default:"",gCopy:!0}}},function(e,t,n){"use strict";n.d(t,"a",function(){return o});var o={pOnDesc:{type:"boolean",default:!0,gCopy:!0},pDescColor:{type:"object",default:{enable:!1,normal:"",hover:""},gCopy:!0},pDescTypography:{type:"object",gCopy:!0},pDescMargin:{type:"object",gCopy:!0},pDescPadding:{type:"object",gCopy:!0}}},function(e,t,n){"use strict";n.d(t,"a",function(){return o});var o={pOnTitle:{type:"boolean",default:!0,gCopy:!0},pTitleTag:{type:"string",default:"h3",gCopy:!0},pTitleColor:{type:"object",default:{enable:!1,normal:"",hover:""},gCopy:!0},pTitleTypography:{type:"object",gCopy:!0},pTitleMargin:{type:"object",gCopy:!0},pTitlePadding:{type:"object",gCopy:!0}}},function(e,t,n){"use strict";n.d(t,"a",function(){return o});var o={pOnFImg:{type:"boolean",default:!0,gCopy:!0},pFImgSize:{type:"string",default:"full",gCopy:!0},pFImgOColor:{type:"object",default:{enable:!1,normal:"",hover:""},gCopy:!0},pOnImgWidth:{type:"boolean",default:!1,gCopy:!0},pImgWidth:{type:"object",default:{type:"px",desktop:"",tablet:"",mobile:""},gCopy:!0},pOnImgHeight:{type:"boolean",default:!1,gCopy:!0},pImgHeight:{type:"object",default:{type:"px",desktop:"",tablet:"",mobile:""},gCopy:!0},pOnImgDisplayOpt:{type:"boolean",default:!1,gCopy:!0},pImgDisplayOpt:{type:"string",default:"normal-image",gCopy:!0},pOnImgBorder:{type:"boolean",default:!1,gCopy:!0},pImgMargin:{type:"object",gCopy:!0},pImgPadding:{type:"object",gCopy:!0},pImgOnLink:{type:"boolean",default:!1},pImgOpenNewTab:{type:"boolean",default:!1},pImgLinkRel:{type:"string",default:"noopener noreferrer"},pImgClass:{type:"string",gCopy:!0},pOnImgBxWidth:{type:"boolean",default:!1,gCopy:!0},pImgBxWidth:{type:"object",gCopy:!0},pOnImgBxHeight:{type:"boolean",default:!1,gCopy:!0},pImgBxHeight:{type:"object",gCopy:!0},pImgBorder:{type:"object",gCopy:!0}}},function(e,t,n){"use strict";n.d(t,"a",function(){return o});var o=(wp.i18n.__,{pAccessAvatar:{type:"boolean",default:!0,gCopy:!0},pOnAvatar:{type:"boolean",default:!1,gCopy:!0},pAvatarPos:{type:"string",default:"g-avatar-b-title-l",gCopy:!0},pAvatarSize:{type:"string",default:"48",gCopy:!0},pAvatarOColor:{type:"object",default:{enable:!1,normal:"",hover:""},gCopy:!0},pAvatarDisplayOpt:{type:"string",default:"normal-image",gCopy:!0},pOnAvatarBorder:{type:"boolean",default:!1,gCopy:!0},pAvatarMargin:{type:"object",gCopy:!0},pAvatarPadding:{type:"object",gCopy:!0},pOnAvatarBxWidth:{type:"boolean",default:!1,gCopy:!0},pAvatarBxWidth:{type:"object",gCopy:!0},pOnAvatarBxHeight:{type:"boolean",default:!1,gCopy:!0},pAvatarBxHeight:{type:"object",gCopy:!0},pAvatarBorder:{type:"object",gCopy:!0},pOnByAuthor:{type:"boolean",default:!1,gCopy:!0},pByAuthorColor:{type:"object",default:{enable:!1,normal:"",hover:""},gCopy:!0},pByAuthorTypography:{type:"object",gCopy:!0},pByAuthorMargin:{type:"object",gCopy:!0},pByAuthorPadding:{type:"object",gCopy:!0}})},function(e,t,n){"use strict";n.d(t,"a",function(){return o});var o={pOnFeaturedCat:{type:"boolean",default:!1,gCopy:!0},pBadgeType:{type:"string",default:"category",gCopy:!0},pPostCatPos:{type:"string",default:"gutentor-cat-pos-img-top-left",gCopy:!0},p1CatTypography:{type:"object",gCopy:!0},p1CatMargin:{type:"object",gCopy:!0},p1CatPadding:{type:"object",default:{type:"px",mTop:"5",mRight:"10",mBottom:"5",mLeft:"10"},gCopy:!0},pPostCatBxBorder:{type:"object",default:{rTypeN:"px",rTypeH:"px",rTopN:"5",rTopH:"5",rRightN:"5",rRightH:"5",rBottomN:"5",rBottomH:"5",rLeftN:"5",rLeftH:"5"},gCopy:!0},pPostCatBxShadow:{type:"object",gCopy:!0}}},function(e,t,n){"use strict";n.d(t,"a",function(){return o});var o={pOnPostFormatOpt:{type:"boolean",default:!1,gCopy:!0},pPostFormatSize:{type:"object",gCopy:!0},pPostFormatPos:{type:"string",default:"gutentor-pf-pos-img-top-right",gCopy:!0},pPostFormatMargin:{type:"object",gCopy:!0},pPostFormatPadding:{type:"object",default:{type:"px",mTop:"20",mRight:"20",mBottom:"20",mLeft:"20"},gCopy:!0},pPostFormatBxBorder:{type:"object",default:{rTypeN:"%",rTypeH:"%",rTopN:"50",rTopH:"50",rRightN:"50",rRightH:"50",rBottomN:"50",rBottomH:"50",rLeftN:"50",rLeftH:"50"},gCopy:!0},pPostFormatBxShadow:{type:"object",gCopy:!0}}},function(e,t,n){"use strict";n.d(t,"a",function(){return o});var __=wp.i18n.__,o={wooOnPrice:{type:"boolean",default:!0,gCopy:!0},wooOnFreeTxt:{type:"boolean",default:!1,gCopy:!0},wooFreeTxt:{type:"string",default:__("Free","gutentor")},wooPriceColor:{type:"object",default:{enable:!1,normal:"",hover:""},gCopy:!0},wooPriceTypography:{type:"object",gCopy:!0},wooPriceMargin:{type:"object",gCopy:!0},wooPricePadding:{type:"object",gCopy:!0}}},function(e,t,n){"use strict";n.d(t,"a",function(){return o});var o={wooOnRating:{type:"boolean",default:!0,gCopy:!0},wooRatingColor:{type:"object",default:{enable:!0,normal:"#f37224",hover:"#f37224"},gCopy:!0},wooRatingMargin:{type:"object",gCopy:!0},wooRatingPadding:{type:"object",gCopy:!0}}},function(e,t,n){"use strict";n.d(t,"a",function(){return o});var o={wooNewBadgeColor:{type:"object",default:{enable:!0,normal:"#fff",hover:"#fff"},gCopy:!0},wooNewBadgeBgColor:{type:"object",default:{enable:!0,normal:"#275cf6",hover:"#275cf6"},gCopy:!0},wooNewBadgeTypography:{type:"object",gCopy:!0}}},function(e,t,n){"use strict";n.d(t,"a",function(){return o});var o={wooSalesColor:{type:"object",default:{enable:!0,normal:"#fff",hover:"#fff"},gCopy:!0},wooSalesBgColor:{type:"object",default:{enable:!0,normal:"#275cf6",hover:"#275cf6"},gCopy:!0}}},function(e,t,n){"use strict";n.d(t,"a",function(){return o});var o={eOnWl:{type:"boolean",default:!0,gCopy:!0},eWlColor:{type:"object",default:{enable:!0,normal:"",hover:""},gCopy:!0},eWlBg:{type:"object",default:{enable:!0,normal:"",hover:""},gCopy:!0},eWlMargin:{type:"object",default:{type:"px",mBottom:"0"},gCopy:!0},eWlPadding:{type:"object",default:{type:"px",mTop:"10",mRight:"15",mBottom:"10",mLeft:"15"},gCopy:!0},eWlBr:{type:"object",gCopy:!0}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){function o(e,t){if(void 0===e.inserted[t.name])return e.insert("",t,e.sheet,!0)}function a(e,t,n){var o=[],a=Object(i.a)(e,o,n);return o.length<2?n:a+t(o)}var r=n(593),l=n(597),i=n(601),s=function(t){var n=Object(r.a)(t);n.sheet.speedy=function(t){if("production"!==e.env.NODE_ENV&&0!==this.ctr)throw new Error("speedy must be changed before any rules are inserted");this.isSpeedy=t},n.compat=!0;var s=function(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];var a=Object(l.a)(t,n.registered,void 0!==this?this.mergedProps:void 0);return Object(i.b)(n,a,!1),n.key+"-"+a.name},u=function(){for(var e=arguments.length,t=new Array(e),a=0;a<e;a++)t[a]=arguments[a];var r=Object(l.a)(t,n.registered),i="animation-"+r.name;return o(n,{name:r.name,styles:"@keyframes "+i+"{"+r.styles+"}"}),i},p=function(){for(var e=arguments.length,t=new Array(e),a=0;a<e;a++)t[a]=arguments[a];var r=Object(l.a)(t,n.registered);o(n,r)};return{css:s,cx:function(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return a(n.registered,s,c(t))},injectGlobal:p,keyframes:u,hydrate:function(e){e.forEach(function(e){n.inserted[e]=!0})},flush:function(){n.registered={},n.inserted={},n.sheet.flush()},sheet:n.sheet,cache:n,getRegisteredStyles:i.a.bind(null,n.registered),merge:a.bind(null,n.registered,s)}},c=function e(t){for(var n="",o=0;o<t.length;o++){var a=t[o];if(null!=a){var r=void 0;switch(typeof a){case"boolean":break;case"object":if(Array.isArray(a))r=e(a);else{r="";for(var l in a)a[l]&&l&&(r&&(r+=" "),r+=l)}break;default:r=a}r&&(n&&(n+=" "),n+=r)}}return n};t.default=s}.call(t,n(18))},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";n.d(t,"a",function(){return o});var o=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(){for(var e=arguments.length,n=new Array(e),o=0;o<e;o++)n[o]=arguments[o];return t.forEach(function(e){return e&&e.apply(void 0,n)})}}},function(e,t,n){"use strict";var o=n(62);t.a=function(e,t,n){if(null==n&&(n=o.a),a=e.length){if((t=+t)<=0||a<2)return+n(e[0],0,e);if(t>=1)return+n(e[a-1],a-1,e);var a,r=(a-1)*t,l=Math.floor(r),i=+n(e[l],l,e);return i+(+n(e[l+1],l+1,e)-i)*(r-l)}}},function(e,t,n){"use strict";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 a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var r=n(7),l=n(1),i=n(27),s=n(9),c=n(10),u=n(3),p=n(2),m=n(6),g=n(14),d=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),__=wp.i18n.__,f=wp.element.Fragment,b=wp.components,h=b.PanelBody,v=b.PanelRow,w=b.BaseControl,y=b.ToggleControl,_=b.RadioControl,k=b.RangeControl,E=function(){function e(){a(this,e),this.carouselOptions=this.carouselOptions.bind(this),this.carouselRowAttr=this.carouselRowAttr.bind(this),this.dynamicStyle=this.dynamicStyle.bind(this),this.slideItemOptions=this.slideItemOptions.bind(this),this.slideItemOptionStyle=this.slideItemOptionStyle.bind(this)}return d(e,[{key:"setCarouselProps",value:function(e){this.props=e}}]),d(e,[{key:"carouselOptions",value:function(){var e=this.props,t=e.dotsAttr,n=e.dotsValue,a=e.dotsAttrT,m=e.dotsValueT,d=e.dotsAttrM,b=e.dotsValueM,E=e.dotsColorAttr,C=e.dotsColorValue,O=e.dotsOnWidthAttr,j=e.dotsOnWidthVal,x=e.dotsWidthAttr,I=e.dotsWidthVal,T=e.dotsOnHeightAttr,F=e.dotsOnHeightVal,B=e.dotsHeightAttr,S=e.dotsHeightVal,N=e.dotsBorderAttr,P=e.dotsBorderVal,A=e.arrowsNextAttr,M=e.arrowsNextVal,D=e.arrowsPrevAttr,H=e.arrowsPrevVal,L=e.arrowsSizeAttr,R=e.arrowsSizeVal,V=e.arrowsPositionAttr,W=e.arrowsPositionValue,z=e.arrowsAttr,G=e.arrowsValue,U=e.arrowsTabletAttr,q=e.arrowsTabletValue,Y=e.arrowsMobileAttr,K=e.arrowsMobileValue,X=e.arrowTxtColorAttr,Z=e.arrowTxtColorValue,Q=e.arrowBgColorAttr,J=e.arrowBgColorValue,$=e.arrowOnWidthAttr,ee=e.arrowOnWidthVal,te=e.arrowWidthAttr,ne=e.arrowWidthVal,oe=e.arrowOnHeightAttr,ae=e.arrowOnHeightVal,re=e.arrowHeightAttr,le=e.arrowHeightVal,ie=e.arrowBorderAttr,se=e.arrowBorderVal,ce=e.speedAttr,ue=e.speedValue,pe=e.infiniteAttr,me=e.infiniteValue,ge=e.autoPlayAttr,de=e.autoPlayValue,fe=e.draggableAttr,be=e.draggableValue,he=e.centerModeOptAttr,ve=e.centerModeOptValue,we=e.pauseOnFocusAttr,ye=e.pauseOnFocusValue,_e=e.pauseOnHoverAttr,ke=e.pauseOnHoverValue,Ee=e.autoplaySpeedAttr,Ce=e.autoplaySpeedValue,Oe=e.slideItemAttr,je=e.slideItemValue,xe=e.slideScrollAttr,Ie=e.slideScrollValue,Te=e.props,Fe=Te.setAttributes,Be=[{label:__("1","gutentor"),value:"1"},{label:__("2","gutentor"),value:"2"},{label:__("3","gutentor"),value:"3"},{label:__("4","gutentor"),value:"4"},{label:__("5","gutentor"),value:"5"},{label:__("6","gutentor"),value:"6"},{label:__("7","gutentor"),value:"7"},{label:__("8","gutentor"),value:"8"},{label:__("9","gutentor"),value:"9"},{label:__("10","gutentor"),value:"10"},{label:__("11","gutentor"),value:"11"},{label:__("12","gutentor"),value:"12"}],Se=function(e){var t=["dOnCm","dCmUnit","dCmVal","tOnCm","tCmUnit","tCmVal","mOnCm","mCmUnit","mCmVal"];for(var n in e)t.includes(n)?e[n]||delete e[n]:delete e[n];return e},Ne=function(e,t){var n=Object.assign({},ve);n=Se(n),n[t]=e,Fe(o({},he,n))},Pe=!(!ve||!ve.dOnCm)&&ve.dOnCm,Ae=ve&&ve.dCmUnit?ve.dCmUnit:"px",Me=ve&&ve.dCmVal?ve.dCmVal:"",De=!(!ve||!ve.tOnCm)&&ve.tOnCm,He=ve&&ve.tCmUnit?ve.tCmUnit:"px",Le=ve&&ve.tCmVal?ve.tCmVal:"",Re=!(!ve||!ve.mOnCm)&&ve.mOnCm,Ve=ve&&ve.mCmUnit?ve.mCmUnit:"px",We=ve&&ve.mCmVal?ve.mCmVal:"";return wp.element.createElement(f,null,wp.element.createElement(h,{title:__("Basic Options","gutentor"),initialOpen:!0},wp.element.createElement(v,null,wp.element.createElement(w,{label:__("Slides To Show","gutentor")},Object(i.a)(Oe,je,Be,Te)),wp.element.createElement(w,{label:__("Slides To Scroll","gutentor")},Object(i.a)(xe,Ie,Be,Te)),wp.element.createElement(k,{label:__("Slide Speed (Milliseconds)","gutentor"),value:ue,onChange:function(e){Fe(o({},ce,e))},min:0,max:1e4,allowReset:!0}),wp.element.createElement(y,{label:__("Enable Infinite Loop","gutentor"),checked:me,onChange:function(){Fe(o({},pe,!me))}}),wp.element.createElement(y,{label:__("Enable Draggable","gutentor"),checked:be,onChange:function(){Fe(o({},fe,!be))}}),wp.element.createElement(y,{label:__("Enable Autoplay","gutentor"),checked:de,onChange:function(){Fe(o({},ge,!de))}}),de&&wp.element.createElement(f,null,wp.element.createElement(y,{label:__("Enable Pause On Focus","gutentor"),help:__("Note: Pause Autoplay On Focus","gutentor"),checked:ye,onChange:function(){Fe(o({},we,!ye))}}),wp.element.createElement(y,{label:__("Enable Pause On Hover","gutentor"),help:__("Note: Pause Autoplay On Hover","gutentor"),checked:ke,onChange:function(){Fe(o({},_e,!ke))}}),wp.element.createElement(k,{label:__("Autoplay Speed (Milliseconds)","gutentor"),value:Ce,onChange:function(e){Fe(o({},Ee,e))},min:0,max:1e4,allowReset:!0})),wp.element.createElement("p",{className:"gutentor-info"},__("For a full preview, please navigate to the front end","gutentor")))),wp.element.createElement(h,{title:__("CenterMode","gutentor"),initialOpen:!1},wp.element.createElement(v,null,wp.element.createElement("div",{className:"gutentor-separated-responsive-wrap"},wp.element.createElement(p.d,null,wp.element.createElement(p.b,null,wp.element.createElement(p.a,null,wp.element.createElement("i",{className:"dashicons dashicons-desktop"})),wp.element.createElement(p.a,null,wp.element.createElement("i",{className:"dashicons dashicons-tablet"})),wp.element.createElement(p.a,null,wp.element.createElement("i",{className:"dashicons dashicons-smartphone"}))),wp.element.createElement(p.c,null,wp.element.createElement(y,{label:__("Enable CenterMode","gutentor"),checked:Pe,onChange:function(e){Ne(e,"dOnCm")}}),Pe&&wp.element.createElement(f,null,wp.element.createElement(w,{label:__("CenterMode Padding","gutentor"),className:"gutentor-unit-label"},wp.element.createElement(_,{selected:Ae||"px",options:[{label:"%",value:"%"},{label:"px",value:"px"}],onChange:function(e){Ne(e,"dCmUnit")}})),wp.element.createElement(k,{value:Me,onChange:function(e){Ne(e,"dCmVal")},min:0,max:1e4,allowReset:!0}))),wp.element.createElement(p.c,null,wp.element.createElement(y,{label:__("Enable CenterMode","gutentor"),checked:De,onChange:function(e){Ne(e,"tOnCm")}}),De&&wp.element.createElement(f,null,wp.element.createElement(w,{label:__("CenterMode Padding","gutentor"),className:"gutentor-unit-label"},wp.element.createElement(_,{selected:He||"px",options:[{label:"%",value:"%"},{label:"px",value:"px"}],onChange:function(e){Ne(e,"tCmUnit")}})),wp.element.createElement(k,{value:Le,onChange:function(e){Ne(e,"tCmVal")},min:0,max:1e4,allowReset:!0}))),wp.element.createElement(p.c,null,wp.element.createElement(y,{label:__("Enable CenterMode","gutentor"),checked:Re,onChange:function(e){Ne(e,"mOnCm")}}),Re&&wp.element.createElement(f,null,wp.element.createElement(w,{label:__("CenterMode Padding","gutentor"),className:"gutentor-unit-label"},wp.element.createElement(_,{selected:Ve||"px",options:[{label:"%",value:"%"},{label:"px",value:"px"}],onChange:function(e){Ne(e,"mCmUnit")}})),wp.element.createElement(k,{value:We,onChange:function(e){Ne(e,"mCmVal")},min:0,max:1e4,allowReset:!0}))))))),wp.element.createElement(h,{title:__("Arrow","gutentor"),initialOpen:!1},wp.element.createElement(v,null,wp.element.createElement(y,{label:__("Enable Arrows","gutentor"),checked:G,onChange:function(){Fe(o({},z,!G))}}),wp.element.createElement(y,{label:__("Enable Arrows In Tablet","gutentor"),checked:q,onChange:function(){Fe(o({},U,!q))}}),wp.element.createElement(y,{label:__("Enable Arrows In Mobile","gutentor"),checked:K,onChange:function(){Fe(o({},Y,!K))}}),(G||q||K)&&wp.element.createElement(f,null,wp.element.createElement(h,{title:__("Arrows"),initialOpen:!1},wp.element.createElement(v,null,wp.element.createElement(w,{label:__("Next Button Icon")},wp.element.createElement(g.a,{Icon:M,setIcon:function(e){return Fe(o({},A,e))}})),wp.element.createElement(w,{label:__("Prev Button Icon")},wp.element.createElement(g.a,{Icon:H,setIcon:function(e){return Fe(o({},D,e))}})),wp.element.createElement(w,{label:__("Size","gutentor")},Object(r.b)(L,R,Te)))),wp.element.createElement(h,{title:__("Arrows Position","gutentor"),initialOpen:!1},wp.element.createElement(v,null,wp.element.createElement(w,{label:__("Alignment","gutentor")},Object(i.b)(V,W,s.q,Te)))),wp.element.createElement(h,{title:__("Arrows Text Color","gutentor"),initialOpen:!1},wp.element.createElement(v,null,wp.element.createElement(y,{label:__("Enable Color","gutentor"),checked:Z.enable,onChange:function(){Object(l.p)(X,"enable",Z,!Z.enable,Fe)}}),Z.enable&&wp.element.createElement(p.d,null,wp.element.createElement(p.b,null,wp.element.createElement(p.a,null,__("Normal","gutentor")),wp.element.createElement(p.a,null,__("Hover","gutentor"))),wp.element.createElement(p.c,null,wp.element.createElement(u.a,{value:Z,key1:"normal",label:__("Color","gutentor"),onChange:function(e){var t=e.rgb&&1!==e.rgb.a?"rgba("+e.rgb.r+","+e.rgb.g+","+e.rgb.b+","+e.rgb.a+")":e.hex;Object(l.p)(X,"normal",Z,t,Fe)},disableAlpha:!1})),wp.element.createElement(p.c,null,wp.element.createElement(u.a,{value:Z,key1:"hover",label:__("Color","gutentor"),onChange:function(e){var t=e.rgb&&1!==e.rgb.a?"rgba("+e.rgb.r+","+e.rgb.g+","+e.rgb.b+","+e.rgb.a+")":e.hex;Object(l.p)(X,"hover",Z,t,Fe)},disableAlpha:!1}))))),wp.element.createElement(h,{title:__("Arrows Buttons Color","gutentor"),initialOpen:!1},wp.element.createElement(v,null,wp.element.createElement(y,{label:__("Enable Color","gutentor"),checked:J.enable,onChange:function(){Object(l.p)(Q,"enable",J,!J.enable,Fe)}}),J.enable&&wp.element.createElement(p.d,null,wp.element.createElement(p.b,null,wp.element.createElement(p.a,null,__("Normal","gutentor")),wp.element.createElement(p.a,null,__("Hover","gutentor"))),wp.element.createElement(p.c,null,wp.element.createElement(u.a,{value:J,key1:"normal",label:__("Color","gutentor"),onChange:function(e){var t=e.rgb&&1!==e.rgb.a?"rgba("+e.rgb.r+","+e.rgb.g+","+e.rgb.b+","+e.rgb.a+")":e.hex;Object(l.p)(Q,"normal",J,t,Fe)},disableAlpha:!1})),wp.element.createElement(p.c,null,wp.element.createElement(u.a,{value:J,key1:"hover",label:__("Color","gutentor"),onChange:function(e){var t=e.rgb&&1!==e.rgb.a?"rgba("+e.rgb.r+","+e.rgb.g+","+e.rgb.b+","+e.rgb.a+")":e.hex;Object(l.p)(Q,"hover",J,t,Fe)},disableAlpha:!1}))))),wp.element.createElement(h,{title:__("Button Width & Height","gutentor"),initialOpen:!1},wp.element.createElement(v,null,wp.element.createElement(y,{label:__("Enable Width","gutentor"),checked:ee,onChange:function(){Fe(o({},$,!ee))}}),ee&&wp.element.createElement(w,{label:__("Width","gutentor")},Object(r.b)(te,ne,Te)),wp.element.createElement(y,{label:__("Enable Height","gutentor"),checked:ae,onChange:function(){Fe(o({},oe,!ae))}}),ae&&wp.element.createElement(w,{label:__("Height")},Object(r.b)(re,le,Te)))),wp.element.createElement(h,{title:__("Border","gutentor"),initialOpen:!1},wp.element.createElement(v,null,Object(c.a)(ie,se,Te)))))),wp.element.createElement(h,{title:__("Dot","gutentor"),initialOpen:!1},wp.element.createElement(v,null,wp.element.createElement(y,{label:__("Enable Dots","gutentor"),checked:n,onChange:function(){Fe(o({},t,!n))}}),wp.element.createElement(y,{label:__("Enable Dots In Tablet","gutentor"),checked:m,onChange:function(){Fe(o({},a,!m))}}),wp.element.createElement(y,{label:__("Enable Dots In Mobile","gutentor"),checked:b,onChange:function(){Fe(o({},d,!b))}}),(n||m||b)&&wp.element.createElement(f,null,wp.element.createElement(h,{title:__("Color","gutentor"),initialOpen:!1},wp.element.createElement(v,null,wp.element.createElement(y,{label:__("Enable Color","gutentor"),checked:C.enable,onChange:function(){Object(l.p)(E,"enable",C,!C.enable,Fe)}}),C.enable&&wp.element.createElement(p.d,null,wp.element.createElement(p.b,null,wp.element.createElement(p.a,null,__("Normal","gutentor")),wp.element.createElement(p.a,null,__("Hover/Active","gutentor"))),wp.element.createElement(p.c,null,wp.element.createElement(u.a,{value:C,key1:"normal",label:__("Color","gutentor"),onChange:function(e){var t=e.rgb&&1!==e.rgb.a?"rgba("+e.rgb.r+","+e.rgb.g+","+e.rgb.b+","+e.rgb.a+")":e.hex;Object(l.p)(E,"normal",C,t,Fe)},disableAlpha:!1})),wp.element.createElement(p.c,null,wp.element.createElement(u.a,{value:C,key1:"hover",label:__("Color","gutentor"),onChange:function(e){var t=e.rgb&&1!==e.rgb.a?"rgba("+e.rgb.r+","+e.rgb.g+","+e.rgb.b+","+e.rgb.a+")":e.hex;Object(l.p)(E,"hover",C,t,Fe)},disableAlpha:!1}))))),wp.element.createElement(h,{title:__("Width/Height","gutentor"),initialOpen:!1},wp.element.createElement(v,null,wp.element.createElement(y,{label:__("Enable Width","gutentor"),checked:j,onChange:function(){Fe(o({},O,!j))}}),j&&wp.element.createElement(w,{label:__("Width","gutentor")},Object(r.b)(x,I,Te)),wp.element.createElement(y,{label:__("Enable Height","gutentor"),checked:F,onChange:function(){Fe(o({},T,!F))}}),F&&wp.element.createElement(w,{label:__("Height")},Object(r.b)(B,S,Te)))),wp.element.createElement(h,{title:__("Border","gutentor"),initialOpen:!1},wp.element.createElement(v,null,Object(c.a)(N,P,Te)))))))}},{key:"carouselRowAttr",value:function(){var e=this.props,t=e.dotsValue,n=e.dotsValueT,o=e.dotsValueM,a=e.arrowsNextVal,r=e.arrowsPrevVal,l=e.arrowsValue,i=e.arrowsTabletValue,s=e.arrowsMobileValue,c=e.arrowsPositionValue,u=e.speedValue,p=e.infiniteValue,m=e.autoPlayValue,g=e.draggableValue,d=e.centerModeOptValue,f=e.pauseOnFocusValue,b=e.pauseOnHoverValue,h=e.autoplaySpeedValue,v=e.slideItemValue,w=e.slideScrollValue,y=!(!d||!d.dOnCm)&&d.dOnCm,_=d&&d.dCmUnit?d.dCmUnit:"px",k=d&&d.dCmVal?d.dCmVal+_:"",E=!(!d||!d.tOnCm)&&d.tOnCm,C=d&&d.tCmUnit?d.tCmUnit:"px",O=d&&d.tCmVal?d.tCmVal+C:"",j=!(!d||!d.mOnCm)&&d.mOnCm,x=d&&d.mCmUnit?d.mCmUnit:"px",I=d&&d.mCmVal?d.mCmVal+x:"",T={"data-dots":t,"data-dotstablet":n,"data-dotsmobile":o,"data-arrows":l,"data-arrowstablet":i,"data-arrowsmobile":s,"data-infinite":p,"data-autoplay":m,"data-draggable":g,"data-pauseonfocus":f,"data-pauseonhover":b,"data-autoplayspeed":h,"data-cmondesktop":y,"data-cmontablet":E,"data-cmonmobile":j};return a&&a.value&&(T["data-nextarrow"]=a.value),r&&r.value&&(T["data-prevarrow"]=r.value),c&&c.desktop&&(T["data-arrowsPositionDesktop"]=c.desktop+"-desktop"),c&&c.tablet&&(T["data-arrowsPositionTablet"]=c.tablet+"-tablet"),c&&c.mobile&&(T["data-arrowsPositionMobile"]=c.mobile+"-mobile"),h&&(T["data-autoplayspeed"]=h),u&&(T["data-speed"]=u),k&&(T["data-cmpaddingdesktop"]=k),O&&(T["data-cmpaddingtablet"]=O),I&&(T["data-cmpaddingmobile"]=I),v&&v.desktop&&(T["data-slideitemdesktop"]=v.desktop),v&&v.tablet&&(T["data-slideitemtablet"]=v.tablet),v&&v.mobile&&(T["data-slideitemmobile"]=v.mobile),w&&w.desktop&&(T["data-slidescroll-desktop"]=w.desktop),w&&w.tablet&&(T["data-slidescroll-tablet"]=w.tablet),w&&w.mobile&&(T["data-slidescroll-mobile"]=w.mobile),Object.assign({},T)}},{key:"dynamicStyle",value:function(e){var t=this.props,n=t.dotsValue,o=t.dotsValueT,a=t.dotsValueM,i=t.dotsColorValue,s=t.dotsOnWidthVal,u=t.dotsWidthVal,p=t.dotsOnHeightVal,m=t.dotsHeightVal,g=t.dotsBorderVal,d=t.arrowsSizeVal,f=t.arrowBgColorValue,b=t.arrowTxtColorValue,h=t.arrowOnWidthVal,v=t.arrowWidthVal,w=t.arrowOnHeightVal,y=t.arrowHeightVal,_=t.arrowBorderVal;return[e.arrow+"{",Object(l.c)("background",f.enable&&f.normal?f.normal:""),Object(l.c)("color",b.enable&&b.normal?b.normal:""),Object(r.c)("font-size",d),Object(r.a)("height",!0,w,y,"mobile"),Object(r.a)("line-height",!0,w,y,"mobile"),Object(r.a)("width",!0,h,v,"mobile"),Object(c.b)(_),"}",e.arrow+":hover {",Object(l.c)("background",f.enable&&f.hover?f.hover:""),Object(l.c)("color",b.enable&&b.hover?b.hover:""),Object(c.c)(_),"}",e.dots+"{",Object(l.c)("background",function(){return n||o||a}()&&i.enable&&i.normal?i.normal:null),Object(r.f)("height",p,m,"mobile"),Object(r.f)("width",s,u,"mobile"),Object(c.b)(g),"}",e.dots+":hover,",e.dots+".slick-active {",Object(l.c)("background",i.enable&&i.hover?i.hover:null),Object(c.c)(g),"}","@media only screen and (min-width: 768px) {",e.arrow+"{",Object(r.c)("font-size",d,"tablet"),Object(r.a)("line-height",!0,w,y,"tablet"),Object(r.a)("height",!0,w,y,"tablet"),Object(r.a)("width",!0,h,v,"tablet"),"}",e.dots+"{",Object(r.f)("height",p,m,"tablet"),Object(r.f)("width",s,u,"tablet"),"}","}","@media only screen and (min-width: 992px) {",e.arrow+"{",Object(r.c)("font-size",d,"desktop"),Object(r.a)("line-height",!0,w,y,"desktop"),Object(r.a)("height",!0,w,y,"desktop"),Object(r.a)("width",!0,h,v,"desktop"),"}",e.dots+"{",Object(r.f)("height",p,m,"desktop"),Object(r.f)("width",s,u,"desktop"),"}","}"].join("\n")}},{key:"slideItemOptions",value:function(){var e=this.props,t=e.siMarginAttr,n=e.siMarginValue,o=e.props;return wp.element.createElement(f,null,wp.element.createElement(h,{title:__("Carsouel Item","gutentor"),initialOpen:!1},wp.element.createElement(v,null,wp.element.createElement(h,{title:__("Margin","gutentor"),initialOpen:!1},wp.element.createElement(v,null,wp.element.createElement(w,{label:__("Margin","gutentor")},Object(m.a)(t,n,o)))))))}},{key:"slideItemOptionStyle",value:function(e){var t=this.props.siMarginValue;return[e.marginSelector+"{",Object(m.b)("margin",t),"}","@media only screen and (min-width: 768px) {",e.marginSelector+"{",Object(m.b)("margin",t,"tablet"),"}","}","@media only screen and (min-width: 992px) {",e.marginSelector+"{",Object(m.b)("margin",t,"desktop"),"}","}"].join("\n")}}]),e}();t.a=E},function(e,t,n){"use strict";function o(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function l(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}n.d(t,"a",function(){return d});var i=n(0),s=n.n(i),c=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),u=wp.element.Component,p=wp.data,m=p.select,g=p.subscribe,__=wp.i18n.__,d=function(e){function t(e){a(this,t);var n=r(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={headers:e.headers,unsubscribe:null},n}return l(t,e),c(t,[{key:"componentDidMount",value:function(){function e(e){return!!e&&!!["h1","h2","h3","h4","h5","h6"].includes(e)}function t(e){return"h1"===e?1:"h2"===e?2:"h3"===e?3:"h4"===e?4:"h5"===e?5:"h6"===e&&6}var n=this,a=function e(t){var n=[];return t.innerBlocks.forEach(function(t){"core/heading"!==t.name&&"gutentor/e0"!==t.name&&"gutentor/e1"!==t.name||n.push(t),t.innerBlocks.length>0&&n.push.apply(n,o(e(t)))}),n},r=function(){var t=[];return m("core/block-editor").getBlocks().forEach(function(n){var r=!!n.attributes&&n.attributes.e0Tag,l=!!n.attributes&&n.attributes.e1Tag;if("core/heading"===n.name||"gutentor/e0"===n.name&&e(r)||"gutentor/e1"===n.name&&e(l))t.push(n);else if(n.innerBlocks.length>0){var i=a(n);i.length>0&&t.push.apply(t,o(i))}}),t},l=function(){var e=r().map(function(e){return e.attributes});e.forEach(function(e,n){e.gName&&"gutentor/e0"===e.gName?(e.level=t(e.e0Tag),e.anchor="section-"+e.gID):e.gName&&"gutentor/e1"===e.gName?(e.level=t(e.e1Tag),e.anchor="section-"+e.gID):e.anchor||(e.anchor=n+1+"-"+e.content.toString().toLowerCase().replace(/( |<.+?>|&nbsp;)/g,"-"),e.anchor=encodeURIComponent(e.anchor.replace(/[^\w\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF\s-]/g,"")))}),JSON.stringify(e)!==JSON.stringify(n.state.headers)&&n.setState({headers:e})};l();var i=g(function(e){return l()});this.setState({unsubscribe:i})}},{key:"componentDidUpdate",value:function(e){JSON.stringify(e.headers)!==JSON.stringify(this.state.headers)&&this.props.blockProp.setAttributes({headerLinks:JSON.stringify(this.state.headers)})}},{key:"componentWillUnmount",value:function(){this.state.unsubscribe()}},{key:"render",value:function(){var e=this.state.headers,t=this.props.blockProp.attributes,n=t.m13TableType,o=t.m13Anchor,a=t.m13OLType,r=t.m13UOLType,l="ul";if("g-ordered"===n&&(l="ol"),0===e.length)return wp.element.createElement("div",{className:"g-message"},__("No header Tag found"));var i=function e(t,n){var o=t.length-1;0===t.length||t[0].level===n.level?t.push(Object.assign({},n)):t[o].level<n.level&&(t[o].children?e(t[o].children,n):t[o].children=[Object.assign({},n)])};return wp.element.createElement(l,{className:s()(n+"-list"),type:s()("g-ordered"===n&&a?a:"","g-unordered"===n&&r?r:"")},function e(t){return t.map(function(t){return wp.element.createElement("li",null,t.content&&wp.element.createElement("a",{href:"#"+t.anchor,dangerouslySetInnerHTML:{__html:t.content.replace(/(<.+?>)/g,"")}}),"gutentor/e0"===t.gName&&t.e0AT&&wp.element.createElement("a",{href:"#"+t.anchor,dangerouslySetInnerHTML:{__html:t.e0AT.replace(/(<.+?>)/g,"")}}),"gutentor/e1"===t.gName&&t.e1AT&&wp.element.createElement("a",{href:"#"+t.anchor,dangerouslySetInnerHTML:{__html:t.e1AT.replace(/(<.+?>)/g,"")}}),t.children&&wp.element.createElement(l,{className:"child-list"},e(t.children)))})}(function(e){var t=[],n={},a=!0,r=!1,l=void 0;try{for(var s,c=o[Symbol.iterator]();!(a=(s=c.next()).done);a=!0){var u=s.value;n[u.value]=!0}}catch(e){r=!0,l=e}finally{try{!a&&c.return&&c.return()}finally{if(r)throw l}}return n&&e.filter(function(e){return n["h"+e.level]}).forEach(function(e){return i(t,e)}),t}(e)))}}]),t}(u)},function(e,t,n){"use strict";function o(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function a(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){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var l=n(2),i=n(0),s=n.n(i),c=n(54),u=n(4),p=n(6),m=n(80),g=n(1),d=n(10),f=n(16),b=n(13),h=n(7),v=n(55),w=n(44),y=n(9),_=n(3),k=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),__=wp.i18n.__,E=wp.components,C=E.Placeholder,O=E.PanelBody,j=E.PanelRow,x=E.TextControl,I=E.BaseControl,T=E.ToggleControl,F=E.SelectControl,B=E.Button,S=E.Tooltip,N=E.TextareaControl,P=wp.blockEditor,A=P.MediaUpload,M=P.MediaUploadCheck,D=lodash,H=D.startCase,L=D.toLower,R=void 0,V=function(){function e(){r(this,e),R=this}return k(e,[{key:"addBlockID",value:function(e,t){return wp.element.createElement(O,{title:__("Block ID","gutentor"),initialOpen:!1},wp.element.createElement(j,null,wp.element.createElement(x,{label:__("Enter Block ID","gutentor"),value:t.val,onChange:function(n){e(a({},t.attr,n))}})))}},{key:"htmlTagAttrVal",value:function(e){return{attr:"mTag",val:e.mTag}}},{key:"addHtmlTag",value:function(e,t){return wp.element.createElement(O,{title:__("Section HTML Tag","gutentor"),initialOpen:!1},wp.element.createElement(j,null,wp.element.createElement(F,{label:__("Tag","gutentor"),value:t.val,onChange:function(n){e(a({},t.attr,n))},options:y.n})))}},{key:"backgroundAttrVal",value:function(e){var t=e.mBGType,n=e.mBGImageSrc,o=e.mBGImage,a=e.mBGImageUrl,r=e.mBGImageSizeType,l=e.mBGVideo,i=e.mBGVideoSrc,s=e.mBGVideoUrl,c=e.mBGColor,u=e.mBGImgSize,p=e.mBGImgPos,m=e.mBGImgRepeat,g=e.mBGImgAttach,d=e.mBGVideoLoop,f=e.mBGVideoMute,b=e.mOnOverlay,h=e.mOverlayColor;return{type:"mBGType",typeVal:t,imgSrcAttr:"mBGImageSrc",imgSrcVal:n,img:"mBGImage",imgVal:o,imgUrlAttr:"mBGImageUrl",imgUrlVal:a,videoUrlAttr:"mBGVideoUrl",videoUrlVal:s,videoSrcAttr:"mBGVideoSrc",videoSrcVal:i,imgSize:"mBGImageSizeType",imgSizeVal:r,video:"mBGVideo",videoVal:l,color:"mBGColor",colorVal:c,gradient:"mBGGradient",gradientVal:e.mBGGradient,bgSize:"mBGImgSize",bgSizeVal:u,bgPos:"mBGImgPos",bgPosVal:p,bgRepeat:"mBGImgRepeat",bgRepeatVal:m,bgAttach:"mBGImgAttach",bgAttachVal:g,videoLoop:"mBGVideoLoop",videoLoopVal:d,videoMute:"mBGVideoMute",videoMuteVal:f,overlay:"mOnOverlay",overlayVal:b,overlayColor:"mOverlayColor",overlayColorVal:h}}},{key:"addBackground",value:function(e,t){var n=t.type,o=t.typeVal,r=t.imgSrcAttr,l=t.imgSrcVal,i=t.img,s=t.imgVal,u=t.imgSize,p=t.imgSizeVal,m=t.imgUrlAttr,g=t.imgUrlVal,d=t.videoUrlAttr,f=t.videoUrlVal,b=t.video,h=t.videoVal,v=t.videoSrcAttr,w=t.videoSrcVal,y=t.color,_=t.colorVal,k=t.gradient,E=t.gradientVal,C=t.bgSize,O=t.bgSizeVal,j=t.bgPos,x=t.bgPosVal,I=t.bgRepeat,T=t.bgRepeatVal,F=t.bgAttach,B=t.bgAttachVal,S=t.videoLoop,N=t.videoLoopVal,P=t.videoMute,A=t.videoMuteVal,M=t.overlay,D=t.overlayVal,H=t.overlayColor,L=t.overlayColorVal;return wp.element.createElement(c.a,{BGLabel:__("Background","gutentor"),backgroundType:o,backgroundImageSrc:l,backgroundImage:s,backgroundImageUrl:g,imageSizeType:p,backgroundImageSize:O,backgroundImagePosition:x,backgroundImageRepeat:T,backgroundImageAttachment:B,backgroundVideoSrc:w,backgroundVideo:h,backgroundVideoUrl:f,backgroundVideoLoop:N,backgroundVideoMuted:A,backgroundColor:_,backgroundGradient:E,BGEnableOverlay:D,BGOverlayColor:L,setBGType:function(t){return e(a({},n,t))},setBGImageSrc:function(t){return e(a({},r,t))},setBGImage:function(t){return e(a({},i,t))},setImageUrl:function(t){return e(a({},m,t))},setVideoUrl:function(t){return e(a({},d,t))},setImageSizeType:function(t){return e(a({},u,t))},setBGImageSize:function(t){return e(a({},C,t))},setBGImagePosition:function(t){return e(a({},j,t))},setBGImageRepeat:function(t){return e(a({},I,t))},setBGImageAttachment:function(t){return e(a({},F,t))},removeBGImage:function(){return e(a({},i,null))},setBGVideoSrc:function(t){return e(a({},v,t))},setBGVideo:function(t){return e(a({},b,t))},removeBGVideo:function(){return e(a({},b,null))},toggleBGVideoLoop:function(t){return e(a({},S,t))},toggleBGVideoMuted:function(t){return e(a({},P,t))},setBGColor:function(t){return e(a({},y,t.rgb&&1!==t.rgb.a?"rgba("+t.rgb.r+","+t.rgb.g+","+t.rgb.b+","+t.rgb.a+")":t.hex))},setBGGradient:function(t){return e(a({},k,t))},toggleOverlayColor:function(t){return e(a({},M,t))},setOverlayColor:function(t){return e(a({},H,t.rgb&&1!==t.rgb.a?"rgba("+t.rgb.r+","+t.rgb.g+","+t.rgb.b+","+t.rgb.a+")":t.hex))}})}},{key:"heightAttrVal",value:function(e){return{on:"mOnHeight",onVal:e.mOnHeight,height:"mHeight",heightVal:e.mHeight}}},{key:"addHeight",value:function(e,t){var n=t.on,o=t.onVal,r=t.height,l=t.heightVal;return wp.element.createElement(O,{title:__("Height","gutentor"),initialOpen:!1},wp.element.createElement(j,null,wp.element.createElement(T,{label:__("Enable Height","gutentor"),checked:o,onChange:function(){e.setAttributes(a({},n,!o))}}),o&&wp.element.createElement(I,{label:__("Height","gutentor")},Object(h.e)(r,l,e))))}},{key:"vAlignAttrVal",value:function(e){return{on:"mContOnVAlign",onVal:e.mContOnVAlign,m:"mContVAlign",mVal:e.mContVAlign,t:"mContVAlignT",tVal:e.mContVAlignT,d:"mContVAlignD",dVal:e.mContVAlignD}}},{key:"addVerticalAlignment",value:function(e,t,n){var o=t.on,r=t.onVal,i=t.m,s=t.mVal,c=t.t,u=t.tVal,p=t.d,m=t.dVal;if(n.onVal&&n.heightVal&&(n.heightVal.desktop||n.heightVal.tablet||n.heightVal.mobile)){var g=[{value:"g-c-r-valign",label:"No Align"},{value:"g-valign-t",label:'<svg id="gutentor-content-align-top" height="512" viewBox="0 0 512 512" width="512" xmlns="http://www.w3.org/2000/svg" data-name="Layer 1"><path d="m120.1 368.815h101.358a6 6 0 0 0 6-6v-259.4a6 6 0 0 0 -6-6h-101.358a6 6 0 0 0 -6 6v259.4a6 6 0 0 0 6 6zm6-259.4h89.354v247.4h-89.354z"/><path d="m290.542 368.815h92.134a6 6 0 0 0 6-6v-158.537a6 6 0 0 0 -6-6h-92.134a6 6 0 0 0 -6 6v158.537a6 6 0 0 0 6 6zm6-158.537h80.134v146.537h-80.134z"/><path d="m66 414.583h380a6 6 0 0 0 0-12h-380a6 6 0 0 0 0 12z"/></svg>'},{value:"g-valign-c",label:'<svg id="gutentor-content-align-center" height="512" viewBox="0 0 512 512" width="512" xmlns="http://www.w3.org/2000/svg" data-name="Layer 1"><path d="m126.3 397.9h123.7v48.1a6 6 0 0 0 12 0v-48.1h123.7a6 6 0 0 0 6-6v-101.358a6 6 0 0 0 -6-6h-123.7v-57.084h64.5a6 6 0 0 0 6-6v-92.134a6 6 0 0 0 -6-6h-64.5v-57.324a6 6 0 0 0 -12 0v57.324h-64.495a6 6 0 0 0 -6 6v92.134a6 6 0 0 0 6 6h64.495v57.084h-123.7a6 6 0 0 0 -6 6v101.358a6 6 0 0 0 6 6zm65.2-262.572h129v80.134h-64.461-.039-.039-64.456zm-59.2 161.214h247.4v89.358h-247.4z"/></svg>'},{value:"g-valign-b",label:'<svg id="gutentor-content-align-bottom" height="512" viewBox="0 0 512 512" width="512" xmlns="http://www.w3.org/2000/svg" data-name="Layer 1"><path d="m120.1 368.815h101.358a6 6 0 0 0 6-6v-259.4a6 6 0 0 0 -6-6h-101.358a6 6 0 0 0 -6 6v259.4a6 6 0 0 0 6 6zm6-259.4h89.354v247.4h-89.354z"/><path d="m290.542 368.815h92.134a6 6 0 0 0 6-6v-158.537a6 6 0 0 0 -6-6h-92.134a6 6 0 0 0 -6 6v158.537a6 6 0 0 0 6 6zm6-158.537h80.134v146.537h-80.134z"/><path d="m66 414.583h380a6 6 0 0 0 0-12h-380a6 6 0 0 0 0 12z"/></svg>'}];return wp.element.createElement(O,{title:__("Content Vertical Alignment","gutentor"),initialOpen:!1},wp.element.createElement(j,null,wp.element.createElement(T,{label:__("Enable Content Align","gutentor"),checked:r,onChange:function(){e(a({},o,!r))}}),r&&wp.element.createElement("div",{className:"gutentor-adv-resposnive-valign"},wp.element.createElement(l.d,null,wp.element.createElement(l.b,null,wp.element.createElement(l.a,null,wp.element.createElement("i",{className:"dashicons dashicons-desktop"})),wp.element.createElement(l.a,null,wp.element.createElement("i",{className:"dashicons dashicons-tablet"})),wp.element.createElement(l.a,null,wp.element.createElement("i",{className:"dashicons dashicons-smartphone"}))),wp.element.createElement(l.c,null,wp.element.createElement(w.a,{label:__("Vertical Alignment","gutentor"),value:m,onChange:function(t){e(a({},p,t))},options:g})),wp.element.createElement(l.c,null,wp.element.createElement(w.a,{label:__("Vertical Alignment","gutentor"),value:u,onChange:function(t){e(a({},c,t))},options:g})),wp.element.createElement(l.c,null,wp.element.createElement(w.a,{label:__("Vertical Alignment","gutentor"),value:s,onChange:function(t){e(a({},i,t))},options:g}))))))}return""}},{key:"marginPaddingAttrVal",value:function(e){return{margin:"mMargin",marginVal:e.mMargin,padding:"mPadding",paddingVal:e.mPadding}}},{key:"addMarginPadding",value:function(e,t){var n=t.margin,o=t.marginVal,a=t.padding,r=t.paddingVal;return wp.element.createElement(O,{title:__("Margin/Padding","gutentor"),initialOpen:!1},wp.element.createElement(j,null,wp.element.createElement(I,{label:__("Margin","gutentor")},Object(p.a)(n,o,e)),wp.element.createElement(I,{label:__("Padding","gutentor")},Object(p.a)(a,r,e))))}},{key:"borderAttrVal",value:function(e){return{attr:"mBxBorder",val:e.mBxBorder}}},{key:"addBorder",value:function(e,t){return wp.element.createElement(O,{title:__("Border","gutentor"),initialOpen:!1},wp.element.createElement(j,null,Object(d.a)(t.attr,t.val,e)))}},{key:"boxShadowAttrVal",value:function(e){return{attr:"mBxShadow",val:e.mBxShadow}}},{key:"addBoxShadow",value:function(e,t){return wp.element.createElement(O,{title:__("Box Shadow","gutentor"),initialOpen:!1},wp.element.createElement(j,null,Object(f.b)(t.attr,t.val,e)))}},{key:"shapeAttrVal",value:function(e){var t=e.mTShape,n=e.mTShapeImg,o=e.mTShapeImgSizeType,a=e.mTShapeCustomSVG,r=e.mTShapeOpt,l=e.mTShapeSVGOpt,i=e.mTShapeOnColor,s=e.mTShapeVFlip,c=e.mTShapeHFlip,u=e.mTShapeColor,p=e.mTShapeHeight,m=e.mTShapeWidth,g=e.mTShapePos,d=e.mBShape,f=e.mBShapeImg,b=e.mBShapeOpt,h=e.mBShapeImgSizeType,v=e.mBShapeCustomSVG,w=e.mBShapeSVGOpt,y=e.mBShapeOnColor,_=e.mBShapeVFlip,k=e.mBShapeHFlip;return{topOpt:"mTShapeOpt",topOptVal:r,topImg:"mTShapeImg",topImgVal:n,topImgSize:"mTShapeImgSizeType",topImgSizeVal:o,topSvgOpt:"mTShapeSVGOpt",topSvgOptVal:l,topSvg:"mTShape",topSvgVal:t,topCustomSvg:"mTShapeCustomSVG",topCustomSvgVal:a,topOnColor:"mTShapeOnColor",topOnColorVal:i,topColor:"mTShapeColor",topColorVal:u,topVFlip:"mTShapeVFlip",topVFlipVal:s,topHFlip:"mTShapeHFlip",topHFlipVal:c,topHeight:"mTShapeHeight",topHeightVal:p,topWidth:"mTShapeWidth",topWidthVal:m,topPos:"mTShapePos",topPosVal:g,bottomOpt:"mBShapeOpt",bottomOptVal:b,bottomImg:"mBShapeImg",bottomImgVal:f,bottomImgSize:"mBShapeImgSizeType",bottomImgSizeVal:h,bottomSvgOpt:"mBShapeSVGOpt",bottomSvgOptVal:w,bottomSvg:"mBShape",bottomSvgVal:d,bottomCustomSvg:"mBShapeCustomSVG",bottomCustomSvgVal:v,bottomOnColor:"mBShapeOnColor",bottomOnColorVal:y,bottomColor:"mBShapeColor",bottomColorVal:e.mBShapeColor,bottomVFlip:"mBShapeVFlip",bottomVFlipVal:_,bottomHFlip:"mBShapeHFlip",bottomHFlipVal:k,bottomHeight:"mBShapeHeight",bottomHeightVal:e.mBShapeHeight,bottomWidth:"mBShapeWidth",bottomWidthVal:e.mBShapeWidth,bottomPos:"mBShapePos",bottomPosVal:e.mBShapePos}}},{key:"blockShapeFixed",value:function(e,t,n){var o=e.setAttributes;if(n.topShapeVal&&!Number(n.topShapeVal)){var r=t.indexOf(n.topSvgVal);r=-1!==r?r.toString():"0",o(a({},n.topShape,r))}if(n.bottomShapeVal&&!Number(n.bottomShapeVal)){var l=t.indexOf(n.bottomSvgVal);l=-1!==l?l.toString():"0",o(a({},n.bottomShape,l))}}},{key:"blockShapeSvgArray",value:function(){return['<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" preserveAspectRatio="none"><path d="M0,6V0H1000V100Z" transform="translate(0 0)"></path></svg>','<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" preserveAspectRatio="none"><path d="M0,22.3V0H1000V100Z" transform="translate(0 0)" style="opacity:0.66"></path><path d="M0,6V0H1000V100Z" transform="translate(0 0)"></path></svg>','<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 84.94" preserveAspectRatio="none"><path d="M0,0V72.94c14.46,5.89,32.38,10.5,54.52.26,110.25-51,120.51,23.71,192.6-4.3,144.73-56.23,154.37,49.44,246.71,4.64C637,4.05,622.19,124.16,757.29,66.21c93-39.91,108.38,54.92,242.71-8.25V0Z" style="fill-rule:evenodd;opacity:0.33"></path><path d="M0,0V52.83c131.11,59.9,147-32.91,239.24,6.65,135.09,58,120.24-62.16,263.46,7.34,92.33,44.8,102-60.88,246.71-4.64,72.1,28,82.35-46.71,192.6,4.3,23.95,11.08,43,4.78,58-1.72V0Z" style="fill-rule:evenodd;opacity:0.66"></path><path d="M0,0V24.26c15.6,6.95,35.77,15.41,61.78,3.38,110.25-51,120.51,23.71,192.6-4.3C399.11-32.89,408.75,72.79,501.08,28,644.3-41.51,629.45,78.6,764.54,20.65,855.87-18.53,872.34,72.12,1000,15.7V0Z" style="fill-rule:evenodd"></path></svg>','<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 99" preserveAspectRatio="none"><path d="M526.35,17.11C607.41,28.38,687,48.17,768.06,59.5A1149.19,1149.19,0,0,0,1000,68.07V0H0V99C155.18,13.84,347.42-7.77,526.35,17.11Z" transform="translate(0 0.04)"></path></svg>','<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" preserveAspectRatio="none"><path class="st0" d="M499.9,51"></path><path class="st1" d="M0,1v94.2c256.7-171,917.3-15.6,1000,4.8V1H0z"></path><path d="M0,100h1.3C273.1-106.1,1000,77.4,1000,77.4V0H0V100z"></path></svg>','<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" preserveAspectRatio="none"><polygon points="0,0 0,46.7 40.7,23.4 82.5,47.2 124.2,23.4 166,47.2 207.7,23.4 249.4,47.2 291.2,23.4 332.9,47.2 374.7,23.4 416.4,47.2 458.1,23.4 499.9,47.2 541.6,23.4 583.4,47.2 625.1,23.4 666.9,47.2 708.6,23.4 750.3,47.2 792.1,23.4 833.8,47.2 875.6,23.4 917.3,47.2 959,23.4 1000,46.8 1000,0 "></polygon><path class="st0" d="M499.9,51"></path></svg>','<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1920 435" preserveAspectRatio="none"><path class="path1" d="M1920,435.1H0V49c32.8,32,92.7,82.1,180,108.3C486.8,249.6,554.4-28.5,918,9.1C1152.9,33.4,1328.5,180,1602,176 c137.7-2,248.9-43,318-75C1920,229.7,1920,306.4,1920,435.1z" style="fill-rule:evenodd;opacity:0.33; transform: rotate(180deg); transform-origin:50% 50%;" ></path><path class="path2" d="M1920,288.1c-228,42-357.8,100.5-489,54c-254.1-90-325.1-324.6-603-315C619.8,34.3,532.8,150,280.5,228.8 c-136.7,42.7-178-42.7-280.5-48.6v255h1920V288.1z" style="fill-rule:evenodd;opacity:0.66; transform: rotate(180deg); transform-origin:50% 50%;"></path><path class="path3" d="M1920,435.1H0v-215c81,5,135,77,243,41c199.3-66.4,294.5-143.1,405-162c315-54,384.2,131.1,585,207 c165,62.4,385,129,687-120C1920,236.1,1920,385.1,1920,435.1z" style="fill-rule:evenodd; transform: rotate(180deg); transform-origin:50% 50%;"></path></svg>','<svg width="100%" viewBox="0 0 1280 86" preserveAspectRatio="none" xmlns="http://www.w3.org/2000/svg"><g><path d="M1280 66.1c-3.8 0-7.6.3-11.4.8-18.3-32.6-59.6-44.2-92.2-25.9-3.5 2-6.9 4.3-10 6.9-22.7-41.7-74.9-57.2-116.6-34.5-14.2 7.7-25.9 19.3-33.8 33.3-.2.3-.3.6-.5.8-12.2-1.4-23.7 5.9-27.7 17.5-11.9-6.1-25.9-6.3-37.9-.6-21.7-30.4-64-37.5-94.4-15.7-12.1 8.6-21 21-25.4 35.2-10.8-9.3-24.3-15-38.5-16.2-8.1-24.6-34.6-38-59.2-29.9-14.3 4.7-25.5 16-30 30.3-4.3-1.9-8.9-3.2-13.6-3.8-13.6-45.5-61.5-71.4-107-57.8a86.38 86.38 0 0 0-43.2 29.4c-8.7-3.6-18.7-1.8-25.4 4.8-23.1-24.8-61.9-26.2-86.7-3.1-7.1 6.6-12.5 14.8-15.9 24-26.7-10.1-56.9-.4-72.8 23.3-2.6-2.7-5.6-5.1-8.9-6.9-.4-.2-.8-.4-1.2-.7-.6-25.9-22-46.4-47.9-45.8-11.5.3-22.5 4.7-30.9 12.5-16.5-33.5-57.1-47.3-90.6-30.8-21.9 11-36.3 32.7-37.6 57.1-7-2.3-14.5-2.8-21.8-1.6C84.8 47 55.7 40.7 34 54.8c-5.6 3.6-10.3 8.4-13.9 14-6.6-1.7-13.3-2.6-20.1-2.6-.1 0 0 19.8 0 19.8h1280V66.1z" fill-opacity=".5" style="fill-rule:evenodd; transform: rotate(180deg); transform-origin:50% 50%;"/><path d="M15.6 86H1280V48.5c-3.6 1.1-7.1 2.5-10.4 4.4-6.3 3.6-11.8 8.5-16 14.5-8.1-1.5-16.4-.9-24.2 1.7-3.2-39-37.3-68.1-76.4-64.9-24.8 2-46.8 16.9-57.9 39.3-19.9-18.5-51-17.3-69.4 2.6-8.2 8.8-12.8 20.3-13.1 32.3-.4.2-.9.4-1.3.7-3.5 1.9-6.6 4.4-9.4 7.2-16.6-24.9-48.2-35-76.2-24.4-12.2-33.4-49.1-50.6-82.5-38.4-9.5 3.5-18.1 9.1-25 16.5-7.1-6.9-17.5-8.8-26.6-5-30.4-39.3-87-46.3-126.2-15.8-14.8 11.5-25.6 27.4-31 45.4-4.9.6-9.7 1.9-14.2 3.9-8.2-25.9-35.8-40.2-61.7-32-15 4.8-26.9 16.5-31.8 31.5-14.9 1.3-29 7.2-40.3 17-11.5-37.4-51.2-58.4-88.7-46.8-14.8 4.6-27.7 13.9-36.7 26.5-12.6-6-27.3-5.7-39.7.6-4.1-12.2-16.2-19.8-29-18.4-.2-.3-.3-.6-.5-.9-24.4-43.3-79.4-58.6-122.7-34.2-13.3 7.5-24.4 18.2-32.4 31.2C99.8 18.5 50 28.5 25.4 65.4c-4.3 6.4-7.5 13.3-9.8 20.6z" style="fill-rule:evenodd; transform: rotate(180deg); transform-origin:50% 50%;"/></g></svg>','<svg width="100%" height="300px" viewBox="0 0 1280 140" preserveAspectRatio="none" xmlns="http://www.w3.org/2000/svg"><g><path d="M853.893,86.998c-38.859,0-58.811-16.455-77.956-35.051c18.295-10.536,40.891-18.276,73.378-18.276 c38.685,0,64.132,12.564,85.489,28.347C916.192,72.012,900.8,86.998,853.893,86.998z M526.265,80.945 c-6.517-0.562-13.599-0.879-21.41-0.879c-70.799,0-91.337,27.229-134.433,35.662c14.901,3.72,32.118,6.07,52.898,6.07 C470.171,121.797,500.34,103.421,526.265,80.945z" fill-opacity=".3" style="fill-rule:evenodd; transform: rotate(180deg); transform-origin:50% 50%;"/><path d="M663.458,109.671c-67.137,0-80.345-23.824-137.193-28.726C567.086,45.555,597.381,0,665.691,0 c61.857,0,85.369,27.782,110.246,51.947C736.888,74.434,717.459,109.671,663.458,109.671z M217.68,94.163 c55.971,0,62.526,24.026,126.337,24.026c9.858,0,18.508-0.916,26.404-2.461c-57.186-14.278-80.177-48.808-138.659-48.808 c-77.063,0-99.96,48.569-151.751,48.569c-40.006,0-60.008-12.206-80.011-29.506v16.806c20.003,10.891,40.005,21.782,80.011,21.782 C160.014,124.57,158.608,94.163,217.68,94.163z M1200.112,46.292c-57.493,0-56.935,46.595-115.015,46.595 c-53.612,0-59.755-39.618-115.602-39.618c-15.267,0-25.381,3.751-34.69,8.749c36.096,26.675,60.503,62.552,117.342,62.552 c69.249,0,75.951-43.559,147.964-43.559c39.804,0,59.986,10.943,79.888,21.777V85.982 C1260.097,68.771,1239.916,46.292,1200.112,46.292z" fill-opacity=".5" style="fill-rule:evenodd; transform: rotate(180deg); transform-origin:50% 50%;"/><path d="M1052.147,124.57c-56.84,0-81.247-35.876-117.342-62.552c-18.613,9.994-34.005,24.98-80.912,24.98 c-38.859,0-58.811-16.455-77.956-35.051c-39.05,22.487-58.479,57.724-112.48,57.724c-67.137,0-80.345-23.824-137.193-28.726 c-25.925,22.475-56.093,40.852-102.946,40.852c-20.779,0-37.996-2.349-52.898-6.07c-7.895,1.545-16.546,2.461-26.404,2.461 c-63.811,0-70.366-24.026-126.337-24.026c-59.072,0-57.665,30.407-137.669,30.407c-40.006,0-60.008-10.891-80.011-21.782V140h1280 v-37.212c-19.903-10.835-40.084-21.777-79.888-21.777C1128.098,81.011,1121.397,124.57,1052.147,124.57z" style="fill-rule:evenodd; transform: rotate(180deg); transform-origin:50% 50%;"/></g></svg>','<svg viewBox="0 0 1280 140" preserveAspectRatio="none" xmlns="http://www.w3.org/2000/svg"><g><path d="M0 140h1280C573.08 140 0 0 0 0z" style="transform: rotate(180deg); transform-origin:50% 50%;"/></g></svg>','<svg viewBox="0 0 1280 140" preserveAspectRatio="none" xmlns="http://www.w3.org/2000/svg"><g><path d="M0 51.76c36.21-2.25 77.57-3.58 126.42-3.58 320 0 320 57 640 57 271.15 0 312.58-40.91 513.58-53.4V0H0z" fill-opacity=".3" style="fill-rule:evenodd;"/><path d="M0 24.31c43.46-5.69 94.56-9.25 158.42-9.25 320 0 320 89.24 640 89.24 256.13 0 307.28-57.16 481.58-80V0H0z" fill-opacity=".5" style="fill-rule:evenodd; "/><path d="M0 0v3.4C28.2 1.6 59.4.59 94.42.59c320 0 320 84.3 640 84.3 285 0 316.17-66.85 545.58-81.49V0z" style="fill-rule:evenodd; "/></g></svg>','<svg version="1.1" x="0px" y="0px" viewBox="0 0 240 24" xml:space="preserve" preserveAspectRatio="none"><path d="M138.75,22.41c-5.43,0.619-12.363-0.09-18.125-1.27c-5.654-1.19-17.017-5.711-24.116-8.642 C78.34,4.689,64.438,1.708,50.312,0.429c-5.664-0.5-11.685-0.84-24.814,0.62C12.358,2.499,0,7.249,0,7.249V24h240v-7.34 c0,0-17.285-7.921-38.018-7.381c-9.404,0.17-22.275,1.61-32.158,5.442c-5.098,1.959-12.539,4.409-19.121,5.879 C144.17,22.061,141.191,22.17,138.75,22.41z" style="transform: rotate(180deg); transform-origin:50% 50%;"></path></svg>','<svg viewBox="0 0 1280 140" preserveAspectRatio="none" xmlns="http://www.w3.org/2000/svg"><g><path d="M0 47.44L170 0l626.48 94.89L1110 87.11l170-39.67V140H0V47.44z" fill-opacity=".5" style="fill-rule:evenodd; transform: rotate(180deg); transform-origin:50% 50%;"/><path d="M0 90.72l140-28.28 315.52 24.14L796.48 65.8 1140 104.89l140-14.17V140H0V90.72z" style="fill-rule:evenodd; transform: rotate(180deg); transform-origin:50% 50%;"/></g></svg>','<svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="100%" height="100" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0 100 C40 0 60 0 100 100 Z" style="transform: rotate(180deg); transform-origin:50% 50%;"></path></svg>','<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0 100 C 20 0 50 0 100 100 Z" style="transform: rotate(180deg); transform-origin:50% 50%;"></path></svg>','<svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="100%" height="100" viewBox="0 0 100 102" preserveAspectRatio="none"><path d="M0 0 L50 100 L100 0 Z" style="transform: rotate(180deg); transform-origin:50% 50%;"></path></svg>','<svg viewBox="0 0 1280 140" xmlns="http://www.w3.org/2000/svg"><path d="M0 0l64.8 30.95 91.2-2.54 95.46 27.87 120.04.2L443 83.15l90.09-3.12L640 110.12l102.39-29.73 85.55 8.51 88.11-5.75L992 52.22l73.21 4.26L1132 38.79l77-.33L1280 0v140H0V0z" fill-opacity=".5" style="fill-rule:evenodd; transform: rotate(180deg); transform-origin:50% 50%;"/><path d="M0 0l64.8 38.69 91.2-3.18 95.46 34.84 120.04.24 71.5 33.35 90.09-3.91L640 137.65l102.39-37.17 85.55 10.65 88.11-7.19L992 65.28l73.21 5.31 66.79-22.1 77-.41L1280 0v140H0V0z" style="fill-rule:evenodd; transform: rotate(180deg); transform-origin:50% 50%;"/></svg>','<svg width="100%" height="250px" viewBox="0 0 1280 140" preserveAspectRatio="none" xmlns="http://www.w3.org/2000/svg"><path d="M1280 0l-266 91.52a72.59 72.59 0 0 1-30.76 3.71L0 0v140h1280z" fill-opacity=".5" style="fill-rule:evenodd; transform: rotate(180deg); transform-origin:50% 50%;"/><path d="M1280 0l-262.1 116.26a73.29 73.29 0 0 1-39.09 6L0 0v140h1280z" style="fill-rule:evenodd; transform: rotate(180deg); transform-origin:50% 50%;"/></svg>','<svg width="100%" height="100px" viewBox="0 0 1280 140" preserveAspectRatio="none" xmlns="http://www.w3.org/2000/svg"><path d="M0 140h1280C573.08 140 0 0 0 0z" fill-opacity=".3" style="fill-rule:evenodd; transform: rotate(180deg); transform-origin:50% 50%;"/><path d="M0 140h1280C573.08 140 0 30 0 30z" fill-opacity=".5" style="fill-rule:evenodd; transform: rotate(180deg); transform-origin:50% 50%;"/><path d="M0 140h1280C573.08 140 0 60 0 60z" style="fill-rule:evenodd; transform: rotate(180deg); transform-origin:50% 50%;"/></svg>']}},{key:"addShape",value:function(e,t){var n=e.setAttributes,r=t.topOpt,i=t.topOptVal,s=t.topImg,c=t.topImgVal,u=t.topImgSize,p=t.topImgSizeVal,m=t.topSvgOpt,g=t.topSvgOptVal,d=t.topSvg,f=t.topSvgVal,v=t.topCustomSvg,w=t.topCustomSvgVal,y=t.topVFlip,k=t.topVFlipVal,E=t.topHFlip,x=t.topHFlipVal,P=t.topOnColor,D=t.topOnColorVal,V=t.topColor,W=t.topColorVal,z=t.topHeight,G=t.topHeightVal,U=t.topWidth,q=t.topWidthVal,Y=t.topPos,K=t.topPosVal,X=t.bottomOpt,Z=t.bottomOptVal,Q=t.bottomImg,J=t.bottomImgVal,$=t.bottomImgSize,ee=t.bottomImgSizeVal,te=t.bottomSvgOpt,ne=t.bottomSvgOptVal,oe=t.bottomSvg,ae=t.bottomSvgVal,re=t.bottomCustomSvg,le=t.bottomCustomSvgVal,ie=t.bottomVFlip,se=t.bottomVFlipVal,ce=t.bottomHFlip,ue=t.bottomHFlipVal,pe=t.bottomOnColor,me=t.bottomOnColorVal,ge=t.bottomColor,de=t.bottomColorVal,fe=t.bottomHeight,be=t.bottomHeightVal,he=t.bottomWidth,ve=t.bottomWidthVal,we=t.bottomPos,ye=t.bottomPosVal,_e=[],ke=R.blockShapeSvgArray();R.blockShapeFixed(e,ke,t),ke.forEach(function(e,t){var n={value:t.toString(),label:e};_e.push(n)});var Ee={},Ce=[],Oe="";p&&c&&c.sizes&&(Ee=Object.keys(c.sizes).map(function(e){return e={label:e?H(L(e)):"",value:e||""}}),Ce=[].concat(o(Ee)),Oe=c&&c.url&&c.sizes[p].url?c.sizes[p].url:"",Oe=""===Oe&&c?c.url:Oe);var je={},xe=[],Ie="";ee&&J&&J.sizes&&(je=Object.keys(J.sizes).map(function(e){return e={label:e?H(L(e)):"",value:e||""}}),xe=[].concat(o(je)),Ie=J&&J.url&&J.sizes[ee].url?J.sizes[ee].url:"",Ie=""===Ie&&J?J.url:Ie);var Te=[{label:__("Default","gutentor"),value:"gb-svg-default"},{label:__("Custom","gutentor"),value:"gb-svg-custom"}],Fe=[{label:__("SVG","gutentor"),value:"gb-svg"},{label:__("Image","gutentor"),value:"gb-image"}];return wp.element.createElement(O,{title:__("Block Shape","gutentor"),initialOpen:!1},wp.element.createElement(j,null,wp.element.createElement(l.d,null,wp.element.createElement(l.b,null,wp.element.createElement(l.a,null,wp.element.createElement("i",{className:"dashicons dashicons-dashboard"}),__("Top","gutentor")),wp.element.createElement(l.a,null,wp.element.createElement("i",{className:"dashicons dashicons-edit"}),__("Bottom","gutentor"))),wp.element.createElement(l.c,null,wp.element.createElement(F,{label:__("Shape Type","gutentor"),value:i,onChange:function(e){n(a({},r,e))},options:Fe}),"gb-image"===i&&wp.element.createElement(I,{label:__("Image","gutentor"),className:"gutentor-inspector-image-uploader"},wp.element.createElement(M,null,c&&wp.element.createElement("div",{className:"gutentor-image-actions"},wp.element.createElement(A,{onSelect:function(e){var t={id:e.id,sizes:e.sizes,url:e.url,alt:e.alt};n(a({},s,t))},value:c.id,render:function(e){var t=e.open;return wp.element.createElement(S,{text:__("Edit Image","gutentor")},wp.element.createElement(B,{onClick:t,className:"button button-primary"},wp.element.createElement("i",{className:"dashicons dashicons-edit"})))}}),wp.element.createElement(S,{text:__("Remove Image","gutentor")},wp.element.createElement(B,{className:"button button-remove",onClick:function(e){return n(a({},s,null))}},wp.element.createElement("i",{className:"dashicons dashicons-trash"})))),!c&&wp.element.createElement(C,{icon:"format-image",instructions:__("Upload image or select a file from library","gutentor")},wp.element.createElement(A,{onSelect:function(e){var t={id:e.id,sizes:e.sizes,url:e.url,alt:e.alt};n(a({},s,t))},value:c,render:function(e){var t=e.open;return wp.element.createElement(B,{onClick:t,className:"button button-primary"},wp.element.createElement("i",{className:"dashicons dashicons-format-image"}),__("Upload Image","gutentor"))}})),wp.element.createElement("div",{className:"gutentor-image-thumb"},c&&Oe&&wp.element.createElement("img",{className:"normal-image",src:Oe}))),p&&Ce&&wp.element.createElement(F,{label:__("Image Size","gutentor"),value:p||"full",onChange:function(e){n(a({},u,e))},options:Ce})),"gb-svg"===i&&wp.element.createElement(I,null,wp.element.createElement(F,{label:__("SVG Option","gutentor"),value:g,onChange:function(e){n(a({},m,e))},options:Te}),"gb-svg-default"===g&&wp.element.createElement(b.a,{label:__("Select Shape","gutentor"),value:f,onChange:function(e){n(a({},d,e))},options:_e}),"gb-svg-custom"===g&&wp.element.createElement(N,{label:__("Enter SVG Path","gutentor"),type:"text",value:w,onChange:function(e){n(a({},v,e))}})),("gb-image"===i&&c||"gb-svg-default"===g&&f||"gb-svg-custom"===g&&w)&&wp.element.createElement("div",{className:"gutentor-block-shape-divider-options"},wp.element.createElement(T,{label:__("Flip Vertically","gutentor"),checked:k,onChange:function(){n(a({},y,!k))}}),wp.element.createElement(T,{label:__("Flip Horizontally","gutentor"),checked:x,onChange:function(){n(a({},E,!x))}}),"gb-svg"===i&&wp.element.createElement(I,null,wp.element.createElement(T,{label:__("Enable Color","gutentor"),checked:D,onChange:function(){n(a({},P,!D))}}),D&&wp.element.createElement(_.a,{value:W,label:__("Color","gutentor"),onChange:function(e){var t=e.rgb&&1!==e.rgb.a?"rgba("+e.rgb.r+","+e.rgb.g+","+e.rgb.b+","+e.rgb.a+")":e.hex;n(a({},V,t))},disableAlpha:!1})),wp.element.createElement(I,{label:__("Height","gutentor")},Object(h.b)(z,G,e)),wp.element.createElement(I,{label:__("Width","gutentor")},Object(h.b)(U,q,e)),wp.element.createElement(T,{label:__("Bring Front","gutentor"),checked:K,onChange:function(){n(a({},Y,!K))}}))),wp.element.createElement(l.c,null,wp.element.createElement(F,{label:__("Shape Type","gutentor"),value:Z,onChange:function(e){n(a({},X,e))},options:Fe}),"gb-image"===Z&&wp.element.createElement(I,{label:__("Image","gutentor"),className:"gutentor-inspector-image-uploader"},wp.element.createElement(M,null,J&&wp.element.createElement("div",{className:"gutentor-image-actions"},wp.element.createElement(A,{onSelect:function(e){var t={id:e.id,sizes:e.sizes,url:e.url,alt:e.alt};n(a({},Q,t))},value:J.id,render:function(e){var t=e.open;return wp.element.createElement(S,{text:__("Edit Image","gutentor")},wp.element.createElement(B,{onClick:t,className:"button button-primary"},wp.element.createElement("i",{className:"dashicons dashicons-edit"})))}}),wp.element.createElement(S,{text:__("Remove Image","gutentor")},wp.element.createElement(B,{className:"button button-remove",onClick:function(e){return n(a({},Q,null))}},wp.element.createElement("i",{className:"dashicons dashicons-trash"})))),!J&&wp.element.createElement(C,{icon:"format-image",instructions:__("Upload image or select a file from library","gutentor")},wp.element.createElement(A,{onSelect:function(e){var t={id:e.id,sizes:e.sizes,url:e.url,alt:e.alt};n(a({},Q,t))},value:J,render:function(e){var t=e.open;return wp.element.createElement(B,{onClick:t,className:"button button-primary"},wp.element.createElement("i",{className:"dashicons dashicons-format-image"}),__("Upload Image","gutentor"))}})),wp.element.createElement("div",{className:"gutentor-image-thumb"},J&&Ie&&wp.element.createElement("img",{className:"normal-image",src:Ie}))),ee&&xe&&wp.element.createElement(F,{label:__("Image Size","gutentor"),value:ee||"full",onChange:function(e){n(a({},$,e))},options:xe})),"gb-svg"===Z&&wp.element.createElement(I,null,wp.element.createElement(F,{label:__("SVG Option","gutentor"),value:ne,onChange:function(e){n(a({},te,e))},options:Te}),"gb-svg-default"===ne&&wp.element.createElement(b.a,{label:__("Select Shape","gutentor"),value:ae,onChange:function(e){n(a({},oe,e))},options:_e}),"gb-svg-custom"===ne&&wp.element.createElement(N,{label:__("Enter SVG Path","gutentor"),type:"text",value:le,onChange:function(e){n(a({},re,e))}})),("gb-image"===Z&&J||"gb-svg-default"===ne&&ae||"gb-svg-custom"===ne&&le)&&wp.element.createElement("div",{className:"gutentor-block-shape-divider-options"},wp.element.createElement(T,{label:__("Flip Vertically","gutentor"),checked:se,onChange:function(){n(a({},ie,!se))}}),wp.element.createElement(T,{label:__("Flip Horizontally","gutentor"),checked:ue,onChange:function(){n(a({},ce,!ue))}}),"gb-svg"===Z&&wp.element.createElement(I,null,wp.element.createElement(T,{label:__("Enable Color","gutentor"),checked:me,onChange:function(){n(a({},pe,!me))}}),me&&wp.element.createElement(_.a,{value:de,label:__("Color","gutentor"),onChange:function(e){var t=e.rgb&&1!==e.rgb.a?"rgba("+e.rgb.r+","+e.rgb.g+","+e.rgb.b+","+e.rgb.a+")":e.hex;n(a({},ge,t))},disableAlpha:!1})),wp.element.createElement(I,{label:__("Height","gutentor")},Object(h.b)(fe,be,e)),wp.element.createElement(I,{label:__("Width","gutentor")},Object(h.b)(he,ve,e)),wp.element.createElement(T,{label:__("Bring Front","gutentor"),checked:ye,onChange:function(){n(a({},we,!ye))}}))))))}},{key:"positionAttrVal",value:function(e){var t=e.mPosOptD,n=e.mPosOptT,o=e.mPosOptM,a=e.mOnPos,r=e.mPosTypeD,l=e.mPosD,i=e.mPosT,s=e.mPosM,c=e.mPosDWidth,u=e.mPosTWidth,p=e.mPosMWidth,m=e.mPosTypeT,g=e.mPosTypeM;return{on:"mOnPos",onVal:a,typeD:"mPosTypeD",typeDVal:r,alignD:"mPosOptD",alignDVal:t,customD:"mPosD",customDVal:l,marginD:"mPosMarginAutoD",marginDVal:e.mPosMarginAutoD,widthD:"mPosDWidth",widthDVal:c,typeT:"mPosTypeT",typeTVal:m,alignT:"mPosOptT",alignTVal:n,customT:"mPosT",customTVal:i,marginT:"mPosMarginAutoT",marginTVal:e.mPosMarginAutoT,widthT:"mPosTWidth",widthTVal:u,typeM:"mPosTypeM",typeMVal:g,alignM:"mPosOptM",alignMVal:o,customM:"mPosM",customMVal:s,marginM:"mPosMarginAutoM",marginMVal:e.mPosMarginAutoM,widthM:"mPosMWidth",widthMVal:p}}},{key:"addPosition",value:function(e,t){var n=e.setAttributes,o=e.className,r=t.on,i=t.onVal,s=t.typeD,c=t.typeDVal,u=t.alignD,p=t.alignDVal,g=t.customD,d=t.customDVal,f=t.marginD,b=t.marginDVal,h=t.widthD,w=t.widthDVal,y=t.typeT,_=t.typeTVal,k=t.alignT,E=t.alignTVal,C=t.customT,x=t.customTVal,B=t.marginT,S=t.marginTVal,N=t.widthT,P=t.widthTVal,A=t.typeM,M=t.typeMVal,D=t.alignM,H=t.alignMVal,L=t.customM,R=t.customMVal,V=t.marginM,W=t.marginMVal,z=t.widthM,G=t.widthMVal;if(/g-pos-custom-desktop|g-pos-custom-tablet|g-pos-custom-mobile/.test(o)){var U={},q=o;o.includes("g-pos-custom-desktop")&&(U[u]="g-pos-custom",q=q.replace("g-pos-custom-desktop","")),o.includes("g-pos-custom-tablet")&&(U[k]="g-pos-custom",q=q.replace("g-pos-custom-tablet","")),o.includes("g-pos-custom-mobile")&&(U[D]="g-pos-custom",q=q.replace("g-pos-custom-mobile","")),U.className=q,n(U)}var Y=[{label:__("Default","gutentor"),value:"g-pos-d"},{label:__("Static","gutentor"),value:"g-pos-s"},{label:__("Relative","gutentor"),value:"g-pos-r"},{label:__("Absolute","gutentor"),value:"g-pos-a"},{label:__("Fixed","gutentor"),value:"g-pos-f"}],K=[{label:__("Default","gutentor"),value:"default"},{label:__("Vertically Center","gutentor"),value:"g-pos-v-c"},{label:__("Horizontally Center","gutentor"),value:"g-pos-h-c"},{label:__("Vertically Horizontally Center","gutentor"),value:"g-pos-v-h-c"},{label:__("Custom","gutentor"),value:"g-pos-custom"}];return wp.element.createElement(O,{title:__("Position","gutentor"),initialOpen:!1},wp.element.createElement(j,null,wp.element.createElement("p",{className:"gutentor-info"},__("Please note that Custom Position is only recommended if you know knowledge of it. Custom positioning should not use frequently and may cause issue on responsive.","gutentor")),wp.element.createElement(T,{label:__("Enable Custom Position","gutentor"),checked:i,onChange:function(){n(a({},r,!i))}}),i&&wp.element.createElement(I,null,wp.element.createElement("div",{className:"gutentor-separated-responsive-wrap gutentor-position-box"},wp.element.createElement(l.d,null,wp.element.createElement(l.b,null,wp.element.createElement(l.a,null,wp.element.createElement("i",{className:"dashicons dashicons-desktop"})),wp.element.createElement(l.a,null,wp.element.createElement("i",{className:"dashicons dashicons-tablet"})),wp.element.createElement(l.a,null,wp.element.createElement("i",{className:"dashicons dashicons-smartphone"}))),wp.element.createElement(l.c,null,wp.element.createElement(F,{label:__("Select Position","gutentor"),value:c,onChange:function(e){n(a({},s,e))},options:Y}),"g-pos-d"!==c&&wp.element.createElement(I,null,wp.element.createElement(F,{label:__("Position Align","gutentor"),value:p,onChange:function(e){n(a({},u,e))},options:K}),"g-pos-custom"===p&&Object(v.c)(g,d,e),wp.element.createElement(T,{label:__("Margin Auto","gutentor"),checked:b,onChange:function(){n(a({},f,!b))}}),Object(m.a)(h,w,__("Width","gutentor"),e))),wp.element.createElement(l.c,null,wp.element.createElement(F,{label:__("Select Position","gutentor"),value:_,onChange:function(e){n(a({},y,e))},options:Y}),"g-pos-d"!==_&&wp.element.createElement(I,null,wp.element.createElement(F,{label:__("Position Align","gutentor"),value:E,onChange:function(e){n(a({},k,e))},options:K}),"g-pos-custom"===E&&Object(v.c)(C,x,e),wp.element.createElement(T,{label:__("Margin Auto","gutentor"),checked:S,onChange:function(){n(a({},B,!S))}}),Object(m.a)(N,P,__("Width","gutentor"),e))),wp.element.createElement(l.c,null,wp.element.createElement(F,{label:__("Select Position","gutentor"),value:M,onChange:function(e){n(a({},A,e))},options:Y}),"g-pos-d"!==M&&wp.element.createElement(I,null,wp.element.createElement(F,{label:__("Position Align","gutentor"),value:H,onChange:function(e){n(a({},D,e))},options:K}),"g-pos-custom"===H&&Object(v.c)(L,R,e),wp.element.createElement(T,{label:__("Margin Auto","gutentor"),checked:W,onChange:function(){n(a({},V,!W))}}),Object(m.a)(z,G,__("Width","gutentor"),e))))))))}},{key:"zIndexAttrVal",value:function(e){return{attr:"mZIndex",val:e.mZIndex}}},{key:"addZIndex",value:function(e,t){return wp.element.createElement(O,{title:__("Z-Index","gutentor"),initialOpen:!1},wp.element.createElement(j,null,Object(h.j)(t.attr,t.val,e)))}},{key:"displayModeAttrVal",value:function(e){return{attr:"mHideMode",val:e.mHideMode}}},{key:"addDisplayMode",value:function(e,t){return wp.element.createElement(O,{title:__("Display Mode","gutentor"),initialOpen:!1},wp.element.createElement(j,null,wp.element.createElement("p",{className:"gutentor-info"},__("Display Mode Responsive visibility will take effect on Frontend only","gutentor")),Object(h.h)(t.attr,t.val,e)))}},{key:"animationAttrVal",value:function(e){return{attr:"mAnimation",val:e.mAnimation}}},{key:"addAnimation",value:function(e,t){return Object(u.b)(t.attr,t.val,e)}},{key:"addRemoveSpace",value:function(e,t){return wp.element.createElement(O,{title:__("Remove Space","gutentor"),initialOpen:!1},wp.element.createElement(j,null,t.container&&wp.element.createElement(O,{title:__("Container","gutentor"),initialOpen:!1},wp.element.createElement(j,null,wp.element.createElement(I,{label:__("Remove Space","gutentor")},Object(h.i)(t.container.attr,t.container.val,e)))),t.row&&wp.element.createElement(O,{title:__("Row","gutentor"),initialOpen:!1},wp.element.createElement(j,null,wp.element.createElement(I,{label:__("Remove Space","gutentor")},Object(h.i)(t.row.attr,t.row.val,e)))),t.column&&wp.element.createElement(O,{title:__("Column","gutentor"),initialOpen:!1},wp.element.createElement(j,null,wp.element.createElement(I,{label:__("Remove Space","gutentor")},Object(h.i)(t.column.attr,t.column.val,e))))))}},{key:"addUpdatedRemoveSpace",value:function(e,t){return wp.element.createElement(O,{title:__("Remove Space","gutentor"),initialOpen:!1},wp.element.createElement(j,null,t.container.access&&wp.element.createElement(O,{title:__("Container","gutentor"),initialOpen:!1},wp.element.createElement(j,null,wp.element.createElement(I,{label:__("Remove Space","gutentor")},Object(h.i)(t.container.attr,t.container.val,e)))),t.row.access&&wp.element.createElement(O,{title:__("Row","gutentor"),initialOpen:!1},wp.element.createElement(j,null,wp.element.createElement(I,{label:__("Remove Space","gutentor")},Object(h.i)(t.row.attr,t.row.val,e)))),t.column.access&&wp.element.createElement(O,{title:__("Column","gutentor"),initialOpen:!1},wp.element.createElement(j,null,wp.element.createElement(I,{label:__("Remove Space","gutentor")},Object(h.i)(t.column.attr,t.column.val,e))))))}},{key:"customCssAttrVal",value:function(e){return{attr:"mRawCustomCss",val:e.mRawCustomCss}}},{key:"CustomCssOption",value:function(e,t){var n=e.setAttributes,o=(e.className,t.attr),r=t.val;return wp.element.createElement(O,{title:__("Raw Custom Css","gutentor"),initialOpen:!1},wp.element.createElement(j,null,wp.element.createElement("p",{className:"gutentor-info"},__("Please write css with selector {{gBlock}}, it is block unique class. Example:- .{{gBlock}} selector{ }","gutentor")),wp.element.createElement(N,{label:__("Custom Css","gutentor"),type:"text",value:r,onChange:function(e){n(a({},o,e))}})))}},{key:"addBackgroundClass",value:function(e){var t=e.typeVal,n=e.overlayVal,a=Object(c.b)(t);return s.a.apply(void 0,o(a).concat([n?"has-gutentor-overlay":""]))}},{key:"addVerticalAlignClass",value:function(e){var t=e.onVal,n=e.mVal,o=e.tVal,a=e.dVal;return t?s()(n?n+"-mobile":"",o?o+"-tablet":"",a?a+"-desktop":""):""}},{key:"addShapeClass",value:function(e){var t=e.topOptVal,n=e.topImgVal,o=e.topSvgVal,a=e.topCustomSvgVal,r=e.topVFlipVal,l=e.topHFlipVal,i=e.topPosVal,c=e.bottomOptVal,u=e.bottomImgVal,p=e.bottomSvgVal,m=e.bottomCustomSvgVal,g=e.bottomVFlipVal,d=e.bottomHFlipVal,f=e.bottomPosVal;return s()(o||n||a?"has-gutentor-block-shape-top":"","gb-image"===t&&n?"gutentor-top-block-shape-img":"",p||u||m?"has-gutentor-block-shape-bottom":"","gb-image"===c&&u?"gutentor-bottom-block-shape-img":"",i?"gutentor-block-shape-top-bring-front":"",f?"gutentor-block-shape-bottom-bring-front":"",r?"gutentor-tshape-fv":"",l?"gutentor-tshape-hv":"",g?"gutentor-bshape-fv":"",d?"gutentor-bshape-hv":"")}},{key:"addPositionClass",value:function(e){var t=e.onVal,n=e.typeDVal,o=e.typeTVal,a=e.typeMVal,r=e.alignDVal,l=e.alignTVal,i=e.alignMVal;return t?s()(n?n+"-desktop":"",o?o+"-tablet":"",a?a+"-mobile":"","g-pos-d"!==n&&"default"!==r?r+"-desktop":"","g-pos-d"!==o&&"default"!==l?l+"-tablet":"","g-pos-d"!==a&&"default"!==i?i+"-mobile":""):""}},{key:"addDisplayModeClass",value:function(e){var t=e.val,n=!(!t||!t.desktop)&&t.desktop,o=!(!t||!t.tablet)&&t.tablet,a=!(!t||!t.mobile)&&t.mobile;if(n&&o&&a)return"d-none";var r="";return n&&(r="d-lg-none"),o&&(r+=" d-md-none",n||(r+=" d-lg-block")),a&&(r+=" d-none",o||(r+=" d-sm-block"),n||r.includes("d-lg-block")||(r+=" d-lg-block")),r}},{key:"addAnimationClass",value:function(e){var t=e.val;return Object(u.a)(t)}},{key:"addRemoveContainerSpaceClass",value:function(e){if(e.container){var t=e.container.val,n=!(!t||!t.desktop)&&t.desktop,o=!(!t||!t.tablet)&&t.tablet,a=!(!t||!t.mobile)&&t.mobile;return s()(n?"gutentor-rm-ct-space-d":"",o?"gutentor-rm-ct-space-t":"",a?"gutentor-rm-ct-space":"")}return""}},{key:"addRemoveRowSpaceClass",value:function(e){if(e.row){var t=e.row.val,n=!(!t||!t.desktop)&&t.desktop,o=!(!t||!t.tablet)&&t.tablet,a=!(!t||!t.mobile)&&t.mobile;return s()(n?"gutentor-rm-row-space-d":"",o?"gutentor-rm-row-space-t":"",a?"gutentor-rm-row-space":"")}return""}},{key:"addRemoveGridSpaceClass",value:function(e){if(e.column){var t=e.column.val,n=!(!t||!t.desktop)&&t.desktop,o=!(!t||!t.tablet)&&t.tablet,a=!(!t||!t.mobile)&&t.mobile;return s()(n?"gutentor-rm-col-space-d":"",o?"gutentor-rm-col-space-t":"",a?"gutentor-rm-col-space":"")}return""}},{key:"addOverlayCss",value:function(e,t){var n=void 0;return t.overlayVal&&(n=[".section-"+e+".has-gutentor-overlay:after{",Object(g.c)("background-color",t.overlayColorVal?Object(g.b)(t.overlayColorVal):null)+"}"].join("\n")),n}},{key:"addShapeTopCss",value:function(e,t,n,o){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"mobile",r="gb-image"===o?"img":"svg",l=n&&n.type?n.type:"px";return"desktop"===a?[".section-"+e+" .gutentor-block-shape-top "+r+"{"+Object(g.c)(t,n&&n.desktop?n.desktop+l:""),"}"].join("\n"):"tablet"===a?[".section-"+e+" .gutentor-block-shape-top "+r+"{"+Object(g.c)(t,n&&n.tablet?n.tablet+l:""),"}"].join("\n"):[".section-"+e+" .gutentor-block-shape-top "+r+"{"+Object(g.c)(t,n&&n.mobile?n.mobile+l:""),"}"].join("\n")}},{key:"addShapBottomCss",value:function(e,t,n,o){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"mobile",r="gb-image"===o?"img":"svg",l=n&&n.type?n.type:"px";return"desktop"===a?[".section-"+e+" .gutentor-block-shape-bottom "+r+"{"+Object(g.c)(t,n&&n.desktop?n.desktop+l:""),"}"].join("\n"):"tablet"===a?[".section-"+e+" .gutentor-block-shape-bottom "+r+"{"+Object(g.c)(t,n&&n.tablet?n.tablet+l:""),"}"].join("\n"):[".section-"+e+" .gutentor-block-shape-bottom "+r+"{"+Object(g.c)(t,n&&n.mobile?n.mobile+l:""),"}"].join("\n")}},{key:"addCss",value:function(e,t){var n=t.clientId,o=e.gID,a=e.background,r=e.border,l=e.boxShadow,i=e.marginPadding,s=e.shape,u=e.zIndex;return[t.setAttributes?function(){return["#block-"+n+"{",Object(h.g)("z-index",u.val,"mobile"),"}","@media only screen and (min-width: 768px) {","#block-"+n+"{",Object(h.g)("z-index",u.val,"tablet"),"}","}","@media only screen and (min-width: 992px) {","#block-"+n+"{",Object(h.g)("z-index",u.val,"desktop"),"}","}"].join("\n")}():"",".section-"+o+"{",Object(c.c)(a.typeVal,a.imgSrcVal,a.colorVal,a.gradientVal,a.imgVal,a.imgSizeVal,a.bgSizeVal,a.bgPosVal,a.bgRepeatVal,a.bgAttachVal,a.imgUrlVal),t.setAttributes?"":Object(h.g)("z-index",u.val,"mobile"),Object(d.b)(r.val),Object(f.c)(l.val),Object(p.b)("margin",i.marginVal),Object(p.b)("padding",i.paddingVal),"}",R.addOverlayCss(o,a),".section-"+o+" .gutentor-block-shape-top svg path,\n .section-"+o+" .gutentor-block-shape-top svg polygon{",Object(g.c)("fill","gb-svg"===s.topOptVal&&s.topOnColorVal&&s.topColorVal?s.topColorVal:null),"}",".section-"+o+" .gutentor-block-shape-bottom svg path,\n .section-"+o+" .gutentor-block-shape-bottom svg polygon{",Object(g.c)("fill","gb-svg"===s.bottomOptVal&&s.bottomOnColorVal&&s.bottomColorVal?s.bottomColorVal:null),"}",R.addShapeTopCss(o,"height",s.topHeightVal,s.topOptVal),R.addShapeTopCss(o,"width",s.topWidthVal,s.topOptVal),R.addShapBottomCss(o,"height",s.bottomHeightVal,s.bottomOptVal),R.addShapBottomCss(o,"width",s.bottomWidthVal,s.bottomOptVal),".section-"+o+":hover{",Object(d.c)(r.val),Object(f.a)(l.val),"}","@media only screen and (min-width: 768px) {",".section-"+o+"{",t.setAttributes?"":Object(h.g)("z-index",u.val,"tablet"),Object(p.b)("margin",i.marginVal,"tablet"),Object(p.b)("padding",i.paddingVal,"tablet"),"}",R.addShapeTopCss(o,"height",s.topHeightVal,s.topOptVal,"tablet"),R.addShapeTopCss(o,"width",s.topWidthVal,s.topOptVal,"tablet"),R.addShapBottomCss(o,"height",s.bottomHeightVal,s.bottomOptVal,"tablet"),R.addShapBottomCss(o,"width",s.bottomWidthVal,s.bottomOptVal,"tablet"),"}","@media only screen and (min-width: 992px) {",".section-"+o+"{",t.setAttributes?"":Object(h.g)("z-index",u.val,"desktop"),Object(p.b)("margin",i.marginVal,"desktop"),Object(p.b)("padding",i.paddingVal,"desktop"),"}",R.addShapeTopCss(o,"height",s.topHeightVal,s.topOptVal,"desktop"),R.addShapeTopCss(o,"width",s.topWidthVal,s.topOptVal,"desktop"),R.addShapBottomCss(o,"height",s.bottomHeightVal,s.bottomOptVal,"desktop"),R.addShapBottomCss(o,"width",s.bottomWidthVal,s.bottomOptVal,"desktop"),"}"].join("\n")}},{key:"addUpdatedCss",value:function(e,t){var n=t.clientId,o=e.gID,a=e.bgAccess,r=e.background,l=e.borderAccess,i=e.border,s=e.boxShadowAccess,u=e.boxShadow,m=e.marginPaddingAccess,b=e.marginPadding,v=e.shapeAccess,w=e.shape,y=e.zIndex;return[t.setAttributes&&y&&y.val?function(){return["#block-"+n+"{",Object(h.g)("z-index",y.val,"mobile"),"}","@media only screen and (min-width: 768px) {","#block-"+n+"{",Object(h.g)("z-index",y.val,"tablet"),"}","}","@media only screen and (min-width: 992px) {","#block-"+n+"{",Object(h.g)("z-index",y.val,"desktop"),"}","}"].join("\n")}():"",".section-"+o+"{",a&&r?Object(c.c)(r.typeVal,r.imgSrcVal,r.colorVal,r.gradientVal,r.imgVal,r.imgSizeVal,r.bgSizeVal,r.bgPosVal,r.bgRepeatVal,r.bgAttachVal,r.imgUrlVal):"",!t.setAttributes&&y&&y.val?Object(h.g)("z-index",y.val,"mobile"):"",l&&i&&i.val?Object(d.b)(i.val):"",s&&u&&u.val?Object(f.c)(u.val):"",m&&b&&b.marginVal?Object(p.b)("margin",b.marginVal):"",m&&b&&b.paddingVal?Object(p.b)("padding",b.paddingVal):"","}",a&&r?R.addOverlayCss(o,r):"",".section-"+o+" .gutentor-block-shape-top svg path,\n .section-"+o+" .gutentor-block-shape-top svg polygon{",v&&w&&w.topOptVal&&w.topOnColorVal&&w.topColorVal?Object(g.c)("fill","gb-svg"===w.topOptVal&&w.topOnColorVal&&w.topColorVal?w.topColorVal:null):"","}",".section-"+o+" .gutentor-block-shape-bottom svg path,\n .section-"+o+" .gutentor-block-shape-bottom svg polygon{",v&&w&&w.bottomOptVal&&w.bottomOnColorVal&&w.bottomColorVal?Object(g.c)("fill","gb-svg"===w.bottomOptVal&&w.bottomOnColorVal&&w.bottomColorVal?w.bottomColorVal:null):"","}",v&&w&&w.topHeightVal&&w.topOptVal&&o?R.addShapeTopCss(o,"height",w.topHeightVal,w.topOptVal):"",v&&w&&w.topWidthVal&&w.topOptVal&&o?R.addShapeTopCss(o,"width",w.topWidthVal,w.topOptVal):"",v&&w&&w.bottomHeightVal&&w.bottomOptVal&&o?R.addShapBottomCss(o,"height",w.bottomHeightVal,w.bottomOptVal):"",v&&w&&w.bottomWidthVal&&w.bottomOptVal&&o?R.addShapBottomCss(o,"width",w.bottomWidthVal,w.bottomOptVal):"",".section-"+o+":hover{",l&&i&&i.val?Object(d.c)(i.val):"",s&&u&&u.val?Object(f.a)(u.val):"","}","@media only screen and (min-width: 768px) {",".section-"+o+"{",!t.setAttributes&&y.val?Object(h.g)("z-index",y.val,"tablet"):"",m&&b&&b.marginVal?Object(p.b)("margin",b.marginVal,"tablet"):"",m&&b&&b.paddingVal?Object(p.b)("padding",b.paddingVal,"tablet"):"","}",v&&w&&w.topHeightVal&&w.topOptVal&&o?R.addShapeTopCss(o,"height",w.topHeightVal,w.topOptVal,"tablet"):"",v&&w.topWidthVal&&w.topOptVal&&o?R.addShapeTopCss(o,"width",w.topWidthVal,w.topOptVal,"tablet"):"",v&&w&&w.bottomHeightVal&&w.bottomOptVal&&o?R.addShapBottomCss(o,"height",w.bottomHeightVal,w.bottomOptVal,"tablet"):"",v&&w&&w.bottomWidthVal&&w.bottomOptVal&&o?R.addShapBottomCss(o,"width",w.bottomWidthVal,w.bottomOptVal,"tablet"):"","}","@media only screen and (min-width: 992px) {",".section-"+o+"{",!t.setAttributes&&y.val?Object(h.g)("z-index",y.val,"desktop"):"",m&&b&&b.marginVal?Object(p.b)("margin",b.marginVal,"desktop"):"",m&&b&&b.paddingVal?Object(p.b)("padding",b.paddingVal,"desktop"):"","}",v&&w&&w.topHeightVal&&w.topOptVal&&o?R.addShapeTopCss(o,"height",w.topHeightVal,w.topOptVal,"desktop"):"",v&&w&&w.topWidthVal&&w.topOptVal&&o?R.addShapeTopCss(o,"width",w.topWidthVal,w.topOptVal,"desktop"):"",v&&w&&w.bottomHeightVal&&w.bottomOptVal&&o?R.addShapBottomCss(o,"height",w.bottomHeightVal,w.bottomOptVal,"desktop"):"",v&&w&&w.bottomWidthVal&&w.bottomOptVal&&o?R.addShapBottomCss(o,"width",w.bottomWidthVal,w.bottomOptVal,"desktop"):"","}"].join("\n")}},{key:"addHeightCss",value:function(e,t){var n=e.gID,o=e.height;return[".section-"+n+"{",Object(h.f)("height",o.onVal,o.heightVal,"mobile"),"}","@media only screen and (min-width: 768px) {",".section-"+n+"{",Object(h.f)("height",o.onVal,o.heightVal,"tablet"),"}","}","@media only screen and (min-width: 992px) {",".section-"+n+"{",Object(h.f)("height",o.onVal,o.heightVal,"desktop"),"}","}"].join("\n")}},{key:"frontendPositionCss",value:function(e,t,n,o,a,r){var l="";if(!t||!o)return"";if("g-pos-d"===n)return"";if(!o)return"";var i=o?o+"-"+r:"";return"g-pos-v-c"===o?l=[".section-"+e+"."+i+"{",Object(g.c)("left","inherit"),Object(g.c)("top","50%"),Object(g.c)("-webkit-transform","translateY(-50%)"),Object(g.c)("-ms-transform","translateY(-50%)"),Object(g.c)("transform","translateY(-50%)"),"}"].join("\n"):"g-pos-h-c"===o?l=[".section-"+e+"."+i+"{",Object(g.c)("top","inherit"),Object(g.c)("left","50%"),Object(g.c)("-webkit-transform","translateX(-50%)"),Object(g.c)("-ms-transform","translateX(-50%)"),Object(g.c)("transform","translateX(-50%)"),"}"].join("\n"):"g-pos-v-h-c"===o?l=[".section-"+e+"."+i+"{",Object(g.c)("left","50%"),Object(g.c)("top","50%"),Object(g.c)("-webkit-transform","translate(-50%,-50%)"),Object(g.c)("-ms-transform","translate(-50%,-50%)"),Object(g.c)("transform","translate(-50%,-50%)"),"}"].join("\n"):"g-pos-custom"===o&&(l=[".section-"+e+"."+i+"{",Object(v.b)(t,n,a),"}"].join("\n")),l}},{key:"backendPositionCss",value:function(e,t,n,o,a,r){var l="";if(!t||!o)return"";if("g-pos-d"===n)return"";if(!o)return"";var i=o?o+"-"+r:"";return"g-pos-v-c"===o?l=["#block-"+e+".gutentor-enabled-position."+i+"{",Object(g.c)("left","inherit"),Object(g.c)("top","50%"),Object(g.c)("-webkit-transform","translateY(-50%)"),Object(g.c)("-ms-transform","translateY(-50%)"),Object(g.c)("transform","translateY(-50%)"),"}"].join("\n"):"g-pos-h-c"===o?l=["#block-"+e+".gutentor-enabled-position."+i+"{",Object(g.c)("top","inherit"),Object(g.c)("left","50%"),Object(g.c)("-webkit-transform","translateX(-50%)"),Object(g.c)("-ms-transform","translateX(-50%)"),Object(g.c)("transform","translateX(-50%)"),"}"].join("\n"):"g-pos-v-h-c"===o?l=["#block-"+e+".gutentor-enabled-position."+i+"{",Object(g.c)("left","50%"),Object(g.c)("top","50%"),Object(g.c)("-webkit-transform","translate(-50%,-50%)"),Object(g.c)("-ms-transform","translate(-50%,-50%)"),Object(g.c)("transform","translate(-50%,-50%)"),"}"].join("\n"):"g-pos-custom"===o&&(l=["#block-"+e+".gutentor-enabled-position."+i+"{",Object(v.b)(t,n,a),"}"].join("\n")),l}},{key:"addPositionCss",value:function(e,t){var n=t.clientId,o=t.attributes,a=o.gID,r=e.onVal,l=e.typeDVal,i=e.alignDVal,s=e.customDVal,c=e.marginDVal,u=e.widthDVal,p=e.typeTVal,d=e.alignTVal,f=e.customTVal,b=e.marginTVal,h=e.widthTVal,v=e.typeMVal,w=e.alignMVal,y=e.customMVal,_=e.marginMVal,k=e.widthMVal,E=r&&l?l+"-desktop":"",C=r&&p?p+"-tablet":"",O=r&&v?v+"-mobile":"";return t.setAttributes?["#block-"+a+".gutentor-enabled-position."+O+"{",r&&"g-pos-d"!==v?Object(m.b)("width",k):"",_?Object(g.c)("margin-left","auto"):"",_?Object(g.c)("margin-right","auto"):"","}",R.backendPositionCss(n,r,v,w,y,"mobile"),"@media only screen and (min-width: 768px) {","#block-"+a+".gutentor-enabled-position."+C+"{",r&&"g-pos-d"!==p?Object(m.b)("width",h):"",b?Object(g.c)("margin-left","auto"):"",b?Object(g.c)("margin-right","auto"):"","}",R.backendPositionCss(n,r,p,d,f,"tablet"),"}","@media only screen and (min-width: 992px) {","#block-"+a+".gutentor-enabled-position."+E+"{",r&&"g-pos-d"!==l?Object(m.b)("width",u):"",c?Object(g.c)("margin-left","auto"):"",c?Object(g.c)("margin-right","auto"):"","}",R.backendPositionCss(n,r,l,i,s,"desktop"),"}"].join("\n"):[".section-"+a+"."+O+"{",r&&"g-pos-d"!==v?Object(m.b)("width",k):"",_?Object(g.c)("margin-left","auto"):"",_?Object(g.c)("margin-right","auto"):"","}",R.frontendPositionCss(a,r,v,w,y,"mobile"),"@media only screen and (min-width: 768px) {",".section-"+a+"."+C+"{",r&&"g-pos-d"!==p?Object(m.b)("width",h):"",b?Object(g.c)("margin-left","auto"):"",b?Object(g.c)("margin-right","auto"):"","}",R.frontendPositionCss(a,r,p,d,f,"tablet"),"}","@media only screen and (min-width: 992px) {",".section-"+a+"."+E+"{",r&&"g-pos-d"!==l?Object(m.b)("width",u):"",c?Object(g.c)("margin-left","auto"):"",c?Object(g.c)("margin-right","auto"):"","}",R.frontendPositionCss(a,r,l,i,s,"desktop"),"}"].join("\n")}},{key:"addVideoHtml",value:function(e){var t=e.typeVal,n=e.videoVal,o=e.videoSrcVal,a=e.videoUrlVal,r=e.videoLoopVal,l=e.videoMuteVal;return Object(c.d)(t,o,n,a,r,l)}},{key:"addShapeTopHtml",value:function(e){var t=e.topSvgVal,n=e.topImgSizeVal,o=e.topSvgOptVal,a=e.topCustomSvgVal,r=e.topOptVal,l=e.topImgVal;if(!t&&!l&&!a)return"";var i=R.blockShapeSvgArray(),s="";return n&&l&&l.sizes&&(s=l&&l.url&&l.sizes[n].url?l.sizes[n].url:"",s=""===s&&l?l.url:s),wp.element.createElement("div",{className:"gutentor-block-shape-top"},"gb-image"===r&&l&&wp.element.createElement("img",{className:"normal-image",src:s||""}),"gb-svg"===r&&"gb-svg-default"===o&&t&&wp.element.createElement("span",{dangerouslySetInnerHTML:{__html:i[t]}}),"gb-svg"===r&&"gb-svg-custom"===o&&a&&wp.element.createElement("span",{dangerouslySetInnerHTML:{__html:a}}))}},{key:"addShapeBottomHtml",value:function(e){var t=e.bottomSvgVal,n=e.bottomImgSizeVal,o=e.bottomSvgOptVal,a=e.bottomCustomSvgVal,r=e.bottomOptVal,l=e.bottomImgVal;if(!t&&!l&&!a)return"";var i=R.blockShapeSvgArray(),s="";return n&&l&&l.sizes&&(s=l&&l.url&&l.sizes[n].url?l.sizes[n].url:"",s=""===s&&l?l.url:s),wp.element.createElement("div",{className:"gutentor-block-shape-bottom"},"gb-image"===r&&l&&wp.element.createElement("img",{className:"normal-image",src:s||""}),"gb-svg"===r&&"gb-svg-default"===o&&t&&wp.element.createElement("span",{dangerouslySetInnerHTML:{__html:i[t]}}),"gb-svg"===r&&"gb-svg-custom"===o&&a&&wp.element.createElement("span",{dangerouslySetInnerHTML:{__html:a}}))}}]),e}();t.a=V},function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function l(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}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}function s(e){var t=e.maxHeight,n=e.menuEl,o=e.minHeight,a=e.placement,r=e.shouldScroll,l=e.isFixedPosition,i=e.theme,s=i.spacing,c=(0,h.getScrollParent)(n),u={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return u;var p=c.getBoundingClientRect(),m=p.height,g=n.getBoundingClientRect(),d=g.bottom,f=g.height,b=g.top,v=n.offsetParent.getBoundingClientRect(),w=v.top,y=window.innerHeight,_=(0,h.getScrollTop)(c),k=parseInt(getComputedStyle(n).marginBottom,10),E=parseInt(getComputedStyle(n).marginTop,10),C=w-E,O=y-b,j=C+_,x=m-_-b,I=d-y+_+k,T=_+b-E;switch(a){case"auto":case"bottom":if(O>=f)return{placement:"bottom",maxHeight:t};if(x>=f&&!l)return r&&(0,h.animatedScrollTo)(c,I,160),{placement:"bottom",maxHeight:t};if(!l&&x>=o||l&&O>=o){r&&(0,h.animatedScrollTo)(c,I,160);return{placement:"bottom",maxHeight:l?O-k:x-k}}if("auto"===a||l){var F=t;return(!l&&j>=o||l&&C>=o)&&(F=l?C-k-s.controlHeight:j-k-s.controlHeight),{placement:"top",maxHeight:F}}if("bottom"===a)return(0,h.scrollTo)(c,I),{placement:"bottom",maxHeight:t};break;case"top":if(C>=f)return{placement:"top",maxHeight:t};if(j>=f&&!l)return r&&(0,h.animatedScrollTo)(c,T,160),{placement:"top",maxHeight:t};if(!l&&j>=o||l&&C>=o){var B=t;return(!l&&j>=o||l&&C>=o)&&(B=l?C-E:j-E),r&&(0,h.animatedScrollTo)(c,T,160),{placement:"top",maxHeight:B}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'+a+'".')}return u}function c(e){var t={bottom:"top",top:"bottom"};return e?t[e]:"bottom"}Object.defineProperty(t,"__esModule",{value:!0}),t.MenuPortal=t.menuPortalCSS=t.LoadingMessage=t.NoOptionsMessage=t.loadingMessageCSS=t.noOptionsMessageCSS=t.MenuList=t.menuListCSS=t.MenuPlacer=t.menuCSS=void 0;var u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},p=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}();t.getMenuPlacement=s;var m=n(11),g=o(m),d=n(43),f=n(37),b=o(f),h=n(111),v=function(e){return"auto"===e?"bottom":e};t.menuCSS=function(e){var t,n=e.placement,o=e.theme,a=o.borderRadius,r=o.spacing,l=o.colors;return t={},i(t,c(n),"100%"),i(t,"backgroundColor",l.neutral0),i(t,"borderRadius",a),i(t,"boxShadow","0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)"),i(t,"marginBottom",r.menuGutter),i(t,"marginTop",r.menuGutter),i(t,"position","absolute"),i(t,"width","100%"),i(t,"zIndex",1),t};(t.MenuPlacer=function(e){function t(){var e,n,o,l;a(this,t);for(var i=arguments.length,c=Array(i),p=0;p<i;p++)c[p]=arguments[p];return n=o=r(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(c))),o.state={maxHeight:o.props.maxMenuHeight,placement:null},o.getPlacement=function(e){var t=o.props,n=t.minMenuHeight,a=t.maxMenuHeight,r=t.menuPlacement,l=t.menuPosition,i=t.menuShouldScrollIntoView,c=t.theme,u=o.context.getPortalPlacement;if(e){var p="fixed"===l,m=i&&!p,g=s({maxHeight:a,menuEl:e,minHeight:n,placement:r,shouldScroll:m,isFixedPosition:p,theme:c});u&&u(g),o.setState(g)}},o.getUpdatedProps=function(){var e=o.props.menuPlacement,t=o.state.placement||v(e);return u({},o.props,{placement:t,maxHeight:o.state.maxHeight})},l=n,r(o,l)}return l(t,e),p(t,[{key:"render",value:function(){return(0,this.props.children)({ref:this.getPlacement,placerProps:this.getUpdatedProps()})}}]),t}(m.Component)).contextTypes={getPortalPlacement:b.default.func};var w=function(e){var t=e.children,n=e.className,o=e.cx,a=e.getStyles,r=e.innerRef,l=e.innerProps,i=e.emotion,s=o(i.css(a("menu",e)),{menu:!0},n);return g.default.createElement("div",u({className:s},l,{ref:r}),t)};t.default=w;var y=(t.menuListCSS=function(e){var t=e.maxHeight,n=e.theme.spacing.baseUnit;return{maxHeight:t,overflowY:"auto",paddingBottom:n,paddingTop:n,position:"relative",WebkitOverflowScrolling:"touch"}},t.MenuList=function(e){var t=e.children,n=e.className,o=e.cx,a=e.getStyles,r=e.isMulti,l=e.innerRef,i=e.emotion;return g.default.createElement("div",{className:o(i.css(a("menuList",e)),{"menu-list":!0,"menu-list--is-multi":r},n),ref:l},t)},function(e){var t=e.theme,n=t.spacing.baseUnit;return{color:t.colors.neutral40,padding:2*n+"px "+3*n+"px",textAlign:"center"}});t.noOptionsMessageCSS=y,t.loadingMessageCSS=y;(t.NoOptionsMessage=function(e){var t=e.children,n=e.className,o=e.cx,a=e.getStyles,r=e.innerProps,l=e.emotion;return g.default.createElement("div",u({className:o(l.css(a("noOptionsMessage",e)),{"menu-notice":!0,"menu-notice--no-options":!0},n)},r),t)}).defaultProps={children:"No options"},(t.LoadingMessage=function(e){var t=e.children,n=e.className,o=e.cx,a=e.getStyles,r=e.innerProps,l=e.emotion;return g.default.createElement("div",u({className:o(l.css(a("loadingMessage",e)),{"menu-notice":!0,"menu-notice--loading":!0},n)},r),t)}).defaultProps={children:"Loading..."};t.menuPortalCSS=function(e){var t=e.rect,n=e.offset,o=e.position;return{left:t.left,position:o,top:n,width:t.width,zIndex:1}};(t.MenuPortal=function(e){function t(){var e,n,o,l;a(this,t);for(var i=arguments.length,s=Array(i),c=0;c<i;c++)s[c]=arguments[c];return n=o=r(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(s))),o.state={placement:null},o.getPortalPlacement=function(e){var t=e.placement;t!==v(o.props.menuPlacement)&&o.setState({placement:t})},l=n,r(o,l)}return l(t,e),p(t,[{key:"getChildContext",value:function(){return{getPortalPlacement:this.getPortalPlacement}}},{key:"render",value:function(){var e=this.props,t=e.appendTo,n=e.children,o=e.controlElement,a=e.menuPlacement,r=e.menuPosition,l=e.getStyles,i=e.emotion,s="fixed"===r;if(!t&&!s||!o)return null;var c=this.state.placement||v(a),u=(0,h.getBoundingClientObj)(o),p=s?0:window.pageYOffset,m=u[c]+p,f={offset:m,position:r,rect:u},b=g.default.createElement("div",{className:i.css(l("menuPortal",f))},n);return t?(0,d.createPortal)(b,t):b}}]),t}(m.Component)).childContextTypes={getPortalPlacement:b.default.func}},function(e,t,n){"use strict";function o(e,t){return t?"-"===t[0]?e+t:e+"__"+t:e}function a(e,t,n,a){var r=[t,a];if(n&&e)for(var l in n)n.hasOwnProperty(l)&&n[l]&&r.push(""+o(e,l));return r.filter(function(e){return e}).map(function(e){return String(e).trim()}).join(" ")}function r(e,t,n){if(n){var o=n(e,t);if("string"===typeof o)return o}return e}function l(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function i(e){return l(e)?window.innerHeight:e.clientHeight}function s(e){return l(e)?window.pageYOffset:e.scrollTop}function c(e,t){if(l(e))return void window.scrollTo(0,t);e.scrollTop=t}function u(e){var t=getComputedStyle(e),n="absolute"===t.position,o=/(auto|scroll)/,a=document.documentElement;if("fixed"===t.position)return a;for(var r=e;r=r.parentElement;)if(t=getComputedStyle(r),(!n||"static"!==t.position)&&o.test(t.overflow+t.overflowY+t.overflowX))return r;return a}function p(e,t,n,o){return n*((e=e/o-1)*e*e+1)+t}function m(e,t){function n(){u+=i;var t=p(u,r,l,o);c(e,t),u<o?(0,y.default)(n):a(e)}var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:_,r=s(e),l=t-r,i=10,u=0;n()}function g(e,t){var n=e.getBoundingClientRect(),o=t.getBoundingClientRect(),a=t.offsetHeight/3;o.bottom+a>n.bottom?c(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+a,e.scrollHeight)):o.top-a<n.top&&c(e,Math.max(t.offsetTop-a,0))}function d(e){var t=e.getBoundingClientRect();return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}function f(e){return e.replace(/\W/g,"-")}function b(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}function h(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch(e){return!1}}Object.defineProperty(t,"__esModule",{value:!0}),t.cleanValue=t.emptyString=t.noop=void 0;var v="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};t.classNames=a,t.handleInputChange=r,t.isDocumentElement=l,t.normalizedHeight=i,t.getScrollTop=s,t.scrollTo=c,t.getScrollParent=u,t.animatedScrollTo=m,t.scrollIntoView=g,t.getBoundingClientObj=d,t.toKey=f,t.isTouchCapable=b,t.isMobileDevice=h;var w=n(216),y=function(e){return e&&e.__esModule?e:{default:e}}(w);n(11);var _=t.noop=function(){};t.emptyString=function(){return""},t.cleanValue=function(e){return Array.isArray(e)?e.filter(Boolean):"object"===("undefined"===typeof e?"undefined":v(e))&&null!==e?[e]:[]}},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function r(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var l=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),i=n(11),s=n(43),c=function(e){function t(){return o(this,t),a(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return r(t,e),l(t,[{key:"componentDidMount",value:function(){this.props.innerRef((0,s.findDOMNode)(this))}},{key:"componentWillUnmount",value:function(){this.props.innerRef(null)}},{key:"render",value:function(){return this.props.children}}]),t}(i.Component);t.default=c},function(e,t,n){"use strict";function o(e,t){var n={};for(var o in e)t.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}Object.defineProperty(t,"__esModule",{value:!0}),t.LoadingIndicator=t.loadingIndicatorCSS=t.IndicatorSeparator=t.indicatorSeparatorCSS=t.ClearIndicator=t.clearIndicatorCSS=t.DropdownIndicator=t.dropdownIndicatorCSS=t.DownChevron=t.CrossIcon=void 0;var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r=function(e,t){return Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}(["@keyframes "," {\n 0%, 80%, 100% { opacity: 0; }\n 40% { opacity: 1; }\n };"],["@keyframes "," {\n 0%, 80%, 100% { opacity: 0; }\n 40% { opacity: 1; }\n };"]),l=n(11),i=function(e){return e&&e.__esModule?e:{default:e}}(l);n(103);var s=function(e){var t=e.size,n=e.emotion,r=o(e,["size","emotion"]);return i.default.createElement("svg",a({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",className:n.css({display:"inline-block",fill:"currentColor",lineHeight:1,stroke:"currentColor",strokeWidth:0})},r))},c=t.CrossIcon=function(e){return i.default.createElement(s,a({size:20},e),i.default.createElement("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},u=t.DownChevron=function(e){return i.default.createElement(s,a({size:20},e),i.default.createElement("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},p=function(e){var t=e.isFocused,n=e.theme,o=n.spacing.baseUnit,a=n.colors;return{color:t?a.neutral60:a.neutral20,display:"flex",padding:2*o,transition:"color 150ms",":hover":{color:t?a.neutral80:a.neutral40}}},m=(t.dropdownIndicatorCSS=p,t.DropdownIndicator=function(e){var t=e.children,n=e.className,o=e.cx,r=e.getStyles,l=e.innerProps,s=e.emotion;return i.default.createElement("div",a({},l,{className:o(s.css(r("dropdownIndicator",e)),{indicator:!0,"dropdown-indicator":!0},n)}),t||i.default.createElement(u,{emotion:s}))},t.clearIndicatorCSS=p,t.ClearIndicator=function(e){var t=e.children,n=e.className,o=e.cx,r=e.getStyles,l=e.innerProps,s=e.emotion;return i.default.createElement("div",a({},l,{className:o(s.css(r("clearIndicator",e)),{indicator:!0,"clear-indicator":!0},n)}),t||i.default.createElement(c,{emotion:s}))},t.indicatorSeparatorCSS=function(e){var t=e.isDisabled,n=e.theme,o=n.spacing.baseUnit,a=n.colors;return{alignSelf:"stretch",backgroundColor:t?a.neutral10:a.neutral20,marginBottom:2*o,marginTop:2*o,width:1}},t.IndicatorSeparator=function(e){var t=e.className,n=e.cx,o=e.getStyles,r=e.innerProps,l=e.emotion;return i.default.createElement("span",a({},r,{className:n(l.css(o("indicatorSeparator",e)),{"indicator-separator":!0},t)}))},!1),g=(t.loadingIndicatorCSS=function(e){var t=e.isFocused,n=e.size,o=e.theme,a=o.colors,r=o.spacing.baseUnit;return{color:t?a.neutral60:a.neutral20,display:"flex",padding:2*r,transition:"color 150ms",alignSelf:"center",fontSize:n,lineHeight:1,marginRight:n,textAlign:"center",verticalAlign:"middle"}},function(e){var t=e.color,n=e.delay,o=e.offset,a=e.emotion;return i.default.createElement("span",{className:a.css({animationDuration:"1s",animationDelay:n+"ms",animationIterationCount:"infinite",animationName:"react-select-loading-indicator",animationTimingFunction:"ease-in-out",backgroundColor:t,borderRadius:"1em",display:"inline-block",marginLeft:o?"1em":null,height:"1em",verticalAlign:"top",width:"1em"})})});(t.LoadingIndicator=function(e){var t=e.className,n=e.cx,o=e.getStyles,l=e.innerProps,s=e.isFocused,c=e.isRtl,u=e.emotion,p=e.theme.colors,d=s?p.neutral80:p.neutral20;return m||(u.injectGlobal(r,"react-select-loading-indicator"),m=!0),i.default.createElement("div",a({},l,{className:n(u.css(o("loadingIndicator",e)),{indicator:!0,"loading-indicator":!0},t)}),i.default.createElement(g,{emotion:u,color:d,delay:0,offset:c}),i.default.createElement(g,{emotion:u,color:d,delay:160,offset:!0}),i.default.createElement(g,{emotion:u,color:d,delay:320,offset:!c}))}).defaultProps={size:4}},function(e,t,n){"use strict";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 a(e,t,n){var a=n.setAttributes,l=function(n,r){var l=Object.assign({},t);l[r]=n,a(o({},e,l))},s=t.size,c=t.pos,u=t.repeat,p=t.attachment,m=wp.element.createElement("div",{className:"gutentor-bg-img-props-wrap"},wp.element.createElement(i,{label:__("Background Size:","gutentor"),value:s||"default",onChange:function(e){return l(e,"size")},options:r.g}),wp.element.createElement(i,{label:__("Background Position:","gutentor"),value:c||"default",onChange:function(e){return l(e,"pos")},options:r.e}),wp.element.createElement(i,{label:__("Background Repeat:"),value:u||"default",onChange:function(e){return l(e,"repeat")},options:r.f}),wp.element.createElement(i,{label:__("Background Attachment:","gutentor"),value:p||"default",onChange:function(e){return l(e,"attachment")},options:r.d}));return wp.element.createElement("div",{className:"gutentor-bg-main-wrap"},m)}n.d(t,"a",function(){return a});var r=(n(1),n(9)),l=wp.components,i=(l.BaseControl,l.TextControl,l.PanelBody,l.PanelRow,l.ToggleControl,l.SelectControl),__=(wp.element.Fragment,wp.blockEditor.URLInput,wp.i18n.__)},function(e,t,n){"use strict";n.d(t,"a",function(){return w});var o=n(19),a=n(20),r=n(21),l=n(23),i=n(24),s=n(25),c=n(41),u=n(22),p=n(35),m=n(28),g=n(31),d=n(30),f=n(29),b=n(17),h=n(116),v={blockID:{type:"string"},timestamp:{type:"number",default:0},gutentorBlockName:{type:"string"},blockIconBoxTemplate:{type:"string",default:"icon-template1",gCopy:!0},blockSortableItems:{type:"array",default:[]},blockIconBoxIconSize:{type:"number",default:30,gCopy:!0},blockIconBoxIconColor:{type:"object",default:{enable:!0,normal:{hex:"#275cf6",rgb:{r:"39",g:"92",b:"246",a:"1"}},hover:""},gCopy:!0}},w=Object.assign({},v,o.a,a.a,r.a,i.a,l.a,s.a,c.a,u.a,p.a,m.a,g.a,d.a,f.a,b.a,h.a)},function(e,t,n){"use strict";n.d(t,"a",function(){return o});var o={blockIconBoxEnableIconBoxStyle:{type:"boolean",default:!1,gCopy:!0},blockIconBoxIconStyle:{type:"string",gCopy:!0},blockIconBoxIconBoxSize:{type:"number",default:60,gCopy:!0},blockEnableIconBoxWidth:{type:"boolean",default:!0,gCopy:!0},blockIconBoxWidth:{type:"object",default:{type:"px",desktop:"",tablet:"",mobile:"80"},gCopy:!0},blockEnableIconBoxHeight:{type:"boolean",default:!0,gCopy:!0},blockIconBoxHeight:{type:"object",default:{type:"px",desktop:"",tablet:"",mobile:"80"},gCopy:!0},blockIconBoxPadding:{type:"object",default:{type:"px",desktopTop:"",desktopRight:"",desktopBottom:"",desktopLeft:"",tabletTop:"",tabletRight:"",tabletBottom:"",tabletLeft:"",mobileTop:"",mobileRight:"",mobileBottom:"",mobileLeft:""},gCopy:!0},blockIconBoxMargin:{type:"object",default:{type:"px",desktopTop:"",desktopRight:"",desktopBottom:"",desktopLeft:"",tabletTop:"",tabletRight:"",tabletBottom:"",tabletLeft:"",mobileTop:"",mobileRight:"",mobileBottom:"",mobileLeft:""},gCopy:!0},blockIconBoxIconBGColor:{type:"object",default:{normal:"",hover:""},gCopy:!0},blockIconBoxIconBorderRadius:{type:"object",default:{type:"px",top:"",right:"",bottom:"",left:""},gCopy:!0},blockIconBoxIconBorderColor:{type:"object",default:{normal:"",hover:""},gCopy:!0},blockIconBoxIconBorderWidth:{type:"number",default:2,gCopy:!0}}},function(e,t,n){"use strict";function o(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}var a=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,l=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach(function(e){o[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},o)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,i,s=o(e),c=1;c<arguments.length;c++){n=Object(arguments[c]);for(var u in n)r.call(n,u)&&(s[u]=n[u]);if(a){i=a(n);for(var p=0;p<i.length;p++)l.call(n,i[p])&&(s[i[p]]=n[i[p]])}}return s}},function(e,t,n){"use strict";function o(e,t,n){var o,a=0,r=0,s=!1,c=[],u=e[t];return Object(l.a)(u,function(e){Object(i.b)(e)&&(e.props&&e.props.children&&"object"===typeof e.props.children&&Object(l.a)(e.props.children,function(e){return c.push(e)}),s&&(o=new Error("Found multiple 'TabList' components inside 'Tabs'. Only one is allowed.")),s=!0),Object(i.a)(e)?(s&&-1!==c.indexOf(e)||(o=new Error("Found a 'Tab' component outside of the 'TabList' component. 'Tab' components have to be inside the 'TabList' component.")),a++):Object(i.c)(e)&&r++}),o||a===r||(o=new Error("There should be an equal number of 'Tab' and 'TabPanel' in `"+n+"`. Received "+a+" 'Tab' and "+r+" 'TabPanel'.")),o}function a(e,t,n,o,a){var r=e[t],l=a||t,i=null;return r&&"function"!==typeof r?i=new Error("Invalid "+o+" `"+l+"` of type `"+typeof r+"` supplied to `"+n+"`, expected `function`."):null!=e.selectedIndex&&null==r&&(i=new Error("The "+o+" `"+l+"` is marked as required in `"+n+"`, but its value is `undefined` or `null`.\n`onSelect` is required when `selectedIndex` is also set. Not doing so will make the tabs not do anything, as `selectedIndex` indicates that you want to handle the selected tab yourself.\nIf you only want to set the inital tab replace `selectedIndex` with `defaultIndex`.")),i}function r(e,t,n,o,a){var r=e[t],l=a||t,i=null;if(null!=r&&"number"!==typeof r)i=new Error("Invalid "+o+" `"+l+"` of type `"+typeof r+"` supplied to `"+n+"`, expected `number`.");else if(null!=e.defaultIndex&&null!=r)return new Error("The "+o+" `"+l+"` cannot be used together with `defaultIndex` in `"+n+"`.\nEither remove `"+l+"` to let `"+n+"` handle the selected tab internally or remove `defaultIndex` to handle it yourself.");return i}t.a=o,t.b=a,t.c=r;var l=n(76),i=n(65)},function(e,t,n){"use strict";function o(){return"react-tabs-"+a++}t.a=o;var a=0},function(e,t,n){"use strict";function o(e){var t=0;return Object(r.a)(e,function(e){Object(l.a)(e)&&t++}),t}function a(e){var t=0;return Object(r.a)(e,function(e){Object(l.c)(e)&&t++}),t}t.b=o,t.a=a;var r=n(76),l=n(65)},function(e,t,n){"use strict";n.d(t,"a",function(){return y});var o=n(19),a=n(20),r=n(21),l=n(23),i=n(24),s=n(25),c=n(41),u=n(22),p=n(35),m=n(28),g=n(31),d=n(30),f=n(29),b=n(17),h=n(53),v=n(38),w={blockID:{type:"string"},timestamp:{type:"number",default:0},gutentorBlockName:{type:"string"},blockImageBoxTemplate:{type:"string",default:"imagebox-template1",gCopy:!0},blockSortableItems:{type:"array",default:[]}},y=Object.assign({},w,o.a,a.a,r.a,i.a,l.a,s.a,c.a,u.a,p.a,m.a,g.a,d.a,f.a,b.a,h.a,v.a)},function(e,t,n){"use strict";n.d(t,"a",function(){return v});var o=n(19),a=n(20),r=n(21),l=n(23),i=n(24),s=n(25),c=n(41),u=n(22),p=n(35),m=n(28),g=n(31),d=n(30),f=n(29),b=n(17),h={blockID:{type:"string"},timestamp:{type:"number",default:0},gutentorBlockName:{type:"string"},blockContentBoxTemplate:{type:"string",default:"content-template1",gCopy:!0},blockSortableItems:{type:"array",default:[]}},v=Object.assign({},h,o.a,a.a,r.a,i.a,l.a,s.a,c.a,u.a,p.a,m.a,g.a,d.a,f.a,b.a)},function(e,t,n){"use strict";n.d(t,"a",function(){return _});var o=n(19),a=n(20),r=n(21),l=n(23),i=n(24),s=n(25),c=n(41),u=n(22),p=n(35),m=n(28),g=n(31),d=n(30),f=n(29),b=n(17),h=n(66),v=n(124),w=n(38),y={blockID:{type:"string"},timestamp:{type:"number",default:0},gutentorBlockName:{type:"string"},blockTeamTemplate:{type:"string",default:"team-template1",gCopy:!0},blockSortableItems:{type:"array",default:[]}},_=Object.assign({},y,o.a,a.a,r.a,i.a,l.a,s.a,c.a,u.a,p.a,m.a,g.a,d.a,f.a,b.a,h.a,w.a,v.a)},function(e,t,n){"use strict";n.d(t,"a",function(){return o});var o={blockTeamDesignationEnable:{type:"boolean",default:!0,gCopy:!0},blockTeamDesignationTag:{type:"string",default:"p",gCopy:!0},blockTeamDesignationColor:{type:"object",default:{enable:!1,normal:"",hover:""},gCopy:!0},blockTeamDesignationTypography:{type:"object",default:{fontType:"default",systemFont:"",googleFont:"",customFont:"",desktopFontSize:"",tabletFontSize:"",mobileFontSize:"",fontWeight:"",textTransform:"",fontStyle:"",textDecoration:"",desktopLineHeight:"",tabletLineHeight:"",mobileLineHeight:"",desktopLetterSpacing:"",tabletLetterSpacing:"",mobileLetterSpacing:""},gCopy:!0},blockTeamDesignationMargin:{type:"object",default:{type:"px",desktopTop:"",desktopRight:"",desktopBottom:"",desktopLeft:"",tabletTop:"",tabletRight:"",tabletBottom:"",tabletLeft:"",mobileTop:"",mobileRight:"",mobileBottom:"",mobileLeft:""},gCopy:!0},blockTeamDesignationPadding:{type:"object",default:{type:"px",desktopTop:"",desktopRight:"",desktopBottom:"",desktopLeft:"",tabletTop:"",tabletRight:"",tabletBottom:"",tabletLeft:"",mobileTop:"",mobileRight:"",mobileBottom:"",mobileLeft:""},gCopy:!0},blockTeamDesignTemplate:{type:"string",default:"default",gCopy:!0}}},function(e,t,n){"use strict";n.d(t,"a",function(){return h});var o=n(19),a=n(20),r=n(21),l=n(23),i=n(24),s=n(25),c=n(22),u=n(28),p=n(31),m=n(30),g=n(29),d=n(17),f=n(38),b={blockID:{type:"string"},timestamp:{type:"number",default:0},gutentorBlockName:{type:"string"},blockAccordionTemplate:{type:"string",default:"accordion-template1",gCopy:!0},openIcon:{type:"object",default:{label:"fa-plus",value:4===gutentor.fontAwesomeVersion?"fa fa-plus":"fas fa-plus",code:"f067"}},closeIcon:{type:"object",default:{label:"fa-minus",value:4===gutentor.fontAwesomeVersion?"fa fa-minus":"fas fa-minus",code:"f068"}},blockSortableItems:{type:"array",default:[]},iconSize:{type:"number",default:16,gCopy:!0},iconColor:{type:"object",default:{enable:!0,normal:{hex:"#cfcfcf"},hover:{hex:"#275cf6"}},gCopy:!0},blockAccordionBodyBorderOptions:{type:"object",default:{borderStyle:"none",borderTop:"",borderRight:"",borderBottom:"",borderLeft:"",borderColorNormal:"",borderColorHover:"",borderRadiusType:"px",borderRadiusTop:"",borderRadiusRight:"",borderRadiusBottom:""},gCopy:!0},blockAccordionHeadingBorderOptions:{type:"object",default:{borderStyle:"none",borderTop:"",borderRight:"",borderBottom:"",borderLeft:"",borderColorNormal:"",borderColorHover:"",borderRadiusType:"px",borderRadiusTop:"",borderRadiusRight:"",borderRadiusBottom:""},gCopy:!0},blockAccordionImageDisplayOptions:{type:"string",default:"normal-image",gCopy:!0},blockAccordionImageBackgroundImageOptions:{type:"object",default:{backgroundImage:"",desktopHeight:"350",tabletHeight:"250",mobileHeight:"200",backgroundSize:"cover",backgroundPosition:"center",backgroundRepeat:"no-repeat",backgroundAttachment:"scroll"},gCopy:!0},blockAccordionImageOverlayColor:{type:"object",default:{enable:!1,normal:"",hover:""},gCopy:!0},blockAccordionEnableImageOptions:{type:"boolean",default:!1,gCopy:!0},blockAccordionImage:{type:"object"},blockAccordionHeadingBgColor:{type:"object",default:{enable:!1,normal:"",hover:""},gCopy:!0},blockAccordionBodyBgColor:{type:"object",default:{enable:!1,normal:"",hover:""},gCopy:!0}},h=Object.assign({},b,o.a,a.a,r.a,i.a,l.a,s.a,c.a,u.a,p.a,m.a,g.a,d.a,f.a)},function(e,t,n){"use strict";n.d(t,"a",function(){return f});var o=n(19),a=n(20),r=n(21),l=n(23),i=n(24),s=n(25),c=n(22),u=n(28),p=n(29),m=n(17),g=n(127),d={blockID:{type:"string"},timestamp:{type:"number",default:0},gutentorBlockName:{type:"string"},blockOpeningHoursTemplate:{type:"string",default:"opening-hours-template1",gCopy:!0},blockSortableItems:{type:"array",default:[]},openingHourDesign:{type:"string",default:"default",gCopy:!0},blockOpeningHoursBoxWidth:{type:"object",default:{type:"px",desktop:"",tablet:"",mobile:""},gCopy:!0},blockOpeningHoursBoxBgColor:{type:"object",default:{enable:!1,normal:"",hover:""},gCopy:!0},blockOpeningHoursBoxMargin:{type:"object",default:{type:"px",desktopTop:"",desktopRight:"",desktopBottom:"",desktopLeft:"",tabletTop:"",tabletRight:"",tabletBottom:"",tabletLeft:"",mobileTop:"",mobileRight:"",mobileBottom:"",mobileLeft:""},gCopy:!0},blockOpeningHoursBoxPadding:{type:"object",default:{type:"px",desktopTop:"",desktopRight:"",desktopBottom:"",desktopLeft:"",tabletTop:"",tabletRight:"",tabletBottom:"",tabletLeft:"",mobileTop:"",mobileRight:"",mobileBottom:"",mobileLeft:""},gCopy:!0},blockOpeningHoursDateTimeColor:{type:"object",default:{enable:!1,normal:"",hover:""},gCopy:!0},openingTypography:{type:"object",default:{fontType:"",systemFont:"",googleFont:"",customFont:"",fontSize:{desktop:"",tablet:"",mobile:""},fontWeight:"",textTransform:"",fontStyle:"",textDecoration:"",lineHeight:{desktop:"",tablet:"",mobile:""},letterSpacing:{desktop:"",tablet:"",mobile:""}},gCopy:!0}},f=Object.assign({},d,o.a,a.a,r.a,i.a,l.a,s.a,c.a,u.a,p.a,m.a,g.a)},function(e,t,n){"use strict";n.d(t,"a",function(){return o});var o={blockOpeningHoursContentEnable:{type:"boolean",default:!0,gCopy:!0},blockOpeningHoursContentTag:{type:"string",default:"p",gCopy:!0},blockOpeningHoursMargin:{type:"object",default:{type:"px",desktopTop:"",desktopRight:"",desktopBottom:"",desktopLeft:"",tabletTop:"",tabletRight:"",tabletBottom:"",tabletLeft:"",mobileTop:"",mobileRight:"",mobileBottom:"",mobileLeft:""},gCopy:!0},blockOpeningHoursPadding:{type:"object",default:{type:"px",desktopTop:"",desktopRight:"",desktopBottom:"",desktopLeft:"",tabletTop:"",tabletRight:"",tabletBottom:"",tabletLeft:"",mobileTop:"",mobileRight:"",mobileBottom:"",mobileLeft:""},gCopy:!0}}},function(e,t,n){"use strict";n.d(t,"a",function(){return v});var o=n(19),a=n(20),r=n(21),l=n(23),i=n(24),s=n(25),c=n(41),u=n(22),p=n(35),m=n(28),g=n(30),d=n(29),f=n(17),b=n(129),h={blockID:{type:"string"},timestamp:{type:"number",default:0},gutentorBlockName:{type:"string"},blockTimelineTemplate:{type:"string",default:"timeline-template1",gCopy:!0},blockSortableItems:{type:"array",default:[]}},v=Object.assign({},h,o.a,a.a,r.a,i.a,l.a,s.a,c.a,u.a,p.a,m.a,g.a,d.a,f.a,b.a)},function(e,t,n){"use strict";n.d(t,"a",function(){return o});var o={blockHeadingEnable:{type:"boolean",default:!0,gCopy:!0},blockTimelineCurrentHeadingOptions:{type:"string",default:"disable",gCopy:!0},blockTimelineOrgNameTag:{type:"string",default:"h5",gCopy:!0},blockTimelineOrgNameColor:{type:"object",default:{enable:!1,normal:"",hover:""},gCopy:!0},blockTimelineOrgNameTypography:{type:"object",default:{fontType:"default",systemFont:"",googleFont:"",customFont:"",desktopFontSize:"",tabletFontSize:"",mobileFontSize:"",fontWeight:"",textTransform:"",fontStyle:"",textDecoration:"",desktopLineHeight:"",tabletLineHeight:"",mobileLineHeight:"",desktopLetterSpacing:"",tabletLetterSpacing:"",mobileLetterSpacing:""},gCopy:!0},blockTimelineHeadingMargin:{type:"object",default:{type:"px",desktopTop:"",desktopRight:"",desktopBottom:"",desktopLeft:"",tabletTop:"",tabletRight:"",tabletBottom:"",tabletLeft:"",mobileTop:"",mobileRight:"",mobileBottom:"",mobileLeft:""},gCopy:!0},blockTimelineHeadingPadding:{type:"object",default:{type:"px",desktopTop:"",desktopRight:"",desktopBottom:"",desktopLeft:"",tabletTop:"",tabletRight:"",tabletBottom:"",tabletLeft:"",mobileTop:"",mobileRight:"",mobileBottom:"",mobileLeft:""},gCopy:!0},blockTimelineDurationEnable:{type:"boolean",default:!0},blockTimelineDurationTag:{type:"string",default:"h5"},blockTimelineDurationColor:{type:"object",default:{enable:!1,normal:"",hover:""},gCopy:!0},blockTimelineDurationTypography:{type:"object",default:{fontType:"default",systemFont:"",googleFont:"",customFont:"",desktopFontSize:"",tabletFontSize:"",mobileFontSize:"",fontWeight:"",textTransform:"",fontStyle:"",textDecoration:"",desktopLineHeight:"",tabletLineHeight:"",mobileLineHeight:"",desktopLetterSpacing:"",tabletLetterSpacing:"",mobileLetterSpacing:""},gCopy:!0},blockTimelineDurationMargin:{type:"object",default:{type:"px",desktopTop:"",desktopRight:"",desktopBottom:"",desktopLeft:"",tabletTop:"",tabletRight:"",tabletBottom:"",tabletLeft:"",mobileTop:"",mobileRight:"",mobileBottom:"",mobileLeft:""},gCopy:!0},blockTimelineDurationPadding:{type:"object",default:{type:"px",desktopTop:"",desktopRight:"",desktopBottom:"",desktopLeft:"",tabletTop:"",tabletRight:"",tabletBottom:"",tabletLeft:"",mobileTop:"",mobileRight:"",mobileBottom:"",mobileLeft:""},gCopy:!0},blockTimelineContentBgColor:{type:"object",default:{enable:!0,normal:{hex:"#ededed",rgb:{r:"237",g:"237",b:"237",a:"1"}},hover:""},gCopy:!0},blockTimelineLineColor:{type:"object",default:{enable:!1,normal:""},gCopy:!0},blockTimelineCircleColor:{type:"object",default:{enable:!1,normal:""},gCopy:!0}}},function(e,t,n){"use strict";n.d(t,"a",function(){return w});var o=n(19),a=n(20),r=n(21),l=n(23),i=n(24),s=n(25),c=n(41),u=n(22),p=n(35),m=n(28),g=n(31),d=n(30),f=n(29),b=n(17),h=n(131),v={blockID:{type:"string"},timestamp:{type:"number",default:0},gutentorBlockName:{type:"string"},blockCounterBoxTemplate:{type:"string",default:"counter-template1",gCopy:!0},blockSortableItems:{type:"array",default:[]},blockCounterBoxIconEnable:{type:"boolean",default:!0,gCopy:!0},blockCounterBoxIconSize:{type:"number",default:30,gCopy:!0},blockCounterBoxIconColor:{type:"object",default:{enable:!0,normal:{hex:"#275cf6",rgb:{r:"39",g:"92",b:"246",a:"1"}},hover:""},gCopy:!0}},w=Object.assign({},v,o.a,a.a,r.a,i.a,l.a,s.a,c.a,u.a,p.a,m.a,g.a,d.a,f.a,b.a,h.a)},function(e,t,n){"use strict";n.d(t,"a",function(){return o});var o={blockCounterNumberEnable:{type:"boolean",default:!0,gCopy:!0},blockCounterNumberTag:{type:"string",default:"p",gCopy:!0},blockCounterNumberColor:{type:"object",default:{enable:!1,normal:"",hover:""},gCopy:!0},blockCounterNumberTypography:{type:"object",default:{fontType:"default",systemFont:"",googleFont:"",customFont:"",desktopFontSize:"",tabletFontSize:"",mobileFontSize:"",fontWeight:"",textTransform:"",fontStyle:"",textDecoration:"",desktopLineHeight:"",tabletLineHeight:"",mobileLineHeight:"",desktopLetterSpacing:"",tabletLetterSpacing:"",mobileLetterSpacing:""},gCopy:!0},blockCounterNumberMargin:{type:"object",default:{type:"px",desktopTop:"",desktopRight:"",desktopBottom:"",desktopLeft:"",tabletTop:"",tabletRight:"",tabletBottom:"",tabletLeft:"",mobileTop:"",mobileRight:"",mobileBottom:"",mobileLeft:""},gCopy:!0},blockCounterNumberPadding:{type:"object",default:{type:"px",desktopTop:"",desktopRight:"",desktopBottom:"",desktopLeft:"",tabletTop:"",tabletRight:"",tabletBottom:"",tabletLeft:"",mobileTop:"",mobileRight:"",mobileBottom:"",mobileLeft:""},gCopy:!0},blockCounterBoxEnableIconBoxStyle:{type:"boolean",default:!1,gCopy:!0},blockCounterBoxIconStyle:{type:"string",gCopy:!0},blockCounterBoxIconBoxSize:{type:"number",default:60,gCopy:!0},blockCounterBoxIconBGColor:{type:"object",default:{normal:"",hover:""},gCopy:!0},blockCounterBoxIconBorderRadius:{type:"object",default:{type:"px",top:"",right:"",bottom:"",left:""},gCopy:!0},blockCounterBoxIconBorderColor:{type:"object",default:{normal:"",hover:""},gCopy:!0},blockCounterBoxIconBorderWidth:{type:"number",default:2,gCopy:!0},blockCounterEnableIconBoxWidth:{type:"boolean",default:!0,gCopy:!0},blockCounterIconBoxWidth:{type:"object",default:{type:"px",desktop:"",tablet:"",mobile:"80"},gCopy:!0},blockCounterEnableIconBoxHeight:{type:"boolean",default:!0,gCopy:!0},blockCounterIconBoxHeight:{type:"object",default:{type:"px",desktop:"",tablet:"",mobile:"80"},gCopy:!0},blockCounterIconBoxPadding:{type:"object",default:{type:"px",desktopTop:"",desktopRight:"",desktopBottom:"",desktopLeft:"",tabletTop:"",tabletRight:"",tabletBottom:"",tabletLeft:"",mobileTop:"",mobileRight:"",mobileBottom:"",mobileLeft:""},gCopy:!0},blockCounterIconBoxMargin:{type:"object",default:{type:"px",desktopTop:"",desktopRight:"",desktopBottom:"",desktopLeft:"",tabletTop:"",tabletRight:"",tabletBottom:"",tabletLeft:"",mobileTop:"",mobileRight:"",mobileBottom:"",mobileLeft:""},gCopy:!0}}},function(e,t,n){"use strict";n.d(t,"a",function(){return b});var o=n(19),a=n(20),r=n(21),l=n(23),i=n(24),s=n(25),c=n(22),u=n(28),p=n(31),m=n(30),g=n(29),d=n(17),f={blockID:{type:"string"},timestamp:{type:"number",default:0},gutentorBlockName:{type:"string"},blockSortableItems:{type:"array",default:[]},blockTabListHorizontalAlignment:{type:"string",default:"tablist-left",gCopy:!0},blockTabListMargin:{type:"object",default:{type:"px",desktopTop:"",desktopRight:"",desktopBottom:"",desktopLeft:"",tabletTop:"",tabletRight:"",tabletBottom:"",tabletLeft:"",mobileTop:"",mobileRight:"",mobileBottom:"",mobileLeft:""},gCopy:!0},blockTabListPadding:{type:"object",default:{type:"px",desktopTop:"",desktopRight:"",desktopBottom:"",desktopLeft:"",tabletTop:"",tabletRight:"",tabletBottom:"",tabletLeft:"",mobileTop:"",mobileRight:"",mobileBottom:"",mobileLeft:""},gCopy:!0},blockTabListBgColor:{type:"object",default:{enable:!1,normal:"",hover:""},gCopy:!0},blockTabListTextColor:{type:"object",default:{enable:!1,normal:"",hover:""},gCopy:!0},blockTabListBorder:{type:"object",default:{borderStyle:"none",borderTop:"",borderRight:"",borderBottom:"",borderLeft:"",borderColorNormal:"",borderColorHover:"",borderRadiusType:"px",borderRadiusTop:"",borderRadiusRight:"",borderRadiusBottom:"",borderRadiusLeft:""},gCopy:!0},blockTabListTypography:{type:"object",default:{fontType:"default",systemFont:"",googleFont:"",customFont:"",desktopFontSize:"",tabletFontSize:"",mobileFontSize:"",fontWeight:"",textTransform:"",fontStyle:"",textDecoration:"",desktopLineHeight:"",tabletLineHeight:"",mobileLineHeight:"",desktopLetterSpacing:"",tabletLetterSpacing:"",mobileLetterSpacing:""},gCopy:!0},blockTabBodyMargin:{type:"object",default:{type:"px",desktopTop:"",desktopRight:"",desktopBottom:"",desktopLeft:"",tabletTop:"",tabletRight:"",tabletBottom:"",tabletLeft:"",mobileTop:"",mobileRight:"",mobileBottom:"",mobileLeft:""},gCopy:!0},blockTabBodyPadding:{type:"object",default:{type:"px",desktopTop:"",desktopRight:"",desktopBottom:"",desktopLeft:"",tabletTop:"",tabletRight:"",tabletBottom:"",tabletLeft:"",mobileTop:"",mobileRight:"",mobileBottom:"",mobileLeft:""},gCopy:!0},blockTabBodyBgColor:{type:"object",default:{enable:!1,normal:"",hover:""},gCopy:!0},blockTabBodyTextColor:{type:"object",default:{enable:!1,normal:"",hover:""},gCopy:!0},blockTabBodyBorder:{type:"object",default:{borderStyle:"none",borderTop:"",borderRight:"",borderBottom:"",borderLeft:"",borderColorNormal:"",borderColorHover:"",borderRadiusType:"px",borderRadiusTop:"",borderRadiusRight:"",borderRadiusBottom:"",borderRadiusLeft:""},gCopy:!0},blockTabBodyTypography:{type:"object",default:{fontType:"default",systemFont:"",googleFont:"",customFont:"",desktopFontSize:"",tabletFontSize:"",mobileFontSize:"",fontWeight:"",textTransform:"",fontStyle:"",textDecoration:"",desktopLineHeight:"",tabletLineHeight:"",mobileLineHeight:"",desktopLetterSpacing:"",tabletLetterSpacing:"",mobileLetterSpacing:""},gCopy:!0},blockTabsEnableIcon:{type:"boolean",default:!1},blockTabsIconSize:{type:"number",default:16,gCopy:!0},blockTabsIconColor:{type:"object",default:{enable:!1,normal:{hex:"#275cf6",rgb:{r:"39",g:"92",b:"246",a:"1"}},hover:""},gCopy:!0},blockTabsListIconPosition:{type:"string",default:"icon-left",gCopy:!0},blockTabsIconMargin:{type:"object",default:{type:"px",desktopTop:"",desktopRight:"",desktopBottom:"",desktopLeft:"",tabletTop:"",tabletRight:"",tabletBottom:"",tabletLeft:"",mobileTop:"",mobileRight:"",mobileBottom:"",mobileLeft:""},gCopy:!0},blockTabsIconPadding:{type:"object",default:{type:"px",desktopTop:"",desktopRight:"",desktopBottom:"",desktopLeft:"",tabletTop:"",tabletRight:"",tabletBottom:"",tabletLeft:"",mobileTop:"",mobileRight:"",mobileBottom:"",mobileLeft:""},gCopy:!0},blockTabsLayout:{type:"string",default:"tab-horizontal",gCopy:!0},blockTabsVerticalPosition:{type:"string",default:"vertical-tablist-left",gCopy:!0},blockTabsHorizontalPosition:{type:"string",default:"horizontal-tablist-top",gCopy:!0},blockTabsContentAlign:{type:"string",default:"text-left",gCopy:!0},blockTabsTemplate:{type:"string",default:"tabs-template1",gCopy:!0}},b=Object.assign({},f,o.a,a.a,r.a,i.a,l.a,s.a,c.a,u.a,p.a,m.a,g.a,d.a)},function(e,t,n){"use strict";n.d(t,"a",function(){return w});var o=n(19),a=n(20),r=n(21),l=n(23),i=n(24),s=n(25),c=n(22),u=n(35),p=n(28),m=n(31),g=n(30),d=n(29),f=n(17),b=n(53),h=n(38),v={blockID:{type:"string"},timestamp:{type:"number",default:0},gutentorBlockName:{type:"string"},blockAboutTemplate:{type:"string",default:"about-template1",gCopy:!0},blockAboutEnableContentPosition:{type:"boolean",default:!1,gCopy:!0},blockAboutContentPosition:{type:"string",default:"content-top",gCopy:!0},blockAboutContentMargin:{type:"object",default:{type:"px",desktopTop:"",desktopRight:"",desktopBottom:"",desktopLeft:"",tabletTop:"",tabletRight:"",tabletBottom:"",tabletLeft:"",mobileTop:"",mobileRight:"",mobileBottom:"",mobileLeft:""},gCopy:!0},blockAboutContentPadding:{type:"object",default:{type:"px",desktopTop:"",desktopRight:"",desktopBottom:"",desktopLeft:"",tabletTop:"",tabletRight:"",tabletBottom:"",tabletLeft:"",mobileTop:"",mobileRight:"",mobileBottom:"",mobileLeft:""},gCopy:!0}},w=Object.assign({},v,o.a,a.a,r.a,i.a,l.a,s.a,c.a,u.a,p.a,m.a,g.a,d.a,f.a,b.a,h.a)},function(e,t,n){"use strict";n.d(t,"a",function(){return h});var o=n(19),a=n(20),r=n(21),l=n(23),i=n(24),s=n(25),c=n(22),u=n(28),p=n(31),m=n(30),g=n(29),d=n(17),f=n(38),b={blockID:{type:"string"},timestamp:{type:"number",default:0},gutentorBlockName:{type:"string"},blockFeaturedBlockTemplate:{type:"string",default:"featured-template1",gCopy:!0},blockFeaturedEnableContentPosition:{type:"boolean",default:!1,gCopy:!0},blockFeaturedContentMargin:{type:"object",default:{type:"px",desktopTop:"",desktopRight:"",desktopBottom:"",desktopLeft:"",tabletTop:"",tabletRight:"",tabletBottom:"",tabletLeft:"",mobileTop:"",mobileRight:"",mobileBottom:"",mobileLeft:""},gCopy:!0},blockFeaturedContentPadding:{type:"object",default:{type:"px",desktopTop:"",desktopRight:"",desktopBottom:"",desktopLeft:"",tabletTop:"",tabletRight:"",tabletBottom:"",tabletLeft:"",mobileTop:"",mobileRight:"",mobileBottom:"",mobileLeft:""},gCopy:!0}},h=Object.assign({},b,o.a,a.a,r.a,i.a,l.a,s.a,c.a,u.a,p.a,m.a,g.a,d.a,f.a)},function(e,t,n){"use strict";n.d(t,"a",function(){return y});var o=n(19),a=n(20),r=n(21),l=n(23),i=n(24),s=n(25),c=n(41),u=n(22),p=n(35),m=n(28),g=n(31),d=n(30),f=n(29),b=n(17),h=n(136),v=n(38),w={blockID:{type:"string"},timestamp:{type:"number",default:0},gutentorBlockName:{type:"string"},blockSortableItems:{type:"array",default:[]},blockTestimonialTemplate:{type:"string",default:"testimonial-template1",gCopy:!0},blockEnableTestimonialTemplateSetting:{type:"boolean",default:!1,gCopy:!0},blockTestimonialContentBgColor:{type:"object",default:{enable:!1,normal:""},gCopy:!0},blockTestimonialContentBorderColor:{type:"object",default:{enable:!1,normal:""},gCopy:!0}},y=Object.assign({},w,o.a,a.a,r.a,i.a,l.a,s.a,c.a,u.a,p.a,m.a,g.a,d.a,f.a,b.a,h.a,v.a)},function(e,t,n){"use strict";n.d(t,"a",function(){return o});var o={blockTestimonialDesignationEnable:{type:"boolean",default:!0,gCopy:!0},blockTestimonialDesignationTag:{type:"string",default:"p",gCopy:!0},blockTestimonialDesignationColor:{type:"object",default:{enable:!1,normal:"",hover:""},gCopy:!0},blockTestimonialDesignationTypography:{type:"object",default:{fontType:"default",systemFont:"",googleFont:"",customFont:"",desktopFontSize:"",tabletFontSize:"",mobileFontSize:"",fontWeight:"",textTransform:"",fontStyle:"",textDecoration:"",desktopLineHeight:"",tabletLineHeight:"",mobileLineHeight:"",desktopLetterSpacing:"",tabletLetterSpacing:"",mobileLetterSpacing:""},gCopy:!0},blockTestimonialDesignationMargin:{type:"object",default:{type:"px",desktopTop:"",desktopRight:"",desktopBottom:"",desktopLeft:"",tabletTop:"",tabletRight:"",tabletBottom:"",tabletLeft:"",mobileTop:"",mobileRight:"",mobileBottom:"",mobileLeft:""},gCopy:!0},blockTestimonialDesignationPadding:{type:"object",default:{type:"px",desktopTop:"",desktopRight:"",desktopBottom:"",desktopLeft:"",tabletTop:"",tabletRight:"",tabletBottom:"",tabletLeft:"",mobileTop:"",mobileRight:"",mobileBottom:"",mobileLeft:""},gCopy:!0}}},function(e,t,n){"use strict";n.d(t,"a",function(){return w});var o=n(19),a=n(20),r=n(21),l=n(23),i=n(24),s=n(25),c=n(41),u=n(22),p=n(35),m=n(28),g=n(31),d=n(30),f=n(29),b=n(17),h=n(38),v={blockID:{type:"string"},timestamp:{type:"number",default:0},gutentorBlockName:{type:"string"},blockSortableItems:{type:"array",default:[]},blockRestaurantTemplate:{type:"string",default:"restaurant-menu-template1",gCopy:!0},blockRestaurantMenuEnablePriceBoxBgColor:{type:"boolean",default:!1,gCopy:!0},blockRestaurantMenuPriceBoxBgColor:{type:"object",default:"",gCopy:!0},blockRestaurantMenuPriceBoxEnableTextColor:{type:"boolean",default:!1,gCopy:!0},blockRestaurantMenuPriceBoxTextColor:{type:"object",default:"",gCopy:!0},blockRestaurantMenuBoxEnableBgColor:{type:"boolean",default:!1,gCopy:!0},blockRestaurantMenuBoxBgColor:{type:"object",default:"",gCopy:!0},blockRestaurantMenuAmountTypography:{type:"object",default:{fontType:"",systemFont:"",googleFont:"",customFont:"",fontSize:{desktop:"",tablet:"",mobile:""},fontWeight:"",textTransform:"",fontStyle:"",textDecoration:"",lineHeight:{desktop:"",tablet:"",mobile:""},letterSpacing:{desktop:"",tablet:"",mobile:""}},gCopy:!0},blockRestaurantMenuPriceBoxPlacement:{type:"string",default:"price-box-left",gCopy:!0},blockRestaurantMenuEnableQty:{type:"boolean",default:!1,gCopy:!0},blockRestaurantMenuCurrencyIcon:{type:"string",default:"$"},blockRestaurantMenuEnablePriceBoxBorder:{type:"boolean",default:!1,gCopy:!0},blockRestaurantMenuPriceBoxBorder:{type:"object",default:{borderStyle:"none",borderTop:"",borderRight:"",borderBottom:"",borderLeft:"",borderColor:"",borderRadiusType:"px",borderRadiusTop:"",borderRadiusRight:"",borderRadiusBottom:"",borderRadiusLeft:""},gCopy:!0},blockImageBoxWidth:{type:"number",default:"",gCopy:!0},blockImageBoxHeight:{type:"number",default:"",gCopy:!0},blockImageBoxBorder:{type:"object",default:{borderStyle:"none",borderTop:"",borderRight:"",borderBottom:"",borderLeft:"",borderColor:"",borderRadiusType:"px",borderRadiusTop:"",borderRadiusRight:"",borderRadiusBottom:"",borderRadiusLeft:""},gCopy:!0},blockImageBoxImageOverlayColor:{type:"object",default:{enable:!1,normal:"",hover:""},gCopy:!0},blockFullImageEnable:{type:"boolean",default:!1},blockImageBoxDisplayOptions:{type:"string",default:"normal-image"},blockImageBoxBackgroundImageOptions:{type:"object",default:{backgroundImage:"",desktopHeight:"",tabletHeight:"",mobileHeight:"",backgroundSize:"cover",backgroundPosition:"center",backgroundRepeat:"no-repeat",backgroundAttachment:"scroll"},gCopy:!0},blockRestaurantMenuPriceBoxEnableWidth:{type:"boolean",default:!0,gCopy:!0},blockRestaurantMenuPriceBoxWidth:{type:"object",default:{type:"px",desktop:"",tablet:"",mobile:"80"},gCopy:!0},blockRestaurantMenuPriceBoxEnableHeight:{type:"boolean",default:!0,gCopy:!0},blockRestaurantMenuPriceBoxHeight:{type:"object",default:{type:"px",desktop:"",tablet:"",mobile:"80"},gCopy:!0}},w=Object.assign({},v,o.a,a.a,r.a,i.a,l.a,s.a,c.a,u.a,p.a,m.a,g.a,d.a,f.a,b.a,h.a)},function(e,t,n){"use strict";n.d(t,"a",function(){return w});var o=n(19),a=n(20),r=n(21),l=n(23),i=n(24),s=n(25),c=n(41),u=n(22),p=n(35),m=n(28),g=n(31),d=n(30),f=n(29),b=n(17),h=n(139),v={blockID:{type:"string"},timestamp:{type:"number",default:0},gutentorBlockName:{type:"string"},blockSortableItems:{type:"array",default:[]}},w=Object.assign({},v,o.a,a.a,r.a,i.a,l.a,s.a,c.a,u.a,p.a,m.a,g.a,d.a,f.a,b.a,h.a)},function(e,t,n){"use strict";n.d(t,"a",function(){return o});var o={blockPricingTemplate:{type:"string",default:"pricing-template1",gCopy:!0},blockPricingSubTitleEnable:{type:"boolean",default:!0,gCopy:!0},blockPricingSubTitleTag:{type:"string",default:"p",gCopy:!0},blockPricingSubTitleColor:{type:"object",default:{enable:!1,normal:"",hover:""},gCopy:!0},blockPricingSubTitleTypography:{type:"object",default:{fontType:"default",systemFont:"",googleFont:"",customFont:"",desktopFontSize:"",tabletFontSize:"",mobileFontSize:"",fontWeight:"",textTransform:"",fontStyle:"",textDecoration:"",desktopLineHeight:"",tabletLineHeight:"",mobileLineHeight:"",desktopLetterSpacing:"",tabletLetterSpacing:"",mobileLetterSpacing:""},gCopy:!0},blockPricingSubTitleMargin:{type:"object",default:{type:"px",desktopTop:"",desktopRight:"",desktopBottom:"",desktopLeft:"",tabletTop:"",tabletRight:"",tabletBottom:"",tabletLeft:"",mobileTop:"",mobileRight:"",mobileBottom:"",mobileLeft:""},gCopy:!0},blockPricingSubTitlePadding:{type:"object",default:{type:"px",desktopTop:"",desktopRight:"",desktopBottom:"",desktopLeft:"",tabletTop:"",tabletRight:"",tabletBottom:"",tabletLeft:"",mobileTop:"",mobileRight:"",mobileBottom:"",mobileLeft:""},gCopy:!0},blockPricingPriceEnable:{type:"boolean",default:!0},blockPricingPriceTag:{type:"string",default:"span"},blockPricingPriceColor:{type:"object",default:{enable:!1,normal:"",hover:""},gCopy:!0},blockPricingPriceTypography:{type:"object",default:{fontType:"default",systemFont:"",googleFont:"",customFont:"",desktopFontSize:"",tabletFontSize:"",mobileFontSize:"",fontWeight:"",textTransform:"",fontStyle:"",textDecoration:"",desktopLineHeight:"",tabletLineHeight:"",mobileLineHeight:"",desktopLetterSpacing:"",tabletLetterSpacing:"",mobileLetterSpacing:""},gCopy:!0},blockPricingPriceMargin:{type:"object",default:{type:"px",desktopTop:"",desktopRight:"",desktopBottom:"",desktopLeft:"",tabletTop:"",tabletRight:"",tabletBottom:"",tabletLeft:"",mobileTop:"",mobileRight:"",mobileBottom:"",mobileLeft:""},gCopy:!0},blockPricingPricePadding:{type:"object",default:{type:"px",desktopTop:"",desktopRight:"",desktopBottom:"",desktopLeft:"",tabletTop:"",tabletRight:"",tabletBottom:"",tabletLeft:"",mobileTop:"",mobileRight:"",mobileBottom:"",mobileLeft:""},gCopy:!0},blockPricingDurationEnable:{type:"boolean",default:!0},blockPricingPriceDuration:{type:"string",default:"/mo"},blockPricingPriceDurationTypography:{type:"object",default:{fontType:"default",systemFont:"",googleFont:"",customFont:"",desktopFontSize:"",tabletFontSize:"",mobileFontSize:"",fontWeight:"",textTransform:"",fontStyle:"",textDecoration:"",desktopLineHeight:"",tabletLineHeight:"",mobileLineHeight:"",desktopLetterSpacing:"",tabletLetterSpacing:"",mobileLetterSpacing:""},gCopy:!0},blockPricingPriceDurationColor:{type:"object",default:{enable:!1,normal:"",hover:""},gCopy:!0},blockPricingCurrencyEnable:{type:"boolean",default:!0},blockPricingCurrencyIcon:{type:"string",default:"$"},blockPricingCurrencyColor:{type:"object",default:{enable:!1,normal:"",hover:""},gCopy:!0},blockPricingCurrencyTypography:{type:"object",default:{fontType:"default",systemFont:"",googleFont:"",customFont:"",desktopFontSize:"",tabletFontSize:"",mobileFontSize:"",fontWeight:"",textTransform:"",fontStyle:"",textDecoration:"",desktopLineHeight:"",tabletLineHeight:"",mobileLineHeight:"",desktopLetterSpacing:"",tabletLetterSpacing:"",mobileLetterSpacing:""},gCopy:!0},blockFullHeaderEnable:{type:"boolean",default:!1},blockPricingHeaderBgColor:{type:"object",default:{enable:!1,normal:"",hover:""},gCopy:!0},blockPricingEnableBoxOptions:{type:"boolean",default:!1},blockPricingCircleBgColor:{type:"object",default:{enable:!1,normal:"",hover:""},gCopy:!0}}},function(e,t,n){"use strict";n.d(t,"a",function(){return w});var o=n(19),a=n(20),r=n(21),l=n(23),i=n(24),s=n(25),c=n(22),u=n(35),p=n(28),m=n(31),g=n(30),d=n(29),f=n(17),b=n(141),h=n(38),v={blockID:{type:"string"},timestamp:{type:"number",default:0},gutentorBlockName:{type:"string"},blockSortableItems:{type:"array",default:[]},blockEnableMasonry:{type:"boolean",default:!0,gCopy:!0}},w=Object.assign({},v,o.a,a.a,r.a,i.a,l.a,s.a,c.a,u.a,p.a,m.a,g.a,d.a,f.a,b.a,h.a)},function(e,t,n){"use strict";n.d(t,"a",function(){return o});var o={blockGalleryTemplate:{type:"string",default:"gallery-template1",gCopy:!0},blockImageBoxOverlayBorderColor:{type:"object",default:{enable:!1,normal:""},gCopy:!0},blockImageBoxOverlayBottomColor:{type:"object",default:{enable:!1,normal:""},gCopy:!0},blockImageBoxBackgroundImageOptions:{type:"object",default:{backgroundImage:"",desktopHeight:"",tabletHeight:"",mobileHeight:"",backgroundSize:"cover",backgroundPosition:"center",backgroundRepeat:"no-repeat",backgroundAttachment:"scroll"},gCopy:!0},blockGalleryPopup:{type:"object",default:{label:"fa-search",value:"fas fa-search",code:"f002"}},blockGalleryIconSize:{type:"number",default:16,gCopy:!0},blockGalleryIconColor:{type:"object",default:{enable:!0,normal:{hex:"#23282d"},hover:{hex:"#275cf6"}},gCopy:!0},blockGalleryIconBgColor:{type:"object",default:{enable:!1,normal:{hex:"#23282d"},hover:{hex:"#275cf6"}},gCopy:!0},blockGalleryEnableIconBoxOptions:{type:"boolean",default:!1,gCopy:!0},blockGalleryIconBoxMargin:{type:"object",default:{type:"px",desktopTop:"",desktopRight:"",desktopBottom:"",desktopLeft:"",tabletTop:"",tabletRight:"",tabletBottom:"",tabletLeft:"",mobileTop:"",mobileRight:"",mobileBottom:"",mobileLeft:""},gCopy:!0},blockGalleryIconBoxPadding:{type:"object",default:{type:"px",desktopTop:"",desktopRight:"",desktopBottom:"",desktopLeft:"",tabletTop:"",tabletRight:"",tabletBottom:"",tabletLeft:"",mobileTop:"",mobileRight:"",mobileBottom:"",mobileLeft:""},gCopy:!0},blockGalleryIconBoxBorder:{type:"object",default:{borderStyle:"none",borderTop:"",borderRight:"",borderBottom:"",borderLeft:"",borderColorNormal:"",borderColorHover:"",borderRadiusType:"px",borderRadiusTop:"",borderRadiusRight:"",borderRadiusBottom:""},gCopy:!0},blockGalleryContentOnHover:{type:"boolean",default:!1,gCopy:!0}}},function(e,t,n){"use strict";n.d(t,"a",function(){return b});var o=n(19),a=n(20),r=n(21),l=n(23),i=n(24),s=n(25),c=n(22),u=n(35),p=n(28),m=n(17),g=n(66),d=n(143),f={blockID:{type:"string"},timestamp:{type:"number",default:0},gutentorBlockName:{type:"string"},blockSortableItems:{type:"array",default:[]}},b=Object.assign({},f,o.a,a.a,r.a,i.a,l.a,s.a,c.a,u.a,p.a,m.a,g.a,d.a)},function(e,t,n){"use strict";n.d(t,"a",function(){return o});var o={blockSocialTemplate:{type:"string",default:"social-template1",gCopy:!0},blockSocialDisplayStyle:{type:"string",default:"column",gCopy:!0},column:{type:"object",default:{desktop:"grid-md-2",tablet:"grid-sm-2",mobile:"grid-xs-12"},gCopy:!0},blockSocialIconSize:{type:"number",default:20,gCopy:!0},blockSocialIconColor:{type:"object",default:{enable:!0,normal:{hex:"#275cf6",rgb:{r:"39",g:"92",b:"246",a:"1"}},hover:{hex:"#1949d4",rgb:{r:"25",g:"73",b:"212",a:"1"}}},gCopy:!0},blockSocialIconStyle:{type:"string",default:"",gCopy:!0},blockSocialIconBGColor:{type:"object",default:{normal:"",hover:""},gCopy:!0},blockSocialIconBorderColor:{type:"object",default:{normal:"",hover:""},gCopy:!0},blockSocialIconBorderWidth:{type:"number",default:2,gCopy:!0},blockSocialIconBorderRadius:{type:"object",default:{type:"px",top:"",right:"",bottom:"",left:""},gCopy:!0},blockSocialOpenLinkNewTabEnable:{type:"boolean",default:!1},blockSocialEnableIconBoxWidth:{type:"boolean",default:!0,gCopy:!0},blockSocialIconBoxWidth:{type:"object",default:{type:"px",desktop:"",tablet:"",mobile:"80"},gCopy:!0},blockSocialEnableIconBoxHeight:{type:"boolean",default:!0,gCopy:!0},blockSocialIconBoxHeight:{type:"object",default:{type:"px",desktop:"",tablet:"",mobile:"80"},gCopy:!0}}},function(e,t,n){"use strict";n.d(t,"a",function(){return o});var o=['<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 240 40" preserveAspectRatio="none"><path d="M217.3 15.8c-2.1-.3-4.3-.2-6.3.4.9-2.7 1.2-7.3-2.1-7.7-1.4-.2-2.3.9-2.6 2.1-.4 2 .9 3.9 1.1 5.8 0 .3.6.3.6 0 .4-2-1.4-4-.5-5.9.4-1 1.8-.8 2.3.1.3.6.4 1.3.5 1.9.1 1.4-.2 2.8-.8 4.1v.1c-.2.1-.2.3-.2.5-.3-.6-1-.9-1.6-.3-4 3.9-8.5 5.5-13.3 5.8.8-.4 1.5-.9 2.2-1.5 1.4-1.2 3.3-3.2 2-5-.2-.3-.4-.4-.7-.3-2.8.5-6.3 2.5-6.9 5.6-.1.3.4.7.6.4.9-1 1.5-2.1 2.6-2.9 1-.8 2.3-1.3 3.6-1.6.4 1.4-1.7 2.8-2.6 3.5-1.3 1-2.9 1.8-4.5 1.3-.4-.1-.8.2-.8.5-8.4-.7-17.4-4.2-25.3-5.5.8-.4 1.5-.9 2.2-1.5 1.1-.9 2.9-3 1.9-4.5s-3.8.2-4.8.9c-1.9 1.2-3.4 2.8-4.4 4.7-6.8-.1-13.3 1.4-19.9 3 2.3-2.9 5.7-8.4 1.5-8.6-4.3-.2-6.2 6.1-5.1 9.4v.1c-5.3 1.3-10.6 2.6-16.1 3 2.5-2.3 6.7-6.9 3.4-8.5-1.7-.8-3.5 1-4.4 2.3-1.3 1.8-2.3 4.1-2.4 6.3-5.6-.1-11-1.3-16.3-2.7.1-.1.2-.3.1-.5-.4-1.5-3.9-11.2-6.6-7.7-1 1.3.1 3.6.9 4.7.7 1 1.6 1.9 2.6 2.7-7.5-2-15.1-3.9-23.1-3.1-.3 0-.7.1-1 .1-1.3-3.2-4.5-5.2-7.9-5.2-.3 0-.7.3-.7.6.1 2.3 1.4 4.4 3.4 5.5-6.1 1.3-12.6 3.1-18.9 3.9-1-2.1-2.5-3.9-4.4-5.2-1.1-.8-3.7-2.4-4.9-1-1.1 1.3.1 3.1 1 4 1.4 1.4 3.5 2.4 5.5 2.5-6 .4-11.8-.4-16.9-3.9 2.7-2.3 3.3-6.6 1.2-9.6-.2-.3-.6-.4-.9-.1-1.7 1.8-2.7 4.3-2.4 6.8-1.6-2.3-4.5-3.7-7.2-4.1-.4-.1-.7.4-.6.8 1 2.9 3.6 5.5 6.7 5.6.1 0 .2 0 .2-.1 2.2 2.3 4.7 3.9 7.4 4.9-3.7.2-9.6 1.2-7.4 4.5 1.2 1.8 3.9 1.1 5.6.5 2.2-.8 4.1-2.1 5.6-3.9 6.3 1.2 13.2.2 19.8-1.2-1.1.8-2.1 1.7-3 2.7-1 1.1-3.5 3.6-1.8 5.1 1.5 1.4 4.2-.8 5.4-1.8 1.9-1.6 3.6-4 4-6.5 0-.2 0-.3-.1-.4 2-.5 4-.9 5.8-1.3 4.9-1 9.5-1.3 14.2-1-1.1.4-2.1.9-3 1.5-1.3.9-3.8 2.4-3.6 4.3.2 1.6 2.1 2.2 3.5 1.7 1-.4 1.8-1.2 2.6-1.9 1.3-1.2 2.6-2.4 3.8-3.6.3-.3.2-.7 0-.9.3-.2.6-.4.8-.7 2.9.4 5.8 1 8.8 1.8 4.4 1.2 8.8 2.5 13.2 3.4-3.1.9-6 3.1-7.9 5.7-.3.4.1 1.1.6 1.1 4.1-.2 8.2-2.4 10.2-6.1 0-.1 0-.1.1-.2 2.7.4 5.5.6 8.4.4 2-.1 4.1-.4 6.1-.7 1.5 1.7 3.4 3 5.4 3.9 1.2.5 3.6 1.7 4.7.4.8-1 .1-2.4-.7-3.2-1-1-2.3-1.7-3.6-2.2 3.7-.8 7.4-1.8 11-2.7.5.9 1.4 2 1.6 2.2 2.3 2.1 5.2 3.3 8.3 3.5.5 0 .8-.5.7-.9-.8-2.9-3.2-5.2-6.1-5.9 7.7-1.5 15.2-1.8 23 .1 1.4.3 2.8.7 4.2 1-.2.1-.3.3-.3.5-.8 1.4-.4 3.1.5 4.4 1.2 1.8 3.3 2.6 5.3 3.2.5.2.9-.3.8-.8-.4-2.5-2.1-5.5-4.5-6.8 7.5 1.9 15.5 3.9 22.8 2.5 1.9 1.6 4.1 2.7 6.5 3.2 1.3.3 4.4 1.2 5.4 0 2.2-2.6-3.9-4.1-7.3-4.6 2.1-.9 4.1-2.2 6-4 .1.2.2.3.4.4 2.6 1 5.3 1.4 8 1 1.2-.2 3.9-.4 4-2.2-.3-2-3-2.2-4.2-2.4zM25.6 17.2c-2.2-.9-4-2.2-5-4.3 2.3.5 4 1.9 5.5 3.7-.3.1-.5.3-.5.6zm1.9.3c.1-.2.2-.4.1-.6 0 0 0-.1-.1-.1 0 0 .1-.1.1-.2-.1-2.5.4-4.6 1.9-6.5 1.3 2.6.6 5.7-1.6 7.6-.1 0-.2-.1-.4-.2zm5.3 8.3c-1 .5-3.4 1.5-4.5 1.1-.8.1-1-.4-.6-1.6.4-.1.8-.3 1.1-.4.7-.2 1.3-.4 2-.6 1.6-.3 3.1-.4 4.7-.4h.2c-.8.7-1.8 1.4-2.9 1.9zm14-3.5c.3-.2.3-.6-.1-.6-1.7-.3-3.2-.7-4.5-1.7-.6-.5-1.4-1.2-1.7-1.9-.5-1.2.6-1.4 1.5-1 2.3 1.1 4.1 2.9 5.3 5.2h-.5zm10.8 4c-.4.5-3.9 3.8-4.5 2.3-.3-.8 2.8-3.6 3.4-4.2 1-1 2.1-1.8 3.3-2.6.1 0 .2 0 .3-.1-.7 1.8-1.3 3.3-2.5 4.6zm11.9-8.5c-2-.6-3.6-2.2-4-4.4 2.6.3 4.6 1.8 5.9 4-.7.1-1.3.3-1.9.4zm14.2 2l-.1.1c-.4.4-.8.7-1.1 1.1-.1.1-.1.3 0 .4-.9.8-1.7 1.6-2.6 2.4-.5.4-1.1 1.1-1.7 1.4-2.2 1.2-1.6-1.2-.7-2.1 1.9-1.8 4-2.8 6.4-3.6-.2.1-.2.2-.2.3zM94.3 15c-.1-.3-.1-.6-.1-1 .6-.4 1.1-.4 1.4.2.6.5 1 1.5 1.4 2.2.6 1.2 1.1 2.4 1.5 3.7-1.9-1.5-3.7-2.9-4.2-5.1zm7.5 14.9c1.9-2 4.1-3.3 6.7-4.3-1.7 2.2-3.9 3.8-6.7 4.3zm15.5-6.3c-.1 0-.1 0 0 0h-.3c.4-1.3.8-2.6 1.5-3.9.6-1 1.6-3.2 2.9-3.4 2.7-.4-.4 3.7-.9 4.3-1 1.2-2.1 2.2-3.2 3zm14.1 2.2c.6.3 1.3.7 1.8 1.2.6.4.6.7.1 1-.2.5-.5.6-1 .3-1.2 0-2.7-1-3.7-1.6-1-.6-1.9-1.2-2.7-2 .7-.1 1.4-.3 2.1-.4 1.2.5 2.3.9 3.4 1.5zm5.1-5.5c-.5-2.7.4-7.4 3.7-7.9 2.2-.3 0 3.2-.5 4-.8 1.3-1.8 2.5-2.7 3.7-.2.2-.4.2-.5.2zm14 5.1c-1.4-.2-2.8-.6-4.1-1.3-.3-.2-3.1-2.1-3.9-3.2.4-.1.7-.2 1.1-.2 0 .3.2.6.6.7 2.8.1 5.1 1.5 6.3 4zm10.9-8.6c-.5 0-.9-.1-1.4-.1.6-.9 1.4-1.7 2.2-2.5.7-.6 3.9-3.1 4.7-2.2 1 1.1-2 3.2-2.9 3.6-.8.5-1.7.9-2.6 1.2zm15.2 8.1c.7.8 1.2 1.8 1.5 2.8-2.4-.9-4.7-2.4-4.4-5.1 1 .7 2 1.2 2.9 2.3zm29.1-.4c.7.2 1.8.5 2.2 1 .9 1 .5 1.2-.7 1.1-3-.2-5.6-1.2-8.1-2.7.4-.1.8-.2 1.1-.3.1.1.2.1.4.1 1.7.1 3.4.2 5.1.8zm8.8-5.6c-1.8 0-3.5-.5-5.2-1.1h-.1c0-.2 0-.4-.1-.6.1.2.2.3.4.3.2.2.6.2.8-.1 2.3-.4 8.7-1 8.6.6.1 1-3.4.9-4.4.9z"></path></svg>','<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 240 40" preserveAspectRatio="none"><path class="st1" d="M204.2 25.6h-98.8c-3.4 0-6.2-2.9-6.2-6.4 0-1 .4-2 1-2.8 1.3-1.7 3.1-2.3 4.6-1.8 1.4.5 2.3 1.8 2.3 3.3 0 1.5-1.3 2.8-2.8 2.8-1.2 0-2.4-.8-2.4-2.1h2v-.1s.2.1.4.1c.4 0 .8-.4.8-.8 0-.7-.4-1.2-1-1.4-.7-.3-1.6.1-2.4 1.1-.4.5-.6 1-.6 1.6 0 2.3 2 4.4 4.2 4.4h98.8c1.9 0 3.5-1.6 3.5-3.5h2c.2 3.1-2.3 5.6-5.4 5.6z"></path><path class="st1" d="M134.6 25.6H35.8c-3 0-5.5-2.5-5.5-5.5h2c0 1.9 1.6 3.5 3.5 3.5h98.8c2.2 0 4.2-2 4.2-4.4 0-.6-.2-1.1-.6-1.6-.8-1-1.7-1.4-2.4-1.1-.6.2-1 .8-1 1.4 0 .4.4.8.8.8.2 0 .4-.1.4-.1l2 .1c0 1.3-1.2 2.1-2.4 2.1-1.5 0-2.8-1.3-2.8-2.8 0-1.5.9-2.8 2.3-3.3 1.6-.6 3.3.1 4.7 1.8.7.8 1 1.8 1 2.8 0 3.4-2.9 6.3-6.2 6.3z"></path><path class="st1" d="M120 25.6c-2.6 0-4.8-2.1-4.8-4.8 0-2.6 2.1-4.8 4.8-4.8s4.8 2.1 4.8 4.8c0 2.6-2.2 4.8-4.8 4.8zm0-7.6c-1.5 0-2.8 1.3-2.8 2.8s1.3 2.8 2.8 2.8 2.8-1.3 2.8-2.8-1.3-2.8-2.8-2.8z"></path></svg>','<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 240 40" preserveAspectRatio="none"><path d="M201.1 16.2c-2.5-.1-4.8.7-6.9 2.1-1.4.1-2.9.1-4.3.2 2.1-1.4 3.8-3.5 4.6-5.9.2-.5-.4-.9-.8-.8-3.3.7-7.1 3.4-7.7 6.9-1.4.1-2.7.1-4.1.1.5-.4 1-.8 1.3-1.2 1.6-1.7 2.7-3.8 3.2-6 .1-.5-.3-1-.8-.8-3.7.9-7.7 4-8.1 8.1 0 .1-.1.1-.1.2-38.5 1.3-76.9 1.6-115.4 1.5-.2-.2-.5-.2-.7-.2.1-.2.1-.4 0-.6-.9-1.8-3.9-8.8-6.9-6-1.2 1.1-.2 3 .5 4.1.9 1.2 2.1 2.2 3.5 2.7h-5.8c.6-2.4-2.8-7.9-5.7-6.2-1.6.9-.7 3 .1 4.1.6.8 1.4 1.6 2.4 2.1h-3.6c.1-.1 0-.3-.1-.5-1.5-1.6-3.7-2.4-5.9-2.5-1.5-.1-4.1 0-4.7 1.7-1.4 4 8.3 3.3 10.1 2.9.4-.1.6-.5.5-.9 1.5.1 3 .1 4.5.2-1.5.5-2.9 1.4-4.2 2.4-1 .8-2.8 2.5-1.8 3.9 1 1.5 3.5-.1 4.5-.8 1.8-1.2 3.5-2.8 4.5-4.7.1-.2.1-.5 0-.6 1.3.1 2.6.1 3.9.1-1 .7-1.9 1.4-2.7 2.3-.9 1-3 3.1-1.9 4.6 1.2 1.6 3.9-.6 4.9-1.4 1.9-1.4 3.4-3.2 4.5-5.3 38.3 1.3 77 .6 115.3-1.2.7 1.8 1.9 3.5 3.2 4.9.9 1 2.6 2.5 4.1 1.6 1.7-1 .5-3.2-.2-4.4-.5-.9-1.2-1.7-2-2.4 1.3-.1 2.6-.1 4-.2.4 2.1 1.9 4.1 3.6 5.4 1.2.9 3.2 2.2 4.6 1 1.6-1.3.2-3.4-.8-4.4-.8-.8-1.9-1.6-3-2.2 1.5-.1 2.9-.2 4.4-.2.3 0 .5-.2.6-.3 2.2.8 4.7 1.5 6.9 1.1 1.2-.2 3-1.1 2.8-2.7-.5-1.7-3.1-1.7-4.3-1.8zM44.2 20.9c-1.1.1-2.1.2-3.2.1-.5 0-4.1-.3-4.3-.9-.2-.7 2.2-.9 2.4-.9.7 0 1.5 0 2.2.2 1.1.2 2.2.7 3.2 1.2-.2-.1-.3.1-.3.3zm4.7-2.3c-.4-.4-2.3-2.8-1-3 1-.2 2 1.1 2.4 1.8.6.9.7 1.9 1 2.8-.9-.5-1.7-.9-2.4-1.6zm.3 6.2c-.6.5-2.6 2.2-3.4 1.8-.6-.3.4-1 .7-1.3.5-.5 1-1 1.6-1.4 1.1-.8 2.3-1.3 3.5-1.8-.7.9-1.4 1.9-2.4 2.7zm7.3-6.7c-.4-.4-2.6-3.3-.8-3.5 1.1-.1 2.1 2 2.6 2.8.6 1 1.1 2 1.7 3-.2 0-.3.1-.5.1h-.2c.1-.2.1-.5-.1-.6-1-.4-1.9-1-2.7-1.8zm1.3 6.6c-.6.6-1.3 1.2-2 1.7-.3.2-1.9 1.4-2.2 1.2-.5-.3 2.4-3.4 2.8-3.7.9-.8 1.8-1.4 2.8-2h.7c-.5 1-1.2 2-2.1 2.8zm120.5-6.1c.7-1.3 1.3-2.7 2.5-3.8 1.1-1.1 2.4-1.9 3.9-2.4-.4 1.3-1.1 2.6-2.1 3.7-.6.7-1.2 1.2-2 1.7-.3.2-.7.4-1 .6-.1.1-.3.1-.4.2-.3 0-.5 0-.6.1-.1 0-.2-.1-.3-.1zm4 3.9c.4.6 2.3 3.5.8 3.4-1.1-.1-2.3-2-2.8-2.8-.5-.8-1-1.6-1.4-2.4.5 0 1-.1 1.6-.1.6.6 1.2 1.2 1.8 1.9zm7.1-7.2c1-.8 2-1.4 3.2-1.8-1.1 2.3-3.1 4-5.6 4.8.8-1.1 1.4-2.1 2.4-3zm1.3 6.4c.6.4 1.2.9 1.8 1.5.5.5 2.1 2.6 0 2.4-1.1-.1-2.5-1.5-3.2-2.3-.8-.9-1.2-2-1.7-3.1h.3c.9.5 1.9.9 2.8 1.5zm10.6-2.2c-.6 0-1.2 0-1.8-.1-1.2-.1-2.4-.3-3.5-.5 1-.6 2-1 3.2-1.2.8-.1 4.2-.5 4.6.5.2.7-2.2 1.2-2.5 1.3z"></path></svg>','<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 240 40"><path d="M216.4 22.2c-2.2 0-3.3-.9-4.3-1.6-.9-.7-1.8-1.4-3.5-1.4s-2.5.6-3.5 1.4c-1 .8-2.1 1.6-4.3 1.6-2.2 0-3.3-.9-4.3-1.6-.9-.7-1.8-1.4-3.5-1.4s-2.5.6-3.5 1.4c-1 .8-2.1 1.6-4.3 1.6-2.2 0-3.3-.9-4.3-1.6-.9-.7-1.8-1.4-3.5-1.4s-2.5.6-3.5 1.4c-1 .8-2.1 1.6-4.3 1.6-2.2 0-3.3-.9-4.3-1.6-.9-.7-1.8-1.4-3.5-1.4s-2.5.6-3.5 1.4c-1 .8-2.1 1.6-4.3 1.6-2.1 0-3.3-.9-4.3-1.6-.9-.7-1.8-1.4-3.5-1.4s-2.5.6-3.5 1.4c-1 .8-2.1 1.6-4.3 1.6s-3.3-.9-4.3-1.6c-.9-.7-1.8-1.4-3.5-1.4s-2.5.6-3.5 1.4c-1 .8-2.1 1.6-4.3 1.6s-3.3-.9-4.3-1.6c-.9-.7-1.8-1.4-3.5-1.4s-2.5.6-3.5 1.4c-1 .8-2.1 1.6-4.3 1.6-2.2 0-3.3-.9-4.3-1.6-.9-.7-1.8-1.4-3.5-1.4s-2.5.6-3.5 1.4c-1 .8-2.1 1.6-4.3 1.6-2.2 0-3.3-.9-4.3-1.6-.9-.7-1.8-1.4-3.5-1.4s-2.5.6-3.5 1.4c-1 .8-2.1 1.6-4.3 1.6-2.1 0-3.3-.9-4.3-1.6-.9-.7-1.8-1.4-3.5-1.4s-2.5.6-3.5 1.4c-1 .8-2.1 1.6-4.3 1.6-2.1 0-3.3-.9-4.3-1.6-.9-.7-1.8-1.4-3.5-1.4s-2.5.6-3.5 1.4c-1 .8-2.1 1.6-4.3 1.6-2.1 0-3.3-.9-4.3-1.6-.9-.7-1.8-1.4-3.5-1.4s-2.5.6-3.5 1.4c-1 .8-2.1 1.6-4.3 1.6s-3.3-.9-4.3-1.6c-.9-.7-1.7-1.4-3.5-1.4v-1.3c2.1 0 3.3.9 4.3 1.6.9.7 1.7 1.4 3.5 1.4 1.7 0 2.5-.6 3.5-1.4 1-.8 2.1-1.6 4.3-1.6 2.1 0 3.3.9 4.3 1.6.9.7 1.8 1.4 3.5 1.4s2.5-.6 3.5-1.4c1-.8 2.1-1.6 4.3-1.6 2.1 0 3.3.9 4.3 1.6.9.7 1.8 1.4 3.5 1.4s2.5-.6 3.5-1.4c1-.8 2.1-1.6 4.3-1.6 2.1 0 3.3.9 4.3 1.6.9.7 1.8 1.4 3.5 1.4s2.5-.6 3.5-1.4c1-.8 2.1-1.6 4.3-1.6 2.2 0 3.3.9 4.3 1.6.9.7 1.8 1.4 3.5 1.4s2.5-.6 3.5-1.4c1-.8 2.1-1.6 4.3-1.6 2.2 0 3.3.9 4.3 1.6.9.7 1.8 1.4 3.5 1.4s2.5-.6 3.5-1.4c1-.8 2.1-1.6 4.3-1.6s3.3.9 4.3 1.6c.9.7 1.8 1.4 3.5 1.4s2.5-.6 3.5-1.4c1-.8 2.1-1.6 4.3-1.6s3.3.9 4.3 1.6c.9.7 1.8 1.4 3.5 1.4s2.5-.6 3.5-1.4c1-.8 2.1-1.6 4.3-1.6 2.1 0 3.3.9 4.3 1.6.9.7 1.8 1.4 3.5 1.4s2.5-.6 3.5-1.4c1-.8 2.1-1.6 4.3-1.6s3.3.9 4.3 1.6c.9.7 1.8 1.4 3.5 1.4s2.5-.6 3.5-1.4c1-.8 2.1-1.6 4.3-1.6s3.3.9 4.3 1.6c.9.7 1.8 1.4 3.5 1.4s2.5-.6 3.5-1.4c1-.8 2.1-1.6 4.3-1.6 2.2 0 3.3.9 4.3 1.6.9.7 1.8 1.4 3.5 1.4s2.5-.6 3.5-1.4c1-.8 2.1-1.6 4.3-1.6 2.2 0 3.3.9 4.3 1.6.9.7 1.8 1.4 3.5 1.4v1.3z"></path></svg>','<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 240 40" preserveAspectRatio="none"><path d="M213.6 22c-4.6-3.1-10.9-6.9-16.7-4.6-3.7 1.5-6.1 5.6-10.7 3.4-2.4-1.2-4.4-3.1-7-4-5.2-1.8-9.7 1.1-14.3 3.2-4.7 2.2-8.2 2.1-12.8-.3-2.5-1.2-4.8-2.9-7.6-3.3-6.5-1.1-10.2 5.5-16.4 5.5-6.5.1-11.8-5.3-18.3-5.2-2.6 0-4.9 1-7.2 2.1-4.9 2.3-8.5 3.1-13.5.7-5.7-2.7-9.4-3.8-15.5-1.3-4.6 1.9-8.2 3.4-13.3 1.8-3.6-1.1-6.8-3.3-10.6-3.9-2.4-.4-4.7-.1-7 .9-3.8 1.7-12.5 9.4-15.4 2.1-.3-.7-1.5-.5-1.2.3 1.1 3.6 4.9 4.7 8.3 4 3-.6 5.3-2.8 7.9-4.1 5.4-2.7 9.5-.6 14.6 1.5 5.9 2.5 10.2 2.3 16.1-.2 5.1-2.2 8.8-2.4 13.8 0 2.5 1.2 4.8 2.6 7.6 2.7 2.6.2 4.9-.7 7.3-1.8 4.7-2.2 8.1-3.5 13.2-1.8 5.5 1.8 10.8 5.6 16.8 3.6 2.9-1 5.1-3.2 7.9-4.3 4.9-2 8.6 1.1 12.8 3.1 5.4 2.6 9.8 1.6 14.9-1 4.7-2.3 8.5-4.1 13.5-1.4 2.6 1.4 5 3.7 8 3.9 2.7.2 4.2-1.1 6.2-2.6 6.2-4.5 12.1-1.3 17.7 2.5.9 1 2-.8.9-1.5z" fill="#1c1c1b"></path></svg>','<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 240 40" preserveAspectRatio="none"><path d="M126.9 15.2c-2.4-7.2-11.6-8.1-15.6-2-.1.2.2.4.3.3 4.8-5.5 14.9-3.4 14.5 4.9-.3 5.9-5.2 9.6-10.5 10.7-.1-.2-.3-.4-.5-.3-3.9 1-7.9.5-11.7-.7-1.6-.5-5.4-2.5-7.3-4.9 0 0 .1 0 .1-.1.1.1.3.2.5.3 2.2.2 4.3-2.1 3.7-4.3-.5-1.9-2.8-2.9-4.6-2-.1.1-.1.2-.1.3-1.8 1-1.8 3.1-1.1 5.1-3 .6-6 1.4-9.2 1.3-2-.1-6.1-1-8.5-2.9 1.8-.4 3-2.6 2.3-4.3-.7-1.6-2.8-2.2-4.3-1.4-.2 0-.3.1-.4.3h-.1c-.1.1-.1.2-.1.2-.9 1.7-.4 3.4.6 4.9-9.5 3.2-22.1 4.2-24.6-8.4-.2-.8-1.5-.6-1.4.2 1.1 13.6 17.2 14 26.7 9 1.1 1.2 2.6 2.1 3.9 2.7 4.8 2.1 10.6 1.3 15.5-.5.6 1.2 1.4 2.2 2.1 2.9 4 3.6 10.8 5.2 16.2 3.9.1.1.2.1.3.1 7.5.1 15.9-7.3 13.3-15.3zm-51.4.8c.1-.1.1-.3 0-.4 1-.2 2.1.2 2.6 1.1.9 1.5-.7 3.1-2.2 3.1-.7-1-1-2.3-.4-3.8zm21.3 1.6s.1-.1 0 0c1.1 0 2.1.6 2.4 1.7.4 1.4-.8 2.6-2.1 2.8h-.4c-.1 0-.2 0-.3.1-.3.1-.6.1-.9.2-1.1-1.7-1-3.4 1.3-4.8z"></path><path d="M126.4 30.5c.1 0 .2-.1.3-.1 5.4 1.4 12.2-.2 16.2-3.9.7-.7 1.5-1.7 2.1-2.9 4.9 1.8 10.7 2.6 15.5.5 1.3-.6 2.8-1.5 3.9-2.7 9.5 5 25.6 4.6 26.7-9 .1-.8-1.3-1-1.4-.2-2.5 12.6-15.1 11.6-24.6 8.4 1.1-1.4 1.5-3.1.6-4.9 0-.1 0-.2-.1-.2h-.1c-.1-.2-.3-.3-.4-.3-1.5-.8-3.6-.3-4.3 1.4-.8 1.7.5 3.9 2.3 4.3-2.4 1.9-6.5 2.8-8.5 2.9-3.1.1-6.1-.6-9.2-1.3.7-2 .7-4.1-1.1-5.1 0-.1 0-.2-.1-.3-1.7-.9-4 .2-4.6 2-.6 2.2 1.5 4.5 3.7 4.3.2 0 .4-.1.5-.3 0 0 .1 0 .1.1-2 2.3-5.7 4.4-7.3 4.9-3.8 1.3-7.8 1.7-11.7.7-.2-.1-.4.1-.5.3-5.3-1.1-10.2-4.9-10.5-10.7-.4-8.3 9.7-10.4 14.5-4.9.2.2.5-.1.3-.3-4-6.2-13.3-5.2-15.6 2-2.6 8 5.8 15.4 13.3 15.3zM164 19.8c-1.5 0-3.1-1.6-2.2-3.1.5-.9 1.7-1.3 2.6-1.1v.4c.7 1.5.4 2.8-.4 3.8zm-19.4 2.5c-.3-.1-.6-.1-.9-.2-.1-.1-.2-.1-.3-.1h-.3-.1c-1.3-.2-2.5-1.3-2.1-2.8.3-1.1 1.3-1.7 2.3-1.8 0 0 0 .1.1.1 2.2 1.5 2.3 3.2 1.3 4.8z"></path></svg>','<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 240 40" preserveAspectRatio="none"><path d="M3.3 22.1c-.5-.2-.9-.5-1.3-.9-.3-.2-.5-.4-.8-.6.8-.7 1.5-1.3 2.3-2 .9-.7 1.8-1.6 2.4-2.6.1-.1.1-.2 0-.3-.1-.2-.3-.2-.5-.2-1.1.5-2 1.3-2.8 2.2-.8.9-1.7 1.7-2.5 2.5l-.1.1v.1c-.1.2-.1.5.2.6.5.3.9.5 1.4.8.4.3.9.6 1.2 1 .8.7 1.7 1.3 2.6 1.8.1.1.3 0 .4-.1.2-.1.2-.3.1-.5-.8-.8-1.6-1.4-2.6-1.9z"></path><path d="M112.3 20c-4.5-.2-9-.3-13.5-.3-2.2 0-4.5-.1-6.7 0s-4.5.2-6.7.1c-4.5 0-9-.1-13.5-.2-1.1 0-2.2 0-3.4.1-1.1.1-2.2.1-3.4.2-2.2 0-4.5 0-6.7-.1-4.5-.1-9 0-13.5-.2-2.2-.1-4.5-.1-6.7 0s-4.5.3-6.7.3c-4.5.1-9-.1-13.5-.1s-9 0-13.5.2c-.1 0-.2.1-.2.2s.1.3.2.3c4.5.1 9 .2 13.5.2s9-.1 13.5-.1c2.2 0 4.5.2 6.7.3 2.2.1 4.5 0 6.7 0 4.5-.1 9 0 13.5-.2 2.2-.1 4.5-.1 6.7-.1 1.1 0 2.2.1 3.4.2 1.1 0 2.2.1 3.4.1 4.5-.1 9-.1 13.5-.2 2.2 0 4.5 0 6.7.1s4.5.1 6.7 0c4.5 0 9-.1 13.5-.3.1 0 .2-.1.2-.2 0-.2-.1-.3-.2-.3zM239.9 20.3c-.8-.9-1.7-1.7-2.5-2.6-.8-.9-1.7-1.7-2.8-2.2h-.3c-.2.1-.2.3-.1.5.6 1.1 1.4 1.9 2.4 2.6.8.6 1.5 1.3 2.3 2-.2.2-.5.4-.8.6-.4.3-.9.6-1.3.9-.9.5-1.8 1.2-2.5 2-.1.1-.1.2-.1.4.1.2.3.2.5.2 1-.5 1.9-1 2.6-1.8.4-.4.8-.7 1.2-1 .4-.3.9-.6 1.4-.8l.1-.1c0-.3.1-.6-.1-.7z"></path><path d="M235.7 20.2c0-.1-.1-.3-.2-.3-4.5-.1-9-.2-13.5-.2s-9 .1-13.5.1c-2.2 0-4.5-.2-6.7-.3-2.2-.1-4.5 0-6.7 0-4.5.1-9 0-13.5.2-2.2.1-4.5.1-6.7.1-1.1 0-2.2-.1-3.4-.2-1.1 0-2.2-.1-3.4-.1-4.5.1-9 .1-13.5.2-2.2 0-4.5 0-6.7-.1s-4.5-.1-6.7 0c-4.5 0-9 .1-13.5.3-.1 0-.2.1-.2.2s.1.3.2.3c4.5.2 9 .3 13.5.3 2.2 0 4.5.1 6.7 0s4.5-.2 6.7-.1c4.5 0 9 .1 13.5.2 1.1 0 2.2 0 3.4-.1 1.1-.1 2.2-.1 3.4-.2 2.2 0 4.5 0 6.7.1 4.5.1 9 0 13.5.2 2.2.1 4.5.1 6.7 0s4.5-.3 6.7-.3c4.5-.1 9 .1 13.5.1s9 0 13.5-.2c.1 0 .2-.1.2-.2zM118.3 16.1c-.4.6-.8 1.2-1.1 1.8-.4.6-.4 1.3-.8 1.9l-.9 1.8c-.3.6-.5 1.3-.7 2 0 .2 0 .4.2.5.2.2.5.1.7-.1.4-.6.7-1.2 1-1.8.3-.6.5-1.3.8-1.9.2-.6.7-1.2.9-1.9.2-.6.5-1.3.6-2 0-.2 0-.3-.2-.4-.1-.1-.4-.1-.5.1zM124.4 16.1c-.4.6-.8 1.2-1.1 1.8-.4.6-.4 1.3-.8 1.9l-.9 1.8c-.3.6-.5 1.3-.7 2 0 .2 0 .4.2.5.2.2.5.1.7-.1.4-.6.7-1.2 1-1.8.3-.6.5-1.3.8-1.9.2-.6.7-1.2.9-1.9.2-.6.5-1.3.6-2 0-.2 0-.3-.2-.4-.1-.1-.3-.1-.5.1z"></path></svg>','<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 240 40" preserveAspectRatio="none"><path d="M56.2 20c5.3-.1 10.6-.2 16-.3l16-.2c10.6-.1 21.3-.1 31.9-.2 10.6.1 21.3 0 31.9.1l16 .2c5.3.1 10.6.2 16 .3-5.3.1-10.6.2-16 .3l-16 .2c-10.6.1-21.3.1-31.9.1-10.6-.1-21.3 0-31.9-.2l-16-.2c-5.4.1-10.7 0-16-.1z"></path></svg>','<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 240 40" preserveAspectRatio="none"><path d="M143.9 16.8c-4.5-.2-9.8-.2-14.3 1.5-5.1-8.4-23.3-5.1-30.9-3.1-9.3 2.4-18.2 6.2-27.5 8.6-8.2 2.2-31 6.6-33.8-5.5.1-.1.1-.1.1-.2v-.2c3 1.5 7 1.7 8.2-1.1.6-.5.9-1.2.7-2.1-.4-1.5-2.1-2.2-3.5-2.4-2.7-.3-6.1 1.3-6.6 4-.7-.4-1.3-.9-1.7-1.5-.2-.2-.5.1-.4.3.4.7 1.1 1.4 2 2-3.1 12.6 23 11.1 29.5 9.8 9.7-1.9 53.1-20.9 61.9-7.8-1.1.6-2.1 1.3-2.9 2.2-.1 0-.1.1-.2.1-.2.2-.4.4-.5.6-.3.3-.5.6-.7.9-.2.2 0 .4.2.5-.2 1.8 1.2 3.6 3.2 3.8 1.8.2 3.2-.9 3.7-2.4.2-.1.4-.3.4-.7.1-1.7-.1-3.2-.6-4.4 4.2-1.4 8.7-1.5 13.5-1.4 1.3.2 1.3-1.5.2-1.5zm-103.1-3c.9-.2 1.8-.2 2.7 0 .9.2 2.4 1.1 2.1 2.1-.1 0-.2 0-.3.2-1.4 2.3-4.8 2.1-7.5.9.4-1.5 1.3-2.7 3-3.2zm88.6 10.5c0 .1 0 .1.1.2-.5.8-1.3 1.3-2.3 1.3-1.9-.1-2.4-2.2-1.4-3.5.1-.1.1-.1.1-.2.9-.6 1.8-1.1 2.7-1.5.4 1 .7 2.3.8 3.7z"></path><path d="M96.1 18.5c4.9-.1 9.3 0 13.5 1.4-.4 1.3-.7 2.7-.6 4.4 0 .3.2.5.4.7.5 1.5 1.9 2.5 3.7 2.4 2-.2 3.3-2 3.2-3.8.2 0 .4-.2.2-.5s-.5-.6-.7-.9c-.1-.2-.3-.4-.5-.6-.1 0-.1-.1-.2-.1-.9-.9-1.9-1.6-2.9-2.2 8.8-13.1 52.2 5.9 61.9 7.8 6.5 1.2 32.7 2.8 29.5-9.8.9-.6 1.6-1.3 2-2 .1-.2-.2-.5-.4-.3-.4.5-1 1-1.7 1.5-.5-2.7-4-4.3-6.6-4-1.4.2-3.1.9-3.5 2.4-.2.8.1 1.6.7 2.1 1.2 2.9 5.2 2.6 8.2 1.1v.2c0 .1.1.2.1.2-2.7 12.1-25.5 7.7-33.9 5.5-9.3-2.5-18.2-6.2-27.5-8.6-7.5-1.9-25.8-5.3-30.9 3.1-4.4-1.7-9.7-1.7-14.3-1.5-.8-.2-.8 1.5.3 1.5zM202.2 17c-2.7 1.2-6 1.4-7.5-.9-.1-.1-.2-.2-.3-.2-.3-1 1.1-1.9 2.1-2.1.9-.2 1.8-.2 2.7 0 1.7.5 2.6 1.7 3 3.2zm-90.8 3.6c.9.4 1.8.9 2.7 1.5 0 .1 0 .1.1.2 1 1.4.5 3.4-1.4 3.5-1 .1-1.8-.5-2.3-1.3 0-.1 0-.1.1-.2.1-1.4.4-2.7.8-3.7z"></path></svg>','<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 240 40" preserveAspectRatio="none"><path d="M124.6 14l-4.6 4.6-4.6-4.6-1.4 1.4 4.6 4.6-4.6 4.6 1.4 1.4 4.6-4.6 4.6 4.6 1.4-1.4-4.6-4.6 4.6-4.6zM129.8 19h25v2h-25zM85.2 19h25v2h-25z"></path></svg>','<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 240 40" preserveAspectRatio="none"><path d="M119.8 23.3c-.4.2-.9 0-1.1-.4l-4.5-10.4c-.2-.4 0-.9.4-1.1.4-.2.9 0 1.1.4l4.5 10.4c.2.4 0 .9-.4 1.1z"></path><path d="M69.3 17.7c0-.5.4-.9.9-.9h46.9c.5 0 .9.4.9.9s-.4.9-.9.9H70.2c-.5-.1-.9-.5-.9-.9zM119.7 11.3c.4-.2.9 0 1.1.4l4.5 10.4c.2.4 0 .9-.4 1.1-.4.2-.9 0-1.1-.4l-4.5-10.4c-.2-.4 0-.9.4-1.1z"></path><path d="M170.2 17c0 .5-.4.9-.9.9h-46.9c-.5 0-.9-.4-.9-.9s.4-.9.9-.9h46.9c.5 0 .9.4.9.9z"></path></svg>','<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 240 40" preserveAspectRatio="none"><path d="M117.7 13.5c-.5 0-.9.4-.9.9v4.8H70.3c-.5 0-.9.4-.9.9s.4.9.9.9h46.6v4.8c0 .5.4.9.9.9s.9-.4.9-.9V14.3c-.1-.5-.5-.8-1-.8zM169.7 19.1h-46.6v-4.8c0-.5-.4-.9-.9-.9s-.9.4-.9.9v11.4c0 .5.4.9.9.9s.9-.4.9-.9v-4.8h46.6c.5 0 .9-.4.9-.9s-.4-.9-.9-.9z"></path></svg>','<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 240 40" preserveAspectRatio="none"><path d="M123.3 20.9l-2.4 2.4c-.5.5-1.4.5-1.9 0l-2.4-2.4c-.5-.5-.5-1.4 0-1.9l2.4-2.4c.5-.5 1.4-.5 1.9 0l2.4 2.4c.5.6.5 1.4 0 1.9z"></path><path d="M169.2 20.8H70.8c-.4 0-.8-.3-.8-.8 0-.4.3-.8.8-.8h98.5c.4 0 .8.3.8.8-.1.4-.4.8-.9.8z"></path></svg>']},function(e,t,n){"use strict";n.d(t,"a",function(){return l});var o=n(17),a=n(32),r=Object.assign({gID:{type:"string"},gName:{type:"string",default:"gutentor/divider"},blockID:{type:"string"},timestamp:{type:"number",default:0},gutentorBlockName:{type:"string"},blockSortableItems:{type:"array",default:[]},blockDividerAlign:{type:"string",default:"text-center",gCopy:!0},blockDividerType:{type:"string",default:"svg-divider",gCopy:!0},blockDividerBorderStyle:{type:"string",default:"solid",gCopy:!0},blockDividerBorderHeight:{type:"number",default:2,gCopy:!0},blockDividerBorderColor:{type:"object",default:{hex:"#e0e0e0"},gCopy:!0},blockDividerWidth:{type:"number",default:"",gCopy:!0},eDividerWid:{type:"object",gCopy:!0},blockDividerCustomImage:{type:"object",default:{url:"",alt:""},gCopy:!0},blockDividerDefaultSVG:{type:"string",default:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 240 40" preserveAspectRatio="none"><path d="M56.2 20c5.3-.1 10.6-.2 16-.3l16-.2c10.6-.1 21.3-.1 31.9-.2 10.6.1 21.3 0 31.9.1l16 .2c5.3.1 10.6.2 16 .3-5.3.1-10.6.2-16 .3l-16 .2c-10.6.1-21.3.1-31.9.1-10.6-.1-21.3 0-31.9-.2l-16-.2c-5.4.1-10.7 0-16-.1z"></path></svg>',gCopy:!0},gutentorCustomSVG:{type:"string",default:"",gCopy:!0},blockDividerEnableBorderColor:{type:"boolean",default:!1,gCopy:!0},blockDividerEnableSvgColor:{type:"boolean",default:!1,gCopy:!0},blockDividerSvgColor:{type:"object",default:{hex:"#e0e0e0"},gCopy:!0},eHideContSpace:{type:"object",default:{type:"",desktop:"",tablet:"",mobile:""},gCopy:!0},dividerMargin:{type:"object",default:{type:"px",desktopTop:"",desktopRight:"",desktopBottom:"",desktopLeft:"",tabletTop:"",tabletRight:"",tabletBottom:"",tabletLeft:"",mobileTop:"",mobileRight:"",mobileBottom:"",mobileLeft:""},gCopy:!0},dividerPadding:{type:"object",default:{type:"px",desktopTop:"",desktopRight:"",desktopBottom:"",desktopLeft:"",tabletTop:"",tabletRight:"",tabletBottom:"",tabletLeft:"",mobileTop:"",mobileRight:"",mobileBottom:"",mobileLeft:""},gCopy:!0}},a.a),l=Object.assign({},r,o.a)},function(e,t,n){"use strict";n.d(t,"a",function(){return g});var o=n(19),a=n(20),r=n(21),l=n(23),i=n(24),s=n(25),c=n(22),u=n(17),p=n(38),m={blockID:{type:"string"},timestamp:{type:"number",default:0},gutentorBlockName:{type:"string"},blockVideoPopupTemplate:{type:"string",default:"video-popup-template1",gCopy:!0},blockVideoPopupSource:{type:"string",default:"external-url"},blockVideoPopupHolderOption:{type:"string",default:"icon-holder"},blockVideoPopupVideo:{type:"object"},blockVideoPopupExternalUrl:{type:"string",default:"#"},blockVideoPopupHolderIcon:{type:"object",default:{label:"fa-play",value:4===gutentor.fontAwesomeVersion?"fa fa-play":"fas fa-play",code:"f04b"}},image:{type:"object",default:""},blockVideoPopupHolderIconSize:{type:"object",default:{type:"px",desktop:"",tablet:"",mobile:""},gCopy:!0},blockVideoPopupHolderIconColor:{type:"object",default:{enable:!1,normal:{hex:"#275cf6",rgb:{r:"39",g:"92",b:"246",a:"1"}},hover:""},gCopy:!0},blockVideoPopupHolderIconBGColor:{type:"object",default:{enable:!1,normal:{hex:"#275cf6",rgb:{r:"39",g:"92",b:"246",a:"1"}},hover:""},gCopy:!0},blockEnableVideoPopupHolderIconBorder:{type:"boolean",default:!1,gCopy:!0},blockVideoPopupHolderIconBorder:{type:"object",default:{borderStyle:"none",borderTop:"",borderRight:"",borderBottom:"",borderLeft:"",borderColorNormal:"",borderColorHover:"",borderRadiusType:"px",borderRadiusTop:"",borderRadiusRight:"",borderRadiusBottom:"",borderRadiusLeft:""},gCopy:!0},blockVideoPopupHolderIconBoxShadow:{type:"object",default:{boxShadowColor:"",boxShadowX:"",boxShadowY:"",boxShadowBlur:"",boxShadowSpread:"",boxShadowPosition:""},gCopy:!0},blockVideoPopupHolderBlockHeight:{type:"object",default:{type:"px",desktop:"",tablet:"",mobile:""},gCopy:!0},blockVideoPopupIconBoxHeight:{type:"object",default:{type:"px",desktop:"",tablet:"",mobile:""},gCopy:!0},blockVideoPopupIconBoxWidth:{type:"object",default:{type:"px",desktop:"",tablet:"",mobile:""},gCopy:!0},blockImageBoxImageOverlayColor:{type:"object",default:{enable:!1,normal:"",hover:""},gCopy:!0},blockImageBoxMargin:{type:"object",default:{type:"px",desktopTop:"",desktopRight:"",desktopBottom:"",desktopLeft:"",tabletTop:"",tabletRight:"",tabletBottom:"",tabletLeft:"",mobileTop:"",mobileRight:"",mobileBottom:"",mobileLeft:""},gCopy:!0},blockImageBoxPadding:{type:"object",default:{type:"px",desktopTop:"",desktopRight:"",desktopBottom:"",desktopLeft:"",tabletTop:"",tabletRight:"",tabletBottom:"",tabletLeft:"",mobileTop:"",mobileRight:"",mobileBottom:"",mobileLeft:""},gCopy:!0}},g=Object.assign({},m,o.a,a.a,r.a,i.a,l.a,s.a,c.a,u.a,p.a)},function(e,t,n){"use strict";var o=n(2),a=n(0),r=n.n(a),l=n(393),i=n(5),s=n(148),c=n(4),u=n(13),p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},__=wp.i18n.__,m=wp.blocks.registerBlockType,g=wp.blockEditor.InspectorControls,d=wp.element.Fragment,f=wp.components,b=f.PanelBody,h=f.PanelRow;m("gutentor/progress-bar",{title:__("Progress Bar Widget","gutentor"),description:__("Add horizontal, circular animated progress bar to show your experience and success.","gutentor"),icon:wp.element.createElement("img",{src:gutentor.progressbarSvgW}),category:"gutentor",keywords:[__("Gutentor Progress Bar Horizontal Circular Experience Success Column Grid Block Widget","gutentor")],example:{},attributes:wp.hooks.applyFilters("gutentor_add_attributes",s.a),supports:{align:["wide","full"],html:!1},edit:function(e){var t=e.attributes,n=e.className,a=e.setAttributes,s=e.clientId,m=t.blockID,f=t.gutentorBlockName,v=t.blockProgressBarTemplate,w=t.blockSectionHtmlTag,y=t.blockComponentAnimation,_=w;return m!==s&&a({blockID:s}),void 0===f&&a({gutentorBlockName:e.name}),wp.element.createElement(d,null,wp.element.createElement(g,{key:"inspector"},wp.element.createElement("div",{className:"gutentor-sidebar-inspectors"},wp.element.createElement(o.d,null,wp.element.createElement(o.b,null,wp.element.createElement(o.a,null,wp.element.createElement("i",{className:"dashicons dashicons-dashboard"}),__("General","gutentor")),wp.element.createElement(o.a,null,wp.element.createElement("i",{className:"dashicons dashicons-admin-generic"}),__("Advanced","gutentor"))),wp.element.createElement(o.c,null,wp.hooks.applyFilters("gutentor_edit_before_item_tab",[],e),wp.element.createElement(b,{title:__("Block Items","gutentor"),initialOpen:!1},wp.element.createElement(h,null,wp.element.createElement(o.d,null,wp.element.createElement(o.b,null,wp.element.createElement(o.a,null,wp.element.createElement("i",{className:"dashicons dashicons-dashboard"}),__("General","gutentor")),wp.element.createElement(o.a,null,wp.element.createElement("i",{className:"dashicons dashicons-edit"}),__("Style","gutentor")),wp.element.createElement(o.a,null,wp.element.createElement("i",{className:"dashicons dashicons-admin-generic"}),__("Advanced","gutentor"))),wp.element.createElement(o.c,null,wp.hooks.applyFilters("gutentor_edit_general_tab_start",[],e),wp.hooks.applyFilters("gutentor_edit_enable_block_template",!0,e)&&wp.element.createElement(u.a,{label:__("Template","gutentor"),value:v,onChange:function(e){a({blockProgressBarTemplate:e})},options:wp.hooks.applyFilters("gutentor_edit_template_options",[{value:"progress-bar-template1",label:'<img src="'+gutentor.dirUrl+'/assets/img/templates/progress-bar/progress-bar-template-1.svg" />'},{value:"progress-bar-template2",label:'<img src="'+gutentor.dirUrl+'/assets/img/templates/progress-bar/progress-bar-template-2.svg" />'}],e)}),wp.hooks.applyFilters("gutentor_edit_general_tab_end",[],e)),wp.element.createElement(o.c,null,wp.hooks.applyFilters("gutentor_edit_style_tab_start",[],e),wp.hooks.applyFilters("gutentor_edit_style_tab_end",[],e)),wp.element.createElement(o.c,null,wp.hooks.applyFilters("gutentor_edit_items_advanced_options",[],e))))),wp.hooks.applyFilters("gutentor_edit_after_item_tab",[],e)),wp.element.createElement(o.c,null,wp.hooks.applyFilters("gutentor_edit_advanced_tab",[],e))))),wp.element.createElement(_,p({id:"section-"+m,className:wp.hooks.applyFilters("gutentor_edit_section_class",r()("gutentor-section","gutentor-progressbar",v||"",n),e)},Object(c.c)(y)),Object(i.d)(e),wp.hooks.applyFilters("gutentor_edit_before_container",[],e),wp.element.createElement("div",{className:wp.hooks.applyFilters("gutentor_edit_container_class",r()("grid-container"),e)},wp.hooks.applyFilters("gutentor_edit_before_repeater_items",[],e),wp.element.createElement(l.a,e),wp.hooks.applyFilters("gutentor_edit_after_repeater_items",[],e)),wp.hooks.applyFilters("gutentor_edit_after_container",[],e)))},save:function(e){var t=e.attributes,n=e.className,o=(e.setAttributes,t.blockID),a=t.blockSortableItems,l=t.blockProgressBarTemplate,i=t.blockSectionHtmlTag,s=t.blockComponentAnimation,u=t.blockItemsWrapAnimation,m=i;return wp.element.createElement(m,p({id:"section-"+o,className:wp.hooks.applyFilters("gutentor_save_section_class",r()("gutentor-section","gutentor-progressbar",l||"",n),e)},Object(c.c)(s)),wp.hooks.applyFilters("gutentor_save_before_container",[],e),wp.element.createElement("div",{className:wp.hooks.applyFilters("gutentor_save_container_class",r()("grid-container"),e)},wp.hooks.applyFilters("gutentor_save_before_repeater_items",[],e),wp.element.createElement("div",p({className:wp.hooks.applyFilters("gutentor_save_grid_row_class","grid-row gutentor-grid-item-wrap",e)},wp.hooks.applyFilters("gutentor_save_grid_row_attr",{},e),Object(c.c)(u)),a.map(function(t,n){return wp.element.createElement("div",{className:wp.hooks.applyFilters("gutentor_save_grid_column_class","gutentor-progressbar-column",e)},wp.element.createElement("div",{className:r()("gutentor-single-item","gutentor-single-item-"+n)},wp.hooks.applyFilters("gutentor_save_progress_bar_template_data",[],e,t,n)))}),wp.hooks.applyFilters("gutentor_save_after_single_item_data",[],e)),wp.hooks.applyFilters("gutentor_save_after_repeater_items",[],e)),wp.hooks.applyFilters("gutentor_save_after_container",[],e))}})},function(e,t,n){"use strict";n.d(t,"a",function(){return w});var o=n(19),a=n(20),r=n(21),l=n(23),i=n(24),s=n(25),c=n(41),u=n(22),p=n(35),m=n(28),g=n(31),d=n(30),f=n(29),b=n(17),h=n(149),v={blockID:{type:"string"},timestamp:{type:"number",default:0},gutentorBlockName:{type:"string"},blockSortableItems:{type:"array",default:[]}},w=Object.assign({},v,o.a,a.a,r.a,i.a,l.a,s.a,c.a,u.a,p.a,m.a,g.a,d.a,f.a,b.a,h.a)},function(e,t,n){"use strict";n.d(t,"a",function(){return o});var o={blockProgressBarTemplate:{type:"string",default:"progress-bar-template1",gCopy:!0},blockProgressBarEnableBarColor:{type:"boolean",default:!0,gCopy:!0},blockProgressBarBarColor:{type:"object",default:{hex:"#275cf6"},gCopy:!0},blockProgressBarNormalTrackColor:{type:"object",default:"",gCopy:!0},blockProgressBarTrackColor:{type:"object",default:"",gCopy:!0},blockProgressBarEnableTrackColor:{type:"boolean",default:!1,gCopy:!0},blockProgressBarScaleColor:{type:"object",default:"false",gCopy:!0},blockProgressBarEnableScaleColor:{type:"boolean",default:!1,gCopy:!0},blockProgressBarSize:{type:"number",default:10,gCopy:!0},blockProgressBarTextColor:{type:"object",gCopy:!0},blockProgressBarEnableTextColor:{type:"boolean",default:!1,gCopy:!0},blockProgressBarCircularSize:{type:"number",default:200,gCopy:!0},blockProgressBarStyle:{type:"string",default:"round",gCopy:!0},blockProgressBarAnimate:{type:"number",default:3e3,gCopy:!0},blockProgressBarLineWidth:{type:"number",default:4,gCopy:!0},blockProgressBarTypography:{type:"object",default:{fontType:"",systemFont:"",googleFont:"",customFont:"",fontSize:{desktop:"",tablet:"",mobile:""},fontWeight:"",textTransform:"",fontStyle:"",textDecoration:"",lineHeight:{desktop:"",tablet:"",mobile:""},letterSpacing:{desktop:"",tablet:"",mobile:""}},gCopy:!0},blockProgressBarHidePercentage:{type:"boolean",default:!1,gCopy:!0},blockProgressBarDesignAddOns:{type:"string",default:"default",gCopy:!0}}},function(e,t,n){"use strict";n.d(t,"a",function(){return h});var o=n(19),a=n(20),r=n(21),l=n(23),i=n(24),s=n(25),c=n(22),u=n(28),p=n(31),m=n(30),g=n(29),d=n(17),f=n(151),b={blockID:{type:"string"},timestamp:{type:"number",default:0},gutentorBlockName:{type:"string"},blockImageSliderTemplate:{type:"string",default:"imageSlider-template1",gCopy:!0},blockSortableItems:{type:"array",default:[]}},h=Object.assign({},b,o.a,a.a,r.a,i.a,l.a,s.a,c.a,u.a,p.a,m.a,g.a,d.a,f.a)},function(e,t,n){"use strict";n.d(t,"a",function(){return o});var o={blockImageSliderImageDisplayOptions:{type:"string",default:"normal-image",gCopy:!0},blockImageSliderBgImageOptions:{type:"object",default:{backgroundImage:"",desktopHeight:650,tabletHeight:450,mobileHeight:300,backgroundSize:"cover",backgroundPosition:"center",backgroundRepeat:"no-repeat",backgroundAttachment:"scroll"},gCopy:!0},blockImageSliderBgColorHeight:{type:"object",default:{type:"px",desktop:550,tablet:450,mobile:300},gCopy:!0},blockImageSliderImageOverlayColor:{type:"object",default:{enable:!1,normal:"",hover:""},gCopy:!0},blockImageSliderCaptionAlign:{type:"string",default:"text-center",gCopy:!0},blockImageSliderCaptionEnable:{type:"boolean",default:!1},blockImageSliderInfinite:{type:"boolean",default:!1,gCopy:!0},blockImageSliderFade:{type:"boolean",default:!1,gCopy:!0},blockImageSliderAutoPlay:{type:"boolean",default:!0,gCopy:!0},blockImageSliderAutoPlaySpeed:{type:"number",default:500,gCopy:!0},blockImageSliderSpeed:{type:"number",default:300,gCopy:!0},blockImageSliderEnableDotsOptions:{type:"boolean",default:!1},blockImageSliderEnableAdditionalDotsOptions:{type:"boolean",default:!1},blockImageSliderDots:{type:"boolean",default:!0},blockImageSliderDotsTablet:{type:"boolean",default:!1},blockImageSliderDotsMobile:{type:"boolean",default:!1},blockImageSliderDotsColor:{type:"object",default:{enable:!1,normal:"",hover:""},gCopy:!0},blockImageSliderDotsButtonBorder:{type:"object",default:{borderStyle:"none",borderTop:"",borderRight:"",borderBottom:"",borderLeft:"",borderColorNormal:"",borderColorHover:"",borderRadiusType:"px",borderRadiusTop:"",borderRadiusRight:"",borderRadiusBottom:"",borderRadiusLeft:""},gCopy:!0},blockImageSliderDotsButtonHeight:{type:"object",gCopy:!0},blockImageSliderDotsButtonWidth:{type:"object",gCopy:!0},blockImageEnableSliderArrowsOptions:{type:"boolean",default:!1},blockImageSliderEnableAdditionalArrowsOptions:{type:"boolean",default:!1},blockImageSliderArrows:{type:"boolean",default:!0},blockImageSliderArrowsTablet:{type:"boolean",default:!1},blockImageSliderArrowsMobile:{type:"boolean",default:!1},blockImageSliderArrowsBgColor:{type:"object",default:{enable:!1,normal:"",hover:""},gCopy:!0},blockImageSliderArrowsTextColor:{type:"object",default:{enable:!1,normal:"",hover:""},gCopy:!0},blockImageSliderNextArrow:{type:"object",default:{label:"fa-angle-right",value:"fas fa-angle-right",code:"f105"}},blockImageSliderPrevArrow:{type:"object",default:{label:"fa-angle-left",value:"fas fa-angle-left",code:"f104"}},blockImageSliderButtonIconSize:{type:"number",default:16,gCopy:!0},blockImageSliderArrowButtonHeight:{type:"object",default:{desktop:40,tablet:30,mobile:20},gCopy:!0},blockImageSliderArrowButtonWidth:{type:"object",default:{desktop:40,tablet:30,mobile:20},gCopy:!0},blockImageSliderArrowButtonBorder:{type:"object",default:{borderStyle:"none",borderTop:"",borderRight:"",borderBottom:"",borderLeft:"",borderColorNormal:"",borderColorHover:"",borderRadiusType:"px",borderRadiusTop:"",borderRadiusRight:"",borderRadiusBottom:"",borderRadiusLeft:""},gCopy:!0},blockImageSliderCaptionImageMargin:{type:"object",default:{type:"px",desktopTop:"",desktopRight:"",desktopBottom:"",desktopLeft:"",tabletTop:"",tabletRight:"",tabletBottom:"",tabletLeft:"",mobileTop:"",mobileRight:"",mobileBottom:"",mobileLeft:""},gCopy:!0},blockImageSliderEnableCaptionImageOptions:{type:"boolean",default:!1},blockImageSliderCaptionImageWidth:{type:"object",default:{type:"px",desktop:"",tablet:"",mobile:""},gCopy:!0}}},function(e,t,n){"use strict";n.d(t,"a",function(){return o});var o={blockCountDownEventDate:{type:"string"},blockCountDownEnablePosition:{type:"boolean",default:!1,gCopy:!0},blockCountDownContentPosition:{type:"string",default:"content-center",gCopy:!0},blockCountDownDaysText:{type:"string",default:"Days"},blockCountDownHoursText:{type:"string",default:"Hours"},blockCountDownMinutesText:{type:"string",default:"Minutes"},blockCountDownSecondText:{type:"string",default:"Second"},blockCountDownEventExpiredText:{type:"string",default:"Expired"},blockCountDownItemBgColor:{type:"boolean",default:{enable:!1,normal:"",hover:""},gCopy:!0},blockCountDownEnableWidth:{type:"boolean",default:!1,gCopy:!0},blockCountDownItemWidth:{type:"object",default:{type:"px",desktop:"",tablet:"",mobile:""},gCopy:!0},blockCountDownEnableHeight:{type:"boolean",default:!1,gCopy:!0},blockCountDownItemHeight:{type:"object",default:{type:"px",desktop:"",tablet:"",mobile:""},gCopy:!0},blockCountDownTimeColor:{type:"object",default:{enable:!1,normal:"",hover:""},gCopy:!0},blockCountDownTimePadding:{type:"object",default:{type:"px",desktopTop:"",desktopRight:"",desktopBottom:"",desktopLeft:"",tabletTop:"",tabletRight:"",tabletBottom:"",tabletLeft:"",mobileTop:"",mobileRight:"",mobileBottom:"",mobileLeft:""},gCopy:!0},blockCountDownTimeMargin:{type:"object",default:{type:"px",desktopTop:"",desktopRight:"",desktopBottom:"",desktopLeft:"",tabletTop:"",tabletRight:"",tabletBottom:"",tabletLeft:"",mobileTop:"",mobileRight:"",mobileBottom:"",mobileLeft:""},gCopy:!0},blockCountDownTypography:{type:"object",default:{fontType:"",systemFont:"",googleFont:"",customFont:"",fontSize:{desktop:"",tablet:"",mobile:""},fontWeight:"",textTransform:"",fontStyle:"",textDecoration:"",lineHeight:{desktop:"",tablet:"",mobile:""},letterSpacing:{desktop:"",tablet:"",mobile:""}},gCopy:!0},blockCountDownTextColor:{type:"object",default:{enable:!1,normal:"",hover:""},gCopy:!0},blockCountDownTextPadding:{type:"object",default:{type:"px",desktopTop:"",desktopRight:"",desktopBottom:"",desktopLeft:"",tabletTop:"",tabletRight:"",tabletBottom:"",tabletLeft:"",mobileTop:"",mobileRight:"",mobileBottom:"",mobileLeft:""},gCopy:!0},blockCountDownTextMargin:{type:"object",default:{type:"px",desktopTop:"",desktopRight:"",desktopBottom:"",desktopLeft:"",tabletTop:"",tabletRight:"",tabletBottom:"",tabletLeft:"",mobileTop:"",mobileRight:"",mobileBottom:"",mobileLeft:""},gCopy:!0},blockCountDownTextTypography:{type:"object",default:{fontType:"",systemFont:"",googleFont:"",customFont:"",fontSize:{desktop:"",tablet:"",mobile:""},fontWeight:"",textTransform:"",fontStyle:"",textDecoration:"",lineHeight:{desktop:"",tablet:"",mobile:""},letterSpacing:{desktop:"",tablet:"",mobile:""}},gCopy:!0},blockCountDownBorder:{type:"object",default:{borderStyle:"none",borderTop:"",borderRight:"",borderBottom:"",borderLeft:"",borderColorNormal:"",borderColorHover:"",borderRadiusType:"px",borderRadiusTop:"",borderRadiusRight:"",borderRadiusBottom:"",borderRadiusLeft:""},gCopy:!0}}},function(e,t,n){"use strict";n.d(t,"a",function(){return o});var __=wp.i18n.__,o={blockAuthorProfileDesignation:{type:"string",default:__("Designation","gutentor")},blockAuthorProfileDesignationEnable:{type:"boolean",default:!0,gCopy:!0},blockAuthorProfileDesignationTag:{type:"string",default:"p",gCopy:!0},blockAuthorProfileDesignationColor:{type:"object",default:{enable:!1,normal:"",hover:""},gCopy:!0},blockAuthorProfileDesignationTypography:{type:"object",default:{fontType:"default",systemFont:"",googleFont:"",customFont:"",desktopFontSize:"",tabletFontSize:"",mobileFontSize:"",fontWeight:"",textTransform:"",fontStyle:"",textDecoration:"",desktopLineHeight:"",tabletLineHeight:"",mobileLineHeight:"",desktopLetterSpacing:"",tabletLetterSpacing:"",mobileLetterSpacing:""},gCopy:!0},blockAuthorProfileDesignationMargin:{type:"object",default:{type:"px",desktopTop:"",desktopRight:"",desktopBottom:"",desktopLeft:"",tabletTop:"",tabletRight:"",tabletBottom:"",tabletLeft:"",mobileTop:"",mobileRight:"",mobileBottom:"",mobileLeft:""},gCopy:!0},blockAuthorProfileDesignationPadding:{type:"object",default:{type:"px",desktopTop:"",desktopRight:"",desktopBottom:"",desktopLeft:"",tabletTop:"",tabletRight:"",tabletBottom:"",tabletLeft:"",mobileTop:"",mobileRight:"",mobileBottom:"",mobileLeft:""},gCopy:!0},blockAuthorProfileCoverImageOptions:{type:"string",default:"default",gCopy:!0},blockAuthorProfileCoverBgColor:{type:"object",gCopy:!0},blockAuthorProfileCoverBgColorHeight:{type:"object",default:{type:"px",desktop:"250",tablet:"200",mobile:"150"},gCopy:!0},blockAuthorProfileCoverBgImage:{type:"object"},blockAuthorProfileCoverImageOverlay:{type:"object",default:{enable:!1,normal:"",hover:""},gCopy:!0},blockAuthorProfileCoverBgImageOptions:{type:"object",default:{backgroundImage:"",type:"px",desktopHeight:"",tabletHeight:"",mobileHeight:"",backgroundSize:"cover",backgroundPosition:"center",backgroundRepeat:"no-repeat",backgroundAttachment:"scroll"},gCopy:!0}}},function(e,t,n){"use strict";n.d(t,"a",function(){return _});var o=n(19),a=n(20),r=n(21),l=n(23),i=n(24),s=n(25),c=n(22),u=n(35),p=n(28),m=n(31),g=n(30),d=n(29),f=n(17),b=n(66),h=n(53),v=n(153),w=n(38),y={blockID:{type:"string"},timestamp:{type:"number",default:0},gutentorBlockName:{type:"string"},blockAuthorProfileTemplate:{type:"string",default:"author-profile-template1",gCopy:!0}},_=Object.assign({},y,o.a,a.a,v.a,u.a,r.a,i.a,l.a,s.a,c.a,p.a,m.a,g.a,d.a,f.a,h.a,w.a,b.a)},function(e,t,n){"use strict";n.d(t,"a",function(){return f});var o=n(19),a=n(20),r=n(21),l=n(22),i=n(28),s=n(31),c=n(30),u=n(29),p=n(17),m=n(77),g=n(38),d={blockID:{type:"string"},timestamp:{type:"number",default:0},gutentorBlockName:{type:"string"},blockCallToActionTemplate:{type:"string",default:"call-to-action-template1",gCopy:!0},imageBoxWidth:{type:"number",default:"",gCopy:!0}},f=Object.assign({},d,o.a,a.a,r.a,l.a,i.a,s.a,c.a,u.a,p.a,m.a,g.a)},function(e,t,n){"use strict";n.d(t,"a",function(){return d});var o=n(19),a=n(20),r=n(21),l=n(23),i=n(24),s=n(25),c=n(22),u=n(28),p=n(17),m=n(152),g={blockID:{type:"string"},timestamp:{type:"number",default:0},gutentorBlockName:{type:"string"},blockCountDownTemplate:{type:"string",default:"count-down-template1",gCopy:!0}},d=Object.assign({},g,o.a,a.a,r.a,i.a,l.a,s.a,c.a,u.a,p.a,m.a)},function(e,t){var n="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof window.msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto);if(n){var o=new Uint8Array(16);e.exports=function(){return n(o),o}}else{var a=new Array(16);e.exports=function(){for(var e,t=0;t<16;t++)0===(3&t)&&(e=4294967296*Math.random()),a[t]=e>>>((3&t)<<3)&255;return a}}},function(e,t){function n(e,t){var n=t||0,a=o;return[a[e[n++]],a[e[n++]],a[e[n++]],a[e[n++]],"-",a[e[n++]],a[e[n++]],"-",a[e[n++]],a[e[n++]],"-",a[e[n++]],a[e[n++]],"-",a[e[n++]],a[e[n++]],a[e[n++]],a[e[n++]],a[e[n++]],a[e[n++]]].join("")}for(var o=[],a=0;a<256;++a)o[a]=(a+256).toString(16).substr(1);e.exports=n},function(e,t,n){"use strict";n.d(t,"a",function(){return m});var o=n(19),a=n(20),r=n(21),l=n(23),i=n(24),s=n(25),c=n(22),u=n(17),p={blockID:{type:"string"},timestamp:{type:"number",default:0},gutentorBlockName:{type:"string"},id:{type:"string"},location:{type:"string",default:"La Sagrada Familia, Barcelona, Spain"},latitude:{type:"string"},longitude:{type:"string"},type:{type:"string",default:"roadmap",gCopy:!0},zoom:{type:"number",default:15,gCopy:!0},mapHeight:{type:"object",default:{type:"px",desktop:"250",tablet:"200",mobile:"150"},gCopy:!0},draggable:{type:"boolean",default:!0},mapTypeControl:{type:"boolean",default:!0,gCopy:!0},zoomControl:{type:"boolean",default:!0,gCopy:!0},fullscreenControl:{type:"boolean",default:!0,gCopy:!0},streetViewControl:{type:"boolean",default:!0,gCopy:!0},markers:{type:"array",default:[]},blockComponentTitleEnable:{type:"boolean",default:!1,gCopy:!0}},m=Object.assign({},p,o.a,a.a,r.a,i.a,l.a,s.a,c.a,u.a)},function(e,t,n){"use strict";n.d(t,"a",function(){return y});var o=n(19),a=n(20),r=n(21),l=n(23),i=n(24),s=n(25),c=n(41),u=n(22),p=n(35),m=n(28),g=n(31),d=n(30),f=n(29),b=n(17),h=n(53),v=n(38),__=wp.i18n.__,w={blockID:{type:"string"},timestamp:{type:"number",default:0},gutentorBlockName:{type:"string"},blockBlogTemplate:{type:"string",default:"blog-template1",gCopy:!0},blockBlogStyle:{type:"string",default:"blog-grid",gCopy:!0},postsToShow:{type:"number",default:6},entryMetaFontSize:{type:"number",default:14,gCopy:!0},order:{type:"string",default:"desc"},orderBy:{type:"string",default:"date"},categories:{type:"string",default:""},enablePostImage:{type:"boolean",default:!0,gCopy:!0},enablePostAuthor:{type:"boolean",default:!0,gCopy:!0},enablePostDate:{type:"boolean",default:!0,gCopy:!0},enablePostCategory:{type:"boolean",default:!0,gCopy:!0},gutentorBlogPostImageLink:{type:"boolean",default:!1,gCopy:!0},gutentorBlogPostImageLinkNewTab:{type:"boolean",default:!1,gCopy:!0},excerptLength:{type:"string",default:"100",gCopy:!0},buttonIcon:{type:"object",default:{label:"fa-book",value:4===gutentor.fontAwesomeVersion?"fa fa-book":"fas fa-book",code:"f108"}},buttonText:{type:"string",default:__("Read More","gutentor")},blockComponentTitleEnable:{type:"boolean",default:!0,gCopy:!0},entryMetaColor:{type:"object",default:{enable:!1,normal:"",hover:""},gCopy:!0},blockEntryMetaTypography:{type:"object",default:{fontType:"default",systemFont:"",googleFont:"",customFont:"",desktopFontSize:"",tabletFontSize:"",mobileFontSize:"",fontWeight:"",textTransform:"",fontStyle:"",textDecoration:"",desktopLineHeight:"",tabletLineHeight:"",mobileLineHeight:"",desktopLetterSpacing:"",tabletLetterSpacing:"",mobileLetterSpacing:""},gCopy:!0},blockEntryMetaMargin:{type:"object",default:{type:"px",desktopTop:"",desktopRight:"",desktopBottom:"",desktopLeft:"",tabletTop:"",tabletRight:"",tabletBottom:"",tabletLeft:"",mobileTop:"",mobileRight:"",mobileBottom:"",mobileLeft:""},gCopy:!0},blockEntryMetaPadding:{type:"object",default:{type:"px",desktopTop:"",desktopRight:"",desktopBottom:"",desktopLeft:"",tabletTop:"",tabletRight:"",tabletBottom:"",tabletLeft:"",mobileTop:"",mobileRight:"",mobileBottom:"",mobileLeft:""},gCopy:!0}},y=Object.assign({},w,o.a,a.a,r.a,i.a,l.a,s.a,c.a,u.a,p.a,m.a,g.a,d.a,f.a,b.a,h.a,v.a)},function(e,t,n){"use strict";n.d(t,"a",function(){return v});var o=n(19),a=n(20),r=n(21),l=n(23),i=n(24),s=n(25),c=n(22),u=n(35),p=n(28),m=n(31),g=n(30),d=n(29),f=n(17),b=n(38),h={blockID:{type:"string"},blockListTypeOption:{type:"string",default:"list-indicator-icon",gCopy:!0},blockDefaultListTypeOption:{type:"string",default:"list-style-circle",gCopy:!0},blockListItemIcon:{type:"object",default:{label:"fa-arrow-right",value:4===gutentor.fontAwesomeVersion?"fa fa-arrow-right":"fas fa-arrow-right",code:"f061"}},timestamp:{type:"number",default:0},gutentorBlockName:{type:"string"},blockListIndicatorImage:{type:"object",default:"",gCopy:!0},blockSortableItems:{type:"array",default:[]},blockListIconEnable:{type:"boolean",default:!0,gCopy:!0},blockListItemAlign:{type:"string",default:"text-left",gCopy:!0},blockListTemplate:{type:"string",default:"list-template1",gCopy:!0},blockListItemIconSize:{type:"number",default:20,gCopy:!0},blockListItemIconColor:{type:"object",default:{enable:!1,normal:{hex:"#275cf6",rgb:{r:"39",g:"92",b:"246",a:"1"}},hover:""},gCopy:!0},blockListItemIconMargin:{type:"object",default:{type:"px",desktopTop:"",desktopRight:"",desktopBottom:"",desktopLeft:"",tabletTop:"",tabletRight:"",tabletBottom:"",tabletLeft:"",mobileTop:"",mobileRight:"",mobileBottom:"",mobileLeft:""},gCopy:!0},blockListItemIconPadding:{type:"object",default:{type:"px",desktopTop:"",desktopRight:"",desktopBottom:"",desktopLeft:"",tabletTop:"",tabletRight:"",tabletBottom:"",tabletLeft:"",mobileTop:"",mobileRight:"",mobileBottom:"",mobileLeft:""},gCopy:!0}},v=Object.assign({},h,o.a,a.a,r.a,i.a,l.a,s.a,c.a,u.a,p.a,m.a,g.a,d.a,f.a,b.a)},function(e,t,n){"use strict";n.d(t,"a",function(){return h});var o=n(19),a=n(20),r=n(21),l=n(23),i=n(24),s=n(25),c=n(22),u=n(28),p=n(31),m=n(30),g=n(29),d=n(17),f=n(77),__=wp.i18n.__,b={blockID:{type:"string"},timestamp:{type:"number",default:0},gutentorBlockName:{type:"string"},blockShowMoreTemplate:{type:"string",default:"show-more-template1",gCopy:!0},blockShowLessButtonIcon:{type:"object",default:{label:"fa-book",value:4===gutentor.fontAwesomeVersion?"fa fa-book":"fas fa-book",code:"f108"}},blockShowLessButtonText:{type:"string",default:__("Show Less","gutentor")},blockShowLessButtonLink:{type:"string",default:"#"},blockShowLessButtonEnable:{type:"boolean",default:!0,gCopy:!0},blockShowLessButtonLinkOptions:{type:"object",default:{openInNewTab:!1,rel:""}},blockShowLessButtonColor:{type:"object",default:{enable:!0,normal:{hex:"#275cf6",rgb:{r:"39",g:"92",b:"246",a:"1"}},hover:{hex:"#1949d4",rgb:{r:"25",g:"73",b:"212",a:"1"}}},gCopy:!0},blockShowLessButtonTextColor:{type:"object",default:{enable:!0,normal:{hex:"#fff"},hover:""},gCopy:!0},blockShowLessButtonMargin:{type:"object",default:{type:"px",desktopTop:"",desktopRight:"",desktopBottom:"",desktopLeft:"",tabletTop:"",tabletRight:"",tabletBottom:"",tabletLeft:"",mobileTop:"",mobileRight:"",mobileBottom:"",mobileLeft:""},gCopy:!0},blockShowLessButtonPadding:{type:"object",default:{type:"px",desktopTop:"10",desktopRight:"15",desktopBottom:"10",desktopLeft:"15",tabletTop:"10",tabletRight:"15",tabletBottom:"10",tabletLeft:"15",mobileTop:"10",mobileRight:"15",mobileBottom:"10",mobileLeft:"15"},gCopy:!0},blockShowLessButtonIconOptions:{type:"object",default:{position:"hide",size:""},gCopy:!0},blockShowLessButtonIconMargin:{type:"object",default:{type:"px",desktopTop:"",desktopRight:"",desktopBottom:"",desktopLeft:"",tabletTop:"",tabletRight:"",tabletBottom:"",tabletLeft:"",mobileTop:"",mobileRight:"",mobileBottom:"",mobileLeft:""},gCopy:!0},blockShowLessButtonIconPadding:{type:"object",default:{type:"px",desktopTop:"",desktopRight:"",desktopBottom:"",desktopLeft:"",tabletTop:"",tabletRight:"",tabletBottom:"",tabletLeft:"",mobileTop:"",mobileRight:"",mobileBottom:"",mobileLeft:""},gCopy:!0},blockShowLessButtonBorder:{type:"object",default:{borderStyle:"",borderTop:"",borderRight:"",borderBottom:"",borderLeft:"",borderColorNormal:"",borderColorHover:"",borderRadiusType:"px",borderRadiusTop:"3",borderRadiusRight:"3",borderRadiusBottom:"3",borderRadiusLeft:"3"},gCopy:!0},blockShowLessButtonBoxShadow:{type:"object",default:{boxShadowColor:"",boxShadowX:"",boxShadowY:"",boxShadowBlur:"",boxShadowSpread:"",boxShadowPosition:""},gCopy:!0},blockShowLessButtonTypography:{type:"object",default:{fontType:"default",systemFont:"",googleFont:"",customFont:"",desktopFontSize:"14",tabletFontSize:"14",mobileFontSize:"14",fontWeight:"",textTransform:"normal",fontStyle:"",textDecoration:"",desktopLineHeight:"",tabletLineHeight:"",mobileLineHeight:"",desktopLetterSpacing:"",tabletLetterSpacing:"",mobileLetterSpacing:""},gCopy:!0},blockShowLessButtonClassName:{type:"string",default:"",gCopy:!0}},h=Object.assign({},b,o.a,a.a,r.a,i.a,l.a,s.a,c.a,u.a,p.a,m.a,g.a,d.a,f.a)},function(e,t,n){"use strict";n.d(t,"a",function(){return b});var o=n(19),a=n(20),r=n(21),l=n(23),i=n(24),s=n(25),c=n(22),u=n(28),p=n(30),m=n(29),g=n(17),d=n(38),f={blockID:{type:"string"},timestamp:{type:"number",default:0},gutentorBlockName:{type:"string"},blockNotificationType:{type:"string",default:"gutentor-notification-success",gCopy:!0}},b=Object.assign({},f,o.a,a.a,r.a,i.a,l.a,s.a,c.a,u.a,p.a,m.a,g.a,d.a)},function(e,t,n){"use strict";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 a(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(null!==e){var n=e.backgroundImage,o=e.mobileHeight,a=e.backgroundSize,r=e.backgroundPosition,l=e.backgroundRepeat,s=e.backgroundAttachment,c=e.type,u=c||"px";if(!t){return Object(i.c)("background-image",n?"url("+n.url+")":null)+Object(i.c)("height",o?o+u:null)+Object(i.c)("background-size",a||null)+Object(i.c)("background-position",r||null)+Object(i.c)("background-repeat",l||null)+Object(i.c)("background-attachment",s||null)}return Object(i.c)("height",o?o+u:null)+Object(i.c)("background-size",a||null)+Object(i.c)("background-position",r||null)+Object(i.c)("background-repeat",l||null)+Object(i.c)("background-attachment",s||null)}}function r(e,t){var n=e.desktopHeight,o=e.tabletHeight,a=e.mobileHeight,r=e.type,l=r||"px";return"mobile"===t?Object(i.c)("height",a?a+l:null):"tablet"===t?Object(i.c)("height",o?o+l:null):"desktop"===t?Object(i.c)("height",n?n+l:null):null}function l(e,t,n){var a=arguments.length>3&&void 0!==arguments[3]&&arguments[3],r=n.setAttributes,l=function(n,a){var l=Object.assign({},t);l[a]=n,r(o({},e,l))},i=t.backgroundImage,u=t.desktopHeight,g=t.tabletHeight,w=t.mobileHeight,y=t.backgroundSize,_=t.backgroundPosition,k=t.backgroundRepeat,E=t.backgroundAttachment,C=t.type;return wp.element.createElement("div",{className:"gutentor-single-background-image-wrap"},function(){var e="",t="";return a||(e=wp.element.createElement(m,null,wp.element.createElement("div",{className:"gutentor-bg-upload-wrap"},wp.element.createElement(p,{onSelect:function(e){return l(e,"backgroundImage")},allowedTypes:["image"],title:__("Select or Upload Background Image","gutentor"),render:function(e){var t=e.open;return wp.element.createElement(d,{className:"button button-primary",onClick:t},wp.element.createElement(f,{icon:"format-image"}),i?__("Change Image","gutentor"):__("Upload Image","gutentor"))}}),i&&wp.element.createElement("div",{className:"gutentor-bg-image-wrap"},wp.element.createElement("div",{className:"gutentor-bg-img-props-wrap"},wp.element.createElement(d,{className:"button",onClick:function(){return l("","backgroundImage")}},wp.element.createElement(f,{icon:"no-alt"}))))),i&&wp.element.createElement("div",{className:"gutentor-bg-image-wrap"},wp.element.createElement("p",null,wp.element.createElement("img",{src:i.url,alt:i.alt}))))),(i||a)&&(t=wp.element.createElement("div",{className:"gutentor-bg-img-props-wrap"},wp.element.createElement("label",{className:"gutentor-group-label"},__("Height","gutentor")),wp.element.createElement(v,{selected:C||"px",options:[{label:"%",value:"%"},{label:"px",value:"px"},{label:"vh",value:"vh"}],onChange:function(e){l(e,"type")}}),wp.element.createElement(s.d,null,wp.element.createElement(s.b,null,wp.element.createElement(s.a,null,wp.element.createElement("i",{className:"dashicons dashicons-desktop"})),wp.element.createElement(s.a,null,wp.element.createElement("i",{className:"dashicons dashicons-tablet"})),wp.element.createElement(s.a,null,wp.element.createElement("i",{className:"dashicons dashicons-smartphone"}))),wp.element.createElement(s.c,null,wp.element.createElement(h,{value:u,onChange:function(e){return l(e,"desktopHeight")},min:0,max:1e3})),wp.element.createElement(s.c,null,wp.element.createElement(h,{value:g,onChange:function(e){return l(e,"tabletHeight")},min:0,max:1e3})),wp.element.createElement(s.c,null,wp.element.createElement(h,{value:w,onChange:function(e){return l(e,"mobileHeight")},min:0,max:1e3}))),wp.element.createElement(b,{label:__("Background Size:","gutentor"),value:y||"default",onChange:function(e){return l(e,"backgroundSize")},options:c.g}),wp.element.createElement(b,{label:__("Background Position:","gutentor"),value:_||"default",onChange:function(e){return l(e,"backgroundPosition")},options:c.e}),wp.element.createElement(b,{label:__("Background Repeat:","gutentor"),value:k||"default",onChange:function(e){return l(e,"backgroundRepeat")},options:c.f}),wp.element.createElement(b,{label:__("Background Attachment:","gutentor"),value:E||"default",onChange:function(e){return l(e,"backgroundAttachment")},options:c.d}))),wp.element.createElement("div",{className:"gutentor-bg-main-wrap"},"",e,t)}())}n.d(t,"a",function(){return l}),n.d(t,"b",function(){return a}),n.d(t,"c",function(){return r});var i=n(1),s=n(2),c=n(9),__=wp.i18n.__,u=wp.blockEditor,p=u.MediaUpload,m=u.MediaUploadCheck,g=wp.components,d=g.Button,f=g.Dashicon,b=g.SelectControl,h=g.RangeControl,v=g.RadioControl},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function r(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function l(e){return d(g(e))}function i(e,t,n){if(e){t?t+=".json":t="block.json","object"===("undefined"===typeof e?"undefined":u(e))&&(e=1===n.count?JSON.stringify(e.shift(),void 0,4):JSON.stringify(e,void 0,4));var o=new Blob([e],{type:"text/json"}),a=document.createEvent("MouseEvents"),r=document.createElement("a");r.download=t,r.href=window.URL.createObjectURL(o),r.dataset.downloadurl=["text/json",r.download,r.href].join(":"),a.initMouseEvent("click",!0,!1,window,0,0,0,0,0,!1,!1,!1,!1,0,null),r.dispatchEvent(a)}}function s(){i(wp.data.select("core/block-editor").getBlocks(),"template",!1)}var c=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),u="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},__=wp.i18n.__,p=wp.plugins.registerPlugin,m=wp.blocks,g=m.serialize,d=m.parse,f=wp.compose.compose,b=wp.data.withSelect,h=wp.editPost.PluginBlockSettingsMenuItem,v=wp.element.Component,w=function(e){function t(){o(this,t);var e=a(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments));return e.exportBlocks=e.exportBlocks.bind(e),e}return r(t,e),c(t,[{key:"exportBlocks",value:function(){i(l(1===this.props.count?this.props.block:this.props.blocks),1===this.props.count?this.props.block.name:"",this.props)}},{key:"render",value:function(){return wp.element.createElement(h,{icon:"migrate",label:__("Export Block","gutentor"),onClick:this.exportBlocks})}}]),t}(v),y=f([b(function(e){var t=e("core/block-editor"),n=t.getSelectedBlockCount,o=t.getSelectedBlock,a=t.getMultiSelectedBlocks;return{count:n(),block:o(),blocks:a()}})])(w);gutentor.templateberg.active||p("gutentor-block-export",{render:y}),t.a=s},function(e,t,n){"use strict";function o(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,n){function o(a,r){try{var l=t[a](r),i=l.value}catch(e){return void n(e)}if(!l.done)return Promise.resolve(i).then(function(e){o("next",e)},function(e){o("throw",e)});e(i)}return o("next")})}}function a(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){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function i(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e,t){var n=e["gutentor-pf-"+t],o={bg_color:{normal:"rgba(25,116,210,1)",hover:"rgba(24,111,201,1)"},icon_color:{normal:"rgba(255,255,255,1)",hover:"rgba(255,255,255,1)"},icon:{code:"",label:"",value:""}};return n=n?JSON.parse(n):null,n&&n.bg_color&&("string"===typeof n.bg_color||n.bg_color instanceof String?o.bg_color.normal=n.bg_color:(n.bg_color.normal&&(o.bg_color.normal=n.bg_color.normal),n.bg_color.hover&&(o.bg_color.hover=n.bg_color.hover))),n&&n.icon_color&&("string"===typeof n.icon_color||n.icon_color instanceof String?o.icon_color.normal=n.icon_color:(n.icon_color.normal&&(o.icon_color.normal=n.icon_color.normal),n.icon_color.hover&&(o.icon_color.hover=n.icon_color.hover))),n&&n.icon&&("string"===typeof n.icon||n.icon instanceof String?(o.icon.label=n.icon,o.icon.value=n.icon):n.icon.value&&(o.icon.label=n.icon.value,o.icon.value=n.icon.value)),o}function c(e){var t="";for(var n in e)if(n.includes("gutentor-pf-")){("string"===typeof e[n]||e[n]instanceof String)&&(e[n]=JSON.parse(e[n]));var o=n.replace("gutentor-pf-",""),a=[".gutentor-post-format.gutentor-post-format-"+o+",",".gutentor-post-featured-format.gutentor-post-format-"+o+"{",Object(v.c)("color",e[n]&&e[n].icon_color&&e[n].icon_color.normal),Object(v.c)("background",e[n]&&e[n].bg_color&&e[n].bg_color.normal),"}",".gutentor-post-format.gutentor-post-format-"+o+":hover,",".gutentor-post-featured-format.gutentor-post-format-"+o+":hover{",Object(v.c)("color",e[n]&&e[n].icon_color&&e[n].icon_color.hover),Object(v.c)("background",e[n]&&e[n].bg_color&&e[n].bg_color.hover),"}"].join("\n");t+=a}return t}function u(e){var t="";for(var n in e)if(n.includes("gutentor-gt-")){("string"===typeof e[n]||e[n]instanceof String)&&(e[n]=e[n]?JSON.parse(e[n]):"");var o=n.replace("gutentor-gt-",""),a=void 0;if(window.gutentorSettings.globalTypography[n]=e[n],"body"===o){var r='[class*="wp-block-gutentor-"]';"global"===window.gutentorSettings.gutentor_gt_apply_options&&(r=".gutentor-active .editor-styles-wrapper"),a=[r+"{",Object(y.b)(e[n]),"}","@media only screen and (min-width: 768px) {",r+"{",Object(y.c)(e[n],"tablet"),"}","}","@media only screen and (min-width: 992px) {",r+"{",Object(y.c)(e[n],"desktop"),"}","}"].join("\n")}else if("button"===o)a=[".gutentor-button{",Object(y.b)(e[n]),"}","@media only screen and (min-width: 768px) {",".gutentor-button{",Object(y.c)(e[n],"tablet"),"}","}","@media only screen and (min-width: 992px) {",".gutentor-button{",Object(y.c)(e[n],"desktop"),"}","}"].join("\n");else{var l=".gutentor-gt-"+o+" .components-panel__body-title button";l+=',[class*="wp-block-gutentor-"] '+o,l+=',[class*="wp-block-gutentor-"] '+o+" a","global"===window.gutentorSettings.gutentor_gt_apply_options&&(l=".gutentor-gt-"+o+" .components-panel__body-title button",l+=",.gutentor-active "+o,l+=",.gutentor-active "+o+" a"),a=[l+"{",Object(y.b)(e[n]),"}","@media only screen and (min-width: 768px) {",l+"{",Object(y.c)(e[n],"tablet"),"}","}","@media only screen and (min-width: 992px) {",l+"{",Object(y.c)(e[n],"desktop"),"}","}"].join("\n")}t+=a}return t}function p(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n="",o={},a="[class*='wp-block-gutentor-']",r=t?".editor-styles-wrapper ":"",l="",i="",s="",c="";for(var u in e)if(u.includes("gutentor-gc-")){if("string"===typeof e[u]||e[u]instanceof String){var p=""===e[u]?"{}":e[u];e[u]=JSON.parse(p)}var m=u.replace("gutentor-gc-","");if(window.gutentorSettings.globalColor[u]=e[u],e[u]&&e[u].color&&e[u].color.enable)switch(m){case"body":i=[a+"{",Object(v.c)("color",e[u]&&e[u].color&&e[u].color.normal),"}"].join("\n");break;case"link":s=[a+" a{",Object(v.c)("color",e[u]&&e[u].color&&e[u].color.normal),"}",a+" a:hover{",Object(v.c)("color",e[u]&&e[u].color&&e[u].color.hover),"}"].join("\n");break;case"heading":c=[r+" "+a+" h1,\n "+r+" "+a+" h1 a,\n "+r+" "+a+" h2,\n "+r+" "+a+" h2 a,\n "+r+" "+a+" h3,\n "+r+" "+a+" h3 a,\n "+r+" "+a+" h4,\n "+r+" "+a+" h4 a,\n "+r+" "+a+" h5,\n "+r+" "+a+" h5 a,\n "+r+" "+a+" h6,\n "+r+" "+a+" h6 a{",Object(v.c)("color",e[u]&&e[u].color&&e[u].color.normal),"}"].join("\n");break;case"btn-bg":case"btn-txt":o[u]=e[u],l="";break;default:l=""}}return n+=i+s+c+l,n+=[a+" .gutentor-button,\n "+a+" .gutentor-post-button,\n "+a+" .gutentor-block-button{",Object(v.c)("color",o["gutentor-gc-btn-txt"]&&e["gutentor-gc-btn-txt"].color&&e["gutentor-gc-btn-txt"].color.normal),Object(v.c)("background",o["gutentor-gc-btn-bg"]&&e["gutentor-gc-btn-bg"].color&&e["gutentor-gc-btn-bg"].color.normal),"}",a+" .gutentor-button:hover,\n "+a+" .gutentor-post-button:hover,\n "+a+" .gutentor-block-button:hover{",Object(v.c)("color",o["gutentor-gc-btn-txt"]&&e["gutentor-gc-btn-txt"].color&&e["gutentor-gc-btn-txt"].color.hover),Object(v.c)("background",o["gutentor-gc-btn-bg"]&&e["gutentor-gc-btn-bg"].color&&e["gutentor-gc-btn-bg"].color.hover),"}"].join("\n")}function m(e){var t=(!(arguments.length>1&&void 0!==arguments[1])||arguments[1],"");for(var n in e)if(n.includes("gutentor-gw-")){var o=Number(e[n]);if(window.gutentorSettings.globalContainerWidth[n]=o,parseInt(o)&&parseInt(o)>0){var a=n.replace("gutentor-gw-",""),r=void 0;switch(a){case"mobile":r=576;break;case"tablet":r=768;break;case"desktop":r=992;break;case"large":r=1200}if(r){var l="\n @media (min-width: "+r+"px) {\n .grid-container {\n max-width: "+o+"px;\n }\n }";t+=l}}}return t}function g(e){var t=void 0,n="";return document.body.classList.contains("rtl")&&(n="-rtl"),t=4==e.gutentor_font_awesome_version?gutentor.dirUrl+"/assets/library/font-awesome-4.7.0/css/font-awesome.min"+n+".css":gutentor.dirUrl+"/assets/library/fontawesome/css/all.min"+n+".css",{id:"fontawesome-css",href:t}}n.d(t,"e",function(){return c}),n.d(t,"d",function(){return u}),n.d(t,"b",function(){return p}),n.d(t,"c",function(){return m});var d=n(33),f=n.n(d),b=n(14),h=n(2),v=n(1),w=n(5),y=n(8),_=n(3),k=n(516),E="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},C=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),__=wp.i18n.__,O=wp.components,j=O.RangeControl,x=O.PanelBody,I=O.PanelRow,T=O.SelectControl,F=O.BaseControl,B=O.TextControl,S=O.ToggleControl,N=wp.element,P=N.Component,A=N.Fragment,M=wp,D=M.apiFetch,H=lodash,L=H.isObject,R=H.isArray,V=[{label:"Heading 1",tag:"h1"},{label:"Heading 2",tag:"h2"},{label:"Heading 3",tag:"h3"},{label:"Heading 4",tag:"h4"},{label:"Heading 5",tag:"h5"},{label:"Heading 6",tag:"h6"},{label:"Body",tag:"body"},{label:"Button",tag:"button"}],W=["btn-txt","btn-bg","heading","body","link","cat-txt-default","cat-bg-default"],z=[{label:"Large Mobile",tag:"mobile",min:200,max:767},{label:"Tablet",tag:"tablet",min:400,max:991},{label:"Desktop",tag:"desktop",min:600,max:1199},{label:"Large Device",tag:"large",min:800,max:1e14}],G=function(e){function t(){r(this,t);var e=l(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments));e.changeSetting=e.changeSetting.bind(e),e.changePF=e.changePF.bind(e),e.getSettings=e.getSettings.bind(e),e.saveSettings=e.saveSettings.bind(e),e.setGlobalCSSOnHead=e.setGlobalCSSOnHead.bind(e);var n={gutentor_map_api:"",gutentor_force_load_block_assets:!1,gutentor_disable_wide_width_editor:!1,gutentor_tax_term_color:!1,gutentor_tax_term_image:!1,gutentor_load_optimized_css:!1,gutentor_font_awesome_version:"",gutentor_dynamic_style_location:"",gutentor_gt_apply_options:"",gutentor_color_palatte_options:"both",gutentor_color_palatte:""};return gutentor.postFormats&&gutentor.postFormats.map(function(e,t){n["gutentor-pf-"+e]={}}),V.map(function(e){n["gutentor-gt-"+e.tag]={}}),W.map(function(e,t){n["gutentor-gc-"+e]={}}),z.map(function(e,t){n["gutentor-gw-"+e.tag]=0}),e.state=n,e.settings,e}return i(t,e),C(t,[{key:"setGlobalCSSOnHead",value:function(){var e=c(this.state);Object(w.c)(g(this.state)),Object(w.b)("gutentor-global-pf-css",e),Object(w.b)("gutentor-global-editor-typography-css",u(this.state)),Object(w.b)("gutentor-global-editor-color-css",p(this.state)),Object(w.b)("gutentor-global-container-width-css",m(this.state))}},{key:"changeSetting",value:function(e,t){this.setState(a({},t,e))}},{key:"changePF",value:function(e,t,n){var o=arguments.length>3&&void 0!==arguments[3]&&arguments[3],a=this.state[t];a&&Object(v.i)(a)&&(a=JSON.parse(a)),a[n]||(a[n]=o?{}:""),o?(e&&e.rgb&&(e=Object(v.l)(e.rgb)),a[n][o]=e):a[n]=e,this.changeSetting(t,a)}},{key:"getSettings",value:function(){function e(){return t.apply(this,arguments)}var t=o(f.a.mark(function e(){var t,n,o,a,r,l,i;return f.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,D({path:"gutentor-self-api/v1/get_gutentor_settings"});case 2:for(t=e.sent,n=!0,o=!1,a=void 0,e.prev=6,r=Object.keys(t)[Symbol.iterator]();!(n=(l=r.next()).done);n=!0)i=l.value,"gutentor-gc-cat-txt-default"===i?t[i]=this.customParseData(t[i]):"gutentor-gc-cat-bg-default"===i&&(t[i]=this.customParseData(t[i]));e.next=14;break;case 10:e.prev=10,e.t0=e.catch(6),o=!0,a=e.t0;case 14:e.prev=14,e.prev=15,!n&&r.return&&r.return();case 17:if(e.prev=17,!o){e.next=20;break}throw a;case 20:return e.finish(17);case 21:return e.finish(14);case 22:this.settings=t;case 23:case"end":return e.stop()}},e,this,[[6,10,14,22],[15,,17,21]])}));return e}()},{key:"componentDidUpdate",value:function(){window.gutentorSettings.gutentor_gt_apply_options=this.state.gutentor_gt_apply_options,this.setGlobalCSSOnHead(),this.saveSettings()}},{key:"componentDidMount",value:function(){function e(){return t.apply(this,arguments)}var t=o(f.a.mark(function e(){var t,n,o=this;return f.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(this.settings){e.next=3;break}return e.next=3,this.getSettings();case 3:t=this.settings,n={gutentor_map_api:t.gutentor_map_api,gutentor_force_load_block_assets:t.gutentor_force_load_block_assets,gutentor_font_awesome_version:t.gutentor_font_awesome_version,gutentor_dynamic_style_location:t.gutentor_dynamic_style_location,gutentor_gt_apply_options:t.gutentor_gt_apply_options,gutentor_color_palatte_options:t.gutentor_color_palatte_options,gutentor_color_palatte:t.gutentor_color_palatte,gutentor_tax_term_color:!!t.gutentor_tax_term_color&&t.gutentor_tax_term_color,gutentor_disable_wide_width_editor:!!t.gutentor_disable_wide_width_editor&&t.gutentor_disable_wide_width_editor,gutentor_tax_term_image:!!t.gutentor_tax_term_image&&t.gutentor_tax_term_image,gutentor_load_optimized_css:!!t.gutentor_load_optimized_css&&t.gutentor_load_optimized_css},gutentor.postFormats&&gutentor.postFormats&&gutentor.postFormats.map(function(e,o){var a=s(t,e);n["gutentor-pf-"+e]=a}),V.map(function(e){t["gutentor-gt-"+e.tag]&&(n["gutentor-gt-"+e.tag]=o.customParseData(t["gutentor-gt-"+e.tag]))}),W.map(function(e){t["gutentor-gc-"+e]&&(n["gutentor-gc-"+e]=o.customParseData(t["gutentor-gc-"+e]))}),z.map(function(e,o){t["gutentor-gw-"+e.tag]&&(n["gutentor-gw-"+e.tag]=t["gutentor-gw-"+e.tag])}),this.setState(n);case 10:case"end":return e.stop()}},e,this)}));return e}()},{key:"stringify",value:function(e){return R(e)||L(e)?JSON.stringify(e):e}},{key:"saveSettings",value:function(){function e(){return t.apply(this,arguments)}var t=o(f.a.mark(function e(){var t,n,o,a=this;return f.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t=void 0,this.settings){e.next=7;break}return e.next=4,this.getSettings();case 4:t=this.settings,e.next=8;break;case 7:t=this.state;case 8:n={gutentor_map_api:t.gutentor_map_api,gutentor_force_load_block_assets:!!t.gutentor_force_load_block_assets,gutentor_font_awesome_version:t.gutentor_font_awesome_version,gutentor_dynamic_style_location:t.gutentor_dynamic_style_location,gutentor_gt_apply_options:t.gutentor_gt_apply_options,gutentor_color_palatte_options:t.gutentor_color_palatte_options,gutentor_color_palatte:t.gutentor_color_palatte,gutentor_tax_term_color:!!t.gutentor_tax_term_color,gutentor_disable_wide_width_editor:!!t.gutentor_disable_wide_width_editor,gutentor_tax_term_image:!!t.gutentor_tax_term_image,gutentor_load_optimized_css:!!t.gutentor_load_optimized_css},gutentor.postFormats&&gutentor.postFormats&&gutentor.postFormats.map(function(e){n["gutentor-pf-"+e]=t["gutentor-pf-"+e]?a.stringify(t["gutentor-pf-"+e]):""}),V.map(function(e){n["gutentor-gt-"+e.tag]=t["gutentor-gt-"+e.tag]?a.stringify(t["gutentor-gt-"+e.tag]):""}),W.map(function(e){n["gutentor-gc-"+e]=t["gutentor-gc-"+e]?a.stringify(t["gutentor-gc-"+e]):""}),z.map(function(e){n["gutentor-gw-"+e.tag]=t["gutentor-gw-"+e.tag]}),o=D({path:"gutentor-self-api/v1/set_gutentor_settings",method:"POST",data:{settings:n}});case 14:case"end":return e.stop()}},e,this)}));return e}()},{key:"customParseData",value:function(e){return e?"object"===("undefined"===typeof e?"undefined":E(e))?e:"string"===typeof e?JSON.parse(e):{}:{}}},{key:"capitalizeFirstLetter",value:function(e){return e.charAt(0).toUpperCase()+e.slice(1)}},{key:"capitalizeAllWordFirstLetter",value:function(e){return e=e.replace(/-/g," "),e.charAt(0).toUpperCase()+e.slice(1)}},{key:"getButtonControlLabel",value:function(e){var t="";return"btn-txt"===e?t=__("Text","gutentor"):"btn-bg"===e?t=__("Background","gutentor"):"cat-txt-default"===e?t=__("Text","gutentor"):"cat-bg-default"===e&&(t=__("Background","gutentor")),t}},{key:"gColorHoverNormalCondition",value:function(e){var t=!1;switch(e){case"heading":case"body":t=!1;break;case"button-text":case"button-background":case"link":t=!0}return t}},{key:"render",value:function(){var e=this,t=W?W.slice(0,2):"",n=W?W.slice(2,5):"",o=W?W.slice(5,7):"",a=function(t,n,o,a){return wp.element.createElement(_.a,{value:e.state,key1:t,key2:n,key3:o,label:__("Color","gutentor"),onChange:function(a){return e.changePF(a,t,n,o)},disableAlpha:a})};return wp.element.createElement(A,null,wp.element.createElement("h2",{className:"g-global-title"},__("Global Options","gutentor")),wp.element.createElement(x,{title:__("Global Color Palette","gutentor"),initialOpen:!0,className:"g-global-settings g-color-palette"},wp.element.createElement(k.a,{display:this.state.gutentor_color_palatte_options,onChange:function(t){e.changeSetting(t,"gutentor_color_palatte")},onChangeDisplay:function(t){e.changeSetting(t,"gutentor_color_palatte_options")}})),wp.element.createElement(x,{title:__("Global Typography","gutentor"),initialOpen:!1,className:"g-global-settings g-typography"},wp.element.createElement(I,{className:"gutentor-gt-apply-on"},wp.element.createElement(T,{label:__("Apply Typography Options on","gutentor"),value:this.state.gutentor_gt_apply_options,options:[{label:__("Global","gutentor"),value:"global"},{label:__("Gutentor Blocks Only","gutentor"),value:"gutentor"}],onChange:function(t){return e.changeSetting(t,"gutentor_gt_apply_options")}})),V.map(function(t,n){return wp.element.createElement(x,{title:t.label,initialOpen:!1,className:"gutentor-gt-"+t.tag},wp.element.createElement(I,null,Object(y.a)("gutentor-gt-"+t.tag,e.state["gutentor-gt-"+t.tag],e)))})),wp.element.createElement(x,{title:__("Global Color","gutentor"),initialOpen:!1,className:"g-global-settings g-global-color"},n.map(function(t,n){return wp.element.createElement(x,{title:e.capitalizeAllWordFirstLetter(t),initialOpen:!1},wp.element.createElement(S,{label:__("Enable Color","gutentor"),checked:!!(e.state["gutentor-gc-"+t]&&e.state["gutentor-gc-"+t].color&&e.state["gutentor-gc-"+t].color.enable)&&e.state["gutentor-gc-"+t].color.enable,onChange:function(){return e.changePF(!(e.state["gutentor-gc-"+t]&&e.state["gutentor-gc-"+t].color&&e.state["gutentor-gc-"+t].color.enable)||!e.state["gutentor-gc-"+t].color.enable,"gutentor-gc-"+t,"color","enable")}}),e.state["gutentor-gc-"+t]&&e.state["gutentor-gc-"+t].color&&e.state["gutentor-gc-"+t].color.enable&&wp.element.createElement(A,null,!e.gColorHoverNormalCondition(t)&&a("gutentor-gc-"+t,"color","normal"),e.gColorHoverNormalCondition(t)&&wp.element.createElement(h.d,null,wp.element.createElement(h.b,null,wp.element.createElement(h.a,null,__("Normal","gutentor")),wp.element.createElement(h.a,null,__("Hover","gutentor"))),wp.element.createElement(h.c,null,a("gutentor-gc-"+t,"color","normal")),wp.element.createElement(h.c,null,a("gutentor-gc-"+t,"color","hover")))))}),wp.element.createElement(x,{title:__("Button","gutentor"),initialOpen:!1},t.map(function(t,n){return wp.element.createElement(x,{title:e.getButtonControlLabel(t),initialOpen:!1},wp.element.createElement(S,{label:__("Enable Color","gutentor"),checked:!!(e.state["gutentor-gc-"+t]&&e.state["gutentor-gc-"+t].color&&e.state["gutentor-gc-"+t].color.enable)&&e.state["gutentor-gc-"+t].color.enable,onChange:function(){return e.changePF(!(e.state["gutentor-gc-"+t]&&e.state["gutentor-gc-"+t].color&&e.state["gutentor-gc-"+t].color.enable)||!e.state["gutentor-gc-"+t].color.enable,"gutentor-gc-"+t,"color","enable")}}),e.state["gutentor-gc-"+t]&&e.state["gutentor-gc-"+t].color&&e.state["gutentor-gc-"+t].color.enable&&wp.element.createElement(A,null,wp.element.createElement(h.d,null,wp.element.createElement(h.b,null,wp.element.createElement(h.a,null,__("Normal","gutentor")),wp.element.createElement(h.a,null,__("Hover","gutentor"))),wp.element.createElement(h.c,null,a("gutentor-gc-"+t,"color","normal")),wp.element.createElement(h.c,null,a("gutentor-gc-"+t,"color","hover")))))})),wp.element.createElement(x,{title:__("Category Color","gutentor"),initialOpen:!1},o.map(function(t,n){return wp.element.createElement(x,{title:e.getButtonControlLabel(t),initialOpen:!1},wp.element.createElement(S,{label:__("Enable Color","gutentor"),checked:!!(e.state["gutentor-gc-"+t]&&e.state["gutentor-gc-"+t].color&&e.state["gutentor-gc-"+t].color.enable)&&e.state["gutentor-gc-"+t].color.enable,onChange:function(){return e.changePF(!(e.state["gutentor-gc-"+t]&&e.state["gutentor-gc-"+t].color&&e.state["gutentor-gc-"+t].color.enable)||!e.state["gutentor-gc-"+t].color.enable,"gutentor-gc-"+t,"color","enable")}}),e.state["gutentor-gc-"+t]&&e.state["gutentor-gc-"+t].color&&e.state["gutentor-gc-"+t].color.enable&&wp.element.createElement(A,null,wp.element.createElement(h.d,null,wp.element.createElement(h.b,null,wp.element.createElement(h.a,null,__("Normal","gutentor")),wp.element.createElement(h.a,null,__("Hover","gutentor"))),wp.element.createElement(h.c,null,a("gutentor-gc-"+t,"color","normal")),wp.element.createElement(h.c,null,a("gutentor-gc-"+t,"color","hover")))))}))),wp.element.createElement(x,{title:__("Global Container Width","gutentor"),initialOpen:!1,className:"g-global-settings g-global-width"},z.map(function(t,n){return wp.element.createElement(j,{min:t.min,max:t.max,allowReset:!0,label:t.label,value:e.state["gutentor-gw-"+t.tag]&&parseInt(e.state["gutentor-gw-"+t.tag])>0?parseInt(e.state["gutentor-gw-"+t.tag]):"",onChange:function(n){e.changeSetting(n,"gutentor-gw-"+t.tag)}})})),gutentor.postFormats&&wp.element.createElement(x,{title:__("Post Format","gutentor"),initialOpen:!1,className:"g-global-settings g-post-formats"},gutentor.postFormats.map(function(t,n){return wp.element.createElement(x,{title:e.capitalizeFirstLetter(t)+__(" Icon","gutentor"),initialOpen:!1},wp.element.createElement(F,{label:__("Choose Icon","gutentor")},wp.element.createElement(b.a,{Icon:e.state["gutentor-pf-"+t]&&e.state["gutentor-pf-"+t].icon?e.state["gutentor-pf-"+t].icon:{},setIcon:function(n){return e.changePF(n,"gutentor-pf-"+t,"icon")}})),wp.element.createElement(F,{label:__("Background Color","gutentor")},wp.element.createElement(h.d,null,wp.element.createElement(h.b,null,wp.element.createElement(h.a,null,__("Normal","gutentor")),wp.element.createElement(h.a,null,__("Hover","gutentor"))),wp.element.createElement(h.c,null,a("gutentor-pf-"+t,"bg_color","normal")),wp.element.createElement(h.c,null,a("gutentor-pf-"+t,"bg_color","hover")))),wp.element.createElement(F,{label:__("Icon Color","gutentor")},wp.element.createElement(h.d,null,wp.element.createElement(h.b,null,wp.element.createElement(h.a,null,__("Normal","gutentor")),wp.element.createElement(h.a,null,__("Hover","gutentor"))),wp.element.createElement(h.c,null,a("gutentor-pf-"+t,"icon_color","normal")),wp.element.createElement(h.c,null,a("gutentor-pf-"+t,"icon_color","hover")))))})),wp.element.createElement(x,{title:__("General Options","gutentor"),initialOpen:!1,className:"g-global-settings g-general"},wp.element.createElement(I,null,wp.element.createElement(S,{label:__("Disable Wide Width Editor.","gutentor"),checked:this.state.gutentor_disable_wide_width_editor,onChange:function(){e.state.gutentor_disable_wide_width_editor?document.querySelector("body").classList.add("gutentor-wide-width"):document.querySelector("body").classList.remove("gutentor-wide-width"),e.changeSetting(!e.state.gutentor_disable_wide_width_editor,"gutentor_disable_wide_width_editor")}})),wp.element.createElement(I,null,wp.element.createElement(B,{label:__("Google Maps API Key","gutentor"),type:"text",placeholder:__("Google Maps API Key","gutentor"),value:this.state.gutentor_map_api,onChange:function(t){return e.changeSetting(t,"gutentor_map_api")}})),wp.element.createElement(I,null,__("Changing the API key effects all Google Map Embed blocks. You will have to refresh the page after changing your API keys.","gutentor")),wp.element.createElement(I,null,wp.element.createElement(T,{label:__("Font Awesome Version","gutentor"),value:this.state.gutentor_font_awesome_version,options:[{label:__("Font Awesome 5","gutentor"),value:5},{label:__("Font Awesome 4","gutentor"),value:4}],onChange:function(t){return e.changeSetting(t,"gutentor_font_awesome_version")}})),wp.element.createElement(I,null,wp.element.createElement(S,{label:__("By default category/taxonomy term does not have color options. Check this option to enable category/term color while adding/editing them.","gutentor"),checked:this.state.gutentor_tax_term_color,onChange:function(){return e.changeSetting(!e.state.gutentor_tax_term_color,"gutentor_tax_term_color")}})),wp.element.createElement(I,null,wp.element.createElement(S,{label:__("By default category/taxonomy term does not have image options. Check this option to enable category/term image while adding/editing them.","gutentor"),checked:this.state.gutentor_tax_term_image,onChange:function(){return e.changeSetting(!e.state.gutentor_tax_term_image,"gutentor_tax_term_image")}}))),wp.element.createElement(x,{title:__("Optimization","gutentor"),initialOpen:!1,className:"g-global-settings g-optimization"},wp.element.createElement(I,null,wp.element.createElement(T,{label:__("Dynamic CSS Options","gutentor"),value:this.state.gutentor_dynamic_style_location,options:[{label:__("Head","gutentor"),value:"head"},{label:__("File","gutentor"),value:"file"}],onChange:function(t){return e.changeSetting(t,"gutentor_dynamic_style_location")}})),wp.element.createElement(I,null,wp.element.createElement(S,{label:__("By default Gutentor Assets Only load on single page and post. By checking this box Gutentor Assets will load on all pages.","gutentor"),checked:this.state.gutentor_force_load_block_assets,onChange:function(){return e.changeSetting(!e.state.gutentor_force_load_block_assets,"gutentor_force_load_block_assets")}})),wp.element.createElement(I,null,wp.element.createElement(S,{label:__("Load single optimized css for post/page","gutentor"),checked:this.state.gutentor_load_optimized_css,onChange:function(){return e.changeSetting(!e.state.gutentor_load_optimized_css,"gutentor_load_optimized_css")}})),wp.element.createElement(I,null,__("You may need to purge and clear cache after you change optimization options.","gutentor"))))}}]),t}(P);t.a=G},function(e,t,n){"use strict";n.d(t,"a",function(){return a});var __=wp.i18n.__,o={gID:{type:"string"},gName:{type:"string",default:"gutentor/e0"},e0AT:{type:"string",default:__("Gutentor Simple Text","gutentor")},e0Tag:{type:"string",default:"p",gCopy:!0},e0Align:{type:"object",gCopy:!0},e0Color:{type:"object",gCopy:!0,default:{enable:!1,normal:"#000",hover:""}},e0Typography:{type:"object",gCopy:!0},e0Margin:{type:"object",gCopy:!0},e0Padding:{type:"object",gCopy:!0}},a=Object.assign({},o)},function(e,t,n){"use strict";n.d(t,"a",function(){return r});var o=n(32),__=wp.i18n.__,a=Object.assign({gID:{type:"string"},gName:{type:"string",default:"gutentor/e1"},e1AT:{type:"string",default:__("Gutentor Advanced Text","gutentor")},e1Tag:{type:"string",default:"p",gCopy:!0},e1LinkOpt:{type:"object",default:{openInNewTab:!1,rel:"",noFollow:!1,enableIconLink:"",iconLink:""}},e1OnDCap:{type:"boolean",gCopy:!0,default:!1},elAlign:{type:"object",gCopy:!0},elCAlign:{type:"object",gCopy:!0},elColor:{type:"object",gCopy:!0,default:{enable:!1,normal:"#000",hover:""}},elTypography:{type:"object",gCopy:!0},elMargin:{type:"object",gCopy:!0},elPadding:{type:"object",gCopy:!0},elOnWidth:{type:"boolean",gCopy:!0,default:!1},elWidth:{type:"object",gCopy:!0},elOnDesign:{type:"boolean",gCopy:!0,default:!1},elDesignPos:{type:"string",gCopy:!0,default:"divider-top"},elDesignType:{type:"string",gCopy:!0,default:"svg-divider"},elDesignBorderStyle:{type:"string",gCopy:!0,default:"solid"},elDesignBorderHeight:{type:"number",gCopy:!0,default:2},elDesignBorderColor:{type:"string",gCopy:!0,default:"#e0e0e0"},elDesignWidth:{type:"object",gCopy:!0},elDesignMargin:{type:"object",gCopy:!0},elDesignCustomImg:{type:"object",default:{url:"",alt:""},gCopy:!0},elDesignDefSVG:{type:"string",default:"",gCopy:!0},elDesignCustomSVG:{type:"string",default:"",gCopy:!0},elDesignOnBorderColor:{type:"boolean",gCopy:!0,default:!1},elDesignOnSvgColor:{type:"boolean",gCopy:!0,default:!1},elDesignSvgColor:{type:"string",gCopy:!0,default:"#e0e0e0"},elOnCapColor:{type:"boolean",gCopy:!0,default:!1},elCapColor:{type:"string",gCopy:!0,default:"#275cf6"},elOnCapBgColor:{type:"boolean",gCopy:!0,default:!1},elCapBgColor:{type:"string",gCopy:!0,default:"#275cf6"},elCapTypography:{type:"object",gCopy:!0},elCapMargin:{type:"object",gCopy:!0},elCapBorder:{type:"object",gCopy:!0},elCapPadding:{type:"object",gCopy:!0},e1Border:{type:"object",gCopy:!0},e1BxShadow:{type:"object",gCopy:!0}},o.a),r=Object.assign({},a)},function(e,t,n){"use strict";n.d(t,"a",function(){return r});var o=n(32),__=wp.i18n.__,a=Object.assign({gID:{type:"string"},gName:{type:"string",default:"gutentor/e2"},e2Align:{type:"object",gCopy:!0},e2DisableLinkOpt:{type:"boolean",default:!1},e2LinkOpt:{type:"object",default:{linkOption:"open-new-tab",openInNewTab:!1,rel:""}},e2Margin:{type:"object",gCopy:!0},e2Padding:{type:"object",default:{type:"px",dTop:"12",dRight:"25",dBottom:"12",dLeft:"25",tTop:"12",tRight:"25",tBottom:"12",tLeft:"25",mTop:"12",mRight:"25",mBottom:"12",mLeft:"25"},gCopy:!0},e2IconOpt:{type:"object",default:{position:"hide",size:14,tSize:14,mSize:14},gCopy:!0},e2IconMargin:{type:"object",gCopy:!0},e2IconPadding:{type:"object",gCopy:!0},e2IconTypography:{type:"object",default:{fontType:"default",desktopFontSize:"16",tabletFontSize:"16",mobileFontSize:"16",textTransform:"normal"},gCopy:!0},e2Icon:{type:"object",default:{label:"fa-book",value:4===gutentor.fontAwesomeVersion?"fa fa-book":"fas fa-book",code:"f108"}},e2Text:{type:"string",default:__("Gutentor Button","gutentor")},e2Link:{type:"string",default:"#"},e2ClassName:{type:"string",default:"",gCopy:!0},e2Layout:{type:"string",default:"",gCopy:!0},e2BgColor:{type:"object",default:{enable:!0,normal:"rgba(39, 92, 246, 1)",hover:"rgba(25, 73, 212, 1)"},gCopy:!0},e2TxtColor:{type:"object",default:{enable:!0,normal:"#fff",hover:""},gCopy:!0},e2Border:{type:"object",default:{rTypeN:"px",rTypeH:"px",rTopN:"3",rTopH:"3",rRightN:"3",rRightH:"3",rBottomN:"3",rBottomH:"3",rLeftN:"3",rLeftH:"3"},gCopy:!0},e2BoxShadow:{type:"object",gCopy:!0},e2RSetting:{type:"object",gCopy:!0},e2Size:{type:"object",default:"medium",gCopy:!0}},o.a),r=Object.assign({},a)},function(e,t,n){"use strict";n.d(t,"a",function(){return r});var o=n(32),a=Object.assign({gID:{type:"string"},gName:{type:"string",default:"gutentor/e3"},e3Limit:{type:"string",default:"1000",gCopy:!0},e3PreFix:{type:"string",default:""},e3PostFix:{type:"string",default:""},e3Typography:{type:"object",gCopy:!0},e3Duration:{type:"number",gCopy:!0},e3Color:{type:"object",default:{enable:!1,normal:"#275cf6",hover:""},gCopy:!0},e3OnWidth:{type:"boolean",default:!1,gCopy:!0},e3Width:{type:"object",default:{type:"px"},gCopy:!0},e3OnHeight:{type:"boolean",default:!1,gCopy:!0},e3Height:{type:"object",default:{type:"px"},gCopy:!0},e3Padding:{type:"object",gCopy:!0},e3Margin:{type:"object",gCopy:!0},e3Align:{type:"object",gCopy:!0},e3BgColor:{type:"object",default:{enable:!1,normal:"#fff",hover:""},gCopy:!0},e3Border:{type:"object",gCopy:!0},e3BoxShadow:{type:"object",gCopy:!0}},o.a),r=Object.assign({},a)},function(e,t,n){"use strict";n.d(t,"a",function(){return r});var o=n(32),a=Object.assign({blockID:{type:"string"},gName:{type:"string",default:"gutentor/e4"},id:{type:"string"},gID:{type:"string"},e4Loc:{type:"string",default:"La Sagrada Familia, Barcelona, Spain"},e4Lat:{type:"string"},e4Lon:{type:"string"},e4Type:{type:"string",default:"roadmap",gCopy:!0},e4Zoom:{type:"number",default:15,gCopy:!0},e4Height:{type:"object",default:{type:"px",desktop:250,tablet:200,mobile:150},gCopy:!0},e4Draggable:{type:"boolean",default:!0,gCopy:!0},e4TypeCtrl:{type:"boolean",default:!0,gCopy:!0},e4ZoomCtrl:{type:"boolean",default:!0,gCopy:!0},e4FullScrCtrl:{type:"boolean",default:!0,gCopy:!0},e4StreetViewCtrl:{type:"boolean",default:!0,gCopy:!0},e4Markers:{type:"array",default:[]},e4Margin:{type:"object",gCopy:!0},e4Padding:{type:"object",gCopy:!0}},o.a),r=Object.assign({},a)},function(e,t,n){"use strict";n.d(t,"a",function(){return r});var o=n(32),a=Object.assign({gID:{type:"string"},gName:{type:"string",default:"gutentor/e5"},e5Icon:{type:"object",default:{label:"fa-arrow-right",value:4===gutentor.fontAwesomeVersion?"fa fa-arrow-right":"fas fa-arrow-right",code:"f061"}},e5Size:{type:"object",gCopy:!0},e5Color:{type:"object",default:{enable:!0,normal:"#275cf6",hover:""},gCopy:!0},e5Style:{type:"string",default:"gutentor-icon-default",gCopy:!0},e5LinkOpt:{type:"object",default:{openInNewTab:!1,rel:"",noFollow:!1,enableIconLink:"",iconLink:""}},e5OnWidth:{type:"boolean",default:!1,gCopy:!0},e5Width:{type:"object",gCopy:!0},e5OnHeight:{type:"boolean",default:!1,gCopy:!0},e5Height:{type:"object",gCopy:!0},e5Padding:{type:"object",gCopy:!0},e5Margin:{type:"object",gCopy:!0},e5Align:{type:"object",gCopy:!0},e5BgColor:{type:"object",default:{enable:!1,normal:"#fff",hover:""},gCopy:!0},e5Border:{type:"object",gCopy:!0},e5BoxShadow:{type:"object",gCopy:!0}},o.a),r=Object.assign({},a)},function(e,t,n){"use strict";n.d(t,"a",function(){return r});var o=n(32),a=Object.assign({gID:{type:"string"},gName:{type:"string",default:"gutentor/e6"},e6RetinaImageURL:{type:"string"},e6ImgSrcOpt:{type:"string",default:"local-image"},e6Img:{type:"object",default:""},e6RetinaImg:{type:"object",default:""},e6OverlayColor:{type:"object",default:{enable:!1,normal:"rgba(39,92,246,0.2)",hover:""},gCopy:!0},e6LinkOpt:{type:"object",default:{openInNewTab:!1,rel:"",imageLinkEnable:"",imageLink:"",noFollow:!1}},e6Style:{type:"string",default:"normal-image",gCopy:!0},e6BgProps:{type:"object",default:{size:"cover",pos:"center",repeat:"no-repeat",attachment:"scroll"},gCopy:!0},e6OnWidth:{type:"boolean",default:!1,gCopy:!0},e6Size:{type:"string",default:"full",gCopy:!0},e6OnWidthHeight:{type:"boolean",default:!1,gCopy:!0},e6Width:{type:"object",gCopy:!0},e6OnHeight:{type:"boolean",default:!1,gCopy:!0},e6Height:{type:"object",gCopy:!0},e6Padding:{type:"object",gCopy:!0},e6Margin:{type:"object",gCopy:!0},e6Align:{type:"object",gCopy:!0},e6Border:{type:"object",gCopy:!0},e6BoxShadow:{type:"object",gCopy:!0}},o.a),r=Object.assign({},a)},function(e,t,n){"use strict";n.d(t,"a",function(){return r});var o=n(32),a=Object.assign({gID:{type:"string"},gName:{type:"string",default:"gutentor/e7"},e7Type:{type:"string",default:"list-indicator-icon",gCopy:!0},e7DefaultType:{type:"string",default:"list-style-circle",gCopy:!0},e7Icon:{type:"object",default:{label:"fa-arrow-right",value:4===gutentor.fontAwesomeVersion?"fa fa-arrow-right":"fas fa-arrow-right",code:"f061"},gCopy:!0},e7OnT:{type:"boolean",default:!0,gCopy:!0},e7TTag:{type:"string",default:"h3",gCopy:!0},e7TColor:{type:"object",default:{enable:!1,normal:"",hover:""},gCopy:!0},e7TTypography:{type:"object",gCopy:!0},e7TMargin:{type:"object",gCopy:!0},e7TPadding:{type:"object",gCopy:!0},e7BxColor:{type:"object",default:{enable:!0,normal:"",hover:""},gCopy:!0},e7BxBorder:{type:"object",gCopy:!0},e7BxShadow:{type:"object",gCopy:!0},e7BxMargin:{type:"object",gCopy:!0},e7BxPadding:{type:"object",gCopy:!0},e7ItemImage:{type:"object",default:"",gCopy:!0},e7SortableItem:{type:"array",default:[]},e7OnIcon:{type:"boolean",default:!0,gCopy:!0},e7IconColor:{type:"object",default:{enable:!1,normal:"#275cf6",hover:""},gCopy:!0},e7IconMargin:{type:"object",gCopy:!0},e7Align:{type:"object",gCopy:!0},e7IconSize:{type:"object",gCopy:!0},e7IconPadding:{type:"object",gCopy:!0},e7Col:{type:"object",default:{desktop:"grid-lg-12",tablet:"grid-md-12",mobile:"grid-12"},gCopy:!0},e7HideRowSpace:{type:"object",gCopy:!0},e7HideColSpace:{type:"object",gCopy:!0},e7OImgColor:{type:"object",default:{enable:!1,normal:"rgba(39,92,246,0.2)",hover:""},gCopy:!0},e7ImgPadding:{type:"object",gCopy:!0},e7ImgMargin:{type:"object",gCopy:!0},e7ImgBorder:{type:"object",gCopy:!0},e7ImgOnWidth:{type:"boolean",default:!1,gCopy:!0},e7ImgWidth:{type:"object",gCopy:!0},e7ImgOnHeight:{type:"boolean",default:!1,gCopy:!0},e7ImgHeight:{type:"object",gCopy:!0}},o.a),r=Object.assign({},a)},function(e,t,n){"use strict";n.d(t,"a",function(){return r});var o=n(32),a=Object.assign({gID:{type:"string"},gName:{type:"string",default:"gutentor/e8"},e8Align:{type:"object",gCopy:!0},e8CAlign:{type:"object",gCopy:!0},e8P:{type:"string",default:"0.00"},e8PColor:{type:"object",default:{enable:!1,normal:"",hover:""},gCopy:!0},e8PTypography:{type:"object",gCopy:!0},e8PMargin:{type:"object",gCopy:!0},e8PPadding:{type:"object",gCopy:!0},e8PD:{type:"string",default:"/mo"},e8OnDuration:{type:"boolean",default:!0,gCopy:!0},e8DMargin:{type:"object",gCopy:!0},e8DPadding:{type:"object",gCopy:!0},e8DTypography:{type:"object",gCopy:!0},e8DColor:{type:"object",default:{enable:!1,normal:"",hover:""},gCopy:!0},e8CIcon:{type:"string",default:"$"},e8CColor:{type:"object",default:{enable:!1,normal:"",hover:""},gCopy:!0},e8CMargin:{type:"object",gCopy:!0},e8CPadding:{type:"object",gCopy:!0},e8CTypography:{type:"object",gCopy:!0},e8CPos:{type:"string",default:"gutentor-default-currency",gCopy:!0},e8OnWidth:{type:"boolean",default:!1,gCopy:!0},e8Width:{type:"object",gCopy:!0},e8OnHeight:{type:"boolean",default:!1,gCopy:!0},e8Height:{type:"object",gCopy:!0},e8Margin:{type:"object",gCopy:!0},e8Padding:{type:"object",gCopy:!0},e8BgColor:{type:"object",default:{enable:!1,normal:"",hover:""},gCopy:!0},e8Border:{type:"object",gCopy:!0},e8BxShadow:{type:"object",gCopy:!0}},o.a),r=Object.assign({},a)},function(e,t,n){"use strict";n.d(t,"a",function(){return r});var o=n(32),a=Object.assign({gID:{type:"string"},gName:{type:"string",default:"gutentor/e9"},gTempName:{type:"string"},e9Style:{type:"string",default:"circular-progressbar",gCopy:!0},e9TxtPos:{type:"string",default:"text-inside",gCopy:!0},e9CStyle:{type:"string",default:"round",gCopy:!0},e9HStyle:{type:"string",default:"default",gCopy:!0},e9T:{type:"string",default:""},e9HidePercent:{type:"boolean",default:!1,gCopy:!0},e9Value:{type:"number",default:50},e9LineWidth:{type:"number",default:4,gCopy:!0},e9CAnimate:{type:"number",default:1e3,gCopy:!0},e9CSize:{type:"object",default:{type:"px",desktop:"100",tablet:"100",mobile:"80"},gCopy:!0},e9CDiameter:{type:"number",default:100,gCopy:!0},e9TTypography:{type:"object",gCopy:!0},e9TColor:{type:"object",default:{enable:!1,normal:"#fff",hover:""},gCopy:!0},e9OnWidth:{type:"boolean",default:!1,gCopy:!0},e9Width:{type:"object",gCopy:!0},e9OnHeight:{type:"boolean",default:!1,gCopy:!0},e9Height:{type:"object",gCopy:!0},e9Padding:{type:"object",gCopy:!0},e9Margin:{type:"object",gCopy:!0},e9Align:{type:"object",gCopy:!0},e9Color:{type:"object",default:{enable:!0,normal:"#275cf6"},gCopy:!0},e9TrackColor:{type:"object",default:{enable:!1,normal:"#000"},gCopy:!0},e9ScaleColor:{type:"object",default:{enable:!1,normal:"#000"},gCopy:!0},e9Border:{type:"object",gCopy:!0},e9BxShadow:{type:"object",gCopy:!0}},o.a),r=Object.assign({},a)},function(e,t,n){"use strict";n.d(t,"a",function(){return r});var o=n(32),a=Object.assign({gID:{type:"string"},gName:{type:"string",default:"gutentor/e10"},e10Icon:{type:"string",default:"<i class='far fa-star'>",gCopy:!0},e10Size:{type:"object",gCopy:!0},e10Spacing:{type:"object",gCopy:!0},e10MColor:{type:"object",default:{enable:!0,normal:"#275cf6",hover:""},gCopy:!0},e10UnMColor:{type:"object",default:{enable:!0,normal:"#DCDCDC",hover:""},gCopy:!0},e10Align:{type:"object",gCopy:!0},e10Scale:{type:"number",default:5},e10Val:{type:"number",default:3}},o.a),r=Object.assign({},a)},function(e,t,n){"use strict";n.d(t,"a",function(){return r});var o=n(32),a=Object.assign({gID:{type:"string"},gName:{type:"string",default:"gutentor/e11"},e11Src:{type:"string",default:"external-url"},e11Hold:{type:"string",default:"icon-holder"},e11Video:{type:"object"},e11ExtUrl:{type:"string",default:"https://www.youtube.com/watch?v=bGMi7L78hVk"},e11HoldI:{type:"object",default:{label:"fa-play",value:4===gutentor.fontAwesomeVersion?"fa fa-play":"fas fa-play",code:"f04b"}},e11HoldISize:{type:"object",gCopy:!0},e11HoldIColor:{type:"object",default:{enable:!1,normal:{hex:"#275cf6",rgb:{r:"39",g:"92",b:"246",a:"1"}},hover:""},gCopy:!0},e11HoldIBGColor:{type:"object",default:{enable:!1,normal:"rgba(39,92,246,1)",hover:""},gCopy:!0},e11HoldIOnBorder:{type:"boolean",default:!1,gCopy:!0},e11HoldIBorder:{type:"object",gCopy:!0},e11HoldIBxShadow:{type:"object",gCopy:!0},e11HoldIPreFix:{type:"string",default:""},e11HoldIPostFix:{type:"string",default:""},e11PPColor:{type:"object",default:{enable:!1,normal:"",hover:""},gCopy:!0},e11PPTypography:{type:"object",gCopy:!0},e11OnBxWidth:{type:"boolean",default:!1,gCopy:!0},e11BxWidth:{type:"object",gCopy:!0},e11OnBxHeight:{type:"boolean",default:!1,gCopy:!0},e11BxHeight:{type:"object",gCopy:!0},e11Align:{type:"object",default:{mobile:"text-align-center"},gCopy:!0},e11OnRipple:{type:"boolean",default:!1,gCopy:!0},e11OnAnimation:{type:"boolean",default:!1,gCopy:!0},e11OnRippleColor:{type:"boolean",default:!1,gCopy:!0},e11RippleColor:{type:"string",gCopy:!0},e11OnImgWidth:{type:"boolean",default:!1,gCopy:!0},e11ImgWidth:{type:"object",gCopy:!0},e11OnImgHeight:{type:"boolean",default:!1,gCopy:!0},e11ImgHeight:{type:"object",gCopy:!0},e11ImgPadding:{type:"object",gCopy:!0},e11ImgMargin:{type:"object",gCopy:!0},e11ImgOverlayColor:{type:"object",default:{enable:!1,normal:"",hover:""},gCopy:!0}},o.a),r=Object.assign({},a)},function(e,t,n){"use strict";n.d(t,"a",function(){return r});var o=n(32),__=wp.i18n.__,a=Object.assign({gID:{type:"string"},gName:{type:"string",default:"gutentor/e12"},e12MaxPage:{type:"number",default:5},e12NIcon:{type:"object",default:{label:"fa-chevron-right",value:4===gutentor.fontAwesomeVersion?"fa fa-chevron-right":"fas fa-chevron-right",code:"f054"}},e12PIcon:{type:"object",default:{label:"fa-chevron-left",value:4===gutentor.fontAwesomeVersion?"fa fa-chevron-left":"fas fa-chevron-left",code:"f053"}},e12PText:{type:"string",default:__("Previous","gutentor")},e12NText:{type:"string",default:__("Next","gutentor")},e12IconSize:{type:"object",gCopy:!0},e12IconColor:{type:"object",default:{enable:!0,normal:"#333333",hover:"#ffffff",active:"#ffffff"},gCopy:!0},e12BgColor:{type:"object",default:{enable:!0,normal:"#eeeeee",hover:"#275cf6",active:"#275cf6"},gCopy:!0},e12OnBorder:{type:"boolean",default:!1,gCopy:!0},e12Border:{type:"object",gCopy:!0},e12BxShadow:{type:"object",gCopy:!0},e12TextColor:{type:"object",default:{enable:!0,normal:"#333333",hover:"#ffffff",active:"#ffffff"},gCopy:!0},e12Typography:{type:"object",gCopy:!0},e12Align:{type:"object",default:{mobile:"text-align-center"},gCopy:!0},e12Margin:{type:"object",gCopy:!0},e12Padding:{type:"object",gCopy:!0}},o.a),r=Object.assign({},a)},function(e,t,n){"use strict";n.d(t,"a",function(){return r});var o=n(32),a=Object.assign({gID:{type:"string"},gName:{type:"string",default:"gutentor/e13"},e13MaxPage:{type:"number",default:5,gCopy:!0},e13Align:{type:"object",default:{desktop:"text-align-right",tablet:"text-align-right",mobile:"text-align-left"},gCopy:!0},e13NIcon:{type:"object",default:{label:"fa-chevron-right",value:4===gutentor.fontAwesomeVersion?"fa fa-chevron-right":"fas fa-chevron-right",code:"f054"}},e13PIcon:{type:"object",default:{label:"fa-chevron-left",value:4===gutentor.fontAwesomeVersion?"fa fa-chevron-left":"fas fa-chevron-left",code:"f053"}},e13IconSize:{type:"object",default:{mobile:"14"},gCopy:!0},e13IconColor:{type:"object",default:{enable:!0,normal:{hex:"#333",rgb:{r:"51",g:"51",b:"51",a:"1"}},hover:{hex:"#fff",rgb:{r:"255",g:"255",b:"255",a:"1"}},active:""},gCopy:!0},e13BgColor:{type:"object",default:{enable:!0,normal:"#eeeeee",hover:"#275cf6",active:""},gCopy:!0},e13OnBorder:{type:"boolean",default:!1,gCopy:!0},e13Border:{type:"object",gCopy:!0},e13BxShadow:{type:"object",gCopy:!0},e13Margin:{type:"object",gCopy:!0},e13Padding:{type:"object",default:{mTop:"8",mRight:"12",mBottom:"8",mLeft:"12"},gCopy:!0}},o.a),r=Object.assign({},a)},function(e,t,n){"use strict";n.d(t,"a",function(){return r});var o=n(32),__=wp.i18n.__,a=Object.assign({gID:{type:"string"},gName:{type:"string",default:"gutentor/e14"},e14AllTxt:{type:"string",default:__("All","gutentor")},e14AllOpt:{type:"string",default:"all"},e14PostType:{type:"string",default:"post"},e14TaxType:{type:"string",default:"category"},e14TaxTerm:{type:"array"},e14Align:{type:"object",default:{desktop:"text-align-center",tablet:"text-align-center",mobile:"text-align-center"},gCopy:!0},e14BgColor:{type:"object",default:{enable:!1,normal:"rgba(39,92,246,1)",hover:""},gCopy:!0},e14OnBorder:{type:"boolean",default:!1,gCopy:!0},e14Border:{type:"object",gCopy:!0},e14BxShadow:{type:"object",gCopy:!0},e14Color:{type:"object",default:{enable:!0,normal:"#999999",hover:"#275cf6",active:"#1949d4"},gCopy:!0},e14Typography:{type:"object",gCopy:!0},e14Margin:{type:"object",gCopy:!0},e14Padding:{type:"object",gCopy:!0}},o.a),r=Object.assign({},a)},function(e,t,n){"use strict";n.d(t,"a",function(){return o});var o={mBGType:{type:"string",gCopy:!0},mBGImageSrc:{type:"string",default:"self-hosted-local",gCopy:!0},mBGImage:{type:"object",gCopy:!0},mBGImageUrl:{type:"string",default:"",gCopy:!0},mBGImageSizeType:{type:"string",default:"full",gCopy:!0},mBGVideoSrc:{type:"string",default:"self-hosted-local",gCopy:!0},mBGVideo:{type:"object",gCopy:!0},mBGVideoUrl:{type:"string",default:"https://www.youtube.com/watch?v=bGMi7L78hVk",gCopy:!0},mBGColor:{type:"object",gCopy:!0},mBGGradient:{type:"string",gCopy:!0},mBGImgSize:{type:"string",gCopy:!0},mBGImgPos:{type:"string",gCopy:!0},mBGImgRepeat:{type:"string",gCopy:!0},mBGImgAttach:{type:"string",gCopy:!0},mBGVideoLoop:{type:"boolean",default:!0,gCopy:!0},mBGVideoMute:{type:"boolean",default:!0,gCopy:!0},mOnOverlay:{type:"boolean",default:!1,gCopy:!0},mOverlayColor:{type:"object",gCopy:!0},mBxBorder:{type:"object",gCopy:!0},mMargin:{type:"object",gCopy:!0},mPadding:{type:"object",gCopy:!0},mBxShadow:{type:"object",gCopy:!0},mHideColSpace:{type:"object",gCopy:!0}}},function(e,t,n){"use strict";n.d(t,"a",function(){return l});var o=n(32),a=n(81),r=Object.assign({gID:{type:"string"},gName:{type:"string",default:"gutentor/e16"},e16Template:{type:"string",default:1,gCopy:!0},e16Col:{type:"number",default:3,gCopy:!0},e16FullWidthD:{type:"boolean",default:!1,gCopy:!0},e16FullWidthT:{type:"boolean",default:!1,gCopy:!0},e16FullWidthCol:{type:"boolean",default:!1,gCopy:!0},e16EqualColHeight:{type:"boolean",default:!1,gCopy:!0},e16Layout:{type:"object",default:{d:"fiveFiveTwo",t:"fiveFiveTwo",m:"fiveFiveTwo"},gCopy:!0},e16ICWidth:{type:"object",default:{d:[41,41,18],t:[41,41,18],m:[41,41,18]},gCopy:!0},e16BgColor:{type:"object",default:{enable:!1,normal:"#eeeeee",hover:"#275cf6"},gCopy:!0},e16OnBorder:{type:"boolean",default:!1,gCopy:!0},e16Border:{type:"object",gCopy:!0},e16BxShadow:{type:"object",gCopy:!0},e16Margin:{type:"object",gCopy:!0},e16Padding:{type:"object",gCopy:!0}},o.a),l=Object.assign({},r,a.a)},function(e,t,n){"use strict";n.d(t,"a",function(){return l});var o=n(32),a=n(81),r=Object.assign({gID:{type:"string"},gName:{type:"string",default:"gutentor/e17"},e17Template:{type:"string",default:1,gCopy:!0},e17FullWidthCol:{type:"boolean",default:!1,gCopy:!0},e17EqualColHeight:{type:"boolean",default:!1,gCopy:!0},e17Col:{type:"number",default:3,gCopy:!0},e17Layout:{type:"object",default:{d:"twelve",t:"twelve",m:"twelve"},gCopy:!0},e17ICWidth:{type:"object",default:{d:[100],t:[100],m:[100]},gCopy:!0},e17BgColor:{type:"object",default:{enable:!1,normal:"#eeeeee",hover:"#275cf6"},gCopy:!0},e17OnBorder:{type:"boolean",default:!1,gCopy:!0},e17Border:{type:"object",gCopy:!0},e17BxShadow:{type:"object",gCopy:!0},e17Margin:{type:"object",gCopy:!0},e17Padding:{type:"object",gCopy:!0}},o.a),l=Object.assign({},r,a.a)},function(e,t,n){"use strict";n.d(t,"a",function(){return a});var __=wp.i18n.__,o={gID:{type:"string"},gFilterId:{type:"string"},gName:{type:"string",default:"gutentor/e18"},e18Txt:{type:"string",default:__("Filter","gutentor")},e18Icon:{type:"object",default:{label:4===gutentor.fontAwesomeVersion?"fa fa-arrow-right":"fas fa-cog",value:4===gutentor.fontAwesomeVersion?"fa fa-arrow-right":"fas fa-cog",code:"f013"}},e18OnIcon:{type:"boolean",default:!1,gCopy:!0},e18IconPos:{type:"string",default:"right",gCopy:!0}},a=Object.assign({},o)},function(e,t,n){"use strict";n.d(t,"a",function(){return r});var o=n(32),__=wp.i18n.__,a=Object.assign({gID:{type:"string"},gName:{type:"string",default:"gutentor/e21"},e19IItmM:{type:"object",default:{type:"px",mTop:"0",mRight:"5",mBottom:"0",mLeft:"5"},gCopy:!0},e19IItmP:{type:"object",default:{type:"px",mTop:"0",mRight:"5",mBottom:"0",mLeft:"5"},gCopy:!0},e19IItmTxtTypography:{type:"object",gCopy:!0},e19IItmTxtC:{type:"object",default:{enable:!1,normal:"",hover:""},gCopy:!0},e19IItmBgC:{type:"object",default:{enable:!1,normal:"",hover:""},gCopy:!0},e19IItmAlign:{type:"object",gCopy:!0},e19IItmBr:{type:"object",gCopy:!0},e19IItmIconSz:{type:"object",gCopy:!0},e19IItmIconC:{type:"object",default:{enable:!1,normal:"",hover:""},gCopy:!0},e19IItmIconP:{type:"object",gCopy:!0},e19IItmIconM:{type:"object",default:{mLeft:"10"},gCopy:!0},e19IItmOnIcon:{type:"boolean",default:!1,gCopy:!0},e19IItmIconPos:{type:"string",default:"right",gCopy:!0},e19AllTxtOn:{type:"boolean",default:!0},e19AllTxt:{type:"string",default:__("All","gutentor")},e19AllTxtPos:{type:"string",default:"g-first",gCopy:!0},e19AllIcon:{type:"object",default:{label:4===gutentor.fontAwesomeVersion?"fa fa-arrow-right":"fas fa-cog",value:4===gutentor.fontAwesomeVersion?"fa fa-arrow-right":"fas fa-cog",code:"f013"}}},o.a),r=Object.assign({},a)},function(e,t,n){"use strict";n.d(t,"a",function(){return l});var o=n(32),a=n(81),r=Object.assign({gID:{type:"string"},gName:{type:"string",default:"gutentor/e20"},e20Temp:{type:"string",default:1,gCopy:!0},e20Col:{type:"number",default:3,gCopy:!0},e20FullWCol:{type:"boolean",default:!1,gCopy:!0},e20EqColH:{type:"boolean",default:!1,gCopy:!0},e20Layout:{type:"object",default:{d:"fiveFiveTwo",t:"fiveFiveTwo",m:"fiveFiveTwo"},gCopy:!0},e20ICW:{type:"object",default:{d:[41,41,18],t:[41,41,18],m:[41,41,18]},gCopy:!0},e20BgC:{type:"object",default:{enable:!1,normal:"#eeeeee",hover:"#275cf6"},gCopy:!0},e20OnBr:{type:"boolean",default:!1,gCopy:!0},e20Br:{type:"object",gCopy:!0},e20BxShad:{type:"object",gCopy:!0},e20M:{type:"object",gCopy:!0},e20P:{type:"object",gCopy:!0}},o.a),l=Object.assign({},r,a.a)},function(e,t,n){"use strict";n.d(t,"a",function(){return r});var o=(wp.i18n.__,{gID:{type:"string"},gName:{type:"string",default:"gutentor/e21"},e21Plch:{type:"string",default:""},e21Align:{type:"object",gCopy:!0},e21OnW:{type:"boolean",default:!0,gCopy:!0},e21W:{type:"object",default:{type:"%",mobile:100},gCopy:!0},e21OnH:{type:"boolean",default:!0,gCopy:!0},e21H:{type:"object",default:{type:"px",mobile:45},gCopy:!0},e21P:{type:"object",gCopy:!0},e21M:{type:"object",gCopy:!0},e21C:{type:"object",default:{enable:!1,normal:"",hover:""},gCopy:!0},e21BgC:{type:"object",default:{enable:!1,normal:"",hover:""},gCopy:!0},e21Br:{type:"object",default:{styleN:"solid",styleH:"solid",topN:"1",topH:"1",rightN:"1",rightH:"1",bottomN:"1",bottomH:"1",leftN:"1",leftH:"1",colorN:"#7e8993",colorH:"#32373c",rTypeN:"px",rTypeH:"px",rTopN:"4",rTopH:"4",rRightN:"4",rRightH:"4",rBottomN:"4",rBottomH:"4",rLeftN:"4",rLeftH:"4"},gCopy:!0},e21Otherinfo:{type:"object"}}),a={e21IconOn:{type:"boolean",default:!0},e21IconColor:{type:"object",default:{enable:!0,normal:"#fff",hover:"#fff"},gCopy:!0},e21IconBgColor:{type:"object",default:{enable:!0,normal:"#275cf6",hover:"#1949d4"},gCopy:!0},e21IconSize:{type:"object",gCopy:!0},e21IconOnWidth:{type:"boolean",default:!1},e21IconWidth:{type:"object",gCopy:!0},e21IconOnHeight:{type:"boolean",default:!1,gCopy:!0},e21IconHeight:{type:"object",gCopy:!0},e21IconPadding:{type:"object",default:{type:"px",dTop:"",dRight:"",dBottom:"",dLeft:"",tTop:"",tRight:"",tBottom:"",tLeft:"",mTop:"13",mRight:"15",mBottom:"13",mLeft:"15"},gCopy:!0},e21IconMargin:{type:"object",default:{type:"px",dTop:"",dRight:"",dBottom:"",dLeft:"",tTop:"",tRight:"",tBottom:"",tLeft:"",mTop:"",mRight:"",mBottom:"",mLeft:"10"},gCopy:!0},e21IconBorder:{type:"object",default:{styleN:"solid",styleH:"solid",topN:"1",topH:"1",rightN:"1",rightH:"1",bottomN:"1",bottomH:"1",leftN:"1",leftH:"1",colorN:"#275cf6",colorH:"#275cf6",rTypeN:"px",rTypeH:"px",rTopN:"4",rTopH:"4",rRightN:"4",rRightH:"4",rBottomN:"4",rBottomH:"4",rLeftN:"4",rLeftH:"4"},gCopy:!0},e21IconBoxShadow:{type:"object",gCopy:!0}},r=Object.assign({},o,a)},function(e,t,n){"use strict";n.d(t,"a",function(){return r});var o=n(39),a=(wp.i18n.__,{gID:{type:"string"},gName:{type:"string",default:"gutentor/m1"},m1Align:{type:"object",default:{desktop:"",tablet:"",mobile:""},gCopy:!0},m1Style:{type:"object",default:{desktop:"g-btn-horizontal",tablet:"g-btn-horizontal",mobile:"g-btn-horizontal"},gCopy:!0}}),r=Object.assign({},a,o.a)},function(e,t,n){"use strict";n.d(t,"a",function(){return r});var o=n(39),a=Object.assign({gID:{type:"string"},gName:{type:"string",default:"gutentor/m3"},m3Appender:{type:"boolean",default:!0},m3ParentNav:{type:"boolean",default:!1}},o.a),r=Object.assign({},a)},function(e,t,n){"use strict";var o=n(39),a=Object.assign({gID:{type:"string"},gName:{type:"string",default:"gutentor/m7"},m7TabLayout:{type:"string",default:"horizontal",gCopy:!0},m7TabDesign:{type:"string",default:"fill",gCopy:!0},m7Align:{type:"object",gCopy:!0},m7TabTxtColor:{type:"object",default:{enable:!0,normal:"#ffffff",hover:"#ffffff"},gCopy:!0},m7TabTypography:{type:"object",gCopy:!0},m7TabBxBorder:{type:"object",gCopy:!0},m7TabMargin:{type:"object",gCopy:!0},m7TabPadding:{type:"object",gCopy:!0},m7TabHPos:{type:"string",default:"gutentor-tabs-pos-top",gCopy:!0},m7TabVPos:{type:"string",default:"gutentor-tabs-left",gCopy:!0},m7IconPos:{type:"string",default:"right",gCopy:!0},m7IconSize:{type:"object",gCopy:!0},m7IconColor:{type:"object",default:{enable:!0,normal:"#FFFFFF",hover:"#FFFFFF"},gCopy:!0},m7TabBgColor:{type:"object",default:{enable:!0,normal:"rgba(39, 92, 246, 1)",hover:"rgba(25, 73, 212, 1)"},gCopy:!0},m7IconBgColor:{type:"object",default:{enable:!1,normal:"#fff",hover:""},gCopy:!0},m7IconPadding:{type:"object",gCopy:!0},m7IconMargin:{type:"object",default:{mLeft:"10"},gCopy:!0},m7IconBorder:{type:"object",gCopy:!0},m6IconBoxShadow:{type:"object",gCopy:!0},m7IconOnWidth:{type:"boolean",default:!1,gCopy:!0},m7IconWidth:{type:"object",gCopy:!0},m7IconOnHeight:{type:"boolean",default:!1,gCopy:!0},m7IconHeight:{type:"object",gCopy:!0},m7Tabs:{type:"number",default:3},m7NewActiveTab:{type:"number",default:0},m7TabTitles:{type:"array",default:[{title:"Tab 1",iconName:{label:"fas fa-cog",value:4===gutentor.fontAwesomeVersion?"fa fa-arrow-right":"fas fa-cog",code:"f013"}},{title:"Tab 2",iconName:{label:"fas fa-cog",value:4===gutentor.fontAwesomeVersion?"fa fa-arrow-right":"fas fa-cog",code:"f013"}},{title:"Tab 3",iconName:{label:"fas fa-cog",value:4===gutentor.fontAwesomeVersion?"fa fa-arrow-right":"fas fa-cog",code:"f013"}}]},m7EnableIcon:{type:"boolean",default:!1,gCopy:!0},m7BodyMargin:{type:"object",gCopy:!0},m7BodyPadding:{type:"object",default:{type:"px",mTop:"20",mRight:"20",mBottom:"20",mLeft:"20"},gCopy:!0},m7BodyBgColor:{type:"object",default:{enable:!1,normal:"#000",hover:""},gCopy:!0},m7BodyBxBorder:{type:"object",default:{styleN:"solid",styleH:"solid",topN:"1",topH:"1",rightN:"1",rightH:"1",bottomN:"1",bottomH:"1",leftN:"1",leftH:"1",colorN:"#275cf6",colorH:"#275cf6"},gCopy:!0}},o.a);t.a=a},function(e,t,n){"use strict";n.d(t,"a",function(){return a});var o=n(39),a=Object.assign({gID:{type:"string"},gName:{type:"string",default:"gutentor/m8"},m8Align:{type:"object",gCopy:!0}},o.a)},function(e,t,n){"use strict";n.d(t,"a",function(){return r});var o=n(39),a=Object.assign({gID:{type:"string"},gName:{type:"string",default:"gutentor/m9"},m9Text:{type:"string",default:""},m9TxtColor:{type:"object",default:{enable:!1,normal:"#000",hover:""},gCopy:!0},m9TxtBgColor:{type:"object",default:{enable:!1,normal:"#000",hover:""},gCopy:!0},m9TxtPadding:{type:"object",gCopy:!0},m9TxtOnHeight:{type:"boolean",default:!1,gCopy:!0},m9TxtHeight:{type:"object",gCopy:!0},m9TxtBorder:{type:"object",gCopy:!0},m9TxtBxShadow:{type:"object",gCopy:!0},m9BtnColor:{type:"object",default:{enable:!1,normal:"#000",hover:""},gCopy:!0},m9BtnBgColor:{type:"object",default:{enable:!1,normal:"#000",hover:""},gCopy:!0},m9BtnPadding:{type:"object",gCopy:!0},m9BtnOnHeight:{type:"boolean",default:!1,gCopy:!0},m9BtnHeight:{type:"object",gCopy:!0},m9BtnBorder:{type:"object",gCopy:!0},m9BtnBxShadow:{type:"object",gCopy:!0},m9TxtAreaPadding:{type:"object",gCopy:!0},m9TxtAreaOnHeight:{type:"boolean",default:!1,gCopy:!0},m9TxtAreaHeight:{type:"object",gCopy:!0},m9TxtAreaBorder:{type:"object",gCopy:!0},m9TxtAreaBxShadow:{type:"object",gCopy:!0},m9TxtAreaColor:{type:"object",default:{enable:!1,normal:"#000",hover:""},gCopy:!0},m9TxtAreaBgColor:{type:"object",default:{enable:!1,normal:"#000",hover:""},gCopy:!0},m9BtnTypography:{type:"object",gCopy:!0},m9LabelColor:{type:"object",default:{enable:!1,normal:"#000",hover:""},gCopy:!0},m9labelTypography:{type:"object",gCopy:!0},m9labelMargin:{type:"object",gCopy:!0},m9labelPadding:{type:"object",gCopy:!0},m9BtnRSetting:{type:"object",gCopy:!0}},o.a),r=Object.assign({},a)},function(e,t,n){"use strict";n.d(t,"a",function(){return a});var o=n(39),a=(wp.i18n.__,Object.assign({gID:{type:"string"},gName:{type:"string",default:"gutentor/m11"}},o.a))},function(e,t,n){"use strict";n.d(t,"a",function(){return _});var o=n(88),a=n(89),r=n(90),l=n(91),i=n(521),s=n(92),c=n(93),u=n(94),p=n(95),m=n(96),g=n(97),d=n(71),f=n(98),b=n(99),h=n(100),v=n(101),w=n(102),__=wp.i18n.__,y={gID:{type:"string"},pName:{type:"string"},pPostType:{type:"string",default:"post"},postsToShow:{type:"number",default:6},pTaxType:{type:"string"},pTaxTerm:{type:"array"},order:{type:"string",default:"desc"},orderBy:{type:"string",default:"date"},pMetaKey:{type:"string",default:""},pIncludePosts:{type:"string"},pExcludePosts:{type:"string"},pOffsetPosts:{type:"number"},pAuthor:{type:"array"},blockSortableItems:{type:"array",default:[{itemValue:"featured-image",itemLabel:__("Featured Image","gutentor")},{itemValue:"title",itemLabel:__("Title","gutentor")},{itemValue:"primary-entry-meta",itemLabel:__("Primary Entry Meta","gutentor")},{itemValue:"description",itemLabel:__("Description/Excerpt","gutentor")},{itemValue:"button",itemLabel:__("Button","gutentor")},{itemValue:"secondary-entry-meta",itemLabel:__("Secondary Entry Meta","gutentor")}]},pAvatarPosOpt:{type:"array",default:[{value:"g-avatar-img-t-l",label:__("Image Top Left","gutentor")},{value:"g-avatar-img-t-r",label:__("Image Top Right","gutentor")},{value:"g-avatar-img-b-l",label:__("Image Bottom Left","gutentor")},{value:"g-avatar-img-b-r",label:__("Image Bottom Right","gutentor")},{value:"g-avatar-b-title-l",label:__("Before Title Left","gutentor")},{value:"g-avatar-b-title-r",label:__("Before Title Right","gutentor")},{value:"g-avatar-sorting",label:__("Sorting","gutentor")}],gCopy:!0},timestamp:{type:"number",default:0},gName:{type:"string",default:"gutentor/p1"},p1Temp:{type:"string",default:"gutentor_p1_template1",gCopy:!0},gStyle:{type:"string",default:"gutentor-blog-grid",gCopy:!0},PExcerptLen:{type:"string",default:"100",gCopy:!0},pExcerptLenInWords:{type:"boolean",default:!1,gCopy:!0},blockItemsColumn:{type:"object",default:{desktop:"grid-lg-4",tablet:"grid-md-4",mobile:"grid-12"},gCopy:!0},p1FIBgProps:{type:"object",default:{size:"cover",pos:"center",repeat:"no-repeat",attachment:"scroll"},gCopy:!0},pContentMargin:{type:"object",gCopy:!0},pContentPadding:{type:"object",gCopy:!0},pContentBg:{type:"object",default:{enable:!1,normal:"#000",hover:""},gCopy:!0},pContentPos:{type:"object",default:{desktop:"g-pos-center",tablet:"g-pos-center",mobile:"g-pos-center"},gCopy:!0},pContOnWidth:{type:"boolean",gCopy:!0,default:!1},pContWidth:{type:"object",gCopy:!0},pBxOnHeight:{type:"boolean",gCopy:!0,default:!0},pBxHeight:{type:"object",default:{mobile:400},gCopy:!0},pM1BgColor:{type:"object",default:{enable:!1,normal:"#000",hover:""},gCopy:!0},pReverseContent:{type:"boolean",default:!1,gCopy:!0},p1CarouselOpt:{type:"object",default:{enable:!1},gCopy:!0},pOnColInList:{type:"boolean",default:!1,gCopy:!0},pContFooterM:{type:"object",gCopy:!0},pContFooterP:{type:"object",gCopy:!0},pContFooterBgColor:{type:"object",default:{enable:!1,normal:"#000",hover:""},gCopy:!0},pContFooterBr:{type:"object",gCopy:!0},pNoFoundTxt:{type:"string",default:"Nothing Found"}},_=Object.assign({},y,o.a,l.a,i.a,s.a,m.a,g.a,c.a,a.a,r.a,u.a,p.a,d.a,f.a,b.a,h.a,v.a,w.a)},function(e,t,n){"use strict";n.d(t,"a",function(){return y});var o=n(88),a=n(89),r=n(90),l=n(91),i=n(92),s=n(93),c=n(94),u=n(96),p=n(97),m=n(95),g=n(71),d=n(98),f=n(99),b=n(100),h=n(101),v=n(102),__=wp.i18n.__,w={gID:{type:"string"},pName:{type:"string"},gName:{type:"string",default:"gutentor/p2"},p2Temp:{type:"number"},pPostType:{type:"string",default:"post"},postsToShow:{type:"number"},pTaxType:{type:"string"},pTaxTerm:{type:"array"},order:{type:"string",default:"desc"},orderBy:{type:"string",default:"date"},pMetaKey:{type:"string",default:""},pIncludePosts:{type:"string"},pExcludePosts:{type:"string"},PExcerptLen:{type:"string",default:"100",gCopy:!0},pExcerptLenInWords:{type:"boolean",default:!1,gCopy:!0},pOffsetPosts:{type:"number"},pAuthor:{type:"array"},pContentMargin:{type:"object"},pContentPadding:{type:"object",default:{type:"px",mTop:"15",mRight:"15",mBottom:"15",mLeft:"15"},gCopy:!0},pM1BgColor:{type:"object",default:{type:"px",mTop:"15",mRight:"15",mBottom:"15",mLeft:"15"},gCopy:!0},pFImgOColor:{type:"object",default:{enable:!1,normal:"",hover:""},gCopy:!0},p1BgProps:{type:"object",default:{size:"cover",pos:"center",repeat:"no-repeat",attachment:"scroll"},gCopy:!0},pAvatarPosOpt:{type:"array",default:[{value:"g-avatar-img-t-l",label:__("Image Top Left","gutentor")},{value:"g-avatar-img-t-r",label:__("Image Top Right","gutentor")},{value:"g-avatar-img-b-l",label:__("Image Bottom Left","gutentor")},{value:"g-avatar-img-b-r",label:__("Image Bottom Right","gutentor")},{value:"g-avatar-b-title",label:__("Before Title","gutentor")},{value:"g-avatar-b-content",label:__("Before Content","gutentor")},{value:"g-avatar-b-button",label:__("Before Button","gutentor")}],gCopy:!0}},y=Object.assign({},w,o.a,l.a,i.a,u.a,m.a,p.a,s.a,a.a,r.a,c.a,g.a,d.a,f.a,b.a,h.a,v.a)},function(e,t,n){"use strict";n.d(t,"a",function(){return r});var o={p3Dots:{type:"boolean",default:!1,gCopy:!0},p3DotsT:{type:"boolean",default:!1,gCopy:!0},p3DotsM:{type:"boolean",default:!1,gCopy:!0},p3DotsColor:{type:"object",default:{enable:!1,normal:"",hover:""},gCopy:!0},p3DotsBr:{type:"object",gCopy:!0},p3DotsOnWidth:{type:"boolean",default:!1,gCopy:!0},p3DotsWidth:{type:"object",gCopy:!0},p3DotsOnHeight:{type:"boolean",default:!1,gCopy:!0},p3DotsHeight:{type:"object",gCopy:!0},p3ArrowNextIcon:{type:"object",default:{label:"fa-angle-right",value:4===gutentor.fontAwesomeVersion?"fa fa-angle-right":"fas fa-angle-right",code:"f105"}},p3ArrowPrevIcon:{type:"object",default:{label:"fa-angle-left",value:4===gutentor.fontAwesomeVersion?"fa fa-angle-left":"fas fa-angle-left",code:"f104"}},p3ArrowSize:{type:"object",gCopy:!0},p3ArrowOnWidth:{type:"boolean",default:!1,gCopy:!0},p3ArrowWidth:{type:"object",gCopy:!0},p3ArrowOnHeight:{type:"boolean",default:!1,gCopy:!0},p3ArrowHeight:{type:"object",gCopy:!0},p3ArrowBr:{type:"object",gCopy:!0},p3ArrowPosition:{type:"object",default:{desktop:"gutentor-slick-a-default",tablet:"gutentor-slick-a-default",mobile:"gutentor-slick-a-default"},gCopy:!0},p3Arrows:{type:"boolean",default:!0,gCopy:!0},p3ArrowsT:{type:"boolean",default:!0,gCopy:!0},p3ArrowsM:{type:"boolean",default:!0,gCopy:!0},p3ArrowBgColor:{type:"object",default:{enable:!1,normal:"",hover:""},gCopy:!0},p3ArrowTxtColor:{type:"object",default:{enable:!1,normal:"",hover:""},gCopy:!0},p3Infinite:{type:"boolean",default:!1,gCopy:!0},p3AutoPlay:{type:"boolean",default:!1,gCopy:!0},p3AutoPlaySpeed:{type:"number",default:3e3,gCopy:!0},p3SlideSpeed:{type:"number",default:300,gCopy:!0},p3SlideItem:{type:"object",default:{desktop:"3",tablet:"3",mobile:"2"},gCopy:!0},p3SlideScroll:{type:"object",default:{desktop:"3",tablet:"3",mobile:"2"},gCopy:!0},p3Cm:{type:"object",gCopy:!0},p3Draggable:{type:"boolean",default:!0,gCopy:!0},p3PauseOnFocus:{type:"boolean",default:!0,gCopy:!0},p3PauseOnHover:{type:"boolean",default:!0,gCopy:!0},p3SIMargin:{type:"object",gCopy:!0}},a=Object.assign({gID:{type:"string"},gName:{type:"string",default:"gutentor/p3"},mPID:{type:"string"}},o),r=Object.assign({},a)},function(e,t,n){"use strict";n.d(t,"a",function(){return a});var o=n(71),a=Object.assign({gID:{type:"string"},gName:{type:"string",default:"gutentor/p4"},p4PostId:{type:"number"},p4LoadAni:{type:"string",default:"gp4-animation-1",gCopy:!0},p4InnerBlock:{type:"string",default:"gutentor/p1"},p4MaxPage:{type:"number",default:5}},o.a)},function(e,t,n){"use strict";n.d(t,"a",function(){return r});var __=wp.i18n.__,o={mAnimation:{type:"object",default:{Animation:"none",Delay:"",Speed:"",IterationType:"1",Iteration:"1"},gCopy:!0},mHideMode:{type:"object",gCopy:!0},mBxBorder:{type:"object",gCopy:!0},mMargin:{type:"object",gCopy:!0},mPadding:{type:"object",gCopy:!0},mBxShadow:{type:"object",gCopy:!0},mTag:{type:"string",default:"section"},pID:{type:"string",default:""},mOnPos:{type:"boolean",default:!1,gCopy:!0},mPosTypeD:{type:"string",default:"g-pos-d",gCopy:!0},mPosOptD:{type:"string",default:"default",gCopy:!0},mPosMarginAutoD:{type:"boolean",default:!1,gCopy:!0},mPosTypeT:{type:"string",default:"g-pos-d",gCopy:!0},mPosOptT:{type:"string",default:"default",gCopy:!0},mPosMarginAutoT:{type:"boolean",default:!1,gCopy:!0},mPosTypeM:{type:"string",default:"g-pos-d",gCopy:!0},mPosOptM:{type:"string",default:"default",gCopy:!0},mPosMarginAutoM:{type:"boolean",default:!1,gCopy:!0},mPosD:{type:"object",gCopy:!0},mPosDWidth:{type:"object",default:{type:"%",width:""},gCopy:!0},mPosT:{type:"object",gCopy:!0},mPosTWidth:{type:"object",default:{type:"%",width:""},gCopy:!0},mPosM:{type:"object",gCopy:!0},mPosMWidth:{type:"object",default:{type:"%",width:""},gCopy:!0}},a={gID:{type:"string"},pPostType:{type:"string",default:"post"},postsToShow:{type:"number",default:6},pTaxType:{type:"string",default:"category"},pTaxTerm:{type:"array"},order:{type:"string",default:"desc"},orderBy:{type:"string",default:"date"},pMetaKey:{type:"string",default:""},pIncludePosts:{type:"string"},pExcludePosts:{type:"string"},pOffsetPosts:{type:"number"},pAuthor:{type:"array"},timestamp:{type:"number",default:0},gName:{type:"string",default:"gutentor/p5"},p5NewsTxt:{type:"string",default:__("News","gutentor")},p5Type:{type:"string",default:"marquee",gCopy:!0},p5Direction:{type:"string",default:"up",gCopy:!0},p5Speed:{type:"number",default:.05,gCopy:!0},p5PauseOnHover:{type:"boolean",default:!1,gCopy:!0},p5OnControl:{type:"boolean",default:!0,gCopy:!0},p5OnNewsTxt:{type:"boolean",default:!0,gCopy:!0},p5NewsTxtColor:{type:"object",default:{enable:!1,normal:"",hover:""},gCopy:!0},m5TxtBgColor:{type:"object",default:{enable:!1,normal:"275cf6",hover:""},gCopy:!0},m5ControlColor:{type:"object",default:{enable:!1,normal:"",hover:""},gCopy:!0},m5ControlBgColor:{type:"object",default:{enable:!1,normal:"275cf6",hover:""},gCopy:!0},p5ControlBorder:{type:"object",gCopy:!0},m5BgColor:{type:"object",default:{enable:!1,normal:"",hover:""},gCopy:!0},p5NewsTxtTypography:{type:"object",gCopy:!0},pOnTitle:{type:"boolean",default:!0,gCopy:!0},pTitleColor:{type:"object",default:{enable:!1,normal:"",hover:""},gCopy:!0},pTitleTypography:{type:"object",gCopy:!0},p5WrapPadding:{type:"object",gCopy:!0},p5WrapMargin:{type:"object",gCopy:!0},p5WrapBorder:{type:"object",gCopy:!0},p5WrapBoxShadow:{type:"object",gCopy:!0},p5WrapOnHeight:{type:"boolean",default:!1,gCopy:!0},p5WrapHeight:{type:"object",default:{type:"px"},gCopy:!0}},r=Object.assign({},a,o)},function(e,t,n){"use strict";n.d(t,"a",function(){return D});var o=n(88),a=n(89),r=n(90),l=n(91),i=n(92),s=n(93),c=n(94),u=n(96),p=n(97),m=n(71),g=n(95),d=n(522),f=n(523),b=n(524),h=n(525),v=n(526),w=n(527),y=n(528),_=n(529),k=n(530),E=n(531),C=n(532),O=n(533),j=n(98),x=n(99),I=n(100),T=n(101),F=n(102),B=n(534),S=n(535),N=n(536),P=n(537),A=n(538),__=wp.i18n.__,M={gID:{type:"string"},pPostType:{type:"string",default:"post"},postsToShow:{type:"number",default:6},pTaxType:{type:"string"},pTaxTerm:{type:"array"},order:{type:"string",default:"desc"},orderBy:{type:"string",default:"date"},pMetaKey:{type:"string",default:""},pIncludePosts:{type:"string"},pExcludePosts:{type:"string"},pOffsetPosts:{type:"number"},pAuthor:{type:"array"},blockSortableItems:{type:"array",default:[{itemValue:"featured-image",itemLabel:__("Featured Image","gutentor")},{itemValue:"title",itemLabel:__("Title","gutentor")},{itemValue:"primary-entry-meta",itemLabel:__("Primary Entry Meta","gutentor")},{itemValue:"description",itemLabel:__("Description/Excerpt","gutentor")},{itemValue:"button",itemLabel:__("Button","gutentor")},{itemValue:"secondary-entry-meta",itemLabel:__("Secondary Entry Meta","gutentor")}]},timestamp:{type:"number",default:0},pName:{type:"string"},gName:{type:"string",default:"gutentor/p6"},p6Temp:{type:"string",default:"gutentor_p6_template1",gCopy:!0},PExcerptLen:{type:"string",default:"100",gCopy:!0},pExcerptLenInWords:{type:"boolean",default:!1,gCopy:!0},pM1BgColor:{type:"object",default:{enable:!1,normal:"#000",hover:""},gCopy:!0},pNoFoundTxt:{type:"string",default:"Nothing Found"},pAvatarPosOpt:{type:"array",default:[{value:"g-avatar-img-t-l",label:__("Image Top Left","gutentor")},{value:"g-avatar-img-t-r",label:__("Image Top Right","gutentor")},{value:"g-avatar-img-b-l",label:__("Image Bottom Left","gutentor")},{value:"g-avatar-img-b-r",label:__("Image Bottom Right","gutentor")},{value:"g-avatar-sorting",label:__("Sorting","gutentor")}],gCopy:!0}},D=Object.assign({},M,o.a,l.a,i.a,u.a,p.a,s.a,g.a,a.a,r.a,c.a,m.a,d.a,f.a,b.a,h.a,v.a,w.a,y.a,_.a,k.a,E.a,C.a,O.a,j.a,x.a,I.a,T.a,F.a,B.a,S.a,N.a,P.a,A.a)},function(e,t,n){"use strict";n.d(t,"a",function(){return m});var o=n(202),a=n(203),r=n(204),l=n(205),i=n(206),s=n(207),c=n(208),u=n(39),__=wp.i18n.__,p={gID:{type:"string"},order:{type:"string",default:"desc"},orderBy:{type:"string",default:"date"},blockSortableItems:{type:"array",default:[{itemValue:"featured-image",itemLabel:__("Featured Image","gutentor")},{itemValue:"title",itemLabel:__("Title","gutentor")},{itemValue:"count",itemLabel:__("Count","gutentor")},{itemValue:"description",itemLabel:__("Description/Excerpt","gutentor")},{itemValue:"button",itemLabel:__("Button","gutentor")}]},timestamp:{type:"number",default:0},gName:{type:"string",default:"gutentor/t1"},pName:{type:"string"},t1Temp:{type:"string",default:"gutentor_t1_template1",gCopy:!0},termStyle:{type:"string",default:"gtf-grid",gCopy:!0},blockItemsColumn:{type:"object",default:{desktop:"grid-lg-4",tablet:"grid-md-4",mobile:"grid-12"},gCopy:!0},tRevCont:{type:"boolean",default:!1,gCopy:!0},t1CarouselOpt:{type:"object",default:{enable:!1},gCopy:!0},t2Temp:{type:"number"},t1Taxonomy:{type:"string",default:"category"},t1Order:{type:"string",default:"desc"},t1OrderBy:{type:"string",default:"date"},t1IncludeTerms:{type:"string"},t1ExcludeTerms:{type:"string"},t1Number:{type:"number",default:6},t1HideEmpty:{type:"boolean",default:!0},tOnCol:{type:"boolean",default:!1,gCopy:!0}},m=Object.assign({},p,o.a,a.a,r.a,l.a,i.a,s.a,c.a,u.a)},function(e,t,n){"use strict";n.d(t,"a",function(){return o});var __=wp.i18n.__,o={tBtnIconOpt:{type:"object",default:{position:"hide",size:""},gCopy:!0},tBtnIcon:{type:"object",default:{label:"fa-book",value:4===gutentor.fontAwesomeVersion?"fa fa-book":"fas fa-book",code:"f108"}},tBtnTxt:{type:"string",default:__("Read More","gutentor")},tBtnLink:{type:"object",default:{openInNewTab:!1,rel:""}},tBtnBxShad:{type:"object",gCopy:!0},tOnBtn:{type:"boolean",default:!1,gCopy:!0},tBtnC:{type:"object",default:{enable:!0,normal:"#275cf6",hover:"#1949d4"},gCopy:!0},tBtnTxtC:{type:"object",default:{enable:!0,normal:"#fff",hover:"#fff"},gCopy:!0},tBtnM:{type:"object",gCopy:!0},tBtnP:{type:"object",default:{type:"px",dTop:"10",dRight:"15",dBottom:"10",dLeft:"15",tTop:"10",tRight:"15",tBottom:"10",tLeft:"15",mTop:"10",mRight:"15",mBottom:"10",mLeft:"15"},gCopy:!0},tBtnIconM:{type:"object",gCopy:!0},tBtnIconP:{type:"object",gCopy:!0},tBtnBr:{type:"object",default:{rTypeN:"px",rTypeH:"px",rTopN:"3",rTopH:"3",rRightN:"3",rRightH:"3",rBottomN:"3",rBottomH:"3",rLeftN:"3",rLeftH:"3"},gCopy:!0},tBtnTypography:{type:"object",default:{fontType:"default",desktopFontSize:"16",tabletFontSize:"16",mobileFontSize:"16",textTransform:"normal"},gCopy:!0},tBtnCName:{type:"string",default:"",gCopy:!0}}},function(e,t,n){"use strict";n.d(t,"a",function(){return o});var o={tOnDesc:{type:"boolean",default:!1,gCopy:!0},tDescC:{type:"object",default:{enable:!1,normal:"",hover:""},gCopy:!0},tDescTypography:{type:"object",gCopy:!0},tDescM:{type:"object",gCopy:!0},tDescP:{type:"object",gCopy:!0},tExcerptLen:{type:"number",default:100,gCopy:!0},tExcerptLenInWords:{type:"boolean",default:!1,gCopy:!0}}},function(e,t,n){"use strict";n.d(t,"a",function(){return o});var o={tOnFImg:{type:"boolean",default:!0,gCopy:!0},tFImgSize:{type:"string",default:"full",gCopy:!0},tFImgOC:{type:"object",default:{enable:!1,normal:"",hover:""},gCopy:!0},tOnImgW:{type:"boolean",default:!1,gCopy:!0},tImgW:{type:"object",gCopy:!0},tOnImgH:{type:"boolean",default:!1,gCopy:!0},tImgH:{type:"object",gCopy:!0},tImgBgOpt:{type:"object",default:{backgroundImage:"",desktopHeight:"",tabletHeight:"",mobileHeight:"",type:"px",backgroundSize:"cover",backgroundPosition:"center",backgroundRepeat:"no-repeat",backgroundAttachment:"scroll"},gCopy:!0},t2BgProps:{type:"object",default:{size:"cover",pos:"center",repeat:"no-repeat",attachment:"scroll"},gCopy:!0},tOnImgDisplayOpt:{type:"boolean",default:!1},tImgDisplayOpt:{type:"string",default:"normal-image"},tOnImgBr:{type:"boolean",default:!1,gCopy:!0},tImgM:{type:"object",gCopy:!0},tImgP:{type:"object",gCopy:!0},tImgOnLink:{type:"boolean",default:!1},tImgOpenNewTab:{type:"boolean",default:!1},tImgLinkRel:{type:"string",default:"noopener noreferrer"},tImgClass:{type:"string",gCopy:!0},tOnImgBxW:{type:"boolean",default:!1,gCopy:!0},tImgBxW:{type:"object",gCopy:!0},tOnImgBxH:{type:"boolean",default:!1,gCopy:!0},tImgBxH:{type:"object",gCopy:!0},tImgBr:{type:"object",gCopy:!0}}},function(e,t,n){"use strict";n.d(t,"a",function(){return o});var o={t2ContentM:{type:"object",gCopy:!0},t2ContentP:{type:"object",default:{type:"px",mTop:"15",mRight:"15",mBottom:"15",mLeft:"15"},gCopy:!0}}},function(e,t,n){"use strict";n.d(t,"a",function(){return o});var o={tBxAlign:{type:"object",gCopy:!0},tBxC:{type:"object",default:{enable:!1,normal:"",hover:""},gCopy:!0},tBxBr:{type:"object",gCopy:!0},tBxSdw:{type:"object",gCopy:!0},tBxM:{type:"object",default:{type:"px"},gCopy:!0},tBxP:{type:"object",gCopy:!0}}},function(e,t,n){"use strict";n.d(t,"a",function(){return o});var o={tOnTitle:{type:"boolean",default:!0,gCopy:!0},tTitleTag:{type:"string",default:"h3",gCopy:!0},tTitleC:{type:"object",default:{enable:!1,normal:"",hover:""},gCopy:!0},tTitleTypography:{type:"object",gCopy:!0},tTitleM:{type:"object",gCopy:!0},tTitleP:{type:"object",gCopy:!0}}},function(e,t,n){"use strict";n.d(t,"a",function(){return o});var __=wp.i18n.__,o={tOnCount:{type:"boolean",default:!0,gCopy:!0},tCountOpt:{type:"object",default:{display:"bottom",prefix:"",suffix:__("Items","gutentor")}},tCountC:{type:"object",default:{enable:!1,normal:"",hover:""},gCopy:!0},tCountTypography:{type:"object",gCopy:!0},tCountM:{type:"object",gCopy:!0},tCountP:{type:"object",gCopy:!0}}},function(e,t,n){"use strict";n.d(t,"a",function(){return m});var o=n(202),a=n(203),r=n(204),l=n(205),i=n(206),s=n(207),c=n(208),u=n(39),p=(wp.i18n.__,{gID:{type:"string"},gName:{type:"string"},pName:{type:"string"},t2Temp:{type:"number"},t2Taxonomy:{type:"string",default:"category"},t2Order:{type:"string",default:"desc"},t2OrderBy:{type:"string",default:"date"},t2IncludeTerms:{type:"string"},t2ExcludeTerms:{type:"string"},t2Number:{type:"number"},t2HideEmpty:{type:"boolean",default:!0}}),m=Object.assign({},p,o.a,a.a,r.a,l.a,i.a,s.a,c.a,u.a)},function(e,t,n){"use strict";n.d(t,"a",function(){return r});var o=(wp.i18n.__,{t3Dots:{type:"boolean",default:!1},t3DotsT:{type:"boolean",default:!1},t3DotsM:{type:"boolean",default:!1,gCopy:!0},t3DotsColor:{type:"object",default:{enable:!1,normal:"",hover:""},gCopy:!0},t3DotsBr:{type:"object",gCopy:!0},t3DotsOnWidth:{type:"boolean",default:!1,gCopy:!0},t3DotsWidth:{type:"object",gCopy:!0},t3DotsOnHeight:{type:"boolean",default:!1,gCopy:!0},t3DotsHeight:{type:"object",gCopy:!0},t3ArrowPosition:{type:"object",default:{desktop:"gutentor-slick-a-default",tablet:"gutentor-slick-a-default",mobile:"gutentor-slick-a-default"},gCopy:!0},t3ArrowNextIcon:{type:"object",default:{label:"fa-angle-right",value:4===gutentor.fontAwesomeVersion?"fa fa-angle-right":"fas fa-angle-right",code:"f105"}},t3ArrowPrevIcon:{type:"object",default:{label:"fa-angle-left",value:4===gutentor.fontAwesomeVersion?"fa fa-angle-left":"fas fa-angle-left",code:"f104"}},t3ArrowSize:{type:"object",gCopy:!0},t3Arrows:{type:"boolean",default:!0},t3ArrowsT:{type:"boolean",default:!0},t3ArrowsM:{type:"boolean",default:!0},t3ArrowBgColor:{type:"object",default:{enable:!1,normal:"",hover:""},gCopy:!0},t3ArrowTxtColor:{type:"object",default:{enable:!1,normal:"",hover:""},gCopy:!0},t3ArrowOnWidth:{type:"boolean",default:!1,gCopy:!0},t3ArrowWidth:{type:"object",gCopy:!0},t3ArrowOnHeight:{type:"boolean",default:!1,gCopy:!0},t3ArrowHeight:{type:"object",gCopy:!0},t3ArrowBr:{type:"object",gCopy:!0},t3Infinite:{type:"boolean",default:!1},t3AutoPlay:{type:"boolean",default:!1},t3AutoPlaySpeed:{type:"number",default:3e3},t3SlideSpeed:{type:"number",default:300},t3SlideItem:{type:"object",default:{desktop:"3",tablet:"3",mobile:"2"}},t3SlideScroll:{type:"object",default:{desktop:"3",tablet:"3",mobile:"2"}},t3Cm:{type:"object",gCopy:!0},t3Draggable:{type:"boolean",default:!0,gCopy:!0},t3PauseOnFocus:{type:"boolean",default:!0,gCopy:!0},t3PauseOnHover:{type:"boolean",default:!0,gCopy:!0},t3SIMargin:{type:"object",gCopy:!0}}),a=Object.assign({gID:{type:"string"},gName:{type:"string",default:"gutentor/t3"},mPID:{type:"string"}},o),r=Object.assign({},a)},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function r(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function l(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){var t=e.position,n=e.size;return[l({},"gutentor-icon-"+t,t),l({},n,n)]}function s(e){var t=e.blockID,n=e.buttonColor,o=e.buttonTextColor,a=e.buttonMargin,r=e.buttonPadding,l=e.buttonIconOptions,i=e.buttonIconMargin,s=e.buttonIconPadding,c=e.buttonBorder,u=e.buttonBoxShadow,p=e.ButtonResponsiveSetting,v=e.buttonTypography,w=e.buttonClass;e.allProps;return["#section-"+t+" ."+w+"{",Object(m.c)("color",o.enable&&o.normal?o.normal.hex:null),Object(m.c)("background-color",n.enable&&n.normal&&n.normal.rgb?Object(m.l)(n.normal.rgb):null),Object(d.b)("margin",a),Object(d.b)("padding",r),Object(b.b)(c),Object(f.c)(u),Object(g.b)(v),Object(h.b)("width",p),"}","#section-"+t+" ."+w+":hover{",Object(m.c)("color",o.enable&&o.hover&&o.hover.hex?o.hover.hex:null),Object(m.c)("background-color",n.enable&&n.hover&&n.hover.rgb?Object(m.l)(n.hover.rgb):null),Object(b.c)(c),Object(f.a)(u),"}","#section-"+t+" ."+w+" .gutentor-button-icon{",Object(d.b)("margin",i),Object(d.b)("padding",s),Object(m.c)("font-size",l.size?l.size+"px":null),"}","@media only screen and (min-width: 768px) {","#section-"+t+" ."+w+"{",Object(d.b)("margin",a,"tablet"),Object(d.b)("padding",r,"tablet"),Object(g.c)(v,"tablet"),Object(h.b)("width",p,"tablet"),"}","#section-"+t+" ."+w+" .gutentor-button-icon{",Object(d.b)("margin",i,"tablet"),Object(d.b)("padding",s,"tablet"),"}","}","@media only screen and (min-width: 992px) {","#section-"+t+" ."+w+"{",Object(d.b)("margin",a,"desktop"),Object(d.b)("padding",r,"desktop"),Object(g.c)(v,"desktop"),Object(h.b)("width",p,"desktop"),"}","#section-"+t+" ."+w+" .gutentor-button-icon{",Object(d.b)("margin",i,"desktop"),Object(d.b)("padding",s,"desktop"),"}","}"].join("\n")}function c(e,t){return e?t.split(" ").includes("nofollow")||(t=t.replace(/nofollow/gi,""),t+=" nofollow"):t=t.replace(/nofollow/gi,""),t}function u(e,t,n){var o=n.setAttributes,a=function(n,a){var r=Object.assign({},t);if("rel"===a)r[a]=Object(m.k)(n);else if("openInNewTab"===a){r[a]=n,r.rel="noopener noreferrer"}else"nofollow"===a&&(r[a]=n);r.rel=c(r.nofollow,r.rel),o(l({},e,r))};return wp.element.createElement(j,{title:__("Link Options","gutentor"),initialOpen:!1},wp.element.createElement(x,null,wp.element.createElement(I,{label:__("Open in New Tab","gutentor"),checked:t.openInNewTab,onChange:function(){a(!t.openInNewTab,"openInNewTab")}}),wp.element.createElement(I,{label:__("Add Nofollow","gutentor"),checked:t.nofollow,onChange:function(){a(!t.nofollow,"nofollow")}}),wp.element.createElement(E,{label:__("Link Rel","gutentor"),type:"text",value:t.rel,onChange:function(e){return a(e,"rel")}})))}n.d(t,"b",function(){return S}),n.d(t,"c",function(){return i}),n.d(t,"a",function(){return s});var p=n(2),m=n(1),g=n(8),d=n(15),f=n(16),b=n(10),h=n(549),v=n(9),w=n(3),y=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),__=wp.i18n.__,_=wp.components,k=_.SelectControl,E=_.TextControl,C=_.BaseControl,O=_.FontSizePicker,j=_.PanelBody,x=_.PanelRow,I=_.ToggleControl,T=wp.element,F=T.Fragment,B=T.Component,S=function(e){function t(e){return o(this,t),a(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e))}return r(t,e),y(t,[{key:"render",value:function(){var e=this.props,t=e.buttonLinkOptionsKey,n=e.buttonLinkOptionsValue,o=e.buttonColorKey,a=e.buttonColorValue,r=e.buttonTextColorKey,i=e.buttonTextColorValue,s=e.buttonMarginKey,c=e.buttonMarginValue,y=e.buttonPaddingKey,_=e.buttonPaddingValue,T=e.buttonIconOptionsKey,B=e.buttonIconOptionsValue,S=e.buttonIconMarginKey,N=e.buttonIconMarginValue,P=e.buttonIconPaddingKey,A=e.buttonIconPaddingValue,M=e.buttonBorderKey,D=e.buttonBorderValue,H=e.buttonBoxShadowKey,L=e.buttonBoxShadowValue,R=e.buttonTypographyKey,V=e.buttonTypographyValue,W=e.buttonClassNameKey,z=e.buttonClassNameValue,G=e.buttonResponsiveSettingKey,U=e.buttonResponsiveSettingValue,q=(e.buttonResponsiveWidthKey,e.buttonResponsiveWidthValue,e.allProps),Y=q.setAttributes,K=[{name:__("XS","gutentor"),slug:"xs",size:14},{name:__("Small","gutentor"),slug:"small",size:16},{name:__("Normal","gutentor"),slug:"Normal",size:18},{name:__("Medium","gutentor"),slug:"medium",size:24},{name:__("Large","gutentor"),slug:"large",size:28},{name:__("XL","gutentor"),slug:"xl",size:32}];return wp.element.createElement(F,null,wp.hooks.applyFilters("gutentor_edit_before_button_options",[],q),u(t,n,q),wp.element.createElement(j,{title:__("Background Color","gutentor"),initialOpen:!1},wp.element.createElement(x,null,wp.element.createElement(I,{label:__("Enable Color","gutentor"),checked:a.enable,onChange:function(){Object(m.p)(o,"enable",a,!a.enable,Y)}}),a.enable&&wp.element.createElement(C,{label:__("Select Color","gutentor")},wp.element.createElement(p.d,null,wp.element.createElement(p.b,null,wp.element.createElement(p.a,null,__("Normal","gutentor")),wp.element.createElement(p.a,null,__("Hover","gutentor"))),wp.element.createElement(p.c,null,wp.element.createElement(w.a,{value:a,key1:"normal",label:__("Color","gutentor"),onChange:function(e){Object(m.p)(o,"normal",a,e,Y)},disableAlpha:!1})),wp.element.createElement(p.c,null,wp.element.createElement(w.a,{value:a,key1:"hover",label:__("Color","gutentor"),onChange:function(e){Object(m.p)(o,"hover",a,e,Y)},disableAlpha:!1})))))),wp.element.createElement(j,{title:__("Text Color","gutentor"),initialOpen:!1},wp.element.createElement(x,null,wp.element.createElement(I,{label:__("Enable Color","gutentor"),checked:i.enable,onChange:function(){Object(m.p)(r,"enable",i,!i.enable,Y)}}),i.enable&&wp.element.createElement(C,{label:__("Select Color","gutentor")},wp.element.createElement(p.d,null,wp.element.createElement(p.b,null,wp.element.createElement(p.a,null,__("Normal","gutentor")),wp.element.createElement(p.a,null,__("Hover","gutentor"))),wp.element.createElement(p.c,null,wp.element.createElement(w.a,{value:i,key1:"normal",label:__("Color","gutentor"),onChange:function(e){Object(m.p)(r,"normal",i,e,Y)},disableAlpha:!0})),wp.element.createElement(p.c,null,wp.element.createElement(w.a,{value:i,key1:"hover",label:__("Color","gutentor"),onChange:function(e){Object(m.p)(r,"hover",i,e,Y)},disableAlpha:!0})))))),wp.element.createElement(j,{title:__("Margin/Padding","gutentor"),initialOpen:!1},wp.element.createElement(x,null,wp.element.createElement(C,{label:__("Margin","gutentor")},Object(d.a)(s,c,q)),wp.element.createElement(C,{label:__("Padding","gutentor")},Object(d.a)(y,_,q)))),wp.element.createElement(j,{title:__("Icon","gutentor"),initialOpen:!1},wp.element.createElement(x,{className:"button-icon-position"},wp.element.createElement(k,{label:__("Icon Position","gutentor"),value:B.position,onChange:function(e){Object(m.p)(T,"position",B,e,Y)},options:v.o})),"hide"!==B.position&&wp.element.createElement(C,null,wp.hooks.applyFilters("gutentor_edit_button_icon_options",[],q),wp.element.createElement(x,null,wp.element.createElement(C,{className:"gutentor-hide-fontsizepicker-label"},wp.element.createElement(O,{value:B.size,fontSizes:K,fallbackFontSize:18,onChange:function(e){Object(m.p)(T,"size",B,e,Y)}}))),wp.element.createElement(x,null,wp.element.createElement(C,{label:__("Margin","gutentor")},Object(d.a)(S,N,q)),wp.element.createElement(C,{label:__("Padding","gutentor")},Object(d.a)(P,A,q))))),wp.element.createElement(j,{title:__("Border","gutentor"),initialOpen:!1},wp.element.createElement(x,null,Object(b.a)(M,D,q))),wp.element.createElement(j,{title:__("Box Shadow","gutentor"),initialOpen:!1},wp.element.createElement(x,null,Object(f.b)(H,L,q))),wp.element.createElement(j,{title:__("Typography","gutentor"),initialOpen:!1},wp.element.createElement(x,null,Object(g.a)(R,V,q))),wp.element.createElement(j,{title:__("Responsive Width","gutentor"),initialOpen:!1},wp.element.createElement(x,null,Object(h.a)(G,U,q))),wp.element.createElement(j,{title:__("Css Class","gutentor"),initialOpen:!1},wp.element.createElement(x,null,wp.element.createElement(E,{label:__("Space for multiple classes","gutentor"),value:z,onChange:function(e){Y(l({},W,e))}}))),wp.hooks.applyFilters("gutentor_edit_after_button_options",[],q))}}]),t}(B)},function(e,t,n){"use strict";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 a(e,t){return e?t.split(" ").includes("nofollow")||(t=t.replace(/nofollow/gi,""),t+=" nofollow"):t=t.replace(/nofollow/gi,""),t}function r(e,t,n){var r=n.setAttributes,i=function(n,i){var s=Object.assign({},t);if("rel"===i)s[i]=Object(l.k)(n);else if("openInNewTab"===i){s[i]=n,s.rel="noopener noreferrer"}else"nofollow"===i?s[i]=n:"enableIconLink"!==i&&"iconLink"!==i||(s[i]=n);s.rel=a(s.nofollow,s.rel),r(o({},e,s))};return wp.element.createElement(u,{title:__("Link Options","gutentor"),initialOpen:!1},wp.element.createElement(p,null,wp.element.createElement(m,{label:__("Enable Link","gutentor"),checked:t.enableIconLink,onChange:function(){i(!t.enableIconLink,"enableIconLink")}}),t.enableIconLink&&wp.element.createElement(d,null,wp.element.createElement(s,{label:__("URL","gutentor")},wp.element.createElement(g,{onChange:function(e){return i(e,"iconLink")},value:t.iconLink,placeholder:__("Enter Url, e.g https://www.gutentor.com/","gutentor")})),wp.element.createElement(m,{label:__("Open in New Tab","gutentor"),checked:t.openInNewTab,onChange:function(){i(!t.openInNewTab,"openInNewTab")}}),wp.element.createElement(m,{label:__("Add Nofollow","gutentor"),checked:t.nofollow,onChange:function(){i(!t.nofollow,"nofollow")}}),wp.element.createElement(c,{label:__("Link Rel","gutentor"),type:"text",value:t.rel,onChange:function(e){return i(e,"rel")}}))))}n.d(t,"a",function(){return r});var l=n(1),i=wp.components,s=i.BaseControl,c=i.TextControl,u=i.PanelBody,p=i.PanelRow,m=i.ToggleControl,g=wp.blockEditor.URLInput,d=wp.element.Fragment,__=wp.i18n.__},function(e,t,n){"use strict";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 a(e,t,n){var a=n.setAttributes,r=function(e){var t=["dWType","dWUnit","dCWidth","tWType","tWUnit","tCWidth","mWType","mWUnit","mCWidth"];for(var n in e)t.includes(n)?e[n]||delete e[n]:delete e[n];return e},i=function(n,l){var i=Object.assign({},t);i=r(i),i[l]=n,a(o({},e,i))},c=t&&t.dWType?t.dWType:"inherit",f=t&&t.dWUnit?t.dWUnit:"px",b=t&&t.dCWidth?t.dCWidth:"",h=t&&t.tWType?t.tWType:"inherit",v=t&&t.tWUnit?t.tWUnit:"px",w=t&&t.tCWidth?t.tCWidth:"",y=t&&t.mWType?t.mWType:"inherit",_=t&&t.mWUnit?t.mWUnit:"px",k=t&&t.mCWidth?t.mCWidth:"";return wp.element.createElement("div",{className:"gutentor-separated-responsive-wrap"},wp.element.createElement(l.d,null,wp.element.createElement(l.b,null,wp.element.createElement(l.a,null,wp.element.createElement("i",{className:"dashicons dashicons-desktop"})),wp.element.createElement(l.a,null,wp.element.createElement("i",{className:"dashicons dashicons-tablet"})),wp.element.createElement(l.a,null,wp.element.createElement("i",{className:"dashicons dashicons-smartphone"}))),wp.element.createElement(l.c,null,wp.element.createElement(u,{value:c,options:s.s,onChange:function(e){i(e,"dWType")}}),"custom"===c&&wp.element.createElement(d,null,wp.element.createElement(p,{label:__("Width","gutentor"),className:"gutentor-unit-label"},wp.element.createElement(m,{selected:f||"px",options:[{label:"%",value:"%"},{label:"px",value:"px"}],onChange:function(e){i(e,"dWUnit")}})),wp.element.createElement(g,{value:b,onChange:function(e){i(e,"dCWidth")},min:0,max:1e4}))),wp.element.createElement(l.c,null,wp.element.createElement(u,{value:h,options:s.s,onChange:function(e){i(e,"tWType")}}),"custom"===h&&wp.element.createElement(d,null,wp.element.createElement(p,{label:__("Width","gutentor"),className:"gutentor-unit-label"},wp.element.createElement(m,{selected:v||"px",options:[{label:"%",value:"%"},{label:"px",value:"px"}],onChange:function(e){i(e,"tWUnit")}})),wp.element.createElement(g,{value:w,onChange:function(e){i(e,"tCWidth")},min:0,max:1e4}))),wp.element.createElement(l.c,null,wp.element.createElement(u,{value:y,options:s.s,onChange:function(e){i(e,"mWType")}}),"custom"===y&&wp.element.createElement(d,null,wp.element.createElement(p,{label:__("Width","gutentor"),className:"gutentor-unit-label"},wp.element.createElement(m,{selected:_||"px",options:[{label:"%",value:"%"},{label:"px",value:"px"}],onChange:function(e){i(e,"mWUnit")}})),wp.element.createElement(g,{value:k,onChange:function(e){i(e,"mCWidth")},min:0,max:1e4})))))}function r(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"mobile",o=t&&t.dWType?t.dWType:"inherit",a=t&&t.dWUnit?t.dWUnit:"px",r=t&&t.dCWidth?t.dCWidth:"",l=t&&t.tWType?t.tWType:"inherit",s=t&&t.tWUnit?t.tWUnit:"px",c=t&&t.tCWidth?t.tCWidth:"",u=t&&t.mWType?t.mWType:"inherit",p=t&&t.mWUnit?t.mWUnit:"px",m=t&&t.mCWidth?t.mCWidth:"",g=void 0,d=void 0;return d="",g="","desktop"===n?"auto"===o?d=Object(i.c)("width","auto"):"full"===o?d=Object(i.c)("width","100%"):"custom"===o&&(d=r||0,g=a||"px",d=d?Object(i.c)(e,d+g):""):"tablet"===n?"auto"===l?d=Object(i.c)("width","auto"):"full"===l?d=Object(i.c)("width","100%"):"custom"===l&&(d=c||0,g=s||"px",d=d?Object(i.c)(e,d+g):""):"auto"===u?d=Object(i.c)("width","auto"):"full"===u?d=Object(i.c)("width","100%"):"custom"===u&&(d=m||0,g=p||"px",d=d?Object(i.c)(e,d+g):""),d}n.d(t,"a",function(){return a}),n.d(t,"b",function(){return r});var l=n(2),i=n(1),s=n(9),__=wp.i18n.__,c=wp.components,u=c.SelectControl,p=c.BaseControl,m=c.RadioControl,g=c.RangeControl,d=wp.element.Fragment},function(e,t,n){"use strict";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 a(e,t,n,o){var a=n.attributes,r=a.e6Style,l=a.e6OverlayColor,i=a.e6Size,s="";if(e&&"bg-image"===r)s=wp.element.createElement("div",{className:"gutentor-bg-image"},l.enable&&wp.element.createElement("div",{className:"overlay"}));else{var c={};t&&t.alt&&(c={alt:t.alt});var u=t.sizes&&t.sizes[i]&&t.sizes[i].url&&t.sizes[i].url?t.sizes[i].url:t.url;s=wp.element.createElement("div",{className:"gutentor-image-thumb"},t&&t.url?wp.element.createElement("img",m({className:"normal-image",src:u},c,"save"===o?wp.hooks.applyFilters("gutentor_element_image_attr",{},n):"")):wp.element.createElement("img",{className:"normal-image",src:gutentor.defaultImage}),l.enable&&wp.element.createElement("div",{className:"overlay"}))}return"edit"===o?s:wp.hooks.applyFilters("gutentor_image_element_display_data",s,n)}function r(e,t,n,o,a){var r="",l=!!t&&t.url;return r=e&&"bg-image"===e?wp.element.createElement("div",{className:"gutentor-bg-image"},n&&wp.element.createElement("div",{className:"overlay"})):wp.element.createElement("div",{className:"gutentor-image-thumb"},l?wp.element.createElement("img",m({className:"normal-image",src:l},"save"===a?wp.hooks.applyFilters("gutentor_element_image_attr",{},o):"")):wp.element.createElement("img",{className:"normal-image",src:gutentor.defaultImage}),n&&wp.element.createElement("div",{className:"overlay"})),"edit"===a?r:wp.hooks.applyFilters("gutentor_url_image_element_display_data",r,o)}function l(e,t){return e?t.split(" ").includes("nofollow")||(t=t.replace(/nofollow/gi,""),t+=" nofollow"):t=t.replace(/nofollow/gi,""),t}function i(e,t,n){var a=n.setAttributes,r=function(n,r){var i=Object.assign({},t);if("rel"===r)i[r]=Object(u.k)(n);else if("openInNewTab"===r){i[r]=n,i.rel="noopener noreferrer"}else"nofollow"===r?i[r]=n:"imageLinkEnable"!==r&&"imageLink"!==r||(i[r]=n);i.rel=l(i.nofollow,i.rel),a(o({},e,i))};return wp.element.createElement(b,{title:__("Link Options","gutentor"),initialOpen:!1},wp.element.createElement(h,null,wp.element.createElement(v,{label:__("Enable Image Link","gutentor"),checked:t.imageLinkEnable,onChange:function(){r(!t.imageLinkEnable,"imageLinkEnable")}}),t.imageLinkEnable&&wp.element.createElement(y,null,wp.element.createElement(d,{label:__("URL","gutentor")},wp.element.createElement(_,{onChange:function(e){return r(e,"imageLink")},value:t.imageLink,placeholder:__("Enter Url, e.g https://www.gutentor.com/","gutentor")})),wp.element.createElement(v,{label:__("Open in New Tab","gutentor"),checked:t.openInNewTab,onChange:function(){r(!t.openInNewTab,"openInNewTab")}}),wp.element.createElement(v,{label:__("Add Nofollow","gutentor"),checked:t.nofollow,onChange:function(){r(!t.nofollow,"nofollow")}}),wp.element.createElement(f,{label:__("Link Rel","gutentor"),type:"text",value:t.rel,onChange:function(e){return r(e,"rel")}}))))}function s(e){var t=e.attributes,n=t.e6Img,o=t.e6BgProps,a=t.e6Size,r=o.size,l=o.pos,i=o.repeat,s=o.attachment,c=n&&n.url&&n.sizes[a].url?n.sizes[a].url:"";return c=""===c&&n?n.url:c,Object(u.c)("background-image",n?"url("+c+")":null)+Object(u.c)("background-size",r||null)+Object(u.c)("background-position",l||null)+Object(u.c)("background-repeat",i||null)+Object(u.c)("background-attachment",s||null)}function c(e,t,n){var a=n.setAttributes,r=function(n,r){var l=Object.assign({},t);l[r]=n,a(o({},e,l))},l=t.size,i=t.pos,s=t.repeat,c=t.attachment,u=wp.element.createElement("div",{className:"gutentor-bg-img-props-wrap"},wp.element.createElement(w,{label:__("Background Size:","gutentor"),value:l||"default",onChange:function(e){return r(e,"size")},options:p.g}),wp.element.createElement(w,{label:__("Background Position:","gutentor"),value:i||"default",onChange:function(e){return r(e,"pos")},options:p.e}),wp.element.createElement(w,{label:__("Background Repeat:","gutentor"),value:s||"default",onChange:function(e){return r(e,"repeat")},options:p.f}),wp.element.createElement(w,{label:__("Background Attachment:","gutentor"),value:c||"default",onChange:function(e){return r(e,"attachment")},options:p.d}));return wp.element.createElement("div",{className:"gutentor-bg-main-wrap"},u)}n.d(t,"e",function(){return i}),n.d(t,"c",function(){return a}),n.d(t,"d",function(){return r}),n.d(t,"b",function(){return c}),n.d(t,"a",function(){return s});var u=n(1),p=n(9),m=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},g=wp.components,d=g.BaseControl,f=g.TextControl,b=g.PanelBody,h=g.PanelRow,v=g.ToggleControl,w=g.SelectControl,y=wp.element.Fragment,_=wp.blockEditor.URLInput,__=wp.i18n.__},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function r(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var l=n(0),i=n.n(l),s=n(26),c=(n.n(s),function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}()),__=wp.i18n.__,u=wp.element.Component,p=wp.components,m=p.Button,g=p.Modal,d=Object(s.SortableHandle)(function(){return wp.element.createElement("i",{className:"dashicons dashicons-move"})}),f=Object(s.SortableElement)(function(e){var t=(e.itemStyle,e.onItemBoxChange,e.setItemStyle,e.sortableIndex),n=e.onRemove,o=e.gutentorAllProps,a=e.gutentorSingleItem;return wp.element.createElement("div",{className:"gutentor-repeater-item",style:{zIndex:999}},wp.element.createElement("div",{className:"gutentor-column-inside"},wp.element.createElement("div",{className:"gutentor-control-actions"},wp.hooks.applyFilters("gutentor_edit_before_single_control",[],o,a,t),wp.element.createElement(d,null),wp.element.createElement("span",{onClick:function(){return n(t)}},wp.element.createElement("i",{className:"dashicons dashicons-trash"})),wp.hooks.applyFilters("gutentor_edit_after_single_control",[],o,a,t)),wp.hooks.applyFilters("gutentor_element_edit_before_single_item",[],o,a,t),wp.element.createElement("div",{className:wp.hooks.applyFilters("gutentor_edit_single_item_class",i()("gutentor-single-item","gutentor-single-item-"+t),o,a,t)},wp.hooks.applyFilters("gutentor_element_edit_list_template_data",[],o,a,t))))}),b=Object(s.SortableContainer)(function(e){var t=e.items,n=e.onRemove,o=e.onItemBoxChange,a=e.setItemStyle,r=e.gutentorAllProps;return wp.element.createElement("div",{className:"gutentor-repeater-item-wrap"},t.map(function(e,t){return wp.element.createElement(f,{key:"item-"+t,index:t,itemStyle:e.itemStyle,sortableIndex:t,onRemove:n,onItemBoxChange:o,setItemStyle:a,gutentorAllProps:r,gutentorSingleItem:e})}))}),h=function(e){function t(e){o(this,t);var n=a(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.onSortEnd=function(e){var t=e.oldIndex,o=e.newIndex,a=n.props,r=a.attributes,l=a.setAttributes,i=r.e7SortableItem.slice(0);l({e7SortableItem:Object(s.arrayMove)(i,t,o)}),n.updateTimeStamp()},n.updateTimeStamp=function(){var e=n.props;e.attributes;(0,e.setAttributes)({timestamp:(new Date).getTime()})},n.state={isRemovePopup:!1,deleteTabID:null},n}return r(t,e),c(t,[{key:"render",value:function(){var e=this,t=this.props,n=t.attributes,o=(t.className,t.setAttributes),a=n.e7SortableItem,r=function(t){var n=a.slice(0);n.splice(t,1),o({e7SortableItem:n}),e.setState({isRemovePopup:!1})},l=function(t){e.setState({isRemovePopup:!0,deleteTabID:t})},s=function(){return e.state.isRemovePopup?wp.element.createElement(g,{title:__("Delete this list?","gutentor"),className:i()("g-remove-popup"),onRequestClose:function(){e.setState({isRemovePopup:!1})},isDismissable:!1,shouldCloseOnClickOutside:!0},__("This will delete the list item.","gutentor"),wp.element.createElement("div",{className:"g-remove-popup-actions"},wp.element.createElement(m,{isDefault:!0,onClick:function(){e.setState({isRemovePopup:!1})}},__("Cancel","gutentor")),wp.element.createElement(m,{isPrimary:!0,onClick:function(){r(e.state.deleteTabID)}},__("Delete","gutentor")))):""},c=function(t,n,r){var l=a.slice(0);l.map(function(e,o){n===o&&(l[o][r]=t)}),o({e7SortableItem:l}),e.updateTimeStamp()},u=function(t,n,r){var l=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],s=a.slice(0);s.map(function(e,o){n===o&&(i?s[o].itemStyle[r][l][i]=t:l?s[o].itemStyle[r][l]=t:s[o].itemStyle[r]=t)}),o({e7SortableItem:s}),e.updateTimeStamp()};return 0===a.length&&o({e7SortableItem:[{customlistIconOption:"list-icon",icon:{label:"fa-arrow-right",value:4===gutentor.fontAwesomeVersion?"fa fa-arrow-right":"fas fa-arrow-right",code:"f108"},image:{},title:__("List Item","gutentor"),enableLink:!0,openInNewTab:!0,url:"#"}]}),[wp.element.createElement(b,{items:a,axis:"xy",onSortEnd:this.onSortEnd,useDragHandle:!0,onRemove:l,onItemBoxChange:c,setItemStyle:u,gutentorAllProps:this.props,helperClass:"gutentor-sortable-helper"}),wp.element.createElement("div",{className:"gutentor-add-item"},wp.element.createElement(m,{isPrimary:!0,isLarge:!0,className:"gutentor-add-item-button",onClick:function(){return o({e7SortableItem:a.concat([{customlistIconOption:"list-icon",icon:{label:"fa-arrow-right",value:4===gutentor.fontAwesomeVersion?"fa fa-arrow-right":"fas fa-arrow-right",code:"f108"},image:{},title:__("List Item","gutentor"),url:"#"}])})}},wp.element.createElement("i",{className:"dashicons dashicons-plus"}),__("Add Item","gutentor"))),wp.element.createElement(s,null)]}}]),t}(u);t.a=h},function(e,t,n){(function(t){for(var o=n(592),a="undefined"===typeof window?t:window,r=["moz","webkit"],l="AnimationFrame",i=a["request"+l],s=a["cancel"+l]||a["cancelRequest"+l],c=0;!i&&c<r.length;c++)i=a[r[c]+"Request"+l],s=a[r[c]+"Cancel"+l]||a[r[c]+"CancelRequest"+l];if(!i||!s){var u=0,p=0,m=[];i=function(e){if(0===m.length){var t=o(),n=Math.max(0,1e3/60-(t-u));u=n+t,setTimeout(function(){var e=m.slice(0);m.length=0;for(var t=0;t<e.length;t++)if(!e[t].cancelled)try{e[t].callback(u)}catch(e){setTimeout(function(){throw e},0)}},Math.round(n))}return m.push({handle:++p,callback:e,cancelled:!1}),p},s=function(e){for(var t=0;t<m.length;t++)m[t].handle===e&&(m[t].cancelled=!0)}}e.exports=function(e){return i.call(a,e)},e.exports.cancel=function(){s.apply(a,arguments)},e.exports.polyfill=function(e){e||(e=a),e.requestAnimationFrame=i,e.cancelAnimationFrame=s}}).call(t,n(591))},function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}function a(e,t){var n={};for(var o in e)t.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function i(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},c=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),u=n(11),p=o(u),m=n(37),g=o(m),d={position:"absolute",top:0,left:0,visibility:"hidden",height:0,overflow:"scroll",whiteSpace:"pre"},f=["extraWidth","injectStyles","inputClassName","inputRef","inputStyle","minWidth","onAutosize","placeholderIsMinWidth"],b=function(e){return f.forEach(function(t){return delete e[t]}),e},h=function(e,t){t.style.fontSize=e.fontSize,t.style.fontFamily=e.fontFamily,t.style.fontWeight=e.fontWeight,t.style.fontStyle=e.fontStyle,t.style.letterSpacing=e.letterSpacing,t.style.textTransform=e.textTransform},v=!("undefined"===typeof window||!window.navigator)&&/MSIE |Trident\/|Edge\//.test(window.navigator.userAgent),w=function(){return v?"_"+Math.random().toString(36).substr(2,12):void 0},y=function(e){function t(e){r(this,t);var n=l(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.inputRef=function(e){n.input=e,"function"===typeof n.props.inputRef&&n.props.inputRef(e)},n.placeHolderSizerRef=function(e){n.placeHolderSizer=e},n.sizerRef=function(e){n.sizer=e},n.state={inputWidth:e.minWidth,inputId:e.id||w()},n}return i(t,e),c(t,[{key:"componentDidMount",value:function(){this.mounted=!0,this.copyInputStyles(),this.updateInputWidth()}},{key:"componentWillReceiveProps",value:function(e){var t=e.id;t!==this.props.id&&this.setState({inputId:t||w()})}},{key:"componentDidUpdate",value:function(e,t){t.inputWidth!==this.state.inputWidth&&"function"===typeof this.props.onAutosize&&this.props.onAutosize(this.state.inputWidth),this.updateInputWidth()}},{key:"componentWillUnmount",value:function(){this.mounted=!1}},{key:"copyInputStyles",value:function(){if(this.mounted&&window.getComputedStyle){var e=this.input&&window.getComputedStyle(this.input);e&&(h(e,this.sizer),this.placeHolderSizer&&h(e,this.placeHolderSizer))}}},{key:"updateInputWidth",value:function(){if(this.mounted&&this.sizer&&"undefined"!==typeof this.sizer.scrollWidth){var e=void 0;e=this.props.placeholder&&(!this.props.value||this.props.value&&this.props.placeholderIsMinWidth)?Math.max(this.sizer.scrollWidth,this.placeHolderSizer.scrollWidth)+2:this.sizer.scrollWidth+2;e+="number"===this.props.type&&void 0===this.props.extraWidth?16:parseInt(this.props.extraWidth)||0,e<this.props.minWidth&&(e=this.props.minWidth),e!==this.state.inputWidth&&this.setState({inputWidth:e})}}},{key:"getInput",value:function(){return this.input}},{key:"focus",value:function(){this.input.focus()}},{key:"blur",value:function(){this.input.blur()}},{key:"select",value:function(){this.input.select()}},{key:"renderStyles",value:function(){var e=this.props.injectStyles;return v&&e?p.default.createElement("style",{dangerouslySetInnerHTML:{__html:"input#"+this.state.inputId+"::-ms-clear {display: none;}"}}):null}},{key:"render",value:function(){var e=[this.props.defaultValue,this.props.value,""].reduce(function(e,t){return null!==e&&void 0!==e?e:t}),t=s({},this.props.style);t.display||(t.display="inline-block");var n=s({boxSizing:"content-box",width:this.state.inputWidth+"px"},this.props.inputStyle),o=a(this.props,[]);return b(o),o.className=this.props.inputClassName,o.id=this.state.inputId,o.style=n,p.default.createElement("div",{className:this.props.className,style:t},this.renderStyles(),p.default.createElement("input",s({},o,{ref:this.inputRef})),p.default.createElement("div",{ref:this.sizerRef,style:d},e),this.props.placeholder?p.default.createElement("div",{ref:this.placeHolderSizerRef,style:d},this.props.placeholder):null)}}]),t}(u.Component);y.propTypes={className:g.default.string,defaultValue:g.default.any,extraWidth:g.default.oneOfType([g.default.number,g.default.string]),id:g.default.string,injectStyles:g.default.bool,inputClassName:g.default.string,inputRef:g.default.func,inputStyle:g.default.object,minWidth:g.default.oneOfType([g.default.number,g.default.string]),onAutosize:g.default.func,onChange:g.default.func,placeholder:g.default.string,placeholderIsMinWidth:g.default.bool,style:g.default.object,value:g.default.any},y.defaultProps={minWidth:1,injectStyles:!0},t.default=y},function(e,t,n){"use strict";function o(e,t){void 0===t&&(t=a);var n,o,r=[],l=!1,i=function(e,n){return t(e,r[n],n)};return function(){for(var t=arguments.length,a=new Array(t),s=0;s<t;s++)a[s]=arguments[s];return l&&n===this&&a.length===r.length&&a.every(i)?o:(o=e.apply(this,a),l=!0,n=this,r=a,o)}}Object.defineProperty(t,"__esModule",{value:!0});var a=function(e,t){return e===t};t.default=o},function(e,t,n){"use strict";(function(e){function o(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(null==e)return{};var n,o,a={},r=Object.keys(e);for(o=0;o<r.length;o++)n=r[o],t.indexOf(n)>=0||(a[n]=e[n]);return a}function r(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function l(){}t.__esModule=!0,t.default=t.EXITING=t.ENTERED=t.ENTERING=t.EXITED=t.UNMOUNTED=void 0;var i=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var o=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};o.get||o.set?Object.defineProperty(t,n,o):t[n]=e[n]}return t.default=e,t}(n(37)),s=o(n(11)),c=o(n(43)),u=n(220),p=n(221),m="unmounted";t.UNMOUNTED=m;var g="exited";t.EXITED=g;var d="entering";t.ENTERING=d;var f="entered";t.ENTERED=f;t.EXITING="exiting";var b=function(e){function t(t,n){var o;o=e.call(this,t,n)||this;var a,r=n.transitionGroup,l=r&&!r.isMounting?t.enter:t.appear;return o.appearStatus=null,t.in?l?(a=g,o.appearStatus=d):a=f:a=t.unmountOnExit||t.mountOnEnter?m:g,o.state={status:a},o.nextCallback=null,o}r(t,e);var n=t.prototype;return n.getChildContext=function(){return{transitionGroup:null}},t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===m?{status:g}:null},n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==d&&n!==f&&(t=d):n!==d&&n!==f||(t="exiting")}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,n,o=this.props.timeout;return e=t=n=o,null!=o&&"number"!==typeof o&&(e=o.exit,t=o.enter,n=o.appear),{exit:e,enter:t,appear:n}},n.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t){this.cancelNextCallback();var n=c.default.findDOMNode(this);t===d?this.performEnter(n,e):this.performExit(n)}else this.props.unmountOnExit&&this.state.status===g&&this.setState({status:m})},n.performEnter=function(e,t){var n=this,o=this.props.enter,a=this.context.transitionGroup?this.context.transitionGroup.isMounting:t,r=this.getTimeouts();if(!t&&!o)return void this.safeSetState({status:f},function(){n.props.onEntered(e)});this.props.onEnter(e,a),this.safeSetState({status:d},function(){n.props.onEntering(e,a),n.onTransitionEnd(e,r.enter,function(){n.safeSetState({status:f},function(){n.props.onEntered(e,a)})})})},n.performExit=function(e){var t=this,n=this.props.exit,o=this.getTimeouts();if(!n)return void this.safeSetState({status:g},function(){t.props.onExited(e)});this.props.onExit(e),this.safeSetState({status:"exiting"},function(){t.props.onExiting(e),t.onTransitionEnd(e,o.exit,function(){t.safeSetState({status:g},function(){t.props.onExited(e)})})})},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(o){n&&(n=!1,t.nextCallback=null,e(o))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t,n){this.setNextCallback(n),e?(this.props.addEndListener&&this.props.addEndListener(e,this.nextCallback),null!=t&&setTimeout(this.nextCallback,t)):setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if(e===m)return null;var t=this.props,n=t.children,o=a(t,["children"]);if(delete o.in,delete o.mountOnEnter,delete o.unmountOnExit,delete o.appear,delete o.enter,delete o.exit,delete o.timeout,delete o.addEndListener,delete o.onEnter,delete o.onEntering,delete o.onEntered,delete o.onExit,delete o.onExiting,delete o.onExited,"function"===typeof n)return n(e,o);var r=s.default.Children.only(n);return s.default.cloneElement(r,o)},t}(s.default.Component);b.contextTypes={transitionGroup:i.object},b.childContextTypes={transitionGroup:function(){}},b.propTypes="production"!==e.env.NODE_ENV?{children:i.oneOfType([i.func.isRequired,i.element.isRequired]).isRequired,in:i.bool,mountOnEnter:i.bool,unmountOnExit:i.bool,appear:i.bool,enter:i.bool,exit:i.bool,timeout:function(t){var n="production"!==e.env.NODE_ENV?p.timeoutsShape:{};t.addEndListener||(n=n.isRequired);for(var o=arguments.length,a=new Array(o>1?o-1:0),r=1;r<o;r++)a[r-1]=arguments[r];return n.apply(void 0,[t].concat(a))},addEndListener:i.func,onEnter:i.func,onEntering:i.func,onEntered:i.func,onExit:i.func,onExiting:i.func,onExited:i.func}:{},b.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:l,onEntering:l,onEntered:l,onExit:l,onExiting:l,onExited:l},b.UNMOUNTED=0,b.EXITED=1,b.ENTERING=2,b.ENTERED=3,b.EXITING=4;var h=(0,u.polyfill)(b);t.default=h}).call(t,n(18))},function(e,t,n){"use strict";function o(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!==e&&void 0!==e&&this.setState(e)}function a(e){function t(t){var n=this.constructor.getDerivedStateFromProps(e,t);return null!==n&&void 0!==n?n:null}this.setState(t.bind(this))}function r(e,t){try{var n=this.props,o=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(n,o)}finally{this.props=n,this.state=o}}function l(e){var t=e.prototype;if(!t||!t.isReactComponent)throw new Error("Can only polyfill class components");if("function"!==typeof e.getDerivedStateFromProps&&"function"!==typeof t.getSnapshotBeforeUpdate)return e;var n=null,l=null,i=null;if("function"===typeof t.componentWillMount?n="componentWillMount":"function"===typeof t.UNSAFE_componentWillMount&&(n="UNSAFE_componentWillMount"),"function"===typeof t.componentWillReceiveProps?l="componentWillReceiveProps":"function"===typeof t.UNSAFE_componentWillReceiveProps&&(l="UNSAFE_componentWillReceiveProps"),"function"===typeof t.componentWillUpdate?i="componentWillUpdate":"function"===typeof t.UNSAFE_componentWillUpdate&&(i="UNSAFE_componentWillUpdate"),null!==n||null!==l||null!==i){var s=e.displayName||e.name,c="function"===typeof e.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+s+" uses "+c+" but also contains the following legacy lifecycles:"+(null!==n?"\n "+n:"")+(null!==l?"\n "+l:"")+(null!==i?"\n "+i:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks")}if("function"===typeof e.getDerivedStateFromProps&&(t.componentWillMount=o,t.componentWillReceiveProps=a),"function"===typeof t.getSnapshotBeforeUpdate){if("function"!==typeof t.componentDidUpdate)throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");t.componentWillUpdate=r;var u=t.componentDidUpdate;t.componentDidUpdate=function(e,t,n){var o=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:n;u.call(this,e,t,o)}}return e}Object.defineProperty(t,"__esModule",{value:!0}),n.d(t,"polyfill",function(){return l}),o.__suppressDeprecationWarning=!0,a.__suppressDeprecationWarning=!0,r.__suppressDeprecationWarning=!0},function(e,t,n){"use strict";function o(e){var t="transition"+e+"Timeout",n="transition"+e;return function(e){if(e[n]){if(null==e[t])return new Error(t+" wasn't supplied to CSSTransitionGroup: this can cause unreliable animations and won't be supported in a future version of React. See https://fb.me/react-animation-transition-group-timeout for more information.");if("number"!==typeof e[t])return new Error(t+" must be a number (in milliseconds)")}return null}}t.__esModule=!0,t.transitionTimeout=o,t.classNamesShape=t.timeoutsShape=void 0;var a=function(e){return e&&e.__esModule?e:{default:e}}(n(37)),r=a.default.oneOfType([a.default.number,a.default.shape({enter:a.default.number,exit:a.default.number}).isRequired]);t.timeoutsShape=r;var l=a.default.oneOfType([a.default.string,a.default.shape({enter:a.default.string,exit:a.default.string,active:a.default.string}),a.default.shape({enter:a.default.string,enterDone:a.default.string,enterActive:a.default.string,exit:a.default.string,exitDone:a.default.string,exitActive:a.default.string})]);t.classNamesShape=l},function(e,t,n){"use strict";(function(o){function a(e){return e&&e.__esModule?e:{default:e}}function r(e,t){if(null==e)return{};var n,o,a={},r=Object.keys(e);for(o=0;o<r.length;o++)n=r[o],t.indexOf(n)>=0||(a[n]=e[n]);return a}function l(){return l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},l.apply(this,arguments)}function i(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function s(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}t.__esModule=!0,t.default=void 0;var c=a(n(37)),u=a(n(11)),p=n(220),m=n(609),g=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},d="production"!==o.env.NODE_ENV?{component:c.default.any,children:c.default.node,appear:c.default.bool,enter:c.default.bool,exit:c.default.bool,childFactory:c.default.func}:{},f={component:"div",childFactory:function(e){return e}},b=function(e){function t(t,n){var o;o=e.call(this,t,n)||this;var a=o.handleExited.bind(s(s(o)));return o.state={handleExited:a,firstRender:!0},o}i(t,e);var n=t.prototype;return n.getChildContext=function(){return{transitionGroup:{isMounting:!this.appeared}}},n.componentDidMount=function(){this.appeared=!0,this.mounted=!0},n.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var n=t.children,o=t.handleExited;return{children:t.firstRender?(0,m.getInitialChildMapping)(e,o):(0,m.getNextChildMapping)(e,n,o),firstRender:!1}},n.handleExited=function(e,t){var n=(0,m.getChildMapping)(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState(function(t){var n=l({},t.children);return delete n[e.key],{children:n}}))},n.render=function(){var e=this.props,t=e.component,n=e.childFactory,o=r(e,["component","childFactory"]),a=g(this.state.children).map(n);return delete o.appear,delete o.enter,delete o.exit,null===t?a:u.default.createElement(t,o,a)},t}(u.default.Component);b.childContextTypes={transitionGroup:c.default.object.isRequired},b.propTypes="production"!==o.env.NODE_ENV?d:{},b.defaultProps=f;var h=(0,p.polyfill)(b);t.default=h,e.exports=t.default}).call(t,n(18))},function(e,t,n){"use strict";function o(e,t){return Object(a.a)(e)||Object(r.a)(e,t)||Object(l.a)(e,t)||Object(i.a)()}t.a=o;var a=n(616),r=n(617),l=n(224),i=n(618)},function(e,t,n){"use strict";function o(e,t){if(e){if("string"===typeof e)return Object(a.a)(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)?Object(a.a)(e,t):void 0}}t.a=o;var a=n(225)},function(e,t,n){"use strict";function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}t.a=o},function(e,t,n){"use strict";(function(t){var n=function(){};"production"!==t.env.NODE_ENV&&(n=function(e,t,n){var o=arguments.length;n=new Array(o>2?o-2:0);for(var a=2;a<o;a++)n[a-2]=arguments[a];if(void 0===t)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");if(t.length<10||/^[s\W]*$/.test(t))throw new Error("The warning format should be able to uniquely identify this warning. Please, use a more descriptive format than: "+t);if(!e){var r=0,l="Warning: "+t.replace(/%s/g,function(){return n[r++]});"undefined"!==typeof console&&console.error(l);try{throw new Error(l)}catch(e){}}}),e.exports=n}).call(t,n(18))},function(e,t,n){"use strict";(function(t){"production"===t.env.NODE_ENV?e.exports=n(622):e.exports=n(623)}).call(t,n(18))},function(e,t,n){"use strict";var o=n(627);n.d(t,"a",function(){return o.a})},function(e,t,n){"use strict";var o=n(628);n.d(t,"a",function(){return o.a})},function(e,t,n){"use strict";var o=n(629);n.d(t,"a",function(){return o.a})},function(e,t,n){"use strict";var o=n(630);n.d(t,"a",function(){return o.a})},function(e,t,n){"use strict";function o(e,t){return t}function a(e,t){for(var n=0;n<e.length;n++){if(e[n].key!==t[n].key)return e;if(t[n+1]&&t[n].val===t[n+1].val)return e}return t}function r(e,t,n,o,a){for(var i=-1,s=!0,c=0;c<e.length;c++){var u=e[c],p=t[c];if(!p||p.key!==u.key)return e;p.val!==u.val&&(i=c,s=p.val-u.val>0)}if(-1===i)return e;for(var m=s?n:-n,g=0;g<t.length;g++){var d=t[g],f=t[g+1];if(f&&d.val===f.val){if(g===i){var b=f.val+m;if(a(b)===b){var h=Object(l.d)(t,f.key,f.val+m,o),v=r(t,h,n,o,a);return v===t?e:v}return e}var w=d.val+m;if(a(w)===w){var y=Object(l.d)(t,d.key,d.val+m,o),_=r(t,y,n,o,a);return _===t?e:_}return e}}return t}t.a=o,t.b=a,t.c=r;var l=n(233)},function(e,t,n){"use strict";function o(e){return function(t,n){return t.val>n.val?e?-1:1:n.val>t.val?e?1:-1:0}}function a(e,t,n,a){var r=e.findIndex(function(e){return e.key===t});if(-1!==r){var l=e[r],i=l.key;return l.val===n?e:[].concat(Object(c.a)(e.slice(0,r)),[{key:i,val:n}],Object(c.a)(e.slice(r+1))).sort(o(a))}return e}function r(e,t){if(!e)return[0,0];var n=e.getBoundingClientRect();return[t?n.top:n.left,t?n.bottom:n.right]}function l(e){var t=e.type,n=void 0===t?"":t,o=e.touches;return!o||o.length>1||"touchend"===n.toLowerCase()&&o.length>0}function i(e,t){return e?t.touches[0].clientY:t.touches[0].pageX}function s(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0,a=arguments.length>3?arguments[3]:void 0,r=0;return{handles:e.map(function(e){var t=n.getValue(e);return e!==t&&(r+=1,p()(!a,"".concat(m," Invalid value encountered. Changing ").concat(e," to ").concat(t,"."))),t}).map(function(e,t){return{key:"$$-".concat(t),val:e}}).sort(o(t)),changes:r}}n.d(t,"f",function(){return m}),t.d=a,t.b=r,t.e=l,t.c=i,t.a=s;var c=n(631),u=n(226),p=n.n(u),m="react-compound-slider:"},function(e,t,n){"use strict";var o=n(52),a=n(235),r=Object(a.a)(o.a),l=r.right;r.left;t.a=l},function(e,t,n){"use strict";function o(e){return function(t,n){return Object(a.a)(e(t),n)}}var a=n(52);t.a=function(e){return 1===e.length&&(e=o(e)),{left:function(t,n,o,a){for(null==o&&(o=0),null==a&&(a=t.length);o<a;){var r=o+a>>>1;e(t[r],n)<0?o=r+1:a=r}return o},right:function(t,n,o,a){for(null==o&&(o=0),null==a&&(a=t.length);o<a;){var r=o+a>>>1;e(t[r],n)>0?a=r:o=r+1}return o}}}},function(e,t,n){"use strict";function o(e,t){return[e,t]}t.a=o},function(e,t,n){"use strict";var o=n(238);t.a=function(e,t){var n=Object(o.a)(e,t);return n?Math.sqrt(n):n}},function(e,t,n){"use strict";var o=n(62);t.a=function(e,t){var n,a,r=e.length,l=0,i=-1,s=0,c=0;if(null==t)for(;++i<r;)isNaN(n=Object(o.a)(e[i]))||(a=n-s,s+=a/++l,c+=a*(n-s));else for(;++i<r;)isNaN(n=Object(o.a)(t(e[i],i,e)))||(a=n-s,s+=a/++l,c+=a*(n-s));if(l>1)return c/(l-1)}},function(e,t,n){"use strict";t.a=function(e,t){var n,o,a,r=e.length,l=-1;if(null==t){for(;++l<r;)if(null!=(n=e[l])&&n>=n)for(o=a=n;++l<r;)null!=(n=e[l])&&(o>n&&(o=n),a<n&&(a=n))}else for(;++l<r;)if(null!=(n=t(e[l],l,e))&&n>=n)for(o=a=n;++l<r;)null!=(n=t(e[l],l,e))&&(o>n&&(o=n),a<n&&(a=n));return[o,a]}},function(e,t,n){"use strict";n.d(t,"b",function(){return a}),n.d(t,"a",function(){return r});var o=Array.prototype,a=o.slice,r=o.map},function(e,t,n){"use strict";t.a=function(e,t,n){e=+e,t=+t,n=(a=arguments.length)<2?(t=e,e=0,1):a<3?1:+n;for(var o=-1,a=0|Math.max(0,Math.ceil((t-e)/n)),r=new Array(a);++o<a;)r[o]=e+o*n;return r}},function(e,t,n){"use strict";function o(e,t,n){var o=(t-e)/Math.max(0,n),a=Math.floor(Math.log(o)/Math.LN10),s=o/Math.pow(10,a);return a>=0?(s>=r?10:s>=l?5:s>=i?2:1)*Math.pow(10,a):-Math.pow(10,-a)/(s>=r?10:s>=l?5:s>=i?2:1)}function a(e,t,n){var o=Math.abs(t-e)/Math.max(0,n),a=Math.pow(10,Math.floor(Math.log(o)/Math.LN10)),s=o/a;return s>=r?a*=10:s>=l?a*=5:s>=i&&(a*=2),t<e?-a:a}t.b=a;var r=Math.sqrt(50),l=Math.sqrt(10),i=Math.sqrt(2);t.a=function(e,t,n){var a,r,l,i,s=-1;if(t=+t,e=+e,n=+n,e===t&&n>0)return[e];if((a=t<e)&&(r=e,e=t,t=r),0===(i=o(e,t,n))||!isFinite(i))return[];if(i>0)for(e=Math.ceil(e/i),t=Math.floor(t/i),l=new Array(r=Math.ceil(t-e+1));++s<r;)l[s]=(e+s)*i;else for(e=Math.floor(e*i),t=Math.ceil(t*i),l=new Array(r=Math.ceil(e-t+1));++s<r;)l[s]=(e-s)/i;return a&&l.reverse(),l}},function(e,t,n){"use strict";t.a=function(e){return Math.ceil(Math.log(e.length)/Math.LN2)+1}},function(e,t,n){"use strict";t.a=function(e,t){var n,o,a=e.length,r=-1;if(null==t){for(;++r<a;)if(null!=(n=e[r])&&n>=n)for(o=n;++r<a;)null!=(n=e[r])&&o>n&&(o=n)}else for(;++r<a;)if(null!=(n=t(e[r],r,e))&&n>=n)for(o=n;++r<a;)null!=(n=t(e[r],r,e))&&o>n&&(o=n);return o}},function(e,t,n){"use strict";function o(e){return e.length}var a=n(244);t.a=function(e){if(!(l=e.length))return[];for(var t=-1,n=Object(a.a)(e,o),r=new Array(n);++t<n;)for(var l,i=-1,s=r[t]=new Array(l);++i<l;)s[i]=e[i][t];return r}},function(e,t,n){"use strict";n.d(t,"b",function(){return o}),n.d(t,"a",function(){return a});var o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"right";if("left"===t)for(var n=e.length-1;n>=1;n--)if(e[n]<10){var o=10-e[n];e[n]=10,e[n-1]-=o}for(var a=0;a<e.length-1;a++)if(e[a]<10){var r=10-e[a];e[a]=10,e[a+1]-=r}if("right"===t)for(var l=e.length-1;l>=1;l--)if(e[l]<10){var i=10-e[l];e[l]=10,e[l-1]-=i}return e},a=function(e){return e.reduce(function(e,t){return e+t},0)}},function(e,t,n){"use strict";n.d(t,"a",function(){return l});var o=n(1),a=function(e,t,n){var o=void 0,a=void 0,r=void 0,l=void 0;switch(parseInt(n)){case 2:case 3:case 4:case 5:o="tenTwo",a="tenTwo",r="sevenFive",l={d:[80,20],t:[80,20],m:[60,40]};break;case 6:case 7:case 8:case 9:o="twelve",a="twelve",r="twelve",l={d:[100],t:[100],m:[100]};break;case 10:case 11:case 12:case 13:o="sixSix",a="sixSix",r="sixSix",l={d:[50,50],t:[50,50],m:[50,50]};break;default:o="fiveFiveTwo",a="fiveFiveTwo",r="fiveFiveTwo",l={d:[41,41,18],t:[41,41,18],m:[41,41,18]}}return{e15Index:e,e15Col:t,e15Layout:{d:o,t:a,m:r},e15ColWidth:l}},r=function(e){var t=void 0;switch(parseInt(e)){case 2:t=[["gutentor/e15",a(0,2,2),[["gutentor/e0",{e0Tag:"h3"}]]],["gutentor/e15",a(1,2,2),[["gutentor/e13",{e13Align:{desktop:"text-align-right",tablet:"text-align-right",mobile:"text-align-right"}}]]]];break;case 3:t=[["gutentor/e15",a(0,2,3),[["gutentor/e0",{e0Tag:"h3"}]]],["gutentor/e15",a(1,2,3),[["gutentor/e14",{e14Align:{desktop:"text-align-right",tablet:"text-align-right",mobile:"text-align-left"}}]]]];break;case 4:t=[["gutentor/e15",a(0,2,4),[["gutentor/e0",{e0Tag:"h3"}],["gutentor/e0",{}]]],["gutentor/e15",a(1,2,4),[["gutentor/e13",{}]]]];break;case 5:t=[["gutentor/e15",a(0,2,5),[["gutentor/e0",{e0Tag:"h3"}],["gutentor/e0",{}]]],["gutentor/e15",a(1,2,5),[["gutentor/e14",{e14Align:{desktop:"text-align-right",tablet:"text-align-right",mobile:"text-align-left"}}]]]];break;case 6:t=[["gutentor/e15",a(0,1,6),[["gutentor/e0",{e0Tag:"h3"}],["gutentor/e0",{}]]]];break;case 7:t=[["gutentor/e15",a(0,1,7),[["gutentor/e15",a(1,2,4),[["gutentor/e13",{}]]]]]];break;case 8:t=[["gutentor/e15",a(0,1,8),[["gutentor/e14",{e14Align:{desktop:"text-align-right",tablet:"text-align-right",mobile:"text-align-left"}}]]]];break;case 9:t=[["gutentor/e15",a(0,1,8),[["gutentor/m3"]]]];break;case 10:t=[["gutentor/e15",a(0,2,10),[["gutentor/e14",{e14Align:{mobile:"text-align-left"}}]]],["gutentor/e15",a(1,2,10),[["gutentor/e21",{e21Otherinfo:{parent:"e16"}}]]]];break;case 11:t=[["gutentor/e15",a(0,2,10),[["gutentor/e21",{e21Otherinfo:{parent:"e16"}}]]],["gutentor/e15",a(1,2,10),[["gutentor/e14",{e14Align:{mobile:"text-align-right"}}]]]];break;case 12:t=[["gutentor/e15",a(0,2,12),[["gutentor/e14",{e14Align:{mobile:"text-align-left"}}]]],["gutentor/e15",a(1,2,12),[["gutentor/e13",{e13Align:{mobile:"text-align-right"}}]]]];break;case 13:t=[["gutentor/e15",a(0,2,13),[["gutentor/e13",{e13Align:{mobile:"text-align-left"}}]]],["gutentor/e15",a(1,2,13),[["gutentor/e14",{e14Align:{mobile:"text-align-right"}}]]]];break;default:t=[["gutentor/e15",a(0,3,1),[["gutentor/e0",{e0Tag:"h3"}],["gutentor/e0",{}]]],["gutentor/e15",a(1,3,1),[["gutentor/e14",{e14Align:{desktop:"text-align-center",tablet:"text-align-center",mobile:"text-align-left"}}]]],["gutentor/e15",a(2,3,1),[["gutentor/e13",{}]]]]}return t};t.b=r;var l=function(e){var t=r(e);return Object(o.q)(t)}},function(e,t,n){"use strict";var o=n(5),a=n(0),r=n.n(a),l=n(2),i=n(184),s=n(4),c=n(249),u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},__=wp.i18n.__,p=wp.compose.compose,m=wp.data,g=m.withDispatch,d=m.withSelect,f=wp.blocks.registerBlockType,b=wp.blockEditor,h=b.InspectorControls,v=b.InnerBlocks,w=wp.element.Fragment;f("gutentor/e17",{title:__("Post Module Footer","gutentor"),description:__("Post Module Footer","gutentor"),category:"gutentor-elements",icon:wp.element.createElement("img",{src:gutentor.buttonSvg}),example:{},attributes:i.a,supports:{align:["wide","full"],inserter:!1,reusable:!1,html:!1},edit:p([g(function(e){return{updateBlockAttributes:e("core/block-editor").updateBlockAttributes}}),d(function(e,t){return{props:t}})])(function(e){var t=e.props,n=t.attributes,a=t.className,i=t.setAttributes,p=t.clientId,m=p?"g"+p.substr(0,6):"",g=n.gID,d=n.gName,f=n.e17Template,b=n.e17FullWidthCol,y=n.e17EqualColHeight,_=n.eAnimation;g!==m&&i({gID:m}),d!==t.name&&i({gName:t.name});wp.hooks.doAction("gutentor_edit_init",t);var k=["core/e15"];return wp.element.createElement(w,null,wp.element.createElement(h,{key:"inspector"},wp.element.createElement("div",{className:"gutentor-sidebar-inspectors"},wp.element.createElement(l.d,null,wp.element.createElement(l.b,null,wp.element.createElement(l.a,null,wp.element.createElement("i",{className:"dashicons dashicons-dashboard"}),__("General","gutentor")),wp.element.createElement(l.a,null,wp.element.createElement("i",{className:"dashicons dashicons-admin-generic"}),__("Advanced","gutentor"))),wp.element.createElement(l.c,null,wp.hooks.applyFilters("gutentor_e17_inspector_before_basic",[],t)),wp.element.createElement(l.c,null,wp.hooks.applyFilters("gutentor_edit_element_advanced_tab",[],t))))),wp.element.createElement("div",u({id:"section-"+g,className:wp.hooks.applyFilters("gutentor_edit_element_class",r()(a,"section-"+g,"gutentor-element","gutentor-post-footer","gutentor-simple-columns",b?"gutentor-mbl-full-width-column":"",y?"gutentor-equal-column-height":"","4"===f?"g-ap-load-more-template":""),t)},Object(s.c)(_)),Object(o.d)(t),wp.element.createElement("div",{className:wp.hooks.applyFilters("gutentor_edit_element_container_class","grid-container",t)},wp.element.createElement("div",u({className:wp.hooks.applyFilters("gutentor_edit_element_grid_row_class","grid-row",t)},wp.hooks.applyFilters("gutentor_edit_grid_row_attr",{},t)),"0"!==f&&wp.element.createElement(v,{template:Object(c.b)(f),allowedBlocks:k,templateLock:!1,renderAppender:!1})))))}),save:function(e){var t=e.attributes,n=e.className,o=(e.setAttributes,t.gID),a=t.e17Template,l=t.e17FullWidthCol,i=t.e17EqualColHeight,c=t.eAnimation;return"0"===a?"":wp.element.createElement("div",u({id:"section-"+o,className:wp.hooks.applyFilters("gutentor_save_element_class",r()("section-"+o,"gutentor-element","gutentor-post-footer","4"===a?"g-ap-load-more-template":"",l?"gutentor-mbl-full-width-column":"",i?"gutentor-equal-column-height":"",n),e)},Object(s.c)(c)),wp.element.createElement("div",{className:wp.hooks.applyFilters("gutentor_save_element_container_class","grid-container",e)},wp.element.createElement("div",u({className:wp.hooks.applyFilters("gutentor_save_element_grid_row_class","grid-row",e)},wp.hooks.applyFilters("gutentor_edit_grid_row_attr",{},e)),wp.element.createElement(v.Content,null))))}})},function(e,t,n){"use strict";n.d(t,"a",function(){return l});var o=n(1),__=wp.i18n.__,a=function(e,t,n){var o=void 0,a=void 0,r=void 0,l=void 0;switch(parseInt(n)){case 5:o="fiveSeven",a="fiveSeven",r="fiveSeven",l={d:[30,70],t:[30,70],m:[40,60]};break;default:o="twelve",a="twelve",r="twelve",l={d:[100],t:[100],m:[100]}}return{e15Index:e,e15Col:t,e15Layout:{d:o,t:a,m:r},e15ColWidth:l}},r=function(e){var t=void 0;switch(parseInt(e)){case 2:t=[["gutentor/e15",a(0,1,2),[["gutentor/e13",{e13Align:{desktop:"text-align-center",tablet:"text-align-center",mobile:"text-align-center"}}]]]];break;case 3:t=[["gutentor/e15",a(0,1,3),[["gutentor/e14",{}]]]];break;case 4:t=[["gutentor/e15",a(0,1,4),[["gutentor/e2",{e2DisableLinkOpt:!0,e2Text:__("Load More","gutentor"),e2Align:{desktop:"button-align-center",tablet:"button-align-center",mobile:"button-align-center"}}]]]];break;case 5:t=[["gutentor/e15",a(0,2,5),[["gutentor/e0",{}]]],["gutentor/e15",a(1,2,5),[["gutentor/e14",{e14Align:{desktop:"text-align-right",tablet:"text-align-right",mobile:"text-align-left"}}]]]];break;case 6:t=[["gutentor/e15",a(0,1,6),[["gutentor/m3",{}]]]];break;default:t=[["gutentor/e15",a(0,1,1),[["gutentor/e12",{}]]]]}return t};t.b=r;var l=function(e){var t=r(e);return Object(o.q)(t)}},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var a=n(1),r=n(2),l=n(6),i=n(36),s=n(40),c=n(73),u=n(249),p=n(3),m=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),g=wp.data.dispatch("core/block-editor"),d=g.updateBlockAttributes,__=wp.i18n.__,f=wp.components,b=f.PanelBody,h=f.PanelRow,v=f.BaseControl,w=f.ToggleControl,y=f.SelectControl,_=wp.element.Fragment,k=void 0,E=function(){function e(){o(this,e),k=this}return m(e,[{key:"addTemplateOptions",value:function(e,t){if("gutentor/e17"!==t.attributes.gName)return e;var n=t.clientId,o=t.attributes,a=t.setAttributes,r=o.e17Template,l=o.e17FullWidthCol,i=o.e17EqualColHeight,s=o.e17Col,p=o.e17ICWidth,m=o.e17Layout,g=[{label:__("Hide","gutentor"),value:0},{label:__("Template 1","gutentor"),value:1},{label:__("Template 2","gutentor"),value:2},{label:__("Template 3","gutentor"),value:3},{label:__("Template 4","gutentor"),value:4},{label:__("Template 5","gutentor"),value:5},{label:__("Custom Template","gutentor"),value:6}],f=wp.element.createElement(_,null,wp.element.createElement(y,{label:__("Select Template","gutentor"),value:r,onChange:function(e){var t=3,o={},r={};switch(parseInt(e)){case 5:t=2,o={d:[50,50],t:[50,50],m:[50,50]},r={d:"sixSix",t:"sixSix",m:"sixSix"};break;default:t=1,o={d:[100],t:[100],m:[100]},r={d:"twelve",t:"twelve",m:"twelve"}}wp.data.dispatch("core/block-editor").replaceInnerBlocks(n,Object(u.a)(e),!1),a({e17Template:e,e17Col:t,e17ICWidth:o,e17Layout:r})},options:g}),wp.element.createElement(w,{label:__("Full Width Column (Mobile)","gutentor"),checked:l,onChange:function(){a({e17FullWidthCol:!l})}}),"0"!==r&&wp.element.createElement(c.b,{values:p,cols:s,layout:m,onChange:function(e){var t=Object.assign({},p,e);a({e17ICWidth:t}),wp.data.select("core/block-editor").getBlock(n).innerBlocks.map(function(e,n){d(e.clientId,{e15Index:n,e15Col:s,e15ColWidth:t,e15Layout:m})})}}),wp.element.createElement(w,{label:__("Equal Column Height","gutentor"),checked:i,onChange:function(){a({e17EqualColHeight:!i})}}));return e.push(f),e}},{key:"addCommonOptions",value:function(e,t){if("gutentor/e17"!==t.attributes.gName)return e;var n=t.attributes,o=t.setAttributes,c=n.e17BgColor,u=n.e17OnBorder,m=n.e17Border,g=n.e17BxShadow,d=n.e17Margin,f=n.e17Padding,y=wp.element.createElement(_,null,wp.element.createElement(b,{title:__("Background","gutentor"),initialOpen:!1},wp.element.createElement(h,null,wp.element.createElement(w,{label:__("Enable Background Color","gutentor"),checked:c.enable,onChange:function(){Object(a.p)("e17BgColor","enable",c,!c.enable,o)}}),c.enable&&wp.element.createElement(v,{label:__("Background Color","gutentor")},wp.element.createElement(r.d,null,wp.element.createElement(r.b,null,wp.element.createElement(r.a,null,__("Normal","gutentor")),wp.element.createElement(r.a,null,__("Hover","gutentor"))),wp.element.createElement(r.c,null,wp.element.createElement(p.a,{value:c,key1:"normal",label:__("Color","gutentor"),onChange:function(e){var t=e.rgb&&1!==e.rgb.a?"rgba("+e.rgb.r+","+e.rgb.g+","+e.rgb.b+","+e.rgb.a+")":e.hex;Object(a.p)("e17BgColor","normal",c,t,o)},disableAlpha:!1})),wp.element.createElement(r.c,null,wp.element.createElement(p.a,{value:c,key1:"hover",label:__("Color","gutentor"),onChange:function(e){var t=e.rgb&&1!==e.rgb.a?"rgba("+e.rgb.r+","+e.rgb.g+","+e.rgb.b+","+e.rgb.a+")":e.hex;Object(a.p)("e17BgColor","hover",c,t,o)},disableAlpha:!1})))))),wp.element.createElement(b,{title:__("Margin/Padding","gutentor"),initialOpen:!1},wp.element.createElement(h,null,wp.element.createElement(v,{label:__("Margin","gutentor")},Object(l.a)("e17Margin",d,t)),wp.element.createElement(v,{label:__("Padding","gutentor")},Object(l.a)("e17Padding",f,t)))),wp.element.createElement(b,{title:__("Border","gutentor"),initialOpen:!1},wp.element.createElement(h,null,wp.element.createElement(w,{label:__("Enable Border","gutentor"),checked:u,onChange:function(){o({e17OnBorder:!u})}}),u&&wp.element.createElement(h,null,Object(i.b)("e17Border",m,t)))),wp.element.createElement(b,{title:__("Box Shadow","gutentor"),initialOpen:!1},wp.element.createElement(h,null,Object(s.c)("e17BxShadow",g,t))));return e.push(y),e}},{key:"addDynamicStyle",value:function(e,t){if("gutentor/e17"!==t.attributes.gName)return e;var n=t.attributes,o=n.gID,r=n.e17BgColor,c=n.e17Margin,u=n.e17Padding,p=n.e17BxShadow,m=n.e17Border,g=n.e17OnBorder;return[e,".section-"+o+".gutentor-post-footer{",Object(a.c)("background",r.enable&&r.normal&&r.normal?r.normal:null),Object(l.b)("margin",c),Object(l.b)("padding",u),g?Object(i.c)(m):"",Object(s.d)(p),"}",".section-"+o+".gutentor-post-footer:hover{",Object(a.c)("background",r.enable&&r.hover&&r.hover?r.hover:null),g?Object(i.e)(m):"",Object(s.b)(p),"}","@media (min-width: 768px) {",".section-"+o+".gutentor-post-footer{",Object(l.b)("margin",c,"tablet"),Object(l.b)("padding",u,"tablet"),"}","}","@media (min-width: 992px) {",".section-"+o+".gutentor-post-footer{",Object(l.b)("margin",c,"desktop"),Object(l.b)("padding",u,"desktop"),"}","}"].join("\n")}}]),e}(),C=new E;wp.hooks.addFilter("gutentor_e17_inspector_before_basic","gutentor/e17",C.addTemplateOptions,15),wp.hooks.addFilter("gutentor_e17_inspector_before_basic","gutentor/e17",C.addCommonOptions,15),wp.hooks.addFilter("gutentor_dynamic_style","gutentor/e17",C.addDynamicStyle,15)},function(e,t,n){"use strict";n.d(t,"b",function(){return l});var o=n(1),a=function(e,t,n){var o=void 0,a=void 0,r=void 0,l=void 0;switch(parseInt(n)){case 2:o="eightFour",a="eightFour",r="sevenFive",l={d:[66,33],t:[66,33],m:[58,41]};break;case 3:o="fiveSeven",a="fiveSeven",r="fiveSeven",l={d:[41,58],t:[41,58],m:[41,58]};break;case 4:o="tenTwo",a="tenTwo",r="sevenFive",l={d:[83,16],t:[83,16],m:[58,41]};break;case 5:case 6:o="twelve",a="twelve",r="twelve",l={d:[100],t:[100],m:[100]};break;default:o="fiveTwoFive",a="fiveTwoFive",r="fiveTwoFive",l={d:[41,18,41],t:[41,18,41],m:[41,18,41]}}return{e15Index:e,e15Col:t,e15Layout:{d:o,t:a,m:r},e15ColWidth:l}},r=function(e){var t=void 0;switch(parseInt(e)){case 2:t=[["gutentor/e15",a(0,2,2),[["gutentor/e19"]]],["gutentor/e15",a(1,2,2),[["gutentor/e21"]]]];break;case 3:t=[["gutentor/e15",a(0,2,3),[["gutentor/e21"]]],["gutentor/e15",a(1,2,3),[["gutentor/e19"]]]];break;case 4:t=[["gutentor/e15",a(0,2,4),[["gutentor/e19"]]],["gutentor/e15",a(1,2,4),[["gutentor/e19"]]]];break;case 5:t=[["gutentor/e15",a(0,1,6),[["gutentor/e19"]]]];break;case 6:t=[["gutentor/e15",a(0,1,6),[["gutentor/e21"]]]];break;default:t=[["gutentor/e15",a(0,3,1),[["gutentor/e19"]]],["gutentor/e15",a(1,3,1),[["gutentor/e21"]]],["gutentor/e15",a(2,3,1),[["gutentor/e19"]]]]}return t};t.a=r;var l=function(e){var t=r(e);return Object(o.q)(t)}},function(e,t,n){"use strict";function o(e){return!(!s(e,"parent")||"e16"!==e.parent)}function a(e){return o(e)?wp.element.createElement("button",{className:l()("g-search-icon",4===gutentor.fontAwesomeVersion?"fa fa-search":"fas fa-search"),type:"submit"}):""}t.a=o,t.b=a;var r=n(0),l=n.n(r),i=lodash,s=i.has},function(e,t,n){"use strict";n.d(t,"a",function(){return i});var o=n(697),a=n(698),r=n(86),__=wp.i18n.__,l=wp.blocks.registerBlockType,i={title:__("Single Accordion Item","gutentor"),description:__("A single accordion item within an accordion, add any elements and blocks inside accordion body.","gutentor"),parent:["gutentor/m6"],icon:"image-flip-vertical",category:"gutentor-modules",supports:{html:!1,inserter:!1,reusable:!1},attributes:wp.hooks.applyFilters("gutentor_add_attributes",r.b),edit:o.a,save:a.a};l("gutentor/m6-item",i)},function(e,t,n){"use strict";n.d(t,"a",function(){return r});var o=n(1),a=function(e){var t=void 0,n={mBottom:"40",mTop:"40"},o={mBottom:"20",mLeft:"20",mRight:"20",mTop:"20"},a={code:"f10d",value:4===gutentor.fontAwesomeVersion?"fa fa-quote-left":"fas fa-quote-left",label:"fa-quote-left"},r={enable:!0,hover:"",normal:"#ededed"},l={mobile:40},i={mBottom:"-30",mLeft:"-20"},s={url:gutentor.gutentorLogo},c={fontStyle:"italic",fontType:"system",fontWeight:"400",mobileFontSize:"21px",mobileLineHeight:1.4,systemFont:"Georgia"},u={mBottom:"30"},p="Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.",m={fontType:"system",fontWeight:"600",mobileFontSize:"15px",mobileLineHeight:1,systemFont:"Verdana"},g={mBottom:"0"};switch(parseInt(e)){case 1:t=[["gutentor/m3",{m3ParentNav:!0,m3Appender:!1,mMargin:n,mPadding:o},[["gutentor/e1",{e0Tag:"p",e1AT:p,elTypography:c,elMargin:u}],["gutentor/e1",{e0Tag:"h4",e1AT:"Abc Company",elTypography:m,elMargin:g}],["gutentor/e1",{e0Tag:"span",e1AT:"CEO"}]]]];break;case 2:t=[["gutentor/m3",{m3ParentNav:!0,m3Appender:!1,mMargin:n,mPadding:o},[["gutentor/e1",{e0Tag:"p",e1AT:p,elTypography:c,elMargin:u}],["gutentor/m4",{columns:2,dLayout:"twoTen",tLayout:"twoTen",mLayout:"twoTen"},[["gutentor/m4-col",{colWidth:8,columns:2,dLayout:"twoTen",dLayoutColumn:3,layoutIndex:0,mLayout:"twoTen",tLayout:"twoTen"},[["gutentor/e6",{e6Img:s}]]],["gutentor/m4-col",{colWidth:92,columns:2,dLayout:"twoTen",dLayoutColumn:9,layoutIndex:1,mLayout:"twoTen",tLayout:"twoTen"},[["gutentor/e1",{e0Tag:"h4",e1AT:"Abc Company",elTypography:m,elMargin:g}],["gutentor/e1",{e0Tag:"span",e1AT:"CEO"}]]]]]]]];break;case 3:t=[["gutentor/m3",{m3ParentNav:!0,m3Appender:!1,mMargin:n,mPadding:o},[["gutentor/e5",{e5Icon:a,e5Size:l,e5Color:r,e5Margin:i}],["gutentor/e1",{e0Tag:"p",e1AT:p,elTypography:c,elMargin:u}],["gutentor/e1",{e0Tag:"h4",e1AT:"Abc Company",elTypography:m,elMargin:g}],["gutentor/e1",{e0Tag:"span",e1AT:"CEO"}]]]];break;case 4:t=[["gutentor/m3",{m3ParentNav:!0,m3Appender:!1,mMargin:n,mPadding:o},[["gutentor/e5",{e5Icon:a,e5Size:l,e5Color:r,e5Margin:i}],["gutentor/e1",{e0Tag:"p",e1AT:p,elTypography:c,elMargin:u}],["gutentor/m4",{columns:2,dLayout:"twoTen",tLayout:"twoTen",mLayout:"twoTen"},[["gutentor/m4-col",{colWidth:8,columns:2,dLayout:"twoTen",dLayoutColumn:3,layoutIndex:0,mLayout:"twoTen",tLayout:"twoTen"},[["gutentor/e6",{e6Img:s}]]],["gutentor/m4-col",{colWidth:92,columns:2,dLayout:"twoTen",dLayoutColumn:9,layoutIndex:1,mLayout:"twoTen",tLayout:"twoTen"},[["gutentor/e1",{e0Tag:"h4",e1AT:"Abc Company",elTypography:m,elMargin:g}],["gutentor/e1",{e0Tag:"span",e1AT:"CEO"}]]]]]]]];break;case 99:t=[["gutentor/m3",{m3ParentNav:!0,m3Appender:!0}]]}return t};t.b=a;var r=function(e){var t=a(e);return Object(o.q)(t)}},function(e,t,n){"use strict";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 a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var r=n(7),l=n(1),i=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),__=wp.i18n.__,s=wp.components,c=s.ToggleControl,u=s.BaseControl,p=wp.element.Fragment,m=void 0,g=function(){function e(){a(this,e),m=this}return i(e,[{key:"addHeightOptions",value:function(e,t){var n=e.setAttributes,a=t.onHeightKey,l=t.onHeightVal,i=t.heightKey,s=t.heightVal,m=wp.element.createElement(p,null,wp.element.createElement(c,{label:__("Enable Height","gutentor"),checked:l,onChange:function(){n(o({},a,!l))}}),l&&wp.element.createElement(u,{label:__("Height","gutentor")},Object(r.e)(i,s,e)));return wp.hooks.applyFilters("gutentor_loop_height_options",m,e)}},{key:"addCss",value:function(e){var t=e.gID,n=e.onHeightVal,o=e.heightVal;if(!n)return"";var a=Object(r.d)(o,"type"),i=Object(r.d)(o,"mobile"),s=!!i&&i+a,c=Object(r.d)(o,"tablet"),u=!!c&&c+a,p=Object(r.d)(o,"desktop"),m=!!p&&p+a;return[".section-"+t+" .gtf-item-height{",Object(l.c)("height",s),"}","@media only screen and (min-width: 768px) {",".section-"+t+" .gtf-item-height{",Object(l.c)("height",u),"}","}","@media only screen and (min-width: 992px) {",".section-"+t+" .gtf-item-height{",Object(l.c)("height",m),"}","}"].join("\n")}}]),e}(),d=new g;t.a=d},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function r(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.IndicatorsContainer=t.indicatorsContainerCSS=t.ValueContainer=t.valueContainerCSS=t.SelectContainer=t.containerCSS=void 0;var l=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},s=n(11),c=function(e){return e&&e.__esModule?e:{default:e}}(s);t.containerCSS=function(e){var t=e.isDisabled;return{direction:e.isRtl?"rtl":null,pointerEvents:t?"none":null,position:"relative"}},t.SelectContainer=function(e){var t=e.children,n=e.className,o=e.cx,a=e.getStyles,r=e.innerProps,l=e.isDisabled,s=e.isRtl,u=e.emotion;return c.default.createElement("div",i({className:o(u.css(a("container",e)),{"--is-disabled":l,"--is-rtl":s},n)},r),t)},t.valueContainerCSS=function(e){var t=e.theme.spacing;return{alignItems:"center",display:"flex",flex:1,flexWrap:"wrap",padding:t.baseUnit/2+"px "+2*t.baseUnit+"px",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"}},t.ValueContainer=function(e){function t(){return o(this,t),a(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return r(t,e),l(t,[{key:"render",value:function(){var e=this.props,t=e.children,n=e.className,o=e.cx,a=e.isMulti,r=e.getStyles,l=e.hasValue,i=e.emotion;return c.default.createElement("div",{className:o(i.css(r("valueContainer",this.props)),{"value-container":!0,"value-container--is-multi":a,"value-container--has-value":l},n)},t)}}]),t}(s.Component),t.indicatorsContainerCSS=function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},t.IndicatorsContainer=function(e){var t=e.children,n=e.className,o=e.cx,a=e.getStyles,r=e.emotion;return c.default.createElement("div",{className:o(r.css(a("indicatorsContainer",e)),{indicators:!0},n)},t)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.css=void 0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},a=n(11),r=function(e){return e&&e.__esModule?e:{default:e}}(a),l=(t.css=function(e){var t=e.isDisabled,n=e.isFocused,o=e.theme,a=o.colors,r=o.borderRadius,l=o.spacing;return{alignItems:"center",backgroundColor:t?a.neutral5:a.neutral0,borderColor:t?a.neutral10:n?a.primary:a.neutral20,borderRadius:r,borderStyle:"solid",borderWidth:1,boxShadow:n?"0 0 0 1px "+a.primary:null,cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:l.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms","&:hover":{borderColor:n?a.primary:a.neutral30}}},function(e){var t=e.children,n=e.cx,a=e.getStyles,l=e.className,i=e.isDisabled,s=e.isFocused,c=e.innerRef,u=e.innerProps,p=e.emotion;return r.default.createElement("div",o({ref:c,className:n(p.css(a("control",e)),{control:!0,"control--is-disabled":i,"control--is-focused":s},l)},u),t)});t.default=l},function(e,t,n){"use strict";function o(e,t){var n={};for(var o in e)t.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}Object.defineProperty(t,"__esModule",{value:!0}),t.GroupHeading=t.groupHeadingCSS=t.groupCSS=void 0;var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r=n(11),l=function(e){return e&&e.__esModule?e:{default:e}}(r),i=(t.groupCSS=function(e){var t=e.theme.spacing;return{paddingBottom:2*t.baseUnit,paddingTop:2*t.baseUnit}},function(e){var t=e.children,n=e.className,o=e.cx,r=e.getStyles,i=e.Heading,s=e.headingProps,c=e.label,u=e.theme,p=e.emotion,m=e.selectProps;return l.default.createElement("div",{className:o(p.css(r("group",e)),{group:!0},n)},l.default.createElement(i,a({},s,{selectProps:m,emotion:p,theme:u,getStyles:r,cx:o}),c),l.default.createElement("div",null,t))}),s=(t.groupHeadingCSS=function(e){var t=e.theme.spacing;return{color:"#999",cursor:"default",display:"block",fontSize:"75%",fontWeight:"500",marginBottom:"0.25em",paddingLeft:3*t.baseUnit,paddingRight:3*t.baseUnit,textTransform:"uppercase"}},function(e){var t=e.className,n=e.cx,r=e.getStyles,i=e.theme,s=e.emotion,c=(e.selectProps,o(e,["className","cx","getStyles","theme","emotion","selectProps"]));return l.default.createElement("div",a({className:n(s.css(r("groupHeading",a({theme:i},c))),{"group-heading":!0},t)},c))});t.GroupHeading=s,t.default=i},function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}function a(e,t){var n={};for(var o in e)t.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}Object.defineProperty(t,"__esModule",{value:!0}),t.inputCSS=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},l=n(11),i=o(l),s=n(217),c=o(s),u=(t.inputCSS=function(e){var t=e.isDisabled,n=e.theme,o=n.spacing,a=n.colors;return{margin:o.baseUnit/2,paddingBottom:o.baseUnit/2,paddingTop:o.baseUnit/2,visibility:t?"hidden":"visible",color:a.neutral80}},function(e){return{background:0,border:0,fontSize:"inherit",opacity:e?0:1,outline:0,padding:0,color:"inherit"}}),p=function(e){var t=e.className,n=e.cx,o=e.getStyles,l=e.innerRef,s=e.isHidden,p=e.isDisabled,m=e.theme,g=e.emotion,d=(e.selectProps,a(e,["className","cx","getStyles","innerRef","isHidden","isDisabled","theme","emotion","selectProps"]));return i.default.createElement("div",{className:g.css(o("input",r({theme:m},d)))},i.default.createElement(c.default,r({className:n(null,{input:!0},t),inputRef:l,inputStyle:u(s),disabled:p},d)))};t.default=p},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function r(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.MultiValueRemove=t.MultiValueLabel=t.MultiValueContainer=t.MultiValueGeneric=t.multiValueRemoveCSS=t.multiValueLabelCSS=t.multiValueCSS=void 0;var l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),s=n(11),c=function(e){return e&&e.__esModule?e:{default:e}}(s),u=n(113),p=(t.multiValueCSS=function(e){var t=e.theme,n=t.spacing,o=t.borderRadius;return{backgroundColor:t.colors.neutral10,borderRadius:o/2,display:"flex",margin:n.baseUnit/2,minWidth:0}},t.multiValueLabelCSS=function(e){var t=e.theme,n=t.borderRadius,o=t.colors,a=e.cropWithEllipsis;return{borderRadius:n/2,color:o.neutral80,fontSize:"85%",overflow:"hidden",padding:3,paddingLeft:6,textOverflow:a?"ellipsis":null,whiteSpace:"nowrap"}},t.multiValueRemoveCSS=function(e){var t=e.theme,n=t.spacing,o=t.borderRadius,a=t.colors;return{alignItems:"center",borderRadius:o/2,backgroundColor:e.isFocused&&a.dangerLight,display:"flex",paddingLeft:n.baseUnit,paddingRight:n.baseUnit,":hover":{backgroundColor:a.dangerLight,color:a.danger}}},t.MultiValueGeneric=function(e){var t=e.children,n=e.innerProps;return c.default.createElement("div",n,t)}),m=(t.MultiValueContainer=p,t.MultiValueLabel=p,t.MultiValueRemove=function(e){function t(){return o(this,t),a(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return r(t,e),i(t,[{key:"render",value:function(){var e=this.props,t=e.children,n=e.innerProps,o=e.emotion;return c.default.createElement("div",n,t||c.default.createElement(u.CrossIcon,{size:14,emotion:o}))}}]),t}(s.Component),function(e){function t(){return o(this,t),a(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return r(t,e),i(t,[{key:"render",value:function(){var e=this.props,t=e.children,n=e.className,o=e.components,a=e.cx,r=e.data,i=e.getStyles,s=e.innerProps,u=e.isDisabled,p=e.removeProps,m=e.selectProps,g=e.emotion,d=o.Container,f=o.Label,b=o.Remove,h=l({className:a(g.css(i("multiValue",this.props)),{"multi-value":!0,"multi-value--is-disabled":u},n)},s),v={className:a(g.css(i("multiValueLabel",this.props)),{"multi-value__label":!0},n)},w=l({className:a(g.css(i("multiValueRemove",this.props)),{"multi-value__remove":!0},n)},p);return c.default.createElement(d,{data:r,innerProps:h,selectProps:m},c.default.createElement(f,{data:r,innerProps:v,selectProps:m},t),c.default.createElement(b,{data:r,innerProps:w,selectProps:m,emotion:g}))}}]),t}(s.Component));m.defaultProps={cropWithEllipsis:!0},t.default=m},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.optionCSS=void 0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},a=n(11),r=function(e){return e&&e.__esModule?e:{default:e}}(a),l=(t.optionCSS=function(e){var t=e.isDisabled,n=e.isFocused,o=e.isSelected,a=e.theme,r=a.spacing,l=a.colors;return{backgroundColor:o?l.primary:n?l.primary25:"transparent",color:t?l.neutral20:o?l.neutral0:"inherit",cursor:"default",display:"block",fontSize:"inherit",padding:2*r.baseUnit+"px "+3*r.baseUnit+"px",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",":active":{backgroundColor:o?l.primary:l.primary50}}},function(e){var t=e.children,n=e.className,a=e.cx,l=e.getStyles,i=e.isDisabled,s=e.isFocused,c=e.isSelected,u=e.innerRef,p=e.innerProps,m=e.emotion;return r.default.createElement("div",o({ref:u,className:a(m.css(l("option",e)),{option:!0,"option--is-disabled":i,"option--is-focused":s,"option--is-selected":c},n)},p),t)});t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.placeholderCSS=void 0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},a=n(11),r=function(e){return e&&e.__esModule?e:{default:e}}(a),l=(t.placeholderCSS=function(e){var t=e.theme,n=t.spacing;return{color:t.colors.neutral50,marginLeft:n.baseUnit/2,marginRight:n.baseUnit/2,position:"absolute",top:"50%",transform:"translateY(-50%)"}},function(e){var t=e.children,n=e.className,a=e.cx,l=e.getStyles,i=e.innerProps,s=e.emotion;return r.default.createElement("div",o({className:a(s.css(l("placeholder",e)),{placeholder:!0},n)},i),t)});t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.css=void 0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},a=n(11),r=function(e){return e&&e.__esModule?e:{default:e}}(a),l=(t.css=function(e){var t=e.isDisabled,n=e.theme,o=n.spacing,a=n.colors;return{color:t?a.neutral40:a.neutral80,marginLeft:o.baseUnit/2,marginRight:o.baseUnit/2,maxWidth:"calc(100% - "+2*o.baseUnit+"px)",overflow:"hidden",position:"absolute",textOverflow:"ellipsis",whiteSpace:"nowrap",top:"50%",transform:"translateY(-50%)"}},function(e){var t=e.children,n=e.className,a=e.cx,l=e.getStyles,i=e.isDisabled,s=e.innerProps,c=e.emotion;return r.default.createElement("div",o({className:a(c.css(l("singleValue",e)),{"single-value":!0,"single-value--is-disabled":i},n)},s),t)});t.default=l},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function r(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var l=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),__=wp.i18n.__,i=wp.components,s=i.Button,c=i.Placeholder,u=i.Tooltip,p=wp.element.Component,m=function(e){function t(){return o(this,t),a(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return r(t,e),l(t,[{key:"render",value:function(){var e=this,t=wp.hooks.applyFilters("gtf_layout_selection",[],this.props.block);return wp.element.createElement(c,{label:__("Select Layout","gutentor"),icon:"screenoptions",className:"grid-container"},wp.element.createElement("div",{className:"grid-row"},t&&t.map(function(t,n){return wp.element.createElement(u,{text:t.title},wp.element.createElement(s,{className:"grid-2",onClick:function(){return e.props.editorSelectSetLayout(t.number,t.template)}},wp.element.createElement("img",{className:"normal-image",src:t.img})))})))}}]),t}(p);t.a=m},function(e,t,n){"use strict";function o(e){return!!["gutentor-fp-cat-pos-img-top-left","gutentor-fp-cat-pos-img-top-right","gutentor-fp-cat-pos-img-bottom-left","gutentor-fp-cat-pos-img-bottom-right"].includes(e)}function a(e){return!!["gutentor-fp-pf-pos-img-top-left","gutentor-fp-pf-pos-img-top-right","gutentor-fp-pf-pos-img-bottom-left","gutentor-fp-pf-pos-img-bottom-right"].includes(e)}n.d(t,"a",function(){return o}),n.d(t,"b",function(){return a})},function(e,t,n){"use strict";function o(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,n){function o(a,r){try{var l=t[a](r),i=l.value}catch(e){return void n(e)}if(!l.done)return Promise.resolve(i).then(function(e){o("next",e)},function(e){o("throw",e)});e(i)}return o("next")})}}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function l(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=n(33),s=n.n(i),c=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),__=wp.i18n.__,u=wp.components,p=u.TextControl,m=u.RangeControl,g=u.SelectControl,d=u.ToggleControl,f=wp.element.Component,b=function(e){function t(){a(this,t);var e=r(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments));return e.getTaxonomies=e.getTaxonomies.bind(e),e.state={taxonomies:!1},e.getTaxonomies(),e}return l(t,e),c(t,[{key:"getTaxonomies",value:function(){function e(){return t.apply(this,arguments)}var t=o(s.a.mark(function e(){var t,n;return s.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=[],e.next=3,wp.apiFetch({path:wp.url.addQueryArgs("gutentor-self-api/v1/get_taxonomies")});case 3:n=e.sent,n&&(t.push({label:__("None","gutentor"),value:-1}),Object.keys(n).map(function(e){"post_format"!==n[e].value&&t.push({label:n[e].label,value:n[e].value})})),this.setState({taxonomies:t});case 6:case"end":return e.stop()}},e,this)}));return e}()},{key:"render",value:function(){var e=this.props,t=e.numberOfItems,n=e.numberOfItemsChange,o=e.maxItems,a=void 0===o?100:o,r=e.minItems,l=void 0===r?1:r,i=e.taxType,s=e.taxTypeChange,c=e.orderBy,u=e.orderByChange,f=e.order,b=e.orderChange,h=e.metaKey,v=e.metaKeyChange,w=e.includeTerms,y=e.includeTermsChange,_=e.excludeTerms,k=e.excludeTermsChange,E=e.hideEmpty,C=e.hideEmptyChange,O=[{label:__("Date","gutentor"),value:"date"},{label:__("Title","gutentor"),value:"title"},{label:__("Menu Order","gutentor"),value:"menu_order"},{label:__("Modified Date","gutentor"),value:"modified"},{label:__("Random","gutentor"),value:"rand"},{label:__("Meta Value Number","gutentor"),value:"meta_value_num"}];return wp.element.createElement("div",{className:"g-query-control"},wp.element.createElement("div",{className:"g-query-main-control"},this.state.taxonomies&&wp.element.createElement(g,{label:__("Select Taxonomy","gutentor"),value:i,onChange:function(e){s(e)},options:this.state.taxonomies})),wp.element.createElement(g,{label:__("Order by","gutentor"),value:c,options:wp.hooks.applyFilters("gutentor_term_module_order_by_options",O,this.props),onChange:u}),"meta_value_num"===c&&wp.element.createElement(p,{label:__("Meta key","gutentor"),type:"text",value:h,placeholder:__("Meta key","gutentor"),onChange:v}),wp.element.createElement(g,{label:__("Order","gutentor"),value:f,options:[{label:__("Asc","gutentor"),value:"asc"},{label:__("Desc","gutentor"),value:"desc"}],onChange:b}),wp.element.createElement(p,{label:__("Include Terms","gutentor"),type:"text",value:w,placeholder:__("Terms ids separated by comma, eg: 1,5,11","gutentor"),onChange:y}),wp.element.createElement(p,{label:__("Exclude Terms","gutentor"),type:"text",value:_,placeholder:__("Term ids separated by comma, eg: 1,5,11","gutentor"),onChange:k}),wp.element.createElement(d,{label:__("Hide empty","gutentor"),checked:E,onChange:C}),wp.element.createElement(m,{label:__("Number of items","gutentor"),value:t,onChange:n,min:l,max:a,required:!0}))}}]),t}(f);t.a=b},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=(n(268),n(345),n(362),n(364),n(366),n(368),n(370),n(372),n(375),n(377),n(379),n(380),n(381),n(383),n(385),n(387),n(389),n(391),n(392),n(147),n(394),n(396),n(398),n(399),n(400),n(406),n(408),n(410),n(411),n(412)),a=(n.n(o),n(413),n(418),n(419),n(420),n(422),n(424),n(425),n(426),n(433)),r=(n.n(a),n(434),n(435),n(436),n(437),n(438),n(439),n(440)),l=(n.n(r),n(441),n(442),n(443),n(444),n(445),n(446),n(447),n(448),n(449),n(450),n(451),n(452),n(453),n(454),n(455),n(456),n(457),n(458),n(459),n(460),n(461)),i=(n.n(l),n(462),n(463),n(464),n(465)),s=(n.n(i),n(466),n(467),n(468),n(469),n(470),n(471),n(472),n(473),n(474),n(475),n(476),n(477),n(478),n(479),n(480),n(481),n(482),n(483),n(484),n(485),n(486),n(487),n(488),n(489),n(490),n(491)),c=(n.n(s),n(492),n(493),n(494),n(495),n(496),n(497)),u=(n.n(c),n(498),n(499),n(500),n(501),n(502),n(503),n(504),n(505),n(506),n(507),n(508),n(509)),p=(n.n(u),n(510),n(165),n(511),n(514),n(69),n(518),n(539),n(550),n(670),n(730),n(732),n(845),n(917),wp.element.createElement("img",{src:gutentor.gutentorSvg,style:{width:"20px"}}));wp.blocks.updateCategory("gutentor",{icon:p}),wp.blocks.updateCategory("gutentor-elements",{icon:p}),wp.blocks.updateCategory("gutentor-posts",{icon:p}),wp.blocks.updateCategory("gutentor-modules",{icon:p})},function(e,t,n){"use strict";var o=n(269),a=(n.n(o),n(270)),r=(n.n(a),n(271)),l=(n.n(r),n(272)),i=(n.n(l),n(273)),s=(n.n(i),n(274)),c=(n.n(s),n(275)),u=(n.n(c),n(276)),p=(n.n(u),n(277)),m=(n.n(p),n(278)),g=(n.n(m),n(279)),d=(n.n(g),n(280)),f=(n.n(d),n(281)),b=(n.n(f),n(282)),h=(n.n(b),n(283)),v=(n.n(h),n(284)),w=(n.n(v),n(285)),y=(n.n(w),n(286)),_=(n.n(y),n(287)),k=(n.n(_),n(288)),E=(n.n(k),n(289)),C=(n.n(E),n(290)),O=(n.n(C),n(291)),j=(n.n(O),n(292)),x=(n.n(j),n(293)),I=(n.n(x),n(294)),T=(n.n(I),n(295)),F=(n.n(T),n(296)),B=(n.n(F),n(297)),S=(n.n(B),n(298)),N=(n.n(S),n(299)),P=(n.n(N),n(300)),A=(n.n(P),n(301)),M=(n.n(A),n(302)),D=(n.n(M),n(303)),H=(n.n(D),n(304)),L=(n.n(H),n(305)),R=(n.n(L),n(306)),V=(n.n(R),n(307)),W=(n.n(V),n(308)),z=(n.n(W),n(309)),G=(n.n(z),n(310)),U=(n.n(G),n(311)),q=(n.n(U),n(312)),Y=(n.n(q),n(313)),K=(n.n(Y),n(314)),X=(n.n(K),n(315)),Z=(n.n(X),n(316)),Q=(n.n(Z),n(317)),J=(n.n(Q),n(318)),$=(n.n(J),n(319)),ee=(n.n($),n(320)),te=(n.n(ee),n(321)),ne=(n.n(te),n(322)),oe=(n.n(ne),n(323)),ae=(n.n(oe),n(324)),re=(n.n(ae),n(325)),le=(n.n(re),n(326)),ie=(n.n(le),n(327)),se=(n.n(ie),n(328)),ce=(n.n(se),n(329)),ue=(n.n(ce),n(330)),pe=(n.n(ue),n(331)),me=(n.n(pe),n(332)),ge=(n.n(me),n(333)),de=(n.n(ge),n(334)),fe=(n.n(de),n(335)),be=(n.n(fe),n(336)),he=(n.n(be),n(337)),ve=(n.n(he),n(338)),we=(n.n(ve),n(339)),ye=(n.n(we),n(340)),_e=(n.n(ye),n(341)),ke=(n.n(_e),n(342)),Ee=(n.n(ke),n(343)),Ce=(n.n(Ee),n(344));n.n(Ce)},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t,n){"use strict";var o=n(115),a=n(346),r=n(5),l=n(4),i=n(0),s=n.n(i),c=n(2),u=n(13),p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},__=wp.i18n.__,m=wp.blocks.registerBlockType,g=wp.blockEditor.InspectorControls,d=wp.element.Fragment,f=wp.components,b=f.PanelBody,h=f.PanelRow;m("gutentor/icon-box",{title:__("Icon Widget","gutentor"),description:__("Add a graphic icon symbol to create stylized section combining with text and button.","gutentor"),icon:wp.element.createElement("img",{src:gutentor.iconSvg}),category:"gutentor",keywords:[__("Gutentor Icon Box Column Grid Block Widget","gutentor")],example:{},attributes:wp.hooks.applyFilters("gutentor_add_attributes",o.a),supports:{align:["wide","full"],html:!1},edit:function(e){var t=e.attributes,n=e.className,o=e.setAttributes,i=e.clientId,m=t.blockIconBoxTemplate,f=t.blockID,v=t.gutentorBlockName,w=t.blockSectionHtmlTag,y=t.blockComponentAnimation,_=w;return f!==i&&o({blockID:i}),void 0===v&&o({gutentorBlockName:e.name}),wp.hooks.doAction("gutentor_edit_init",e),wp.element.createElement(d,null,wp.element.createElement(g,{key:"inspector"},wp.element.createElement("div",{className:"gutentor-sidebar-inspectors"},wp.element.createElement(c.d,null,wp.element.createElement(c.b,null,wp.element.createElement(c.a,null,wp.element.createElement("i",{className:"dashicons dashicons-dashboard"}),__("General","gutentor")),wp.element.createElement(c.a,null,wp.element.createElement("i",{className:"dashicons dashicons-admin-generic"}),__("Advanced","gutentor"))),wp.element.createElement(c.c,null,wp.hooks.applyFilters("gutentor_edit_before_item_tab",[],e),wp.element.createElement(b,{title:__("Block Items","gutentor"),initialOpen:!1},wp.element.createElement(h,null,wp.element.createElement(c.d,null,wp.element.createElement(c.b,null,wp.element.createElement(c.a,null,wp.element.createElement("i",{className:"dashicons dashicons-dashboard"}),__("General","gutentor")),wp.element.createElement(c.a,null,wp.element.createElement("i",{className:"dashicons dashicons-edit"}),__("Style","gutentor")),wp.element.createElement(c.a,null,wp.element.createElement("i",{className:"dashicons dashicons-admin-generic"}),__("Advanced","gutentor"))),wp.element.createElement(c.c,null,wp.hooks.applyFilters("gutentor_edit_general_tab_start",[],e),wp.hooks.applyFilters("gutentor_edit_enable_block_template",!0,e)&&wp.element.createElement(u.a,{label:__("Template","gutentor"),value:m,onChange:function(e){o({blockIconBoxTemplate:e})},options:wp.hooks.applyFilters("gutentor_edit_template_options",[{value:"icon-template1",label:'<img src="'+gutentor.dirUrl+'/assets/img/templates/icon-box/icon-box-template-1.svg" />'},{value:"icon-template2",label:'<img src="'+gutentor.dirUrl+'/assets/img/templates/icon-box/icon-box-template-2.svg" />'},{value:"icon-template3",label:'<img src="'+gutentor.dirUrl+'/assets/img/templates/icon-box/icon-box-template-3.svg" />'}],e)}),wp.hooks.applyFilters("gutentor_edit_general_tab_end",[],e)),wp.element.createElement(c.c,null,wp.hooks.applyFilters("gutentor_edit_style_tab_start",[],e),wp.hooks.applyFilters("gutentor_edit_style_tab_end",[],e)),wp.element.createElement(c.c,null,wp.hooks.applyFilters("gutentor_edit_items_advanced_options",[],e))))),wp.hooks.applyFilters("gutentor_edit_after_item_tab",[],e)),wp.element.createElement(c.c,null,wp.hooks.applyFilters("gutentor_edit_advanced_tab",[],e))))),wp.element.createElement(_,p({id:"section-"+f,className:wp.hooks.applyFilters("gutentor_edit_section_class",s()("gutentor-section gutentor-icon-wrapper",n,m||""),e)},Object(l.c)(y)),Object(r.d)(e),wp.hooks.applyFilters("gutentor_edit_before_container",[],e),wp.element.createElement("div",{className:wp.hooks.applyFilters("gutentor_edit_container_class","grid-container",e)},wp.hooks.applyFilters("gutentor_edit_before_repeater_items",[],e),wp.element.createElement(a.a,e),wp.hooks.applyFilters("gutentor_edit_after_repeater_items",[],e)),wp.hooks.applyFilters("gutentor_edit_after_container",[],e)))},save:function(e){var t=e.attributes,n=e.className,o=t.blockIconBoxTemplate,a=t.blockID,r=t.blockSortableItems,i=t.blockSectionHtmlTag,c=t.blockComponentAnimation,u=t.blockItemsWrapAnimation,m=i;return wp.hooks.doAction("gutentor_save_init",e),wp.element.createElement(m,p({id:"section-"+a,className:wp.hooks.applyFilters("gutentor_save_section_class",s()("gutentor-section gutentor-icon-wrapper",n,o||""),e)},Object(l.c)(c)),wp.hooks.applyFilters("gutentor_save_before_container",[],e),wp.element.createElement("div",{className:wp.hooks.applyFilters("gutentor_save_container_class","grid-container",e)},wp.hooks.applyFilters("gutentor_save_before_repeater_items",[],e),wp.element.createElement("div",p({className:wp.hooks.applyFilters("gutentor_save_grid_row_class","grid-row gutentor-grid-item-wrap",e)},wp.hooks.applyFilters("gutentor_save_grid_row_attr",{},e),Object(l.c)(u)),r&&r.map(function(t,n){return wp.element.createElement("div",{className:wp.hooks.applyFilters("gutentor_save_grid_column_class","gutentor-grid-column",e)},wp.element.createElement("div",{className:wp.hooks.applyFilters("gutentor_save_single_item_class",s()("gutentor-single-item","gutentor-icon","gutentor-single-item-"+n),e,t,n)},wp.hooks.applyFilters("gutentor_save_icon_box_template_data",[],e,t,n)))}),wp.hooks.applyFilters("gutentor_save_after_single_item_data",[],e)),wp.hooks.applyFilters("gutentor_save_after_repeater_items",[],e)),wp.hooks.applyFilters("gutentor_save_after_container",[],e))}})},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function r(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var l=n(0),i=n.n(l),s=n(26),c=(n.n(s),n(4)),u=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},__=wp.i18n.__,m=wp.element.Component,g=wp.components,d=g.Button,f=g.Modal,b=Object(s.SortableHandle)(function(){return wp.element.createElement("i",{className:"dashicons dashicons-move"})}),h=Object(s.SortableElement)(function(e){var t=(e.itemStyle,e.setItemStyle,e.sortableIndex),n=e.onRemove,o=e.gutentorAllProps,a=e.gutentorSingleItem;e.blockItemsWrapAnimation;return wp.element.createElement("div",{className:wp.hooks.applyFilters("gutentor_edit_grid_column_class","gutentor-grid-column",o)},wp.element.createElement("div",{className:"gutentor-column-inside"},wp.element.createElement("div",{className:"gutentor-control-actions"},wp.hooks.applyFilters("gutentor_edit_before_single_control",[],o,a,t),wp.element.createElement(b,null),wp.element.createElement("span",{onClick:function(){return n(t)}},wp.element.createElement("i",{className:"dashicons dashicons-trash"})),wp.hooks.applyFilters("gutentor_edit_after_single_control",[],o,a,t)),wp.hooks.applyFilters("gutentor_edit_before_single_item",[],o,a,t),wp.element.createElement("div",{className:wp.hooks.applyFilters("gutentor_edit_single_item_class",i()("gutentor-single-item","gutentor-icon","gutentor-single-item-"+t),o,a,t)},wp.hooks.applyFilters("gutentor_edit_icon_box_template_data",[],o,a,t))))}),v=Object(s.SortableContainer)(function(e){var t=e.items,n=e.onRemove,o=e.setItemStyle,a=e.gutentorAllProps,r=e.blockItemsWrapAnimation;return wp.element.createElement("div",p({className:wp.hooks.applyFilters("gutentor_edit_grid_row_class","grid-row gutentor-grid-item-wrap",a)},wp.hooks.applyFilters("gutentor_edit_grid_row_attr",{},a),Object(c.c)(r)),t.map(function(e,t){return wp.element.createElement(h,{key:"item-"+t,index:t,itemStyle:e.itemStyle,sortableIndex:t,onRemove:n,setItemStyle:o,blockItemsWrapAnimation:r,gutentorAllProps:a,gutentorSingleItem:e})}))}),w=function(e){function t(e){o(this,t);var n=a(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.onSortEnd=function(e){var t=e.oldIndex,o=e.newIndex,a=n.props,r=a.attributes,l=a.setAttributes,i=r.blockSortableItems.slice(0);l({blockSortableItems:Object(s.arrayMove)(i,t,o)})},n.onSortEnd=n.onSortEnd.bind(n),n.state={isRemovePopup:!1,deleteTabID:null},n}return r(t,e),u(t,[{key:"render",value:function(){var e=this,t=this.props,n=t.attributes,o=(t.className,t.setAttributes),a=n.blockSortableItems,r=n.blockItemsWrapAnimation,l=function(t){var n=a.slice(0);n.splice(t,1),o({blockSortableItems:n}),e.setState({isRemovePopup:!1})},s=function(t){e.setState({isRemovePopup:!0,deleteTabID:t})},c=function(){return e.state.isRemovePopup?wp.element.createElement(f,{title:__("Delete this Item?","gutentor"),className:i()("g-remove-popup"),onRequestClose:function(){e.setState({isRemovePopup:!1})},isDismissable:!1,shouldCloseOnClickOutside:!0},__("This will delete the item.","gutentor"),wp.element.createElement("div",{className:"g-remove-popup-actions"},wp.element.createElement(d,{isDefault:!0,onClick:function(){e.setState({isRemovePopup:!1})}},__("Cancel","gutentor")),wp.element.createElement(d,{isPrimary:!0,onClick:function(){l(e.state.deleteTabID)}},__("Delete","gutentor")))):""},u=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],l=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i=a.slice(0);i.map(function(o,a){t===a&&(l?i[a].itemStyle[n][r][l]=e:r?i[a].itemStyle[n][r]=e:i[a].itemStyle[n]=e)}),o({blockSortableItems:i})};return 0===a.length&&o({blockSortableItems:[{icon:{label:"fa-desktop",value:4==gutentor.fontAwesomeVersion?"fa fa-desktop":"fas fa-desktop",code:"f108"}}]}),[wp.element.createElement(v,{items:a,axis:"xy",onSortEnd:this.onSortEnd,useDragHandle:!0,onRemove:s,setItemStyle:u,blockItemsWrapAnimation:r,gutentorAllProps:this.props}),wp.element.createElement("div",{className:"gutentor-add-item"},wp.element.createElement(d,{isPrimary:!0,isLarge:!0,className:"gutentor-add-item-button",onClick:function(){return o({blockSortableItems:a.concat([{icon:{label:"fa-desktop",value:4==gutentor.fontAwesomeVersion?"fa fa-desktop":"fas fa-desktop",code:"f108"}}])})}},wp.element.createElement("i",{className:"dashicons dashicons-plus"}),__("Add Item","gutentor"))),wp.element.createElement(c,null)]}}]),t}(m);t.a=w},function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}function a(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function i(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e){var t,n,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{withRef:!1};return n=t=function(t){function n(e){r(this,n);var t=l(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,e));return t.handleStart=function(e){var n=t.props,o=n.distance,a=n.shouldCancelStart;if(2===e.button||a(e))return!1;t._touched=!0,t._pos=(0,_.getPosition)(e);var r=(0,_.closest)(e.target,function(e){return null!=e.sortableInfo});if(r&&r.sortableInfo&&t.nodeIsChild(r)&&!t.state.sorting){var l=t.props.useDragHandle,i=r.sortableInfo,s=i.index,c=i.collection;if(l&&!(0,_.closest)(e.target,function(e){return null!=e.sortableHandle}))return;t.manager.active={index:s,collection:c},(0,_.isTouchEvent)(e)||"a"!==e.target.tagName.toLowerCase()||e.preventDefault(),o||(0===t.props.pressDelay?t.handlePress(e):t.pressTimer=setTimeout(function(){return t.handlePress(e)},t.props.pressDelay))}},t.nodeIsChild=function(e){return e.sortableInfo.manager===t.manager},t.handleMove=function(e){var n=t.props,o=n.distance,a=n.pressThreshold;if(!t.state.sorting&&t._touched){var r=(0,_.getPosition)(e),l=t._delta={x:t._pos.x-r.x,y:t._pos.y-r.y},i=Math.abs(l.x)+Math.abs(l.y);o||a&&!(a&&i>=a)?o&&i>=o&&t.manager.isActive()&&t.handlePress(e):(clearTimeout(t.cancelTimer),t.cancelTimer=setTimeout(t.cancel,0))}},t.handleEnd=function(){t._touched=!1,t.cancel()},t.cancel=function(){var e=t.props.distance;t.state.sorting||(e||clearTimeout(t.pressTimer),t.manager.active=null)},t.handlePress=function(e){var n=t.manager.getActive();if(n){var o=t.props,r=o.axis,l=o.getHelperDimensions,i=o.helperClass,s=o.hideSortableGhost,c=o.onSortStart,u=o.useWindowAsScrollContainer,p=n.node,m=n.collection,g=p.sortableInfo.index,d=(0,_.getElementMargin)(p),f=t.container.getBoundingClientRect(),b=l({index:g,node:p,collection:m});t.node=p,t.margin=d,t.width=b.width,t.height=b.height,t.marginOffset={x:t.margin.left+t.margin.right,y:Math.max(t.margin.top,t.margin.bottom)},t.boundingClientRect=p.getBoundingClientRect(),t.containerBoundingRect=f,t.index=g,t.newIndex=g,t.axis={x:r.indexOf("x")>=0,y:r.indexOf("y")>=0},t.offsetEdge=(0,_.getEdgeOffset)(p,t.container),t.initialOffset=(0,_.getPosition)(e),t.initialScroll={top:t.container.scrollTop,left:t.container.scrollLeft},t.initialWindowScroll={top:window.pageYOffset,left:window.pageXOffset};var h=p.querySelectorAll("input, textarea, select"),v=p.cloneNode(!0);if([].concat(a(v.querySelectorAll("input, textarea, select"))).forEach(function(e,t){"file"!==e.type&&h[t]&&(e.value=h[t].value)}),t.helper=t.document.body.appendChild(v),t.helper.style.position="fixed",t.helper.style.top=t.boundingClientRect.top-d.top+"px",t.helper.style.left=t.boundingClientRect.left-d.left+"px",t.helper.style.width=t.width+"px",t.helper.style.height=t.height+"px",t.helper.style.boxSizing="border-box",t.helper.style.pointerEvents="none",s&&(t.sortableGhost=p,p.style.visibility="hidden",p.style.opacity=0),t.minTranslate={},t.maxTranslate={},t.axis.x&&(t.minTranslate.x=(u?0:f.left)-t.boundingClientRect.left-t.width/2,t.maxTranslate.x=(u?t.contentWindow.innerWidth:f.left+f.width)-t.boundingClientRect.left-t.width/2),t.axis.y&&(t.minTranslate.y=(u?0:f.top)-t.boundingClientRect.top-t.height/2,t.maxTranslate.y=(u?t.contentWindow.innerHeight:f.top+f.height)-t.boundingClientRect.top-t.height/2),i){var w;(w=t.helper.classList).add.apply(w,a(i.split(" ")))}t.listenerNode=e.touches?p:t.contentWindow,_.events.move.forEach(function(e){return t.listenerNode.addEventListener(e,t.handleSortMove,!1)}),_.events.end.forEach(function(e){return t.listenerNode.addEventListener(e,t.handleSortEnd,!1)}),t.setState({sorting:!0,sortingIndex:g}),c&&c({node:p,index:g,collection:m},e)}},t.handleSortMove=function(e){var n=t.props.onSortMove;e.preventDefault(),t.updatePosition(e),t.animateNodes(),t.autoscroll(),n&&n(e)},t.handleSortEnd=function(e){var n=t.props,o=n.hideSortableGhost,a=n.onSortEnd,r=t.manager.active.collection;t.listenerNode&&(_.events.move.forEach(function(e){return t.listenerNode.removeEventListener(e,t.handleSortMove)}),_.events.end.forEach(function(e){return t.listenerNode.removeEventListener(e,t.handleSortEnd)})),t.helper.parentNode.removeChild(t.helper),o&&t.sortableGhost&&(t.sortableGhost.style.visibility="",t.sortableGhost.style.opacity="");for(var l=t.manager.refs[r],i=0,s=l.length;i<s;i++){var c=l[i],u=c.node;c.edgeOffset=null,u.style[_.vendorPrefix+"Transform"]="",u.style[_.vendorPrefix+"TransitionDuration"]=""}clearInterval(t.autoscrollInterval),t.autoscrollInterval=null,t.manager.active=null,t.setState({sorting:!1,sortingIndex:null}),"function"===typeof a&&a({oldIndex:t.index,newIndex:t.newIndex,collection:r},e),t._touched=!1},t.autoscroll=function(){var e=t.translate,n={x:0,y:0},o={x:1,y:1},a={x:10,y:10};e.y>=t.maxTranslate.y-t.height/2?(n.y=1,o.y=a.y*Math.abs((t.maxTranslate.y-t.height/2-e.y)/t.height)):e.x>=t.maxTranslate.x-t.width/2?(n.x=1,o.x=a.x*Math.abs((t.maxTranslate.x-t.width/2-e.x)/t.width)):e.y<=t.minTranslate.y+t.height/2?(n.y=-1,o.y=a.y*Math.abs((e.y-t.height/2-t.minTranslate.y)/t.height)):e.x<=t.minTranslate.x+t.width/2&&(n.x=-1,o.x=a.x*Math.abs((e.x-t.width/2-t.minTranslate.x)/t.width)),t.autoscrollInterval&&(clearInterval(t.autoscrollInterval),t.autoscrollInterval=null,t.isAutoScrolling=!1),0===n.x&&0===n.y||(t.autoscrollInterval=setInterval(function(){t.isAutoScrolling=!0;var e={left:1*o.x*n.x,top:1*o.y*n.y};t.scrollContainer.scrollTop+=e.top,t.scrollContainer.scrollLeft+=e.left,t.translate.x+=e.left,t.translate.y+=e.top,t.animateNodes()},5))},t.manager=new y.default,t.events={start:t.handleStart,move:t.handleMove,end:t.handleEnd},(0,v.default)(!(e.distance&&e.pressDelay),"Attempted to set both `pressDelay` and `distance` on SortableContainer, you may only use one or the other, not both at the same time."),t.state={},t}return i(n,t),p(n,[{key:"getChildContext",value:function(){return{manager:this.manager}}},{key:"componentDidMount",value:function(){var e=this,t=this.props.useWindowAsScrollContainer,n=this.getContainer();Promise.resolve(n).then(function(n){e.container=n,e.document=e.container.ownerDocument||document;var o=e.props.contentWindow||e.document.defaultView||window;e.contentWindow="function"===typeof o?o():o,e.scrollContainer=t?e.document.scrollingElement||e.document.documentElement:e.container;for(var a in e.events)!function(t){e.events.hasOwnProperty(t)&&_.events[t].forEach(function(n){return e.container.addEventListener(n,e.events[t],!1)})}(a)})}},{key:"componentWillUnmount",value:function(){var e=this;if(this.container){for(var t in this.events)!function(t){e.events.hasOwnProperty(t)&&_.events[t].forEach(function(n){return e.container.removeEventListener(n,e.events[t])})}(t)}}},{key:"getLockPixelOffsets",value:function(){var e=this.width,t=this.height,n=this.props.lockOffset,o=Array.isArray(n)?n:[n,n];(0,v.default)(2===o.length,"lockOffset prop of SortableContainer should be a single value or an array of exactly two values. Given %s",n);var a=u(o,2),r=a[0],l=a[1];return[(0,_.getLockPixelOffset)({lockOffset:r,width:e,height:t}),(0,_.getLockPixelOffset)({lockOffset:l,width:e,height:t})]}},{key:"updatePosition",value:function(e){var t=this.props,n=t.lockAxis,o=t.lockToContainerEdges,a=(0,_.getPosition)(e),r={x:a.x-this.initialOffset.x,y:a.y-this.initialOffset.y};if(r.y-=window.pageYOffset-this.initialWindowScroll.top,r.x-=window.pageXOffset-this.initialWindowScroll.left,this.translate=r,o){var l=this.getLockPixelOffsets(),i=u(l,2),s=i[0],c=i[1],p={x:this.width/2-s.x,y:this.height/2-s.y},m={x:this.width/2-c.x,y:this.height/2-c.y};r.x=(0,_.limit)(this.minTranslate.x+p.x,this.maxTranslate.x-m.x,r.x),r.y=(0,_.limit)(this.minTranslate.y+p.y,this.maxTranslate.y-m.y,r.y)}"x"===n?r.y=0:"y"===n&&(r.x=0),this.helper.style[_.vendorPrefix+"Transform"]="translate3d("+r.x+"px,"+r.y+"px, 0)"}},{key:"animateNodes",value:function(){var e=this.props,t=e.transitionDuration,n=e.hideSortableGhost,o=e.onSortOver,a=this.manager.getOrderedRefs(),r={left:this.container.scrollLeft-this.initialScroll.left,top:this.container.scrollTop-this.initialScroll.top},l={left:this.offsetEdge.left+this.translate.x+r.left,top:this.offsetEdge.top+this.translate.y+r.top},i={top:window.pageYOffset-this.initialWindowScroll.top,left:window.pageXOffset-this.initialWindowScroll.left},s=this.newIndex;this.newIndex=null;for(var c=0,u=a.length;c<u;c++){var p=a[c].node,m=p.sortableInfo.index,g=p.offsetWidth,d=p.offsetHeight,f={width:this.width>g?g/2:this.width/2,height:this.height>d?d/2:this.height/2},b={x:0,y:0},h=a[c].edgeOffset;h||(a[c].edgeOffset=h=(0,_.getEdgeOffset)(p,this.container));var v=c<a.length-1&&a[c+1],w=c>0&&a[c-1];v&&!v.edgeOffset&&(v.edgeOffset=(0,_.getEdgeOffset)(v.node,this.container)),m!==this.index?(t&&(p.style[_.vendorPrefix+"TransitionDuration"]=t+"ms"),this.axis.x?this.axis.y?m<this.index&&(l.left+i.left-f.width<=h.left&&l.top+i.top<=h.top+f.height||l.top+i.top+f.height<=h.top)?(b.x=this.width+this.marginOffset.x,h.left+b.x>this.containerBoundingRect.width-f.width&&(b.x=v.edgeOffset.left-h.left,b.y=v.edgeOffset.top-h.top),null===this.newIndex&&(this.newIndex=m)):m>this.index&&(l.left+i.left+f.width>=h.left&&l.top+i.top+f.height>=h.top||l.top+i.top+f.height>=h.top+d)&&(b.x=-(this.width+this.marginOffset.x),h.left+b.x<this.containerBoundingRect.left+f.width&&(b.x=w.edgeOffset.left-h.left,b.y=w.edgeOffset.top-h.top),this.newIndex=m):m>this.index&&l.left+i.left+f.width>=h.left?(b.x=-(this.width+this.marginOffset.x),this.newIndex=m):m<this.index&&l.left+i.left<=h.left+f.width&&(b.x=this.width+this.marginOffset.x,null==this.newIndex&&(this.newIndex=m)):this.axis.y&&(m>this.index&&l.top+i.top+f.height>=h.top?(b.y=-(this.height+this.marginOffset.y),this.newIndex=m):m<this.index&&l.top+i.top<=h.top+f.height&&(b.y=this.height+this.marginOffset.y,null==this.newIndex&&(this.newIndex=m))),p.style[_.vendorPrefix+"Transform"]="translate3d("+b.x+"px,"+b.y+"px,0)"):n&&(this.sortableGhost=p,p.style.visibility="hidden",p.style.opacity=0)}null==this.newIndex&&(this.newIndex=this.index),o&&this.newIndex!==s&&o({newIndex:this.newIndex,oldIndex:s,index:this.index,collection:this.manager.active.collection})}},{key:"getWrappedInstance",value:function(){return(0,v.default)(o.withRef,"To access the wrapped instance, you need to pass in {withRef: true} as the second argument of the SortableContainer() call"),this.refs.wrappedInstance}},{key:"getContainer",value:function(){var e=this.props.getContainer;return"function"!==typeof e?(0,b.findDOMNode)(this):e(o.withRef?this.getWrappedInstance():void 0)}},{key:"render",value:function(){var t=o.withRef?"wrappedInstance":null;return g.default.createElement(e,c({ref:t},(0,_.omit)(this.props,"contentWindow","useWindowAsScrollContainer","distance","helperClass","hideSortableGhost","transitionDuration","useDragHandle","pressDelay","pressThreshold","shouldCancelStart","onSortStart","onSortMove","onSortEnd","axis","lockAxis","lockOffset","lockToContainerEdges","getContainer","getHelperDimensions")))}}]),n}(m.Component),t.displayName=(0,_.provideDisplayName)("sortableList",e),t.defaultProps={axis:"y",transitionDuration:300,pressDelay:0,pressThreshold:5,distance:0,useWindowAsScrollContainer:!1,hideSortableGhost:!0,shouldCancelStart:function(e){if(-1!==["input","textarea","select","option","button"].indexOf(e.target.tagName.toLowerCase()))return!0},lockToContainerEdges:!1,lockOffset:"50%",getHelperDimensions:function(e){var t=e.node;return{width:t.offsetWidth,height:t.offsetHeight}}},t.propTypes={axis:f.default.oneOf(["x","y","xy"]),distance:f.default.number,lockAxis:f.default.string,helperClass:f.default.string,transitionDuration:f.default.number,contentWindow:f.default.any,onSortStart:f.default.func,onSortMove:f.default.func,onSortOver:f.default.func,onSortEnd:f.default.func,shouldCancelStart:f.default.func,pressDelay:f.default.number,useDragHandle:f.default.bool,useWindowAsScrollContainer:f.default.bool,hideSortableGhost:f.default.bool,lockToContainerEdges:f.default.bool,lockOffset:f.default.oneOfType([f.default.number,f.default.string,f.default.arrayOf(f.default.oneOfType([f.default.number,f.default.string]))]),getContainer:f.default.func,getHelperDimensions:f.default.func},t.childContextTypes={manager:f.default.object.isRequired},n}Object.defineProperty(t,"__esModule",{value:!0});var c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},u=function(){function e(e,t){var n=[],_n=!0,o=!1,a=void 0;try{for(var r,l=e[Symbol.iterator]();!(_n=(r=l.next()).done)&&(n.push(r.value),!t||n.length!==t);_n=!0);}catch(e){o=!0,a=e}finally{try{!_n&&l.return&&l.return()}finally{if(o)throw a}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),p=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}();t.default=s;var m=n(11),g=o(m),d=n(37),f=o(d),b=n(43),h=n(64),v=o(h),w=n(351),y=o(w),_=n(63)},function(e,t,n){"use strict";(function(t){function o(){return null}var a=n(117),r=n(75),l=n(349),i=function(){};"production"!==t.env.NODE_ENV&&(i=function(e){var t="Warning: "+e;"undefined"!==typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}),e.exports=function(e,n){function s(e){var t=e&&(j&&e[j]||e[x]);if("function"===typeof t)return t}function c(e,t){return e===t?0!==e||1/e===1/t:e!==e&&t!==t}function u(e){this.message=e,this.stack=""}function p(e){function o(o,s,c,p,m,g,d){if(p=p||I,g=g||c,d!==r){if(n){var f=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw f.name="Invariant Violation",f}if("production"!==t.env.NODE_ENV&&"undefined"!==typeof console){var b=p+":"+c;!a[b]&&l<3&&(i("You are manually calling a React.PropTypes validation function for the `"+g+"` prop on `"+p+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),a[b]=!0,l++)}}return null==s[c]?o?new u(null===s[c]?"The "+m+" `"+g+"` is marked as required in `"+p+"`, but its value is `null`.":"The "+m+" `"+g+"` is marked as required in `"+p+"`, but its value is `undefined`."):null:e(s,c,p,m,g)}if("production"!==t.env.NODE_ENV)var a={},l=0;var s=o.bind(null,!1);return s.isRequired=o.bind(null,!0),s}function m(e){function t(t,n,o,a,r,l){var i=t[n];if(k(i)!==e)return new u("Invalid "+a+" `"+r+"` of type `"+E(i)+"` supplied to `"+o+"`, expected `"+e+"`.");return null}return p(t)}function g(e){function t(t,n,o,a,l){if("function"!==typeof e)return new u("Property `"+l+"` of component `"+o+"` has invalid PropType notation inside arrayOf.");var i=t[n];if(!Array.isArray(i)){return new u("Invalid "+a+" `"+l+"` of type `"+k(i)+"` supplied to `"+o+"`, expected an array.")}for(var s=0;s<i.length;s++){var c=e(i,s,o,a,l+"["+s+"]",r);if(c instanceof Error)return c}return null}return p(t)}function d(e){function t(t,n,o,a,r){if(!(t[n]instanceof e)){var l=e.name||I;return new u("Invalid "+a+" `"+r+"` of type `"+O(t[n])+"` supplied to `"+o+"`, expected instance of `"+l+"`.")}return null}return p(t)}function f(e){function n(t,n,o,a,r){for(var l=t[n],i=0;i<e.length;i++)if(c(l,e[i]))return null;return new u("Invalid "+a+" `"+r+"` of value `"+l+"` supplied to `"+o+"`, expected one of "+JSON.stringify(e)+".")}return Array.isArray(e)?p(n):("production"!==t.env.NODE_ENV&&i("Invalid argument supplied to oneOf, expected an instance of array."),o)}function b(e){function t(t,n,o,a,l){if("function"!==typeof e)return new u("Property `"+l+"` of component `"+o+"` has invalid PropType notation inside objectOf.");var i=t[n],s=k(i);if("object"!==s)return new u("Invalid "+a+" `"+l+"` of type `"+s+"` supplied to `"+o+"`, expected an object.");for(var c in i)if(i.hasOwnProperty(c)){var p=e(i,c,o,a,l+"."+c,r);if(p instanceof Error)return p}return null}return p(t)}function h(e){function n(t,n,o,a,l){for(var i=0;i<e.length;i++){if(null==(0,e[i])(t,n,o,a,l,r))return null}return new u("Invalid "+a+" `"+l+"` supplied to `"+o+"`.")}if(!Array.isArray(e))return"production"!==t.env.NODE_ENV&&i("Invalid argument supplied to oneOfType, expected an instance of array."),o;for(var a=0;a<e.length;a++){var l=e[a];if("function"!==typeof l)return i("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+C(l)+" at index "+a+"."),o}return p(n)}function v(e){function t(t,n,o,a,l){var i=t[n],s=k(i);if("object"!==s)return new u("Invalid "+a+" `"+l+"` of type `"+s+"` supplied to `"+o+"`, expected `object`.");for(var c in e){var p=e[c];if(p){var m=p(i,c,o,a,l+"."+c,r);if(m)return m}}return null}return p(t)}function w(e){function t(t,n,o,l,i){var s=t[n],c=k(s);if("object"!==c)return new u("Invalid "+l+" `"+i+"` of type `"+c+"` supplied to `"+o+"`, expected `object`.");var p=a({},t[n],e);for(var m in p){var g=e[m];if(!g)return new u("Invalid "+l+" `"+i+"` key `"+m+"` supplied to `"+o+"`.\nBad object: "+JSON.stringify(t[n],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var d=g(s,m,o,l,i+"."+m,r);if(d)return d}return null}return p(t)}function y(t){switch(typeof t){case"number":case"string":case"undefined":return!0;case"boolean":return!t;case"object":if(Array.isArray(t))return t.every(y);if(null===t||e(t))return!0;var n=s(t);if(!n)return!1;var o,a=n.call(t);if(n!==t.entries){for(;!(o=a.next()).done;)if(!y(o.value))return!1}else for(;!(o=a.next()).done;){var r=o.value;if(r&&!y(r[1]))return!1}return!0;default:return!1}}function _(e,t){return"symbol"===e||("Symbol"===t["@@toStringTag"]||"function"===typeof Symbol&&t instanceof Symbol)}function k(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":_(t,e)?"symbol":t}function E(e){if("undefined"===typeof e||null===e)return""+e;var t=k(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function C(e){var t=E(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}function O(e){return e.constructor&&e.constructor.name?e.constructor.name:I}var j="function"===typeof Symbol&&Symbol.iterator,x="@@iterator",I="<<anonymous>>",T={array:m("array"),bool:m("boolean"),func:m("function"),number:m("number"),object:m("object"),string:m("string"),symbol:m("symbol"),any:function(){return p(o)}(),arrayOf:g,element:function(){function t(t,n,o,a,r){var l=t[n];if(!e(l)){return new u("Invalid "+a+" `"+r+"` of type `"+k(l)+"` supplied to `"+o+"`, expected a single ReactElement.")}return null}return p(t)}(),instanceOf:d,node:function(){function e(e,t,n,o,a){return y(e[t])?null:new u("Invalid "+o+" `"+a+"` supplied to `"+n+"`, expected a ReactNode.")}return p(e)}(),objectOf:b,oneOf:f,oneOfType:h,shape:v,exact:w};return u.prototype=Error.prototype,T.checkPropTypes=l,T.PropTypes=T,T}}).call(t,n(18))},function(e,t,n){"use strict";(function(t){function o(e,n,o,i,s){if("production"!==t.env.NODE_ENV)for(var c in e)if(e.hasOwnProperty(c)){var u;try{if("function"!==typeof e[c]){var p=Error((i||"React class")+": "+o+" type `"+c+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[c]+"`.");throw p.name="Invariant Violation",p}u=e[c](n,c,i,o,null,r)}catch(e){u=e}if(!u||u instanceof Error||a((i||"React class")+": type specification of "+o+" `"+c+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof u+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),u instanceof Error&&!(u.message in l)){l[u.message]=!0;var m=s?s():"";a("Failed "+o+" type: "+u.message+(null!=m?m:""))}}}var a=function(){};if("production"!==t.env.NODE_ENV){var r=n(75),l={};a=function(e){var t="Warning: "+e;"undefined"!==typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}}e.exports=o}).call(t,n(18))},function(e,t,n){"use strict";function o(){}var a=n(75);e.exports=function(){function e(e,t,n,o,r,l){if(l!==a){var i=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw i.name="Invariant Violation",i}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return n.checkPropTypes=o,n.PropTypes=n,n}},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){return e.node.sortableInfo.index-t.node.sortableInfo.index}Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),l=function(){function e(){o(this,e),this.refs={}}return r(e,[{key:"add",value:function(e,t){this.refs[e]||(this.refs[e]=[]),this.refs[e].push(t)}},{key:"remove",value:function(e,t){var n=this.getIndex(e,t);-1!==n&&this.refs[e].splice(n,1)}},{key:"isActive",value:function(){return this.active}},{key:"getActive",value:function(){var e=this;return this.refs[this.active.collection].find(function(t){return t.node.sortableInfo.index==e.active.index})}},{key:"getIndex",value:function(e,t){return this.refs[e].indexOf(t)}},{key:"getOrderedRefs",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.active.collection;return this.refs[e].sort(a)}}]),e}();t.default=l},function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function l(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function i(e){var t,n,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{withRef:!1};return n=t=function(t){function n(){return a(this,n),r(this,(n.__proto__||Object.getPrototypeOf(n)).apply(this,arguments))}return l(n,t),c(n,[{key:"componentDidMount",value:function(){var e=this.props,t=e.collection,n=e.disabled,o=e.index;n||this.setDraggable(t,o)}},{key:"componentWillReceiveProps",value:function(e){if(this.props.index!==e.index&&this.node&&(this.node.sortableInfo.index=e.index),this.props.disabled!==e.disabled){var t=e.collection,n=e.disabled,o=e.index;n?this.removeDraggable(t):this.setDraggable(t,o)}else this.props.collection!==e.collection&&(this.removeDraggable(this.props.collection),this.setDraggable(e.collection,e.index))}},{key:"componentWillUnmount",value:function(){var e=this.props,t=e.collection;e.disabled||this.removeDraggable(t)}},{key:"setDraggable",value:function(e,t){var n=this.node=(0,d.findDOMNode)(this);n.sortableInfo={index:t,collection:e,manager:this.context.manager},this.ref={node:n},this.context.manager.add(e,this.ref)}},{key:"removeDraggable",value:function(e){this.context.manager.remove(e,this.ref)}},{key:"getWrappedInstance",value:function(){return(0,b.default)(o.withRef,"To access the wrapped instance, you need to pass in {withRef: true} as the second argument of the SortableElement() call"),this.refs.wrappedInstance}},{key:"render",value:function(){var t=o.withRef?"wrappedInstance":null;return p.default.createElement(e,s({ref:t},(0,h.omit)(this.props,"collection","disabled","index")))}}]),n}(u.Component),t.displayName=(0,h.provideDisplayName)("sortableElement",e),t.contextTypes={manager:g.default.object.isRequired},t.propTypes={index:g.default.number.isRequired,collection:g.default.oneOfType([g.default.number,g.default.string]),disabled:g.default.bool},t.defaultProps={collection:0},n}Object.defineProperty(t,"__esModule",{value:!0});var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},c=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}();t.default=i;var u=n(11),p=o(u),m=n(37),g=o(m),d=n(43),f=n(64),b=o(f),h=n(63)},function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function l(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function i(e){var t,n,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{withRef:!1};return n=t=function(t){function n(){return a(this,n),r(this,(n.__proto__||Object.getPrototypeOf(n)).apply(this,arguments))}return l(n,t),c(n,[{key:"componentDidMount",value:function(){(0,m.findDOMNode)(this).sortableHandle=!0}},{key:"getWrappedInstance",value:function(){return(0,d.default)(o.withRef,"To access the wrapped instance, you need to pass in {withRef: true} as the second argument of the SortableHandle() call"),this.refs.wrappedInstance}},{key:"render",value:function(){var t=o.withRef?"wrappedInstance":null;return p.default.createElement(e,s({ref:t},this.props))}}]),n}(u.Component),t.displayName=(0,f.provideDisplayName)("sortableHandle",e),n}Object.defineProperty(t,"__esModule",{value:!0});var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},c=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}();t.default=i;var u=n(11),p=o(u),m=n(43),g=n(64),d=o(g),f=n(63)},function(e,t,n){"use strict";n.d(t,"b",function(){return o}),n.d(t,"a",function(){return a});var __=wp.i18n.__,o=[{label:__("None","gutentor"),value:"none"},{label:__("BounceIn","gutentor"),value:"bounceIn"},{label:__("FadeIn","gutentor"),value:"fadeIn"},{label:__("FadeOut","gutentor"),value:"fadeOut"},{label:__("Flip","gutentor"),value:"flip"},{label:__("RotateIn","gutentor"),value:"rotateIn"},{label:__("RotateOut","gutentor"),value:"rotateOut"},{label:__("SlideInLeft","gutentor"),value:"slideInLeft"},{label:__("SlideInRight","gutentor"),value:"slideInRight"},{label:__("SlideInUp","gutentor"),value:"slideInUp"},{label:__("SlideInDown","gutentor"),value:"slideInDown"},{label:__("ZoomIn","gutentor"),value:"zoomIn"},{label:__("HeartBeat","gutentor"),value:"heartBeat"}],a=(__("None","gutentor"),__("2s","gutentor"),__("3s","gutentor"),__("4s","gutentor"),__("5s","gutentor"),__("None","gutentor"),__("Slow","gutentor"),__("Slower","gutentor"),__("Fast","gutentor"),__("Faster","gutentor"),[{label:__("Once","gutentor"),value:"1"},{label:__("Infinite Loop","gutentor"),value:"infinite"}])},function(e,t,n){var o=function(){return this}()||Function("return this")(),a=o.regeneratorRuntime&&Object.getOwnPropertyNames(o).indexOf("regeneratorRuntime")>=0,r=a&&o.regeneratorRuntime;if(o.regeneratorRuntime=void 0,e.exports=n(356),a)o.regeneratorRuntime=r;else try{delete o.regeneratorRuntime}catch(e){o.regeneratorRuntime=void 0}},function(e,t){!function(t){"use strict";function n(e,t,n,o){var r=t&&t.prototype instanceof a?t:a,l=Object.create(r.prototype),i=new g(o||[]);return l._invoke=c(e,n,i),l}function o(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}function a(){}function r(){}function l(){}function i(e){["next","throw","return"].forEach(function(t){e[t]=function(e){return this._invoke(t,e)}})}function s(e){function t(n,a,r,l){var i=o(e[n],e,a);if("throw"!==i.type){var s=i.arg,c=s.value;return c&&"object"===typeof c&&v.call(c,"__await")?Promise.resolve(c.__await).then(function(e){t("next",e,r,l)},function(e){t("throw",e,r,l)}):Promise.resolve(c).then(function(e){s.value=e,r(s)},l)}l(i.arg)}function n(e,n){function o(){return new Promise(function(o,a){t(e,n,o,a)})}return a=a?a.then(o,o):o()}var a;this._invoke=n}function c(e,t,n){var a=O;return function(r,l){if(a===x)throw new Error("Generator is already running");if(a===I){if("throw"===r)throw l;return f()}for(n.method=r,n.arg=l;;){var i=n.delegate;if(i){var s=u(i,n);if(s){if(s===T)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(a===O)throw a=I,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);a=x;var c=o(e,t,n);if("normal"===c.type){if(a=n.done?I:j,c.arg===T)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(a=I,n.method="throw",n.arg=c.arg)}}}function u(e,t){var n=e.iterator[t.method];if(n===b){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=b,u(e,t),"throw"===t.method))return T;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return T}var a=o(n,e.iterator,t.arg);if("throw"===a.type)return t.method="throw",t.arg=a.arg,t.delegate=null,T;var r=a.arg;return r?r.done?(t[e.resultName]=r.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=b),t.delegate=null,T):r:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,T)}function p(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function m(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function g(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(p,this),this.reset(!0)}function d(e){if(e){var t=e[y];if(t)return t.call(e);if("function"===typeof e.next)return e;if(!isNaN(e.length)){var n=-1,o=function t(){for(;++n<e.length;)if(v.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=b,t.done=!0,t};return o.next=o}}return{next:f}}function f(){return{value:b,done:!0}}var b,h=Object.prototype,v=h.hasOwnProperty,w="function"===typeof Symbol?Symbol:{},y=w.iterator||"@@iterator",_=w.asyncIterator||"@@asyncIterator",k=w.toStringTag||"@@toStringTag",E="object"===typeof e,C=t.regeneratorRuntime;if(C)return void(E&&(e.exports=C));C=t.regeneratorRuntime=E?e.exports:{},C.wrap=n;var O="suspendedStart",j="suspendedYield",x="executing",I="completed",T={},F={};F[y]=function(){return this};var B=Object.getPrototypeOf,S=B&&B(B(d([])));S&&S!==h&&v.call(S,y)&&(F=S);var N=l.prototype=a.prototype=Object.create(F);r.prototype=N.constructor=l,l.constructor=r,l[k]=r.displayName="GeneratorFunction",C.isGeneratorFunction=function(e){var t="function"===typeof e&&e.constructor;return!!t&&(t===r||"GeneratorFunction"===(t.displayName||t.name))},C.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,l):(e.__proto__=l,k in e||(e[k]="GeneratorFunction")),e.prototype=Object.create(N),e},C.awrap=function(e){return{__await:e}},i(s.prototype),s.prototype[_]=function(){return this},C.AsyncIterator=s,C.async=function(e,t,o,a){var r=new s(n(e,t,o,a));return C.isGeneratorFunction(t)?r:r.next().then(function(e){return e.done?e.value:r.next()})},i(N),N[k]="Generator",N[y]=function(){return this},N.toString=function(){return"[object Generator]"},C.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var o=t.pop();if(o in e)return n.value=o,n.done=!1,n}return n.done=!0,n}},C.values=d,g.prototype={constructor:g,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=b,this.done=!1,this.delegate=null,this.method="next",this.arg=b,this.tryEntries.forEach(m),!e)for(var t in this)"t"===t.charAt(0)&&v.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=b)},stop:function(){this.done=!0;var e=this.tryEntries[0],t=e.completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){function t(t,o){return r.type="throw",r.arg=e,n.next=t,o&&(n.method="next",n.arg=b),!!o}if(this.done)throw e;for(var n=this,o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],r=a.completion;if("root"===a.tryLoc)return t("end");if(a.tryLoc<=this.prev){var l=v.call(a,"catchLoc"),i=v.call(a,"finallyLoc");if(l&&i){if(this.prev<a.catchLoc)return t(a.catchLoc,!0);if(this.prev<a.finallyLoc)return t(a.finallyLoc)}else if(l){if(this.prev<a.catchLoc)return t(a.catchLoc,!0)}else{if(!i)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return t(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&v.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var r=a?a.completion:{};return r.type=e,r.arg=t,a?(this.method="next",this.next=a.finallyLoc,T):this.complete(r)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),T},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),m(n),T}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var o=n.completion;if("throw"===o.type){var a=o.arg;m(n)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:d(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=b),T}}}(function(){return this}()||Function("return this")())},function(e,t,n){"use strict";(function(e){function o(e,t){if(null==e)return{};var n,o,a={},r=Object.keys(e);for(o=0;o<r.length;o++)n=r[o],t.indexOf(n)>=0||(a[n]=e[n]);return a}function a(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}n.d(t,"a",function(){return m});var r=n(37),l=n.n(r),i=n(11),s=n.n(i),c=n(118),u=n(358),p=n(120),m=function(t){function n(e){var o;return o=t.call(this,e)||this,o.handleSelected=function(e,t,a){var r=o.props.onSelect;if("function"!==typeof r||!1!==r(e,t,a)){var l={focus:"keydown"===a.type};n.inUncontrolledMode(o.props)&&(l.selectedIndex=e),o.setState(l)}},o.state=n.copyPropsToState(o.props,{},e.defaultFocus),o}a(n,t);var r=n.prototype;return r.componentWillReceiveProps=function(t){if("production"!==e.env.NODE_ENV&&n.inUncontrolledMode(t)!==n.inUncontrolledMode(this.props))throw new Error("Switching between controlled mode (by using `selectedIndex`) and uncontrolled mode is not supported in `Tabs`.\nFor more information about controlled and uncontrolled mode of react-tabs see the README.");this.setState(function(e){return n.copyPropsToState(t,e)})},n.inUncontrolledMode=function(e){return null===e.selectedIndex},n.copyPropsToState=function(e,t,o){void 0===o&&(o=!1);var a={focus:o};if(n.inUncontrolledMode(e)){var r=Object(p.b)(e.children)-1,l=null;l=null!=t.selectedIndex?Math.min(t.selectedIndex,r):e.defaultIndex||0,a.selectedIndex=l}return a},r.render=function(){var e=this.props,t=e.children,n=(e.defaultIndex,e.defaultFocus,o(e,["children","defaultIndex","defaultFocus"])),a=this.state,r=a.focus,l=a.selectedIndex;return n.focus=r,n.onSelect=this.handleSelected,null!=l&&(n.selectedIndex=l),s.a.createElement(u.a,n,t)},n}(i.Component);m.defaultProps={defaultFocus:!1,forceRenderTabPanel:!1,selectedIndex:null,defaultIndex:null},m.propTypes="production"!==e.env.NODE_ENV?{children:c.a,className:l.a.oneOfType([l.a.string,l.a.array,l.a.object]),defaultFocus:l.a.bool,defaultIndex:l.a.number,disabledTabClassName:l.a.string,domRef:l.a.func,forceRenderTabPanel:l.a.bool,onSelect:c.b,selectedIndex:c.c,selectedTabClassName:l.a.string,selectedTabPanelClassName:l.a.string}:{},m.tabsRole="Tabs"}).call(t,n(18))},function(e,t,n){"use strict";(function(e){function o(){return o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},o.apply(this,arguments)}function a(e,t){if(null==e)return{};var n,o,a={},r=Object.keys(e);for(o=0;o<r.length;o++)n=r[o],t.indexOf(n)>=0||(a[n]=e[n]);return a}function r(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function l(e){return"getAttribute"in e&&"tab"===e.getAttribute("role")}function i(e){return"true"===e.getAttribute("aria-disabled")}n.d(t,"a",function(){return y});var s,c=n(37),u=n.n(c),p=n(11),m=n.n(p),g=n(0),d=n.n(g),f=n(119),b=n(118),h=n(120),v=n(76),w=n(65);try{s=!("undefined"===typeof window||!window.document||!window.document.activeElement)}catch(e){s=!1}var y=function(e){function t(){for(var t,n=arguments.length,o=new Array(n),a=0;a<n;a++)o[a]=arguments[a];return t=e.call.apply(e,[this].concat(o))||this,t.tabNodes=[],t.handleKeyDown=function(e){if(t.isTabFromContainer(e.target)){var n=t.props.selectedIndex,o=!1,a=!1;32!==e.keyCode&&13!==e.keyCode||(o=!0,a=!1,t.handleClick(e)),37===e.keyCode||38===e.keyCode?(n=t.getPrevTab(n),o=!0,a=!0):39===e.keyCode||40===e.keyCode?(n=t.getNextTab(n),o=!0,a=!0):35===e.keyCode?(n=t.getLastTab(),o=!0,a=!0):36===e.keyCode&&(n=t.getFirstTab(),o=!0,a=!0),o&&e.preventDefault(),a&&t.setSelected(n,e)}},t.handleClick=function(e){var n=e.target;do{if(t.isTabFromContainer(n)){if(i(n))return;var o=[].slice.call(n.parentNode.children).filter(l).indexOf(n);return void t.setSelected(o,e)}}while(null!==(n=n.parentNode))},t}r(t,e);var n=t.prototype;return n.setSelected=function(e,t){if(!(e<0||e>=this.getTabsCount())){var n=this.props;(0,n.onSelect)(e,n.selectedIndex,t)}},n.getNextTab=function(e){for(var t=this.getTabsCount(),n=e+1;n<t;n++)if(!i(this.getTab(n)))return n;for(var o=0;o<e;o++)if(!i(this.getTab(o)))return o;return e},n.getPrevTab=function(e){for(var t=e;t--;)if(!i(this.getTab(t)))return t;for(t=this.getTabsCount();t-- >e;)if(!i(this.getTab(t)))return t;return e},n.getFirstTab=function(){for(var e=this.getTabsCount(),t=0;t<e;t++)if(!i(this.getTab(t)))return t;return null},n.getLastTab=function(){for(var e=this.getTabsCount();e--;)if(!i(this.getTab(e)))return e;return null},n.getTabsCount=function(){var e=this.props.children;return Object(h.b)(e)},n.getPanelsCount=function(){var e=this.props.children;return Object(h.a)(e)},n.getTab=function(e){return this.tabNodes["tabs-"+e]},n.getChildren=function(){var e=this,t=0,n=this.props,o=n.children,a=n.disabledTabClassName,r=n.focus,l=n.forceRenderTabPanel,i=n.selectedIndex,c=n.selectedTabClassName,u=n.selectedTabPanelClassName;this.tabIds=this.tabIds||[],this.panelIds=this.panelIds||[];for(var g=this.tabIds.length-this.getTabsCount();g++<0;)this.tabIds.push(Object(f.a)()),this.panelIds.push(Object(f.a)());return Object(v.b)(o,function(n){var o=n;if(Object(w.b)(n)){var g=0,d=!1;s&&(d=m.a.Children.toArray(n.props.children).filter(w.a).some(function(t,n){return document.activeElement===e.getTab(n)})),o=Object(p.cloneElement)(n,{children:Object(v.b)(n.props.children,function(t){var n="tabs-"+g,o=i===g,l={tabRef:function(t){e.tabNodes[n]=t},id:e.tabIds[g],panelId:e.panelIds[g],selected:o,focus:o&&(r||d)};return c&&(l.selectedClassName=c),a&&(l.disabledClassName=a),g++,Object(p.cloneElement)(t,l)})})}else if(Object(w.c)(n)){var f={id:e.panelIds[t],tabId:e.tabIds[t],selected:i===t};l&&(f.forceRender=l),u&&(f.selectedClassName=u),t++,o=Object(p.cloneElement)(n,f)}return o})},n.isTabFromContainer=function(e){if(!l(e))return!1;var t=e.parentElement;do{if(t===this.node)return!0;if(t.getAttribute("data-tabs"))break;t=t.parentElement}while(t);return!1},n.render=function(){var e=this,t=this.props,n=(t.children,t.className),r=(t.disabledTabClassName,t.domRef),l=(t.focus,t.forceRenderTabPanel,t.onSelect,t.selectedIndex,t.selectedTabClassName,t.selectedTabPanelClassName,a(t,["children","className","disabledTabClassName","domRef","focus","forceRenderTabPanel","onSelect","selectedIndex","selectedTabClassName","selectedTabPanelClassName"]));return m.a.createElement("div",o({},l,{className:d()(n),onClick:this.handleClick,onKeyDown:this.handleKeyDown,ref:function(t){e.node=t,r&&r(t)},"data-tabs":!0}),this.getChildren())},t}(p.Component);y.defaultProps={className:"react-tabs",focus:!1},y.propTypes="production"!==e.env.NODE_ENV?{children:b.a,className:u.a.oneOfType([u.a.string,u.a.array,u.a.object]),disabledTabClassName:u.a.string,domRef:u.a.func,focus:u.a.bool,forceRenderTabPanel:u.a.bool,onSelect:u.a.func.isRequired,selectedIndex:u.a.number.isRequired,selectedTabClassName:u.a.string,selectedTabPanelClassName:u.a.string}:{}}).call(t,n(18))},function(e,t,n){"use strict";(function(e){function o(){return o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},o.apply(this,arguments)}function a(e,t){if(null==e)return{};var n,o,a={},r=Object.keys(e);for(o=0;o<r.length;o++)n=r[o],t.indexOf(n)>=0||(a[n]=e[n]);return a}function r(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}n.d(t,"a",function(){return m});var l=n(37),i=n.n(l),s=n(11),c=n.n(s),u=n(0),p=n.n(u),m=function(e){function t(){return e.apply(this,arguments)||this}return r(t,e),t.prototype.render=function(){var e=this.props,t=e.children,n=e.className,r=a(e,["children","className"]);return c.a.createElement("ul",o({},r,{className:p()(n),role:"tablist"}),t)},t}(s.Component);m.defaultProps={className:"react-tabs__tab-list"},m.propTypes="production"!==e.env.NODE_ENV?{children:i.a.oneOfType([i.a.object,i.a.array]),className:i.a.oneOfType([i.a.string,i.a.array,i.a.object])}:{},m.tabsRole="TabList"}).call(t,n(18))},function(e,t,n){"use strict";(function(e){function o(){return o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},o.apply(this,arguments)}function a(e,t){if(null==e)return{};var n,o,a={},r=Object.keys(e);for(o=0;o<r.length;o++)n=r[o],t.indexOf(n)>=0||(a[n]=e[n]);return a}function r(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}n.d(t,"a",function(){return m});var l=n(37),i=n.n(l),s=n(11),c=n.n(s),u=n(0),p=n.n(u),m=function(e){function t(){return e.apply(this,arguments)||this}r(t,e);var n=t.prototype;return n.componentDidMount=function(){this.checkFocus()},n.componentDidUpdate=function(){this.checkFocus()},n.checkFocus=function(){var e=this.props,t=e.selected,n=e.focus;t&&n&&this.node.focus()},n.render=function(){var e,t=this,n=this.props,r=n.children,l=n.className,i=n.disabled,s=n.disabledClassName,u=(n.focus,n.id),m=n.panelId,g=n.selected,d=n.selectedClassName,f=n.tabIndex,b=n.tabRef,h=a(n,["children","className","disabled","disabledClassName","focus","id","panelId","selected","selectedClassName","tabIndex","tabRef"]);return c.a.createElement("li",o({},h,{className:p()(l,(e={},e[d]=g,e[s]=i,e)),ref:function(e){t.node=e,b&&b(e)},role:"tab",id:u,"aria-selected":g?"true":"false","aria-disabled":i?"true":"false","aria-controls":m,tabIndex:f||(g?"0":null)}),r)},t}(s.Component);m.defaultProps={className:"react-tabs__tab",disabledClassName:"react-tabs__tab--disabled",focus:!1,id:null,panelId:null,selected:!1,selectedClassName:"react-tabs__tab--selected"},m.propTypes="production"!==e.env.NODE_ENV?{children:i.a.oneOfType([i.a.array,i.a.object,i.a.string]),className:i.a.oneOfType([i.a.string,i.a.array,i.a.object]),disabled:i.a.bool,tabIndex:i.a.string,disabledClassName:i.a.string,focus:i.a.bool,id:i.a.string,panelId:i.a.string,selected:i.a.bool,selectedClassName:i.a.string,tabRef:i.a.func}:{},m.tabsRole="Tab"}).call(t,n(18))},function(e,t,n){"use strict";(function(e){function o(){return o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},o.apply(this,arguments)}function a(e,t){if(null==e)return{};var n,o,a={},r=Object.keys(e);for(o=0;o<r.length;o++)n=r[o],t.indexOf(n)>=0||(a[n]=e[n]);return a}function r(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}n.d(t,"a",function(){return m});var l=n(37),i=n.n(l),s=n(11),c=n.n(s),u=n(0),p=n.n(u),m=function(e){function t(){return e.apply(this,arguments)||this}return r(t,e),t.prototype.render=function(){var e,t=this.props,n=t.children,r=t.className,l=t.forceRender,i=t.id,s=t.selected,u=t.selectedClassName,m=t.tabId,g=a(t,["children","className","forceRender","id","selected","selectedClassName","tabId"]);return c.a.createElement("div",o({},g,{className:p()(r,(e={},e[u]=s,e)),role:"tabpanel",id:i,"aria-labelledby":m}),l||s?n:null)},t}(s.Component);m.defaultProps={className:"react-tabs__tab-panel",forceRender:!1,selectedClassName:"react-tabs__tab-panel--selected"},m.propTypes="production"!==e.env.NODE_ENV?{children:i.a.node,className:i.a.oneOfType([i.a.string,i.a.array,i.a.object]),forceRender:i.a.bool,id:i.a.string,selected:i.a.bool,selectedClassName:i.a.string,tabId:i.a.string}:{},m.tabsRole="TabPanel"}).call(t,n(18))},function(e,t,n){"use strict";var o=n(121),a=n(363),r=n(5),l=n(0),i=n.n(l),s=n(2),c=n(4),u=n(13),p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},__=wp.i18n.__,m=wp.blocks.registerBlockType,g=wp.blockEditor.InspectorControls,d=wp.element.Fragment,f=wp.components,b=f.PanelBody,h=f.PanelRow;m("gutentor/image-box",{title:__("Image Widget","gutentor"),description:__("Insert an image with text and button to create a visually stunning section.","gutentor"),icon:wp.element.createElement("img",{src:gutentor.imageSvgW}),category:"gutentor",keywords:[__("Gutentor Image Box Column Grid Block Widget","gutentor")],example:{},attributes:wp.hooks.applyFilters("gutentor_add_attributes",o.a),supports:{align:["wide","full"],html:!1},edit:function(e){var t=e.attributes,n=e.className,o=e.setAttributes,l=e.clientId,m=t.blockImageBoxTemplate,f=t.blockID,v=t.gutentorBlockName,w=t.blockSectionHtmlTag,y=t.blockComponentAnimation,_=w;return f!==l&&o({blockID:l}),void 0===v&&o({gutentorBlockName:e.name}),wp.hooks.doAction("gutentor_edit_init",e),wp.element.createElement(d,null,wp.element.createElement(g,{key:"inspector"},wp.element.createElement("div",{className:"gutentor-sidebar-inspectors"},wp.element.createElement(s.d,null,wp.element.createElement(s.b,null,wp.element.createElement(s.a,null,wp.element.createElement("i",{className:"dashicons dashicons-dashboard"}),__("General","gutentor")),wp.element.createElement(s.a,null,wp.element.createElement("i",{className:"dashicons dashicons-admin-generic"}),__("Advanced","gutentor"))),wp.element.createElement(s.c,null,wp.hooks.applyFilters("gutentor_edit_before_item_tab",[],e),wp.element.createElement(b,{title:__("Block Items","gutentor"),initialOpen:!1},wp.element.createElement(h,null,wp.element.createElement(s.d,null,wp.element.createElement(s.b,null,wp.element.createElement(s.a,null,wp.element.createElement("i",{className:"dashicons dashicons-dashboard"}),__("General","gutentor")),wp.element.createElement(s.a,null,wp.element.createElement("i",{className:"dashicons dashicons-edit"}),__("Style","gutentor")),wp.element.createElement(s.a,null,wp.element.createElement("i",{className:"dashicons dashicons-admin-generic"}),__("Advanced","gutentor"))),wp.element.createElement(s.c,null,wp.hooks.applyFilters("gutentor_edit_general_tab_start",[],e),wp.hooks.applyFilters("gutentor_edit_enable_block_template",!0,e)&&wp.element.createElement(u.a,{label:__("Template","gutentor"),value:m,onChange:function(e){o({blockImageBoxTemplate:e})},options:wp.hooks.applyFilters("gutentor_edit_template_options",[{value:"imagebox-template1",label:'<img src="'+gutentor.dirUrl+'/assets/img/templates/image-box/image-box-template-1.svg" />'},{value:"imagebox-template2",label:'<img src="'+gutentor.dirUrl+'/assets/img/templates/image-box/image-box-template-2.svg" />'},{value:"imagebox-template3",label:'<img src="'+gutentor.dirUrl+'/assets/img/templates/image-box/image-box-template-3.svg" />'}],e)}),wp.hooks.applyFilters("gutentor_edit_general_tab_end",[],e)),wp.element.createElement(s.c,null,wp.hooks.applyFilters("gutentor_edit_style_tab_start",[],e),wp.element.createElement(b,{title:__("Image Box","gutentor"),initialOpen:!1},wp.element.createElement(h,null,wp.hooks.applyFilters("gutentor_image_box_edit_image_options_start",[],e),wp.hooks.applyFilters("gutentor_image_box_edit_additional_options",[],e),wp.hooks.applyFilters("gutentor_image_box_edit_image_options_end",[],e))),wp.hooks.applyFilters("gutentor_edit_style_tab_end",[],e)),wp.element.createElement(s.c,null,wp.hooks.applyFilters("gutentor_edit_items_advanced_options",[],e))))),wp.hooks.applyFilters("gutentor_edit_after_item_tab",[],e)),wp.element.createElement(s.c,null,wp.hooks.applyFilters("gutentor_edit_advanced_tab",[],e))))),wp.element.createElement(_,p({id:"section-"+f,className:wp.hooks.applyFilters("gutentor_edit_section_class",i()("gutentor-section gutentor-image-wrapper",n,m||""),e)},Object(c.c)(y)),Object(r.d)(e),wp.hooks.applyFilters("gutentor_edit_before_container",[],e),wp.element.createElement("div",{className:wp.hooks.applyFilters("gutentor_edit_container_class","grid-container",e)},wp.hooks.applyFilters("gutentor_edit_before_repeater_items",[],e),wp.element.createElement(a.a,e),wp.hooks.applyFilters("gutentor_edit_after_repeater_items",[],e)),wp.hooks.applyFilters("gutentor_edit_after_container",[],e)))},save:function(e){wp.hooks.doAction("gutentor_save_init",e);var t=e.attributes,n=e.className,o=t.blockID,a=t.blockSortableItems,r=t.blockImageBoxTemplate,l=t.blockSectionHtmlTag,s=t.blockComponentAnimation,u=t.blockItemsWrapAnimation,m=l;return wp.element.createElement(m,p({id:"section-"+o,className:wp.hooks.applyFilters("gutentor_save_section_class",i()("gutentor-section gutentor-image-wrapper",n,r||" "),e)},Object(c.c)(s)),wp.hooks.applyFilters("gutentor_save_before_container",[],e),wp.element.createElement("div",{className:wp.hooks.applyFilters("gutentor_save_container_class","grid-container",e)},wp.hooks.applyFilters("gutentor_save_before_repeater_items",[],e),wp.element.createElement("div",p({className:wp.hooks.applyFilters("gutentor_save_grid_row_class","grid-row gutentor-grid-item-wrap",e)},wp.hooks.applyFilters("gutentor_save_grid_row_attr",{},e),Object(c.c)(u)),a.map(function(t,n){return wp.element.createElement("div",{className:wp.hooks.applyFilters("gutentor_save_grid_column_class","gutentor-grid-column",e)},wp.element.createElement("div",{className:wp.hooks.applyFilters("gutentor_save_single_item_class",i()("gutentor-single-item","gutentor-image","gutentor-single-item-"+n),e,t,n)},wp.hooks.applyFilters("gutentor_save_image_box_template_data",[],e,t,n)))}),wp.hooks.applyFilters("gutentor_save_after_single_item_data",[],e)),wp.hooks.applyFilters("gutentor_save_after_repeater_items",[],e)),wp.hooks.applyFilters("gutentor_save_after_container",[],e))}})},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function r(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var l=n(0),i=n.n(l),s=n(26),c=(n.n(s),n(4)),u=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},__=wp.i18n.__,m=wp.element.Component,g=wp.components,d=g.Button,f=g.Modal,b=Object(s.SortableHandle)(function(){return wp.element.createElement("i",{className:"dashicons dashicons-move"})}),h=Object(s.SortableElement)(function(e){var t=(e.itemStyle,e.onItemBoxChange,e.setItemStyle,e.sortableIndex),n=e.onRemove,o=e.gutentorAllProps,a=e.gutentorSingleItem;e.blockItemsWrapAnimation;return wp.element.createElement("div",{className:wp.hooks.applyFilters("gutentor_edit_grid_column_class","gutentor-grid-column",o)},wp.element.createElement("div",{className:"gutentor-column-inside"},wp.element.createElement("div",{className:"gutentor-control-actions"},wp.hooks.applyFilters("gutentor_edit_before_single_control",[],o,a,t),wp.element.createElement(b,null),wp.element.createElement("span",{onClick:function(){return n(t)}},wp.element.createElement("i",{className:"dashicons dashicons-trash"})),wp.hooks.applyFilters("gutentor_edit_after_single_control",[],o,a,t)),wp.hooks.applyFilters("gutentor_edit_before_single_item",[],o,a,t),wp.element.createElement("div",{className:wp.hooks.applyFilters("gutentor_edit_single_item_class",i()("gutentor-single-item","gutentor-image","gutentor-single-item-"+t),o,a,t)},wp.hooks.applyFilters("gutentor_edit_image_box_template_data",[],o,a,t))))}),v=Object(s.SortableContainer)(function(e){var t=e.items,n=e.onRemove,o=e.onItemBoxChange,a=e.setItemStyle,r=e.gutentorAllProps,l=e.blockItemsWrapAnimation;return wp.element.createElement("div",p({className:wp.hooks.applyFilters("gutentor_edit_grid_row_class","grid-row gutentor-grid-item-wrap",r)},wp.hooks.applyFilters("gutentor_edit_grid_row_attr",{},r),Object(c.c)(l)),t.map(function(e,t){return wp.element.createElement(h,{key:"item-"+t,index:t,itemStyle:e.itemStyle,sortableIndex:t,onRemove:n,onItemBoxChange:o,setItemStyle:a,blockItemsWrapAnimation:l,gutentorAllProps:r,gutentorSingleItem:e})}))}),w=function(e){function t(e){o(this,t);var n=a(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.onSortEnd=function(e){var t=e.oldIndex,o=e.newIndex,a=n.props,r=a.attributes,l=a.setAttributes,i=r.blockSortableItems.slice(0);l({blockSortableItems:Object(s.arrayMove)(i,t,o)}),n.updateTimeStamp()},n.updateTimeStamp=function(){var e=n.props;e.attributes;(0,e.setAttributes)({timestamp:(new Date).getTime()})},n.state={isRemovePopup:!1,deleteTabID:null},n}return r(t,e),u(t,[{key:"render",value:function(){var e=this,t=this.props,n=t.attributes,o=(t.className,t.setAttributes),a=n.blockSortableItems,r=n.blockItemsWrapAnimation,l=function(t){var n=a.slice(0);n.splice(t,1),o({blockSortableItems:n}),e.setState({isRemovePopup:!1})},s=function(t){e.setState({isRemovePopup:!0,deleteTabID:t})},c=function(){return e.state.isRemovePopup?wp.element.createElement(f,{title:__("Delete this Item?","gutentor"),className:i()("g-remove-popup"),onRequestClose:function(){e.setState({isRemovePopup:!1})},isDismissable:!1,shouldCloseOnClickOutside:!0},__("This will delete the item.","gutentor"),wp.element.createElement("div",{className:"g-remove-popup-actions"},wp.element.createElement(d,{isDefault:!0,onClick:function(){e.setState({isRemovePopup:!1})}},__("Cancel","gutentor")),wp.element.createElement(d,{isPrimary:!0,onClick:function(){l(e.state.deleteTabID)}},__("Delete","gutentor")))):""},u=function(t,n,r){var l=a.slice(0);l.map(function(e,o){n===o&&(l[o][r]=t)}),o({blockSortableItems:l}),e.updateTimeStamp()},p=function(t,n,r){var l=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],s=a.slice(0);s.map(function(e,o){n===o&&(i?s[o].itemStyle[r][l][i]=t:l?s[o].itemStyle[r][l]=t:s[o].itemStyle[r]=t)}),o({blockSortableItems:s}),e.updateTimeStamp()};return 0===a.length&&o({blockSortableItems:[{image:""}]}),[wp.element.createElement(v,{items:a,axis:"xy",onSortEnd:this.onSortEnd,useDragHandle:!0,onRemove:s,onItemBoxChange:u,setItemStyle:p,blockItemsWrapAnimation:r,gutentorAllProps:this.props}),wp.element.createElement("div",{className:"gutentor-add-item"},wp.element.createElement(d,{isPrimary:!0,isLarge:!0,className:"gutentor-add-item-button",onClick:function(){return o({blockSortableItems:a.concat([{image:""}])})}},wp.element.createElement("i",{className:"dashicons dashicons-plus"}),__("Add Item","gutentor"))),wp.element.createElement(c,null)]}}]),t}(m);t.a=w},function(e,t,n){"use strict";var o=n(365),a=n(5),r=n(4),l=n(0),i=n.n(l),s=n(2),c=n(122),u=n(13),p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},__=wp.i18n.__,m=wp.blocks.registerBlockType,g=wp.blockEditor.InspectorControls,d=wp.element.Fragment,f=wp.components,b=f.PanelBody,h=f.PanelRow;m("gutentor/content-box",{title:__("Content Widget","gutentor"),description:__("Add title, description and button to create beautiful content focus section.","gutentor"),category:"gutentor",keywords:[__("Gutentor Content Box Column Grid Block Widget","gutentor")],icon:wp.element.createElement("img",{src:gutentor.contentBoxSvg}),attributes:wp.hooks.applyFilters("gutentor_add_attributes",c.a),supports:{align:["wide","full"],html:!1},edit:function(e){var t=e.attributes,n=e.className,l=e.setAttributes,c=e.clientId,m=t.blockContentBoxTemplate,f=t.blockID,v=t.gutentorBlockName,w=t.blockSectionHtmlTag,y=t.blockComponentAnimation,_=w;return f!==c&&l({blockID:c}),void 0===v&&l({gutentorBlockName:e.name}),wp.hooks.doAction("gutentor_edit_init",e),wp.element.createElement(d,null,wp.element.createElement(g,{key:"inspector"},wp.element.createElement("div",{className:"gutentor-sidebar-inspectors"},wp.element.createElement(s.d,null,wp.element.createElement(s.b,null,wp.element.createElement(s.a,null,wp.element.createElement("i",{className:"dashicons dashicons-dashboard"}),__("General","gutentor")),wp.element.createElement(s.a,null,wp.element.createElement("i",{className:"dashicons dashicons-admin-generic"}),__("Advanced","gutentor"))),wp.element.createElement(s.c,null,wp.hooks.applyFilters("gutentor_edit_before_item_tab",[],e),wp.element.createElement(b,{title:__("Block Items","gutentor"),initialOpen:!1},wp.element.createElement(h,null,wp.element.createElement(s.d,null,wp.element.createElement(s.b,null,wp.element.createElement(s.a,null,wp.element.createElement("i",{className:"dashicons dashicons-dashboard"}),__("General","gutentor")),wp.element.createElement(s.a,null,wp.element.createElement("i",{className:"dashicons dashicons-edit"}),__("Style","gutentor")),wp.element.createElement(s.a,null,wp.element.createElement("i",{className:"dashicons dashicons-admin-generic"}),__("Advanced","gutentor"))),wp.element.createElement(s.c,null,wp.hooks.applyFilters("gutentor_edit_general_tab_start",[],e),wp.hooks.applyFilters("gutentor_edit_enable_block_template",!0,e)&&wp.element.createElement(u.a,{label:__("Template","gutentor"),value:m,onChange:function(e){l({blockContentBoxTemplate:e})},options:wp.hooks.applyFilters("gutentor_edit_template_options",[{value:"content-template1",label:'<img src="'+gutentor.dirUrl+'/assets/img/templates/content-box/content-box-template-1.svg" />'},{value:"content-template2",label:'<img src="'+gutentor.dirUrl+'/assets/img/templates/content-box/content-box-template-2.svg" />'},{value:"content-template3",label:'<img src="'+gutentor.dirUrl+'/assets/img/templates/content-box/content-box-template-3.svg" />'}],e)}),wp.hooks.applyFilters("gutentor_edit_general_tab_end",[],e)),wp.element.createElement(s.c,null,wp.hooks.applyFilters("gutentor_edit_style_tab_start",[],e),wp.hooks.applyFilters("gutentor_edit_style_tab_end",[],e)),wp.element.createElement(s.c,null,wp.hooks.applyFilters("gutentor_edit_items_advanced_options",[],e))))),wp.hooks.applyFilters("gutentor_edit_after_item_tab",[],e)),wp.element.createElement(s.c,null,wp.hooks.applyFilters("gutentor_edit_advanced_tab",[],e))))),wp.element.createElement(_,p({id:"section-"+f,className:wp.hooks.applyFilters("gutentor_edit_section_class",i()("gutentor-section gutentor-content-box-wrapper",n,m||""),e)},Object(r.c)(y)),Object(a.d)(e),wp.hooks.applyFilters("gutentor_edit_before_container",[],e),wp.element.createElement("div",{className:wp.hooks.applyFilters("gutentor_edit_container_class","grid-container",e)},wp.hooks.applyFilters("gutentor_edit_before_repeater_items",[],e),wp.element.createElement(o.a,e),wp.hooks.applyFilters("gutentor_edit_after_repeater_items",[],e)),wp.hooks.applyFilters("gutentor_edit_after_container",[],e)))},save:function(e){var t=e.attributes,n=e.className,o=t.blockContentBoxTemplate,a=t.blockID,l=t.blockSortableItems,s=t.blockSectionHtmlTag,c=t.blockComponentAnimation,u=t.blockItemsWrapAnimation,m=s;return wp.hooks.doAction("gutentor_save_init",e),wp.element.createElement(m,p({id:"section-"+a,className:wp.hooks.applyFilters("gutentor_save_section_class",i()("gutentor-section gutentor-content-box-wrapper",n,o||""),e)},Object(r.c)(c)),wp.hooks.applyFilters("gutentor_save_before_container",[],e),wp.element.createElement("div",{className:wp.hooks.applyFilters("gutentor_save_container_class","grid-container",e)},wp.hooks.applyFilters("gutentor_save_before_repeater_items",[],e),wp.element.createElement("div",p({className:wp.hooks.applyFilters("gutentor_save_grid_row_class","grid-row gutentor-grid-item-wrap",e)},wp.hooks.applyFilters("gutentor_save_grid_row_attr",{},e),Object(r.c)(u)),l&&l.map(function(t,n){return wp.element.createElement("div",{className:wp.hooks.applyFilters("gutentor_save_grid_column_class","gutentor-grid-column",e)},wp.element.createElement("div",{className:wp.hooks.applyFilters("gutentor_save_single_item_class",i()("gutentor-single-item","gutentor-single-item-"+n),e,t,n)},wp.hooks.applyFilters("gutentor_save_content_box_template_data",[],e,t,n)))}),wp.hooks.applyFilters("gutentor_save_after_single_item_data",[],e)),wp.hooks.applyFilters("gutentor_save_after_repeater_items",[],e)),wp.hooks.applyFilters("gutentor_save_after_container",[],e))}})},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function r(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var l=n(0),i=n.n(l),s=n(26),c=(n.n(s),n(4)),u=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},__=wp.i18n.__,m=wp.element.Component,g=wp.components,d=g.Button,f=g.Modal,b=Object(s.SortableHandle)(function(){return wp.element.createElement("i",{className:"dashicons dashicons-move"})}),h=Object(s.SortableElement)(function(e){var t=(e.itemStyle,e.setItemStyle,e.sortableIndex),n=e.onRemove,o=e.gutentorAllProps,a=e.gutentorSingleItem;e.blockItemsWrapAnimation;return wp.element.createElement("div",{className:wp.hooks.applyFilters("gutentor_edit_grid_column_class","gutentor-grid-column",o)},wp.element.createElement("div",{className:"gutentor-column-inside"},wp.element.createElement("div",{className:"gutentor-control-actions"},wp.hooks.applyFilters("gutentor_edit_before_single_control",[],o,a,t),wp.element.createElement(b,null),wp.element.createElement("span",{onClick:function(){return n(t)}},wp.element.createElement("i",{className:"dashicons dashicons-trash"})),wp.hooks.applyFilters("gutentor_edit_after_single_control",[],o,a,t)),wp.hooks.applyFilters("gutentor_edit_before_single_item",[],o,a,t),wp.element.createElement("div",{className:wp.hooks.applyFilters("gutentor_edit_single_item_class",i()("gutentor-single-item","gutentor-single-item-"+t),o,a,t)},wp.hooks.applyFilters("gutentor_edit_content_box_template_data",[],o,a,t))))}),v=Object(s.SortableContainer)(function(e){var t=e.items,n=e.onRemove,o=e.setItemStyle,a=e.gutentorAllProps,r=e.blockItemsWrapAnimation;return wp.element.createElement("div",p({className:wp.hooks.applyFilters("gutentor_edit_grid_row_class","grid-row gutentor-grid-item-wrap",a)},wp.hooks.applyFilters("gutentor_edit_grid_row_attr",{},a),Object(c.c)(r)),t.map(function(e,t){return wp.element.createElement(h,{key:"item-"+t,index:t,itemStyle:e.itemStyle,sortableIndex:t,onRemove:n,setItemStyle:o,blockItemsWrapAnimation:r,gutentorAllProps:a,gutentorSingleItem:e})}))}),w=function(e){function t(e){o(this,t);var n=a(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.onSortEnd=function(e){var t=e.oldIndex,o=e.newIndex,a=n.props,r=a.attributes,l=a.setAttributes,i=r.blockSortableItems.slice(0);l({blockSortableItems:Object(s.arrayMove)(i,t,o)})},n.state={isRemovePopup:!1,deleteTabID:null},n.onSortEnd=n.onSortEnd.bind(n),n}return r(t,e),u(t,[{key:"render",value:function(){var e=this,t=this.props,n=t.attributes,o=t.setAttributes,a=n.blockSortableItems,r=n.blockContentBoxTemplate,l=n.blockItemsWrapAnimation,s=function(t){var n=a.slice(0);n.splice(t,1),o({blockSortableItems:n}),e.setState({isRemovePopup:!1})},c=function(t){e.setState({isRemovePopup:!0,deleteTabID:t})},u=function(){return e.state.isRemovePopup?wp.element.createElement(f,{title:__("Delete this Item?","gutentor"),className:i()("g-remove-popup"),onRequestClose:function(){e.setState({isRemovePopup:!1})},isDismissable:!1,shouldCloseOnClickOutside:!0},__("This will delete the item.","gutentor"),wp.element.createElement("div",{className:"g-remove-popup-actions"},wp.element.createElement(d,{isDefault:!0,onClick:function(){e.setState({isRemovePopup:!1})}},__("Cancel","gutentor")),wp.element.createElement(d,{isPrimary:!0,onClick:function(){s(e.state.deleteTabID)}},__("Delete","gutentor")))):""},p=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],l=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i=a.slice(0);i.map(function(o,a){t===a&&(l?i[a].itemStyle[n][r][l]=e:r?i[a].itemStyle[n][r]=e:i[a].itemStyle[n]=e)}),o({blockSortableItems:i})};return 0===a.length&&o({blockSortableItems:[{icon:{label:"fa-desktop",value:4===gutentor.fontAwesomeVersion?"fa fa-desktop":"fas fa-desktop",code:"f108"}}]}),[wp.element.createElement(v,{items:a,axis:"xy",onSortEnd:this.onSortEnd,useDragHandle:!0,onRemove:c,setItemStyle:p,blockContentBoxTemplate:r,blockItemsWrapAnimation:l,gutentorAllProps:this.props}),wp.element.createElement("div",{className:"gutentor-add-item"},wp.element.createElement(d,{isPrimary:!0,isLarge:!0,className:"gutentor-add-item-button",onClick:function(){return o({blockSortableItems:a.concat([{icon:{label:"fa-desktop",value:4===gutentor.fontAwesomeVersion?"fa fa-desktop":"fas fa-desktop",code:"f108"}}])})}},wp.element.createElement("i",{className:"dashicons dashicons-plus"}),__("Add Item","gutentor"))),wp.element.createElement(u,null)]}}]),t}(m);t.a=w},function(e,t,n){"use strict";var o=n(123),a=n(367),r=n(5),l=n(0),i=n.n(l),s=n(2),c=n(4),u=n(13),p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},__=wp.i18n.__,m=wp.blocks.registerBlockType,g=wp.blockEditor.InspectorControls,d=wp.element.Fragment,f=wp.components,b=f.PanelBody,h=f.PanelRow;m("gutentor/team",{title:__("Team Widget","gutentor"),description:__("Show your organization strength by adding your team members and their details.","gutentor"),icon:wp.element.createElement("img",{src:gutentor.teamSvgW}),category:"gutentor",keywords:[__("Gutentor Team Members Column Grid Block Widget","gutentor")],example:{},attributes:wp.hooks.applyFilters("gutentor_add_attributes",o.a),supports:{align:["wide","full"],html:!1},edit:function(e){var t=e.attributes,n=e.className,o=e.setAttributes,l=e.clientId,m=t.blockTeamTemplate,f=t.gutentorBlockName,v=t.blockID,w=t.blockSectionHtmlTag,y=t.blockComponentAnimation,_=w;return v!==l&&o({blockID:l}),void 0===f&&o({gutentorBlockName:e.name}),wp.hooks.doAction("gutentor_edit_init",e),wp.element.createElement(d,null,wp.element.createElement(g,{key:"inspector"},wp.element.createElement("div",{className:"gutentor-sidebar-inspectors"},wp.element.createElement(s.d,null,wp.element.createElement(s.b,null,wp.element.createElement(s.a,null,wp.element.createElement("i",{className:"dashicons dashicons-dashboard"}),__("General","gutentor")),wp.element.createElement(s.a,null,wp.element.createElement("i",{className:"dashicons dashicons-admin-generic"}),__("Advanced","gutentor"))),wp.element.createElement(s.c,null,wp.hooks.applyFilters("gutentor_edit_before_item_tab",[],e),wp.element.createElement(b,{title:__("Block Items","gutentor"),initialOpen:!1},wp.element.createElement(h,null,wp.element.createElement(s.d,null,wp.element.createElement(s.b,null,wp.element.createElement(s.a,null,wp.element.createElement("i",{className:"dashicons dashicons-dashboard"}),__("General","gutentor")),wp.element.createElement(s.a,null,wp.element.createElement("i",{className:"dashicons dashicons-edit"}),__("Style","gutentor")),wp.element.createElement(s.a,null,wp.element.createElement("i",{className:"dashicons dashicons-admin-generic"}),__("Advanced","gutentor"))),wp.element.createElement(s.c,null,wp.hooks.applyFilters("gutentor_edit_general_tab_start",[],e),wp.hooks.applyFilters("gutentor_edit_enable_block_template",!0,e)&&wp.element.createElement(u.a,{label:__("Template","gutentor"),value:m,onChange:function(e){o({blockTeamTemplate:e})},options:wp.hooks.applyFilters("gutentor_edit_template_options",[{value:"team-template1",label:'<img src="'+gutentor.dirUrl+'/assets/img/templates/team/team-template-1.svg" />'},{value:"team-template2",label:'<img src="'+gutentor.dirUrl+'/assets/img/templates/team/team-template-2.svg" />'},{value:"team-template3",label:'<img src="'+gutentor.dirUrl+'/assets/img/templates/team/team-template-3.svg" />'}],e)}),wp.hooks.applyFilters("gutentor_edit_general_tab_end",[],e)),wp.element.createElement(s.c,null,wp.hooks.applyFilters("gutentor_edit_style_tab_start",[],e),wp.element.createElement(b,{title:__("Image Box","gutentor"),initialOpen:!1},wp.element.createElement(h,null,wp.hooks.applyFilters("gutentor_image_box_edit_image_options_start",[],e),wp.hooks.applyFilters("gutentor_image_box_edit_additional_options",[],e),wp.hooks.applyFilters("gutentor_image_box_edit_image_options_end",[],e))),wp.hooks.applyFilters("gutentor_edit_style_tab_end",[],e)),wp.element.createElement(s.c,null,wp.hooks.applyFilters("gutentor_edit_items_advanced_options",[],e))))),wp.hooks.applyFilters("gutentor_edit_after_item_tab",[],e)),wp.element.createElement(s.c,null,wp.hooks.applyFilters("gutentor_edit_advanced_tab",[],e))))),wp.element.createElement(_,p({id:"section-"+v,className:wp.hooks.applyFilters("gutentor_edit_section_class",i()("gutentor-section gutentor-team",n,m||""),e)},Object(c.c)(y)),Object(r.d)(e),wp.hooks.applyFilters("gutentor_edit_before_container",[],e),wp.element.createElement("div",{className:wp.hooks.applyFilters("gutentor_edit_container_class",i()("grid-container"),e)},wp.hooks.applyFilters("gutentor_edit_before_repeater_items",[],e),wp.element.createElement(a.a,e),wp.hooks.applyFilters("gutentor_edit_after_repeater_items",[],e)),wp.hooks.applyFilters("gutentor_edit_after_container",[],e)))},save:function(e){wp.hooks.doAction("gutentor_save_init",e);var t=e.attributes,n=e.className,o=t.blockTeamTemplate,a=t.blockID,r=t.blockSortableItems,l=t.blockSectionHtmlTag,s=t.blockComponentAnimation,u=t.blockItemsWrapAnimation,m=l;return wp.element.createElement(m,p({id:"section-"+a,className:wp.hooks.applyFilters("gutentor_save_section_class",i()("gutentor-section gutentor-team",n,o||""),e)},Object(c.c)(s)),wp.hooks.applyFilters("gutentor_save_before_container",[],e),wp.element.createElement("div",{className:wp.hooks.applyFilters("gutentor_save_container_class","grid-container",e)},wp.hooks.applyFilters("gutentor_save_before_repeater_items",[],e),wp.element.createElement("div",p({className:wp.hooks.applyFilters("gutentor_save_grid_row_class","grid-row gutentor-grid-item-wrap",e)},wp.hooks.applyFilters("gutentor_save_grid_row_attr",{},e),Object(c.c)(u)),r.map(function(t,n){return wp.element.createElement("div",{className:wp.hooks.applyFilters("gutentor_save_grid_column_class","gutentor-grid-column",e)},wp.element.createElement("div",{className:wp.hooks.applyFilters("gutentor_save_single_item_class",i()("gutentor-single-item","gutentor-image",o||"","gutentor-single-item-"+n),e,t,n)},wp.hooks.applyFilters("gutentor_save_team_template_data",[],e,t,n)))}),wp.hooks.applyFilters("gutentor_save_after_single_item_data",[],e)),wp.hooks.applyFilters("gutentor_save_after_repeater_items",[],e)),wp.hooks.applyFilters("gutentor_save_after_container",[],e))}})},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function r(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var l=n(0),i=n.n(l),s=n(26),c=(n.n(s),n(4)),u=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},__=wp.i18n.__,m=wp.element.Component,g=wp.components,d=g.Button,f=g.Modal,b=Object(s.SortableHandle)(function(){return wp.element.createElement("i",{className:"dashicons dashicons-move"})}),h=Object(s.SortableElement)(function(e){var t=(e.itemStyle,e.onItemBoxChange,e.setItemStyle,e.sortableIndex),n=e.onRemove,o=e.gutentorAllProps,a=e.gutentorSingleItem;e.blockItemsWrapAnimation;return wp.element.createElement("div",{className:wp.hooks.applyFilters("gutentor_edit_grid_column_class","gutentor-grid-column",o)},wp.element.createElement("div",{className:"gutentor-column-inside"},wp.element.createElement("div",{className:"gutentor-control-actions"},wp.hooks.applyFilters("gutentor_edit_before_single_control",[],o,a,t),wp.element.createElement(b,null),wp.element.createElement("span",{onClick:function(){return n(t)}},wp.element.createElement("i",{className:"dashicons dashicons-trash"})),wp.hooks.applyFilters("gutentor_edit_after_single_control",[],o,a,t)),wp.hooks.applyFilters("gutentor_edit_before_single_item",[],o,a,t),wp.element.createElement("div",{className:wp.hooks.applyFilters("gutentor_edit_single_item_class",i()("gutentor-single-item","gutentor-image","gutentor-single-item-"+t),o,a,t)},wp.hooks.applyFilters("gutentor_edit_team_template_data",[],o,a,t))))}),v=Object(s.SortableContainer)(function(e){var t=e.items,n=e.onRemove,o=e.onItemBoxChange,a=e.setItemStyle,r=e.gutentorAllProps,l=e.blockItemsWrapAnimation;return wp.element.createElement("div",p({className:wp.hooks.applyFilters("gutentor_edit_grid_row_class","grid-row gutentor-grid-item-wrap",r)},wp.hooks.applyFilters("gutentor_edit_grid_row_attr",{},r),Object(c.c)(l)),t.map(function(e,t){return wp.element.createElement(h,{key:"item-"+t,index:t,itemStyle:e.itemStyle,sortableIndex:t,onRemove:n,onItemBoxChange:o,setItemStyle:a,gutentorAllProps:r,gutentorSingleItem:e,blockItemsWrapAnimation:l})}))}),w=function(e){function t(e){o(this,t);var n=a(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.onSortEnd=function(e){var t=e.oldIndex,o=e.newIndex,a=n.props,r=a.attributes,l=a.setAttributes,i=r.blockSortableItems.slice(0);l({blockSortableItems:Object(s.arrayMove)(i,t,o)}),n.updateTimeStamp()},n.updateTimeStamp=function(){(0,n.props.setAttributes)({timestamp:(new Date).getTime()})},n.state={isRemovePopup:!1,deleteTabID:null},n}return r(t,e),u(t,[{key:"render",value:function(){var e=this,t=this.props,n=t.attributes,o=t.setAttributes,a=n.blockSortableItems,r=n.blockItemsWrapAnimation,l=function(t){var n=a.slice(0);n.splice(t,1),o({blockSortableItems:n}),e.setState({isRemovePopup:!1})},s=function(t){e.setState({isRemovePopup:!0,deleteTabID:t})},c=function(){return e.state.isRemovePopup?wp.element.createElement(f,{title:__("Delete this Item?","gutentor"),className:i()("g-remove-popup"),onRequestClose:function(){e.setState({isRemovePopup:!1})},isDismissable:!1,shouldCloseOnClickOutside:!0},__("This will delete the item.","gutentor"),wp.element.createElement("div",{className:"g-remove-popup-actions"},wp.element.createElement(d,{isDefault:!0,onClick:function(){e.setState({isRemovePopup:!1})}},__("Cancel","gutentor")),wp.element.createElement(d,{isPrimary:!0,onClick:function(){l(e.state.deleteTabID)}},__("Delete","gutentor")))):""},u=function(t,n,r){var l=a.slice(0);l.map(function(e,o){n===o&&(l[o][r]=t)}),o({blockSortableItems:l}),e.updateTimeStamp()},p=function(t,n,r){var l=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],s=a.slice(0);s.map(function(e,o){n===o&&(i?s[o].itemStyle[r][l][i]=t:l?s[o].itemStyle[r][l]=t:s[o].itemStyle[r]=t)}),o({blockSortableItems:s}),e.updateTimeStamp()};return 0===a.length&&o({blockSortableItems:[{image:""}]}),[wp.element.createElement(v,{items:a,axis:"xy",onSortEnd:this.onSortEnd,useDragHandle:!0,onRemove:s,onItemBoxChange:u,setItemStyle:p,gutentorAllProps:this.props,blockItemsWrapAnimation:r}),wp.element.createElement("div",{className:"gutentor-add-item"},wp.element.createElement(d,{isPrimary:!0,isLarge:!0,className:"gutentor-add-item-button",onClick:function(){return o({blockSortableItems:a.concat([{image:""}])})}},wp.element.createElement("i",{className:"dashicons dashicons-plus"}),__("Add Item","gutentor"))),wp.element.createElement(c,null)]}}]),t}(m);t.a=w},function(e,t,n){"use strict";var o=n(369),a=n(5),r=n(13),l=n(0),i=n.n(l),s=n(2),c=n(4),u=n(125),p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},__=wp.i18n.__,m=wp.blocks.registerBlockType,g=wp.blockEditor.InspectorControls,d=wp.element.Fragment,f=wp.components,b=f.PanelBody,h=f.PanelRow;m("gutentor/accordion",{title:__("Accordion Widget","gutentor"),description:__("Add collapsable accordion items with title and content.","gutentor"),icon:wp.element.createElement("img",{src:gutentor.m6Svg}),category:"gutentor",keywords:[__("Gutentor Collapsable Accordion Block Widget","gutentor")],example:{},attributes:wp.hooks.applyFilters("gutentor_add_attributes",u.a),edit:function(e){var t=e.attributes,n=e.className,l=e.setAttributes,u=e.clientId,m=t.blockAccordionTemplate,f=t.gutentorBlockName,v=t.blockID,w=t.blockSectionHtmlTag,y=t.blockComponentAnimation,_=t.blockItemsWrapAnimation,k=w;v!==u&&l({blockID:u}),void 0===f&&l({gutentorBlockName:e.name});return wp.element.createElement(d,null,wp.element.createElement(g,{key:"inspector"},wp.element.createElement("div",{className:"gutentor-sidebar-inspectors"},wp.element.createElement(s.d,null,wp.element.createElement(s.b,null,wp.element.createElement(s.a,null,wp.element.createElement("i",{className:"dashicons dashicons-dashboard"}),__("General","gutentor")),wp.element.createElement(s.a,null,wp.element.createElement("i",{className:"dashicons dashicons-admin-generic"}),__("Advanced","gutentor"))),wp.element.createElement(s.c,null,wp.hooks.applyFilters("gutentor_edit_before_item_tab",[],e),wp.element.createElement(b,{title:__("Block Items","gutentor"),initialOpen:!1},wp.element.createElement(h,null,wp.element.createElement(s.d,null,wp.element.createElement(s.b,null,wp.element.createElement(s.a,null,wp.element.createElement("i",{className:"dashicons dashicons-dashboard"}),__("General","gutentor")),wp.element.createElement(s.a,null,wp.element.createElement("i",{className:"dashicons dashicons-edit"}),__("Style","gutentor")),wp.element.createElement(s.a,null,wp.element.createElement("i",{className:"dashicons dashicons-admin-generic"}),__("Advanced","gutentor"))),wp.element.createElement(s.c,null,wp.hooks.applyFilters("gutentor_edit_general_tab_start",[],e),wp.hooks.applyFilters("gutentor_edit_enable_block_template",!0,e)&&wp.element.createElement(r.a,{label:__("Template","gutentor"),value:m,onChange:function(e){l({blockAccordionTemplate:e})},options:wp.hooks.applyFilters("gutentor_edit_template_options",[{value:"accordion-template1",label:'<img src="'+gutentor.dirUrl+'/assets/img/templates/accordion/accordion-template-1.svg" />'}],e)}),wp.hooks.applyFilters("gutentor_edit_general_tab_end",[],e)),wp.element.createElement(s.c,null,wp.hooks.applyFilters("gutentor_edit_style_tab_start",[],e),wp.hooks.applyFilters("gutentor_edit_style_tab_end",[],e)),wp.element.createElement(s.c,null,wp.hooks.applyFilters("gutentor_edit_items_advanced_options",[],e))))),wp.hooks.applyFilters("gutentor_edit_after_item_tab",[],e)),wp.element.createElement(s.c,null,wp.hooks.applyFilters("gutentor_edit_advanced_tab",[],e))))),wp.element.createElement(k,p({id:"section-"+v,className:wp.hooks.applyFilters("gutentor_edit_section_class",i()("gutentor-section gutentor-accordion-wrapper",n,m||""),e)},Object(c.c)(y)),Object(a.d)(e),wp.hooks.applyFilters("gutentor_edit_before_container",[],e),wp.element.createElement("div",{className:wp.hooks.applyFilters("gutentor_edit_container_class","grid-container",e)},wp.hooks.applyFilters("gutentor_edit_before_repeater_items",[],e),wp.element.createElement("div",p({className:wp.hooks.applyFilters("gutentor_edit_grid_row_class","grid-row gutentor-grid-item-wrap",e)},Object(c.c)(_),wp.hooks.applyFilters("gutentor_save_grid_row_attr",{},e)),wp.hooks.applyFilters("gutentor_edit_before_items_inside_row",[],e),wp.element.createElement("div",{className:wp.hooks.applyFilters("gutentor_edit_grid_column_class",i()("grid-md-12"),e)},wp.element.createElement(o.a,e))),wp.hooks.applyFilters("gutentor_edit_after_repeater_items",[],e)),wp.hooks.applyFilters("gutentor_edit_after_container",[],e)))},save:function(e){var t=e.attributes,n=e.className,o=(e.setAttributes,t.blockAccordionTemplate),a=t.blockID,r=t.blockSortableItems,l=t.blockSectionHtmlTag,s=t.blockComponentAnimation,u=t.blockItemsWrapAnimation,m=l;return wp.element.createElement(m,p({id:"section-"+a,className:wp.hooks.applyFilters("gutentor_save_section_class",i()("gutentor-section gutentor-accordion-wrapper",n,o||" "),e)},Object(c.c)(s)),wp.hooks.applyFilters("gutentor_save_before_container",[],e),wp.element.createElement("div",{className:wp.hooks.applyFilters("gutentor_save_container_class","grid-container",e)},wp.hooks.applyFilters("gutentor_save_before_repeater_items",[],e),wp.element.createElement("div",p({className:wp.hooks.applyFilters("gutentor_save_grid_row_class","grid-row gutentor-grid-item-wrap",e)},wp.hooks.applyFilters("gutentor_save_grid_row_attr",{},e),Object(c.c)(u)),wp.hooks.applyFilters("gutentor_save_before_items_inside_row",[],e),wp.element.createElement("div",{className:wp.hooks.applyFilters("gutentor_save_grid_column_class",i()("grid-md-12"),e)},r.map(function(t,n){return wp.element.createElement("div",{className:"gutentor-accordion-wrap"},wp.element.createElement("div",{className:i()("gutentor-single-item","gutentor-single-item-"+n)},wp.hooks.applyFilters("gutentor_save_accordion_template_data",[],e,t,n)))}),wp.hooks.applyFilters("gutentor_save_after_single_item_data",[],e))),wp.hooks.applyFilters("gutentor_save_after_repeater_items",[],e)),wp.hooks.applyFilters("gutentor_save_after_container",[],e))}})},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function r(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var l=n(0),i=n.n(l),s=n(26),c=(n.n(s),function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}()),__=wp.i18n.__,u=wp.element.Component,p=wp.components,m=p.Button,g=p.Modal,d=Object(s.SortableHandle)(function(){return wp.element.createElement("i",{className:"dashicons dashicons-move"})}),f=Object(s.SortableElement)(function(e){var t=(e.itemStyle,e.onItemBoxChange,e.setItemStyle,e.sortableIndex),n=e.onRemove,o=e.gutentorAllProps,a=e.gutentorSingleItem;return wp.element.createElement("div",{className:wp.hooks.applyFilters("gutentor_edit_repeater_grid_column_class","gutentor-grid-column gutentor-accordion-block",o)},wp.element.createElement("div",{className:"gutentor-column-inside"},wp.hooks.applyFilters("gutentor_enable_accordion_single_item_style_control",!0,o)&&wp.element.createElement("div",{className:"gutentor-control-actions"},wp.hooks.applyFilters("gutentor_edit_before_single_control",[],o,a,t),wp.element.createElement(d,null),wp.element.createElement("span",{onClick:function(){return n(t)}},wp.element.createElement("i",{className:"dashicons dashicons-trash"})),wp.hooks.applyFilters("gutentor_enable_accordion_edit_after_single_control",!1,o)&&wp.hooks.applyFilters("gutentor_edit_after_single_control",[],o,a,t)),wp.hooks.applyFilters("gutentor_edit_before_single_item",[],o,a,t),wp.element.createElement("div",{className:i()("gutentor-single-item","gutentor-single-item-"+t)},wp.hooks.applyFilters("gutentor_edit_accordion_template_data",[],o,a,t))))}),b=Object(s.SortableContainer)(function(e){var t=e.items,n=e.onRemove,o=e.onItemBoxChange,a=e.setItemStyle,r=e.gutentorAllProps;return wp.element.createElement("div",{className:"gutentor-accordion-wrap"},t.map(function(e,t){return wp.element.createElement(f,{key:"item-"+t,index:t,itemStyle:e.itemStyle,sortableIndex:t,onRemove:n,onItemBoxChange:o,setItemStyle:a,gutentorAllProps:r,gutentorSingleItem:e})}))}),h=function(e){function t(e){o(this,t);var n=a(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.onSortEnd=function(e){var t=e.oldIndex,o=e.newIndex,a=n.props,r=a.attributes,l=a.setAttributes,i=r.blockSortableItems.slice(0);l({blockSortableItems:Object(s.arrayMove)(i,t,o)}),n.updateTimeStamp()},n.updateTimeStamp=function(){(0,n.props.setAttributes)({timestamp:(new Date).getTime()})},n.state={isRemovePopup:!1,deleteTabID:null},n}return r(t,e),c(t,[{key:"render",value:function(){var e=this,t=this.props,n=t.attributes,o=(t.className,t.setAttributes),a=n.blockSortableItems,r=function(t){var n=a.slice(0);n.splice(t,1),o({blockSortableItems:n}),e.setState({isRemovePopup:!1})},l=function(t){e.setState({isRemovePopup:!0,deleteTabID:t})},s=function(){return e.state.isRemovePopup?wp.element.createElement(g,{title:__("Delete this Item?","gutentor"),className:i()("g-remove-popup"),onRequestClose:function(){e.setState({isRemovePopup:!1})},isDismissable:!1,shouldCloseOnClickOutside:!0},__("This will delete the Accordion item.","gutentor"),wp.element.createElement("div",{className:"g-remove-popup-actions"},wp.element.createElement(m,{isDefault:!0,onClick:function(){e.setState({isRemovePopup:!1})}},__("Cancel","gutentor")),wp.element.createElement(m,{isPrimary:!0,onClick:function(){r(e.state.deleteTabID)}},__("Delete","gutentor")))):""},c=function(t,n,r){var l=a.slice(0);l.map(function(e,o){n===o&&(l[o][r]=t)}),o({blockSortableItems:l}),e.updateTimeStamp()},u=function(t,n,r){var l=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],s=a.slice(0);s.map(function(e,o){n===o&&(i?s[o].itemStyle[r][l][i]=t:l?s[o].itemStyle[r][l]=t:s[o].itemStyle[r]=t)}),o({blockSortableItems:s}),e.updateTimeStamp()};return 0===a.length&&o({blockSortableItems:[{title:__("Title","gutentor")}]}),[wp.element.createElement(b,{items:a,axis:"xy",onSortEnd:this.onSortEnd,useDragHandle:!0,onRemove:l,onItemBoxChange:c,setItemStyle:u,gutentorAllProps:this.props}),wp.element.createElement("div",{className:"gutentor-add-item"},wp.element.createElement(m,{isPrimary:!0,isLarge:!0,className:"gutentor-add-item-button",onClick:function(){return o({blockSortableItems:a.concat([{title:__("Title","gutentor")}])})}},wp.element.createElement("i",{className:"dashicons dashicons-plus"}),__("Add Item","gutentor"))),wp.element.createElement(s,null)]}}]),t}(u);t.a=h},function(e,t,n){"use strict";var o=n(371),a=n(5),r=n(0),l=n.n(r),i=n(2),s=n(126),c=n(4),u=n(13),p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},__=wp.i18n.__,m=wp.blocks.registerBlockType,g=wp.blockEditor.InspectorControls,d=wp.element.Fragment,f=wp.components,b=f.PanelBody,h=f.PanelRow;m("gutentor/opening-hours",{title:__("Opening Hours Widget","gutentor"),description:__("Add your business opening and closing hours in a week, day and occasions.","gutentor"),icon:wp.element.createElement("img",{src:gutentor.openHoursSvg}),category:"gutentor",keywords:[__("Gutentor Opening Closing Hours Block Widget","gutentor")],example:{},attributes:wp.hooks.applyFilters("gutentor_add_attributes",s.a),supports:{align:["wide","full"],html:!1},edit:function(e){var t=e.attributes,n=e.className,r=e.setAttributes,s=e.clientId,m=t.blockID,f=t.gutentorBlockName,v=t.blockOpeningHoursTemplate,w=t.blockSectionHtmlTag,y=t.blockComponentAnimation,_=t.blockItemsWrapAnimation,k=w;return m!==s&&r({blockID:s}),void 0===f&&r({gutentorBlockName:e.name}),wp.hooks.doAction("gutentor_opening_hours_edit_init",e),wp.element.createElement(d,null,wp.element.createElement(g,{key:"inspector"},wp.element.createElement("div",{className:"gutentor-sidebar-inspectors"},wp.element.createElement(i.d,null,wp.element.createElement(i.b,null,wp.element.createElement(i.a,null,wp.element.createElement("i",{className:"dashicons dashicons-dashboard"}),__("General","gutentor")),wp.element.createElement(i.a,null,wp.element.createElement("i",{className:"dashicons dashicons-admin-generic"}),__("Advanced","gutentor"))),wp.element.createElement(i.c,null,wp.hooks.applyFilters("gutentor_edit_before_item_tab",[],e),wp.element.createElement(b,{title:__("Block Items","gutentor"),initialOpen:!1},wp.element.createElement(h,null,wp.element.createElement(i.d,null,wp.element.createElement(i.b,null,wp.element.createElement(i.a,null,wp.element.createElement("i",{className:"dashicons dashicons-dashboard"}),__("General","gutentor")),wp.element.createElement(i.a,null,wp.element.createElement("i",{className:"dashicons dashicons-edit"}),__("Style","gutentor")),wp.element.createElement(i.a,null,wp.element.createElement("i",{className:"dashicons dashicons-admin-generic"}),__("Advanced","gutentor"))),wp.element.createElement(i.c,null,wp.hooks.applyFilters("gutentor_edit_general_tab_start",[],e),wp.hooks.applyFilters("gutentor_edit_enable_block_template",!0,e)&&wp.element.createElement(u.a,{label:__("Template","gutentor"),value:v,onChange:function(e){r({blockOpeningHoursTemplate:e})},options:wp.hooks.applyFilters("gutentor_edit_template_options",[{value:"opening-hours-template1",label:'<img src="'+gutentor.dirUrl+'/assets/img/templates/opening-hours/opening-hours-template-1.svg" />'},{value:"opening-hours-template2",label:'<img src="'+gutentor.dirUrl+'/assets/img/templates/opening-hours/opening-hours-template-2.svg" />'},{value:"opening-hours-template3",label:'<img src="'+gutentor.dirUrl+'/assets/img/templates/opening-hours/opening-hours-template-3.svg" />'}],e)}),wp.hooks.applyFilters("gutentor_edit_general_tab_end",[],e)),wp.element.createElement(i.c,null,wp.hooks.applyFilters("gutentor_edit_style_tab_start",[],e),wp.hooks.applyFilters("gutentor_item_box_start",[],e),wp.hooks.applyFilters("gutentor_item_box_end",[],e),wp.hooks.applyFilters("gutentor_edit_style_tab_end",[],e)),wp.element.createElement(i.c,null,wp.hooks.applyFilters("gutentor_edit_items_advanced_options",[],e))))),wp.hooks.applyFilters("gutentor_edit_after_item_tab",[],e)),wp.element.createElement(i.c,null,wp.hooks.applyFilters("gutentor_edit_advanced_tab",[],e))))),wp.element.createElement(k,p({id:"section-"+m,className:wp.hooks.applyFilters("gutentor_edit_section_class",l()("gutentor-section gutentor-opening-hours",n,v||""),e)},Object(c.c)(y)),Object(a.d)(e),wp.hooks.applyFilters("gutentor_edit_before_container",[],e),wp.element.createElement("div",{className:wp.hooks.applyFilters("gutentor_edit_container_class","grid-container",e)},wp.hooks.applyFilters("gutentor_edit_before_repeater_items",[],e),wp.element.createElement("div",p({className:l()("gutentor-grid-item-wrap","none"!==_.Animation?"wow animated "+_.Animation:"")},Object(c.c)(_)),wp.element.createElement("div",{className:"gutentor-opening-hours-box"},wp.element.createElement(o.a,e))),wp.hooks.applyFilters("gutentor_edit_after_repeater_items",[],e)),wp.hooks.applyFilters("gutentor_edit_after_container",[],e)))},save:function(e){var t=e.attributes,n=e.className,o=(e.setAttributes,t.blockID),a=t.blockSortableItems,r=t.blockOpeningHoursTemplate,i=t.blockSectionHtmlTag,s=t.blockComponentAnimation,u=t.blockItemsWrapAnimation,m=i;return wp.hooks.doAction("gutentor_opening_hours_save_init",e),wp.element.createElement(m,p({id:"section-"+o,className:wp.hooks.applyFilters("gutentor_save_section_class",l()(n,"gutentor-section","gutentor-opening-hours",r||""),e)},Object(c.c)(s)),wp.hooks.applyFilters("gutentor_save_before_container",[],e),wp.element.createElement("div",{className:wp.hooks.applyFilters("gutentor_save_container_class","grid-container",e)},wp.hooks.applyFilters("gutentor_save_before_repeater_items",[],e),wp.element.createElement("div",p({className:l()("gutentor-grid-item-wrap","none"!==u.Animation?"wow animated "+u.Animation:"")},Object(c.c)(u)),wp.element.createElement("div",{className:"gutentor-opening-hours-box"},wp.element.createElement("ul",{className:"gutentor-opening-hours-wrapper"},wp.hooks.applyFilters("gutentor_save_before_single_item_data",[],e),a.map(function(t,n){return wp.element.createElement("li",{className:l()("gutentor-single-item","gutentor-single-item-"+n)},wp.hooks.applyFilters("gutentor_save_opening_hours_template_data",[],e,t,n))}),wp.hooks.applyFilters("gutentor_save_after_single_item_data",[],e)))),wp.hooks.applyFilters("gutentor_save_after_repeater_items",[],e)),wp.hooks.applyFilters("gutentor_save_after_container",[],e))}})},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function r(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var l=n(0),i=n.n(l),s=n(26),c=(n.n(s),function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}()),__=wp.i18n.__,u=wp.element.Component,p=wp.components,m=p.Button,g=p.Modal,d=Object(s.SortableHandle)(function(){return wp.element.createElement("i",{className:"dashicons dashicons-move"})}),f=Object(s.SortableElement)(function(e){var t=(e.itemStyle,e.onItemBoxChange,e.setItemStyle,e.sortableIndex),n=e.onRemove,o=(e.openingTag,e.gutentorAllProps),a=e.gutentorSingleItem;return wp.element.createElement("li",{className:wp.hooks.applyFilters("gutentor_edit_opening_hour_li_class","gutentor-single-item gutentor-single-item-"+t,o)},wp.element.createElement("div",{className:"gutentor-column-inside"},wp.element.createElement("div",{className:"gutentor-control-actions"},wp.hooks.applyFilters("gutentor_edit_before_single_control",[],o,a,t),wp.element.createElement(d,null),wp.element.createElement("span",{onClick:function(){return n(t)}},wp.element.createElement("i",{className:"dashicons dashicons-trash"})),wp.hooks.applyFilters("gutentor_edit_after_single_control",[],o,a,t)),wp.hooks.applyFilters("gutentor_edit_before_single_item",[],o,a,t),wp.element.createElement("div",{className:i()("gutentor-opening-hours-content")},wp.hooks.applyFilters("gutentor_edit_opening_hours_template_data",[],o,a,t))))}),b=Object(s.SortableContainer)(function(e){var t=e.items,n=e.onRemove,o=e.onItemBoxChange,a=e.setItemStyle,r=e.openingTag,l=e.gutentorAllProps;return wp.element.createElement("ul",{className:"gutentor-opening-hours-wrapper"},t.map(function(e,t){return wp.element.createElement(f,{key:"item-"+t,index:t,itemStyle:e.itemStyle,sortableIndex:t,onRemove:n,onItemBoxChange:o,setItemStyle:a,openingTag:r,gutentorAllProps:l,gutentorSingleItem:e})}))}),h=function(e){function t(e){o(this,t);var n=a(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.onSortEnd=function(e){var t=e.oldIndex,o=e.newIndex,a=n.props,r=a.attributes,l=a.setAttributes,i=r.blockSortableItems.slice(0);l({blockSortableItems:Object(s.arrayMove)(i,t,o)}),n.updateTimeStamp()},n.updateTimeStamp=function(){var e=n.props;e.attributes;(0,e.setAttributes)({timestamp:(new Date).getTime()})},n.state={isRemovePopup:!1,deleteTabID:null},n}return r(t,e),c(t,[{key:"render",value:function(){var e=this,t=this.props,n=t.attributes,o=(t.className,t.setAttributes),a=n.blockSortableItems,r=n.openingTag,l=function(t){var n=a.slice(0);n.splice(t,1),o({blockSortableItems:n}),e.setState({isRemovePopup:!1})},s=function(t){e.setState({isRemovePopup:!0,deleteTabID:t})},c=function(){return e.state.isRemovePopup?wp.element.createElement(g,{title:__("Delete this Item?","gutentor"),className:i()("g-remove-popup"),onRequestClose:function(){e.setState({isRemovePopup:!1})},isDismissable:!1,shouldCloseOnClickOutside:!0},__("This will delete the item.","gutentor"),wp.element.createElement("div",{className:"g-remove-popup-actions"},wp.element.createElement(m,{isDefault:!0,onClick:function(){e.setState({isRemovePopup:!1})}},__("Cancel","gutentor")),wp.element.createElement(m,{isPrimary:!0,onClick:function(){l(e.state.deleteTabID)}},__("Delete","gutentor")))):""},u=function(t,n,r){var l=a.slice(0);l.map(function(e,o){n===o&&(l[o][r]=t)}),o({blockSortableItems:l}),e.updateTimeStamp()},p=function(t,n,r){var l=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],s=a.slice(0);s.map(function(e,o){n===o&&(i?s[o].itemStyle[r][l][i]=t:l?s[o].itemStyle[r][l]=t:s[o].itemStyle[r]=t)}),o({blockSortableItems:s}),e.updateTimeStamp()};return 0===a.length&&o({blockSortableItems:[{itemStyle:{}}]}),[wp.element.createElement(b,{items:a,axis:"xy",onSortEnd:this.onSortEnd,useDragHandle:!0,onRemove:s,onItemBoxChange:u,setItemStyle:p,openingTag:r,gutentorAllProps:this.props}),wp.element.createElement("div",{className:"gutentor-add-item"},wp.element.createElement(m,{isPrimary:!0,isLarge:!0,className:"gutentor-add-item-button",onClick:function(){return o({blockSortableItems:a.concat([{itemStyle:{}}])})}},wp.element.createElement("i",{className:"dashicons dashicons-plus"}),__("Add Item","gutentor"))),wp.element.createElement(c,null)]}}]),t}(u);t.a=h},function(e,t,n){"use strict";var o=n(128),a=n(373),r=n(1),l=n(5),i=n(3),s=n(0),c=n.n(s),u=n(2),p=n(4),m=n(13),g=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},__=wp.i18n.__,d=wp.blocks.registerBlockType,f=wp.blockEditor.InspectorControls,b=wp.element.Fragment,h=wp.components,v=h.BaseControl,w=h.PanelBody,y=h.PanelRow,_=h.ToggleControl;d("gutentor/timeline",{title:__("Timeline Widget","gutentor"),description:__("Show any information and changes based on the timeline.","gutentor"),icon:wp.element.createElement("img",{src:gutentor.timelineSvgW}),category:"gutentor",keywords:[__("Gutentor Timeline Information Experience Updates Block Widget","gutentor")],example:{},attributes:wp.hooks.applyFilters("gutentor_add_attributes",o.a),supports:{align:["wide","full"],html:!1},edit:function(e){var t=e.attributes,n=e.className,o=e.setAttributes,s=e.clientId,d=t.blockID,h=t.gutentorBlockName,k=t.blockTimelineTemplate,E=t.blockTimelineContentBgColor,C=t.blockTimelineLineColor,O=t.blockTimelineCircleColor,j=t.blockSectionHtmlTag,x=t.blockComponentAnimation,I=t.blockItemsWrapAnimation,T=j;return d!==s&&o({blockID:s}),void 0===h&&o({gutentorBlockName:e.name}),wp.hooks.doAction("gutentor_edit_init",e),wp.element.createElement(b,null,wp.element.createElement(f,{key:"inspector"},wp.element.createElement("div",{className:"gutentor-sidebar-inspectors"},wp.element.createElement(u.d,null,wp.element.createElement(u.b,null,wp.element.createElement(u.a,null,wp.element.createElement("i",{className:"dashicons dashicons-dashboard"}),__("General","gutentor")),wp.element.createElement(u.a,null,wp.element.createElement("i",{className:"dashicons dashicons-admin-generic"}),__("Advanced","gutentor"))),wp.element.createElement(u.c,null,wp.hooks.applyFilters("gutentor_edit_before_item_tab",[],e),wp.element.createElement(w,{title:__("Block Items","gutentor"),initialOpen:!1},wp.element.createElement(y,null,wp.element.createElement(u.d,null,wp.element.createElement(u.b,null,wp.element.createElement(u.a,null,wp.element.createElement("i",{className:"dashicons dashicons-dashboard"}),__("General","gutentor")),wp.element.createElement(u.a,null,wp.element.createElement("i",{className:"dashicons dashicons-edit"}),__("Style","gutentor")),wp.element.createElement(u.a,null,wp.element.createElement("i",{className:"dashicons dashicons-admin-generic"}),__("Advanced","gutentor"))),wp.element.createElement(u.c,null,wp.hooks.applyFilters("gutentor_edit_general_tab_start",[],e),wp.hooks.applyFilters("gutentor_edit_enable_block_template",!0,e)&&wp.element.createElement(m.a,{label:__("Template","gutentor"),value:k,onChange:function(e){o({blockTimelineTemplate:e})},options:wp.hooks.applyFilters("gutentor_edit_template_options",[{value:"timeline-template1",label:'<img src="'+gutentor.dirUrl+'/assets/img/templates/timeline/timeline-template-1.svg" />'}],e)}),wp.hooks.applyFilters("gutentor_edit_general_tab_end",[],e)),wp.element.createElement(u.c,null,wp.hooks.applyFilters("gutentor_edit_style_tab_start",[],e),wp.hooks.applyFilters("gutentor_timeline_edit_style_tab",[],e),wp.element.createElement(w,{title:__("Timeline Content","gutentor"),initialOpen:!1},wp.element.createElement(y,null,wp.element.createElement(v,{label:__("Background Color","gutentor")},wp.element.createElement(_,{label:__("Enable","gutentor"),checked:E.enable,onChange:function(){Object(r.p)("blockTimelineContentBgColor","enable",E,!E.enable,o)}}),E.enable&&wp.element.createElement(u.d,null,wp.element.createElement(u.b,null,wp.element.createElement(u.a,null,__("Normal","gutentor")),wp.element.createElement(u.a,null,__("Hover","gutentor"))),wp.element.createElement(u.c,null,wp.element.createElement(i.a,{value:E,key1:"normal",label:__("Color","gutentor"),onChange:function(e){Object(r.p)("blockTimelineContentBgColor","normal",E,e,o)},disableAlpha:!1})),wp.element.createElement(u.c,null,wp.element.createElement(i.a,{value:E,key1:"hover",label:__("Color","gutentor"),onChange:function(e){Object(r.p)("blockTimelineContentBgColor","hover",E,e,o)},disableAlpha:!1})))))),wp.element.createElement(w,{title:__("Timeline Settings","gutentor"),initialOpen:!1},wp.element.createElement(y,null,wp.element.createElement(v,{label:__("Line Color","gutentor")},wp.element.createElement(_,{label:__("Enable Color","gutentor"),checked:C.enable,onChange:function(){Object(r.p)("blockTimelineLineColor","enable",C,!C.enable,o)}}),C.enable&&wp.element.createElement(u.d,null,wp.element.createElement(u.b,null,wp.element.createElement(u.a,null,__("Normal","gutentor"))),wp.element.createElement(u.c,null,wp.element.createElement(i.a,{value:C,key1:"normal",label:__("Color","gutentor"),onChange:function(e){Object(r.p)("blockTimelineLineColor","normal",C,e,o)},disableAlpha:!0}))))),wp.element.createElement(y,null,wp.element.createElement(v,{label:__("Circle Color","gutentor")},wp.element.createElement(_,{label:__("Enable Color","gutentor"),checked:O.enable,onChange:function(){Object(r.p)("blockTimelineCircleColor","enable",O,!O.enable,o)}}),O.enable&&wp.element.createElement(u.d,null,wp.element.createElement(u.b,null,wp.element.createElement(u.a,null,__("Normal","gutentor"))),wp.element.createElement(u.c,null,wp.element.createElement(i.a,{value:O,key1:"normal",label:__("Color","gutentor"),onChange:function(e){Object(r.p)("blockTimelineCircleColor","normal",O,e,o)},disableAlpha:!0})))))),wp.hooks.applyFilters("gutentor_edit_style_tab_end",[],e)),wp.element.createElement(u.c,null,wp.hooks.applyFilters("gutentor_edit_items_advanced_options",[],e))))),wp.hooks.applyFilters("gutentor_edit_after_item_tab",[],e)),wp.element.createElement(u.c,null,wp.hooks.applyFilters("gutentor_edit_advanced_tab",[],e))))),wp.element.createElement(T,g({id:"section-"+d,className:wp.hooks.applyFilters("gutentor_edit_section_class",c()("gutentor-section gutentor-timeline",n,k||""),e)},Object(p.c)(x)),Object(l.d)(e),wp.hooks.applyFilters("gutentor_edit_before_container",[],e),wp.element.createElement("div",{className:wp.hooks.applyFilters("gutentor_edit_container_class","grid-container",e)},wp.hooks.applyFilters("gutentor_edit_before_repeater_items",[],e),wp.element.createElement("div",g({className:c()("gutentor-grid-item-wrap","none"!==I.Animation?"wow animated "+I.Animation:"")},Object(p.c)(I)),wp.element.createElement(a.a,e)),wp.hooks.applyFilters("gutentor_edit_after_repeater_items",[],e)),wp.hooks.applyFilters("gutentor_edit_after_container",[],e)))},save:function(e){var t=e.attributes,n=e.className,o=(e.setAttributes,t.blockID),a=t.blockTimelineTemplate,r=t.blockSortableItems,l=t.blockSectionHtmlTag,i=t.blockComponentAnimation,s=t.blockItemsWrapAnimation,u=l,m=function(e){return e%2===0?"gutentor-even":"gutentor-odd"};return wp.element.createElement(u,g({id:"section-"+o,className:wp.hooks.applyFilters("gutentor_save_section_class",c()("gutentor-section gutentor-timeline","cssanimations",n,a||" "),e)},Object(p.c)(i)),wp.hooks.applyFilters("gutentor_save_before_container",[],e),wp.element.createElement("div",{className:wp.hooks.applyFilters("gutentor_save_container_class","grid-container",e)},wp.hooks.applyFilters("gutentor_save_before_repeater_items",[],e),wp.element.createElement("div",g({className:c()("gutentor-grid-item-wrap","none"!==s.Animation?"wow animated "+s.Animation:"")},Object(p.c)(s)),wp.element.createElement("div",{className:"gutentor-timeline-wrapper"},r.map(function(t,n){return wp.element.createElement("div",{className:c()("gutentor-single-item","gutentor-single-item-"+n,m(n),!!t.itemStyle.enableCurrent&&"gutentor-current")},wp.element.createElement("div",{className:c()("gutentor-timeline-item")},wp.hooks.applyFilters("gutentor_save_timeline_template_data",[],e,t,n)))}))),wp.hooks.applyFilters("gutentor_save_after_repeater_items",[],e)),wp.hooks.applyFilters("gutentor_save_after_container",[],e))}})},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function r(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var l=n(0),i=n.n(l),s=n(26),c=(n.n(s),function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}()),__=wp.i18n.__,u=wp.element.Component,p=wp.components,m=p.Button,g=p.Modal,d=Object(s.SortableHandle)(function(){return wp.element.createElement("i",{className:"dashicons dashicons-move"})}),f=Object(s.SortableElement)(function(e){var t=e.itemStyle,n=(e.onItemBoxChange,e.setItemStyle,e.sortableIndex),o=e.onRemove,a=e.gutentorAllProps,r=e.gutentorSingleItem;return wp.element.createElement("div",{className:wp.hooks.applyFilters("gutentor_edit_grid_column_class",i()("gutentor-single-item","gutentor-single-item-"+n,function(e){return e%2===0?"gutentor-even":"gutentor-odd"}(n),!!t.enableCurrent&&"gutentor-current"),a)},wp.element.createElement("div",{className:"gutentor-column-inside"},wp.hooks.applyFilters("gutentor_enable_timeline_single_item_style_control",!0,a)&&wp.element.createElement("div",{className:"gutentor-control-actions"},wp.hooks.applyFilters("gutentor_edit_before_single_control",[],a,r,n),wp.element.createElement(d,null),wp.element.createElement("span",{onClick:function(){return o(n)}},wp.element.createElement("i",{className:"dashicons dashicons-trash"})),wp.hooks.applyFilters("gutentor_enable_timeline_edit_after_single_control",!1,a)&&wp.hooks.applyFilters("gutentor_edit_after_single_control",[],a,r,n)),wp.hooks.applyFilters("gutentor_edit_before_single_item",[],a,r,n),wp.element.createElement("div",{className:i()("gutentor-timeline-item")},wp.hooks.applyFilters("gutentor_edit_timeline_template_data",[],a,r,n))))}),b=Object(s.SortableContainer)(function(e){var t=e.items,n=e.onRemove,o=e.onItemBoxChange,a=e.setItemStyle,r=e.gutentorAllProps;return wp.element.createElement("div",{className:"gutentor-timeline-wrapper"},t.map(function(e,t){return wp.element.createElement(f,{key:"item-"+t,index:t,itemStyle:e.itemStyle,sortableIndex:t,onRemove:n,onItemBoxChange:o,setItemStyle:a,gutentorAllProps:r,gutentorSingleItem:e})}))}),h=function(e){function t(e){o(this,t);var n=a(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.onSortEnd=function(e){var t=e.oldIndex,o=e.newIndex,a=n.props,r=a.attributes,l=a.setAttributes,i=r.blockSortableItems.slice(0);l({blockSortableItems:Object(s.arrayMove)(i,t,o)}),n.updateTimeStamp()},n.updateTimeStamp=function(){(0,n.props.setAttributes)({timestamp:(new Date).getTime()})},n.state={isRemovePopup:!1,deleteTabID:null},n}return r(t,e),c(t,[{key:"render",value:function(){var e=this,t=this.props,n=t.attributes,o=t.setAttributes,a=n.blockSortableItems,r=function(t){var n=a.slice(0);n.splice(t,1),o({blockSortableItems:n}),e.setState({isRemovePopup:!1})},l=function(t){e.setState({isRemovePopup:!0,deleteTabID:t})},s=function(){return e.state.isRemovePopup?wp.element.createElement(g,{title:__("Delete this Item?","gutentor"),className:i()("g-remove-popup"),onRequestClose:function(){e.setState({isRemovePopup:!1})},isDismissable:!1,shouldCloseOnClickOutside:!0},__("This will delete the item.","gutentor"),wp.element.createElement("div",{className:"g-remove-popup-actions"},wp.element.createElement(m,{isDefault:!0,onClick:function(){e.setState({isRemovePopup:!1})}},__("Cancel","gutentor")),wp.element.createElement(m,{isPrimary:!0,onClick:function(){r(e.state.deleteTabID)}},__("Delete","gutentor")))):""},c=function(t,n,r){var l=a.slice(0);l.map(function(e,o){n===o&&(l[o][r]=t)}),o({blockSortableItems:l}),e.updateTimeStamp()},u=function(t,n,r){var l=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],s=a.slice(0);s.map(function(e,o){n===o&&(i?s[o].itemStyle[r][l][i]=t:l?s[o].itemStyle[r][l]=t:s[o].itemStyle[r]=t)}),o({blockSortableItems:s}),e.updateTimeStamp()};return 0===a.length&&o({blockSortableItems:[{itemStyle:{}}]}),[wp.element.createElement(b,{items:a,axis:"xy",onSortEnd:this.onSortEnd,useDragHandle:!0,onRemove:l,onItemBoxChange:c,setItemStyle:u,gutentorAllProps:this.props}),wp.element.createElement("div",{className:"gutentor-add-item"},wp.element.createElement(m,{isPrimary:!0,isLarge:!0,className:"gutentor-add-item-button",onClick:function(){return o({blockSortableItems:a.concat([{itemStyle:{}}])})}},wp.element.createElement("i",{className:"dashicons dashicons-plus"}),__("Add Item","gutentor"))),wp.element.createElement(s,null)]}}]),t}(u);t.a=h},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function r(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var l=n(0),i=n.n(l),s=n(1),c=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),__=wp.i18n.__,u=wp.components,p=u.BaseControl,m=u.ColorIndicator,g=u.ColorPicker,d=u.ColorPalette,f=u.Popover,b=u.Button,h=wp.element,v=h.Component,w=h.Fragment,y=wp.compose.compose,_=wp.blockEditor,k=_.getColorObjectByColorValue,E=_.withColorContext,C=function(e){function t(e){o(this,t);var n=a(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={custom:!1},n}return r(t,e),c(t,[{key:"render",value:function(){var e=this,t=this.props,n=t.colors,o=t.disableCustomColors,a=t.value,r=t.label,l=t.onChange,c=t.disableAlpha,u=t.className,h=void 0===u?"":u,v=__("(Color %s: %s)","gutentor"),y=k(n,a),_=y&&y.name,E=sprintf(v,r.toLowerCase(),_||a),C=wp.element.createElement(w,null,r,a&&wp.element.createElement(m,{colorValue:a,"aria-label":E}));return wp.element.createElement(p,{className:i()([h,"g-color-picker-control"]),label:C},wp.element.createElement(d,{colors:n,value:a,onChange:function(e){if(e){var t=void 0;t=e.includes("rgb")?Object(s.n)(e):e;var n=Object(s.m)(e);l({hex:t,rgb:{r:n[0],g:n[1],b:n[2],a:n[3]}})}else l({})},disableCustomColors:!0}),!o&&wp.element.createElement(w,null,wp.element.createElement(b,{className:"g-color-picker-control-btn",isLink:!0,onClick:function(){e.setState({custom:!e.state.custom})}},__("Custom color","gutentor")),this.state.custom&&wp.element.createElement(f,{onFocusOutside:function(){document.activeElement.classList.contains("g-color-picker-control-btn")||e.setState({custom:!e.state.custom})}},wp.element.createElement(g,{color:a,onChangeComplete:function(e){l(e)},disableAlpha:c}))))}}]),t}(v);t.a=y([E])(C)},function(e,t,n){"use strict";var o=n(376),a=n(5),r=n(0),l=n.n(r),i=n(2),s=n(4),c=n(13),u=n(130),p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},__=wp.i18n.__,m=wp.blocks.registerBlockType,g=wp.blockEditor.InspectorControls,d=wp.element.Fragment,f=wp.components,b=f.PanelBody,h=f.PanelRow;m("gutentor/counter-box",{title:__("Counter Widget","gutentor"),description:__("Use different designs and styles to create a counter box.","gutentor"),icon:wp.element.createElement("img",{src:gutentor.counterSvg}),category:"gutentor",keywords:[__("Gutentor Counter Box Column Grid Block Widget","gutentor")],example:{},attributes:wp.hooks.applyFilters("gutentor_add_attributes",u.a),supports:{align:["wide","full"],html:!1},edit:function(e){var t=e.attributes,n=e.className,r=e.setAttributes,u=e.clientId,m=t.blockCounterBoxTemplate,f=t.blockID,v=t.gutentorBlockName,w=t.blockSectionHtmlTag,y=t.blockComponentAnimation,_=w;return f!==u&&r({blockID:u}),void 0===v&&r({gutentorBlockName:e.name}),wp.hooks.doAction("gutentor_edit_init",e),wp.element.createElement(d,null,wp.element.createElement(g,{key:"inspector"},wp.element.createElement("div",{className:"gutentor-sidebar-inspectors"},wp.element.createElement(i.d,null,wp.element.createElement(i.b,null,wp.element.createElement(i.a,null,wp.element.createElement("i",{className:"dashicons dashicons-dashboard"}),__("General","gutentor")),wp.element.createElement(i.a,null,wp.element.createElement("i",{className:"dashicons dashicons-admin-generic"}),__("Advanced","gutentor"))),wp.element.createElement(i.c,null,wp.hooks.applyFilters("gutentor_edit_before_item_tab",[],e),wp.element.createElement(b,{title:__("Block Items","gutentor"),initialOpen:!1},wp.element.createElement(h,null,wp.element.createElement(i.d,null,wp.element.createElement(i.b,null,wp.element.createElement(i.a,null,wp.element.createElement("i",{className:"dashicons dashicons-dashboard"}),__("General","gutentor")),wp.element.createElement(i.a,null,wp.element.createElement("i",{className:"dashicons dashicons-edit"}),__("Style","gutentor")),wp.element.createElement(i.a,null,wp.element.createElement("i",{className:"dashicons dashicons-admin-generic"}),__("Advanced","gutentor"))),wp.element.createElement(i.c,null,wp.hooks.applyFilters("gutentor_edit_general_tab_start",[],e),wp.hooks.applyFilters("gutentor_edit_enable_block_template",!0,e)&&wp.element.createElement(c.a,{label:__("Template","gutentor"),value:m,onChange:function(e){r({blockCounterBoxTemplate:e})},options:wp.hooks.applyFilters("gutentor_edit_template_options",[{value:"counter-template1",label:'<img src="'+gutentor.dirUrl+'/assets/img/templates/counter/counter-template-1.svg" />'}],e)}),wp.hooks.applyFilters("gutentor_edit_general_tab_end",[],e)),wp.element.createElement(i.c,null,wp.hooks.applyFilters("gutentor_edit_style_tab_start",[],e),wp.hooks.applyFilters("gutentor_edit_style_tab_end",[],e)),wp.element.createElement(i.c,null,wp.hooks.applyFilters("gutentor_edit_items_advanced_options",[],e))))),wp.hooks.applyFilters("gutentor_edit_after_item_tab",[],e)),wp.element.createElement(i.c,null,wp.hooks.applyFilters("gutentor_edit_advanced_tab",[],e))))),wp.element.createElement(_,p({id:"section-"+f,className:wp.hooks.applyFilters("gutentor_edit_section_class",l()("gutentor-section gutentor-counter-wrapper",n,m||""),e)},Object(s.c)(y)),Object(a.d)(e),wp.hooks.applyFilters("gutentor_edit_before_container",[],e),wp.element.createElement("div",{className:wp.hooks.applyFilters("gutentor_edit_container_class","grid-container",e)},wp.hooks.applyFilters("gutentor_edit_before_repeater_items",[],e),wp.element.createElement(o.a,e),wp.hooks.applyFilters("gutentor_edit_after_repeater_items",[],e)),wp.hooks.applyFilters("gutentor_edit_after_container",[],e)))},save:function(e){var t=e.attributes,n=e.className,o=t.blockCounterBoxTemplate,a=t.blockID,r=t.blockSortableItems,i=t.blockSectionHtmlTag,c=t.blockComponentAnimation,u=t.blockItemsWrapAnimation,m=i;return wp.hooks.doAction("gutentor_save_init",e),wp.element.createElement(m,p({id:"section-"+a,className:wp.hooks.applyFilters("gutentor_save_section_class",l()("gutentor-section gutentor-counter-wrapper",n,o||""),e)},Object(s.c)(c)),wp.hooks.applyFilters("gutentor_save_before_container",[],e),wp.element.createElement("div",{className:wp.hooks.applyFilters("gutentor_save_container_class","grid-container",e)},wp.hooks.applyFilters("gutentor_save_before_repeater_items",[],e),wp.element.createElement("div",p({className:wp.hooks.applyFilters("gutentor_save_grid_row_class","grid-row gutentor-grid-item-wrap",e)},Object(s.c)(u),wp.hooks.applyFilters("gutentor_save_grid_row_attr",{},e)),r&&r.map(function(t,n){return wp.element.createElement("div",{className:wp.hooks.applyFilters("gutentor_save_grid_column_class","gutentor-grid-column",e)},wp.element.createElement("div",{className:wp.hooks.applyFilters("gutentor_save_single_item_class",l()("gutentor-single-item","gutentor-counter","gutentor-single-item-"+n),e,t,n)},wp.hooks.applyFilters("gutentor_save_counter_box_template_data",[],e,t,n)))}),wp.hooks.applyFilters("gutentor_save_after_single_item_data",[],e)),wp.hooks.applyFilters("gutentor_save_after_repeater_items",[],e)),wp.hooks.applyFilters("gutentor_save_after_container",[],e))}})},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function r(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var l=n(0),i=n.n(l),s=n(26),c=(n.n(s),n(4)),u=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},__=wp.i18n.__,m=wp.element.Component,g=wp.components,d=g.Button,f=g.Modal,b=Object(s.SortableHandle)(function(){return wp.element.createElement("i",{className:"dashicons dashicons-move"})}),h=Object(s.SortableElement)(function(e){var t=(e.itemStyle,e.onItemBoxChange,e.setItemStyle,e.sortableIndex),n=e.onRemove,o=(e.blockIconBoxIconStyle,e.gutentorAllProps),a=e.gutentorSingleItem;e.blockItemsWrapAnimation;return wp.element.createElement("div",{className:wp.hooks.applyFilters("gutentor_edit_grid_column_class","gutentor-grid-column",o)},wp.element.createElement("div",{className:"gutentor-column-inside"},wp.element.createElement("div",{className:"gutentor-control-actions"},wp.hooks.applyFilters("gutentor_edit_before_single_control",[],o,a,t),wp.element.createElement(b,null),wp.element.createElement("span",{onClick:function(){return n(t)}},wp.element.createElement("i",{className:"dashicons dashicons-trash"})),wp.hooks.applyFilters("gutentor_edit_after_single_control",[],o,a,t)),wp.hooks.applyFilters("gutentor_edit_before_single_item",[],o,a,t),wp.element.createElement("div",{className:wp.hooks.applyFilters("gutentor_edit_single_item_class",i()("gutentor-single-item","gutentor-counter","gutentor-single-item-"+t),o,a,t)},wp.hooks.applyFilters("gutentor_edit_counter_box_template_data",[],o,a,t))))}),v=Object(s.SortableContainer)(function(e){var t=e.items,n=e.onRemove,o=e.onItemBoxChange,a=e.setItemStyle,r=(e.blockIconBoxIconStyle,e.gutentorAllProps),l=e.blockItemsWrapAnimation;return wp.element.createElement("div",p({className:wp.hooks.applyFilters("gutentor_edit_grid_row_class","grid-row gutentor-grid-item-wrap",r)},wp.hooks.applyFilters("gutentor_edit_grid_row_attr",{},r),Object(c.c)(l)),t.map(function(e,t){return wp.element.createElement(h,{key:"item-"+t,index:t,itemStyle:e.itemStyle,sortableIndex:t,onRemove:n,onItemBoxChange:o,setItemStyle:a,gutentorAllProps:r,gutentorSingleItem:e,blockItemsWrapAnimation:l})}))}),w=function(e){function t(e){o(this,t);var n=a(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.onSortEnd=function(e){var t=e.oldIndex,o=e.newIndex,a=n.props,r=a.attributes,l=a.setAttributes,i=r.blockSortableItems.slice(0);l({blockSortableItems:Object(s.arrayMove)(i,t,o)}),n.updateTimeStamp()},n.updateTimeStamp=function(){(0,n.props.setAttributes)({blockTimestamp:(new Date).getTime()})},n.state={isRemovePopup:!1,deleteTabID:null},n.onSortEnd=n.onSortEnd.bind(n),n.updateTimeStamp=n.updateTimeStamp.bind(n),n}return r(t,e),u(t,[{key:"render",value:function(){var e=this,t=this.props,n=t.attributes,o=(t.className,t.setAttributes),a=n.blockSortableItems,r=n.blockItemsWrapAnimation,l=function(t){var n=a.slice(0);n.splice(t,1),o({blockSortableItems:n}),e.setState({isRemovePopup:!1})},s=function(t){e.setState({isRemovePopup:!0,deleteTabID:t})},c=function(){return e.state.isRemovePopup?wp.element.createElement(f,{title:__("Delete this Item?","gutentor"),className:i()("g-remove-popup"),onRequestClose:function(){e.setState({isRemovePopup:!1})},isDismissable:!1,shouldCloseOnClickOutside:!0},__("This will delete the item.","gutentor"),wp.element.createElement("div",{className:"g-remove-popup-actions"},wp.element.createElement(d,{isDefault:!0,onClick:function(){e.setState({isRemovePopup:!1})}},__("Cancel","gutentor")),wp.element.createElement(d,{isPrimary:!0,onClick:function(){l(e.state.deleteTabID)}},__("Delete","gutentor")))):""},u=function(t,n,r){var l=a.slice(0);l.map(function(e,o){n===o&&(l[o][r]=t)}),o({blockSortableItems:l}),e.updateTimeStamp()},p=function(t,n,r){var l=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],s=a.slice(0);s.map(function(e,o){n===o&&(i?s[o].itemStyle[r][l][i]=t:l?s[o].itemStyle[r][l]=t:s[o].itemStyle[r]=t)}),o({blockSortableItems:s}),e.updateTimeStamp()};return 0===a.length&&o({blockSortableItems:[{icon:{label:"fa-desktop",value:4==gutentor.fontAwesomeVersion?"fa fa-desktop":"fas fa-desktop",code:"f108"}}]}),[wp.element.createElement(v,{items:a,axis:"xy",onSortEnd:this.onSortEnd,useDragHandle:!0,onRemove:s,onItemBoxChange:u,setItemStyle:p,blockItemsWrapAnimation:r,gutentorAllProps:this.props}),wp.element.createElement("div",{className:"gutentor-add-item"},wp.element.createElement(d,{isPrimary:!0,isLarge:!0,className:"gutentor-add-item-button",onClick:function(){return o({blockSortableItems:a.concat([{icon:{label:"fa-desktop",value:4==gutentor.fontAwesomeVersion?"fa fa-desktop":"fas fa-desktop",code:"f108"}}])})}},wp.element.createElement("i",{className:"dashicons dashicons-plus"}),__("Add Item","gutentor"))),wp.element.createElement(c,null)]}}]),t}(m);t.a=w},function(e,t,n){"use strict";var o=n(378),a=n(5),r=n(0),l=n.n(r),i=n(2),s=n(132),c=n(4),u=n(13),p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},__=wp.i18n.__,m=wp.blocks.registerBlockType,g=wp.blockEditor.InspectorControls,d=wp.element.Fragment,f=wp.components,b=f.PanelBody,h=f.PanelRow;m("gutentor/tabs",{title:__("Tabs Widget","gutentor"),description:__("Add horizontal or vertical tab items with tab title and content.","gutentor"),icon:wp.element.createElement("img",{src:gutentor.tabSvg}),category:"gutentor",keywords:[__("Gutentor Horizontal Vertical Tabs Block Widget","gutentor")],example:{},attributes:wp.hooks.applyFilters("gutentor_add_attributes",s.a),supports:{align:["wide","full"],html:!1},edit:function(e){var t=e.attributes,n=e.className,r=e.setAttributes,s=e.clientId,m=t.blockTabsTemplate,f=t.blockID,v=t.blockTabsLayout,w=t.gutentorBlockName,y=t.blockSectionHtmlTag,_=t.blockComponentAnimation,k=y;f!==s&&r({blockID:s}),void 0===w&&r({gutentorBlockName:e.name});var E="tab-horizontal"===v?"horizontal":"vertical";return wp.element.createElement(d,null,wp.element.createElement(g,{key:"inspector"},wp.element.createElement("div",{className:"gutentor-sidebar-inspectors"},wp.element.createElement(i.d,null,wp.element.createElement(i.b,null,wp.element.createElement(i.a,null,wp.element.createElement("i",{className:"dashicons dashicons-dashboard"}),__("General","gutentor")),wp.element.createElement(i.a,null,wp.element.createElement("i",{className:"dashicons dashicons-admin-generic"}),__("Advanced","gutentor"))),wp.element.createElement(i.c,null,wp.hooks.applyFilters("gutentor_edit_before_item_tab",[],e),wp.element.createElement(b,{title:__("Block Items","gutentor"),initialOpen:!1},wp.element.createElement(h,null,wp.element.createElement(i.d,null,wp.element.createElement(i.b,null,wp.element.createElement(i.a,null,wp.element.createElement("i",{className:"dashicons dashicons-dashboard"}),__("General","gutentor")),wp.element.createElement(i.a,null,wp.element.createElement("i",{className:"dashicons dashicons-edit"}),__("Style","gutentor")),wp.element.createElement(i.a,null,wp.element.createElement("i",{className:"dashicons dashicons-admin-generic"}),__("Advanced","gutentor"))),wp.element.createElement(i.c,null,wp.hooks.applyFilters("gutentor_edit_general_tab_start",[],e),wp.hooks.applyFilters("gutentor_edit_enable_block_template",!0,e)&&wp.element.createElement(u.a,{label:__("Template","gutentor"),value:m,onChange:function(e){r({blockTabsTemplate:e})},options:wp.hooks.applyFilters("gutentor_edit_template_options",[{value:"tabs-template1",label:'<img src="'+gutentor.dirUrl+"/assets/img/templates/tab/tab-"+E+'-template-1.svg" />'},{value:"tabs-template2",label:'<img src="'+gutentor.dirUrl+"/assets/img/templates/tab/tab-"+E+'-template-2.svg" />'},{value:"tabs-template3",label:'<img src="'+gutentor.dirUrl+"/assets/img/templates/tab/tab-"+E+'-template-3.svg" />'}],e)}),wp.hooks.applyFilters("gutentor_edit_general_tab_end",[],e)),wp.element.createElement(i.c,null,wp.hooks.applyFilters("gutentor_edit_style_tab_start",[],e),wp.hooks.applyFilters("gutentor_tabs_additional_options_start",[],e),wp.hooks.applyFilters("gutentor_tabs_additional_options_end",[],e),wp.hooks.applyFilters("gutentor_edit_style_tab_end",[],e)),wp.element.createElement(i.c,null,wp.hooks.applyFilters("gutentor_edit_items_advanced_options",[],e))))),wp.hooks.applyFilters("gutentor_edit_after_item_tab",[],e)),wp.element.createElement(i.c,null,wp.hooks.applyFilters("gutentor_edit_advanced_tab",[],e))))),wp.element.createElement(k,p({id:"section-"+f,className:wp.hooks.applyFilters("gutentor_edit_section_class",l()("gutentor-section","gutentor-tabs-wrapper",n,m||""),e)},Object(c.c)(_)),Object(a.d)(e),wp.hooks.applyFilters("gutentor_edit_before_container",[],e),wp.element.createElement("div",{className:wp.hooks.applyFilters("gutentor_edit_container_class","grid-container",e)},wp.hooks.applyFilters("gutentor_edit_before_repeater_items",[],e),wp.element.createElement(o.a,e),wp.hooks.applyFilters("gutentor_edit_after_repeater_items",[],e)),wp.hooks.applyFilters("gutentor_edit_after_container",[],e)))},save:function(e){var t=e.attributes,n=e.className,o=(e.setAttributes,t.blockID),a=t.blockSortableItems,r=t.blockTabsTemplate,i=t.blockTabsContentAlign,s=t.blockSectionHtmlTag,u=t.blockComponentAnimation,m=t.blockItemsWrapAnimation,g=s;return wp.element.createElement(g,p({id:"section-"+o,className:wp.hooks.applyFilters("gutentor_save_section_class",l()("gutentor-section","gutentor-tabs-wrapper",n,r||" "),e)},Object(c.c)(u)),wp.hooks.applyFilters("gutentor_save_before_container",[],e),wp.element.createElement("div",{className:wp.hooks.applyFilters("gutentor_save_container_class","grid-container",e)},wp.hooks.applyFilters("gutentor_save_before_repeater_items",[],e),wp.element.createElement("div",p({className:l()("gutentor-tabs-container","gutentor-grid-item-wrap","none"!==m.Animation?"wow animated "+m.Animation:"")},Object(c.c)(m)),wp.element.createElement("div",{className:wp.hooks.applyFilters("gutentor_save_tab_list_class",l()("gutentor-tabs"),e)},a.map(function(t,n){return wp.element.createElement("span",{className:l()("gutentor-tabs-list","gutentor-single-item-"+n,0===n?"gutentor-tab-active":""),"data-index":"gutentor-single-item-"+n},wp.hooks.applyFilters("gutentor_save_tabs_heading_template_data",[],e,t,n))})),wp.element.createElement("div",{className:l()("gutentor-tabs-content-wrap",i)},a.map(function(t,n){return wp.element.createElement("div",{className:l()("gutentor-single-item","gutentor-tabs-content","gutentor-single-item-"+n,0===n?"gutentor-tab-content-active":"")},wp.hooks.applyFilters("gutentor_save_tabs_body_template_data",[],e,t,n))}))),wp.hooks.applyFilters("gutentor_save_after_repeater_items",[],e)),wp.hooks.applyFilters("gutentor_save_after_container",[],e))}})},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function r(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var l=n(0),i=n.n(l),s=n(26),c=(n.n(s),n(4)),u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},p=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),__=wp.i18n.__,m=wp.element.Component,g=wp.components,d=g.Button,f=g.Modal,b=Object(s.SortableHandle)(function(){return wp.element.createElement("i",{className:"dashicons dashicons-move"})}),h=Object(s.SortableElement)(function(e){var t=(e.itemStyle,e.onItemBoxChange,e.setItemStyle,e.sortableIndex),n=e.onRemove,o=e.gutentorAllProps,a=e.gutentorSingleItem;e.blockTabsContentAlign,e.blockItemsWrapAnimation;return wp.element.createElement("span",{className:i()("gutentor-tabs-list","gutentor-single-item-"+t,0===t?"gutentor-tab-active":""),"data-index":"gutentor-single-item-"+t},wp.element.createElement("div",{className:"gutentor-column-inside"},wp.element.createElement("div",{className:"gutentor-control-actions"},wp.hooks.applyFilters("gutentor_edit_before_single_control",[],o,a,t),wp.element.createElement(b,null),wp.element.createElement("span",{onClick:function(){return n(t)}},wp.element.createElement("i",{className:"dashicons dashicons-trash"})),wp.hooks.applyFilters("gutentor_edit_after_single_control",[],o,a,t)),wp.hooks.applyFilters("gutentor_edit_before_single_item",[],o,a,t),wp.hooks.applyFilters("gutentor_edit_tabs_heading_template_data",[],o,a,t)))}),v=Object(s.SortableContainer)(function(e){var t=e.items,n=e.onRemove,o=e.onItemBoxChange,a=e.setItemStyle,r=e.gutentorAllProps,l=e.blockTabsContentAlign,s=e.blockItemsWrapAnimation;return wp.element.createElement("div",{className:wp.hooks.applyFilters("gutentor_edit_tab_list_class",i()("gutentor-tabs"),r)},t.map(function(e,t){return wp.element.createElement(h,{key:"item-"+t,index:t,itemStyle:e.itemStyle,sortableIndex:t,onRemove:n,onItemBoxChange:o,setItemStyle:a,gutentorAllProps:r,gutentorSingleItem:e,blockTabsContentAlign:l,blockItemsWrapAnimation:s})}))}),w=function(e){function t(e){o(this,t);var n=a(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.onSortEnd=function(e){var t=e.oldIndex,o=e.newIndex,a=n.props,r=a.attributes,l=a.setAttributes,i=r.blockSortableItems.slice(0);l({blockSortableItems:Object(s.arrayMove)(i,t,o)}),n.updateTimeStamp()},n.updateTimeStamp=function(){(0,n.props.setAttributes)({timestamp:(new Date).getTime()})},n.state={isRemovePopup:!1,deleteTabID:null},n}return r(t,e),p(t,[{key:"render",value:function(){var e=this,t=this.props,n=t.attributes,o=t.setAttributes,a=n.blockSortableItems,r=n.blockTabsContentAlign,l=n.blockItemsWrapAnimation,s=function(t){var n=a.slice(0);n.splice(t,1),o({blockSortableItems:n}),e.setState({isRemovePopup:!1})},p=function(t){e.setState({isRemovePopup:!0,deleteTabID:t})},m=function(t,n,r){var l=a.slice(0);l.map(function(e,o){n===o&&(l[o][r]=t)}),o({blockSortableItems:l}),e.updateTimeStamp()},g=function(t,n,r){var l=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],s=a.slice(0);s.map(function(e,o){n===o&&(i?s[o].itemStyle[r][l][i]=t:l?s[o].itemStyle[r][l]=t:s[o].itemStyle[r]=t)}),o({blockSortableItems:s}),e.updateTimeStamp()};0===a.length&&o({blockSortableItems:[{icon:{label:"fa-desktop",value:4==gutentor.fontAwesomeVersion?"fa fa-desktop":"fas fa-desktop",code:"f108"},blockTabListText:__("Tab","gutentor")}]});var b=function(){return e.state.isRemovePopup?wp.element.createElement(f,{title:__("Delete this tab?","gutentor"),className:i()("g-remove-popup"),onRequestClose:function(){e.setState({isRemovePopup:!1})},isDismissable:!1,shouldCloseOnClickOutside:!0},__("This will delete the tab and tab content.","gutentor"),wp.element.createElement("div",{className:"g-remove-popup-actions"},wp.element.createElement(d,{isDefault:!0,onClick:function(){e.setState({isRemovePopup:!1})}},__("Cancel","gutentor")),wp.element.createElement(d,{isPrimary:!0,onClick:function(){s(e.state.deleteTabID)}},__("Delete","gutentor")))):""};return wp.element.createElement("div",null,wp.element.createElement("div",u({className:i()("gutentor-tabs-container","gutentor-grid-item-wrap","none"!==l.Animation?"wow animated "+l.Animation:"")},Object(c.c)(l)),wp.element.createElement(v,{items:a,axis:"xy",onSortEnd:this.onSortEnd,useDragHandle:!0,onRemove:p,onItemBoxChange:m,setItemStyle:g,blockTabsContentAlign:r,blockItemsWrapAnimation:l,gutentorAllProps:this.props}),wp.element.createElement("div",{className:i()("gutentor-tabs-content-wrap",r)},a.map(function(t,n){return wp.element.createElement("div",{className:i()("gutentor-tabs-content","gutentor-single-item","gutentor-single-item-"+n,0===n?"gutentor-tab-content-active":"")},wp.hooks.applyFilters("gutentor_edit_tabs_body_template_data",[],e.props,t,n))}))),wp.element.createElement("div",{className:"gutentor-add-item"},wp.element.createElement(d,{isPrimary:!0,isLarge:!0,className:"gutentor-add-item-button",onClick:function(){return o({blockSortableItems:a.concat([{icon:{label:"fa-desktop",value:4==gutentor.fontAwesomeVersion?"fa fa-desktop":"fas fa-desktop",code:"f108"},blockTabListText:__("Tab","gutentor")}])})}},wp.element.createElement("i",{className:"dashicons dashicons-plus"}),__("Add Item","gutentor"))),wp.element.createElement(b,null))}}]),t}(m);t.a=w},function(e,t,n){"use strict";var o=n(0),a=n.n(o),r=n(2),l=n(4),i=n(133),s=n(5),c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},__=wp.i18n.__,u=wp.blocks.registerBlockType,p=wp.blockEditor.InspectorControls,m=wp.element.Fragment,g=wp.components,d=g.PanelBody,f=g.PanelRow;u("gutentor/about-block",{title:__("About Widget","gutentor"),description:__("Introduce you or your brand with writing a great About section.","gutentor"),icon:wp.element.createElement("img",{src:gutentor.aboutSvgW}),category:"gutentor",keywords:[__("Gutentor About Block Widget","gutentor")],example:{},attributes:wp.hooks.applyFilters("gutentor_add_attributes",i.a),supports:{align:["wide","full"],html:!1},edit:function(e){var t=e.attributes,n=e.className,o=e.setAttributes,i=e.clientId,u=t.blockID,g=t.gutentorBlockName,b=t.blockAboutTemplate,h=t.blockSectionHtmlTag,v=t.blockComponentAnimation,w=t.blockItemsWrapAnimation,y=h;return u!==i&&o({blockID:i}),void 0===g&&o({gutentorBlockName:e.name}),wp.hooks.doAction("gutentor_edit_init",e),wp.element.createElement(m,null,wp.element.createElement(p,{key:"inspector"},wp.element.createElement("div",{className:"gutentor-sidebar-inspectors"},wp.element.createElement(r.d,null,wp.element.createElement(r.b,null,wp.element.createElement(r.a,null,wp.element.createElement("i",{className:"dashicons dashicons-dashboard"}),__("General","gutentor")),wp.element.createElement(r.a,null,wp.element.createElement("i",{className:"dashicons dashicons-admin-generic"}),__("Advanced","gutentor"))),wp.element.createElement(r.c,null,wp.hooks.applyFilters("gutentor_edit_before_item_tab",[],e),wp.element.createElement(d,{title:__("Block Items","gutentor"),initialOpen:!1},wp.element.createElement(f,null,wp.element.createElement(r.d,null,wp.element.createElement(r.b,null,wp.element.createElement(r.a,null,wp.element.createElement("i",{className:"dashicons dashicons-dashboard"}),__("General","gutentor")),wp.element.createElement(r.a,null,wp.element.createElement("i",{className:"dashicons dashicons-edit"}),__("Style","gutentor")),wp.element.createElement(r.a,null,wp.element.createElement("i",{className:"dashicons dashicons-admin-generic"}),__("Advanced","gutentor"))),wp.element.createElement(r.c,null,wp.hooks.applyFilters("gutentor_edit_general_tab_start",[],e),wp.hooks.applyFilters("gutentor_edit_general_tab_end",[],e)),wp.element.createElement(r.c,null,wp.hooks.applyFilters("gutentor_edit_style_tab_start",[],e),wp.element.createElement(d,{title:__("Image Box","gutentor"),initialOpen:!1},wp.element.createElement(f,null,wp.hooks.applyFilters("gutentor_image_box_edit_image_options_start",[],e),wp.hooks.applyFilters("gutentor_image_box_edit_additional_options",[],e),wp.hooks.applyFilters("gutentor_image_box_edit_image_options_end",[],e))),wp.hooks.applyFilters("gutentor_edit_style_tab_end",[],e)),wp.element.createElement(r.c,null,wp.hooks.applyFilters("gutentor_edit_items_advanced_options",[],e))))),wp.hooks.applyFilters("gutentor_edit_after_item_tab",[],e)),wp.element.createElement(r.c,null,wp.hooks.applyFilters("gutentor_edit_advanced_tab",[],e))))),wp.element.createElement(y,c({id:"section-"+u,className:wp.hooks.applyFilters("gutentor_edit_section_class",a()("gutentor-section","gutentor-about",n,b||""),e)},Object(l.c)(v)),Object(s.d)(e),wp.hooks.applyFilters("gutentor_edit_before_container",[],e),wp.element.createElement("div",{className:wp.hooks.applyFilters("gutentor_edit_container_class","grid-container",e)},wp.hooks.applyFilters("gutentor_edit_before_block_items",[],e),wp.element.createElement("div",c({className:a()("gutentor-grid-item-wrap","none"!==w.Animation?"wow animated "+w.Animation:"")},Object(l.c)(w)),wp.element.createElement("div",{className:a()("gutentor-single-item")},wp.hooks.applyFilters("gutentor_edit_about_block_template_data",[],e))),wp.hooks.applyFilters("gutentor_edit_after_block_items",[],e)),wp.hooks.applyFilters("gutentor_edit_after_container",[],e)))},save:function(e){var t=e.attributes,n=e.className,o=(e.setAttributes,t.blockID),r=t.blockAboutTemplate,i=t.blockSectionHtmlTag,s=t.blockComponentAnimation,u=t.blockItemsWrapAnimation,p=i;return wp.element.createElement(p,c({id:"section-"+o,className:wp.hooks.applyFilters("gutentor_save_section_class",a()("gutentor-section gutentor-about",n,r||" "),e)},Object(l.c)(s)),wp.hooks.applyFilters("gutentor_save_before_container",[],e),wp.element.createElement("div",{className:wp.hooks.applyFilters("gutentor_save_container_class","grid-container",e)},wp.hooks.applyFilters("gutentor_save_before_block_items",[],e),wp.element.createElement("div",c({className:a()("gutentor-grid-item-wrap","none"!==u.Animation?"wow animated "+u.Animation:"")},Object(l.c)(u)),wp.element.createElement("div",{className:a()("gutentor-single-item")},wp.hooks.applyFilters("gutentor_save_about_block_template_data",[],e))),wp.hooks.applyFilters("gutentor_save_after_block_items",[],e)),wp.hooks.applyFilters("gutentor_save_after_container",[],e))}})},function(e,t,n){"use strict";var o=n(134),a=n(5),r=n(0),l=n.n(r),i=n(2),s=n(4),c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},__=wp.i18n.__,u=wp.blocks.registerBlockType,p=wp.blockEditor.InspectorControls,m=wp.element.Fragment,g=wp.components,d=g.PanelBody,f=g.PanelRow;u("gutentor/featured-block",{title:__("Featured Widget","gutentor"),description:__("Highlight important message or service with small text and image.","gutentor"),category:"gutentor",keywords:[__("Gutentor Featured Box Block Widget","gutentor")],icon:wp.element.createElement("img",{src:gutentor.featuredSvg}),example:{},attributes:wp.hooks.applyFilters("gutentor_add_attributes",o.a),supports:{align:["wide","full"],html:!1},edit:function(e){var t=e.attributes,n=e.className,o=e.setAttributes,r=e.clientId,u=t.blockID,g=t.gutentorBlockName,b=t.blockFeaturedBlockTemplate,h=t.blockSectionHtmlTag,v=t.blockComponentAnimation,w=t.blockItemsWrapAnimation,y=h;return u!==r&&o({blockID:r}),void 0===g&&o({gutentorBlockName:e.name}),wp.hooks.doAction("gutentor_edit_init",e),wp.element.createElement(m,null,wp.element.createElement(p,{key:"inspector"},wp.element.createElement("div",{className:"gutentor-sidebar-inspectors"},wp.element.createElement(i.d,null,wp.element.createElement(i.b,null,wp.element.createElement(i.a,null,wp.element.createElement("i",{className:"dashicons dashicons-dashboard"}),__("General","gutentor")),wp.element.createElement(i.a,null,wp.element.createElement("i",{className:"dashicons dashicons-admin-generic"}),__("Advanced","gutentor"))),wp.element.createElement(i.c,null,wp.hooks.applyFilters("gutentor_edit_before_item_tab",[],e),wp.element.createElement(d,{title:__("Block Items","gutentor"),initialOpen:!1},wp.element.createElement(f,null,wp.element.createElement(i.d,null,wp.element.createElement(i.b,null,wp.element.createElement(i.a,null,wp.element.createElement("i",{className:"dashicons dashicons-dashboard"}),__("General","gutentor")),wp.element.createElement(i.a,null,wp.element.createElement("i",{className:"dashicons dashicons-edit"}),__("Style","gutentor")),wp.element.createElement(i.a,null,wp.element.createElement("i",{className:"dashicons dashicons-admin-generic"}),__("Advanced","gutentor"))),wp.element.createElement(i.c,null,wp.hooks.applyFilters("gutentor_edit_general_tab_start",[],e),wp.hooks.applyFilters("gutentor_edit_general_tab_end",[],e)),wp.element.createElement(i.c,null,wp.hooks.applyFilters("gutentor_edit_style_tab_start",[],e),wp.element.createElement(d,{title:__("Image Box","gutentor"),initialOpen:!1},wp.element.createElement(f,null,wp.hooks.applyFilters("gutentor_image_box_edit_image_options_start",[],e),wp.hooks.applyFilters("gutentor_image_box_edit_additional_options",[],e),wp.hooks.applyFilters("gutentor_image_box_edit_image_options_end",[],e))),wp.hooks.applyFilters("gutentor_edit_style_tab_end",[],e)),wp.element.createElement(i.c,null,wp.hooks.applyFilters("gutentor_edit_items_advanced_options",[],e))))),wp.hooks.applyFilters("gutentor_edit_after_item_tab",[],e)),wp.element.createElement(i.c,null,wp.hooks.applyFilters("gutentor_edit_advanced_tab",[],e))))),wp.element.createElement(y,c({id:"section-"+u,className:wp.hooks.applyFilters("gutentor_edit_section_class",l()("gutentor-section","gutentor-featured-block",n,b||""),e)},Object(s.c)(v)),Object(a.d)(e),wp.hooks.applyFilters("gutentor_edit_before_container",[],e),wp.element.createElement("div",{className:wp.hooks.applyFilters("gutentor_edit_container_class",l()("grid-container"),e)},wp.hooks.applyFilters("gutentor_edit_before_block_items",[],e),wp.element.createElement("div",c({className:l()("gutentor-grid-item-wrap","none"!==w.Animation?"wow animated "+w.Animation:"")},Object(s.c)(w)),wp.element.createElement("div",{className:l()("gutentor-single-item")},wp.hooks.applyFilters("gutentor_edit_featured_block_template_data",[],e))),wp.hooks.applyFilters("gutentor_edit_after_block_items",[],e)),wp.hooks.applyFilters("gutentor_edit_after_container",[],e)))},save:function(e){var t=e.attributes,n=e.className,o=(e.setAttributes,t.blockID),a=t.blockFeaturedBlockTemplate,r=t.blockSectionHtmlTag,i=t.blockComponentAnimation,u=t.blockItemsWrapAnimation,p=r;return wp.element.createElement(p,c({id:"section-"+o,className:wp.hooks.applyFilters("gutentor_save_section_class",l()("gutentor-section gutentor-featured-block",n,a||" "),e)},Object(s.c)(i)),wp.hooks.applyFilters("gutentor_save_before_container",[],e),wp.element.createElement("div",{className:wp.hooks.applyFilters("gutentor_save_container_class",l()("grid-container"),e)},wp.hooks.applyFilters("gutentor_save_before_block_items",[],e),wp.element.createElement("div",c({className:l()("gutentor-grid-item-wrap","none"!==u.Animation?"wow animated "+u.Animation:"")},Object(s.c)(u)),wp.element.createElement("div",{className:l()("gutentor-single-item")},wp.hooks.applyFilters("gutentor_save_featured_block_template_data",[],e))),wp.hooks.applyFilters("gutentor_save_after_block_items",[],e)),wp.hooks.applyFilters("gutentor_save_after_container",[],e))}})},function(e,t,n){"use strict";var o=n(382),a=n(5),r=n(0),l=n.n(r),i=n(2),s=n(135),c=n(4),u=n(13),p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},__=wp.i18n.__,m=wp.blocks.registerBlockType,g=wp.blockEditor.InspectorControls,d=wp.element.Fragment,f=wp.components,b=f.PanelBody,h=f.PanelRow;m("gutentor/testimonial",{title:__("Testimonial Widget","gutentor"),description:__("Share your customer reviews and testimonials to establish credibility.","gutentor"),icon:wp.element.createElement("img",{src:gutentor.testimonialsSvgW}),category:"gutentor",keywords:[__("Gutentor Customer Reviews Vertical Testimonials Credibility Block Widget","gutentor")],example:{},attributes:wp.hooks.applyFilters("gutentor_add_attributes",s.a),supports:{align:["wide","full"],html:!1},edit:function(e){var t=e.attributes,n=e.className,r=e.setAttributes,s=e.clientId,m=t.blockID,f=t.gutentorBlockName,v=t.blockTestimonialTemplate,w=t.blockSectionHtmlTag,y=t.blockComponentAnimation,_=w;return m!==s&&r({blockID:s}),void 0===f&&r({gutentorBlockName:e.name}),wp.element.createElement(d,null,wp.element.createElement(g,{key:"inspector"},wp.element.createElement("div",{className:"gutentor-sidebar-inspectors"},wp.element.createElement(i.d,null,wp.element.createElement(i.b,null,wp.element.createElement(i.a,null,wp.element.createElement("i",{className:"dashicons dashicons-dashboard"}),__("General","gutentor")),wp.element.createElement(i.a,null,wp.element.createElement("i",{className:"dashicons dashicons-admin-generic"}),__("Advanced","gutentor"))),wp.element.createElement(i.c,null,wp.hooks.applyFilters("gutentor_edit_before_item_tab",[],e),wp.element.createElement(b,{title:__("Block Items","gutentor"),initialOpen:!1},wp.element.createElement(h,null,wp.element.createElement(i.d,null,wp.element.createElement(i.b,null,wp.element.createElement(i.a,null,wp.element.createElement("i",{className:"dashicons dashicons-dashboard"}),__("General","gutentor")),wp.element.createElement(i.a,null,wp.element.createElement("i",{className:"dashicons dashicons-edit"}),__("Style","gutentor")),wp.element.createElement(i.a,null,wp.element.createElement("i",{className:"dashicons dashicons-admin-generic"}),__("Advanced","gutentor"))),wp.element.createElement(i.c,null,wp.hooks.applyFilters("gutentor_edit_general_tab_start",[],e),wp.hooks.applyFilters("gutentor_edit_enable_block_template",!0,e)&&wp.element.createElement(u.a,{label:__("Template","gutentor"),value:v,onChange:function(e){r({blockTestimonialTemplate:e})},options:wp.hooks.applyFilters("gutentor_edit_template_options",[{value:"testimonial-template1",label:'<img src="'+gutentor.dirUrl+'/assets/img/templates/testimonials/testimonials-template-1.svg" />'},{value:"testimonial-template2",label:'<img src="'+gutentor.dirUrl+'/assets/img/templates/testimonials/testimonials-template-2.svg" />'},{value:"testimonial-template3",label:'<img src="'+gutentor.dirUrl+'/assets/img/templates/testimonials/testimonials-template-3.svg" />'}],e)}),wp.hooks.applyFilters("gutentor_edit_general_tab_end",[],e)),wp.element.createElement(i.c,null,wp.hooks.applyFilters("gutentor_edit_style_tab_start",[],e),wp.element.createElement(b,{title:__("Image Box","gutentor"),initialOpen:!1},wp.element.createElement(h,null,wp.hooks.applyFilters("gutentor_image_box_edit_image_options_start",[],e),wp.hooks.applyFilters("gutentor_image_box_edit_additional_options",[],e),wp.hooks.applyFilters("gutentor_image_box_edit_image_options_end",[],e))),wp.hooks.applyFilters("gutentor_edit_style_tab_end",[],e)),wp.element.createElement(i.c,null,wp.hooks.applyFilters("gutentor_edit_items_advanced_options",[],e))))),wp.hooks.applyFilters("gutentor_edit_after_item_tab",[],e)),wp.element.createElement(i.c,null,wp.hooks.applyFilters("gutentor_edit_advanced_tab",[],e))))),wp.element.createElement(_,p({id:"section-"+m,className:wp.hooks.applyFilters("gutentor_edit_section_class",l()("gutentor-section gutentor-testimonial",n,v||""),e)},Object(c.c)(y)),Object(a.d)(e),wp.hooks.applyFilters("gutentor_edit_before_container",[],e),wp.element.createElement("div",{className:wp.hooks.applyFilters("gutentor_edit_container_class","grid-container",e)},wp.hooks.applyFilters("gutentor_edit_before_repeater_items",[],e),wp.element.createElement(o.a,e),wp.hooks.applyFilters("gutentor_edit_after_repeater_items",[],e)),wp.hooks.applyFilters("gutentor_edit_after_container",[],e)))},save:function(e){var t=e.attributes,n=e.className,o=(e.setAttributes,t.blockID),a=t.blockSortableItems,r=t.blockTestimonialTemplate,i=t.blockSectionHtmlTag,s=t.blockComponentAnimation,u=t.blockItemsWrapAnimation,m=i;return wp.element.createElement(m,p({id:"section-"+o,className:wp.hooks.applyFilters("gutentor_save_section_class",l()("gutentor-section gutentor-testimonial",n,r||""),e)},Object(c.c)(s)),wp.hooks.applyFilters("gutentor_save_before_container",[],e),wp.element.createElement("div",{className:wp.hooks.applyFilters("gutentor_save_container_class","grid-container",e)},wp.hooks.applyFilters("gutentor_save_before_repeater_items",[],e),wp.element.createElement("div",p({className:wp.hooks.applyFilters("gutentor_save_grid_row_class","grid-row gutentor-grid-item-wrap",e)},wp.hooks.applyFilters("gutentor_save_grid_row_attr",{},e),Object(c.c)(u)),a.map(function(t,n){return wp.element.createElement("div",{className:wp.hooks.applyFilters("gutentor_save_grid_column_class","gutentor-grid-column",e)},wp.element.createElement("div",{className:l()("gutentor-single-item","gutentor-single-item-"+n)},wp.hooks.applyFilters("gutentor_save_testimonial_template_data",[],e,t,n)))}),wp.hooks.applyFilters("gutentor_save_after_single_item_data",[],e)),wp.hooks.applyFilters("gutentor_save_after_repeater_items",[],e)),wp.hooks.applyFilters("gutentor_save_after_container",[],e))}})},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function r(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var l=n(0),i=n.n(l),s=n(26),c=(n.n(s),n(4)),u=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},__=wp.i18n.__,m=wp.element.Component,g=wp.components,d=g.Button,f=g.Modal,b=Object(s.SortableHandle)(function(){return wp.element.createElement("i",{className:"dashicons dashicons-move"})}),h=Object(s.SortableElement)(function(e){var t=(e.itemStyle,e.onItemBoxChange,e.setItemStyle,e.sortableIndex),n=e.onRemove,o=e.gutentorSingleItem,a=e.gutentorAllProps;e.blockItemsWrapAnimation;return wp.element.createElement("div",{className:wp.hooks.applyFilters("gutentor_edit_grid_column_class","gutentor-grid-column gutentor-testimonial-block",a)},wp.element.createElement("div",{className:"gutentor-column-inside"},wp.element.createElement("div",{className:"gutentor-control-actions"},wp.hooks.applyFilters("gutentor_edit_before_single_control",[],a,o,t),wp.element.createElement(b,null),wp.element.createElement("span",{onClick:function(){return n(t)}},wp.element.createElement("i",{className:"dashicons dashicons-trash"})),wp.hooks.applyFilters("gutentor_edit_after_single_control",[],a,o,t)),wp.hooks.applyFilters("gutentor_edit_before_single_item",[],a,o,t),wp.element.createElement("div",{className:i()("gutentor-single-item","gutentor-single-item-"+t)},wp.hooks.applyFilters("gutentor_edit_testimonial_template_data",[],a,o,t))))}),v=Object(s.SortableContainer)(function(e){var t=e.items,n=e.onRemove,o=e.onItemBoxChange,a=e.setItemStyle,r=(e.align,e.blockTestimonialTemplate,e.gutentorAllProps),l=e.blockItemsWrapAnimation;return wp.element.createElement("div",p({className:wp.hooks.applyFilters("gutentor_edit_grid_row_class","grid-row gutentor-grid-item-wrap",r)},wp.hooks.applyFilters("gutentor_edit_grid_row_attr",{},r),Object(c.c)(l)),t.map(function(e,t){return wp.element.createElement(h,{key:"item-"+t,index:t,itemStyle:e.itemStyle,sortableIndex:t,onRemove:n,onItemBoxChange:o,setItemStyle:a,gutentorAllProps:r,gutentorSingleItem:e,blockItemsWrapAnimation:l})}))}),w=function(e){function t(e){o(this,t);var n=a(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.onSortEnd=function(e){var t=e.oldIndex,o=e.newIndex,a=n.props,r=a.attributes,l=a.setAttributes,i=r.blockSortableItems.slice(0);l({blockSortableItems:Object(s.arrayMove)(i,t,o)}),n.updateTimeStamp()},n.updateTimeStamp=function(){(0,n.props.setAttributes)({timestamp:(new Date).getTime()})},n.state={isRemovePopup:!1,deleteTabID:null},n}return r(t,e),u(t,[{key:"render",value:function(){var e=this,t=this.props,n=t.attributes,o=t.setAttributes,a=n.blockSortableItems,r=n.blockItemsWrapAnimation,l=function(t){var n=a.slice(0);n.splice(t,1),o({blockSortableItems:n}),e.setState({isRemovePopup:!1})},s=function(t){e.setState({isRemovePopup:!0,deleteTabID:t})},c=function(){return e.state.isRemovePopup?wp.element.createElement(f,{title:__("Delete this Item?","gutentor"),className:i()("g-remove-popup"),onRequestClose:function(){e.setState({isRemovePopup:!1})},isDismissable:!1,shouldCloseOnClickOutside:!0},__("This will delete the item.","gutentor"),wp.element.createElement("div",{className:"g-remove-popup-actions"},wp.element.createElement(d,{isDefault:!0,onClick:function(){e.setState({isRemovePopup:!1})}},__("Cancel","gutentor")),wp.element.createElement(d,{isPrimary:!0,onClick:function(){l(e.state.deleteTabID)}},__("Delete","gutentor")))):""},u=function(t,n,r){var l=a.slice(0);l.map(function(e,o){n===o&&(l[o][r]=t)}),o({blockSortableItems:l}),e.updateTimeStamp()},p=function(t,n,r){var l=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],s=a.slice(0);s.map(function(e,o){n===o&&(i?s[o].itemStyle[r][l][i]=t:l?s[o].itemStyle[r][l]=t:s[o].itemStyle[r]=t)}),o({blockSortableItems:s}),e.updateTimeStamp()};return 0===a.length&&o({blockSortableItems:[{image:""}]}),[wp.element.createElement(v,{items:a,axis:"xy",onSortEnd:this.onSortEnd,useDragHandle:!0,onRemove:s,onItemBoxChange:u,setItemStyle:p,blockItemsWrapAnimation:r,gutentorAllProps:this.props}),wp.element.createElement("div",{className:"gutentor-add-item"},wp.element.createElement(d,{isPrimary:!0,isLarge:!0,className:"gutentor-add-item-button",onClick:function(){return o({blockSortableItems:a.concat([{image:""}])})}},wp.element.createElement("i",{className:"dashicons dashicons-plus"}),__("Add Item","gutentor"))),wp.element.createElement(c,null)]}}]),t}(m);t.a=w},function(e,t,n){"use strict";var o=n(137),a=n(384),r=n(5),l=n(0),i=n.n(l),s=n(2),c=n(4),u=n(13),p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},__=wp.i18n.__,m=wp.blocks.registerBlockType,g=wp.blockEditor.InspectorControls,d=wp.element.Fragment,f=wp.components,b=f.PanelBody,h=f.PanelRow;m("gutentor/restaurant-menu",{title:__("Restaurant Menu Widget","gutentor"),description:__("Display a food menu or product with price list.","gutentor"),icon:wp.element.createElement("img",{src:gutentor.restaurantmenuSvgW}),category:"gutentor",keywords:[__("Gutentor Restaurant Menu Food Product Price List Column Grid Block Widget","gutentor")],example:{},attributes:wp.hooks.applyFilters("gutentor_add_attributes",o.a),supports:{align:["wide","full"],html:!1},edit:function(e){var t=e.attributes,n=e.className,o=e.setAttributes,l=e.clientId,m=t.gutentorBlockName,f=t.blockRestaurantTemplate,v=t.blockID,w=t.blockSectionHtmlTag,y=t.blockComponentAnimation,_=w;return v!==l&&o({blockID:l}),void 0===m&&o({gutentorBlockName:e.name}),wp.element.createElement(d,null,wp.element.createElement(g,{key:"inspector"},wp.element.createElement("div",{className:"gutentor-sidebar-inspectors"},wp.element.createElement(s.d,null,wp.element.createElement(s.b,null,wp.element.createElement(s.a,null,wp.element.createElement("i",{className:"dashicons dashicons-dashboard"}),__("General","gutentor")),wp.element.createElement(s.a,null,wp.element.createElement("i",{className:"dashicons dashicons-admin-generic"}),__("Advanced","gutentor"))),wp.element.createElement(s.c,null,wp.hooks.applyFilters("gutentor_edit_before_item_tab",[],e),wp.element.createElement(b,{title:__("Block Items","gutentor"),initialOpen:!1},wp.element.createElement(h,null,wp.element.createElement(s.d,null,wp.element.createElement(s.b,null,wp.element.createElement(s.a,null,wp.element.createElement("i",{className:"dashicons dashicons-dashboard"}),__("General","gutentor")),wp.element.createElement(s.a,null,wp.element.createElement("i",{className:"dashicons dashicons-edit"}),__("Style","gutentor")),wp.element.createElement(s.a,null,wp.element.createElement("i",{className:"dashicons dashicons-admin-generic"}),__("Advanced","gutentor"))),wp.element.createElement(s.c,null,wp.hooks.applyFilters("gutentor_edit_general_tab_start",[],e),wp.hooks.applyFilters("gutentor_edit_enable_block_template",!0,e)&&wp.element.createElement(u.a,{label:__("Template","gutentor"),value:f,onChange:function(e){o({blockRestaurantTemplate:e})},options:wp.hooks.applyFilters("gutentor_edit_template_options",[{value:"restaurant-menu-template1",label:'<img src="'+gutentor.dirUrl+'/assets/img/templates/restaurant-menu/restaurant-menu-template-1.svg" />'},{value:"restaurant-menu-template2",label:'<img src="'+gutentor.dirUrl+'/assets/img/templates/restaurant-menu/restaurant-menu-template-2.svg" />'},{value:"restaurant-menu-template3",label:'<img src="'+gutentor.dirUrl+'/assets/img/templates/restaurant-menu/restaurant-menu-template-3.svg" />'}],e)}),wp.hooks.applyFilters("gutentor_edit_general_tab_end",[],e)),wp.element.createElement(s.c,null,wp.hooks.applyFilters("gutentor_edit_style_tab_start",[],e),wp.element.createElement(b,{title:__("Image Box","gutentor"),initialOpen:!1},wp.element.createElement(h,null,wp.hooks.applyFilters("gutentor_image_box_edit_image_options_start",[],e),wp.hooks.applyFilters("gutentor_image_box_edit_additional_options",[],e),wp.hooks.applyFilters("gutentor_image_box_edit_image_options_end",[],e))),wp.hooks.applyFilters("gutentor_edit_style_tab_end",[],e)),wp.element.createElement(s.c,null,wp.hooks.applyFilters("gutentor_edit_items_advanced_options",[],e))))),wp.hooks.applyFilters("gutentor_edit_after_item_tab",[],e)),wp.element.createElement(s.c,null,wp.hooks.applyFilters("gutentor_edit_advanced_tab",[],e))))),wp.element.createElement(_,p({id:"section-"+v,className:wp.hooks.applyFilters("gutentor_edit_section_class",i()("gutentor-section gutentor-restaurant-menu",n,f||""),e)},Object(c.c)(y)),Object(r.d)(e),wp.hooks.applyFilters("gutentor_edit_before_container",[],e),wp.element.createElement("div",{className:wp.hooks.applyFilters("gutentor_edit_container_class","grid-container",e)},wp.hooks.applyFilters("gutentor_edit_before_repeater_items",[],e),wp.element.createElement(a.a,e),wp.hooks.applyFilters("gutentor_edit_after_repeater_items",[],e)),wp.hooks.applyFilters("gutentor_edit_after_container",[],e)))},save:function(e){var t=e.attributes,n=e.className,o=(e.setAttributes,t.blockID),a=t.blockSortableItems,r=t.blockRestaurantTemplate,l=t.blockSectionHtmlTag,s=t.blockComponentAnimation,u=t.blockItemsWrapAnimation,m=l;return wp.element.createElement(m,p({id:"section-"+o,className:wp.hooks.applyFilters("gutentor_save_section_class",i()("gutentor-section gutentor-restaurant-menu",n,r||""),e)},Object(c.c)(s)),wp.hooks.applyFilters("gutentor_save_before_container",[],e),wp.element.createElement("div",{className:wp.hooks.applyFilters("gutentor_save_container_class","grid-container",e)},wp.hooks.applyFilters("gutentor_save_before_repeater_items",[],e),wp.element.createElement("div",p({className:wp.hooks.applyFilters("gutentor_save_grid_row_class","grid-row gutentor-grid-item-wrap",e)},wp.hooks.applyFilters("gutentor_save_grid_row_attr",{},e),Object(c.c)(u)),a.map(function(t,n){return wp.element.createElement("div",{className:wp.hooks.applyFilters("gutentor_save_grid_column_class","gutentor-grid-column",e)},wp.element.createElement("div",{className:wp.hooks.applyFilters("gutentor_save_single_item_class",i()("gutentor-single-item","gutentor-single-item-"+n),e,t,n)},wp.hooks.applyFilters("gutentor_save_restaurant_template_data",[],e,t,n)))}),wp.hooks.applyFilters("gutentor_save_after_single_item_data",[],e)),wp.hooks.applyFilters("gutentor_save_after_repeater_items",[],e)),wp.hooks.applyFilters("gutentor_save_after_container",[],e))}})},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function r(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var l=n(0),i=n.n(l),s=n(26),c=(n.n(s),n(4)),u=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},__=wp.i18n.__,m=wp.element.Component,g=wp.components,d=g.Button,f=g.Modal,b=Object(s.SortableHandle)(function(){return wp.element.createElement("i",{className:"dashicons dashicons-move"})}),h=Object(s.SortableElement)(function(e){var t=(e.itemStyle,e.onItemBoxChange,e.setItemStyle,e.sortableIndex),n=e.onRemove,o=e.gutentorAllProps,a=e.gutentorSingleItem;e.blockItemsWrapAnimation;return wp.element.createElement("div",{className:wp.hooks.applyFilters("gutentor_edit_grid_column_class","gutentor-grid-column gutentor-restaurant-block",o)},wp.element.createElement("div",{className:"gutentor-column-inside"},wp.element.createElement("div",{className:"gutentor-control-actions"},wp.hooks.applyFilters("gutentor_edit_before_single_control",[],o,a,t),wp.element.createElement(b,null),wp.element.createElement("span",{onClick:function(){return n(t)}},wp.element.createElement("i",{className:"dashicons dashicons-trash"})),wp.hooks.applyFilters("gutentor_edit_after_single_control",[],o,a,t)),wp.hooks.applyFilters("gutentor_edit_before_single_item",[],o,a,t),wp.element.createElement("div",{className:i()("gutentor-single-item","gutentor-single-item-"+t)},wp.hooks.applyFilters("gutentor_edit_restaurant_template_data",[],o,a,t))))}),v=Object(s.SortableContainer)(function(e){var t=e.items,n=e.onRemove,o=e.onItemBoxChange,a=e.setItemStyle,r=e.gutentorAllProps,l=e.blockItemsWrapAnimation;return wp.element.createElement("div",p({className:wp.hooks.applyFilters("gutentor_edit_grid_row_class","grid-row gutentor-grid-item-wrap",r)},wp.hooks.applyFilters("gutentor_edit_grid_row_attr",{},r),Object(c.c)(l)),t.map(function(e,t){return wp.element.createElement(h,{key:"item-"+t,index:t,itemStyle:e.itemStyle,sortableIndex:t,onRemove:n,onItemBoxChange:o,setItemStyle:a,gutentorAllProps:r,gutentorSingleItem:e,blockItemsWrapAnimation:l})}))}),w=function(e){function t(e){o(this,t);var n=a(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.onSortEnd=function(e){var t=e.oldIndex,o=e.newIndex,a=n.props,r=a.attributes,l=a.setAttributes,i=r.blockSortableItems.slice(0);l({blockSortableItems:Object(s.arrayMove)(i,t,o)}),n.updateTimeStamp()},n.updateTimeStamp=function(){(0,n.props.setAttributes)({timestamp:(new Date).getTime()})},n.state={isRemovePopup:!1,deleteTabID:null},n}return r(t,e),u(t,[{key:"render",value:function(){var e=this,t=this.props,n=t.attributes,o=(t.className,t.setAttributes),a=n.blockSortableItems,r=n.blockItemsWrapAnimation,l=function(t){var n=a.slice(0);n.splice(t,1),o({blockSortableItems:n}),e.setState({isRemovePopup:!1})},s=function(t){e.setState({isRemovePopup:!0,deleteTabID:t})},c=function(){return e.state.isRemovePopup?wp.element.createElement(f,{title:__("Delete this Item?","gutentor"),className:i()("g-remove-popup"),onRequestClose:function(){e.setState({isRemovePopup:!1})},isDismissable:!1,shouldCloseOnClickOutside:!0},__("This will delete the item.","gutentor"),wp.element.createElement("div",{className:"g-remove-popup-actions"},wp.element.createElement(d,{isDefault:!0,onClick:function(){e.setState({isRemovePopup:!1})}},__("Cancel","gutentor")),wp.element.createElement(d,{isPrimary:!0,onClick:function(){l(e.state.deleteTabID)}},__("Delete","gutentor")))):""},u=function(t,n,r){var l=a.slice(0);l.map(function(e,o){n===o&&(l[o][r]=t)}),o({blockSortableItems:l}),e.updateTimeStamp()},p=function(t,n,r){var l=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],s=a.slice(0);s.map(function(e,o){n===o&&(i?s[o].itemStyle[r][l][i]=t:l?s[o].itemStyle[r][l]=t:s[o].itemStyle[r]=t)}),o({blockSortableItems:s}),e.updateTimeStamp()};return 0===a.length&&o({blockSortableItems:[{image:"",title:__("Title","gutentor")}]}),[wp.element.createElement(v,{items:a,axis:"xy",onSortEnd:this.onSortEnd,useDragHandle:!0,onRemove:s,onItemBoxChange:u,setItemStyle:p,gutentorAllProps:this.props,blockItemsWrapAnimation:r}),wp.element.createElement("div",{className:"gutentor-add-item"},wp.element.createElement(d,{isPrimary:!0,isLarge:!0,className:"gutentor-add-item-button",onClick:function(){return o({blockSortableItems:a.concat([{image:"",title:__("Title","gutentor")}])})}},wp.element.createElement("i",{className:"dashicons dashicons-plus"}),__("Add Item","gutentor"))),wp.element.createElement(c,null)]}}]),t}(m);t.a=w},function(e,t,n){"use strict";var o=n(138),a=n(0),r=n.n(a),l=n(386),i=n(5),s=n(2),c=n(4),u=n(13),p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},__=wp.i18n.__,m=wp.blocks.registerBlockType,g=wp.blockEditor.InspectorControls,d=wp.element.Fragment,f=wp.components,b=f.PanelBody,h=f.PanelRow;m("gutentor/pricing",{title:__("Pricing Widget","gutentor"),description:__("Add a pricing table with columns to help visitors compare products and plans.","gutentor"),icon:wp.element.createElement("img",{src:gutentor.pricingSvg}),category:"gutentor",keywords:[__("Gutentor Pricing Table Column Grid Block Widget","gutentor")],example:{},attributes:wp.hooks.applyFilters("gutentor_add_attributes",o.a),supports:{align:["wide","full"],html:!1},edit:function(e){var t=e.attributes,n=e.className,o=e.setAttributes,a=e.clientId,m=t.blockID,f=t.blockPricingTemplate,v=t.gutentorBlockName,w=t.blockSectionHtmlTag,y=t.blockComponentAnimation,_=(t.blockItemsWrapAnimation,w);return m!==a&&o({blockID:a}),void 0===v&&o({gutentorBlockName:e.name}),wp.element.createElement(d,null,wp.element.createElement(g,{key:"inspector"},wp.element.createElement("div",{className:"gutentor-sidebar-inspectors"},wp.element.createElement(s.d,null,wp.element.createElement(s.b,null,wp.element.createElement(s.a,null,wp.element.createElement("i",{className:"dashicons dashicons-dashboard"}),__("General","gutentor")),wp.element.createElement(s.a,null,wp.element.createElement("i",{className:"dashicons dashicons-admin-generic"}),__("Advanced","gutentor"))),wp.element.createElement(s.c,null,wp.hooks.applyFilters("gutentor_edit_before_item_tab",[],e),wp.element.createElement(b,{title:__("Block Items","gutentor"),initialOpen:!1},wp.element.createElement(h,null,wp.element.createElement(s.d,null,wp.element.createElement(s.b,null,wp.element.createElement(s.a,null,wp.element.createElement("i",{className:"dashicons dashicons-dashboard"}),__("General","gutentor")),wp.element.createElement(s.a,null,wp.element.createElement("i",{className:"dashicons dashicons-edit"}),__("Style","gutentor")),wp.element.createElement(s.a,null,wp.element.createElement("i",{className:"dashicons dashicons-admin-generic"}),__("Advanced","gutentor"))),wp.element.createElement(s.c,null,wp.hooks.applyFilters("gutentor_edit_general_tab_start",[],e),wp.hooks.applyFilters("gutentor_edit_enable_block_template",!0,e)&&wp.element.createElement(u.a,{label:__("Template","gutentor"),value:f,onChange:function(e){o({blockPricingTemplate:e})},options:wp.hooks.applyFilters("gutentor_edit_template_options",[{value:"pricing-template1",label:'<img src="'+gutentor.dirUrl+'/assets/img/templates/pricing/pricing-template-1.svg" />'}],e)}),wp.hooks.applyFilters("gutentor_edit_general_tab_end",[],e)),wp.element.createElement(s.c,null,wp.hooks.applyFilters("gutentor_edit_style_tab_start",[],e),wp.hooks.applyFilters("gutentor_item_pricing_options_start",[],e),wp.hooks.applyFilters("gutentor_item_pricing_options_end",[],e),wp.hooks.applyFilters("gutentor_edit_style_tab_end",[],e)),wp.element.createElement(s.c,null,wp.hooks.applyFilters("gutentor_edit_items_advanced_options",[],e))))),wp.hooks.applyFilters("gutentor_edit_after_item_tab",[],e)),wp.element.createElement(s.c,null,wp.hooks.applyFilters("gutentor_edit_advanced_tab",[],e))))),wp.element.createElement(_,p({id:"section-"+m,className:wp.hooks.applyFilters("gutentor_edit_section_class",r()("gutentor-section pricing-wrapper",n,f||""),e)},Object(c.c)(y)),Object(i.d)(e),wp.hooks.applyFilters("gutentor_edit_before_container",[],e),wp.element.createElement("div",{className:wp.hooks.applyFilters("gutentor_edit_container_class",r()("grid-container"),e)},wp.hooks.applyFilters("gutentor_edit_before_repeater_items",[],e),wp.element.createElement(l.a,e),wp.hooks.applyFilters("gutentor_edit_after_repeater_items",[],e)),wp.hooks.applyFilters("gutentor_edit_after_container",[],e)))},save:function(e){var t=e.attributes,n=e.className,o=(e.setAttributes,e.clientId,t.blockID),a=t.blockSortableItems,l=t.blockPricingTemplate,i=t.blockSectionHtmlTag,s=t.blockComponentAnimation,u=t.blockItemsWrapAnimation,m=i;return wp.element.createElement(m,p({id:"section-"+o,className:wp.hooks.applyFilters("gutentor_save_section_class",r()(n,"gutentor-section pricing-wrapper",l||""),e)},Object(c.c)(s)),wp.hooks.applyFilters("gutentor_save_before_container",[],e),wp.element.createElement("div",{className:wp.hooks.applyFilters("gutentor_save_container_class",r()("grid-container"),e)},wp.hooks.applyFilters("gutentor_save_before_repeater_items",[],e),wp.element.createElement("div",p({className:wp.hooks.applyFilters("gutentor_save_grid_row_class","grid-row gutentor-grid-item-wrap",e)},wp.hooks.applyFilters("gutentor_save_grid_row_attr",{},e),Object(c.c)(u)),a.map(function(t,n){return wp.element.createElement("div",{className:wp.hooks.applyFilters("gutentor_save_grid_column_class","gutentor-grid-column",e)},wp.element.createElement("div",{className:wp.hooks.applyFilters("gutentor_save_single_item_class",r()("gutentor-single-item","pricing","gutentor-single-item-"+n),e,t,n)},wp.hooks.applyFilters("gutentor_save_pricing_template_data",[],e,t,n)))})),wp.hooks.applyFilters("gutentor_save_after_repeater_items",[],e)),wp.hooks.applyFilters("gutentor_save_after_container",[],e))}})},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function r(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var l=n(0),i=n.n(l),s=n(26),c=(n.n(s),n(4)),u=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},__=wp.i18n.__,m=wp.element.Component,g=wp.components,d=g.Button,f=g.Modal,b=Object(s.SortableHandle)(function(){return wp.element.createElement("i",{className:"dashicons dashicons-move"})}),h=Object(s.SortableElement)(function(e){var t=(e.itemStyle,e.onItemBoxChange,e.setItemStyle,e.sortableIndex),n=e.onRemove,o=e.gutentorAllProps,a=e.gutentorSingleItem;e.blockItemsWrapAnimation;return wp.element.createElement("div",{className:wp.hooks.applyFilters("gutentor_edit_grid_column_class","gutentor-grid-column",o)},wp.element.createElement("div",{className:"gutentor-column-inside"},wp.element.createElement("div",{className:"gutentor-control-actions"},wp.hooks.applyFilters("gutentor_edit_before_single_control",[],o,a,t),wp.element.createElement(b,null),wp.element.createElement("span",{onClick:function(){return n(t)}},wp.element.createElement("i",{className:"dashicons dashicons-trash"})),wp.hooks.applyFilters("gutentor_edit_after_single_control",[],o,a,t)),wp.hooks.applyFilters("gutentor_edit_before_single_item",[],o,a,t),wp.element.createElement("div",{className:wp.hooks.applyFilters("gutentor_edit_single_item_class",i()("gutentor-single-item","pricing","gutentor-single-item-"+t),o,a,t)},wp.hooks.applyFilters("gutentor_edit_pricing_template_data",[],o,a,t))))}),v=Object(s.SortableContainer)(function(e){var t=e.items,n=e.onRemove,o=e.onItemBoxChange,a=e.setItemStyle,r=e.gutentorAllProps,l=e.blockItemsWrapAnimation;return wp.element.createElement("div",p({className:wp.hooks.applyFilters("gutentor_edit_grid_row_class","grid-row gutentor-grid-item-wrap",r)},wp.hooks.applyFilters("gutentor_edit_grid_row_attr",{},r),Object(c.c)(l)),t.map(function(e,t){return wp.element.createElement(h,{key:"item-"+t,index:t,itemStyle:e.itemStyle,sortableIndex:t,onRemove:n,onItemBoxChange:o,setItemStyle:a,gutentorAllProps:r,gutentorSingleItem:e,blockItemsWrapAnimation:l})}))}),w=function(e){function t(e){o(this,t);var n=a(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.onSortEnd=function(e){var t=e.oldIndex,o=e.newIndex,a=n.props,r=a.attributes,l=a.setAttributes,i=r.blockSortableItems.slice(0);l({blockSortableItems:Object(s.arrayMove)(i,t,o)}),n.updateTimeStamp()},n.updateTimeStamp=function(){(0,n.props.setAttributes)({timestamp:(new Date).getTime()})},n.state={isRemovePopup:!1,deleteTabID:null},n}return r(t,e),u(t,[{key:"render",value:function(){var e=this,t=this.props,n=t.attributes,o=(t.className,t.setAttributes),a=n.blockSortableItems,r=n.blockItemsWrapAnimation,l=function(t){var n=a.slice(0);n.splice(t,1),o({blockSortableItems:n}),e.setState({isRemovePopup:!1})},s=function(t){e.setState({isRemovePopup:!0,deleteTabID:t})},c=function(){return e.state.isRemovePopup?wp.element.createElement(f,{title:__("Delete this Item?","gutentor"),className:i()("g-remove-popup"),onRequestClose:function(){e.setState({isRemovePopup:!1})},isDismissable:!1,shouldCloseOnClickOutside:!0},__("This will delete the item.","gutentor"),wp.element.createElement("div",{className:"g-remove-popup-actions"},wp.element.createElement(d,{isDefault:!0,onClick:function(){e.setState({isRemovePopup:!1})}},__("Cancel","gutentor")),wp.element.createElement(d,{isPrimary:!0,onClick:function(){l(e.state.deleteTabID)}},__("Delete","gutentor")))):""},u=function(t,n,r){var l=a.slice(0);l.map(function(e,o){n===o&&(l[o][r]=t)}),o({blockSortableItems:l}),e.updateTimeStamp()},p=function(t,n,r){var l=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],s=a.slice(0);s.map(function(e,o){n===o&&(i?s[o].itemStyle[r][l][i]=t:l?s[o].itemStyle[r][l]=t:s[o].itemStyle[r]=t)}),o({blockSortableItems:s}),e.updateTimeStamp()};return 0===a.length&&o({blockSortableItems:[{itemStyle:{}}]}),[wp.element.createElement(v,{items:a,axis:"xy",onSortEnd:this.onSortEnd,useDragHandle:!0,onRemove:s,onItemBoxChange:u,setItemStyle:p,gutentorAllProps:this.props,blockItemsWrapAnimation:r}),wp.element.createElement("div",{className:"gutentor-add-item"},wp.element.createElement(d,{isPrimary:!0,isLarge:!0,className:"gutentor-add-item-button",onClick:function(){return o({blockSortableItems:a.concat([{itemStyle:{}}])})}},wp.element.createElement("i",{className:"dashicons dashicons-plus"}),__("Add Item","gutentor"))),wp.element.createElement(c,null)]}}]),t}(m);t.a=w},function(e,t,n){"use strict";var o=n(388),a=n(5),r=n(4),l=n(0),i=n.n(l),s=n(2),c=n(140),u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},__=wp.i18n.__,p=wp.blocks.registerBlockType,m=wp.blockEditor.InspectorControls,g=wp.element.Fragment,d=wp.components,f=d.PanelBody,b=d.PanelRow;p("gutentor/gallery",{title:__("Gallery Widget","gutentor"),description:__("Display multiple images in a rich organized gallery with masonry and advanced options.","gutentor"),icon:wp.element.createElement("img",{src:gutentor.gallerySvgW}),category:"gutentor",keywords:[__("Gutentor Masonry Gallery Box Column Grid Block Widget","gutentor")],example:{},attributes:wp.hooks.applyFilters("gutentor_add_attributes",c.a),supports:{align:["wide","full"],html:!1},edit:function(e){var t=e.attributes,n=e.className,l=e.setAttributes,c=e.clientId,p=t.blockID,d=t.blockEnableMasonry,h=t.gutentorBlockName,v=t.blockGalleryTemplate,w=t.blockSectionHtmlTag,y=t.blockComponentAnimation,_=w;return p!==c&&l({blockID:c}),void 0===h&&l({gutentorBlockName:e.name}),wp.element.createElement(g,null,wp.element.createElement(m,{key:"inspector"},wp.element.createElement("div",{className:"gutentor-sidebar-inspectors"},wp.element.createElement(s.d,null,wp.element.createElement(s.b,null,wp.element.createElement(s.a,null,wp.element.createElement("i",{className:"dashicons dashicons-dashboard"}),__("General","gutentor")),wp.element.createElement(s.a,null,wp.element.createElement("i",{className:"dashicons dashicons-admin-generic"}),__("Advanced","gutentor"))),wp.element.createElement(s.c,null,wp.hooks.applyFilters("gutentor_edit_before_item_tab",[],e),wp.element.createElement(f,{title:__("Block Items","gutentor"),initialOpen:!1},wp.element.createElement(b,null,wp.element.createElement(s.d,null,wp.element.createElement(s.b,null,wp.element.createElement(s.a,null,wp.element.createElement("i",{className:"dashicons dashicons-dashboard"}),__("General","gutentor")),wp.element.createElement(s.a,null,wp.element.createElement("i",{className:"dashicons dashicons-edit"}),__("Style","gutentor")),wp.element.createElement(s.a,null,wp.element.createElement("i",{className:"dashicons dashicons-admin-generic"}),__("Advanced","gutentor"))),wp.element.createElement(s.c,null,wp.hooks.applyFilters("gutentor_edit_general_tab_start",[],e),wp.hooks.applyFilters("gutentor_edit_general_tab_end",[],e)),wp.element.createElement(s.c,null,wp.hooks.applyFilters("gutentor_edit_style_tab_start",[],e),wp.element.createElement(f,{title:__("Image Box","gutentor"),initialOpen:!1},wp.element.createElement(b,null,wp.hooks.applyFilters("gutentor_image_box_edit_image_options_start",[],e),wp.hooks.applyFilters("gutentor_image_box_edit_additional_options",[],e),wp.hooks.applyFilters("gutentor_image_box_edit_image_options_end",[],e))),wp.hooks.applyFilters("gutentor_edit_style_tab_end",[],e)),wp.element.createElement(s.c,null,wp.hooks.applyFilters("gutentor_edit_items_advanced_options",[],e))))),wp.hooks.applyFilters("gutentor_edit_after_item_tab",[],e)),wp.element.createElement(s.c,null,wp.hooks.applyFilters("gutentor_edit_advanced_tab",[],e))))),wp.element.createElement(_,u({id:"section-"+p,className:wp.hooks.applyFilters("gutentor_edit_section_class",i()("gutentor-section","gutentor-gallery-wrapper","gutentor-gallery",d?"enable-masonry":"",v||"",n),e)},Object(r.c)(y)),Object(a.d)(e),wp.hooks.applyFilters("gutentor_edit_before_container",[],e),wp.element.createElement("div",{className:wp.hooks.applyFilters("gutentor_edit_container_class",i()("grid-container"),e)},wp.hooks.applyFilters("gutentor_edit_before_repeater_items",[],e),wp.element.createElement(o.a,e),wp.hooks.applyFilters("gutentor_edit_after_repeater_items",[],e)),wp.hooks.applyFilters("gutentor_edit_after_container",[],e)))},save:function(e){var t=e.attributes,n=e.className,o=(e.setAttributes,t.blockID),a=t.blockSortableItems,l=t.blockEnableMasonry,s=t.blockGalleryTemplate,c=t.blockSectionHtmlTag,p=t.blockComponentAnimation,m=t.blockItemsWrapAnimation,g=c;return wp.hooks.doAction("gutentor_save_init",e),wp.element.createElement(g,u({id:"section-"+o,className:wp.hooks.applyFilters("gutentor_save_section_class",i()("gutentor-section","gutentor-gallery","gutentor-gallery-wrapper",l?"enable-masonry":"",s||"",n),e)},Object(r.c)(p)),wp.hooks.applyFilters("gutentor_save_before_container",[],e),wp.element.createElement("div",{className:wp.hooks.applyFilters("gutentor_save_container_class",i()("grid-container"),e)},wp.hooks.applyFilters("gutentor_save_before_repeater_items",[],e),wp.element.createElement("div",u({className:wp.hooks.applyFilters("gutentor_save_grid_row_class","grid-row gutentor-grid-item-wrap full-width-row",e)},wp.hooks.applyFilters("gutentor_save_grid_row_attr",{},e),Object(r.c)(m)),a&&a.map(function(t,n){return wp.element.createElement("div",{className:wp.hooks.applyFilters("gutentor_save_grid_column_class","gutentor-gallery-item",e)},wp.element.createElement("div",{className:wp.hooks.applyFilters("gutentor_save_single_item_class",i()("gutentor-single-item","gutentor-image","gutentor-single-item-"+n),e,t,n)},wp.hooks.applyFilters("gutentor_save_gallery_template_data",[],e,t,n)))}),wp.hooks.applyFilters("gutentor_save_after_single_item_data",[],e)),wp.hooks.applyFilters("gutentor_save_after_repeater_items",[],e)),wp.hooks.applyFilters("gutentor_save_after_container",[],e))}})},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function r(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var l=n(0),i=n.n(l),s=n(26),c=(n.n(s),n(4)),u=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},__=wp.i18n.__,m=wp.element.Component,g=wp.components,d=g.Button,f=g.Modal,b=Object(s.SortableHandle)(function(){return wp.element.createElement("i",{className:"dashicons dashicons-move"})}),h=Object(s.SortableElement)(function(e){var t=(e.itemStyle,e.onItemBoxChange,e.setItemStyle,e.sortableIndex),n=e.onRemove,o=e.gutentorSingleItem,a=e.gutentorAllProps;e.blockItemsWrapAnimation;return wp.element.createElement("div",{className:wp.hooks.applyFilters("gutentor_edit_grid_column_class","gutentor-gallery-item",a)},wp.element.createElement("div",{className:"gutentor-column-inside"},wp.element.createElement("div",{className:"gutentor-control-actions"},wp.hooks.applyFilters("gutentor_edit_before_single_control",[],a,o,t),wp.element.createElement(b,null),wp.element.createElement("span",{onClick:function(){return n(t)}},wp.element.createElement("i",{className:"dashicons dashicons-trash"})),wp.hooks.applyFilters("gutentor_edit_after_single_control",[],a,o,t)),wp.hooks.applyFilters("gutentor_edit_before_single_item",[],a,o,t),wp.element.createElement("div",{className:wp.hooks.applyFilters("gutentor_edit_single_item_class",i()("gutentor-single-item","gutentor-image","gutentor-single-item-"+t),a,o,t)},wp.hooks.applyFilters("gutentor_edit_gallery_template_data",[],a,o,t))))}),v=Object(s.SortableContainer)(function(e){var t=e.items,n=e.onRemove,o=e.onItemBoxChange,a=e.setItemStyle,r=e.blockItemsWrapAnimation,l=e.gutentorAllProps;return wp.element.createElement("div",p({className:wp.hooks.applyFilters("gutentor_edit_grid_row_class","grid-row gutentor-grid-item-wrap full-width-row",l)},wp.hooks.applyFilters("gutentor_edit_grid_row_attr",{},l),Object(c.c)(r)),t.map(function(e,t){return wp.element.createElement(h,{key:"item-"+t,index:t,itemStyle:e.itemStyle,sortableIndex:t,onRemove:n,onItemBoxChange:o,setItemStyle:a,gutentorAllProps:l,gutentorSingleItem:e,blockItemsWrapAnimation:r})}))}),w=function(e){function t(e){o(this,t);var n=a(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.onSortEnd=function(e){var t=e.oldIndex,o=e.newIndex,a=n.props,r=a.attributes,l=a.setAttributes,i=r.blockSortableItems.slice(0);l({blockSortableItems:Object(s.arrayMove)(i,t,o)}),n.updateTimeStamp()},n.updateTimeStamp=function(){(0,n.props.setAttributes)({blockTimestamp:(new Date).getTime()})},n.state={isRemovePopup:!1,deleteTabID:null},n}return r(t,e),u(t,[{key:"render",value:function(){var e=this,t=this.props,n=t.attributes,o=(t.className,t.setAttributes),a=n.blockSortableItems,r=n.blockItemsWrapAnimation,l=function(t){var n=a.slice(0);n.splice(t,1),o({blockSortableItems:n}),e.setState({isRemovePopup:!1})},s=function(t){e.setState({isRemovePopup:!0,deleteTabID:t})},c=function(){return e.state.isRemovePopup?wp.element.createElement(f,{title:__("Delete this Item?","gutentor"),className:i()("g-remove-popup"),onRequestClose:function(){e.setState({isRemovePopup:!1})},isDismissable:!1,shouldCloseOnClickOutside:!0},__("This will delete the item.","gutentor"),wp.element.createElement("div",{className:"g-remove-popup-actions"},wp.element.createElement(d,{isDefault:!0,onClick:function(){e.setState({isRemovePopup:!1})}},__("Cancel","gutentor")),wp.element.createElement(d,{isPrimary:!0,onClick:function(){l(e.state.deleteTabID)}},__("Delete","gutentor")))):""},u=function(t,n,r){var l=a.slice(0);l.map(function(e,o){n===o&&(l[o][r]=t)}),o({blockSortableItems:l}),e.updateTimeStamp()},p=function(t,n,r){var l=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],s=a.slice(0);s.map(function(e,o){n===o&&(i?s[o].itemStyle[r][l][i]=t:l?s[o].itemStyle[r][l]=t:s[o].itemStyle[r]=t)}),o({blockSortableItems:s}),e.updateTimeStamp()};return 0===a.length&&o({blockSortableItems:[{image:""}]}),[wp.element.createElement(v,{items:a,axis:"xy",onSortEnd:this.onSortEnd,useDragHandle:!0,onRemove:s,onItemBoxChange:u,setItemStyle:p,blockItemsWrapAnimation:r,gutentorAllProps:this.props}),wp.element.createElement("div",{className:"gutentor-add-item"},wp.element.createElement(d,{isPrimary:!0,isLarge:!0,className:"gutentor-add-item-button",onClick:function(){return o({blockSortableItems:a.concat([{image:""}])})}},wp.element.createElement("i",{className:"dashicons dashicons-plus"}),__("Add Item","gutentor"))),wp.element.createElement(c,null)]}}]),t}(m);t.a=w},function(e,t,n){"use strict";var o=n(142),a=n(390),r=n(0),l=n.n(r),i=n(2),s=n(5),c=n(4),u=n(13),p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},__=wp.i18n.__,m=wp.blocks.registerBlockType,g=wp.blockEditor.InspectorControls,d=wp.element.Fragment,f=wp.components,b=f.PanelBody,h=f.PanelRow;m("gutentor/social",{title:__("Social Links Widget","gutentor"),description:__("Add social profile links and grow your audience and followers.","gutentor"),icon:wp.element.createElement("img",{src:gutentor.socialSvgW}),category:"gutentor",keywords:[__("Gutentor Social Audience Followers Profile Links Block Widget","gutentor")],attributes:wp.hooks.applyFilters("gutentor_add_attributes",o.a),supports:{align:["wide","full"],html:!1},edit:function(e){var t=e.attributes,n=e.className,o=e.setAttributes,r=e.clientId,m=t.gutentorBlockName,f=t.blockSocialTemplate,v=t.blockID,w=t.blockSectionHtmlTag,y=t.blockComponentAnimation,_=(t.blockItemsWrapAnimation,w);return v!==r&&o({blockID:r}),void 0===m&&o({gutentorBlockName:e.name}),wp.element.createElement(d,null,wp.element.createElement(g,{key:"inspector"},wp.element.createElement("div",{className:"gutentor-sidebar-inspectors"},wp.element.createElement(i.d,null,wp.element.createElement(i.b,null,wp.element.createElement(i.a,null,wp.element.createElement("i",{className:"dashicons dashicons-dashboard"}),__("General","gutentor")),wp.element.createElement(i.a,null,wp.element.createElement("i",{className:"dashicons dashicons-admin-generic"}),__("Advanced","gutentor"))),wp.element.createElement(i.c,null,wp.hooks.applyFilters("gutentor_edit_before_item_tab",[],e),wp.element.createElement(b,{title:__("Block Items","gutentor"),initialOpen:!1},wp.element.createElement(h,null,wp.element.createElement(i.d,null,wp.element.createElement(i.b,null,wp.element.createElement(i.a,null,wp.element.createElement("i",{className:"dashicons dashicons-dashboard"}),__("General","gutentor")),wp.element.createElement(i.a,null,wp.element.createElement("i",{className:"dashicons dashicons-edit"}),__("Style","gutentor")),wp.element.createElement(i.a,null,wp.element.createElement("i",{className:"dashicons dashicons-admin-generic"}),__("Advanced","gutentor"))),wp.element.createElement(i.c,null,wp.hooks.applyFilters("gutentor_edit_general_tab_start",[],e),wp.hooks.applyFilters("gutentor_edit_enable_block_template",!0,e)&&wp.element.createElement(u.a,{label:__("Template","gutentor"),value:f,onChange:function(e){o({blockSocialTemplate:e})},options:wp.hooks.applyFilters("gutentor_edit_template_options",[{value:"social-template1",label:'<img src="'+gutentor.dirUrl+'/assets/img/templates/social/social-template-1.svg" />'}],e)}),wp.hooks.applyFilters("gutentor_edit_general_tab_end",[],e)),wp.element.createElement(i.c,null,wp.hooks.applyFilters("gutentor_edit_style_tab_start",[],e),wp.hooks.applyFilters("gutentor_item_social_options_start",[],e),wp.hooks.applyFilters("gutentor_item_social_options_end",[],e),wp.hooks.applyFilters("gutentor_edit_style_tab_end",[],e)),wp.element.createElement(i.c,null,wp.hooks.applyFilters("gutentor_edit_items_advanced_options",[],e))))),wp.hooks.applyFilters("gutentor_edit_after_item_tab",[],e)),wp.element.createElement(i.c,null,wp.hooks.applyFilters("gutentor_edit_advanced_tab",[],e))))),wp.element.createElement(_,p({id:"section-"+v,className:wp.hooks.applyFilters("gutentor_edit_section_class",l()("gutentor-section gutentor-social",n,f||""),e)},Object(c.c)(y)),Object(s.d)(e),wp.hooks.applyFilters("gutentor_edit_before_container",[],e),wp.element.createElement("div",{className:wp.hooks.applyFilters("gutentor_edit_container_class","grid-container",e)},wp.hooks.applyFilters("gutentor_edit_before_repeater_items",[],e),wp.element.createElement(a.a,e),wp.hooks.applyFilters("gutentor_edit_after_repeater_items",[],e)),wp.hooks.applyFilters("gutentor_edit_after_container",[],e)))},save:function(e){var t=e.attributes,n=e.className,o=(e.setAttributes,t.blockSocialTemplate),a=t.blockID,r=t.blockSortableItems,i=t.blockSocialDisplayStyle,s=t.blockSectionHtmlTag,u=t.blockComponentAnimation,m=t.blockItemsWrapAnimation,g=s;return wp.element.createElement(g,p({id:"section-"+a,className:wp.hooks.applyFilters("gutentor_save_section_class",l()(n,"gutentor-section gutentor-social",o||""),e)},Object(c.c)(u)),wp.hooks.applyFilters("gutentor_save_before_container",[],e),wp.element.createElement("div",{className:wp.hooks.applyFilters("gutentor_save_container_class","grid-container",e)},wp.hooks.applyFilters("gutentor_save_before_repeater_items",[],e),wp.element.createElement("div",p({className:wp.hooks.applyFilters("gutentor_edit_grid_row_class",l()(function(e){return"column"===e}(i)?"grid-row":"inline-wrapper","gutentor-grid-item-wrap","none"!==m.Animation?"wow animated "+m.Animation:""),e)},Object(c.c)(m)),r.map(function(t,n){return wp.element.createElement("div",{className:wp.hooks.applyFilters("gutentor_save_grid_column_class",l()("gutentor-grid-column","gutentor-social-item"),e)},wp.element.createElement("div",{className:wp.hooks.applyFilters("gutentor_save_single_item_class",l()("gutentor-single-item","gutentor-single-item-"+n),e,t,n)},wp.hooks.applyFilters("gutentor_save_social_template_data",[],e,t,n)))}),wp.hooks.applyFilters("gutentor_save_after_single_item_data",[],e)),wp.hooks.applyFilters("gutentor_save_after_repeater_items",[],e)),wp.hooks.applyFilters("gutentor_save_after_container",[],e))}})},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function r(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var l=n(0),i=n.n(l),s=n(26),c=(n.n(s),n(4)),u=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},__=wp.i18n.__,m=wp.element.Component,g=wp.components,d=g.Button,f=g.Modal,b=function(e){return"column"===e},h=Object(s.SortableHandle)(function(){return wp.element.createElement("i",{className:"dashicons dashicons-move"})}),v=Object(s.SortableElement)(function(e){var t=(e.itemStyle,e.onItemBoxChange,e.setItemStyle,e.sortableIndex),n=e.onRemove,o=(e.blockSocialDisplayStyle,e.gutentorAllProps),a=e.gutentorSingleItem;e.blockItemsWrapAnimation;return wp.element.createElement("div",{className:wp.hooks.applyFilters("gutentor_edit_grid_column_class","gutentor-grid-column gutentor-social-item",o)},wp.element.createElement("div",{className:"gutentor-column-inside"},wp.element.createElement("div",{className:"gutentor-control-actions"},wp.hooks.applyFilters("gutentor_edit_before_single_control",[],o,a,t),wp.element.createElement(h,null),wp.element.createElement("span",{onClick:function(){return n(t)}},wp.element.createElement("i",{className:"dashicons dashicons-trash"})),wp.hooks.applyFilters("gutentor_edit_after_single_control",[],o,a,t)),wp.hooks.applyFilters("gutentor_edit_before_single_item",[],o,a,t),wp.element.createElement("div",{className:wp.hooks.applyFilters("gutentor_edit_single_item_class",i()("gutentor-single-item","gutentor-single-item-"+t),o,a,t)},wp.hooks.applyFilters("gutentor_edit_social_template_data",[],o,a,t))))}),w=Object(s.SortableContainer)(function(e){var t=e.items,n=e.onRemove,o=e.onItemBoxChange,a=e.setItemStyle,r=e.blockSocialDisplayStyle,l=e.gutentorAllProps,s=e.blockItemsWrapAnimation;return wp.element.createElement("div",p({className:wp.hooks.applyFilters("gutentor_edit_grid_row_class",i()(b(r)?"grid-row":"inline-wrapper","gutentor-grid-item-wrap","none"!==s.Animation?"wow animated "+s.Animation:""),l)},Object(c.c)(s)),t.map(function(e,t){return wp.element.createElement(v,{key:"item-"+t,index:t,itemStyle:e.itemStyle,sortableIndex:t,onRemove:n,onItemBoxChange:o,setItemStyle:a,blockSocialDisplayStyle:r,blockItemsWrapAnimation:s,gutentorAllProps:l,gutentorSingleItem:e})}))}),y=function(e){function t(e){o(this,t);var n=a(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.onSortEnd=function(e){var t=e.oldIndex,o=e.newIndex,a=n.props,r=a.attributes,l=a.setAttributes,i=r.blockSortableItems.slice(0);l({blockSortableItems:Object(s.arrayMove)(i,t,o)}),n.updateTimeStamp()},n.updateTimeStamp=function(){(0,n.props.setAttributes)({timestamp:(new Date).getTime()})},n.state={isRemovePopup:!1,deleteTabID:null},n}return r(t,e),u(t,[{key:"render",value:function(){var e=this,t=this.props,n=t.attributes,o=(t.className,t.setAttributes),a=n.blockSortableItems,r=n.blockSocialDisplayStyle,l=n.blockItemsWrapAnimation,s=function(t){var n=a.slice(0);n.splice(t,1),o({blockSortableItems:n}),e.setState({isRemovePopup:!1})},c=function(t){e.setState({isRemovePopup:!0,deleteTabID:t})},u=function(){return e.state.isRemovePopup?wp.element.createElement(f,{title:__("Delete this Item?","gutentor"),className:i()("g-remove-popup"),onRequestClose:function(){e.setState({isRemovePopup:!1})},isDismissable:!1,shouldCloseOnClickOutside:!0},__("This will delete the item.","gutentor"),wp.element.createElement("div",{className:"g-remove-popup-actions"},wp.element.createElement(d,{isDefault:!0,onClick:function(){e.setState({isRemovePopup:!1})}},__("Cancel","gutentor")),wp.element.createElement(d,{isPrimary:!0,onClick:function(){s(e.state.deleteTabID)}},__("Delete","gutentor")))):""},p=function(t,n,r){var l=a.slice(0);l.map(function(e,o){n===o&&(l[o][r]=t)}),o({blockSortableItems:l}),e.updateTimeStamp()},m=function(t,n,r){var l=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],s=a.slice(0);s.map(function(e,o){n===o&&(i?s[o].itemStyle[r][l][i]=t:l?s[o].itemStyle[r][l]=t:s[o].itemStyle[r]=t)}),o({blockSortableItems:s}),e.updateTimeStamp()};return 0===a.length&&o({blockSortableItems:[{icon:{label:"fa-facebook-f",value:"fab fa-facebook-f",code:"f39e"},buttonLink:"#"}]}),[wp.element.createElement(w,{items:a,axis:"xy",onSortEnd:this.onSortEnd,useDragHandle:!0,onRemove:c,onItemBoxChange:p,setItemStyle:m,blockSocialDisplayStyle:r,blockItemsWrapAnimation:l,gutentorAllProps:this.props}),wp.element.createElement("div",{className:"gutentor-add-item"},wp.element.createElement(d,{isPrimary:!0,isLarge:!0,className:"gutentor-add-item-button",onClick:function(){return o({blockSortableItems:a.concat([{icon:{label:"fa-facebook-f",value:"fab fa-facebook-f",code:"f39e"},buttonLink:"#"}])})}},wp.element.createElement("i",{className:"dashicons dashicons-plus"}),__("Add Item","gutentor"))),wp.element.createElement(u,null)]}}]),t}(m);t.a=y},function(e,t,n){"use strict";var o=n(7),a=n(0),r=n.n(a),l=n(2),i=n(5),s=n(144),c=n(15),u=n(3),p=n(145),m=(n(32),n(13)),g=n(4),d=n(9),f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},__=wp.i18n.__,b=wp.blocks.registerBlockType,h=wp.blockEditor.InspectorControls,v=wp.element.Fragment,w=wp.components,y=w.BaseControl,_=w.PanelBody,k=w.PanelRow,E=w.ToggleControl,C=w.SelectControl,O=w.RangeControl;b("gutentor/divider",{title:__("Divider","gutentor"),description:__("Visually distinguish sections with divider using SVG shape or border.","gutentor"),icon:wp.element.createElement("img",{src:gutentor.dividerSvgW}),category:"gutentor-elements",keywords:[__("Gutentor Divider SVG Shape Border Elements","gutentor")],example:{},attributes:wp.hooks.applyFilters("gutentor_add_attributes",p.a),supports:{align:["wide","full"],html:!1},edit:function(e){var t=e.attributes,n=e.className,a=e.setAttributes,p=e.clientId,b=t.gID,w=t.gName,j=t.blockID,x=t.eAnimation,I=t.gutentorBlockName,T=t.dividerMargin,F=t.dividerPadding,B=t.blockDividerAlign,S=t.blockDividerBorderStyle,N=t.blockDividerBorderHeight,P=t.blockDividerEnableBorderColor,A=t.blockDividerBorderColor,M=t.blockDividerWidth,D=t.blockSectionHtmlTag,H=t.eDividerWid,L=t.blockDividerType,R=t.blockDividerDefaultSVG,V=t.blockDividerEnableSvgColor,W=t.blockDividerSvgColor,z=D;j!==p&&a({blockID:p}),b!==p&&a({gID:p}),void 0===I&&a({gutentorBlockName:e.name}),void 0===w&&a({gName:e.name});var G=[];return function(e,t){var n=e.attributes,o=(e.className,e.setAttributes),a=(e.clientId,n.blockDividerDefaultSVG);if(a&&!Number(a)){var r=t.indexOf(a);r=-1!==r?r.toString():"0",o({blockDividerDefaultSVG:r})}}(e,s.a),s.a.forEach(function(e,t){var n={value:t.toString(),label:e};G.push(n)}),M&&a({eDividerWid:{type:"px",mobile:M,tablet:M,desktop:M},blockDividerWidth:null}),wp.element.createElement(v,null,wp.element.createElement(h,{key:"inspector"},wp.element.createElement("div",{className:"gutentor-sidebar-inspectors"},wp.element.createElement(l.d,null,wp.element.createElement(l.b,null,wp.element.createElement(l.a,null,wp.element.createElement("i",{className:"dashicons dashicons-dashboard"}),__("General","gutentor")),wp.element.createElement(l.a,null,wp.element.createElement("i",{className:"dashicons dashicons-admin-generic"}),__("Advanced","gutentor"))),wp.element.createElement(l.c,null,wp.element.createElement(_,{title:__("Divider Options","gutentor"),initialOpen:!0},wp.element.createElement(k,null,wp.element.createElement(C,{label:__("Divider Type","gutentor"),value:L,onChange:function(e){a({blockDividerType:e})},options:wp.hooks.applyFilters("gutentor_divider_type_options",[{value:"svg-divider",label:__("SVG","gutentor")},{value:"border-divider",label:__("Border","gutentor")}],e)}),wp.element.createElement(C,{label:__("Alignment","gutentor"),value:B,onChange:function(e){a({blockDividerAlign:e})},options:d.c}),"text-right"===B&&wp.element.createElement("p",{className:"gutentor-info"},__('Please note that when "Divider Alignment" right is selected then "Divider Width" required to match the design.',"gutentor")),"svg-divider"===L&&wp.element.createElement(y,null,wp.element.createElement(m.a,{label:__("SVG","gutentor"),value:R,onChange:function(e){a({blockDividerDefaultSVG:e})},options:G}),wp.element.createElement(E,{label:__("Enable Color","gutentor"),checked:V,onChange:function(){a({blockDividerEnableSvgColor:!V})}}),V&&wp.element.createElement(u.a,{value:W,label:__("Color","gutentor"),onChange:function(e){a({blockDividerSvgColor:e})},disableAlpha:!1})),"border-divider"===L&&wp.element.createElement("div",null,wp.element.createElement(C,{label:__("Border Style","gutentor"),value:S,onChange:function(e){a({blockDividerBorderStyle:e})},options:d.h}),wp.element.createElement(E,{label:__("Enable Color","gutentor"),checked:P,onChange:function(){a({blockDividerEnableBorderColor:!P})}}),P&&wp.element.createElement(u.a,{value:A,label:__("Color","gutentor"),onChange:function(e){a({blockDividerBorderColor:e})},disableAlpha:!0}),wp.element.createElement(O,{label:__("Height","gutentor"),value:N||"",onChange:function(e){a({blockDividerBorderHeight:e})},min:0,max:10,allowReset:!0})),wp.hooks.applyFilters("gutentor_divider_type_additional_options",[],e),wp.element.createElement(y,{label:__("Width","gutentor")},Object(o.b)("eDividerWid",H,e)))),wp.element.createElement(_,{title:__("Margin/Padding","gutentor"),initialOpen:!1},wp.element.createElement(k,null,wp.element.createElement(y,{label:__("Margin","gutentor")},Object(c.a)("dividerMargin",T,e)),wp.element.createElement(y,{label:__("Padding","gutentor")},Object(c.a)("dividerPadding",F,e))))),wp.element.createElement(l.c,null,wp.hooks.applyFilters("gutentor_edit_element_advanced_tab",[],e))))),wp.element.createElement(z,f({id:"section-"+j,className:wp.hooks.applyFilters("gutentor_edit_element_class",r()("section-"+j,"gutentor-element","gutentor-section","gutentor-divider",B,n),e)},Object(g.c)(x)),Object(i.d)(e),wp.element.createElement("div",{className:wp.hooks.applyFilters("gutentor_element_container_class",r()("grid-container"),e)},wp.element.createElement("div",{className:"gutentor-divider-box"},"svg-divider"===L&&wp.element.createElement("span",{dangerouslySetInnerHTML:{__html:s.a[R]}}),"border-divider"===L&&wp.element.createElement("span",{className:"gutentor-divider-separator"}),wp.hooks.applyFilters("gutentor_divider_template_data",[],e)))))},save:function(e){var t=e.attributes,n=e.className,o=(e.setAttributes,t.blockDividerAlign),a=t.blockID,l=t.eAnimation,i=t.blockSectionHtmlTag,c=t.blockDividerType,u=t.blockDividerDefaultSVG,p=i;return wp.element.createElement(p,f({id:"section-"+a,className:wp.hooks.applyFilters("gutentor_save_element_class",r()("section-"+a,"gutentor-element","gutentor-section","gutentor-divider",o,n),e)},Object(g.c)(l)),wp.element.createElement("div",{className:wp.hooks.applyFilters("gutentor_element_container_class",r()("grid-container"),e)},wp.element.createElement("div",{className:"gutentor-divider-box"},"svg-divider"===c&&wp.element.createElement("span",{dangerouslySetInnerHTML:{__html:s.a[u]}}),"border-divider"===c&&wp.element.createElement("span",{className:"gutentor-divider-separator"}),wp.hooks.applyFilters("gutentor_divider_template_data",[],e))))}})},function(e,t,n){"use strict";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 a=n(146),r=n(5),l=n(1),i=n(0),s=n.n(i),c=n(2),u=n(4),p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},__=wp.i18n.__,m=wp.blocks.registerBlockType,g=wp.blockEditor.InspectorControls,d=wp.element.Fragment,f=wp.components,b=f.PanelBody,h=f.PanelRow;m("gutentor/video-popup",{title:__("Video Popup Widget","gutentor"),description:__("Add a popup video from YouTube, Vimeo or media library.","gutentor"),icon:wp.element.createElement("img",{src:gutentor.videoSvgW}),category:"gutentor",keywords:[__("Gutentor Youtube Vimeo Popup Video Block Widget","gutentor")],example:{},attributes:wp.hooks.applyFilters("gutentor_add_attributes",a.a),supports:{align:["wide","full"],html:!1},edit:function(e){var t=e.attributes,n=e.className,a=e.setAttributes,i=e.clientId,m=t.blockID,f=t.gutentorBlockName,v=t.blockVideoPopupTemplate,w=t.blockVideoPopupVideo,y=t.blockSectionHtmlTag,_=t.blockVideoPopupSource,k=t.blockVideoPopupHolderIcon,E=t.blockVideoPopupExternalUrl,C=t.blockVideoPopupHolderOption,O=t.image,j=t.blockComponentAnimation,x=t.blockItemsWrapAnimation,I=t.blockEnableImageBoxDisplayOptions,T=t.blockImageBoxDisplayOptions,F=t.blockImageBoxImageOverlayColor,B=(t.blockComponentEnableHeight,t.blockComponentHeight),S=t.blockVideoPopupHolderBlockHeight,N=y,P=function(e,t,n,r){var l=Object.assign({},t);l[r]=e,a(o({blockComponentEnableHeight:!0},"blockComponentHeight",l))},A=S&&S.type?S.type:"px",M=!(!S||!S.desktop)&&S.desktop,D=!(!S||!S.tablet)&&S.tablet,H=!(!S||!S.mobile)&&S.mobile;if(A){!(!B||!B.type)&&B.type||P(A,B,0,"type")}if(M){!(!B||!B.desktop)&&B.desktop||P(M,B,0,"desktop")}if(D){!(!B||!B.tablet)&&B.tablet||P(D,B,0,"tablet")}if(H){!(!B||!B.mobile)&&B.mobile||P(H,B,0,"mobile")}m!==i&&a({blockID:i}),void 0===f&&a({gutentorBlockName:e.name});return wp.hooks.doAction("gutentor_edit_init",e),wp.element.createElement(d,null,wp.element.createElement(g,{key:"inspector"},wp.element.createElement("div",{className:"gutentor-sidebar-inspectors"},wp.element.createElement(c.d,null,wp.element.createElement(c.b,null,wp.element.createElement(c.a,null,wp.element.createElement("i",{className:"dashicons dashicons-dashboard"}),__("General","gutentor")),wp.element.createElement(c.a,null,wp.element.createElement("i",{className:"dashicons dashicons-admin-generic"}),__("Advanced","gutentor"))),wp.element.createElement(c.c,null,wp.hooks.applyFilters("gutentor_edit_before_item_tab",[],e),wp.element.createElement(b,{title:__("Block Items","gutentor"),initialOpen:!1},wp.element.createElement(h,null,wp.element.createElement(c.d,null,wp.element.createElement(c.b,null,wp.element.createElement(c.a,null,wp.element.createElement("i",{className:"dashicons dashicons-dashboard"}),__("General","gutentor")),wp.element.createElement(c.a,null,wp.element.createElement("i",{className:"dashicons dashicons-edit"}),__("Style","gutentor")),wp.element.createElement(c.a,null,wp.element.createElement("i",{className:"dashicons dashicons-admin-generic"}),__("Advanced","gutentor"))),wp.element.createElement(c.c,null,wp.hooks.applyFilters("gutentor_edit_general_tab_start",[],e),wp.hooks.applyFilters("gutentor_edit_general_tab_end",[],e)),wp.element.createElement(c.c,null,wp.hooks.applyFilters("gutentor_edit_style_tab_start",[],e),wp.hooks.applyFilters("gutentor_edit_style_tab_end",[],e)),wp.element.createElement(c.c,null,wp.hooks.applyFilters("gutentor_edit_items_advanced_options",[],e))))),wp.hooks.applyFilters("gutentor_edit_after_item_tab",[],e)),wp.element.createElement(c.c,null,wp.hooks.applyFilters("gutentor_edit_advanced_tab",[],e))))),wp.element.createElement(N,p({id:"section-"+m,className:wp.hooks.applyFilters("gutentor_edit_section_class",s()("gutentor-section","gutentor-video-popup",n,v||""),e)},Object(u.c)(j)),Object(r.d)(e),wp.hooks.applyFilters("gutentor_edit_before_container",[],e),wp.element.createElement("div",{className:wp.hooks.applyFilters("gutentor_edit_container_class",s()("grid-container"),e)},wp.hooks.applyFilters("gutentor_edit_before_block_items",[],e),wp.element.createElement("div",p({className:s()("gutentor-grid-item-wrap","none"!==x.Animation?"wow animated "+x.Animation:"")},Object(u.c)(x)),wp.element.createElement("div",{className:s()("gutentor-single-item")},wp.element.createElement("div",{className:"gutentor-single-item-image-box"},wp.element.createElement("a",{className:"gutentor-video-popup-holder",href:function(){return _&&"external-url"===_?E||"#":_&&"self-hosted-local"===_&&w?w.url:"#"}()},function(){return C&&"icon-holder"===C?wp.element.createElement("span",{className:"video-popup-icon-box"},wp.element.createElement("i",{className:k&&k.value?k.value:"fas fa-play"})):C&&"image-holder"===C?Object(l.g)(I,T,F,O,e,"edit"):"#"}())))),wp.hooks.applyFilters("gutentor_edit_after_block_items",[],e)),wp.hooks.applyFilters("gutentor_edit_after_container",[],e)))},save:function(e){var t=e.attributes,n=e.className,o=(e.setAttributes,t.blockID),a=t.blockVideoPopupTemplate,r=t.blockVideoPopupVideo,i=t.blockSectionHtmlTag,c=t.blockVideoPopupHolderIcon,m=t.blockVideoPopupSource,g=t.blockVideoPopupExternalUrl,d=t.blockVideoPopupHolderOption,f=t.image,b=t.blockEnableImageBoxDisplayOptions,h=t.blockImageBoxDisplayOptions,v=t.blockImageBoxImageOverlayColor,w=t.blockComponentAnimation,y=t.blockItemsWrapAnimation,_=i;return wp.element.createElement(_,p({id:"section-"+o,className:wp.hooks.applyFilters("gutentor_save_section_class",s()("gutentor-section gutentor-video-popup",n,a||" "),e)},Object(u.c)(w)),wp.hooks.applyFilters("gutentor_save_before_container",[],e),wp.element.createElement("div",{className:wp.hooks.applyFilters("gutentor_save_container_class",s()("grid-container"),e)},wp.hooks.applyFilters("gutentor_save_before_block_items",[],e),wp.element.createElement("div",p({className:s()("gutentor-grid-item-wrap","none"!==y.Animation?"wow animated "+y.Animation:"")},Object(u.c)(y)),wp.element.createElement("div",{className:s()("gutentor-single-item")},wp.element.createElement("div",{className:"gutentor-single-item-image-box"},wp.element.createElement("a",{className:"gutentor-video-popup-holder",href:function(){return m&&"external-url"===m?g||"#":m&&"self-hosted-local"===m?r?r.url:"#":"https://www.youtube.com/watch?v=vfsKmujzC5M"}()},function(){return d&&"icon-holder"===d?wp.element.createElement("span",{className:"video-popup-icon-box"},wp.element.createElement("i",{className:c&&c.value?c.value:"fas fa-play"})," "):d&&"image-holder"===d?Object(l.g)(b,h,v,f,e,"save"):'<i className="fas fa-play"></i>'}())))),wp.hooks.applyFilters("gutentor_save_after_block_items",[],e)),wp.hooks.applyFilters("gutentor_save_after_container",[],e))}})},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function r(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var l=n(0),i=n.n(l),s=n(26),c=(n.n(s),n(4)),u=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},__=wp.i18n.__,m=wp.element.Component,g=wp.components,d=g.Button,f=g.Modal,b=Object(s.SortableHandle)(function(){return wp.element.createElement("i",{className:"dashicons dashicons-move"})}),h=Object(s.SortableElement)(function(e){var t=(e.itemStyle,e.onItemBoxChange,e.setItemStyle,e.sortableIndex),n=e.onRemove,o=e.gutentorSingleItem,a=e.gutentorAllProps;e.blockItemsWrapAnimation;return wp.element.createElement("div",{className:wp.hooks.applyFilters("gutentor_edit_grid_column_class","gutentor-progressbar-column",a)},wp.element.createElement("div",{className:"gutentor-column-inside"},wp.element.createElement("div",{className:"gutentor-control-actions"},wp.hooks.applyFilters("gutentor_edit_before_single_control",[],a,o,t),wp.element.createElement(b,null),wp.element.createElement("span",{onClick:function(){return n(t)}},wp.element.createElement("i",{className:"dashicons dashicons-trash"})),wp.hooks.applyFilters("gutentor_edit_after_single_control",[],a,o,t)),wp.hooks.applyFilters("gutentor_edit_before_single_item",[],a,o,t),wp.element.createElement("div",{className:i()("gutentor-single-item","gutentor-single-item-"+t)},wp.hooks.applyFilters("gutentor_edit_progress_bar_template_data",[],a,o,t))))}),v=Object(s.SortableContainer)(function(e){var t=e.items,n=e.onRemove,o=e.onItemBoxChange,a=e.setItemStyle,r=e.gutentorAllProps,l=e.blockItemsWrapAnimation;return wp.element.createElement("div",p({className:wp.hooks.applyFilters("gutentor_edit_grid_row_class","grid-row gutentor-grid-item-wrap",r)},wp.hooks.applyFilters("gutentor_edit_grid_row_attr",{},r),Object(c.c)(l)),t.map(function(e,t){return wp.element.createElement(h,{key:"item-"+t,index:t,itemStyle:e.itemStyle,sortableIndex:t,onRemove:n,onItemBoxChange:o,setItemStyle:a,gutentorAllProps:r,gutentorSingleItem:e,blockItemsWrapAnimation:l})}))}),w=function(e){function t(e){o(this,t);var n=a(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.onSortEnd=function(e){var t=e.oldIndex,o=e.newIndex,a=n.props,r=a.attributes,l=a.setAttributes,i=r.blockSortableItems.slice(0);l({blockSortableItems:Object(s.arrayMove)(i,t,o)}),n.updateTimeStamp()},n.updateTimeStamp=function(){(0,n.props.setAttributes)({timestamp:(new Date).getTime()})},n.state={isRemovePopup:!1,deleteTabID:null},n}return r(t,e),u(t,[{key:"render",value:function(){var e=this,t=this.props,n=t.attributes,o=t.setAttributes,a=n.blockSortableItems,r=n.blockItemsWrapAnimation,l=function(t){var n=a.slice(0);n.splice(t,1),o({blockSortableItems:n}),e.setState({isRemovePopup:!1})},s=function(t){e.setState({isRemovePopup:!0,deleteTabID:t})},c=function(){return e.state.isRemovePopup?wp.element.createElement(f,{title:__("Delete this Item?","gutentor"),className:i()("g-remove-popup"),onRequestClose:function(){e.setState({isRemovePopup:!1})},isDismissable:!1,shouldCloseOnClickOutside:!0},__("This will delete the item.","gutentor"),wp.element.createElement("div",{className:"g-remove-popup-actions"},wp.element.createElement(d,{isDefault:!0,onClick:function(){e.setState({isRemovePopup:!1})}},__("Cancel","gutentor")),wp.element.createElement(d,{isPrimary:!0,onClick:function(){l(e.state.deleteTabID)}},__("Delete","gutentor")))):""},u=function(t,n,r){var l=a.slice(0);l.map(function(e,o){n===o&&(l[o][r]=t)}),o({blockSortableItems:l}),e.updateTimeStamp()},p=function(t,n,r){var l=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],s=a.slice(0);s.map(function(e,o){n===o&&(i?s[o].itemStyle[r][l][i]=t:l?s[o].itemStyle[r][l]=t:s[o].itemStyle[r]=t)}),o({blockSortableItems:s}),e.updateTimeStamp()};return 0===a.length&&o({blockSortableItems:[{progressPercentage:__("0.00","gutentor"),progressPercentageUnit:__("%","gutentor")}]}),[wp.element.createElement(v,{items:a,axis:"xy",onSortEnd:this.onSortEnd,useDragHandle:!0,onRemove:s,onItemBoxChange:u,setItemStyle:p,blockItemsWrapAnimation:r,gutentorAllProps:this.props}),wp.element.createElement("div",{className:"gutentor-add-item"},wp.element.createElement(d,{isPrimary:!0,isLarge:!0,className:"gutentor-add-item-button",onClick:function(){return o({blockSortableItems:a.concat([{progressPercentage:__("0.00","gutentor"),progressPercentageUnit:__("%","gutentor")}])})}},wp.element.createElement("i",{className:"dashicons dashicons-plus"}),__("Add Item","gutentor"))),wp.element.createElement(c,null)]}}]),t}(m);t.a=w},function(e,t,n){"use strict";var o=n(150),a=n(395),r=n(0),l=n.n(r),i=n(2),s=n(5),c=n(4),u=n(13),p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},__=wp.i18n.__,m=wp.blocks.registerBlockType,g=wp.blockEditor.InspectorControls,d=wp.element.Fragment,f=wp.components,b=f.BaseControl,h=f.PanelBody,v=f.PanelRow;m("gutentor/image-slider",{title:__("Image Slider Widget","gutentor"),description:__("Add image, title, caption and button on each slider, also control your slider with multiple options.","gutentor"),icon:wp.element.createElement("img",{src:gutentor.sliderSvg}),category:"gutentor",keywords:[__("Gutentor Image Slider Block Widget","gutentor")],example:{},attributes:wp.hooks.applyFilters("gutentor_add_attributes",o.a),supports:{align:["wide","full"],html:!1},edit:function(e){var t=e.attributes,n=e.className,o=e.setAttributes,r=e.clientId,m=t.blockID,f=t.gutentorBlockName,w=t.blockSortableItems,y=t.blockImageSliderTemplate,_=t.blockSectionHtmlTag,k=t.blockNonRepeaterTabletFullWidth,E=t.blockNonRepeaterMobileFullWidth,C=t.blockImageSliderInfinite,O=t.blockImageSliderAutoPlay,j=t.blockImageSliderSpeed,x=t.blockImageSliderAutoPlaySpeed,I=t.blockImageSliderFade,T=t.blockImageSliderDots,F=t.blockImageSliderDotsTablet,B=t.blockImageSliderDotsMobile,S=t.blockImageSliderArrows,N=t.blockImageSliderArrowsTablet,P=t.blockImageSliderArrowsMobile,A=t.blockImageSliderNextArrow,M=t.blockImageSliderPrevArrow,D=t.blockComponentAnimation,H=t.blockItemsWrapAnimation,L=_;m!==r&&(o({blockID:r}),0===w.length&&o({blockSortableItems:[{image:"",bgColor:""}]})),void 0===f&&o({gutentorBlockName:e.name});var R=function(e){if("imageSlider-template2"===e)return!0};return wp.element.createElement(d,null,wp.element.createElement(g,{key:"inspector"},wp.element.createElement("div",{className:"gutentor-sidebar-inspectors"},wp.element.createElement(i.d,null,wp.element.createElement(i.b,null,wp.element.createElement(i.a,null,wp.element.createElement("i",{className:"dashicons dashicons-dashboard"}),__("General","gutentor")),wp.element.createElement(i.a,null,wp.element.createElement("i",{className:"dashicons dashicons-admin-generic"}),__("Advanced","gutentor"))),wp.element.createElement(i.c,null,wp.hooks.applyFilters("gutentor_edit_before_item_tab",[],e),wp.element.createElement(h,{title:__("Block Items","gutentor"),initialOpen:!1},wp.element.createElement(v,null,wp.element.createElement(i.d,null,wp.element.createElement(i.b,null,wp.element.createElement(i.a,null,wp.element.createElement("i",{className:"dashicons dashicons-dashboard"}),__("General","gutentor")),wp.element.createElement(i.a,null,wp.element.createElement("i",{className:"dashicons dashicons-edit"}),__("Style","gutentor")),wp.element.createElement(i.a,null,wp.element.createElement("i",{className:"dashicons dashicons-admin-generic"}),__("Advanced","gutentor"))),wp.element.createElement(i.c,null,wp.hooks.applyFilters("gutentor_edit_general_tab_start",[],e),wp.hooks.applyFilters("gutentor_edit_enable_block_template",!0,e)&&wp.element.createElement(u.a,{label:__("Template","gutentor"),value:y,onChange:function(e){o({blockImageSliderTemplate:e})},options:wp.hooks.applyFilters("gutentor_edit_template_options",[{value:"imageSlider-template1",label:'<img src="'+gutentor.dirUrl+'/assets/img/templates/image-slider/image-slider-template-1.svg" />'}],e)}),R(y)&&wp.hooks.applyFilters("gutentor_non_repeater_responsive_full_width_options",[],e),wp.hooks.applyFilters("gutentor_edit_general_tab_end",[],e)),wp.element.createElement(i.c,null,wp.hooks.applyFilters("gutentor_edit_style_tab_start",[],e),wp.hooks.applyFilters("gutentor_edit_style_tab_end",[],e)),wp.element.createElement(i.c,null,wp.hooks.applyFilters("gutentor_edit_items_advanced_options",[],e))))),wp.hooks.applyFilters("gutentor_edit_after_item_tab",[],e)),wp.element.createElement(i.c,null,wp.hooks.applyFilters("gutentor_edit_advanced_tab",[],e))))),Object(s.d)(e),wp.element.createElement(i.d,{className:"gutentor-editor-tabs"},wp.element.createElement(i.b,null,wp.element.createElement(i.a,null,wp.element.createElement("i",{className:"dashicons dashicons-images-alt"}),__("General","gutentor")),wp.element.createElement(i.a,null,wp.element.createElement("i",{className:"dashicons dashicons-edit"}),__("Slider Add/Edit","gutentor"))),wp.element.createElement(i.c,null,wp.element.createElement(L,p({id:"section-"+m,className:wp.hooks.applyFilters("gutentor_edit_section_class",l()("gutentor-section gutentor-image-slider",n,y||"",R(y)&&k?"gutentor-tablet-fullWidth":"",R(y)&&E?"gutentor-mobile-fullWidth":""),e)},Object(c.c)(D)),wp.hooks.applyFilters("gutentor_edit_before_container",[],e),wp.hooks.applyFilters("gutentor_edit_before_repeater_items",[],e),wp.element.createElement("div",p({className:l()("gutentor-grid-item-wrap","none"!==H.Animation?"wow animated "+H.Animation:"")},Object(c.c)(H)),wp.element.createElement("div",{className:"gutentor-slider-wrapper","data-dots":T,"data-dots-tablet":F,"data-dots-mobile":B,"data-arrows":S,"data-arrows-tablet":N,"data-arrows-mobile":P,"data-infinite":C,"data-nextarrow":A?A.value:"","data-prevarrow":M?M.value:"","data-autoplay":O,"data-autoplayspeed":x||"","data-fade":I,"data-speed":j||""},w.map(function(t,n){return wp.element.createElement("div",{className:l()("gutentor-slider-item")},wp.element.createElement("div",{className:l()("gutentor-single-item","gutentor-single-item-"+n)},wp.hooks.applyFilters("gutentor_save_image_slider_template_data",[],e,t,n)))}))),wp.hooks.applyFilters("gutentor_edit_after_repeater_items",[],e),wp.hooks.applyFilters("gutentor_edit_after_container",[],e))),wp.element.createElement(i.c,null,wp.element.createElement(b,{className:"gutentor-section imageSlider-repeater"},wp.element.createElement(a.a,e)))))},save:function(e){var t=e.attributes,n=e.className,o=(e.setAttributes,t.blockID),a=t.blockSortableItems,r=t.blockImageSliderTemplate,i=t.blockNonRepeaterTabletFullWidth,s=t.blockNonRepeaterMobileFullWidth,u=t.blockImageSliderInfinite,m=t.blockImageSliderAutoPlay,g=t.blockImageSliderSpeed,d=t.blockImageSliderAutoPlaySpeed,f=t.blockImageSliderFade,b=t.blockImageSliderDots,h=t.blockImageSliderDotsTablet,v=t.blockImageSliderDotsMobile,w=t.blockImageSliderArrows,y=t.blockImageSliderArrowsTablet,_=t.blockImageSliderArrowsMobile,k=t.blockImageSliderNextArrow,E=t.blockImageSliderPrevArrow,C=t.blockSectionHtmlTag,O=t.blockComponentAnimation,j=t.blockItemsWrapAnimation,x=C,I=function(e){if("imageSlider-template2"===e)return!0};return wp.element.createElement(x,p({id:"section-"+o,className:wp.hooks.applyFilters("gutentor_save_section_class",l()("gutentor-section gutentor-image-slider",n,r||"",I(r)&&i?"gutentor-tablet-fullWidth":"",I(r)&&s?"gutentor-mobile-fullWidth":""),e)},Object(c.c)(O)),wp.hooks.applyFilters("gutentor_save_before_container",[],e),wp.hooks.applyFilters("gutentor_save_before_repeater_items",[],e),wp.element.createElement("div",p({className:l()("gutentor-grid-item-wrap","none"!==j.Animation?"wow animated "+j.Animation:"")},Object(c.c)(j)),wp.element.createElement("div",{className:"gutentor-slider-wrapper","data-dots":b,"data-dots-tablet":h,"data-dots-mobile":v,"data-arrows":w,"data-arrows-tablet":y,"data-arrows-mobile":_,"data-infinite":u,"data-nextarrow":k?k.value:"","data-prevarrow":E?E.value:"","data-autoplay":m,"data-autoplayspeed":d||"","data-fade":f,"data-speed":g||""},a.map(function(t,n){return wp.element.createElement("div",{className:l()("gutentor-slider-item")},wp.element.createElement("div",{className:l()("gutentor-single-item","gutentor-single-item-"+n)},wp.hooks.applyFilters("gutentor_save_image_slider_template_data",[],e,t,n)))}))),wp.hooks.applyFilters("gutentor_save_after_repeater_items",[],e),wp.hooks.applyFilters("gutentor_save_after_container",[],e))}})},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function r(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var l=n(0),i=n.n(l),s=n(26),c=(n.n(s),function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}()),__=wp.i18n.__,u=wp.element.Component,p=wp.components,m=p.Button,g=p.PanelBody,d=p.PanelRow,f=p.Modal,b=Object(s.SortableHandle)(function(){return wp.element.createElement("i",{className:"dashicons dashicons-move"})}),h=Object(s.SortableElement)(function(e){var t=(e.itemStyle,e.onItemBoxChange,e.setItemStyle,e.sortableIndex),n=e.onRemove,o=e.gutentorAllProps,a=e.gutentorSingleItem;return wp.element.createElement("div",{className:"gutentor-repeater-item"},wp.element.createElement("div",{className:"gutentor-column-inside"},wp.element.createElement("div",{className:"gutentor-control-actions"},wp.hooks.applyFilters("gutentor_edit_before_single_control",[],o,a,t),wp.element.createElement(b,null),wp.element.createElement("span",{onClick:function(){return n(t)}},wp.element.createElement("i",{className:"dashicons dashicons-trash"}))),wp.element.createElement(g,{title:__("Single Slide Items","gutentor"),initialOpen:!1},wp.element.createElement(d,{className:"gutentor-full-width-panel-row"},wp.element.createElement("div",{className:"gutentor-control-actions"},wp.hooks.applyFilters("gutentor_edit_after_single_control",[],o,a,t)),wp.hooks.applyFilters("gutentor_edit_before_single_item",[],o,a,t),wp.element.createElement("div",{className:wp.hooks.applyFilters("gutentor_edit_single_item_class",i()("gutentor-single-item","gutentor-single-item-"+t),o,a,t)},wp.hooks.applyFilters("gutentor_edit_image_slider_template_data",[],o,a,t))))))}),v=Object(s.SortableContainer)(function(e){var t=e.items,n=e.onRemove,o=e.onItemBoxChange,a=e.setItemStyle,r=e.gutentorAllProps;return wp.element.createElement("div",{className:"gutentor-slider-wrapper gutentor-repeater-item-wrap"},t.map(function(e,t){return wp.element.createElement(h,{key:"item-"+t,index:t,itemStyle:e.itemStyle,sortableIndex:t,onRemove:n,onItemBoxChange:o,setItemStyle:a,gutentorAllProps:r,gutentorSingleItem:e})}))}),w=function(e){function t(e){o(this,t);var n=a(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.onSortEnd=function(e){var t=e.oldIndex,o=e.newIndex,a=n.props,r=a.attributes,l=a.setAttributes,i=r.blockSortableItems.slice(0);l({blockSortableItems:Object(s.arrayMove)(i,t,o)}),n.updateTimeStamp()},n.updateTimeStamp=function(){(0,n.props.setAttributes)({timestamp:(new Date).getTime()})},n.state={isRemovePopup:!1,deleteTabID:null},n}return r(t,e),c(t,[{key:"render",value:function(){var e=this,t=this.props,n=t.attributes,o=(t.className,t.setAttributes),a=n.blockSortableItems,r=function(t){var n=a.slice(0);n.splice(t,1),o({blockSortableItems:n}),e.setState({isRemovePopup:!1})},l=function(t){e.setState({isRemovePopup:!0,deleteTabID:t})},s=function(){return e.state.isRemovePopup?wp.element.createElement(f,{title:__("Delete this Item?","gutentor"),className:i()("g-remove-popup"),onRequestClose:function(){e.setState({isRemovePopup:!1})},isDismissable:!1,shouldCloseOnClickOutside:!0},__("This will delete the item.","gutentor"),wp.element.createElement("div",{className:"g-remove-popup-actions"},wp.element.createElement(m,{isDefault:!0,onClick:function(){e.setState({isRemovePopup:!1})}},__("Cancel","gutentor")),wp.element.createElement(m,{isPrimary:!0,onClick:function(){r(e.state.deleteTabID)}},__("Delete","gutentor")))):""},c=function(t,n,r){var l=a.slice(0);l.map(function(e,o){n===o&&(l[o][r]=t)}),o({blockSortableItems:l}),e.updateTimeStamp()},u=function(t,n,r){var l=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],s=a.slice(0);s.map(function(e,o){n===o&&(i?s[o].itemStyle[r][l][i]=t:l?s[o].itemStyle[r][l]=t:s[o].itemStyle[r]=t)}),o({blockSortableItems:s}),e.updateTimeStamp()};return 0===a.length&&o({blockSortableItems:[{image:"",bgColor:""}]}),[wp.element.createElement(v,{items:a,axis:"xy",onSortEnd:this.onSortEnd,useDragHandle:!0,onRemove:l,onItemBoxChange:c,setItemStyle:u,gutentorAllProps:this.props}),wp.element.createElement("div",{className:"gutentor-add-item"},wp.element.createElement(m,{isPrimary:!0,isLarge:!0,className:"gutentor-add-item-button",onClick:function(){return o({blockSortableItems:a.concat([{image:"",bgColor:""}])})}},wp.element.createElement("i",{className:"dashicons dashicons-plus"}),__("Add Item","gutentor"))),wp.element.createElement(s,null)]}}]),t}(u);t.a=w},function(e,t,n){"use strict";var o=n(5),a=n(0),r=n.n(a),l=n(2),i=(n(67),n(4)),s=n(13),c=n(154),u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},__=wp.i18n.__,p=wp.blocks.registerBlockType,m=wp.blockEditor.InspectorControls,g=wp.element.Fragment,d=wp.components,f=d.PanelBody,b=d.PanelRow;p("gutentor/author-profile",{title:__("Author Widget","gutentor"),description:__("Add a small author profile to increase credibility and authority.","gutentor"),icon:wp.element.createElement("img",{src:gutentor.authorSvgW}),category:"gutentor",keywords:[__("Gutentor Author Profile Block Widget","gutentor")],example:{},attributes:wp.hooks.applyFilters("gutentor_add_attributes",c.a),supports:{align:["wide","full"],html:!1},edit:function(e){var t=e.attributes,n=e.className,a=e.setAttributes,c=e.clientId,p=t.blockAuthorProfileTemplate,d=t.blockID,h=t.gutentorBlockName,v=t.blockSectionHtmlTag,w=t.blockNonRepeaterTabletFullWidth,y=t.blockNonRepeaterMobileFullWidth,_=t.blockComponentAnimation,k=t.blockItemsWrapAnimation,E=v;d!==c&&a({blockID:c}),void 0===h&&a({gutentorBlockName:e.name});var C=function(e){if("author-profile-template2"===e||"author-profile-template3"===e)return!0};return wp.element.createElement(g,null,wp.element.createElement(m,{key:"inspector"},wp.element.createElement("div",{className:"gutentor-sidebar-inspectors"},wp.element.createElement(l.d,null,wp.element.createElement(l.b,null,wp.element.createElement(l.a,null,wp.element.createElement("i",{className:"dashicons dashicons-dashboard"}),__("General","gutentor")),wp.element.createElement(l.a,null,wp.element.createElement("i",{className:"dashicons dashicons-admin-generic"}),__("Advanced","gutentor"))),wp.element.createElement(l.c,null,wp.hooks.applyFilters("gutentor_edit_before_item_tab",[],e),wp.element.createElement(f,{title:__("Block Items","gutentor"),initialOpen:!1},wp.element.createElement(b,null,wp.element.createElement(l.d,null,wp.element.createElement(l.b,null,wp.element.createElement(l.a,null,wp.element.createElement("i",{className:"dashicons dashicons-dashboard"}),__("General","gutentor")),wp.element.createElement(l.a,null,wp.element.createElement("i",{className:"dashicons dashicons-edit"}),__("Style","gutentor")),wp.element.createElement(l.a,null,wp.element.createElement("i",{className:"dashicons dashicons-admin-generic"}),__("Advanced","gutentor"))),wp.element.createElement(l.c,null,wp.hooks.applyFilters("gutentor_edit_general_tab_start",[],e),wp.hooks.applyFilters("gutentor_edit_enable_block_template",!0,e)&&wp.element.createElement(s.a,{label:__("Template","gutentor"),value:p,onChange:function(e){a({blockAuthorProfileTemplate:e})},options:wp.hooks.applyFilters("gutentor_edit_template_options",[{value:"author-profile-template1",label:'<img src="'+gutentor.dirUrl+'/assets/img/templates/author-profile/author-profile-template-1.svg" />'}],e)}),C(p)&&wp.hooks.applyFilters("gutentor_non_repeater_responsive_full_width_options",[],e),wp.hooks.applyFilters("gutentor_edit_general_tab_end",[],e)),wp.element.createElement(l.c,null,wp.hooks.applyFilters("gutentor_edit_style_tab_start",[],e),wp.element.createElement(f,{title:__("Image Box","gutentor"),initialOpen:!1},wp.element.createElement(b,null,wp.hooks.applyFilters("gutentor_image_box_edit_image_options_start",[],e),wp.hooks.applyFilters("gutentor_image_box_edit_additional_options",[],e),wp.hooks.applyFilters("gutentor_image_box_edit_image_options_end",[],e))),wp.hooks.applyFilters("gutentor_edit_style_tab_end",[],e)),wp.element.createElement(l.c,null,wp.hooks.applyFilters("gutentor_edit_items_advanced_options",[],e))))),wp.hooks.applyFilters("gutentor_edit_after_item_tab",[],e)),wp.element.createElement(l.c,null,wp.hooks.applyFilters("gutentor_edit_advanced_tab",[],e))))),wp.element.createElement(E,u({id:"section-"+d,className:wp.hooks.applyFilters("gutentor_edit_section_class",r()("gutentor-section gutentor-author",n,p||"",C(p)&&w?"gutentor-tablet-fullWidth":"",C(p)&&y?"gutentor-mobile-fullWidth":""),e)},Object(i.c)(_)),Object(o.d)(e),wp.hooks.applyFilters("gutentor_edit_before_container",[],e),wp.element.createElement("div",{className:wp.hooks.applyFilters("gutentor_edit_container_class","grid-container",e)},wp.hooks.applyFilters("gutentor_edit_before_block_items",[],e),wp.element.createElement("div",u({className:r()("gutentor-grid-item-wrap","none"!==k.Animation?"wow animated "+k.Animation:"")},Object(i.c)(k)),wp.element.createElement("div",{className:r()("gutentor-single-item")},wp.hooks.applyFilters("gutentor_edit_author_profile_block_template_data",[],e))),wp.hooks.applyFilters("gutentor_edit_after_block_items",[],e)),wp.hooks.applyFilters("gutentor_edit_after_container",[],e)))},save:function(e){var t=e.attributes,n=e.className,o=(e.setAttributes,t.blockAuthorProfileTemplate),a=t.blockID,l=t.blockNonRepeaterTabletFullWidth,s=t.blockNonRepeaterMobileFullWidth,c=t.blockSectionHtmlTag,p=t.blockComponentAnimation,m=t.blockItemsWrapAnimation,g=c,d=function(e){if("author-profile-template2"===e||"author-profile-template3"===e)return!0};return wp.element.createElement(g,u({id:"section-"+a,className:wp.hooks.applyFilters("gutentor_save_section_class",r()("gutentor-section gutentor-author",n,o||" ",d(o)&&l?"gutentor-tablet-fullWidth":"",d(o)&&s?"gutentor-mobile-fullWidth":""),e)},Object(i.c)(p)),wp.hooks.applyFilters("gutentor_save_before_container",[],e),wp.element.createElement("div",{className:wp.hooks.applyFilters("gutentor_save_container_class","grid-container",e)},wp.hooks.applyFilters("gutentor_save_before_block_items",[],e),wp.element.createElement("div",u({className:r()("gutentor-grid-item-wrap","none"!==m.Animation?"wow animated "+m.Animation:"")},Object(i.c)(m)),wp.element.createElement("div",{className:r()("gutentor-single-item")},wp.hooks.applyFilters("gutentor_save_author_profile_block_template_data",[],e))),wp.hooks.applyFilters("gutentor_save_after_block_items",[],e)),wp.hooks.applyFilters("gutentor_save_after_container",[],e))}})},function(e,t,n){"use strict";n.d(t,"a",function(){return o});var o={blockContainerParagraphEnable:{type:"boolean",default:!1,gCopy:!0},blockContainerParagraphColor:{type:"object",default:{enable:!1,normal:"",hover:""},gCopy:!0},blockContainerParagraphTypography:{type:"object",default:{fontType:"default",systemFont:"",googleFont:"",customFont:"",desktopFontSize:"",tabletFontSize:"",mobileFontSize:"",fontWeight:"",textTransform:"",fontStyle:"",textDecoration:"",desktopLineHeight:"",tabletLineHeight:"",mobileLineHeight:"",desktopLetterSpacing:"",tabletLetterSpacing:"",mobileLetterSpacing:""},gCopy:!0},blockContainerParagraphMargin:{type:"object",default:{type:"px",desktopTop:"",desktopRight:"",desktopBottom:"",desktopLeft:"",tabletTop:"",tabletRight:"",tabletBottom:"",tabletLeft:"",mobileTop:"",mobileRight:"",mobileBottom:"",mobileLeft:""},gCopy:!0},blockContainerParagraphPadding:{type:"object",default:{type:"px",desktopTop:"",desktopRight:"",desktopBottom:"",desktopLeft:"",tabletTop:"",tabletRight:"",tabletBottom:"",tabletLeft:"",mobileTop:"",mobileRight:"",mobileBottom:"",mobileLeft:""},gCopy:!0},blockContainerH1Enable:{type:"boolean",default:!1},blockContainerH1Color:{type:"object",default:{enable:!1,normal:"",hover:""},gCopy:!0},blockContainerH1Typography:{type:"object",default:{fontType:"default",systemFont:"",googleFont:"",customFont:"",desktopFontSize:"",tabletFontSize:"",mobileFontSize:"",fontWeight:"",textTransform:"",fontStyle:"",textDecoration:"",desktopLineHeight:"",tabletLineHeight:"",mobileLineHeight:"",desktopLetterSpacing:"",tabletLetterSpacing:"",mobileLetterSpacing:""},gCopy:!0},blockContainerH1Margin:{type:"object",default:{type:"px",desktopTop:"",desktopRight:"",desktopBottom:"",desktopLeft:"",tabletTop:"",tabletRight:"",tabletBottom:"",tabletLeft:"",mobileTop:"",mobileRight:"",mobileBottom:"",mobileLeft:""},gCopy:!0},blockContainerH1Padding:{type:"object",default:{type:"px",desktopTop:"",desktopRight:"",desktopBottom:"",desktopLeft:"",tabletTop:"",tabletRight:"",tabletBottom:"",tabletLeft:"",mobileTop:"",mobileRight:"",mobileBottom:"",mobileLeft:""},gCopy:!0},blockContainerH2Enable:{type:"boolean",default:!1},blockContainerH2Color:{type:"object",default:{enable:!1,normal:"",hover:""},gCopy:!0},blockContainerH2Typography:{type:"object",default:{fontType:"default",systemFont:"",googleFont:"",customFont:"",desktopFontSize:"",tabletFontSize:"",mobileFontSize:"",fontWeight:"",textTransform:"",fontStyle:"",textDecoration:"",desktopLineHeight:"",tabletLineHeight:"",mobileLineHeight:"",desktopLetterSpacing:"",tabletLetterSpacing:"",mobileLetterSpacing:""},gCopy:!0},blockContainerH2Margin:{type:"object",default:{type:"px",desktopTop:"",desktopRight:"",desktopBottom:"",desktopLeft:"",tabletTop:"",tabletRight:"",tabletBottom:"",tabletLeft:"",mobileTop:"",mobileRight:"",mobileBottom:"",mobileLeft:""},gCopy:!0},blockContainerH2Padding:{type:"object",default:{type:"px",desktopTop:"",desktopRight:"",desktopBottom:"",desktopLeft:"",tabletTop:"",tabletRight:"",tabletBottom:"",tabletLeft:"",mobileTop:"",mobileRight:"",mobileBottom:"",mobileLeft:""},gCopy:!0},blockContainerH3Enable:{type:"boolean",default:!1},blockContainerH3Color:{type:"object",default:{enable:!1,normal:"",hover:""},gCopy:!0},blockContainerH3Typography:{type:"object",default:{fontType:"default",systemFont:"",googleFont:"",customFont:"",desktopFontSize:"",tabletFontSize:"",mobileFontSize:"",fontWeight:"",textTransform:"",fontStyle:"",textDecoration:"",desktopLineHeight:"",tabletLineHeight:"",mobileLineHeight:"",desktopLetterSpacing:"",tabletLetterSpacing:"",mobileLetterSpacing:""},gCopy:!0},blockContainerH3Margin:{type:"object",default:{type:"px",desktopTop:"",desktopRight:"",desktopBottom:"",desktopLeft:"",tabletTop:"",tabletRight:"",tabletBottom:"",tabletLeft:"",mobileTop:"",mobileRight:"",mobileBottom:"",mobileLeft:""},gCopy:!0},blockContainerH3Padding:{type:"object",default:{type:"px",desktopTop:"",desktopRight:"",desktopBottom:"",desktopLeft:"",tabletTop:"",tabletRight:"",tabletBottom:"",tabletLeft:"",mobileTop:"",mobileRight:"",mobileBottom:"",mobileLeft:""},gCopy:!0},blockContainerH4Enable:{type:"boolean",default:!1},blockContainerH4Color:{type:"object",default:{enable:!1,normal:"",hover:""},gCopy:!0},blockContainerH4Typography:{type:"object",default:{fontType:"default",systemFont:"",googleFont:"",customFont:"",desktopFontSize:"",tabletFontSize:"",mobileFontSize:"",fontWeight:"",textTransform:"",fontStyle:"",textDecoration:"",desktopLineHeight:"",tabletLineHeight:"",mobileLineHeight:"",desktopLetterSpacing:"",tabletLetterSpacing:"",mobileLetterSpacing:""},gCopy:!0},blockContainerH4Margin:{type:"object",default:{type:"px",desktopTop:"",desktopRight:"",desktopBottom:"",desktopLeft:"",tabletTop:"",tabletRight:"",tabletBottom:"",tabletLeft:"",mobileTop:"",mobileRight:"",mobileBottom:"",mobileLeft:""},gCopy:!0},blockContainerH4Padding:{type:"object",default:{type:"px",desktopTop:"",desktopRight:"",desktopBottom:"",desktopLeft:"",tabletTop:"",tabletRight:"",tabletBottom:"",tabletLeft:"",mobileTop:"",mobileRight:"",mobileBottom:"",mobileLeft:""},gCopy:!0},blockContainerH5Enable:{type:"boolean",default:!1,gCopy:!0},blockContainerH5Color:{type:"object",default:{enable:!1,normal:"",hover:""},gCopy:!0},blockContainerH5Typography:{type:"object",default:{fontType:"default",systemFont:"",googleFont:"",customFont:"",desktopFontSize:"",tabletFontSize:"",mobileFontSize:"",fontWeight:"",textTransform:"",fontStyle:"",textDecoration:"",desktopLineHeight:"",tabletLineHeight:"",mobileLineHeight:"",desktopLetterSpacing:"",tabletLetterSpacing:"",mobileLetterSpacing:""},gCopy:!0},blockContainerH5Margin:{type:"object",default:{type:"px",desktopTop:"",desktopRight:"",desktopBottom:"",desktopLeft:"",tabletTop:"",tabletRight:"",tabletBottom:"",tabletLeft:"",mobileTop:"",mobileRight:"",mobileBottom:"",mobileLeft:""},gCopy:!0},blockContainerH5Padding:{type:"object",default:{type:"px",desktopTop:"",desktopRight:"",desktopBottom:"",desktopLeft:"",tabletTop:"",tabletRight:"",tabletBottom:"",tabletLeft:"",mobileTop:"",mobileRight:"",mobileBottom:"",mobileLeft:""},gCopy:!0},blockContainerH6Enable:{type:"boolean",default:!1,gCopy:!0},blockContainerH6Color:{type:"object",default:{enable:!1,normal:"",hover:""},gCopy:!0},blockContainerH6Typography:{type:"object",default:{fontType:"default",systemFont:"",googleFont:"",customFont:"",desktopFontSize:"",tabletFontSize:"",mobileFontSize:"",fontWeight:"",textTransform:"",fontStyle:"",textDecoration:"",desktopLineHeight:"",tabletLineHeight:"",mobileLineHeight:"",desktopLetterSpacing:"",tabletLetterSpacing:"",mobileLetterSpacing:""},gCopy:!0},blockContainerH6Margin:{type:"object",default:{type:"px",desktopTop:"",desktopRight:"",desktopBottom:"",desktopLeft:"",tabletTop:"",tabletRight:"",tabletBottom:"",tabletLeft:"",mobileTop:"",mobileRight:"",mobileBottom:"",mobileLeft:""},gCopy:!0},blockContainerH6Padding:{type:"object",default:{type:"px",desktopTop:"",desktopRight:"",desktopBottom:"",desktopLeft:"",tabletTop:"",tabletRight:"",tabletBottom:"",tabletLeft:"",mobileTop:"",mobileRight:"",mobileBottom:"",mobileLeft:""},gCopy:!0}}},function(e,t,n){"use strict";var o=n(5),a=n(0),r=n.n(a),l=n(2),i=n(4),s=n(13),c=n(155),u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},__=wp.i18n.__,p=wp.blocks.registerBlockType,m=wp.blockEditor.InspectorControls,g=wp.element.Fragment,d=wp.components,f=d.PanelBody,b=d.PanelRow;p("gutentor/call-to-action",{title:__("Call To Action Widget","gutentor"),description:__("An feature call to action area with a small amount of text and a call to action button.","gutentor"),icon:wp.element.createElement("img",{src:gutentor.calltoactionSvgW}),category:"gutentor",keywords:[__("Gutentor Feature Call To Action Block Widget","gutentor")],attributes:wp.hooks.applyFilters("gutentor_add_attributes",c.a),supports:{align:["wide","full"],html:!1},edit:function(e){var t=e.attributes,n=e.className,a=e.setAttributes,c=e.clientId,p=t.blockCallToActionTemplate,d=t.blockID,h=t.gutentorBlockName,v=t.blockSectionHtmlTag,w=t.blockNonRepeaterTabletFullWidth,y=t.blockNonRepeaterMobileFullWidth,_=t.blockComponentAnimation,k=t.blockItemsWrapAnimation,E=v;d!==c&&a({blockID:c}),void 0===h&&a({gutentorBlockName:e.name,blockSingleItemButtonEnable:!0});var C=function(e){if("call-to-action-template6"===e||"call-to-action-template7"===e)return!0};return wp.element.createElement(g,null,wp.element.createElement(m,{key:"inspector"},wp.element.createElement("div",{className:"gutentor-sidebar-inspectors"},wp.element.createElement(l.d,null,wp.element.createElement(l.b,null,wp.element.createElement(l.a,null,wp.element.createElement("i",{className:"dashicons dashicons-dashboard"}),__("General","gutentor")),wp.element.createElement(l.a,null,wp.element.createElement("i",{className:"dashicons dashicons-admin-generic"}),__("Advanced","gutentor"))),wp.element.createElement(l.c,null,wp.hooks.applyFilters("gutentor_edit_before_item_tab",[],e),wp.element.createElement(f,{title:__("Block Items","gutentor"),initialOpen:!1},wp.element.createElement(b,null,wp.element.createElement(l.d,null,wp.element.createElement(l.b,null,wp.element.createElement(l.a,null,wp.element.createElement("i",{className:"dashicons dashicons-dashboard"}),__("General","gutentor")),wp.element.createElement(l.a,null,wp.element.createElement("i",{className:"dashicons dashicons-edit"}),__("Style","gutentor")),wp.element.createElement(l.a,null,wp.element.createElement("i",{className:"dashicons dashicons-admin-generic"}),__("Advanced","gutentor"))),wp.element.createElement(l.c,null,wp.hooks.applyFilters("gutentor_edit_general_tab_start",[],e),wp.hooks.applyFilters("gutentor_edit_enable_block_template",!0,e)&&wp.element.createElement(s.a,{label:__("Template","gutentor"),value:p,onChange:function(e){a({blockCallToActionTemplate:e})},options:wp.hooks.applyFilters("gutentor_edit_template_options",[{value:"call-to-action-template1",label:'<img src="'+gutentor.dirUrl+'/assets/img/templates/call-to-action/call-to-action-template-1.svg" />'},{value:"call-to-action-template2",label:'<img src="'+gutentor.dirUrl+'/assets/img/templates/call-to-action/call-to-action-template-2.svg" />'},{value:"call-to-action-template3",label:'<img src="'+gutentor.dirUrl+'/assets/img/templates/call-to-action/call-to-action-template-3.svg" />'}],e)}),C(p)&&wp.hooks.applyFilters("gutentor_non_repeater_responsive_full_width_options",[],e),wp.hooks.applyFilters("gutentor_edit_general_tab_end",[],e)),wp.element.createElement(l.c,null,wp.hooks.applyFilters("gutentor_edit_style_tab_start",[],e),wp.hooks.applyFilters("gutentor_call_to_action_additional_options_start",[],e),wp.hooks.applyFilters("gutentor_call_to_action_additional_options_end",[],e),wp.hooks.applyFilters("gutentor_edit_style_tab_end",[],e)),wp.element.createElement(l.c,null,wp.hooks.applyFilters("gutentor_edit_items_advanced_options",[],e))))),wp.hooks.applyFilters("gutentor_edit_after_item_tab",[],e)),wp.element.createElement(l.c,null,wp.hooks.applyFilters("gutentor_edit_advanced_tab",[],e))))),wp.element.createElement(E,u({id:"section-"+d,className:wp.hooks.applyFilters("gutentor_edit_section_class",r()("gutentor-section gutentor-calltoaction",n,p||"",C(p)&&w?"gutentor-tablet-fullWidth":"",C(p)&&y?"gutentor-mobile-fullWidth":""),e)},Object(i.c)(_)),Object(o.d)(e),wp.hooks.applyFilters("gutentor_edit_before_container",[],e),wp.element.createElement("div",{className:wp.hooks.applyFilters("gutentor_edit_container_class","grid-container",e)},wp.hooks.applyFilters("gutentor_edit_before_block_items",[],e),wp.element.createElement("div",u({className:r()("gutentor-grid-item-wrap","none"!==k.Animation?"wow animated "+k.Animation:"")},Object(i.c)(k)),wp.hooks.applyFilters("gutentor_edit_call_to_action_block_template_data",[],e)),wp.hooks.applyFilters("gutentor_edit_after_block_items",[],e)),wp.hooks.applyFilters("gutentor_edit_after_container",[],e)))},save:function(e){var t=e.attributes,n=e.className,o=(e.setAttributes,t.blockCallToActionTemplate),a=t.blockNonRepeaterTabletFullWidth,l=t.blockNonRepeaterMobileFullWidth,s=t.blockID,c=t.blockSectionHtmlTag,p=t.blockComponentAnimation,m=t.blockItemsWrapAnimation,g=c,d=function(e){if("call-to-action-template6"===e||"call-to-action-template7"===e)return!0};return wp.element.createElement(g,u({id:"section-"+s,className:wp.hooks.applyFilters("gutentor_save_section_class",r()("gutentor-section gutentor-calltoaction",n,o||" ",d(o)&&a?"gutentor-tablet-fullWidth":"",d(o)&&l?"gutentor-mobile-fullWidth":""),e)},Object(i.c)(p)),wp.hooks.applyFilters("gutentor_save_before_container",[],e),wp.element.createElement("div",{className:wp.hooks.applyFilters("gutentor_save_container_class","grid-container",e)},wp.hooks.applyFilters("gutentor_save_before_block_items",[],e),wp.element.createElement("div",u({className:r()("gutentor-grid-item-wrap","none"!==m.Animation?"wow animated "+m.Animation:"")},Object(i.c)(m)),wp.hooks.applyFilters("gutentor_save_call_to_action_block_template_data",[],e)),wp.hooks.applyFilters("gutentor_save_after_block_items",[],e)),wp.hooks.applyFilters("gutentor_save_after_container",[],e))}})},function(e,t,n){"use strict";var o=n(156),a=n(5),r=n(0),l=n.n(r),i=n(2),s=n(4),c=n(13),u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},__=wp.i18n.__,p=wp.blocks.registerBlockType,m=wp.blockEditor.InspectorControls,g=wp.element.Fragment,d=wp.components,f=d.PanelBody,b=d.PanelRow;p("gutentor/count-down",{title:__("Countdown Widget","gutentor"),description:__("Create Countdown for your upcoming event and festivals.","gutentor"),icon:wp.element.createElement("img",{src:gutentor.countdownSvgW}),category:"gutentor",keywords:[__("Gutentor Count Down Countdown Column Grid Block Widget","gutentor")],example:{},attributes:wp.hooks.applyFilters("gutentor_add_attributes",o.a),supports:{align:["wide","full"],html:!1},edit:function(e){var t=e.attributes,n=e.className,o=e.setAttributes,r=e.clientId,p=t.blockCountDownTemplate,d=t.gutentorBlockName,h=t.blockID,v=(t.align,t.blockSectionHtmlTag),w=t.blockComponentAnimation,y=t.blockItemsWrapAnimation,_=v;return h!==r&&o({blockID:r}),void 0===d&&o({gutentorBlockName:e.name}),wp.element.createElement(g,null,wp.element.createElement(m,{key:"inspector"},wp.element.createElement("div",{className:"gutentor-sidebar-inspectors"},wp.element.createElement(i.d,null,wp.element.createElement(i.b,null,wp.element.createElement(i.a,null,wp.element.createElement("i",{className:"dashicons dashicons-dashboard"}),__("General","gutentor")),wp.element.createElement(i.a,null,wp.element.createElement("i",{className:"dashicons dashicons-admin-generic"}),__("Advanced","gutentor"))),wp.element.createElement(i.c,null,wp.hooks.applyFilters("gutentor_edit_before_item_tab",[],e),wp.element.createElement(f,{title:__("Block Items","gutentor"),initialOpen:!1},wp.element.createElement(b,null,wp.element.createElement(i.d,null,wp.element.createElement(i.b,null,wp.element.createElement(i.a,null,wp.element.createElement("i",{className:"dashicons dashicons-dashboard"}),__("General","gutentor")),wp.element.createElement(i.a,null,wp.element.createElement("i",{className:"dashicons dashicons-edit"}),__("Style","gutentor")),wp.element.createElement(i.a,null,wp.element.createElement("i",{className:"dashicons dashicons-admin-generic"}),__("Advanced","gutentor"))),wp.element.createElement(i.c,null,wp.hooks.applyFilters("gutentor_edit_general_tab_start",[],e),wp.hooks.applyFilters("gutentor_edit_enable_block_template",!0,e)&&wp.element.createElement(c.a,{label:__("Template","gutentor"),value:p,onChange:function(e){o({blockCountDownTemplate:e})},options:wp.hooks.applyFilters("gutentor_edit_template_options",[{value:"count-down-template1",label:'<img src="'+gutentor.dirUrl+'/assets/img/templates/count-down/count-down-template-1.svg" />'}],e)}),wp.hooks.applyFilters("gutentor_edit_general_tab_end",[],e)),wp.element.createElement(i.c,null,wp.hooks.applyFilters("gutentor_edit_style_tab_start",[],e),wp.hooks.applyFilters("gutentor_count_down_additional_options_start",[],e),wp.hooks.applyFilters("gutentor_count_down_additional_options_end",[],e),wp.hooks.applyFilters("gutentor_edit_style_tab_end",[],e)),wp.element.createElement(i.c,null,wp.hooks.applyFilters("gutentor_edit_items_advanced_options",[],e))))),wp.hooks.applyFilters("gutentor_edit_after_item_tab",[],e)),wp.element.createElement(i.c,null,wp.hooks.applyFilters("gutentor_edit_advanced_tab",[],e))))),wp.element.createElement(_,u({id:"section-"+h,className:wp.hooks.applyFilters("gutentor_edit_section_class",l()("gutentor-section gutentor-countdown",n,p||""),e)},Object(s.c)(w)),Object(a.d)(e),wp.hooks.applyFilters("gutentor_edit_before_container",[],e),wp.element.createElement("div",{className:wp.hooks.applyFilters("gutentor_edit_container_class","grid-container",e)},wp.hooks.applyFilters("gutentor_edit_before_block_items",[],e),wp.element.createElement("div",u({className:l()("gutentor-grid-item-wrap","none"!==y.Animation?"wow animated "+y.Animation:"")},Object(s.c)(y)),wp.hooks.applyFilters("gutentor_edit_count_down_block_template_data",[],e)),wp.hooks.applyFilters("gutentor_edit_after_block_items",[],e)),wp.hooks.applyFilters("gutentor_edit_after_container",[],e)))},save:function(e){var t=e.attributes,n=e.className,o=(e.setAttributes,t.blockID),a=t.blockCountDownTemplate,r=t.blockSectionHtmlTag,i=t.blockComponentAnimation,c=t.blockItemsWrapAnimation,p=r;return wp.element.createElement(p,u({id:"section-"+o,className:wp.hooks.applyFilters("gutentor_save_section_class",l()("gutentor-section gutentor-countdown",n,a||" "),e)},Object(s.c)(i)),wp.hooks.applyFilters("gutentor_save_before_container",[],e),wp.element.createElement("div",{className:wp.hooks.applyFilters("gutentor_save_container_class","grid-container",e)},wp.hooks.applyFilters("gutentor_save_before_block_items",[],e),wp.element.createElement("div",u({className:l()("gutentor-grid-item-wrap","none"!==c.Animation?"wow animated "+c.Animation:"")},Object(s.c)(c)),wp.hooks.applyFilters("gutentor_save_count_down_block_template_data",[],e)),wp.hooks.applyFilters("gutentor_save_after_block_items",[],e)),wp.hooks.applyFilters("gutentor_save_after_container",[],e))}})},function(e,t,n){"use strict";var o=n(401),a=n(159),__=wp.i18n.__;(0,wp.blocks.registerBlockType)("gutentor/google-map",{title:__("Google Map Widget","gutentor"),description:__("Add a Google map, add address and pin your location.","gutentor"),icon:wp.element.createElement("img",{src:gutentor.mapSvgW}),category:"gutentor",keywords:[__("Gutentor Google Map Address Location Box Block Widget","gutentor")],example:{},attributes:wp.hooks.applyFilters("gutentor_add_attributes",a.a),supports:{align:["wide","full"],html:!1},edit:o.a,save:function(){return null}})},function(e,t,n){"use strict";function o(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function a(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,n){function o(a,r){try{var l=t[a](r),i=l.value}catch(e){return void n(e)}if(!l.done)return Promise.resolve(i).then(function(e){o("next",e)},function(e){o("throw",e)});e(i)}return o("next")})}}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function i(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var s=n(33),c=n.n(s),u=n(78),p=n.n(u),m=n(2),g=n(404),d=n(0),f=n.n(d),b=n(5),h=n(42),v=n(46),w=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},y=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),__=wp.i18n.__,_=wp.components,k=_.PanelBody,E=_.PanelRow,C=_.BaseControl,O=_.Button,j=_.ExternalLink,x=_.Placeholder,I=_.RangeControl,T=_.SelectControl,F=_.Spinner,B=_.TextControl,S=_.ToggleControl,N=wp.blockEditor.InspectorControls,P=wp.element,A=P.Component,M=P.Fragment,D=function(e){function t(){r(this,t);var e=l(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments));return e.enqueueScript=e.enqueueScript.bind(e),e.initMap=e.initMap.bind(e),e.initSearch=e.initSearch.bind(e),e.cycleMarkers=e.cycleMarkers.bind(e),e.changeAPI=e.changeAPI.bind(e),e.saveAPIKey=e.saveAPIKey.bind(e),e.changeLocation=e.changeLocation.bind(e),e.addMarker=e.addMarker.bind(e),e.addInfoWindow=e.addInfoWindow.bind(e),e.removeMarker=e.removeMarker.bind(e),e.removeMarkers=e.removeMarkers.bind(e),e.changeLatitude=e.changeLatitude.bind(e),e.changeLongitude=e.changeLongitude.bind(e),e.changeMapType=e.changeMapType.bind(e),e.changeZoom=e.changeZoom.bind(e),e.toggleDraggable=e.toggleDraggable.bind(e),e.toggleMapTypeControl=e.toggleMapTypeControl.bind(e),e.toggleZoomControl=e.toggleZoomControl.bind(e),e.toggleFullScreenControl=e.toggleFullScreenControl.bind(e),e.toggleStreetViewControl=e.toggleStreetViewControl.bind(e),e.changeMarkerProp=e.changeMarkerProp.bind(e),window.isMapLoaded=window.isMapLoaded||!1,window.removeMarker=e.removeMarker,e.state={api:"",isAPILoaded:!1,isAPISaved:!1,isSaving:!1,isPlaceAPIAvailable:!0},e.settings,wp.api.loadPromise.then(function(){e.settings=new wp.api.models.Settings}),e.link=document.createElement("script"),e.link.type="text/javascript",e.link.async=!0,e.link.defer=!0,e.link.id="gutentor-google-map-api-loading",e.map,e.searchBox,e.name,e.markers=[],e}return i(t,e),y(t,[{key:"setThisSetting",value:function(){function e(){return t.apply(this,arguments)}var t=a(c.a.mark(function e(){var t=this;return c.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,wp.api.loadPromise.then(function(){t.settings=new wp.api.models.Settings});case 2:case"end":return e.stop()}},e,this)}));return e}()},{key:"componentDidMount",value:function(){function e(){return t.apply(this,arguments)}var t=a(c.a.mark(function e(){var t,n=this;return c.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0!==this.props.attributes.id&&this.props.attributes.id.substr(this.props.attributes.id.length-8)===this.props.clientId.substr(0,8)||(t="gutentor-google-map-"+this.props.clientId.substr(0,8),this.props.setAttributes({id:t})),!1!==Boolean(gutentor.mapsAPI)){e.next=9;break}if(this.state.isAPILoaded){e.next=7;break}if(this.settings){e.next=6;break}return e.next=6,this.setThisSetting();case 6:this.settings.fetch().then(function(e){n.setState({api:e.gutentor_map_api,isAPILoaded:!0}),""!==e.gutentor_map_api&&(n.setState({isAPISaved:!0}),n.enqueueScript(e.gutentor_map_api))});case 7:e.next=10;break;case 9:this.state.isAPILoaded||(this.setState({api:gutentor.mapsAPI,isAPILoaded:!0,isAPISaved:!0}),this.enqueueScript(gutentor.mapsAPI));case 10:case"end":return e.stop()}},e,this)}));return e}()},{key:"componentDidUpdate",value:function(e){if(this.props.isSelected!==e.isSelected&&!1!==this.state.isAPISaved){var t=this.props.isSelected;this.map&&this.map.setOptions({mapTypeControl:!!t||this.props.attributes.mapTypeControl,zoomControl:!!t||this.props.attributes.zoomControl,fullscreenControl:!!t||this.props.attributes.fullscreenControl,streetViewControl:!!t||this.props.attributes.streetViewControl})}}},{key:"enqueueScript",value:function(e){var t=this;window.isMapLoaded||(window.isMapLoaded=!0,this.link.onload=function(){document.getElementById("gutentor-google-map-api-loading").id="gutentor-google-map-api",t.initMap()},this.link.src="https://maps.googleapis.com/maps/api/js?key="+e+"&libraries=places&cache="+Math.random(),document.head.appendChild(this.link)),document.getElementById("gutentor-google-map-api")&&this.initMap()}},{key:"initMap",value:function(){var e=this;if(document.getElementById(this.props.attributes.id)){if(this.map=new google.maps.Map(document.getElementById(this.props.attributes.id),{center:{lat:Number(this.props.attributes.latitude)||41.4036299,lng:Number(this.props.attributes.longitude)||2.1743558000000576},gestureHandling:"cooperative",zoom:this.props.attributes.zoom,mapTypeId:this.props.attributes.type}),this.props.attributes.location&&void 0===this.props.attributes.latitude&&void 0===this.props.attributes.longitude){var t={query:this.props.attributes.location,fields:["name","geometry"]};new google.maps.places.PlacesService(this.map).findPlaceFromQuery(t,function(t,n){n===google.maps.places.PlacesServiceStatus.OK&&0<t.length&&e.map.setCenter(t[0].geometry.location)})}this.map.addListener("zoom_changed",function(){var t=e.map.getZoom();e.props.setAttributes({zoom:t})}),this.map.addListener("maptypeid_changed",function(){var t=e.map.getMapTypeId();e.props.setAttributes({type:t})}),this.map.addListener("bounds_changed",function(){var t=e.map.getCenter(),n=t.lat(),o=t.lng();e.props.setAttributes({latitude:n.toString(),longitude:o.toString()})}),0<this.props.attributes.markers.length&&this.cycleMarkers(this.props.attributes.markers);var n={query:this.props.attributes.location,fields:["name","geometry"]};new google.maps.places.PlacesService(this.map).findPlaceFromQuery(n,function(t,n){"REQUEST_DENIED"===n&&e.setState({isPlaceAPIAvailable:!1})})}}},{key:"initSearch",value:function(e){var t=this;this.searchBox=new google.maps.places.SearchBox(e.target),this.searchBox.addListener("places_changed",function(){var e=t.searchBox.getPlaces();e&&0<e.length&&e.forEach(function(e){t.name=e.name||__("Custom Marker","gutentor");var n=e.geometry.location.lat(),o=e.geometry.location.lng(),a=new google.maps.LatLng(n,o);t.map.setCenter(a),t.props.setAttributes({location:e.formatted_address||e.name,latitude:n.toString(),longitude:o.toString()})})})}},{key:"addMarker",value:function(){var e=this,t=this.props.attributes.latitude,n=this.props.attributes.longitude,a=new google.maps.LatLng(t,n),r=__("Custom Marker","gutentor"),l=p()(),i=new google.maps.Marker({position:a,map:this.map,title:r,draggable:!0});google.maps.event.addListener(i,"dragend",function(t){var n=t.latLng.lat(),o=t.latLng.lng();e.changeMarkerProp(l,"latitude",n),e.changeMarkerProp(l,"longitude",o)}),this.markers.push(i);var s=[].concat(o(this.props.attributes.markers)),c={id:l,location:"",title:r,description:"",latitude:t,longitude:n};s.push(c),this.props.setAttributes({markers:s}),this.addInfoWindow(i,c.id,r)}},{key:"addInfoWindow",value:function(e,t,n,o){var a=this,r='<div class="gutentor-map-overview"><h6 class="gutentor-map-overview-title">'+n+'</h6><div class="gutentor-map-overview-content">'+(o?"<p>"+o+"</p>":"")+'<a class="gutentor-map-overview-delete" onclick="removeMarker( \''+t+"' )\">"+__("Delete Marker","gutentor")+"</a></div></div>",l=new google.maps.InfoWindow({content:r});e.addListener("click",function(){l.open(a.map,e)})}},{key:"removeMarker",value:function(e){var t=[].concat(o(this.props.attributes.markers));t=t.filter(function(t){return t.id!==e}),this.props.setAttributes({markers:t}),this.removeMarkers(),0<t.length&&this.cycleMarkers(t)}},{key:"removeMarkers",value:function(){for(var e=0;e<this.markers.length;e++)this.markers[e].setMap(null);this.markers=[]}},{key:"cycleMarkers",value:function(e){var t=this;e.forEach(function(e){var n=e.latitude,o=e.longitude,a=new google.maps.LatLng(n,o),r=new google.maps.Marker({position:a,map:t.map,title:e.title,draggable:!0});google.maps.event.addListener(r,"dragend",function(n){var o=n.latLng.lat(),a=n.latLng.lng();t.changeMarkerProp(e.id,"latitude",o),t.changeMarkerProp(e.id,"longitude",a)}),t.markers.push(r),t.addInfoWindow(r,e.id,e.title,e.description)})}},{key:"changeAPI",value:function(e){this.setState({api:e})}},{key:"saveAPIKey",value:function(){var e=this;if(!1===Boolean(gutentor.mapsAPI)){this.setState({isSaving:!0});var t=new wp.api.models.Settings({gutentor_map_api:this.state.api}),n=t.save();n.success(function(t,n){if("success"===n){var o=!1;e.settings.fetch(),""!==t.gutentor_map_api&&(o=!0),e.setState({isSaving:!1,isAPISaved:o}),""!==t.gutentor_map_api&&(window.isMapLoaded=!1,e.enqueueScript(t.gutentor_map_api))}e.settings.fetch()}),n.error(function(e,t){})}}},{key:"changeLocation",value:function(e){this.props.setAttributes({location:e.target.value})}},{key:"changeLatitude",value:function(e){this.props.setAttributes({latitude:e.toString()});var t=Number(e),n=this.props.attributes.longitude,o=new google.maps.LatLng(t,n);this.map.setCenter(o)}},{key:"changeLongitude",value:function(e){this.props.setAttributes({longitude:e.toString()});var t=this.props.attributes.latitude,n=Number(e),o=new google.maps.LatLng(t,n);this.map.setCenter(o)}},{key:"changeMapType",value:function(e){this.props.setAttributes({type:e}),this.map.setMapTypeId(google.maps.MapTypeId[e.toUpperCase()])}},{key:"changeZoom",value:function(e){this.props.setAttributes({zoom:e}),this.map.setZoom(e)}},{key:"toggleDraggable",value:function(){this.props.setAttributes({draggable:!this.props.attributes.draggable})}},{key:"toggleMapTypeControl",value:function(){this.props.setAttributes({mapTypeControl:!this.props.attributes.mapTypeControl})}},{key:"toggleZoomControl",value:function(){this.props.setAttributes({zoomControl:!this.props.attributes.zoomControl})}},{key:"toggleFullScreenControl",value:function(){this.props.setAttributes({fullscreenControl:!this.props.attributes.fullscreenControl})}},{key:"toggleStreetViewControl",value:function(){this.props.setAttributes({streetViewControl:!this.props.attributes.streetViewControl})}},{key:"changeMarkerProp",value:function(e,t,n){var a=[].concat(o(this.props.attributes.markers));a.map(function(o){if(o.id===e)return o[t]=n}),this.removeMarkers(),this.cycleMarkers(a),this.props.setAttributes({markers:a})}},{key:"render",value:function(){var e=this;if(!this.state.isAPILoaded)return wp.element.createElement(x,null,wp.element.createElement(F,null),__("Loading\u2026","gutentor"));if(!this.state.isAPISaved)return wp.element.createElement("div",{className:f()("gutentor-google-map")},wp.element.createElement(x,{icon:"location-alt",instructions:__("A Google Maps API key is required, please enter one below.","gutentor")},wp.element.createElement("div",{className:"google-map-form"},wp.element.createElement(B,{type:"text",placeholder:__("Google Maps API Key","gutentor"),value:this.state.api,className:"components-placeholder__input",onChange:this.changeAPI}),wp.element.createElement(O,{isPrimary:!0,type:"submit",onClick:this.saveAPIKey,isBusy:this.state.isSaving,disabled:""===this.state.api},__("Save API Key","gutentor"))),wp.element.createElement("div",{className:"components-placeholder__instructions"},wp.element.createElement("p",{className:"components-placeholder__text"},__("Need an API key? Get one ","gutentor"),wp.element.createElement(j,{href:"https://developers.google.com/maps/documentation/javascript/get-api-key"},__("here.","gutentor"))))));this.props.attributes.blockID!==this.props.clientId&&this.props.setAttributes({blockID:this.props.clientId}),void 0===this.props.attributes.gutentorBlockName&&this.props.setAttributes({gutentorBlockName:this.props.name});var t=this.props.attributes.blockSectionHtmlTag;return wp.element.createElement(M,null,wp.element.createElement(N,{key:"inspector"},wp.element.createElement("div",{className:"gutentor-sidebar-inspectors"},wp.element.createElement(m.d,null,wp.element.createElement(m.b,null,wp.element.createElement(m.a,null,wp.element.createElement("i",{className:"dashicons dashicons-dashboard"}),__("General","gutentor")),wp.element.createElement(m.a,null,wp.element.createElement("i",{className:"dashicons dashicons-admin-generic"}),__("Advanced","gutentor"))),wp.element.createElement(m.c,null,wp.hooks.applyFilters("gutentor_edit_before_item_tab",[],this.props),wp.element.createElement(k,{title:__("Block Items","gutentor"),initialOpen:!1},wp.element.createElement(E,null,wp.element.createElement(m.d,null,wp.element.createElement(m.b,null,wp.element.createElement(m.a,null,wp.element.createElement("i",{className:"dashicons dashicons-dashboard"}),__("General","gutentor")),wp.element.createElement(m.a,null,wp.element.createElement("i",{className:"dashicons dashicons-admin-generic"}),__("Advanced","gutentor"))),wp.element.createElement(m.c,null,wp.hooks.applyFilters("gutentor_edit_general_tab_start",[],this.props),wp.element.createElement(k,{title:__("Global Settings","gutentor"),initialOpen:!1},wp.element.createElement(E,null,wp.element.createElement(B,{label:__("Google Maps API Key","gutentor"),type:"text",placeholder:__("Google Maps API Key","gutentor"),value:this.state.api,className:"components-placeholder__input",onChange:this.changeAPI,help:__("Changing the API key effects all Google Map Embed blocks. You will have to refresh the page after changing your API keys.","gutentor")}),wp.element.createElement(O,{isPrimary:!0,type:"submit",onClick:this.saveAPIKey,isBusy:this.state.isSaving},__("Save API Key","gutentor")))),wp.element.createElement(k,{title:__("Location","gutentor"),initialOpen:!1},wp.element.createElement(E,null,wp.element.createElement(C,{label:__("Location","gutentor"),id:"gutentor-google-map-search"},wp.element.createElement("input",{type:"text",id:"gutentor-google-map-search",placeholder:__("Enter a location\u2026","gutentor"),value:this.props.attributes.location,className:"gutentor-google-map-search",onFocus:function(t){return e.initSearch(t)},onChange:function(t){return e.changeLocation(t)},disabled:!this.state.isPlaceAPIAvailable}),!this.state.isPlaceAPIAvailable&&wp.element.createElement("p",null,__("To enable locations search, please ensure Places API is activated in the Google Developers Console.","gutentor")+" ",wp.element.createElement(j,{href:"https://developers.google.com/maps/documentation/places/web-service/overview"},__("More info.","gutentor")))),wp.element.createElement(B,{label:__("Latitude","gutentor"),type:"text",placeholder:__("Enter latitude\u2026","gutentor"),value:this.props.attributes.latitude,onChange:this.changeLatitude}),wp.element.createElement(B,{label:__("Longitude","gutentor"),type:"text",placeholder:__("Enter longitude","gutentor"),value:this.props.attributes.longitude,onChange:this.changeLongitude}))),wp.element.createElement(k,{title:__("Positioning & Zooming","gutentor"),initialOpen:!1},wp.element.createElement(E,null,wp.element.createElement(T,{label:__("Map Type","gutentor"),value:this.props.attributes.type,options:[{label:__("Road Map","gutentor"),value:"roadmap"},{label:__("Satellite View","gutentor"),value:"satellite"},{label:__("Hybrid","gutentor"),value:"hybrid"},{label:__("Terrain","gutentor"),value:"terrain"}],onChange:this.changeMapType}),wp.element.createElement(I,{label:__("Map Zoom Level","gutentor"),value:this.props.attributes.zoom,onChange:this.changeZoom,min:0,max:20}),wp.element.createElement(C,{label:__("Map Height","gutentor")},Object(v.a)("mapHeight",this.props.attributes.mapHeight,this.props)))),wp.element.createElement(k,{title:__("Controls","gutentor"),initialOpen:!1},wp.element.createElement(E,null,wp.element.createElement(C,null,__("The following changes will not affect block preview during the editing process. You can click outside the block to see the changes take effect.","gutentor")),wp.element.createElement(S,{label:__("Draggable Map","gutentor"),checked:this.props.attributes.draggable,onChange:this.toggleDraggable}),wp.element.createElement(S,{label:__("Map Type Control","gutentor"),checked:this.props.attributes.mapTypeControl,onChange:this.toggleMapTypeControl}),wp.element.createElement(S,{label:__("Zoom Control","gutentor"),checked:this.props.attributes.zoomControl,onChange:this.toggleZoomControl}),wp.element.createElement(S,{label:__("Full Screen Control","gutentor"),checked:this.props.attributes.fullscreenControl,onChange:this.toggleFullScreenControl}),wp.element.createElement(S,{label:__("Streen View Control","gutentor"),checked:this.props.attributes.streetViewControl,onChange:this.toggleStreetViewControl}))),wp.element.createElement(k,{title:__("Markers","gutentor"),initialOpen:!1},wp.element.createElement(E,null,wp.element.createElement(g.a,{markers:this.props.attributes.markers,addMarker:this.addMarker,removeMarker:this.removeMarker,changeMarkerProp:this.changeMarkerProp,isPlaceAPIAvailable:this.state.isPlaceAPIAvailable}))),wp.hooks.applyFilters("gutentor_edit_general_tab_end",[],this.props)),wp.element.createElement(m.c,null,wp.hooks.applyFilters("gutentor_edit_items_advanced_options",[],this.props))))),wp.hooks.applyFilters("gutentor_edit_after_item_tab",[],this.props)),wp.element.createElement(m.c,null,wp.hooks.applyFilters("gutentor_edit_advanced_tab",[],this.props))))),wp.element.createElement(t,w({id:"section-"+this.props.attributes.blockID,className:wp.hooks.applyFilters("gutentor_edit_section_class",f()("gutentor-section gutentor-google-map",this.props.className),this.props)},Object(h.a)(this.props.attributes.blockComponentAnimation)),Object(b.d)(this.props),wp.hooks.applyFilters("gutentor_edit_before_container",[],this.props),wp.element.createElement("div",{className:wp.hooks.applyFilters("gutentor_edit_container_class","grid-container",this.props)},wp.hooks.applyFilters("gutentor_edit_before_block_items",[],this.props),wp.element.createElement("div",w({id:this.props.attributes.id,className:wp.hooks.applyFilters("gutentor_edit_grid_row_class",f()("gutentor-grid-item-wrap"),this.props)},Object(h.a)(this.props.attributes.blockItemsWrapAnimation))),wp.hooks.applyFilters("gutentor_edit_after_block_items",[],this.props)),wp.hooks.applyFilters("gutentor_edit_after_container",[],this.props)))}}]),t}(A);t.a=D},function(e,t,n){function o(e,t,n){var o=t&&n||0,u=t||[];e=e||{};var p=e.node||a,m=void 0!==e.clockseq?e.clockseq:r;if(null==p||null==m){var g=l();null==p&&(p=a=[1|g[0],g[1],g[2],g[3],g[4],g[5]]),null==m&&(m=r=16383&(g[6]<<8|g[7]))}var d=void 0!==e.msecs?e.msecs:(new Date).getTime(),f=void 0!==e.nsecs?e.nsecs:c+1,b=d-s+(f-c)/1e4;if(b<0&&void 0===e.clockseq&&(m=m+1&16383),(b<0||d>s)&&void 0===e.nsecs&&(f=0),f>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");s=d,c=f,r=m,d+=122192928e5;var h=(1e4*(268435455&d)+f)%4294967296;u[o++]=h>>>24&255,u[o++]=h>>>16&255,u[o++]=h>>>8&255,u[o++]=255&h;var v=d/4294967296*1e4&268435455;u[o++]=v>>>8&255,u[o++]=255&v,u[o++]=v>>>24&15|16,u[o++]=v>>>16&255,u[o++]=m>>>8|128,u[o++]=255&m;for(var w=0;w<6;++w)u[o+w]=p[w];return t||i(u)}var a,r,l=n(157),i=n(158),s=0,c=0;e.exports=o},function(e,t,n){function o(e,t,n){var o=t&&n||0;"string"==typeof e&&(t="binary"===e?new Array(16):null,e=null),e=e||{};var l=e.random||(e.rng||a)();if(l[6]=15&l[6]|64,l[8]=63&l[8]|128,t)for(var i=0;i<16;++i)t[o+i]=l[i];return t||r(l)}var a=n(157),r=n(158);e.exports=o},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function r(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var l=n(405),i=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),__=wp.i18n.__,s=wp.components.Button,c=wp.element,u=c.Component,p=c.Fragment,m=function(e){function t(){o(this,t);var e=a(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments));return e.openMarker=e.openMarker.bind(e),e.state={isOpen:null},e}return r(t,e),i(t,[{key:"openMarker",value:function(e){this.state.isOpen===e&&(e=null),this.setState({isOpen:e})}},{key:"render",value:function(){var e=this;return wp.element.createElement(p,null,wp.element.createElement("div",{className:"gutentor-google-map-marker-group"},this.props.markers.map(function(t){return wp.element.createElement(l.a,{marker:t,isOpen:e.state.isOpen,isPlaceAPIAvailable:e.props.isPlaceAPIAvailable,openMarker:e.openMarker,removeMarker:e.props.removeMarker,changeMarkerProp:e.props.changeMarkerProp})})),wp.element.createElement(s,{isDefault:!0,isLarge:!0,className:"gutentor-google-map-marker-add",onClick:this.props.addMarker},__("Add Marker","gutentor")))}}]),t}(u);t.a=m},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function r(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var l=n(0),i=n.n(l),s=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),__=wp.i18n.__,c=wp.components,u=c.BaseControl,p=c.Button,m=c.ExternalLink,g=c.IconButton,d=c.TextControl,f=c.TextareaControl,b=wp.element.Component,h=function(e){function t(){o(this,t);var e=a(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments));return e.initSearch=e.initSearch.bind(e),e.changeLocation=e.changeLocation.bind(e),e}return r(t,e),s(t,[{key:"initSearch",value:function(e){var t=this;this.searchBox=new google.maps.places.SearchBox(e.target),this.searchBox.addListener("places_changed",function(){var e=t.searchBox.getPlaces();e&&0<e.length&&e.forEach(function(e){var n=e.formatted_address||e.name,o=e.geometry.location.lat(),a=e.geometry.location.lng();t.props.changeMarkerProp(t.props.marker.id,"location",n),t.props.changeMarkerProp(t.props.marker.id,"latitude",o),t.props.changeMarkerProp(t.props.marker.id,"longitude",a)})})}},{key:"changeLocation",value:function(e){this.props.changeMarkerProp(this.props.marker.id,"location",e.target.value)}},{key:"render",value:function(){var e=this;return wp.element.createElement("div",{className:"gutentor-google-map-marker"},wp.element.createElement("div",{className:"gutentor-google-map-marker-title-area"},wp.element.createElement(p,{className:"gutentor-google-map-marker-title",onClick:function(){return e.props.openMarker(e.props.marker.id)}},this.props.marker.title||__("Custom Marker","gutentor")),wp.element.createElement(g,{icon:"no-alt",label:__("Remove Marker","gutentor"),className:"gutentor-google-map-marker-remove",onClick:function(){return e.props.removeMarker(e.props.marker.id)}})),wp.element.createElement("div",{className:i()("gutentor-google-map-marker-control-area",{opened:this.props.marker.id===this.props.isOpen})},wp.element.createElement(u,{label:__("Location","gutentor"),id:"gutentor-location-search-"+this.props.marker.id},wp.element.createElement("input",{type:"text",id:"gutentor-location-search-"+this.props.marker.id,placeholder:__("Enter a location\u2026","gutentor"),value:this.props.marker.location,className:"gutentor-google-map-search",onFocus:function(t){return e.initSearch(t)},onChange:function(t){return e.changeLocation(t)},disabled:!this.props.isPlaceAPIAvailable}),!this.props.isPlaceAPIAvailable&&wp.element.createElement("p",null,__("To enable locations search, please ensure Places API is activated in the Google Developers Console.","gutentor")+" ",wp.element.createElement(m,{href:"https://developers.google.com/maps/documentation/places/web-service/overview"},__("More info.","gutentor")))),wp.element.createElement(d,{label:__("Latitude","gutentor"),type:"text",value:this.props.marker.latitude,onChange:function(t){return e.props.changeMarkerProp(e.props.marker.id,"latitude",t)}}),wp.element.createElement(d,{label:__("Longitude","gutentor"),type:"text",value:this.props.marker.longitude,onChange:function(t){return e.props.changeMarkerProp(e.props.marker.id,"longitude",t)}}),wp.element.createElement(d,{label:__("Title","gutentor"),type:"text",value:this.props.marker.title,onChange:function(t){return e.props.changeMarkerProp(e.props.marker.id,"title",t)}}),wp.element.createElement(f,{label:__("Description","gutentor"),type:"text",value:this.props.marker.description,onChange:function(t){return e.props.changeMarkerProp(e.props.marker.id,"description",t)}})))}}]),t}(b);t.a=h},function(e,t,n){"use strict";var o=n(407),a=n(160),__=wp.i18n.__;(0,wp.blocks.registerBlockType)("gutentor/blog-post",{title:__("Post Widget","gutentor"),description:__("Display blog posts with many templates and design.","gutentor"),icon:wp.element.createElement("img",{src:gutentor.postModuleSvg}),category:"gutentor",keywords:[__("Gutentor Blog Post Column Grid Block Widget","gutentor")],example:{},attributes:wp.hooks.applyFilters("gutentor_add_attributes",a.a),supports:{align:["wide","full"],html:!1},edit:o.a,save:function(e){return null}})},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function r(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var l=n(0),i=n.n(l),s=n(2),c=n(5),u=n(42),p=n(13),m=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},g=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),d=lodash,f=d.pickBy,__=(d.isUndefined,d.isEmpty,wp.i18n.__),b=wp.blockEditor.InspectorControls,h=wp.element,v=h.Component,w=h.Fragment,y=wp.components,_=y.PanelBody,k=y.PanelRow,E=y.Placeholder,C=y.Spinner,O=wp.data.withSelect,j=(wp.date.__experimentalGetSettings,function(e){function t(){return o(this,t),a(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return r(t,e),g(t,[{key:"render",value:function(){var e=this,t=this.props,n=t.attributes,o=t.setAttributes,a=t.clientId,r=t.categoriesList,l=t.gutentorBlogPosts,g=n.blockID,d=n.gutentorBlockName,f=n.blockBlogTemplate,h=n.postsToShow,v=n.enablePostImage;g!==a&&o({blockID:a}),void 0===d&&o({gutentorBlockName:this.props.name,blockSingleItemButtonEnable:!0});var y=wp.element.createElement(b,{key:"inspector"},wp.element.createElement("div",{className:"gutentor-sidebar-inspectors"},wp.element.createElement(s.d,null,wp.element.createElement(s.b,null,wp.element.createElement(s.a,null,wp.element.createElement("i",{className:"dashicons dashicons-dashboard"}),__("General","gutentor")),wp.element.createElement(s.a,null,wp.element.createElement("i",{className:"dashicons dashicons-admin-generic"}),__("Advanced","gutentor"))),wp.element.createElement(s.c,null,wp.hooks.applyFilters("gutentor_edit_before_item_tab",[],this.props),wp.element.createElement(_,{title:__("Block Items","gutentor"),initialOpen:!1},wp.element.createElement(k,null,wp.element.createElement(s.d,null,wp.element.createElement(s.b,null,wp.element.createElement(s.a,null,wp.element.createElement("i",{className:"dashicons dashicons-dashboard"}),__("General","gutentor")),wp.element.createElement(s.a,null,wp.element.createElement("i",{className:"dashicons dashicons-edit"}),__("Style","gutentor")),wp.element.createElement(s.a,null,wp.element.createElement("i",{className:"dashicons dashicons-admin-generic"}),__("Advanced","gutentor"))),wp.element.createElement(s.c,null,wp.hooks.applyFilters("gutentor_edit_general_tab_start",[],this.props),wp.hooks.applyFilters("gutentor_edit_enable_block_template",!0,this.props)&&wp.element.createElement(p.a,{label:__("Template","gutentor"),value:f,onChange:function(e){o({blockBlogTemplate:e})},options:wp.hooks.applyFilters("gutentor_edit_template_options",[{value:"blog-template1",label:'<img src="'+gutentor.dirUrl+'/assets/img/templates/blog/blog-template-1.svg" />'}],this.props)}),wp.hooks.applyFilters("gutentor_edit_general_tab_end",[],this.props)),wp.element.createElement(s.c,null,wp.hooks.applyFilters("gutentor_edit_style_tab_start",[],this.props),wp.element.createElement(_,{title:__("Image Box","gutentor"),initialOpen:!1},wp.element.createElement(k,null,wp.hooks.applyFilters("gutentor_image_box_edit_image_options_start",[],this.props),wp.hooks.applyFilters("gutentor_image_box_edit_additional_options",[],this.props),wp.hooks.applyFilters("gutentor_blog_image_box_edit_image_options_end",[],this.props))),wp.hooks.applyFilters("gutentor_edit_style_tab_end",[],this.props)),wp.element.createElement(s.c,null,wp.hooks.applyFilters("gutentor_edit_items_advanced_options",[],this.props))))),wp.hooks.applyFilters("gutentor_edit_after_item_tab",[],this.props)),wp.element.createElement(s.c,null,wp.hooks.applyFilters("gutentor_edit_advanced_tab",[],this.props)))));if(!Array.isArray(l)||!l.length)return wp.element.createElement(w,null,y,wp.element.createElement(E,{icon:"admin-post",label:__("Gutentor Blog Post","gutentor")},Array.isArray(l)?__("No posts found.","gutentor"):wp.element.createElement(C,null)));var O=l.length>h?l.slice(0,h):l,j=this.props.attributes.blockSectionHtmlTag;return wp.element.createElement(w,null,y,wp.element.createElement(j,m({id:"section-"+g,className:wp.hooks.applyFilters("gutentor_edit_section_class",i()("gutentor-section gutentor-blog-post-wrapper",this.props.className,this.props.attributes.blockBlogTemplate?this.props.attributes.blockBlogTemplate:""),this.props)},Object(u.a)(this.props.attributes.blockComponentAnimation)),Object(c.d)(this.props),wp.hooks.applyFilters("gutentor_edit_before_container",[],this.props),wp.element.createElement("div",{className:wp.hooks.applyFilters("gutentor_edit_container_class","grid-container",this.props)},wp.hooks.applyFilters("gutentor_edit_before_repeater_items",[],this.props),wp.element.createElement("div",m({className:i()("gutentor-grid-item-wrap","none"!==this.props.attributes.blockItemsWrapAnimation.Animation?"wow animated "+this.props.attributes.blockItemsWrapAnimation.Animation:"")},Object(u.a)(this.props.attributes.blockItemsWrapAnimation)),wp.element.createElement("div",m({className:wp.hooks.applyFilters("gutentor_edit_grid_row_class","grid-row",this.props)},wp.hooks.applyFilters("gutentor_edit_grid_row_attr",{},this.props)),O.map(function(t,n){var o=[];return r&&t.categories.map(function(e){r.find(function(t){return t.id===e})&&o.push(r.find(function(t){return t.id===e}))}),wp.element.createElement("article",{key:n,className:wp.hooks.applyFilters("gutentor_edit_grid_column_class",i()(v&&void 0!==t._embedded&&t._embedded["wp:featuredmedia"]?"gutentor-post-has-thumb":"gutentor-post-no-thumb","gutentor-single-item-"+n),e.props)},wp.hooks.applyFilters("gutentor_edit_blog_post_block_template_data",[],e.props,t,n))}))),wp.hooks.applyFilters("gutentor_edit_after_repeater_items",[],this.props)),wp.hooks.applyFilters("gutentor_edit_after_container",[],this.props)))}}]),t}(v));t.a=O(function(e,t){var n=t.attributes,o=n.postsToShow,a=n.order,r=n.orderBy,l=n.categories,i=e("core"),s=i.getEntityRecords,c=f({_embed:!0,categories:l,order:a,orderby:r,per_page:o},function(e){return""!==e}),u={per_page:100};return{gutentorBlogPosts:s("postType","post",c),categoriesList:s("taxonomy","category",u)}})(j)},function(e,t,n){"use strict";function o(e,t,n){return e&&"list-indicator-default-type"===t?n:e&&"list-indicator-icon"===t?t:e&&"list-indicator-image"===t?t:void 0}var a=n(409),r=n(5),l=n(0),i=n.n(l),s=n(2),c=n(161),u=n(4),p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},__=wp.i18n.__,m=wp.blocks.registerBlockType,g=wp.blockEditor.InspectorControls,d=wp.element.Fragment,f=wp.components,b=f.BaseControl,h=f.PanelBody,v=f.PanelRow;m("gutentor/list",{title:__("Advanced List Widget","gutentor"),description:__("Not just a regular list but create an awesome list by adding image and icon on the list.","gutentor"),icon:wp.element.createElement("img",{src:gutentor.listSvgW}),category:"gutentor",keywords:[__("Gutentor Advanced List Item Block Widget","gutentor")],example:{},attributes:wp.hooks.applyFilters("gutentor_add_attributes",c.a),supports:{align:["wide","full"],html:!1},edit:function(e){var t=e.attributes,n=e.className,l=e.setAttributes,c=e.clientId,m=t.blockListTemplate,f=t.blockID,w=t.gutentorBlockName,y=t.blockListIconEnable,_=t.blockSectionHtmlTag,k=t.blockComponentAnimation,E=t.blockItemsWrapAnimation,C=t.blockListTypeOption,O=t.blockDefaultListTypeOption,j=t.blockSortableItems,x=_;return f!==c&&(l({blockID:c}),0===j.length&&l({blockSortableItems:[{customlistIconOption:"list-icon",icon:{label:"fa-arrow-right",value:4===gutentor.fontAwesomeVersion?"fa fa-arrow-right":"fas fa-arrow-right",code:"f108"},image:{},title:__("List Item","gutentor"),enableLink:!0,openInNewTab:!0,url:"#"}]})),void 0===w&&l({gutentorBlockName:e.name,blockSingleItemTitleTag:"p",blockItemsColumn:{desktop:"grid-12",tablet:"grid-12",mobile:"grid-12"}}),wp.element.createElement(d,null,wp.element.createElement(g,{key:"inspector"},wp.element.createElement("div",{className:"gutentor-sidebar-inspectors gutentor-list-sidebar-inspectors"},wp.element.createElement(s.d,null,wp.element.createElement(s.b,null,wp.element.createElement(s.a,null,wp.element.createElement("i",{className:"dashicons dashicons-dashboard"}),__("General","gutentor")),wp.element.createElement(s.a,null,wp.element.createElement("i",{className:"dashicons dashicons-admin-generic"}),__("Advanced","gutentor"))),wp.element.createElement(s.c,null,wp.hooks.applyFilters("gutentor_edit_before_item_tab",[],e),wp.hooks.applyFilters("gutentor_edit_before_item_filter",[],e),wp.element.createElement(h,{title:__("Block Items","gutentor"),initialOpen:!1},wp.element.createElement(v,null,wp.element.createElement(s.d,null,wp.element.createElement(s.b,null,wp.element.createElement(s.a,null,wp.element.createElement("i",{className:"dashicons dashicons-dashboard"}),__("General","gutentor")),wp.element.createElement(s.a,null,wp.element.createElement("i",{className:"dashicons dashicons-edit"}),__("Style","gutentor")),wp.element.createElement(s.a,null,wp.element.createElement("i",{className:"dashicons dashicons-admin-generic"}),__("Advanced","gutentor"))),wp.element.createElement(s.c,null,wp.hooks.applyFilters("gutentor_edit_general_tab_start",[],e),wp.hooks.applyFilters("gutentor_edit_general_tab_end",[],e)),wp.element.createElement(s.c,null,wp.hooks.applyFilters("gutentor_edit_style_tab_start",[],e),wp.hooks.applyFilters("gutentor_edit_style_tab_end",[],e)),wp.element.createElement(s.c,null,wp.hooks.applyFilters("gutentor_edit_items_advanced_options",[],e))))),wp.hooks.applyFilters("gutentor_edit_after_item_tab",[],e)),wp.element.createElement(s.c,null,wp.hooks.applyFilters("gutentor_edit_advanced_tab",[],e))))),wp.element.createElement(s.d,{className:"gutentor-editor-tabs"},wp.element.createElement(s.b,null,wp.element.createElement(s.a,null,wp.element.createElement("i",{className:"dashicons dashicons-images-alt"}),__("General","gutentor")),wp.element.createElement(s.a,null,wp.element.createElement("i",{className:"dashicons dashicons-edit"}),__("Add/Edit","gutentor"))),wp.element.createElement(s.c,null,wp.element.createElement(x,p({id:"section-"+f,className:wp.hooks.applyFilters("gutentor_save_section_class",i()("gutentor-section gutentor-list-wrapper",n,m||" "),e)},Object(u.c)(k)),Object(r.d)(e),wp.hooks.applyFilters("gutentor_save_before_container",[],e),wp.element.createElement("div",{className:wp.hooks.applyFilters("gutentor_save_container_class","grid-container",e)},wp.hooks.applyFilters("gutentor_edit_before_repeater_items",[],e),wp.element.createElement("ul",p({className:wp.hooks.applyFilters("gutentor_save_grid_row_class",i()("grid-row","gutentor-grid-item-wrap",y?"":"gutentor-disable-list-style",o(y,C,O),"none"!==E.Animation?"wow animated "+E.Animation:""),e)},wp.hooks.applyFilters("gutentor_save_grid_row_attr",{},e),Object(u.c)(E)),j.map(function(t,n){return wp.element.createElement("li",{className:i()(wp.hooks.applyFilters("gutentor_save_grid_column_class","gutentor-list-item",e))},wp.element.createElement("span",{className:i()("gutentor-single-item","gutentor-single-item-"+n)},wp.hooks.applyFilters("gutentor_edit_list_item_template_data",[],e,t,n)))})),wp.hooks.applyFilters("gutentor_save_after_repeater_items",[],e)),wp.hooks.applyFilters("gutentor_save_after_container",[],e))),wp.element.createElement(s.c,null,wp.element.createElement(b,{className:"gutentor-section"},wp.element.createElement(a.a,e)))))},save:function(e){var t=e.attributes,n=e.className,a=(e.setAttributes,t.blockID),r=t.blockSortableItems,l=t.blockListTemplate,s=t.blockListIconEnable,c=t.blockListTypeOption,m=t.blockDefaultListTypeOption,g=t.blockSectionHtmlTag,d=t.blockComponentAnimation,f=t.blockItemsWrapAnimation,b=g;return wp.element.createElement(b,p({id:"section-"+a,className:wp.hooks.applyFilters("gutentor_save_section_class",i()("gutentor-section gutentor-list-wrapper",n,l||" "),e)},Object(u.c)(d)),wp.hooks.applyFilters("gutentor_save_before_container",[],e),wp.element.createElement("div",{className:wp.hooks.applyFilters("gutentor_save_container_class","grid-container",e)},wp.hooks.applyFilters("gutentor_save_before_repeater_items",[],e),wp.element.createElement("ul",p({className:wp.hooks.applyFilters("gutentor_save_grid_row_class",i()("grid-row","gutentor-grid-item-wrap",s?"":"gutentor-disable-list-style",o(s,c,m),"none"!==f.Animation?"wow animated "+f.Animation:""),e)},wp.hooks.applyFilters("gutentor_save_grid_row_attr",{},e),Object(u.c)(f)),r.map(function(t,n){return wp.element.createElement("li",{className:i()(wp.hooks.applyFilters("gutentor_save_grid_column_class","gutentor-list-item",e))},wp.element.createElement("span",{className:i()("gutentor-single-item","gutentor-single-item-"+n)},wp.hooks.applyFilters("gutentor_save_list_item_template_data",[],e,t,n)))})),wp.hooks.applyFilters("gutentor_save_after_repeater_items",[],e)),wp.hooks.applyFilters("gutentor_save_after_container",[],e))}})},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function r(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var l=n(0),i=n.n(l),s=n(26),c=(n.n(s),function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}()),__=wp.i18n.__,u=wp.element.Component,p=wp.components,m=p.Button,g=p.Modal,d=Object(s.SortableHandle)(function(){return wp.element.createElement("i",{className:"dashicons dashicons-move"})}),f=Object(s.SortableElement)(function(e){var t=(e.itemStyle,e.onItemBoxChange,e.setItemStyle,e.sortableIndex),n=e.onRemove,o=e.gutentorAllProps,a=e.gutentorSingleItem;return wp.element.createElement("div",{className:"gutentor-repeater-item",style:{zIndex:999}},wp.element.createElement("div",{className:"gutentor-column-inside"},wp.element.createElement("div",{className:"gutentor-control-actions"},wp.hooks.applyFilters("gutentor_edit_before_single_control",[],o,a,t),wp.element.createElement(d,null),wp.element.createElement("span",{onClick:function(){return n(t)}},wp.element.createElement("i",{className:"dashicons dashicons-trash"})),wp.hooks.applyFilters("gutentor_edit_after_single_control",[],o,a,t)),wp.hooks.applyFilters("gutentor_edit_before_single_item",[],o,a,t),wp.element.createElement("div",{className:wp.hooks.applyFilters("gutentor_edit_single_item_class",i()("gutentor-single-item","gutentor-single-item-"+t),o,a,t)},wp.hooks.applyFilters("gutentor_edit_list_item_inspector_data",[],o,a,t))))}),b=Object(s.SortableContainer)(function(e){var t=e.items,n=e.onRemove,o=e.onItemBoxChange,a=e.setItemStyle,r=e.gutentorAllProps;return wp.element.createElement("div",{className:"gutentor-repeater-item-wrap"},t.map(function(e,t){return wp.element.createElement(f,{key:"item-"+t,index:t,itemStyle:e.itemStyle,sortableIndex:t,onRemove:n,onItemBoxChange:o,setItemStyle:a,gutentorAllProps:r,gutentorSingleItem:e})}))}),h=function(e){function t(e){o(this,t);var n=a(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.onSortEnd=function(e){var t=e.oldIndex,o=e.newIndex,a=n.props,r=a.attributes,l=a.setAttributes,i=r.blockSortableItems.slice(0);l({blockSortableItems:Object(s.arrayMove)(i,t,o)}),n.updateTimeStamp()},n.updateTimeStamp=function(){(0,n.props.setAttributes)({timestamp:(new Date).getTime()})},n.state={isRemovePopup:!1,deleteTabID:null},n}return r(t,e),c(t,[{key:"render",value:function(){var e=this,t=this.props,n=t.attributes,o=t.setAttributes,a=n.blockSortableItems,r=function(t){var n=a.slice(0);n.splice(t,1),o({blockSortableItems:n}),e.setState({isRemovePopup:!1})},l=function(t){e.setState({isRemovePopup:!0,deleteTabID:t})},s=function(){return e.state.isRemovePopup?wp.element.createElement(g,{title:__("Delete this Item?","gutentor"),className:i()("g-remove-popup"),onRequestClose:function(){e.setState({isRemovePopup:!1})},isDismissable:!1,shouldCloseOnClickOutside:!0},__("This will delete the item.","gutentor"),wp.element.createElement("div",{className:"g-remove-popup-actions"},wp.element.createElement(m,{isDefault:!0,onClick:function(){e.setState({isRemovePopup:!1})}},__("Cancel","gutentor")),wp.element.createElement(m,{isPrimary:!0,onClick:function(){r(e.state.deleteTabID)}},__("Delete","gutentor")))):""},c=function(t,n,r){var l=a.slice(0);l.map(function(e,o){n===o&&(l[o][r]=t)}),o({blockSortableItems:l}),e.updateTimeStamp()},u=function(t,n,r){var l=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],s=a.slice(0);s.map(function(e,o){n===o&&(i?s[o].itemStyle[r][l][i]=t:l?s[o].itemStyle[r][l]=t:s[o].itemStyle[r]=t)}),o({blockSortableItems:s}),e.updateTimeStamp()};return 0===a.length&&o({blockSortableItems:[{customlistIconOption:"list-icon",icon:{label:"fa-arrow-right",value:4===gutentor.fontAwesomeVersion?"fa fa-arrow-right":"fas fa-arrow-right",code:"f108"},image:{},title:__("List Item","gutentor"),enableLink:!0,openInNewTab:!0,url:"#"}]}),[wp.element.createElement(b,{items:a,axis:"xy",onSortEnd:this.onSortEnd,useDragHandle:!0,onRemove:l,onItemBoxChange:c,setItemStyle:u,gutentorAllProps:this.props,helperClass:"gutentor-sortable-helper"}),wp.element.createElement("div",{className:"gutentor-add-item"},wp.element.createElement(m,{isPrimary:!0,isLarge:!0,className:"gutentor-add-item-button",onClick:function(){return o({blockSortableItems:a.concat([{customlistIconOption:"list-icon",icon:{label:"fa-arrow-right",value:4===gutentor.fontAwesomeVersion?"fa fa-arrow-right":"fas fa-arrow-right",code:"f108"},image:{},title:__("List Item","gutentor"),url:"#"}])})}},wp.element.createElement("i",{className:"dashicons dashicons-plus"}),__("Add Item","gutentor"))),wp.element.createElement(s,null)]}}]),t}(u);t.a=h},function(e,t,n){"use strict";var o=n(162),a=n(5),r=n(0),l=n.n(r),i=n(2),s=n(4),c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},__=wp.i18n.__,u=wp.blocks.registerBlockType,p=wp.blockEditor.InspectorControls,m=wp.element.Fragment,g=wp.components,d=g.PanelBody,f=g.PanelRow;u("gutentor/show-more",{title:__("Show More Widget","gutentor"),description:__("Add small text to show details text with show more button.","gutentor"),icon:wp.element.createElement("img",{src:gutentor.showmoreSvgW}),category:"gutentor",keywords:[__("Gutentor Show More Less Block Widget","gutentor")],example:{},attributes:wp.hooks.applyFilters("gutentor_add_attributes",o.a),supports:{align:["wide","full"],html:!1},edit:function(e){var t=e.attributes,n=e.className,o=e.setAttributes,r=e.clientId,u=t.blockID,g=t.gutentorBlockName,b=t.blockShowMoreTemplate,h=t.blockSectionHtmlTag,v=t.blockComponentAnimation,w=t.blockItemsWrapAnimation,y=h;return u!==r&&o({blockID:r}),void 0===g&&o({gutentorBlockName:e.name,blockSingleItemTitleTag:"p",blockItemTitle:__("Short Text For Show More","gutentor"),blockItemDescription:__("Full Text For Show More","gutentor"),blockSingleItemButtonEnable:!0,blockItemButtonText:__("Show More","gutentor")}),wp.hooks.doAction("gutentor_edit_init",e),wp.element.createElement(m,null,wp.element.createElement(p,{key:"inspector"},wp.element.createElement("div",{className:"gutentor-sidebar-inspectors"},wp.element.createElement(i.d,null,wp.element.createElement(i.b,null,wp.element.createElement(i.a,null,wp.element.createElement("i",{className:"dashicons dashicons-dashboard"}),__("General","gutentor")),wp.element.createElement(i.a,null,wp.element.createElement("i",{className:"dashicons dashicons-admin-generic"}),__("Advanced","gutentor"))),wp.element.createElement(i.c,null,wp.hooks.applyFilters("gutentor_edit_before_item_tab",[],e),wp.element.createElement(d,{title:__("Block Items","gutentor"),initialOpen:!1},wp.element.createElement(f,null,wp.element.createElement(i.d,null,wp.element.createElement(i.b,null,wp.element.createElement(i.a,null,wp.element.createElement("i",{className:"dashicons dashicons-dashboard"}),__("General","gutentor")),wp.element.createElement(i.a,null,wp.element.createElement("i",{className:"dashicons dashicons-edit"}),__("Style","gutentor")),wp.element.createElement(i.a,null,wp.element.createElement("i",{className:"dashicons dashicons-admin-generic"}),__("Advanced","gutentor"))),wp.element.createElement(i.c,null,wp.hooks.applyFilters("gutentor_edit_general_tab_start",[],e),wp.hooks.applyFilters("gutentor_edit_general_tab_end",[],e)),wp.element.createElement(i.c,null,wp.hooks.applyFilters("gutentor_edit_style_tab_start",[],e),wp.hooks.applyFilters("gutentor_edit_style_tab_end",[],e)),wp.element.createElement(i.c,null,wp.hooks.applyFilters("gutentor_edit_items_advanced_options",[],e))))),wp.hooks.applyFilters("gutentor_edit_after_item_tab",[],e)),wp.element.createElement(i.c,null,wp.hooks.applyFilters("gutentor_edit_advanced_tab",[],e))))),wp.element.createElement(y,c({id:"section-"+u,className:wp.hooks.applyFilters("gutentor_edit_section_class",l()("gutentor-section","gutentor-show-more",n,b||""),e)},Object(s.c)(v)),Object(a.d)(e),wp.hooks.applyFilters("gutentor_edit_before_container",[],e),wp.element.createElement("div",{className:wp.hooks.applyFilters("gutentor_edit_container_class",l()("grid-container"),e)},wp.hooks.applyFilters("gutentor_edit_before_block_items",[],e),wp.element.createElement("div",c({className:l()("gutentor-grid-item-wrap","none"!==w.Animation?"wow animated "+w.Animation:"")},Object(s.c)(w)),wp.element.createElement("div",{className:l()("gutentor-single-item")},wp.hooks.applyFilters("gutentor_edit_show_more_block_template_data",[],e))),wp.hooks.applyFilters("gutentor_edit_after_block_items",[],e)),wp.hooks.applyFilters("gutentor_edit_after_container",[],e)))},save:function(e){var t=e.attributes,n=e.className,o=(e.setAttributes,t.blockID),a=t.blockShowMoreTemplate,r=t.blockSectionHtmlTag,i=t.blockComponentAnimation,u=t.blockItemsWrapAnimation,p=r;return wp.element.createElement(p,c({id:"section-"+o,className:wp.hooks.applyFilters("gutentor_save_section_class",l()("gutentor-section gutentor-show-more",n,a||" "),e)},Object(s.c)(i)),wp.hooks.applyFilters("gutentor_save_before_container",[],e),wp.element.createElement("div",{className:wp.hooks.applyFilters("gutentor_save_container_class",l()("grid-container"),e)},wp.hooks.applyFilters("gutentor_save_before_block_items",[],e),wp.element.createElement("div",c({className:l()("gutentor-grid-item-wrap","none"!==u.Animation?"wow animated "+u.Animation:"")},Object(s.c)(u)),wp.element.createElement("div",{className:l()("gutentor-single-item")},wp.hooks.applyFilters("gutentor_save_show_more_block_template_data",[],e))),wp.hooks.applyFilters("gutentor_save_after_block_items",[],e)),wp.hooks.applyFilters("gutentor_save_after_container",[],e))}})},function(e,t,n){"use strict";var o=n(163),a=n(5),r=n(0),l=n.n(r),i=n(2),s=n(4),c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},__=wp.i18n.__,u=wp.blocks.registerBlockType,p=wp.blockEditor.InspectorControls,m=wp.element.Fragment,g=wp.components,d=g.PanelBody,f=g.PanelRow;u("gutentor/notification",{title:__("Notification Widget","gutentor"),description:__("Add message notification section for important information.","gutentor"),icon:wp.element.createElement("img",{src:gutentor.notificationSvg}),category:"gutentor",keywords:[__("Gutentor Notification Information Block Widget","gutentor")],example:{},attributes:wp.hooks.applyFilters("gutentor_add_attributes",o.a),supports:{align:["wide","full"],html:!1},edit:function(e){var t=e.attributes,n=e.className,o=e.setAttributes,r=e.clientId,u=t.blockID,g=t.gutentorBlockName,b=t.blockNotificationType,h=t.blockSectionHtmlTag,v=t.blockComponentAnimation,w=t.blockItemsWrapAnimation,y=h;return u!==r&&o({blockID:r}),void 0===g&&o({gutentorBlockName:e.name,blockSingleItemTitleColor:{enable:!0,normal:{hex:"#155724",rgb:{r:"21",g:"87",b:"36",a:"1"}},hover:{hex:"#155724",rgb:{r:"21",g:"87",b:"36",a:"1"}}},blockSingleItemDescriptionColor:{enable:!0,normal:{hex:"#155724",rgb:{r:"21",g:"87",b:"36",a:"1"}},hover:{hex:"#155724",rgb:{r:"21",g:"87",b:"36",a:"1"}}},blockSingleItemBoxColor:{enable:!0,normal:{hex:"#d4edda",rgb:{r:"212",g:"237",b:"218",a:"1"}},hover:{hex:"#d4edda",rgb:{r:"212",g:"237",b:"218",a:"1"}}}}),wp.hooks.doAction("gutentor_edit_init",e),wp.element.createElement(m,null,wp.element.createElement(p,{key:"inspector"},wp.element.createElement("div",{className:"gutentor-sidebar-inspectors"},wp.element.createElement(i.d,null,wp.element.createElement(i.b,null,wp.element.createElement(i.a,null,wp.element.createElement("i",{className:"dashicons dashicons-dashboard"}),__("General","gutentor")),wp.element.createElement(i.a,null,wp.element.createElement("i",{className:"dashicons dashicons-admin-generic"}),__("Advanced","gutentor"))),wp.element.createElement(i.c,null,wp.hooks.applyFilters("gutentor_edit_before_item_tab",[],e),wp.element.createElement(d,{title:__("Block Items","gutentor"),initialOpen:!1},wp.element.createElement(f,null,wp.element.createElement(i.d,null,wp.element.createElement(i.b,null,wp.element.createElement(i.a,null,wp.element.createElement("i",{className:"dashicons dashicons-dashboard"}),__("General","gutentor")),wp.element.createElement(i.a,null,wp.element.createElement("i",{className:"dashicons dashicons-edit"}),__("Style","gutentor")),wp.element.createElement(i.a,null,wp.element.createElement("i",{className:"dashicons dashicons-admin-generic"}),__("Advanced","gutentor"))),wp.element.createElement(i.c,null,wp.hooks.applyFilters("gutentor_edit_general_tab_start",[],e),wp.hooks.applyFilters("gutentor_edit_general_tab_end",[],e)),wp.element.createElement(i.c,null,wp.hooks.applyFilters("gutentor_edit_style_tab_start",[],e),wp.hooks.applyFilters("gutentor_edit_style_tab_end",[],e)),wp.element.createElement(i.c,null,wp.hooks.applyFilters("gutentor_edit_items_advanced_options",[],e))))),wp.hooks.applyFilters("gutentor_edit_after_item_tab",[],e)),wp.element.createElement(i.c,null,wp.hooks.applyFilters("gutentor_edit_advanced_tab",[],e))))),wp.element.createElement(y,c({id:"section-"+u,className:wp.hooks.applyFilters("gutentor_edit_section_class",l()("gutentor-section","gutentor-notification",n),e)},Object(s.c)(v)),Object(a.d)(e),wp.hooks.applyFilters("gutentor_edit_before_container",[],e),wp.element.createElement("div",{className:wp.hooks.applyFilters("gutentor_edit_container_class",l()("grid-container"),e)},wp.hooks.applyFilters("gutentor_edit_before_block_items",[],e),wp.element.createElement("div",c({className:l()("gutentor-grid-item-wrap","none"!==w.Animation?"wow animated "+w.Animation:"","gutentor-notification-wrap",b||" ")},Object(s.c)(w)),wp.element.createElement("div",{className:l()("gutentor-single-item")},wp.element.createElement("div",{className:"gutentor-single-item-content"},wp.hooks.applyFilters("gutentor_edit_item_title_data",[],e),wp.hooks.applyFilters("gutentor_edit_item_desc_data",[],e)))),wp.hooks.applyFilters("gutentor_edit_after_block_items",[],e)),wp.hooks.applyFilters("gutentor_edit_after_container",[],e)))},save:function(e){var t=e.attributes,n=e.className,o=(e.setAttributes,t.blockID),a=t.blockNotificationType,r=t.blockSectionHtmlTag,i=t.blockComponentAnimation,u=t.blockItemsWrapAnimation,p=r;return wp.element.createElement(p,c({id:"section-"+o,className:wp.hooks.applyFilters("gutentor_save_section_class",l()("gutentor-section","gutentor-notification",n),e)},Object(s.c)(i)),wp.hooks.applyFilters("gutentor_save_before_container",[],e),wp.element.createElement("div",{className:wp.hooks.applyFilters("gutentor_save_container_class",l()("grid-container"),e)},wp.hooks.applyFilters("gutentor_save_before_block_items",[],e),wp.element.createElement("div",c({className:l()("gutentor-grid-item-wrap","none"!==u.Animation?"wow animated "+u.Animation:"","gutentor-notification-wrap",a||" ")},Object(s.c)(u)),wp.element.createElement("div",{className:l()("gutentor-single-item")},wp.element.createElement("div",{className:"gutentor-single-item-content"},wp.hooks.applyFilters("gutentor_save_item_title_data",[],e),wp.hooks.applyFilters("gutentor_save_item_desc_data",[],e)))),wp.hooks.applyFilters("gutentor_save_after_block_items",[],e)),wp.hooks.applyFilters("gutentor_save_after_container",[],e))}})},function(e,t){function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var o=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),a=function(){function e(){n(this,e)}return o(e,[{key:"addBlockEditHeader",value:function(e,t){var n=wp.hooks.applyFilters("gutentor_edit_block_header_data_enable",!1,t)&&wp.element.createElement("div",{className:wp.hooks.applyFilters("gutentor_edit_block_header_class","gutentor-block-header",t)},wp.hooks.applyFilters("gutentor_edit_block_header_data",[],t));return e.push(n),e}},{key:"addBlockSaveHeader",value:function(e,t){var n=wp.hooks.applyFilters("gutentor_save_block_header_data_enable",!1,t)&&wp.element.createElement("div",{className:wp.hooks.applyFilters("gutentor_save_block_header_class","gutentor-block-header",t)},wp.hooks.applyFilters("gutentor_save_block_header_data",[],t));return e.push(n),e}}]),e}(),r=new a;wp.hooks.addFilter("gutentor_edit_before_repeater_items","gutentor/block-header-hook",r.addBlockEditHeader,10),wp.hooks.addFilter("gutentor_edit_before_block_items","gutentor/block-header-hook",r.addBlockEditHeader,10),wp.hooks.addFilter("gutentor_save_before_repeater_items","gutentor/block-header-hook",r.addBlockSaveHeader,10),wp.hooks.addFilter("gutentor_save_before_block_items","gutentor/block-header-hook",r.addBlockSaveHeader,10)},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var a=n(4),r=n(15),l=n(8),i=n(1),s=n(2),c=n(0),u=n.n(c),p=n(9),m=n(3),g=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},d=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),__=wp.i18n.__,f=wp.blockEditor.RichText,b=wp.components,h=b.PanelBody,v=b.PanelRow,w=b.BaseControl,y=b.ToggleControl,_=b.SelectControl,k=function(){function e(){o(this,e)}return d(e,[{key:"headerEnable",value:function(e,t){return!!t.attributes.blockComponentTitleEnable||e}},{key:"addTitleOptions",value:function(e,t){var n=t.attributes,o=t.setAttributes,i=n.blockComponentTitleEnable,c=n.blockComponentTitleTag,u=n.blockComponentTitleAlign,g=n.blockComponentTitleTypography,d=n.blockComponentTitleColorEnable,f=n.blockComponentTitleColor,b=n.blockComponentTitleDesignEnable,k=n.blockComponentTitleSeperatorPosition,E=n.blockComponentTitleMargin,C=n.blockComponentTitlePadding,O=n.blockComponentTitleAnimation,j=wp.element.createElement(h,{title:__("Block Title","gutentor"),initialOpen:!1},wp.element.createElement(v,null,wp.element.createElement(y,{label:__("Enable Block Title","gutentor"),checked:i,onChange:function(){o({blockComponentTitleEnable:!i})}}),i&&wp.element.createElement(s.d,null,wp.element.createElement(s.b,null,wp.element.createElement(s.a,null,wp.element.createElement("i",{className:"dashicons dashicons-dashboard"}),__("General","gutentor")),wp.element.createElement(s.a,null,wp.element.createElement("i",{className:"dashicons dashicons-edit"}),__("Style","gutentor")),wp.element.createElement(s.a,null,wp.element.createElement("i",{className:"dashicons dashicons-admin-generic"}),__("Advanced","gutentor"))),wp.element.createElement(s.c,null,wp.element.createElement(_,{label:__("Tag","gutentor"),value:c,onChange:function(e){o({blockComponentTitleTag:e})},options:p.r}),wp.element.createElement(_,{label:__("Alignment","gutentor"),value:u,onChange:function(e){o({blockComponentTitleAlign:e})},options:p.c}),wp.element.createElement(y,{label:__("Enable Title Design Options","gutentor"),checked:b,onChange:function(){o({blockComponentTitleDesignEnable:!b})}}),b&&wp.element.createElement(_,{label:__("Seperator Position","gutentor"),value:k,onChange:function(e){o({blockComponentTitleSeperatorPosition:e})},options:[{value:"seperator-top",label:__("Top","gutentor")},{value:"seperator-bottom",label:__("Bottom","gutentor")}]})),wp.element.createElement(s.c,null,wp.element.createElement(h,{title:__("Color","gutentor"),initialOpen:!1},wp.element.createElement(v,null,wp.element.createElement(y,{label:__("Enable Color","gutentor"),checked:d,onChange:function(){o({blockComponentTitleColorEnable:!d})}}),d&&wp.element.createElement(m.a,{value:f,label:__("Color","gutentor"),onChange:function(e){o({blockComponentTitleColor:e})},disableAlpha:!0}))),wp.element.createElement(h,{title:__("Typography","gutentor"),initialOpen:!1},wp.element.createElement(v,null,Object(l.a)("blockComponentTitleTypography",g,t)))),wp.element.createElement(s.c,null,wp.element.createElement(h,{title:__("Margin/Padding","gutentor"),initialOpen:!1},wp.element.createElement(v,null,wp.element.createElement(w,{label:__("Margin","gutentor")},Object(r.a)("blockComponentTitleMargin",E,t)),wp.element.createElement(w,{label:__("Padding","gutentor")},Object(r.a)("blockComponentTitlePadding",C,t)))),Object(a.b)("blockComponentTitleAnimation",O,t)))));return j=wp.hooks.applyFilters("gutentor_block_title_options",j,t),e.push(j),e}},{key:"addTitleEdit",value:function(e,t){var n=t.attributes,o=t.setAttributes,r=n.blockComponentTitleEnable,l=n.blockComponentTitle,i=n.blockComponentTitleTag,s=n.blockComponentTitleAlign,c=n.blockComponentTitleDesignEnable,p=n.blockComponentTitleSeperatorPosition,m=n.blockComponentTitleAnimation;if(!r)return e;var d=wp.element.createElement("div",g({className:u()("gutentor-section-title",c?"enable-title-design":"",c&&p?p:"",s&&s?s:"","none"!==m.Animation?"wow animated "+m.Animation:"")},Object(a.c)(m)),wp.element.createElement(f,{className:u()("gutentor-title"),tagName:i,onChange:function(e){return o({blockComponentTitle:e})},value:l}));return d=wp.hooks.applyFilters("gutentor_block_title_edit",d,t),e.push(d),e}},{key:"addTitleSave",value:function(e,t){var n=t.attributes,o=n.blockComponentTitleEnable,r=n.blockComponentTitle,l=n.blockComponentTitleTag,i=n.blockComponentTitleAlign,s=n.blockComponentTitleDesignEnable,c=n.blockComponentTitleSeperatorPosition,p=n.blockComponentTitleAnimation;if(!o)return e;var m=wp.element.createElement("div",g({className:u()("gutentor-section-title",s?"enable-title-design":"",s&&c?c:"",i&&i?i:"","none"!==p.Animation?"wow animated "+p.Animation:"")},Object(a.c)(p)),wp.element.createElement(f.Content,{className:u()("gutentor-title"),tagName:l,value:r}));return m=wp.hooks.applyFilters("gutentor_block_title_save",m,t),e.push(m),e}},{key:"addDynamicStyle",value:function(e,t){if("gutentor/m4"===t.attributes.gutentorBlockName||"gutentor/m4-col"===t.attributes.gutentorBlockName||"gutentor/m2"===t.attributes.gutentorBlockName||"gutentor/m2-col"===t.attributes.gutentorBlockName||"gutentor/m3"===t.attributes.gutentorBlockName||"gutentor/m3-col"===t.attributes.gutentorBlockName)return e;var n=t.attributes,o=n.blockComponentTitleEnable,a=n.blockID,s=n.blockComponentTitleColorEnable,c=n.blockComponentTitleColor,u=n.blockComponentTitleTypography,p=n.blockComponentTitleMargin,m=n.blockComponentTitlePadding;return a&&o?[e,"#section-"+a+" .gutentor-section-title .gutentor-title{",Object(r.b)("margin",p),Object(r.b)("padding",m),Object(i.c)("color",s&&c?c.hex:null),Object(l.b)(u),"}","@media only screen and (min-width: 768px) {","#section-"+a+" .gutentor-section-title .gutentor-title{",Object(r.b)("margin",p,"tablet"),Object(r.b)("padding",m,"tablet"),Object(l.c)(u,"tablet"),"}","}","@media only screen and (min-width: 992px) {","#section-"+a+" .gutentor-section-title .gutentor-title{",Object(r.b)("margin",p,"desktop"),Object(r.b)("padding",m,"desktop"),Object(l.c)(u,"desktop"),"}","}"].join("\n"):e}}]),e}(),E=new k;wp.hooks.addFilter("gutentor_edit_block_header_data_enable","gutentor/block-title",E.headerEnable,10),wp.hooks.addFilter("gutentor_save_block_header_data_enable","gutentor/block-title",E.headerEnable,10),wp.hooks.addFilter("gutentor_edit_before_item_tab","gutentor/block-title",E.addTitleOptions,10),wp.hooks.addFilter("gutentor_edit_block_header_data","gutentor/block-title",E.addTitleEdit,10),wp.hooks.addFilter("gutentor_save_block_header_data","gutentor/block-title",E.addTitleSave,10),wp.hooks.addFilter("gutentor_dynamic_style","gutentor/block-title",E.addDynamicStyle,10)},function(e,t,n){"use strict";function o(e){var t=(arguments.length>1&&void 0!==arguments[1]&&arguments[1],e&&e.fontType?e.fontType:"default"),n=e&&e.systemFont?e.systemFont:"",o=e&&e.googleFont?e.googleFont:"",a=e&&e.customFont?e.customFont:"",l=e&&e.mobileFontSize?e.mobileFontSize:"",i=l&&"string"===typeof l?l.replace("px",""):l,s=e&&e.fontWeight?e.fontWeight:"",c=e&&e.textTransform?e.textTransform:"",u=e&&e.fontStyle?e.fontStyle:"",p=e&&e.textDecoration?e.textDecoration:"",m=e&&e.mobileLineHeight?e.mobileLineHeight:"",g=e&&e.mobileLetterSpacing?e.mobileLetterSpacing:"";return Object(r.c)("font-family","default"!==t?function(){return"default"===t?"":"system"===t?n:"google"===t?o.replace("+"," "):"custom"===t?a:""}():null)+Object(r.c)("font-size","default"!==t&&i?i+"px":null)+Object(r.c)("font-weight","default"!==t&&s?function(){var e=s.replace("italic","");return""!==e&&"regular"!==e||(e=400),e}():null)+Object(r.c)("text-transform","default"!==t&&c?c:null)+Object(r.c)("font-style","default"!==t&&u?u:null)+Object(r.c)("text-decoration","default"!==t&&p?p:null)+Object(r.c)("line-height","default"!==t&&m?m:null)+Object(r.c)("letter-spacing","default"!==t&&g?g+"px":null)}function a(e,t){var n=e&&e.fontType?e.fontType:"default",o=e&&e.desktopFontSize?e.desktopFontSize:"",a=o&&"string"===typeof o?o.replace("px",""):o,l=e&&e.tabletFontSize?e.tabletFontSize:"",i=l&&"string"===typeof l?l.replace("px",""):l,s=e&&e.desktopLineHeight?e.desktopLineHeight:"",c=e&&e.tabletLineHeight?e.tabletLineHeight:"",u=e&&e.desktopLetterSpacing?e.desktopLetterSpacing:"",p=e&&e.tabletLetterSpacing?e.tabletLetterSpacing:"";if("desktop"===t){return Object(r.c)("font-size","default"!==n&&a?a+"px":null)+Object(r.c)("line-height","default"!==n&&s?s:null)+Object(r.c)("letter-spacing","default"!==n&&u?u+"px":null)}if("tablet"===t){return Object(r.c)("font-size","default"!==n&&i?i+"px":null)+Object(r.c)("line-height","default"!==n&&c?c:null)+Object(r.c)("letter-spacing","default"!==n&&p?p+"px":null)}return""}n.d(t,"a",function(){return o}),n.d(t,"b",function(){return a});var r=n(1)},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function r(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var l=n(416),i=n(417),s=n(2),c=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),__=wp.i18n.__,u=wp.components,p=u.FontSizePicker,m=u.SelectControl,g=u.RangeControl,d=u.BaseControl,f=wp.element.Component,b=function(e){function t(e){o(this,t);var n=a(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));n.selectCallback=n.selectCallback.bind(n),n.setCurrentFontWeight=n.setCurrentFontWeight.bind(n);var r=e.Typography&&e.Typography.googleFont?e.Typography.googleFont:"default",l=n.props.Typography?n.props.Typography:{};return n.state={currentFontWeight:n.setCurrentFontWeight(r,l.fontType?l.fontType:"")},n}return r(t,e),c(t,[{key:"setCurrentFontWeight",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=[];return"google"===(t||"default")||"google"===e?"default"!==e?i.b[e].variants.map(function(e,t){n.push({label:e,value:e})}):n.push({label:"regular",value:"regular"}):n=l.c,n}},{key:"selectCallback",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";this.setState({currentFontWeight:this.setCurrentFontWeight(e,t)})}},{key:"render",value:function(){var e=this,t=[{name:__("XS","gutentor"),slug:"xs",size:14},{name:__("Small","gutentor"),slug:"small",size:16},{name:__("Normal","gutentor"),slug:"Normal",size:18},{name:__("Medium","gutentor"),slug:"medium",size:24},{name:__("Large","gutentor"),slug:"large",size:28},{name:__("XL","gutentor"),slug:"xl",size:32}],n="",o=this.props,a=o.SetTypography,r=o.Typography,c=r&&r.fontType?r.fontType:"default",u=r&&r.systemFont?r.systemFont:"default",f=r&&r.googleFont?r.googleFont:"default",b=r&&r.desktopFontSize?r.desktopFontSize:"",h=r&&r.tabletFontSize?r.tabletFontSize:"",v=r&&r.mobileFontSize?r.mobileFontSize:"",w=r&&r.fontWeight?r.fontWeight:"default",y=r&&r.textTransform?r.textTransform:"default",_=r&&r.fontStyle?r.fontStyle:"default",k=r&&r.textDecoration?r.textDecoration:"default",E=r&&r.desktopLineHeight?r.desktopLineHeight:"",C=r&&r.tabletLineHeight?r.tabletLineHeight:"",O=r&&r.mobileLineHeight?r.mobileLineHeight:"",j=r&&r.desktopLetterSpacing?r.desktopLetterSpacing:"",x=r&&r.tabletLetterSpacing?r.tabletLetterSpacing:"",I=r&&r.mobileLetterSpacing?r.mobileLetterSpacing:"",T=wp.element.createElement("div",{className:"gutentor-typography-wrap"},wp.element.createElement(m,{label:__("Font Type","gutentor"),className:"gutentor-font-type",value:c,options:l.b,onChange:function(t){a(t,"fontType"),e.selectCallback(f||"default",t)}}),"system"===c&&wp.element.createElement("div",{className:"gutentor-system-font"},wp.element.createElement(m,{label:__("System Fonts","gutentor"),value:u,options:l.d,onChange:function(e){return a(e,"systemFont")}})),"google"===c&&wp.element.createElement("div",{className:"gutentor-google-font"},wp.element.createElement(m,{label:__("Google Fonts","gutentor"),value:f,options:i.a,onChange:function(t){a(t,"googleFont",!0),e.selectCallback(t,c||"default")}})));return c&&"default"!==c&&(n=wp.element.createElement("div",{className:"gutentor-typography-wrap gutentor-typography-options-wrap"},wp.element.createElement(d,{label:__("Font Size","gutentor")},wp.element.createElement(s.d,null,wp.element.createElement(s.b,null,wp.element.createElement(s.a,null,wp.element.createElement("i",{className:"dashicons dashicons-desktop"})),wp.element.createElement(s.a,null,wp.element.createElement("i",{className:"dashicons dashicons-tablet"})),wp.element.createElement(s.a,null,wp.element.createElement("i",{className:"dashicons dashicons-smartphone"}))),wp.element.createElement(s.c,{className:"gutentor-typography-font-size-picker"},wp.element.createElement(p,{fontSizes:t,fallbackFontSize:18,value:b&&"string"===typeof b&&!b.includes("px")?b+"px":parseInt(b),onChange:function(e){return a(e,"desktopFontSize")}})),wp.element.createElement(s.c,null,wp.element.createElement(p,{fontSizes:t,fallbackFontSize:18,value:h&&"string"===typeof h&&!h.includes("px")?h+"px":parseInt(h),onChange:function(e){return a(e,"tabletFontSize")}})),wp.element.createElement(s.c,null,wp.element.createElement(p,{fontSizes:t,fallbackFontSize:18,value:v&&"string"===typeof v&&!v.includes("px")?v+"px":parseInt(v),onChange:function(e){return a(e,"mobileFontSize")}})))),wp.element.createElement(m,{label:__("Weight","gutentor"),value:w,options:this.state.currentFontWeight,className:"gutentor-font-weight",onChange:function(e){return a(e,"fontWeight")}}),wp.element.createElement(m,{label:__("Transform","gutentor"),value:y,options:l.f,onChange:function(e){return a(e,"textTransform")}}),wp.element.createElement(m,{label:__("Style","gutentor"),value:_,options:l.a,onChange:function(e){return a(e,"fontStyle")}}),wp.element.createElement(m,{label:__("Decoration","gutentor"),value:k,options:l.e,onChange:function(e){return a(e,"textDecoration")}}),wp.element.createElement(d,{label:__("Line Height","gutentor")},wp.element.createElement(s.d,null,wp.element.createElement(s.b,null,wp.element.createElement(s.a,null,wp.element.createElement("i",{className:"dashicons dashicons-desktop"})),wp.element.createElement(s.a,null,wp.element.createElement("i",{className:"dashicons dashicons-tablet"})),wp.element.createElement(s.a,null,wp.element.createElement("i",{className:"dashicons dashicons-smartphone"}))),wp.element.createElement(s.c,null,wp.element.createElement(g,{value:E,onChange:function(e){return a(e,"desktopLineHeight")},min:0,max:1e3,step:.1,allowReset:!0})),wp.element.createElement(s.c,null,wp.element.createElement(g,{value:C,onChange:function(e){return a(e,"tabletLineHeight")},min:0,max:1e3,step:.1,allowReset:!0})),wp.element.createElement(s.c,null,wp.element.createElement(g,{value:O,onChange:function(e){return a(e,"mobileLineHeight")},min:0,max:1e3,step:.1,allowReset:!0})))),wp.element.createElement(d,{label:__("Letter Spacing","gutentor")},wp.element.createElement(s.d,null,wp.element.createElement(s.b,null,wp.element.createElement(s.a,null,wp.element.createElement("i",{className:"dashicons dashicons-desktop"})),wp.element.createElement(s.a,null,wp.element.createElement("i",{className:"dashicons dashicons-tablet"})),wp.element.createElement(s.a,null,wp.element.createElement("i",{className:"dashicons dashicons-smartphone"}))),wp.element.createElement(s.c,null,wp.element.createElement(g,{value:j,onChange:function(e){return a(e,"desktopLetterSpacing")},min:-1e3,max:1e3,step:.1,allowReset:!0})),wp.element.createElement(s.c,null,wp.element.createElement(g,{value:x,onChange:function(e){return a(e,"tabletLetterSpacing")},min:-1e3,max:1e3,step:.1,allowReset:!0})),wp.element.createElement(s.c,null,wp.element.createElement(g,{value:I,onChange:function(e){return a(e,"mobileLetterSpacing")},min:-1e3,max:1e3,step:.1,allowReset:!0})))))),wp.element.createElement("div",null,wp.element.createElement("div",{className:"gutentor-typography-main-wrap"},T,n))}}]),t}(f);t.a=b},function(e,t,n){"use strict";n.d(t,"b",function(){return o}),n.d(t,"d",function(){return a}),n.d(t,"c",function(){return r}),n.d(t,"f",function(){return l}),n.d(t,"a",function(){return i}),n.d(t,"e",function(){return s});var __=wp.i18n.__,o=[{label:__("Default","gutentor"),value:"default"},{label:__("System","gutentor"),value:"system"},{label:__("Google","gutentor"),value:"google"}],a=[{label:__("Default","gutentor"),value:"default"},{label:__("Arial","gutentor"),value:"Arial"},{label:__("Tahoma","gutentor"),value:"Tahoma"},{label:__("Verdana","gutentor"),value:"Verdana"},{label:__("Helvetica","gutentor"),value:"Helvetica"},{label:__("Times New Roman","gutentor"),value:"Times New Roman"},{label:__("Trebuchet MS","gutentor"),value:"Trebuchet MS"},{label:__("Georgia","gutentor"),value:"Georgia"}],r=[{label:__("Default","gutentor"),value:"default"},{label:__("Normal","gutentor"),value:"normal"},{label:__("Bold","gutentor"),value:"bold"},{label:__("100","gutentor"),value:"100"},{label:__("200","gutentor"),value:"200"},{label:__("300","gutentor"),value:"300"},{label:__("400","gutentor"),value:"400"},{label:__("500","gutentor"),value:"500"},{label:__("600","gutentor"),value:"600"},{label:__("700","gutentor"),value:"700"},{label:__("800","gutentor"),value:"800"},{label:__("900","gutentor"),value:"900"}],l=[{label:__("Default","gutentor"),value:"default"},{label:__("Normal","gutentor"),value:"normal"},{label:__("Uppercase","gutentor"),value:"uppercase"},{label:__("Lowercase","gutentor"),value:"lowercase"},{label:__("Capitalize","gutentor"),value:"capitalize"}],i=[{label:__("Default","gutentor"),value:"default"},{label:__("Normal","gutentor"),value:"normal"},{label:__("Italic","gutentor"),value:"italic"},{label:__("Oblique","gutentor"),value:"oblique"}],s=[{label:__("Default","gutentor"),value:"default"},{label:__("Underline","gutentor"),value:"underline"},{label:__("Overline","gutentor"),value:"overline"},{label:__("Line Through","gutentor"),value:"line-through"},{label:__("None","gutentor"),value:"none"}]},function(e,t,n){"use strict";n.d(t,"a",function(){return a}),n.d(t,"b",function(){return r});var o={kind:"webfonts#webfontList",items:[{family:"ABeeZee",variants:["regular","italic"],subsets:["latin"],version:"v14",lastModified:"2020-09-02",files:{regular:"http://fonts.gstatic.com/s/abeezee/v14/esDR31xSG-6AGleN6tKukbcHCpE.ttf",italic:"http://fonts.gstatic.com/s/abeezee/v14/esDT31xSG-6AGleN2tCklZUCGpG-GQ.ttf"},category:"sans-serif",kind:"webfonts#webfont"},{family:"Abel",variants:["regular"],subsets:["latin"],version:"v12",lastModified:"2020-09-10",files:{regular:"http://fonts.gstatic.com/s/abel/v12/MwQ5bhbm2POE6VhLPJp6qGI.ttf"},category:"sans-serif",kind:"webfonts#webfont"},{family:"Abhaya Libre",variants:["regular","500","600","700","800"],subsets:["latin","latin-ext","sinhala"],version:"v6",lastModified:"2020-09-02",files:{regular:"http://fonts.gstatic.com/s/abhayalibre/v6/e3tmeuGtX-Co5MNzeAOqinEge0PWovdU4w.ttf",500:"http://fonts.gstatic.com/s/abhayalibre/v6/e3t5euGtX-Co5MNzeAOqinEYj2ryqtxI6oYtBA.ttf",600:"http://fonts.gstatic.com/s/abhayalibre/v6/e3t5euGtX-Co5MNzeAOqinEYo23yqtxI6oYtBA.ttf",700:"http://fonts.gstatic.com/s/abhayalibre/v6/e3t5euGtX-Co5MNzeAOqinEYx2zyqtxI6oYtBA.ttf",800:"http://fonts.gstatic.com/s/abhayalibre/v6/e3t5euGtX-Co5MNzeAOqinEY22_yqtxI6oYtBA.ttf"},category:"serif",kind:"webfonts#webfont"},{family:"Abril Fatface",variants:["regular"],subsets:["latin","latin-ext"],version:"v12",lastModified:"2020-09-02",files:{regular:"http://fonts.gstatic.com/s/abrilfatface/v12/zOL64pLDlL1D99S8g8PtiKchm-BsjOLhZBY.ttf"},category:"display",kind:"webfonts#webfont"},{family:"Aclonica",variants:["regular"],subsets:["latin"],version:"v11",lastModified:"2020-09-02",files:{regular:"http://fonts.gstatic.com/s/aclonica/v11/K2FyfZJVlfNNSEBXGb7TCI6oBjLz.ttf"},category:"sans-serif",kind:"webfonts#webfont"},{family:"Acme",variants:["regular"],subsets:["latin"],version:"v11",lastModified:"2020-10-22",files:{regular:"http://fonts.gstatic.com/s/acme/v11/RrQfboBx-C5_bx3Lb23lzLk.ttf"},category:"sans-serif",kind:"webfonts#webfont"},{family:"Actor",variants:["regular"],subsets:["latin"],version:"v10",lastModified:"2020-09-02",files:{regular:"http://fonts.gstatic.com/s/actor/v10/wEOzEBbCkc5cO3ekXygtUMIO.ttf"},category:"sans-serif",kind:"webfonts#webfont"},{family:"Adamina",variants:["regular"],subsets:["latin"],version:"v14",lastModified:"2020-09-02",files:{regular:"http://fonts.gstatic.com/s/adamina/v14/j8_r6-DH1bjoc-dwu-reETl4Bno.ttf"},category:"serif",kind:"webfonts#webfont"},{family:"Advent Pro",variants:["100","200","300","regular","500","600","700"],subsets:["greek","latin","latin-ext"],version:"v11",lastModified:"2020-09-02",files:{100:"http://fonts.gstatic.com/s/adventpro/v11/V8mCoQfxVT4Dvddr_yOwjVmtLZxcBtItFw.ttf",200:"http://fonts.gstatic.com/s/adventpro/v11/V8mDoQfxVT4Dvddr_yOwjfWMDbZyCts0DqQ.ttf",300:"http://fonts.gstatic.com/s/adventpro/v11/V8mDoQfxVT4Dvddr_yOwjZGPDbZyCts0DqQ.ttf",regular:"http://fonts.gstatic.com/s/adventpro/v11/V8mAoQfxVT4Dvddr_yOwtT2nKb5ZFtI.ttf",500:"http://fonts.gstatic.com/s/adventpro/v11/V8mDoQfxVT4Dvddr_yOwjcmODbZyCts0DqQ.ttf",600:"http://fonts.gstatic.com/s/adventpro/v11/V8mDoQfxVT4Dvddr_yOwjeWJDbZyCts0DqQ.ttf",700:"http://fonts.gstatic.com/s/adventpro/v11/V8mDoQfxVT4Dvddr_yOwjYGIDbZyCts0DqQ.ttf"},category:"sans-serif",kind:"webfonts#webfont"},{family:"Aguafina Script",variants:["regular"],subsets:["latin","latin-ext"],version:"v9",lastModified:"2020-07-23",files:{regular:"http://fonts.gstatic.com/s/aguafinascript/v9/If2QXTv_ZzSxGIO30LemWEOmt1bHqs4pgicOrg.ttf"},category:"handwriting",kind:"webfonts#webfont"},{family:"Akaya Kanadaka",variants:["regular"],subsets:["kannada","latin","latin-ext"],version:"v4",lastModified:"2021-03-24",files:{regular:"http://fonts.gstatic.com/s/akayakanadaka/v4/N0bM2S5CPO5oOQqvazoRRb-8-PfRS5VBBSSF.ttf"},category:"display",kind:"webfonts#webfont"},{family:"Akaya Telivigala",variants:["regular"],subsets:["latin","latin-ext","telugu"],version:"v9",lastModified:"2021-02-18",files:{regular:"http://fonts.gstatic.com/s/akayatelivigala/v9/lJwc-oo_iG9wXqU3rCTD395tp0uifdLdsIH0YH8.ttf"},category:"display",kind:"webfonts#webfont"},{family:"Akronim",variants:["regular"],subsets:["latin","latin-ext"],version:"v12",lastModified:"2021-03-19",files:{regular:"http://fonts.gstatic.com/s/akronim/v12/fdN-9sqWtWZZlHRp-gBxkFYN-a8.ttf"},category:"display",kind:"webfonts#webfont"},{family:"Aladin",variants:["regular"],subsets:["latin","latin-ext"],version:"v9",lastModified:"2020-07-23",files:{regular:"http://fonts.gstatic.com/s/aladin/v9/ZgNSjPJFPrvJV5f16Sf4pGT2Ng.ttf"},category:"handwriting",kind:"webfonts#webfont"},{family:"Alata",variants:["regular"],subsets:["latin","latin-ext","vietnamese"],version:"v2",lastModified:"2020-07-23",files:{regular:"http://fonts.gstatic.com/s/alata/v2/PbytFmztEwbIofe6xKcRQEOX.ttf"},category:"sans-serif",kind:"webfonts#webfont"},{family:"Alatsi",variants:["regular"],subsets:["latin","latin-ext","vietnamese"],version:"v2",lastModified:"2020-07-23",files:{regular:"http://fonts.gstatic.com/s/alatsi/v2/TK3iWkUJAxQ2nLNGHjUHte5fKg.ttf"},category:"sans-serif",kind:"webfonts#webfont"},{family:"Aldrich",variants:["regular"],subsets:["latin"],version:"v11",lastModified:"2020-09-02",files:{regular:"http://fonts.gstatic.com/s/aldrich/v11/MCoTzAn-1s3IGyJMZaAS3pP5H_E.ttf"},category:"sans-serif",kind:"webfonts#webfont"},{family:"Alef",variants:["regular","700"],subsets:["hebrew","latin"],version:"v12",lastModified:"2020-09-02",files:{regular:"http://fonts.gstatic.com/s/alef/v12/FeVfS0NQpLYgrjJbC5FxxbU.ttf",700:"http://fonts.gstatic.com/s/alef/v12/FeVQS0NQpLYglo50L5la2bxii28.ttf"},category:"sans-serif",kind:"webfonts#webfont"},{family:"Alegreya",variants:["regular","500","600","700","800","900","italic","500italic","600italic","700italic","800italic","900italic"],subsets:["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"],version:"v19",lastModified:"2021-02-12",files:{regular:"http://fonts.gstatic.com/s/alegreya/v19/4UacrEBBsBhlBjvfkQjt71kZfyBzPgNG9hUI_KCisSGVrw.ttf",500:"http://fonts.gstatic.com/s/alegreya/v19/4UacrEBBsBhlBjvfkQjt71kZfyBzPgNGxBUI_KCisSGVrw.ttf",600:"http://fonts.gstatic.com/s/alegreya/v19/4UacrEBBsBhlBjvfkQjt71kZfyBzPgNGKBII_KCisSGVrw.ttf",700:"http://fonts.gstatic.com/s/alegreya/v19/4UacrEBBsBhlBjvfkQjt71kZfyBzPgNGERII_KCisSGVrw.ttf",800:"http://fonts.gstatic.com/s/alegreya/v19/4UacrEBBsBhlBjvfkQjt71kZfyBzPgNGdhII_KCisSGVrw.ttf",900:"http://fonts.gstatic.com/s/alegreya/v19/4UacrEBBsBhlBjvfkQjt71kZfyBzPgNGXxII_KCisSGVrw.ttf",italic:"http://fonts.gstatic.com/s/alegreya/v19/4UaSrEBBsBhlBjvfkSLk3abBFkvpkARTPlbgv6qmkySFr9V9.ttf","500italic":"http://fonts.gstatic.com/s/alegreya/v19/4UaSrEBBsBhlBjvfkSLk3abBFkvpkARTPlbSv6qmkySFr9V9.ttf","600italic":"http://fonts.gstatic.com/s/alegreya/v19/4UaSrEBBsBhlBjvfkSLk3abBFkvpkARTPlY-uKqmkySFr9V9.ttf","700italic":"http://fonts.gstatic.com/s/alegreya/v19/4UaSrEBBsBhlBjvfkSLk3abBFkvpkARTPlYHuKqmkySFr9V9.ttf","800italic":"http://fonts.gstatic.com/s/alegreya/v19/4UaSrEBBsBhlBjvfkSLk3abBFkvpkARTPlZguKqmkySFr9V9.ttf","900italic":"http://fonts.gstatic.com/s/alegreya/v19/4UaSrEBBsBhlBjvfkSLk3abBFkvpkARTPlZJuKqmkySFr9V9.ttf"},category:"serif",kind:"webfonts#webfont"},{family:"Alegreya SC",variants:["regular","italic","500","500italic","700","700italic","800","800italic","900","900italic"],subsets:["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"],version:"v15",lastModified:"2021-03-24",files:{regular:"http://fonts.gstatic.com/s/alegreyasc/v15/taiOGmRtCJ62-O0HhNEa-a6o05E5abe_.ttf",italic:"http://fonts.gstatic.com/s/alegreyasc/v15/taiMGmRtCJ62-O0HhNEa-Z6q2ZUbbKe_DGs.ttf",500:"http://fonts.gstatic.com/s/alegreyasc/v15/taiTGmRtCJ62-O0HhNEa-ZZc-rUxQqu2FXKD.ttf","500italic":"http://fonts.gstatic.com/s/alegreyasc/v15/taiRGmRtCJ62-O0HhNEa-Z6q4WEySK-UEGKDBz4.ttf",700:"http://fonts.gstatic.com/s/alegreyasc/v15/taiTGmRtCJ62-O0HhNEa-ZYU_LUxQqu2FXKD.ttf","700italic":"http://fonts.gstatic.com/s/alegreyasc/v15/taiRGmRtCJ62-O0HhNEa-Z6q4Sk0SK-UEGKDBz4.ttf",800:"http://fonts.gstatic.com/s/alegreyasc/v15/taiTGmRtCJ62-O0HhNEa-ZYI_7UxQqu2FXKD.ttf","800italic":"http://fonts.gstatic.com/s/alegreyasc/v15/taiRGmRtCJ62-O0HhNEa-Z6q4TU3SK-UEGKDBz4.ttf",900:"http://fonts.gstatic.com/s/alegreyasc/v15/taiTGmRtCJ62-O0HhNEa-ZYs_rUxQqu2FXKD.ttf","900italic":"http://fonts.gstatic.com/s/alegreyasc/v15/taiRGmRtCJ62-O0HhNEa-Z6q4RE2SK-UEGKDBz4.ttf"},category:"serif",kind:"webfonts#webfont"},{family:"Alegreya Sans",variants:["100","100italic","300","300italic","regular","italic","500","500italic","700","700italic","800","800italic","900","900italic"],subsets:["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"],version:"v14",lastModified:"2021-03-24",files:{100:"http://fonts.gstatic.com/s/alegreyasans/v14/5aUt9_-1phKLFgshYDvh6Vwt5TltuGdShm5bsg.ttf","100italic":"http://fonts.gstatic.com/s/alegreyasans/v14/5aUv9_-1phKLFgshYDvh6Vwt7V9V3G1WpGtLsgu7.ttf",300:"http://fonts.gstatic.com/s/alegreyasans/v14/5aUu9_-1phKLFgshYDvh6Vwt5fFPmE18imdCqxI.ttf","300italic":"http://fonts.gstatic.com/s/alegreyasans/v14/5aUo9_-1phKLFgshYDvh6Vwt7V9VFE92jkVHuxKiBA.ttf",regular:"http://fonts.gstatic.com/s/alegreyasans/v14/5aUz9_-1phKLFgshYDvh6Vwt3V1nvEVXlm4.ttf",italic:"http://fonts.gstatic.com/s/alegreyasans/v14/5aUt9_-1phKLFgshYDvh6Vwt7V9tuGdShm5bsg.ttf",500:"http://fonts.gstatic.com/s/alegreyasans/v14/5aUu9_-1phKLFgshYDvh6Vwt5alOmE18imdCqxI.ttf","500italic":"http://fonts.gstatic.com/s/alegreyasans/v14/5aUo9_-1phKLFgshYDvh6Vwt7V9VTE52jkVHuxKiBA.ttf",700:"http://fonts.gstatic.com/s/alegreyasans/v14/5aUu9_-1phKLFgshYDvh6Vwt5eFImE18imdCqxI.ttf","700italic":"http://fonts.gstatic.com/s/alegreyasans/v14/5aUo9_-1phKLFgshYDvh6Vwt7V9VBEh2jkVHuxKiBA.ttf",800:"http://fonts.gstatic.com/s/alegreyasans/v14/5aUu9_-1phKLFgshYDvh6Vwt5f1LmE18imdCqxI.ttf","800italic":"http://fonts.gstatic.com/s/alegreyasans/v14/5aUo9_-1phKLFgshYDvh6Vwt7V9VGEt2jkVHuxKiBA.ttf",900:"http://fonts.gstatic.com/s/alegreyasans/v14/5aUu9_-1phKLFgshYDvh6Vwt5dlKmE18imdCqxI.ttf","900italic":"http://fonts.gstatic.com/s/alegreyasans/v14/5aUo9_-1phKLFgshYDvh6Vwt7V9VPEp2jkVHuxKiBA.ttf"},category:"sans-serif",kind:"webfonts#webfont"},{family:"Alegreya Sans SC",variants:["100","100italic","300","300italic","regular","italic","500","500italic","700","700italic","800","800italic","900","900italic"],subsets:["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"],version:"v13",lastModified:"2021-03-24",files:{100:"http://fonts.gstatic.com/s/alegreyasanssc/v13/mtGn4-RGJqfMvt7P8FUr0Q1j-Hf1Dipl8g5FPYtmMg.ttf","100italic":"http://fonts.gstatic.com/s/alegreyasanssc/v13/mtGl4-RGJqfMvt7P8FUr0Q1j-Hf1BkxdlgRBH452Mvds.ttf",300:"http://fonts.gstatic.com/s/alegreyasanssc/v13/mtGm4-RGJqfMvt7P8FUr0Q1j-Hf1DuJH0iRrMYJ_K-4.ttf","300italic":"http://fonts.gstatic.com/s/alegreyasanssc/v13/mtGk4-RGJqfMvt7P8FUr0Q1j-Hf1BkxdXiZhNaB6O-51OA.ttf",regular:"http://fonts.gstatic.com/s/alegreyasanssc/v13/mtGh4-RGJqfMvt7P8FUr0Q1j-Hf1Nk5v9ixALYs.ttf",italic:"http://fonts.gstatic.com/s/alegreyasanssc/v13/mtGn4-RGJqfMvt7P8FUr0Q1j-Hf1Bkxl8g5FPYtmMg.ttf",500:"http://fonts.gstatic.com/s/alegreyasanssc/v13/mtGm4-RGJqfMvt7P8FUr0Q1j-Hf1DrpG0iRrMYJ_K-4.ttf","500italic":"http://fonts.gstatic.com/s/alegreyasanssc/v13/mtGk4-RGJqfMvt7P8FUr0Q1j-Hf1BkxdBidhNaB6O-51OA.ttf",700:"http://fonts.gstatic.com/s/alegreyasanssc/v13/mtGm4-RGJqfMvt7P8FUr0Q1j-Hf1DvJA0iRrMYJ_K-4.ttf","700italic":"http://fonts.gstatic.com/s/alegreyasanssc/v13/mtGk4-RGJqfMvt7P8FUr0Q1j-Hf1BkxdTiFhNaB6O-51OA.ttf",800:"http://fonts.gstatic.com/s/alegreyasanssc/v13/mtGm4-RGJqfMvt7P8FUr0Q1j-Hf1Du5D0iRrMYJ_K-4.ttf","800italic":"http://fonts.gstatic.com/s/alegreyasanssc/v13/mtGk4-RGJqfMvt7P8FUr0Q1j-Hf1BkxdUiJhNaB6O-51OA.ttf",900:"http://fonts.gstatic.com/s/alegreyasanssc/v13/mtGm4-RGJqfMvt7P8FUr0Q1j-Hf1DspC0iRrMYJ_K-4.ttf","900italic":"http://fonts.gstatic.com/s/alegreyasanssc/v13/mtGk4-RGJqfMvt7P8FUr0Q1j-Hf1BkxddiNhNaB6O-51OA.ttf"},category:"sans-serif",kind:"webfonts#webfont"},{family:"Aleo",variants:["300","300italic","regular","italic","700","700italic"],subsets:["latin","latin-ext"],version:"v4",lastModified:"2020-09-02",files:{300:"http://fonts.gstatic.com/s/aleo/v4/c4mg1nF8G8_syKbr9DVDno985KM.ttf","300italic":"http://fonts.gstatic.com/s/aleo/v4/c4mi1nF8G8_swAjxeDdJmq159KOnWA.ttf",regular:"http://fonts.gstatic.com/s/aleo/v4/c4mv1nF8G8_s8ArD0D1ogoY.ttf",italic:"http://fonts.gstatic.com/s/aleo/v4/c4mh1nF8G8_swAjJ1B9tkoZl_Q.ttf",700:"http://fonts.gstatic.com/s/aleo/v4/c4mg1nF8G8_syLbs9DVDno985KM.ttf","700italic":"http://fonts.gstatic.com/s/aleo/v4/c4mi1nF8G8_swAjxaDBJmq159KOnWA.ttf"},category:"serif",kind:"webfonts#webfont"},{family:"Alex Brush",variants:["regular"],subsets:["latin","latin-ext"],version:"v12",lastModified:"2020-09-02",files:{regular:"http://fonts.gstatic.com/s/alexbrush/v12/SZc83FzrJKuqFbwMKk6EtUL57DtOmCc.ttf"},category:"handwriting",kind:"webfonts#webfont"},{family:"Alfa Slab One",variants:["regular"],subsets:["latin","latin-ext","vietnamese"],version:"v10",lastModified:"2020-09-02",files:{regular:"http://fonts.gstatic.com/s/alfaslabone/v10/6NUQ8FmMKwSEKjnm5-4v-4Jh6dVretWvYmE.ttf"},category:"display",kind:"webfonts#webfont"},{family:"Alice",variants:["regular"],subsets:["cyrillic","cyrillic-ext","latin"],version:"v12",lastModified:"2020-09-02",files:{regular:"http://fonts.gstatic.com/s/alice/v12/OpNCnoEEmtHa6FcJpA_chzJ0.ttf"},category:"serif",kind:"webfonts#webfont"},{family:"Alike",variants:["regular"],subsets:["latin"],version:"v13",lastModified:"2020-07-23",files:{regular:"http://fonts.gstatic.com/s/alike/v13/HI_EiYEYI6BIoEjBSZXAQ4-d.ttf"},category:"serif",kind:"webfonts#webfont"},{family:"Alike Angular",variants:["regular"],subsets:["latin"],version:"v13",lastModified:"2021-03-19",files:{regular:"http://fonts.gstatic.com/s/alikeangular/v13/3qTrojWunjGQtEBlIcwMbSoI3kM6bB7FKjE.ttf"},category:"serif",kind:"webfonts#webfont"},{family:"Allan",variants:["regular","700"],subsets:["latin","latin-ext"],version:"v13",lastModified:"2020-09-02",files:{regular:"http://fonts.gstatic.com/s/allan/v13/ea8XadU7WuTxEtb2P9SF8nZE.ttf",700:"http://fonts.gstatic.com/s/allan/v13/ea8aadU7WuTxEu5KEPCN2WpNgEKU.ttf"},category:"display",kind:"webfonts#webfont"},{family:"Allerta",variants:["regular"],subsets:["latin"],version:"v11",lastModified:"2020-09-02",files:{regular:"http://fonts.gstatic.com/s/allerta/v11/TwMO-IAHRlkbx940UnEdSQqO5uY.ttf"},category:"sans-serif",kind:"webfonts#webfont"},{family:"Allerta Stencil",variants:["regular"],subsets:["latin"],version:"v11",lastModified:"2020-09-02",files:{regular:"http://fonts.gstatic.com/s/allertastencil/v11/HTx0L209KT-LmIE9N7OR6eiycOeF-zz313DuvQ.ttf"},category:"sans-serif",kind:"webfonts#webfont"},{family:"Allura",variants:["regular"],subsets:["latin","latin-ext"],version:"v9",lastModified:"2020-09-02",files:{regular:"http://fonts.gstatic.com/s/allura/v9/9oRPNYsQpS4zjuAPjAIXPtrrGA.ttf"},category:"handwriting",kind:"webfonts#webfont"},{family:"Almarai",variants:["300","regular","700","800"],subsets:["arabic"],version:"v5",lastModified:"2021-03-24",files:{300:"http://fonts.gstatic.com/s/almarai/v5/tssoApxBaigK_hnnS_anhnicoq72sXg.ttf",regular:"http://fonts.gstatic.com/s/almarai/v5/tsstApxBaigK_hnnc1qPonC3vqc.ttf",700:"http://fonts.gstatic.com/s/almarai/v5/tssoApxBaigK_hnnS-aghnicoq72sXg.ttf",800:"http://fonts.gstatic.com/s/almarai/v5/tssoApxBaigK_hnnS_qjhnicoq72sXg.ttf"},category:"sans-serif",kind:"webfonts#webfont"},{family:"Almendra",variants:["regular","italic","700","700italic"],subsets:["latin","latin-ext"],version:"v15",lastModified:"2021-03-19",files:{regular:"http://fonts.gstatic.com/s/almendra/v15/H4ckBXKAlMnTn0CskyY6wr-wg763.ttf",italic:"http://fonts.gstatic.com/s/almendra/v15/H4ciBXKAlMnTn0CskxY4yLuShq63czE.ttf",700:"http://fonts.gstatic.com/s/almendra/v15/H4cjBXKAlMnTn0Cskx6G7Zu4qKK-aihq.ttf","700italic":"http://fonts.gstatic.com/s/almendra/v15/H4chBXKAlMnTn0CskxY48Ae9oqacbzhqDtg.ttf"},category:"serif",kind:"webfonts#webfont"},{family:"Almendra Display",variants:["regular"],subsets:["latin","latin-ext"],version:"v13",lastModified:"2021-03-19",files:{regular:"http://fonts.gstatic.com/s/almendradisplay/v13/0FlPVOGWl1Sb4O3tETtADHRRlZhzXS_eTyer338.ttf"},category:"display",kind:"webfonts#webfont"},{family:"Almendra SC",variants:["regular"],subsets:["latin"],version:"v13",lastModified:"2021-03-19",files:{regular:"http://fonts.gstatic.com/s/almendrasc/v13/Iure6Yx284eebowr7hbyTZZJprVA4XQ0.ttf"},category:"serif",kind:"webfonts#webfont"},{family:"Amarante",variants:["regular"],subsets:["latin","latin-ext"],version:"v10",lastModified:"2021-03-19",files:{regular:"http://fonts.gstatic.com/s/amarante/v10/xMQXuF1KTa6EvGx9bq-3C3rAmD-b.ttf"},category:"display",kind:"webfonts#webfont"},{family:"Amaranth",variants:["regular","italic","700","700italic"],subsets:["latin"],version:"v11",lastModified:"2020-09-02",files:{regular:"http://fonts.gstatic.com/s/amaranth/v11/KtkuALODe433f0j1zPnCF9GqwnzW.ttf",italic:"http://fonts.gstatic.com/s/amaranth/v11/KtkoALODe433f0j1zMnAHdWIx2zWD4I.ttf",700:"http://fonts.gstatic.com/s/amaranth/v11/KtkpALODe433f0j1zMF-OPWi6WDfFpuc.ttf","700italic":"http://fonts.gstatic.com/s/amarant