GenerateBlocks - Version 1.4.3

Version Description

  • Fix: Error when opening Headline color pickers in WP 6.0
  • Fix: Button URL field not selectable in WP 6.0
Download this release

Release Info

Developer edge22
Plugin Icon 128x128 GenerateBlocks
Version 1.4.3
Comparing to
See all releases

Code changes from version 1.4.2 to 1.4.3

dist/blocks.asset.php CHANGED
@@ -1 +1 @@
1
- <?php return array('dependencies' => array('wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-polyfill', 'wp-rich-text'), 'version' => 'aefbe130c6a5e0b06c160b0b4d0eaee1');
1
+ <?php return array('dependencies' => array('wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-polyfill', 'wp-rich-text'), 'version' => 'e7ff33b7d79345d3ad964c4d1d7297c3');
dist/blocks.js CHANGED
@@ -1,12 +1,12 @@
1
  !function(e){var t={};function a(l){if(t[l])return t[l].exports;var i=t[l]={i:l,l:!1,exports:{}};return e[l].call(i.exports,i,i.exports,a),i.l=!0,i.exports}a.m=e,a.c=t,a.d=function(e,t,l){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:l})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var l=Object.create(null);if(a.r(l),Object.defineProperty(l,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)a.d(l,i,function(t){return e[t]}.bind(null,i));return l},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="",a(a.s=14)}([function(e,t){e.exports=window.wp.element},function(e,t){e.exports=window.wp.i18n},function(e,t){e.exports=window.wp.components},function(e,t){e.exports=window.wp.hooks},function(e,t){function a(){return e.exports=a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var l in a)Object.prototype.hasOwnProperty.call(a,l)&&(e[l]=a[l])}return e},e.exports.default=e.exports,e.exports.__esModule=!0,a.apply(this,arguments)}e.exports=a,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=window.wp.blockEditor},function(e,t,a){var l;!function(){"use strict";var a={}.hasOwnProperty;function i(){for(var e=[],t=0;t<arguments.length;t++){var l=arguments[t];if(l){var r=typeof l;if("string"===r||"number"===r)e.push(l);else if(Array.isArray(l)){if(l.length){var n=i.apply(null,l);n&&e.push(n)}}else if("object"===r)if(l.toString===Object.prototype.toString)for(var o in l)a.call(l,o)&&l[o]&&e.push(o);else e.push(l.toString())}}return e.join(" ")}e.exports?(i.default=i,e.exports=i):void 0===(l=function(){return i}.apply(t,[]))||(e.exports=l)}()},function(e,t){e.exports=window.wp.blocks},function(e,t){e.exports=window.wp.data},function(e,t){e.exports=window.wp.compose},function(e){e.exports=JSON.parse('{"Roboto":{"weight":["100","100italic","300","300italic","regular","italic","500","500italic","700","700italic","900","900italic"],"fallback":"sans-serif"},"Open Sans":{"weight":["300","300italic","regular","italic","600","600italic","700","700italic","800","800italic"],"fallback":"sans-serif"},"Noto Sans JP":{"weight":["100","300","regular","500","700","900"],"fallback":"sans-serif"},"Lato":{"weight":["100","100italic","300","300italic","regular","italic","700","700italic","900","900italic"],"fallback":"sans-serif"},"Montserrat":{"weight":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"fallback":"sans-serif"},"Roboto Condensed":{"weight":["300","300italic","regular","italic","700","700italic"],"fallback":"sans-serif"},"Source Sans Pro":{"weight":["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","900","900italic"],"fallback":"sans-serif"},"Oswald":{"weight":["200","300","regular","500","600","700"],"fallback":"sans-serif"},"Poppins":{"weight":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"fallback":"sans-serif"},"Roboto Mono":{"weight":["100","200","300","regular","500","600","700","100italic","200italic","300italic","italic","500italic","600italic","700italic"],"fallback":"monospace"},"Noto Sans":{"weight":["regular","italic","700","700italic"],"fallback":"sans-serif"},"Raleway":{"weight":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"fallback":"sans-serif"},"PT Sans":{"weight":["regular","italic","700","700italic"],"fallback":"sans-serif"},"Roboto Slab":{"weight":["100","200","300","regular","500","600","700","800","900"],"fallback":"serif"},"Merriweather":{"weight":["300","300italic","regular","italic","700","700italic","900","900italic"],"fallback":"serif"},"Ubuntu":{"weight":["300","300italic","regular","italic","500","500italic","700","700italic"],"fallback":"sans-serif"},"Playfair Display":{"weight":["regular","500","600","700","800","900","italic","500italic","600italic","700italic","800italic","900italic"],"fallback":"serif"},"Nunito":{"weight":["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","800","800italic","900","900italic"],"fallback":"sans-serif"},"Noto Sans KR":{"weight":["100","300","regular","500","700","900"],"fallback":"sans-serif"},"Open Sans Condensed":{"weight":["300","300italic","700"],"fallback":"sans-serif"},"Rubik":{"weight":["300","regular","500","600","700","800","900","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"fallback":"sans-serif"},"Lora":{"weight":["regular","500","600","700","italic","500italic","600italic","700italic"],"fallback":"serif"},"Work Sans":{"weight":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"fallback":"sans-serif"},"Mukta":{"weight":["200","300","regular","500","600","700","800"],"fallback":"sans-serif"},"Noto Sans TC":{"weight":["100","300","regular","500","700","900"],"fallback":"sans-serif"},"Nunito Sans":{"weight":["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","800","800italic","900","900italic"],"fallback":"sans-serif"},"PT Serif":{"weight":["regular","italic","700","700italic"],"fallback":"serif"},"Nanum Gothic":{"weight":["regular","700","800"],"fallback":"sans-serif"},"Inter":{"weight":["100","200","300","regular","500","600","700","800","900"],"fallback":"sans-serif"},"Fira Sans":{"weight":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"fallback":"sans-serif"},"Noto Serif":{"weight":["regular","italic","700","700italic"],"fallback":"serif"},"Quicksand":{"weight":["300","regular","500","600","700"],"fallback":"sans-serif"},"Titillium Web":{"weight":["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","900"],"fallback":"sans-serif"},"Hind Siliguri":{"weight":["300","regular","500","600","700"],"fallback":"sans-serif"},"Karla":{"weight":["200","300","regular","500","600","700","800","200italic","300italic","italic","500italic","600italic","700italic","800italic"],"fallback":"sans-serif"},"Barlow":{"weight":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"fallback":"sans-serif"},"Inconsolata":{"weight":["200","300","regular","500","600","700","800","900"],"fallback":"monospace"},"Heebo":{"weight":["100","200","300","regular","500","600","700","800","900"],"fallback":"sans-serif"},"Noto Sans SC":{"weight":["100","300","regular","500","700","900"],"fallback":"sans-serif"},"Oxygen":{"weight":["300","regular","700"],"fallback":"sans-serif"},"Source Code Pro":{"weight":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","900","900italic"],"fallback":"monospace"},"Anton":{"weight":["regular"],"fallback":"sans-serif"},"Josefin Sans":{"weight":["100","200","300","regular","500","600","700","100italic","200italic","300italic","italic","500italic","600italic","700italic"],"fallback":"sans-serif"},"Arimo":{"weight":["regular","500","600","700","italic","500italic","600italic","700italic"],"fallback":"sans-serif"},"PT Sans Narrow":{"weight":["regular","700"],"fallback":"sans-serif"},"IBM Plex Sans":{"weight":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"fallback":"sans-serif"},"Dosis":{"weight":["200","300","regular","500","600","700","800"],"fallback":"sans-serif"},"Noto Sans HK":{"weight":["100","300","regular","500","700","900"],"fallback":"sans-serif"},"Libre Franklin":{"weight":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"fallback":"sans-serif"},"Libre Baskerville":{"weight":["regular","italic","700"],"fallback":"serif"},"Cabin":{"weight":["regular","500","600","700","italic","500italic","600italic","700italic"],"fallback":"sans-serif"},"Hind":{"weight":["300","regular","500","600","700"],"fallback":"sans-serif"},"Bitter":{"weight":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"fallback":"serif"},"Crimson Text":{"weight":["regular","italic","600","600italic","700","700italic"],"fallback":"serif"},"Bebas Neue":{"weight":["regular"],"fallback":"display"},"Lobster":{"weight":["regular"],"fallback":"display"},"Yanone Kaffeesatz":{"weight":["200","300","regular","500","600","700"],"fallback":"sans-serif"},"Dancing Script":{"weight":["regular","500","600","700"],"fallback":"handwriting"},"Cairo":{"weight":["200","300","regular","600","700","900"],"fallback":"sans-serif"},"Abel":{"weight":["regular"],"fallback":"sans-serif"},"Fjalla One":{"weight":["regular"],"fallback":"sans-serif"},"Varela Round":{"weight":["regular"],"fallback":"sans-serif"},"Source Serif Pro":{"weight":["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","900","900italic"],"fallback":"serif"},"Arvo":{"weight":["regular","italic","700","700italic"],"fallback":"serif"},"EB Garamond":{"weight":["regular","500","600","700","800","italic","500italic","600italic","700italic","800italic"],"fallback":"serif"},"Barlow Condensed":{"weight":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"fallback":"sans-serif"},"Architects Daughter":{"weight":["regular"],"fallback":"handwriting"},"Zilla Slab":{"weight":["300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"fallback":"serif"},"Indie Flower":{"weight":["regular"],"fallback":"handwriting"},"Mulish":{"weight":["200","300","regular","500","600","700","800","900","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"fallback":"sans-serif"},"Comfortaa":{"weight":["300","regular","500","600","700"],"fallback":"display"},"DM Sans":{"weight":["regular","italic","500","500italic","700","700italic"],"fallback":"sans-serif"},"Pacifico":{"weight":["regular"],"fallback":"handwriting"},"Exo 2":{"weight":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"fallback":"sans-serif"},"Kanit":{"weight":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"fallback":"sans-serif"},"Prompt":{"weight":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"fallback":"sans-serif"},"Shadows Into Light":{"weight":["regular"],"fallback":"handwriting"},"Questrial":{"weight":["regular"],"fallback":"sans-serif"},"Merriweather Sans":{"weight":["300","regular","500","600","700","800","300italic","italic","500italic","600italic","700italic","800italic"],"fallback":"sans-serif"},"Teko":{"weight":["300","regular","500","600","700"],"fallback":"sans-serif"},"Balsamiq Sans":{"weight":["regular","italic","700","700italic"],"fallback":"display"},"Asap":{"weight":["regular","500","600","700","italic","500italic","600italic","700italic"],"fallback":"sans-serif"},"Hind Madurai":{"weight":["300","regular","500","600","700"],"fallback":"sans-serif"},"Cormorant Garamond":{"weight":["300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"fallback":"serif"},"Antic Slab":{"weight":["regular"],"fallback":"serif"},"Archivo Narrow":{"weight":["regular","italic","500","500italic","600","600italic","700","700italic"],"fallback":"sans-serif"},"Overpass":{"weight":["100","100italic","200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","800","800italic","900","900italic"],"fallback":"sans-serif"},"Abril Fatface":{"weight":["regular"],"fallback":"display"},"Slabo 27px":{"weight":["regular"],"fallback":"serif"},"Exo":{"weight":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"fallback":"sans-serif"},"Assistant":{"weight":["200","300","regular","500","600","700","800"],"fallback":"sans-serif"},"Maven Pro":{"weight":["regular","500","600","700","800","900"],"fallback":"sans-serif"},"Domine":{"weight":["regular","500","600","700"],"fallback":"serif"},"Fira Sans Condensed":{"weight":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"fallback":"sans-serif"},"Caveat":{"weight":["regular","500","600","700"],"fallback":"handwriting"},"Rajdhani":{"weight":["300","regular","500","600","700"],"fallback":"sans-serif"},"IBM Plex Serif":{"weight":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"fallback":"serif"},"Martel":{"weight":["200","300","regular","600","700","800","900"],"fallback":"serif"},"Play":{"weight":["regular","700"],"fallback":"sans-serif"},"Amatic SC":{"weight":["regular","700"],"fallback":"handwriting"},"Bree Serif":{"weight":["regular"],"fallback":"serif"},"Tajawal":{"weight":["200","300","regular","500","700","800","900"],"fallback":"sans-serif"},"Noto Serif JP":{"weight":["200","300","regular","500","600","700","900"],"fallback":"serif"},"Righteous":{"weight":["regular"],"fallback":"display"},"Satisfy":{"weight":["regular"],"fallback":"handwriting"},"Signika":{"weight":["300","regular","500","600","700"],"fallback":"sans-serif"},"Catamaran":{"weight":["100","200","300","regular","500","600","700","800","900"],"fallback":"sans-serif"},"Acme":{"weight":["regular"],"fallback":"sans-serif"},"Manrope":{"weight":["200","300","regular","500","600","700","800"],"fallback":"sans-serif"},"Fredoka One":{"weight":["regular"],"fallback":"display"},"Nanum Myeongjo":{"weight":["regular","700","800"],"fallback":"serif"},"ABeeZee":{"weight":["regular","italic"],"fallback":"sans-serif"},"Amiri":{"weight":["regular","italic","700","700italic"],"fallback":"serif"},"Patrick Hand":{"weight":["regular"],"fallback":"handwriting"},"PT Sans Caption":{"weight":["regular","700"],"fallback":"sans-serif"},"Archivo":{"weight":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"fallback":"sans-serif"},"Alfa Slab One":{"weight":["regular"],"fallback":"display"},"Cinzel":{"weight":["regular","500","600","700","800","900"],"fallback":"serif"},"Crete Round":{"weight":["regular","italic"],"fallback":"serif"},"Permanent Marker":{"weight":["regular"],"fallback":"handwriting"},"Alegreya Sans":{"weight":["100","100italic","300","300italic","regular","italic","500","500italic","700","700italic","800","800italic","900","900italic"],"fallback":"sans-serif"},"Almarai":{"weight":["300","regular","700","800"],"fallback":"sans-serif"},"Barlow Semi Condensed":{"weight":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"fallback":"sans-serif"},"Russo One":{"weight":["regular"],"fallback":"sans-serif"},"Vollkorn":{"weight":["regular","500","600","700","800","900","italic","500italic","600italic","700italic","800italic","900italic"],"fallback":"serif"},"Sarabun":{"weight":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],"fallback":"sans-serif"},"Krona One":{"weight":["regular"],"fallback":"sans-serif"},"M PLUS Rounded 1c":{"weight":["100","300","regular","500","700","800","900"],"fallback":"sans-serif"},"Noticia Text":{"weight":["regular","italic","700","700italic"],"fallback":"serif"},"Courgette":{"weight":["regular"],"fallback":"handwriting"},"Monda":{"weight":["regular","700"],"fallback":"sans-serif"},"Alegreya":{"weight":["regular","500","600","700","800","900","italic","500italic","600italic","700italic","800italic","900italic"],"fallback":"serif"},"Frank Ruhl Libre":{"weight":["300","regular","500","700","900"],"fallback":"serif"},"Patua One":{"weight":["regular"],"fallback":"display"},"Ubuntu Condensed":{"weight":["regular"],"fallback":"sans-serif"},"Great Vibes":{"weight":["regular"],"fallback":"handwriting"},"Quattrocento Sans":{"weight":["regular","italic","700","700italic"],"fallback":"sans-serif"},"M PLUS 1p":{"weight":["100","300","regular","500","700","800","900"],"fallback":"sans-serif"},"Spartan":{"weight":["100","200","300","regular","500","600","700","800","900"],"fallback":"sans-serif"},"Yantramanav":{"weight":["100","300","regular","500","700","900"],"fallback":"sans-serif"},"Lobster Two":{"weight":["regular","italic","700","700italic"],"fallback":"display"},"Archivo Black":{"weight":["regular"],"fallback":"sans-serif"},"Kaushan Script":{"weight":["regular"],"fallback":"handwriting"},"Tinos":{"weight":["regular","italic","700","700italic"],"fallback":"serif"},"Cardo":{"weight":["regular","italic","700"],"fallback":"serif"},"Orbitron":{"weight":["regular","500","600","700","800","900"],"fallback":"sans-serif"},"Sacramento":{"weight":["regular"],"fallback":"handwriting"},"IBM Plex Mono":{"weight":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"fallback":"monospace"},"Francois One":{"weight":["regular"],"fallback":"sans-serif"},"Luckiest Guy":{"weight":["regular"],"fallback":"display"},"Gothic A1":{"weight":["100","200","300","regular","500","600","700","800","900"],"fallback":"sans-serif"},"Kalam":{"weight":["300","regular","700"],"fallback":"handwriting"},"Parisienne":{"weight":["regular"],"fallback":"handwriting"},"Gloria Hallelujah":{"weight":["regular"],"fallback":"handwriting"},"Didact Gothic":{"weight":["regular"],"fallback":"sans-serif"},"Cantarell":{"weight":["regular","italic","700","700italic"],"fallback":"sans-serif"},"Press Start 2P":{"weight":["regular"],"fallback":"display"},"Jost":{"weight":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"fallback":"sans-serif"},"Rokkitt":{"weight":["100","200","300","regular","500","600","700","800","900"],"fallback":"serif"},"Paytone One":{"weight":["regular"],"fallback":"sans-serif"},"Prata":{"weight":["regular"],"fallback":"serif"},"Baloo 2":{"weight":["regular","500","600","700","800"],"fallback":"display"},"Cuprum":{"weight":["regular","500","600","700","italic","500italic","600italic","700italic"],"fallback":"sans-serif"},"Chivo":{"weight":["300","300italic","regular","italic","700","700italic","900","900italic"],"fallback":"sans-serif"},"Encode Sans":{"weight":["100","200","300","regular","500","600","700","800","900"],"fallback":"sans-serif"},"News Cycle":{"weight":["regular","700"],"fallback":"sans-serif"},"Old Standard TT":{"weight":["regular","italic","700"],"fallback":"serif"},"Hind Guntur":{"weight":["300","regular","500","600","700"],"fallback":"sans-serif"},"Pathway Gothic One":{"weight":["regular"],"fallback":"sans-serif"},"Red Hat Display":{"weight":["regular","italic","500","500italic","700","700italic","900","900italic"],"fallback":"sans-serif"},"Public Sans":{"weight":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"fallback":"sans-serif"},"Secular One":{"weight":["regular"],"fallback":"sans-serif"},"Volkhov":{"weight":["regular","italic","700","700italic"],"fallback":"serif"},"Concert One":{"weight":["regular"],"fallback":"display"},"Asap Condensed":{"weight":["regular","italic","500","500italic","600","600italic","700","700italic"],"fallback":"sans-serif"},"Montserrat Alternates":{"weight":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"fallback":"sans-serif"},"Ropa Sans":{"weight":["regular","italic"],"fallback":"sans-serif"},"Josefin Slab":{"weight":["100","200","300","regular","500","600","700","100italic","200italic","300italic","italic","500italic","600italic","700italic"],"fallback":"serif"},"Poiret One":{"weight":["regular"],"fallback":"display"},"Passion One":{"weight":["regular","700","900"],"fallback":"display"},"Padauk":{"weight":["regular","700"],"fallback":"sans-serif"},"Changa":{"weight":["200","300","regular","500","600","700","800"],"fallback":"sans-serif"},"Saira Condensed":{"weight":["100","200","300","regular","500","600","700","800","900"],"fallback":"sans-serif"},"Ultra":{"weight":["regular"],"fallback":"serif"},"Quattrocento":{"weight":["regular","700"],"fallback":"serif"},"Arapey":{"weight":["regular","italic"],"fallback":"serif"},"Vidaloka":{"weight":["regular"],"fallback":"serif"},"Playfair Display SC":{"weight":["regular","italic","700","700italic","900","900italic"],"fallback":"serif"},"Cookie":{"weight":["regular"],"fallback":"handwriting"},"Chakra Petch":{"weight":["300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"fallback":"sans-serif"},"Istok Web":{"weight":["regular","italic","700","700italic"],"fallback":"sans-serif"},"Cormorant":{"weight":["300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"fallback":"serif"},"DM Serif Display":{"weight":["regular","italic"],"fallback":"serif"},"Neuton":{"weight":["200","300","regular","italic","700","800"],"fallback":"serif"},"Spectral":{"weight":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],"fallback":"serif"},"Sawarabi Mincho":{"weight":["regular"],"fallback":"sans-serif"},"Lemonada":{"weight":["300","regular","500","600","700"],"fallback":"display"},"Yellowtail":{"weight":["regular"],"fallback":"handwriting"},"Handlee":{"weight":["regular"],"fallback":"handwriting"},"Merienda":{"weight":["regular","700"],"fallback":"handwriting"},"Philosopher":{"weight":["regular","italic","700","700italic"],"fallback":"sans-serif"},"Sanchez":{"weight":["regular","italic"],"fallback":"serif"},"Hammersmith One":{"weight":["regular"],"fallback":"sans-serif"},"Special Elite":{"weight":["regular"],"fallback":"display"},"Economica":{"weight":["regular","italic","700","700italic"],"fallback":"sans-serif"},"Staatliches":{"weight":["regular"],"fallback":"display"},"Sriracha":{"weight":["regular"],"fallback":"handwriting"},"Hind Vadodara":{"weight":["300","regular","500","600","700"],"fallback":"sans-serif"},"Monoton":{"weight":["regular"],"fallback":"display"},"Ruda":{"weight":["regular","500","600","700","800","900"],"fallback":"sans-serif"},"Advent Pro":{"weight":["100","200","300","regular","500","600","700"],"fallback":"sans-serif"},"Saira":{"weight":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"fallback":"sans-serif"},"Homemade Apple":{"weight":["regular"],"fallback":"handwriting"},"Sigmar One":{"weight":["regular"],"fallback":"display"},"Mitr":{"weight":["200","300","regular","500","600","700"],"fallback":"sans-serif"},"Bangers":{"weight":["regular"],"fallback":"display"},"Khand":{"weight":["300","regular","500","600","700"],"fallback":"sans-serif"},"Faustina":{"weight":["regular","500","600","700","italic","500italic","600italic","700italic"],"fallback":"serif"},"Saira Semi Condensed":{"weight":["100","200","300","regular","500","600","700","800","900"],"fallback":"sans-serif"},"Cabin Condensed":{"weight":["regular","500","600","700"],"fallback":"sans-serif"},"Gudea":{"weight":["regular","italic","700"],"fallback":"sans-serif"},"Fira Sans Extra Condensed":{"weight":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"fallback":"sans-serif"},"DM Serif Text":{"weight":["regular","italic"],"fallback":"serif"},"El Messiri":{"weight":["regular","500","600","700"],"fallback":"sans-serif"},"Electrolize":{"weight":["regular"],"fallback":"sans-serif"},"Taviraj":{"weight":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"fallback":"serif"},"PT Mono":{"weight":["regular"],"fallback":"monospace"},"Gentium Basic":{"weight":["regular","italic","700","700italic"],"fallback":"serif"},"Space Mono":{"weight":["regular","italic","700","700italic"],"fallback":"monospace"},"Alice":{"weight":["regular"],"fallback":"serif"},"Unica One":{"weight":["regular"],"fallback":"display"},"Ubuntu Mono":{"weight":["regular","italic","700","700italic"],"fallback":"monospace"},"Pragati Narrow":{"weight":["regular","700"],"fallback":"sans-serif"},"Noto Serif TC":{"weight":["200","300","regular","500","600","700","900"],"fallback":"serif"},"Amaranth":{"weight":["regular","italic","700","700italic"],"fallback":"sans-serif"},"Karma":{"weight":["300","regular","500","600","700"],"fallback":"serif"},"Actor":{"weight":["regular"],"fallback":"sans-serif"},"Nanum Pen Script":{"weight":["regular"],"fallback":"handwriting"},"Noto Serif SC":{"weight":["200","300","regular","500","600","700","900"],"fallback":"serif"},"Tangerine":{"weight":["regular","700"],"fallback":"handwriting"},"Carter One":{"weight":["regular"],"fallback":"display"},"Neucha":{"weight":["regular"],"fallback":"handwriting"},"Unna":{"weight":["regular","italic","700","700italic"],"fallback":"serif"},"Pontano Sans":{"weight":["regular"],"fallback":"sans-serif"},"Bai Jamjuree":{"weight":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"fallback":"sans-serif"},"Marck Script":{"weight":["regular"],"fallback":"handwriting"},"BenchNine":{"weight":["300","regular","700"],"fallback":"sans-serif"},"Fugaz One":{"weight":["regular"],"fallback":"display"},"Yeseva One":{"weight":["regular"],"fallback":"display"},"Eczar":{"weight":["regular","500","600","700","800"],"fallback":"serif"},"Bad Script":{"weight":["regular"],"fallback":"handwriting"},"Viga":{"weight":["regular"],"fallback":"sans-serif"},"Gentium Book Basic":{"weight":["regular","italic","700","700italic"],"fallback":"serif"},"Jura":{"weight":["300","regular","500","600","700"],"fallback":"sans-serif"},"Allura":{"weight":["regular"],"fallback":"handwriting"},"Palanquin":{"weight":["100","200","300","regular","500","600","700"],"fallback":"sans-serif"},"Sawarabi Gothic":{"weight":["regular"],"fallback":"sans-serif"},"Rock Salt":{"weight":["regular"],"fallback":"handwriting"},"Lusitana":{"weight":["regular","700"],"fallback":"serif"},"Alef":{"weight":["regular","700"],"fallback":"sans-serif"},"Julius Sans One":{"weight":["regular"],"fallback":"sans-serif"},"Tenor Sans":{"weight":["regular"],"fallback":"sans-serif"},"Nothing You Could Do":{"weight":["regular"],"fallback":"handwriting"},"Cutive Mono":{"weight":["regular"],"fallback":"monospace"},"Khula":{"weight":["300","regular","600","700","800"],"fallback":"sans-serif"},"Adamina":{"weight":["regular"],"fallback":"serif"},"Playball":{"weight":["regular"],"fallback":"display"},"Audiowide":{"weight":["regular"],"fallback":"display"},"Jaldi":{"weight":["regular","700"],"fallback":"sans-serif"},"Black Ops One":{"weight":["regular"],"fallback":"display"},"Signika Negative":{"weight":["300","regular","600","700"],"fallback":"sans-serif"},"Shadows Into Light Two":{"weight":["regular"],"fallback":"handwriting"},"Armata":{"weight":["regular"],"fallback":"sans-serif"},"Mali":{"weight":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"fallback":"handwriting"},"Antic":{"weight":["regular"],"fallback":"sans-serif"},"Varela":{"weight":["regular"],"fallback":"sans-serif"},"Berkshire Swash":{"weight":["regular"],"fallback":"handwriting"},"Aleo":{"weight":["300","300italic","regular","italic","700","700italic"],"fallback":"serif"},"Gelasio":{"weight":["regular","italic","500","500italic","600","600italic","700","700italic"],"fallback":"serif"},"Rufina":{"weight":["regular","700"],"fallback":"serif"},"Markazi Text":{"weight":["regular","500","600","700"],"fallback":"serif"},"Nanum Gothic Coding":{"weight":["regular","700"],"fallback":"monospace"},"Allan":{"weight":["regular","700"],"fallback":"display"},"Noto Serif KR":{"weight":["200","300","regular","500","600","700","900"],"fallback":"serif"},"Abhaya Libre":{"weight":["regular","500","600","700","800"],"fallback":"serif"},"Quantico":{"weight":["regular","italic","700","700italic"],"fallback":"sans-serif"},"Marcellus":{"weight":["regular"],"fallback":"serif"},"Sorts Mill Goudy":{"weight":["regular","italic"],"fallback":"serif"},"Alata":{"weight":["regular"],"fallback":"sans-serif"},"Knewave":{"weight":["regular"],"fallback":"display"},"Alex Brush":{"weight":["regular"],"fallback":"handwriting"},"Aclonica":{"weight":["regular"],"fallback":"sans-serif"},"Gruppo":{"weight":["regular"],"fallback":"display"},"Damion":{"weight":["regular"],"fallback":"handwriting"},"Itim":{"weight":["regular"],"fallback":"handwriting"},"Bungee":{"weight":["regular"],"fallback":"display"},"Gochi Hand":{"weight":["regular"],"fallback":"handwriting"},"Mr Dafoe":{"weight":["regular"],"fallback":"handwriting"},"Freckle Face":{"weight":["regular"],"fallback":"display"},"Baloo Chettan 2":{"weight":["regular","500","600","700","800"],"fallback":"display"},"Trirong":{"weight":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"fallback":"serif"},"Kosugi Maru":{"weight":["regular"],"fallback":"sans-serif"},"Rubik Mono One":{"weight":["regular"],"fallback":"sans-serif"},"Fira Mono":{"weight":["regular","500","700"],"fallback":"monospace"},"Cantata One":{"weight":["regular"],"fallback":"serif"},"Suez One":{"weight":["regular"],"fallback":"serif"},"Niconne":{"weight":["regular"],"fallback":"handwriting"},"Six Caps":{"weight":["regular"],"fallback":"sans-serif"},"Miriam Libre":{"weight":["regular","700"],"fallback":"sans-serif"},"Sarala":{"weight":["regular","700"],"fallback":"sans-serif"},"Sintony":{"weight":["regular","700"],"fallback":"sans-serif"},"Titan One":{"weight":["regular"],"fallback":"display"},"Encode Sans Condensed":{"weight":["100","200","300","regular","500","600","700","800","900"],"fallback":"sans-serif"},"Cousine":{"weight":["regular","italic","700","700italic"],"fallback":"monospace"},"PT Serif Caption":{"weight":["regular","italic"],"fallback":"serif"},"Courier Prime":{"weight":["regular","italic","700","700italic"],"fallback":"monospace"},"Overlock":{"weight":["regular","italic","700","700italic","900","900italic"],"fallback":"display"},"Allerta":{"weight":["regular"],"fallback":"sans-serif"},"Arsenal":{"weight":["regular","italic","700","700italic"],"fallback":"sans-serif"},"Black Han Sans":{"weight":["regular"],"fallback":"sans-serif"},"Squada One":{"weight":["regular"],"fallback":"display"},"Lateef":{"weight":["regular"],"fallback":"handwriting"},"Arima Madurai":{"weight":["100","200","300","regular","500","700","800","900"],"fallback":"display"},"Ramabhadra":{"weight":["regular"],"fallback":"sans-serif"},"Covered By Your Grace":{"weight":["regular"],"fallback":"handwriting"},"Martel Sans":{"weight":["200","300","regular","600","700","800","900"],"fallback":"sans-serif"},"Rancho":{"weight":["regular"],"fallback":"handwriting"},"Enriqueta":{"weight":["regular","500","600","700"],"fallback":"serif"},"Syncopate":{"weight":["regular","700"],"fallback":"sans-serif"},"Pinyon Script":{"weight":["regular"],"fallback":"handwriting"},"Chewy":{"weight":["regular"],"fallback":"display"},"Oleo Script":{"weight":["regular","700"],"fallback":"display"},"Kreon":{"weight":["300","regular","500","600","700"],"fallback":"serif"},"Candal":{"weight":["regular"],"fallback":"sans-serif"},"Spinnaker":{"weight":["regular"],"fallback":"sans-serif"},"Reem Kufi":{"weight":["regular"],"fallback":"sans-serif"},"Krub":{"weight":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"fallback":"sans-serif"},"Michroma":{"weight":["regular"],"fallback":"sans-serif"},"Annie Use Your Telescope":{"weight":["regular"],"fallback":"handwriting"},"Lilita One":{"weight":["regular"],"fallback":"display"},"Coda":{"weight":["regular","800"],"fallback":"display"},"Fredericka the Great":{"weight":["regular"],"fallback":"display"},"Mukta Malar":{"weight":["200","300","regular","500","600","700","800"],"fallback":"sans-serif"},"Bowlby One SC":{"weight":["regular"],"fallback":"display"},"Average":{"weight":["regular"],"fallback":"serif"},"Londrina Solid":{"weight":["100","300","regular","900"],"fallback":"display"},"New Tegomin":{"weight":["regular"],"fallback":"serif"},"Glegoo":{"weight":["regular","700"],"fallback":"serif"},"Pridi":{"weight":["200","300","regular","500","600","700"],"fallback":"serif"},"Boogaloo":{"weight":["regular"],"fallback":"display"},"Red Hat Text":{"weight":["regular","italic","500","500italic","700","700italic"],"fallback":"sans-serif"},"Aldrich":{"weight":["regular"],"fallback":"sans-serif"},"Basic":{"weight":["regular"],"fallback":"sans-serif"},"Capriola":{"weight":["regular"],"fallback":"sans-serif"},"Forum":{"weight":["regular"],"fallback":"display"},"Reenie Beanie":{"weight":["regular"],"fallback":"handwriting"},"Laila":{"weight":["300","regular","500","600","700"],"fallback":"sans-serif"},"Alegreya Sans SC":{"weight":["100","100italic","300","300italic","regular","italic","500","500italic","700","700italic","800","800italic","900","900italic"],"fallback":"sans-serif"},"Share Tech Mono":{"weight":["regular"],"fallback":"monospace"},"Italianno":{"weight":["regular"],"fallback":"handwriting"},"Lalezar":{"weight":["regular"],"fallback":"display"},"Lexend Deca":{"weight":["regular"],"fallback":"sans-serif"},"Caveat Brush":{"weight":["regular"],"fallback":"handwriting"},"Shrikhand":{"weight":["regular"],"fallback":"display"},"Creepster":{"weight":["regular"],"fallback":"display"},"Kameron":{"weight":["regular","700"],"fallback":"serif"},"Coda Caption":{"weight":["800"],"fallback":"sans-serif"},"Goudy Bookletter 1911":{"weight":["regular"],"fallback":"serif"},"Coming Soon":{"weight":["regular"],"fallback":"handwriting"},"Saira Extra Condensed":{"weight":["100","200","300","regular","500","600","700","800","900"],"fallback":"sans-serif"},"Yrsa":{"weight":["300","regular","500","600","700"],"fallback":"serif"},"Telex":{"weight":["regular"],"fallback":"sans-serif"},"Bevan":{"weight":["regular"],"fallback":"display"},"Voltaire":{"weight":["regular"],"fallback":"sans-serif"},"Days One":{"weight":["regular"],"fallback":"sans-serif"},"Cabin Sketch":{"weight":["regular","700"],"fallback":"display"},"Norican":{"weight":["regular"],"fallback":"handwriting"},"Rambla":{"weight":["regular","italic","700","700italic"],"fallback":"sans-serif"},"Mukta Vaani":{"weight":["200","300","regular","500","600","700","800"],"fallback":"sans-serif"},"Average Sans":{"weight":["regular"],"fallback":"sans-serif"},"Arbutus Slab":{"weight":["regular"],"fallback":"serif"},"Sansita":{"weight":["regular","italic","700","700italic","800","800italic","900","900italic"],"fallback":"sans-serif"},"Mada":{"weight":["200","300","regular","500","600","700","900"],"fallback":"sans-serif"},"Just Another Hand":{"weight":["regular"],"fallback":"handwriting"},"Nobile":{"weight":["regular","italic","500","500italic","700","700italic"],"fallback":"sans-serif"},"Gilda Display":{"weight":["regular"],"fallback":"serif"},"VT323":{"weight":["regular"],"fallback":"monospace"},"Mandali":{"weight":["regular"],"fallback":"sans-serif"},"Caudex":{"weight":["regular","italic","700","700italic"],"fallback":"serif"},"Anonymous Pro":{"weight":["regular","italic","700","700italic"],"fallback":"monospace"},"Bentham":{"weight":["regular"],"fallback":"serif"},"Overpass Mono":{"weight":["300","regular","600","700"],"fallback":"monospace"},"Sen":{"weight":["regular","700","800"],"fallback":"sans-serif"},"Kadwa":{"weight":["regular","700"],"fallback":"serif"},"Cambay":{"weight":["regular","italic","700","700italic"],"fallback":"sans-serif"},"Yesteryear":{"weight":["regular"],"fallback":"handwriting"},"Molengo":{"weight":["regular"],"fallback":"sans-serif"},"Nixie One":{"weight":["regular"],"fallback":"display"},"Scada":{"weight":["regular","italic","700","700italic"],"fallback":"sans-serif"},"Crimson Pro":{"weight":["200","300","regular","500","600","700","800","900","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"fallback":"serif"},"Arizonia":{"weight":["regular"],"fallback":"handwriting"},"Racing Sans One":{"weight":["regular"],"fallback":"display"},"Scheherazade":{"weight":["regular","700"],"fallback":"serif"},"Seaweed Script":{"weight":["regular"],"fallback":"display"},"Belleza":{"weight":["regular"],"fallback":"sans-serif"},"Harmattan":{"weight":["regular","700"],"fallback":"sans-serif"},"Leckerli One":{"weight":["regular"],"fallback":"handwriting"},"Ovo":{"weight":["regular"],"fallback":"serif"},"Merienda One":{"weight":["regular"],"fallback":"handwriting"},"Holtwood One SC":{"weight":["regular"],"fallback":"serif"},"Cinzel Decorative":{"weight":["regular","700","900"],"fallback":"display"},"Literata":{"weight":["200","300","regular","500","600","700","800","900","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"fallback":"serif"},"Mrs Saint Delafield":{"weight":["regular"],"fallback":"handwriting"},"Schoolbell":{"weight":["regular"],"fallback":"handwriting"},"Bungee Inline":{"weight":["regular"],"fallback":"display"},"Herr Von Muellerhoff":{"weight":["regular"],"fallback":"handwriting"},"Oranienbaum":{"weight":["regular"],"fallback":"serif"},"Baloo Tamma 2":{"weight":["regular","500","600","700","800"],"fallback":"display"},"Sniglet":{"weight":["regular","800"],"fallback":"display"},"Bubblegum Sans":{"weight":["regular"],"fallback":"display"},"Rochester":{"weight":["regular"],"fallback":"handwriting"},"Judson":{"weight":["regular","italic","700"],"fallback":"serif"},"Marcellus SC":{"weight":["regular"],"fallback":"serif"},"Darker Grotesque":{"weight":["300","regular","500","600","700","800","900"],"fallback":"sans-serif"},"Changa One":{"weight":["regular","italic"],"fallback":"display"},"Alegreya SC":{"weight":["regular","italic","500","500italic","700","700italic","800","800italic","900","900italic"],"fallback":"serif"},"Pattaya":{"weight":["regular"],"fallback":"sans-serif"},"Mallanna":{"weight":["regular"],"fallback":"sans-serif"},"Share":{"weight":["regular","italic","700","700italic"],"fallback":"display"},"Podkova":{"weight":["regular","500","600","700","800"],"fallback":"serif"},"Allerta Stencil":{"weight":["regular"],"fallback":"sans-serif"},"Charm":{"weight":["regular","700"],"fallback":"handwriting"},"Niramit":{"weight":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"fallback":"sans-serif"},"Halant":{"weight":["300","regular","500","600","700"],"fallback":"serif"},"Graduate":{"weight":["regular"],"fallback":"display"},"Nanum Brush Script":{"weight":["regular"],"fallback":"handwriting"},"Amita":{"weight":["regular","700"],"fallback":"handwriting"},"Rozha One":{"weight":["regular"],"fallback":"serif"},"Kristi":{"weight":["regular"],"fallback":"handwriting"},"Biryani":{"weight":["200","300","regular","600","700","800","900"],"fallback":"sans-serif"},"Lustria":{"weight":["regular"],"fallback":"serif"},"Delius":{"weight":["regular"],"fallback":"handwriting"},"Suranna":{"weight":["regular"],"fallback":"serif"},"Amethysta":{"weight":["regular"],"fallback":"serif"},"Contrail One":{"weight":["regular"],"fallback":"display"},"Averia Serif Libre":{"weight":["300","300italic","regular","italic","700","700italic"],"fallback":"display"},"Do Hyeon":{"weight":["regular"],"fallback":"sans-serif"},"IBM Plex Sans Condensed":{"weight":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"fallback":"sans-serif"},"Marvel":{"weight":["regular","italic","700","700italic"],"fallback":"sans-serif"},"Rye":{"weight":["regular"],"fallback":"display"},"Fauna One":{"weight":["regular"],"fallback":"serif"},"Corben":{"weight":["regular","700"],"fallback":"display"},"Cedarville Cursive":{"weight":["regular"],"fallback":"handwriting"},"Jockey One":{"weight":["regular"],"fallback":"sans-serif"},"Libre Caslon Text":{"weight":["regular","italic","700"],"fallback":"serif"},"Carrois Gothic":{"weight":["regular"],"fallback":"sans-serif"},"Calligraffitti":{"weight":["regular"],"fallback":"handwriting"},"Trocchi":{"weight":["regular"],"fallback":"serif"},"Spectral SC":{"weight":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],"fallback":"serif"},"Coustard":{"weight":["regular","900"],"fallback":"serif"},"Copse":{"weight":["regular"],"fallback":"serif"},"Athiti":{"weight":["200","300","regular","500","600","700"],"fallback":"sans-serif"},"Carme":{"weight":["regular"],"fallback":"sans-serif"},"Rosario":{"weight":["300","regular","500","600","700","300italic","italic","500italic","600italic","700italic"],"fallback":"sans-serif"},"Limelight":{"weight":["regular"],"fallback":"display"},"Jua":{"weight":["regular"],"fallback":"sans-serif"},"Petit Formal Script":{"weight":["regular"],"fallback":"handwriting"},"Love Ya Like A Sister":{"weight":["regular"],"fallback":"display"},"GFS Didot":{"weight":["regular"],"fallback":"serif"},"Aladin":{"weight":["regular"],"fallback":"handwriting"},"Palanquin Dark":{"weight":["regular","500","600","700"],"fallback":"sans-serif"},"Amiko":{"weight":["regular","600","700"],"fallback":"sans-serif"},"Cormorant Infant":{"weight":["300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"fallback":"serif"},"Wallpoet":{"weight":["regular"],"fallback":"display"},"Magra":{"weight":["regular","700"],"fallback":"sans-serif"},"Grand Hotel":{"weight":["regular"],"fallback":"handwriting"},"Sunflower":{"weight":["300","500","700"],"fallback":"sans-serif"},"Big Shoulders Display":{"weight":["100","300","regular","500","600","700","800","900"],"fallback":"display"},"Slabo 13px":{"weight":["regular"],"fallback":"serif"},"Pangolin":{"weight":["regular"],"fallback":"handwriting"},"Mr De Haviland":{"weight":["regular"],"fallback":"handwriting"},"K2D":{"weight":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],"fallback":"sans-serif"},"Marmelad":{"weight":["regular"],"fallback":"sans-serif"},"Thasadith":{"weight":["regular","italic","700","700italic"],"fallback":"sans-serif"},"La Belle Aurore":{"weight":["regular"],"fallback":"handwriting"},"Hanuman":{"weight":["regular","700"],"fallback":"serif"},"Metrophobic":{"weight":["regular"],"fallback":"sans-serif"},"Epilogue":{"weight":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"fallback":"sans-serif"},"Radley":{"weight":["regular","italic"],"fallback":"serif"},"Poly":{"weight":["regular","italic"],"fallback":"serif"},"Commissioner":{"weight":["100","200","300","regular","500","600","700","800","900"],"fallback":"sans-serif"},"Averia Libre":{"weight":["300","300italic","regular","italic","700","700italic"],"fallback":"display"},"IM Fell Double Pica":{"weight":["regular","italic"],"fallback":"serif"},"Comic Neue":{"weight":["300","300italic","regular","italic","700","700italic"],"fallback":"handwriting"},"Baskervville":{"weight":["regular","italic"],"fallback":"serif"},"Kelly Slab":{"weight":["regular"],"fallback":"display"},"Oxygen Mono":{"weight":["regular"],"fallback":"monospace"},"Maitree":{"weight":["200","300","regular","500","600","700"],"fallback":"serif"},"Buenard":{"weight":["regular","700"],"fallback":"serif"},"Duru Sans":{"weight":["regular"],"fallback":"sans-serif"},"Baloo Da 2":{"weight":["regular","500","600","700","800"],"fallback":"display"},"Grandstander":{"weight":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"fallback":"display"},"Balthazar":{"weight":["regular"],"fallback":"serif"},"ZCOOL XiaoWei":{"weight":["regular"],"fallback":"serif"},"Cutive":{"weight":["regular"],"fallback":"serif"},"Antic Didone":{"weight":["regular"],"fallback":"serif"},"Waiting for the Sunrise":{"weight":["regular"],"fallback":"handwriting"},"B612 Mono":{"weight":["regular","italic","700","700italic"],"fallback":"monospace"},"Chonburi":{"weight":["regular"],"fallback":"display"},"Montaga":{"weight":["regular"],"fallback":"serif"},"UnifrakturMaguntia":{"weight":["regular"],"fallback":"display"},"Kosugi":{"weight":["regular"],"fallback":"sans-serif"},"Gravitas One":{"weight":["regular"],"fallback":"display"},"Mirza":{"weight":["regular","500","600","700"],"fallback":"display"},"Manjari":{"weight":["100","regular","700"],"fallback":"sans-serif"},"Alike":{"weight":["regular"],"fallback":"serif"},"Lekton":{"weight":["regular","italic","700"],"fallback":"sans-serif"},"Sora":{"weight":["100","200","300","regular","500","600","700","800"],"fallback":"sans-serif"},"Gabriela":{"weight":["regular"],"fallback":"serif"},"Lemon":{"weight":["regular"],"fallback":"display"},"Esteban":{"weight":["regular"],"fallback":"serif"},"Alatsi":{"weight":["regular"],"fallback":"sans-serif"},"Turret Road":{"weight":["200","300","regular","500","700","800"],"fallback":"display"},"Monsieur La Doulaise":{"weight":["regular"],"fallback":"handwriting"},"Pompiere":{"weight":["regular"],"fallback":"display"},"Cormorant SC":{"weight":["300","regular","500","600","700"],"fallback":"serif"},"Kurale":{"weight":["regular"],"fallback":"serif"},"Frijole":{"weight":["regular"],"fallback":"display"},"Rammetto One":{"weight":["regular"],"fallback":"display"},"Chelsea Market":{"weight":["regular"],"fallback":"display"},"Megrim":{"weight":["regular"],"fallback":"display"},"IM Fell English":{"weight":["regular","italic"],"fallback":"serif"},"Oregano":{"weight":["regular","italic"],"fallback":"display"},"Andada":{"weight":["regular"],"fallback":"serif"},"Mate":{"weight":["regular","italic"],"fallback":"serif"},"Convergence":{"weight":["regular"],"fallback":"sans-serif"},"Rouge Script":{"weight":["regular"],"fallback":"handwriting"},"Bowlby One":{"weight":["regular"],"fallback":"display"},"Emilys Candy":{"weight":["regular"],"fallback":"display"},"Wendy One":{"weight":["regular"],"fallback":"sans-serif"},"Fira Code":{"weight":["300","regular","500","600","700"],"fallback":"monospace"},"Dawning of a New Day":{"weight":["regular"],"fallback":"handwriting"},"Sue Ellen Francisco":{"weight":["regular"],"fallback":"handwriting"},"Gurajada":{"weight":["regular"],"fallback":"serif"},"David Libre":{"weight":["regular","500","700"],"fallback":"serif"},"Sofia":{"weight":["regular"],"fallback":"handwriting"},"Short Stack":{"weight":["regular"],"fallback":"handwriting"},"Chau Philomene One":{"weight":["regular","italic"],"fallback":"sans-serif"},"Bellefair":{"weight":["regular"],"fallback":"serif"},"Belgrano":{"weight":["regular"],"fallback":"serif"},"Expletus Sans":{"weight":["regular","italic","500","500italic","600","600italic","700","700italic"],"fallback":"display"},"Original Surfer":{"weight":["regular"],"fallback":"display"},"Doppio One":{"weight":["regular"],"fallback":"sans-serif"},"Be Vietnam":{"weight":["100","100italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],"fallback":"sans-serif"},"Sail":{"weight":["regular"],"fallback":"display"},"Inder":{"weight":["regular"],"fallback":"sans-serif"},"Give You Glory":{"weight":["regular"],"fallback":"handwriting"},"IM Fell DW Pica":{"weight":["regular","italic"],"fallback":"serif"},"McLaren":{"weight":["regular"],"fallback":"display"},"Encode Sans Semi Condensed":{"weight":["100","200","300","regular","500","600","700","800","900"],"fallback":"sans-serif"},"Bungee Shade":{"weight":["regular"],"fallback":"display"},"Baumans":{"weight":["regular"],"fallback":"display"},"Brawler":{"weight":["regular"],"fallback":"serif"},"Tenali Ramakrishna":{"weight":["regular"],"fallback":"sans-serif"},"Ceviche One":{"weight":["regular"],"fallback":"display"},"B612":{"weight":["regular","italic","700","700italic"],"fallback":"sans-serif"},"Zeyada":{"weight":["regular"],"fallback":"handwriting"},"Mountains of Christmas":{"weight":["regular","700"],"fallback":"display"},"Sedgwick Ave":{"weight":["regular"],"fallback":"handwriting"},"Gugi":{"weight":["regular"],"fallback":"display"},"Oleo Script Swash Caps":{"weight":["regular","700"],"fallback":"display"},"Skranji":{"weight":["regular","700"],"fallback":"display"},"Meddon":{"weight":["regular"],"fallback":"handwriting"},"NTR":{"weight":["regular"],"fallback":"sans-serif"},"Finger Paint":{"weight":["regular"],"fallback":"display"},"Blinker":{"weight":["100","200","300","regular","600","700","800","900"],"fallback":"sans-serif"},"Fanwood Text":{"weight":["regular","italic"],"fallback":"serif"},"Grenze Gotisch":{"weight":["100","200","300","regular","500","600","700","800","900"],"fallback":"display"},"Hepta Slab":{"weight":["100","200","300","regular","500","600","700","800","900"],"fallback":"serif"},"Anaheim":{"weight":["regular"],"fallback":"sans-serif"},"Major Mono Display":{"weight":["regular"],"fallback":"monospace"},"Quando":{"weight":["regular"],"fallback":"serif"},"Andika":{"weight":["regular"],"fallback":"sans-serif"},"Qwigley":{"weight":["regular"],"fallback":"handwriting"},"Vast Shadow":{"weight":["regular"],"fallback":"display"},"Happy Monkey":{"weight":["regular"],"fallback":"display"},"Montez":{"weight":["regular"],"fallback":"handwriting"},"Proza Libre":{"weight":["regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],"fallback":"sans-serif"},"Homenaje":{"weight":["regular"],"fallback":"sans-serif"},"Ma Shan Zheng":{"weight":["regular"],"fallback":"handwriting"},"Loved by the King":{"weight":["regular"],"fallback":"handwriting"},"Trade Winds":{"weight":["regular"],"fallback":"display"},"Stardos Stencil":{"weight":["regular","700"],"fallback":"display"},"Raleway Dots":{"weight":["regular"],"fallback":"display"},"Libre Barcode 39":{"weight":["regular"],"fallback":"display"},"Recursive":{"weight":["300","regular","500","600","700","800","900"],"fallback":"sans-serif"},"Numans":{"weight":["regular"],"fallback":"sans-serif"},"RocknRoll One":{"weight":["regular"],"fallback":"sans-serif"},"Rakkas":{"weight":["regular"],"fallback":"display"},"Mouse Memoirs":{"weight":["regular"],"fallback":"sans-serif"},"BioRhyme":{"weight":["200","300","regular","700","800"],"fallback":"serif"},"Ranchers":{"weight":["regular"],"fallback":"display"},"Patrick Hand SC":{"weight":["regular"],"fallback":"handwriting"},"Codystar":{"weight":["300","regular"],"fallback":"display"},"Rasa":{"weight":["300","regular","500","600","700"],"fallback":"serif"},"Meera Inimai":{"weight":["regular"],"fallback":"sans-serif"},"Clicker Script":{"weight":["regular"],"fallback":"handwriting"},"DM Mono":{"weight":["300","300italic","regular","italic","500","500italic"],"fallback":"monospace"},"Gaegu":{"weight":["300","regular","700"],"fallback":"handwriting"},"Aguafina Script":{"weight":["regular"],"fallback":"handwriting"},"Unkempt":{"weight":["regular","700"],"fallback":"display"},"Over the Rainbow":{"weight":["regular"],"fallback":"handwriting"},"Fondamento":{"weight":["regular","italic"],"fallback":"handwriting"},"Battambang":{"weight":["regular","700"],"fallback":"display"},"Cambo":{"weight":["regular"],"fallback":"serif"},"Crafty Girls":{"weight":["regular"],"fallback":"handwriting"},"Nova Mono":{"weight":["regular"],"fallback":"monospace"},"Tillana":{"weight":["regular","500","600","700","800"],"fallback":"handwriting"},"Alike Angular":{"weight":["regular"],"fallback":"serif"},"Kumbh Sans":{"weight":["300","regular","700"],"fallback":"sans-serif"},"Katibeh":{"weight":["regular"],"fallback":"display"},"Sarpanch":{"weight":["regular","500","600","700","800","900"],"fallback":"sans-serif"},"Antonio":{"weight":["100","200","300","regular","500","600","700"],"fallback":"sans-serif"},"Mansalva":{"weight":["regular"],"fallback":"handwriting"},"Faster One":{"weight":["regular"],"fallback":"display"},"Federo":{"weight":["regular"],"fallback":"sans-serif"},"Dokdo":{"weight":["regular"],"fallback":"handwriting"},"Hi Melody":{"weight":["regular"],"fallback":"handwriting"},"Euphoria Script":{"weight":["regular"],"fallback":"handwriting"},"Orienta":{"weight":["regular"],"fallback":"sans-serif"},"Space Grotesk":{"weight":["300","regular","500","600","700"],"fallback":"sans-serif"},"Galada":{"weight":["regular"],"fallback":"display"},"Timmana":{"weight":["regular"],"fallback":"sans-serif"},"JetBrains Mono":{"weight":["100","200","300","regular","500","600","700","800","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic"],"fallback":"monospace"},"Baloo Thambi 2":{"weight":["regular","500","600","700","800"],"fallback":"display"},"Averia Sans Libre":{"weight":["300","300italic","regular","italic","700","700italic"],"fallback":"display"},"UnifrakturCook":{"weight":["700"],"fallback":"display"},"Tauri":{"weight":["regular"],"fallback":"sans-serif"},"Share Tech":{"weight":["regular"],"fallback":"sans-serif"},"Walter Turncoat":{"weight":["regular"],"fallback":"handwriting"},"Geo":{"weight":["regular","italic"],"fallback":"sans-serif"},"Atma":{"weight":["300","regular","500","600","700"],"fallback":"display"},"Almendra":{"weight":["regular","italic","700","700italic"],"fallback":"serif"},"Jomhuria":{"weight":["regular"],"fallback":"display"},"Strait":{"weight":["regular"],"fallback":"sans-serif"},"Encode Sans Expanded":{"weight":["100","200","300","regular","500","600","700","800","900"],"fallback":"sans-serif"},"Metamorphous":{"weight":["regular"],"fallback":"display"},"Iceland":{"weight":["regular"],"fallback":"display"},"Ledger":{"weight":["regular"],"fallback":"serif"},"Poller One":{"weight":["regular"],"fallback":"display"},"Vollkorn SC":{"weight":["regular","600","700","900"],"fallback":"serif"},"Vesper Libre":{"weight":["regular","500","700","900"],"fallback":"serif"},"Aref Ruqaa":{"weight":["regular","700"],"fallback":"serif"},"Livvic":{"weight":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","900","900italic"],"fallback":"sans-serif"},"Caladea":{"weight":["regular","italic","700","700italic"],"fallback":"serif"},"Montserrat Subrayada":{"weight":["regular","700"],"fallback":"sans-serif"},"Vampiro One":{"weight":["regular"],"fallback":"display"},"Farro":{"weight":["300","regular","500","700"],"fallback":"sans-serif"},"New Rocker":{"weight":["regular"],"fallback":"display"},"Delius Swash Caps":{"weight":["regular"],"fallback":"handwriting"},"Calistoga":{"weight":["regular"],"fallback":"display"},"Carrois Gothic SC":{"weight":["regular"],"fallback":"sans-serif"},"Italiana":{"weight":["regular"],"fallback":"serif"},"Inknut Antiqua":{"weight":["300","regular","500","600","700","800","900"],"fallback":"serif"},"Life Savers":{"weight":["regular","700","800"],"fallback":"display"},"Imprima":{"weight":["regular"],"fallback":"sans-serif"},"Mako":{"weight":["regular"],"fallback":"sans-serif"},"Lily Script One":{"weight":["regular"],"fallback":"display"},"Bilbo Swash Caps":{"weight":["regular"],"fallback":"handwriting"},"IM Fell English SC":{"weight":["regular"],"fallback":"serif"},"Red Rose":{"weight":["300","regular","500","600","700"],"fallback":"display"},"Shojumaru":{"weight":["regular"],"fallback":"display"},"Prosto One":{"weight":["regular"],"fallback":"display"},"Bodoni Moda":{"weight":["regular","500","600","700","800","900","italic","500italic","600italic","700italic","800italic","900italic"],"fallback":"serif"},"Mukta Mahee":{"weight":["200","300","regular","500","600","700","800"],"fallback":"sans-serif"},"Bubbler One":{"weight":["regular"],"fallback":"sans-serif"},"The Girl Next Door":{"weight":["regular"],"fallback":"handwriting"},"Artifika":{"weight":["regular"],"fallback":"serif"},"Cantora One":{"weight":["regular"],"fallback":"sans-serif"},"Scope One":{"weight":["regular"],"fallback":"serif"},"Yusei Magic":{"weight":["regular"],"fallback":"sans-serif"},"Oxanium":{"weight":["200","300","regular","500","600","700","800"],"fallback":"display"},"Tienne":{"weight":["regular","700","900"],"fallback":"serif"},"Salsa":{"weight":["regular"],"fallback":"display"},"Flamenco":{"weight":["300","regular"],"fallback":"display"},"Port Lligat Sans":{"weight":["regular"],"fallback":"sans-serif"},"Denk One":{"weight":["regular"],"fallback":"sans-serif"},"Fontdiner Swanky":{"weight":["regular"],"fallback":"display"},"Nova Round":{"weight":["regular"],"fallback":"display"},"Gafata":{"weight":["regular"],"fallback":"sans-serif"},"Cormorant Upright":{"weight":["300","regular","500","600","700"],"fallback":"serif"},"Cherry Cream Soda":{"weight":["regular"],"fallback":"display"},"Asul":{"weight":["regular","700"],"fallback":"sans-serif"},"Big Shoulders Text":{"weight":["100","300","regular","500","600","700","800","900"],"fallback":"display"},"Voces":{"weight":["regular"],"fallback":"display"},"Dynalight":{"weight":["regular"],"fallback":"display"},"Peralta":{"weight":["regular"],"fallback":"display"},"Mina":{"weight":["regular","700"],"fallback":"sans-serif"},"Headland One":{"weight":["regular"],"fallback":"serif"},"Medula One":{"weight":["regular"],"fallback":"display"},"Englebert":{"weight":["regular"],"fallback":"sans-serif"},"Nova Square":{"weight":["regular"],"fallback":"display"},"Delius Unicase":{"weight":["regular","700"],"fallback":"handwriting"},"Sumana":{"weight":["regular","700"],"fallback":"serif"},"Bilbo":{"weight":["regular"],"fallback":"handwriting"},"Engagement":{"weight":["regular"],"fallback":"handwriting"},"ZCOOL QingKe HuangYou":{"weight":["regular"],"fallback":"display"},"Fresca":{"weight":["regular"],"fallback":"sans-serif"},"Ranga":{"weight":["regular","700"],"fallback":"display"},"Orelega One":{"weight":["regular"],"fallback":"display"},"Zen Dots":{"weight":["regular"],"fallback":"display"},"Shippori Mincho":{"weight":["regular","500","600","700","800"],"fallback":"serif"},"Henny Penny":{"weight":["regular"],"fallback":"display"},"Della Respira":{"weight":["regular"],"fallback":"serif"},"Cherry Swash":{"weight":["regular","700"],"fallback":"display"},"Notable":{"weight":["regular"],"fallback":"sans-serif"},"Arya":{"weight":["regular","700"],"fallback":"sans-serif"},"Slackey":{"weight":["regular"],"fallback":"display"},"Vibur":{"weight":["regular"],"fallback":"handwriting"},"Coiny":{"weight":["regular"],"fallback":"display"},"Lexend Zetta":{"weight":["regular"],"fallback":"sans-serif"},"Elsie":{"weight":["regular","900"],"fallback":"display"},"Fjord One":{"weight":["regular"],"fallback":"serif"},"Puritan":{"weight":["regular","italic","700","700italic"],"fallback":"sans-serif"},"Just Me Again Down Here":{"weight":["regular"],"fallback":"handwriting"},"Khmer":{"weight":["regular"],"fallback":"display"},"Girassol":{"weight":["regular"],"fallback":"display"},"Bellota Text":{"weight":["300","300italic","regular","italic","700","700italic"],"fallback":"display"},"Yatra One":{"weight":["regular"],"fallback":"display"},"Stalemate":{"weight":["regular"],"fallback":"handwriting"},"Wire One":{"weight":["regular"],"fallback":"sans-serif"},"Spicy Rice":{"weight":["regular"],"fallback":"display"},"Saira Stencil One":{"weight":["regular"],"fallback":"display"},"Kite One":{"weight":["regular"],"fallback":"sans-serif"},"Port Lligat Slab":{"weight":["regular"],"fallback":"serif"},"Baloo Bhaina 2":{"weight":["regular","500","600","700","800"],"fallback":"display"},"Pavanam":{"weight":["regular"],"fallback":"sans-serif"},"Eater":{"weight":["regular"],"fallback":"display"},"Text Me One":{"weight":["regular"],"fallback":"sans-serif"},"Ribeye":{"weight":["regular"],"fallback":"display"},"Pirata One":{"weight":["regular"],"fallback":"display"},"Amarante":{"weight":["regular"],"fallback":"display"},"Milonga":{"weight":["regular"],"fallback":"display"},"Habibi":{"weight":["regular"],"fallback":"serif"},"Ruslan Display":{"weight":["regular"],"fallback":"display"},"Encode Sans Semi Expanded":{"weight":["100","200","300","regular","500","600","700","800","900"],"fallback":"sans-serif"},"Nokora":{"weight":["regular","700"],"fallback":"serif"},"Rowdies":{"weight":["300","regular","700"],"fallback":"display"},"Kranky":{"weight":["regular"],"fallback":"display"},"Bigelow Rules":{"weight":["regular"],"fallback":"display"},"League Script":{"weight":["regular"],"fallback":"handwriting"},"Swanky and Moo Moo":{"weight":["regular"],"fallback":"handwriting"},"Karantina":{"weight":["300","regular","700"],"fallback":"display"},"Lovers Quarrel":{"weight":["regular"],"fallback":"handwriting"},"Mate SC":{"weight":["regular"],"fallback":"serif"},"Manuale":{"weight":["regular","500","600","700","italic","500italic","600italic","700italic"],"fallback":"serif"},"Germania One":{"weight":["regular"],"fallback":"display"},"Sura":{"weight":["regular","700"],"fallback":"serif"},"Sarina":{"weight":["regular"],"fallback":"display"},"Macondo Swash Caps":{"weight":["regular"],"fallback":"display"},"Kotta One":{"weight":["regular"],"fallback":"serif"},"IM Fell French Canon SC":{"weight":["regular"],"fallback":"serif"},"Julee":{"weight":["regular"],"fallback":"handwriting"},"Charmonman":{"weight":["regular","700"],"fallback":"handwriting"},"Shanti":{"weight":["regular"],"fallback":"sans-serif"},"Gamja Flower":{"weight":["regular"],"fallback":"handwriting"},"Averia Gruesa Libre":{"weight":["regular"],"fallback":"display"},"Stint Ultra Expanded":{"weight":["regular"],"fallback":"display"},"Uncial Antiqua":{"weight":["regular"],"fallback":"display"},"Mystery Quest":{"weight":["regular"],"fallback":"display"},"Goldman":{"weight":["regular","700"],"fallback":"display"},"Paprika":{"weight":["regular"],"fallback":"display"},"IM Fell French Canon":{"weight":["regular","italic"],"fallback":"serif"},"Prociono":{"weight":["regular"],"fallback":"serif"},"Kodchasan":{"weight":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"fallback":"sans-serif"},"Libre Barcode 39 Text":{"weight":["regular"],"fallback":"display"},"Quintessential":{"weight":["regular"],"fallback":"handwriting"},"Moul":{"weight":["regular"],"fallback":"display"},"Libre Barcode 128":{"weight":["regular"],"fallback":"display"},"Ramaraja":{"weight":["regular"],"fallback":"serif"},"Modak":{"weight":["regular"],"fallback":"display"},"Song Myung":{"weight":["regular"],"fallback":"serif"},"East Sea Dokdo":{"weight":["regular"],"fallback":"handwriting"},"Crushed":{"weight":["regular"],"fallback":"display"},"Dekko":{"weight":["regular"],"fallback":"handwriting"},"Chilanka":{"weight":["regular"],"fallback":"handwriting"},"Hanalei Fill":{"weight":["regular"],"fallback":"display"},"Mogra":{"weight":["regular"],"fallback":"display"},"Baloo Tammudu 2":{"weight":["regular","500","600","700","800"],"fallback":"display"},"Baloo Bhai 2":{"weight":["regular","500","600","700","800"],"fallback":"display"},"Libre Barcode 39 Extended Text":{"weight":["regular"],"fallback":"display"},"Rosarivo":{"weight":["regular","italic"],"fallback":"serif"},"KoHo":{"weight":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"fallback":"sans-serif"},"Offside":{"weight":["regular"],"fallback":"display"},"Reggae One":{"weight":["regular"],"fallback":"display"},"Syne":{"weight":["regular","500","600","700","800"],"fallback":"sans-serif"},"Zilla Slab Highlight":{"weight":["regular","700"],"fallback":"display"},"Donegal One":{"weight":["regular"],"fallback":"serif"},"Bellota":{"weight":["300","300italic","regular","italic","700","700italic"],"fallback":"display"},"Stoke":{"weight":["300","regular"],"fallback":"serif"},"Cormorant Unicase":{"weight":["300","regular","500","600","700"],"fallback":"serif"},"Cagliostro":{"weight":["regular"],"fallback":"sans-serif"},"Rationale":{"weight":["regular"],"fallback":"sans-serif"},"Margarine":{"weight":["regular"],"fallback":"display"},"Sancreek":{"weight":["regular"],"fallback":"display"},"Inria Serif":{"weight":["300","300italic","regular","italic","700","700italic"],"fallback":"serif"},"Overlock SC":{"weight":["regular"],"fallback":"display"},"Nosifer":{"weight":["regular"],"fallback":"display"},"Libre Barcode EAN13 Text":{"weight":["regular"],"fallback":"display"},"Yeon Sung":{"weight":["regular"],"fallback":"display"},"Ruluko":{"weight":["regular"],"fallback":"sans-serif"},"Simonetta":{"weight":["regular","italic","900","900italic"],"fallback":"display"},"Lakki Reddy":{"weight":["regular"],"fallback":"handwriting"},"Baloo Paaji 2":{"weight":["regular","500","600","700","800"],"fallback":"display"},"Chango":{"weight":["regular"],"fallback":"display"},"Galdeano":{"weight":["regular"],"fallback":"sans-serif"},"Fahkwang":{"weight":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"fallback":"sans-serif"},"Elsie Swash Caps":{"weight":["regular","900"],"fallback":"display"},"Buda":{"weight":["300"],"fallback":"display"},"Condiment":{"weight":["regular"],"fallback":"handwriting"},"Barrio":{"weight":["regular"],"fallback":"display"},"Chicle":{"weight":["regular"],"fallback":"display"},"Angkor":{"weight":["regular"],"fallback":"display"},"Akronim":{"weight":["regular"],"fallback":"display"},"Tomorrow":{"weight":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"fallback":"sans-serif"},"Sonsie One":{"weight":["regular"],"fallback":"display"},"Kumar One":{"weight":["regular"],"fallback":"display"},"Autour One":{"weight":["regular"],"fallback":"display"},"Libre Caslon Display":{"weight":["regular"],"fallback":"serif"},"Farsan":{"weight":["regular"],"fallback":"display"},"Fenix":{"weight":["regular"],"fallback":"serif"},"Solway":{"weight":["300","regular","500","700","800"],"fallback":"serif"},"Kulim Park":{"weight":["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic"],"fallback":"sans-serif"},"Stint Ultra Condensed":{"weight":["regular"],"fallback":"display"},"Metal":{"weight":["regular"],"fallback":"display"},"Rum Raisin":{"weight":["regular"],"fallback":"sans-serif"},"Redressed":{"weight":["regular"],"fallback":"handwriting"},"Tulpen One":{"weight":["regular"],"fallback":"display"},"Petrona":{"weight":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"fallback":"serif"},"Marko One":{"weight":["regular"],"fallback":"serif"},"Asar":{"weight":["regular"],"fallback":"serif"},"Nova Flat":{"weight":["regular"],"fallback":"display"},"Koulen":{"weight":["regular"],"fallback":"display"},"Lexend Exa":{"weight":["regular"],"fallback":"sans-serif"},"Londrina Outline":{"weight":["regular"],"fallback":"display"},"Cute Font":{"weight":["regular"],"fallback":"display"},"IM Fell Great Primer":{"weight":["regular","italic"],"fallback":"serif"},"Junge":{"weight":["regular"],"fallback":"serif"},"Stylish":{"weight":["regular"],"fallback":"sans-serif"},"Lexend":{"weight":["100","300","regular","500","600","700","800"],"fallback":"sans-serif"},"Spirax":{"weight":["regular"],"fallback":"display"},"Piazzolla":{"weight":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"fallback":"serif"},"Piedra":{"weight":["regular"],"fallback":"display"},"Ribeye Marrow":{"weight":["regular"],"fallback":"display"},"Dorsa":{"weight":["regular"],"fallback":"sans-serif"},"Ibarra Real Nova":{"weight":["regular","500","600","700","italic","500italic","600italic","700italic"],"fallback":"serif"},"IM Fell DW Pica SC":{"weight":["regular"],"fallback":"serif"},"Wellfleet":{"weight":["regular"],"fallback":"display"},"Eagle Lake":{"weight":["regular"],"fallback":"handwriting"},"Meie Script":{"weight":["regular"],"fallback":"handwriting"},"Goblin One":{"weight":["regular"],"fallback":"display"},"Flavors":{"weight":["regular"],"fallback":"display"},"Gotu":{"weight":["regular"],"fallback":"sans-serif"},"Linden Hill":{"weight":["regular","italic"],"fallback":"serif"},"Chathura":{"weight":["100","300","regular","700","800"],"fallback":"sans-serif"},"Croissant One":{"weight":["regular"],"fallback":"display"},"Jomolhari":{"weight":["regular"],"fallback":"serif"},"Srisakdi":{"weight":["regular","700"],"fallback":"display"},"Modern Antiqua":{"weight":["regular"],"fallback":"display"},"Joti One":{"weight":["regular"],"fallback":"display"},"Kavoon":{"weight":["regular"],"fallback":"display"},"Sulphur Point":{"weight":["300","regular","700"],"fallback":"sans-serif"},"Castoro":{"weight":["regular","italic"],"fallback":"serif"},"Chela One":{"weight":["regular"],"fallback":"display"},"Atomic Age":{"weight":["regular"],"fallback":"display"},"Maiden Orange":{"weight":["regular"],"fallback":"display"},"Ruthie":{"weight":["regular"],"fallback":"handwriting"},"Bayon":{"weight":["regular"],"fallback":"display"},"Potta One":{"weight":["regular"],"fallback":"display"},"Iceberg":{"weight":["regular"],"fallback":"display"},"Bigshot One":{"weight":["regular"],"fallback":"display"},"Gorditas":{"weight":["regular","700"],"fallback":"display"},"Sree Krushnadevaraya":{"weight":["regular"],"fallback":"serif"},"Trykker":{"weight":["regular"],"fallback":"serif"},"Kufam":{"weight":["regular","500","600","700","800","900","italic","500italic","600italic","700italic","800italic","900italic"],"fallback":"display"},"Diplomata SC":{"weight":["regular"],"fallback":"display"},"Poor Story":{"weight":["regular"],"fallback":"display"},"Sirin Stencil":{"weight":["regular"],"fallback":"display"},"Kavivanar":{"weight":["regular"],"fallback":"handwriting"},"Syne Mono":{"weight":["regular"],"fallback":"monospace"},"Metal Mania":{"weight":["regular"],"fallback":"display"},"Arbutus":{"weight":["regular"],"fallback":"display"},"Unlock":{"weight":["regular"],"fallback":"display"},"MuseoModerno":{"weight":["100","200","300","regular","500","600","700","800","900"],"fallback":"display"},"Glass Antiqua":{"weight":["regular"],"fallback":"display"},"Miniver":{"weight":["regular"],"fallback":"display"},"Griffy":{"weight":["regular"],"fallback":"display"},"Bokor":{"weight":["regular"],"fallback":"display"},"Felipa":{"weight":["regular"],"fallback":"handwriting"},"Inika":{"weight":["regular","700"],"fallback":"serif"},"Princess Sofia":{"weight":["regular"],"fallback":"handwriting"},"Mrs Sheppards":{"weight":["regular"],"fallback":"handwriting"},"Monofett":{"weight":["regular"],"fallback":"display"},"Sahitya":{"weight":["regular","700"],"fallback":"serif"},"Dela Gothic One":{"weight":["regular"],"fallback":"display"},"Shippori Mincho B1":{"weight":["regular","500","600","700","800"],"fallback":"serif"},"Beth Ellen":{"weight":["regular"],"fallback":"handwriting"},"Lancelot":{"weight":["regular"],"fallback":"display"},"Rhodium Libre":{"weight":["regular"],"fallback":"serif"},"Fraunces":{"weight":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"fallback":"serif"},"Hachi Maru Pop":{"weight":["regular"],"fallback":"handwriting"},"Snippet":{"weight":["regular"],"fallback":"sans-serif"},"Content":{"weight":["regular","700"],"fallback":"display"},"Revalia":{"weight":["regular"],"fallback":"display"},"Diplomata":{"weight":["regular"],"fallback":"display"},"Libre Barcode 128 Text":{"weight":["regular"],"fallback":"display"},"Jacques Francois Shadow":{"weight":["regular"],"fallback":"display"},"Long Cang":{"weight":["regular"],"fallback":"handwriting"},"Caesar Dressing":{"weight":["regular"],"fallback":"display"},"Odor Mean Chey":{"weight":["regular"],"fallback":"display"},"Jolly Lodger":{"weight":["regular"],"fallback":"display"},"Texturina":{"weight":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"fallback":"serif"},"DotGothic16":{"weight":["regular"],"fallback":"sans-serif"},"Ewert":{"weight":["regular"],"fallback":"display"},"Romanesco":{"weight":["regular"],"fallback":"handwriting"},"Kantumruy":{"weight":["300","regular","700"],"fallback":"sans-serif"},"Asset":{"weight":["regular"],"fallback":"display"},"Odibee Sans":{"weight":["regular"],"fallback":"display"},"Emblema One":{"weight":["regular"],"fallback":"display"},"Kdam Thmor":{"weight":["regular"],"fallback":"display"},"Dr Sugiyama":{"weight":["regular"],"fallback":"handwriting"},"Bahiana":{"weight":["regular"],"fallback":"display"},"GFS Neohellenic":{"weight":["regular","italic","700","700italic"],"fallback":"sans-serif"},"Oldenburg":{"weight":["regular"],"fallback":"display"},"Molle":{"weight":["italic"],"fallback":"handwriting"},"Ravi Prakash":{"weight":["regular"],"fallback":"display"},"Gayathri":{"weight":["100","regular","700"],"fallback":"sans-serif"},"Almendra SC":{"weight":["regular"],"fallback":"serif"},"Varta":{"weight":["300","regular","500","600","700"],"fallback":"sans-serif"},"Risque":{"weight":["regular"],"fallback":"display"},"Sansita Swashed":{"weight":["300","regular","500","600","700","800","900"],"fallback":"display"},"Kiwi Maru":{"weight":["300","regular","500"],"fallback":"serif"},"Dangrek":{"weight":["regular"],"fallback":"display"},"Devonshire":{"weight":["regular"],"fallback":"handwriting"},"Big Shoulders Stencil Text":{"weight":["100","300","regular","500","600","700","800","900"],"fallback":"display"},"Jim Nightshade":{"weight":["regular"],"fallback":"handwriting"},"Smythe":{"weight":["regular"],"fallback":"display"},"Stick":{"weight":["regular"],"fallback":"sans-serif"},"Lexend Mega":{"weight":["regular"],"fallback":"sans-serif"},"Siemreap":{"weight":["regular"],"fallback":"display"},"Londrina Shadow":{"weight":["regular"],"fallback":"display"},"Train One":{"weight":["regular"],"fallback":"display"},"IM Fell Great Primer SC":{"weight":["regular"],"fallback":"serif"},"Barriecito":{"weight":["regular"],"fallback":"display"},"Underdog":{"weight":["regular"],"fallback":"display"},"Stalinist One":{"weight":["regular"],"fallback":"display"},"Mr Bedfort":{"weight":["regular"],"fallback":"handwriting"},"Freehand":{"weight":["regular"],"fallback":"display"},"MedievalSharp":{"weight":["regular"],"fallback":"display"},"Lexend Giga":{"weight":["regular"],"fallback":"sans-serif"},"Keania One":{"weight":["regular"],"fallback":"display"},"Peddana":{"weight":["regular"],"fallback":"serif"},"Galindo":{"weight":["regular"],"fallback":"display"},"Fascinate":{"weight":["regular"],"fallback":"display"},"Londrina Sketch":{"weight":["regular"],"fallback":"display"},"Gupter":{"weight":["regular","500","700"],"fallback":"serif"},"Nova Slim":{"weight":["regular"],"fallback":"display"},"Snowburst One":{"weight":["regular"],"fallback":"display"},"ZCOOL KuaiLe":{"weight":["regular"],"fallback":"display"},"Plaster":{"weight":["regular"],"fallback":"display"},"Fascinate Inline":{"weight":["regular"],"fallback":"display"},"Newsreader":{"weight":["200","300","regular","500","600","700","800","200italic","300italic","italic","500italic","600italic","700italic","800italic"],"fallback":"serif"},"Purple Purse":{"weight":["regular"],"fallback":"display"},"Sedgwick Ave Display":{"weight":["regular"],"fallback":"handwriting"},"Jacques Francois":{"weight":["regular"],"fallback":"serif"},"Almendra Display":{"weight":["regular"],"fallback":"display"},"Irish Grover":{"weight":["regular"],"fallback":"display"},"Kumar One Outline":{"weight":["regular"],"fallback":"display"},"Andika New Basic":{"weight":["regular","italic","700","700italic"],"fallback":"sans-serif"},"Libre Barcode 39 Extended":{"weight":["regular"],"fallback":"display"},"Taprom":{"weight":["regular"],"fallback":"display"},"Miss Fajardose":{"weight":["regular"],"fallback":"handwriting"},"IM Fell Double Pica SC":{"weight":["regular"],"fallback":"serif"},"Macondo":{"weight":["regular"],"fallback":"display"},"Ruge Boogie":{"weight":["regular"],"fallback":"handwriting"},"Sunshiney":{"weight":["regular"],"fallback":"handwriting"},"Brygada 1918":{"weight":["regular","500","600","700","italic","500italic","600italic","700italic"],"fallback":"serif"},"Grenze":{"weight":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"fallback":"serif"},"Erica One":{"weight":["regular"],"fallback":"display"},"Seymour One":{"weight":["regular"],"fallback":"sans-serif"},"Supermercado One":{"weight":["regular"],"fallback":"display"},"Zhi Mang Xing":{"weight":["regular"],"fallback":"handwriting"},"Butterfly Kids":{"weight":["regular"],"fallback":"handwriting"},"Kirang Haerang":{"weight":["regular"],"fallback":"display"},"Federant":{"weight":["regular"],"fallback":"display"},"Liu Jian Mao Cao":{"weight":["regular"],"fallback":"handwriting"},"Chenla":{"weight":["regular"],"fallback":"display"},"Hanalei":{"weight":["regular"],"fallback":"display"},"Langar":{"weight":["regular"],"fallback":"display"},"Trochut":{"weight":["regular","italic","700"],"fallback":"display"},"Smokum":{"weight":["regular"],"fallback":"display"},"Black And White Picture":{"weight":["regular"],"fallback":"sans-serif"},"Preahvihear":{"weight":["regular"],"fallback":"display"},"Bungee Outline":{"weight":["regular"],"fallback":"display"},"Astloch":{"weight":["regular","700"],"fallback":"display"},"Fasthand":{"weight":["regular"],"fallback":"serif"},"Akaya Telivigala":{"weight":["regular"],"fallback":"display"},"Inria Sans":{"weight":["300","300italic","regular","italic","700","700italic"],"fallback":"sans-serif"},"Bonbon":{"weight":["regular"],"fallback":"handwriting"},"Combo":{"weight":["regular"],"fallback":"display"},"Nova Script":{"weight":["regular"],"fallback":"display"},"Sofadi One":{"weight":["regular"],"fallback":"display"},"Passero One":{"weight":["regular"],"fallback":"display"},"Suwannaphum":{"weight":["regular"],"fallback":"display"},"Miltonian Tattoo":{"weight":["regular"],"fallback":"display"},"Bungee Hairline":{"weight":["regular"],"fallback":"display"},"Gidugu":{"weight":["regular"],"fallback":"sans-serif"},"Geostar Fill":{"weight":["regular"],"fallback":"display"},"Nerko One":{"weight":["regular"],"fallback":"handwriting"},"Lacquer":{"weight":["regular"],"fallback":"display"},"Butcherman":{"weight":["regular"],"fallback":"display"},"Sevillana":{"weight":["regular"],"fallback":"display"},"Nova Oval":{"weight":["regular"],"fallback":"display"},"Aubrey":{"weight":["regular"],"fallback":"display"},"Akaya Kanadaka":{"weight":["regular"],"fallback":"display"},"Nova Cut":{"weight":["regular"],"fallback":"display"},"Vibes":{"weight":["regular"],"fallback":"display"},"Miltonian":{"weight":["regular"],"fallback":"display"},"Moulpali":{"weight":["regular"],"fallback":"display"},"BioRhyme Expanded":{"weight":["200","300","regular","700","800"],"fallback":"serif"},"Bahianita":{"weight":["regular"],"fallback":"display"},"Suravaram":{"weight":["regular"],"fallback":"serif"},"Fruktur":{"weight":["regular"],"fallback":"display"},"Single Day":{"weight":["regular"],"fallback":"display"},"Imbue":{"weight":["100","200","300","regular","500","600","700","800","900"],"fallback":"serif"},"Lexend Tera":{"weight":["regular"],"fallback":"sans-serif"},"Big Shoulders Inline Text":{"weight":["100","300","regular","500","600","700","800","900"],"fallback":"display"},"Dhurjati":{"weight":["regular"],"fallback":"sans-serif"},"Warnes":{"weight":["regular"],"fallback":"display"},"Kenia":{"weight":["regular"],"fallback":"display"},"Lexend Peta":{"weight":["regular"],"fallback":"sans-serif"},"Big Shoulders Stencil Display":{"weight":["100","300","regular","500","600","700","800","900"],"fallback":"display"},"Geostar":{"weight":["regular"],"fallback":"display"},"Big Shoulders Inline Display":{"weight":["100","300","regular","500","600","700","800","900"],"fallback":"display"},"Oi":{"weight":["regular"],"fallback":"display"},"Xanh Mono":{"weight":["regular","italic"],"fallback":"monospace"},"Viaoda Libre":{"weight":["regular"],"fallback":"display"},"Truculenta":{"weight":["100","200","300","regular","500","600","700","800","900"],"fallback":"sans-serif"},"Syne Tactile":{"weight":["regular"],"fallback":"display"},"Trispace":{"weight":["100","200","300","regular","500","600","700","800"],"fallback":"sans-serif"},"Ballet":{"weight":["regular"],"fallback":"handwriting"},"Benne":{"weight":["regular"],"fallback":"serif"}}')},function(e,t){e.exports=window.wp.richText},,function(e,t,a){e.exports=function(){"use strict";var e=Object.hasOwnProperty,t=Object.setPrototypeOf,a=Object.isFrozen,l=Object.getPrototypeOf,i=Object.getOwnPropertyDescriptor,r=Object.freeze,n=Object.seal,o=Object.create,c="undefined"!=typeof Reflect&&Reflect,s=c.apply,g=c.construct;s||(s=function(e,t,a){return e.apply(t,a)}),r||(r=function(e){return e}),n||(n=function(e){return e}),g||(g=function(e,t){return new(Function.prototype.bind.apply(e,[null].concat(function(e){if(Array.isArray(e)){for(var t=0,a=Array(e.length);t<e.length;t++)a[t]=e[t];return a}return Array.from(e)}(t))))});var b,d=v(Array.prototype.forEach),p=v(Array.prototype.pop),u=v(Array.prototype.push),h=v(String.prototype.toLowerCase),f=v(String.prototype.match),m=v(String.prototype.replace),k=v(String.prototype.indexOf),w=v(String.prototype.trim),y=v(RegExp.prototype.test),O=(b=TypeError,function(){for(var e=arguments.length,t=Array(e),a=0;a<e;a++)t[a]=arguments[a];return g(b,t)});function v(e){return function(t){for(var a=arguments.length,l=Array(a>1?a-1:0),i=1;i<a;i++)l[i-1]=arguments[i];return s(e,t,l)}}function j(e,l){t&&t(e,null);for(var i=l.length;i--;){var r=l[i];if("string"==typeof r){var n=h(r);n!==r&&(a(l)||(l[i]=n),r=n)}e[r]=!0}return e}function T(t){var a=o(null),l=void 0;for(l in t)s(e,t,[l])&&(a[l]=t[l]);return a}function C(e,t){for(;null!==e;){var a=i(e,t);if(a){if(a.get)return v(a.get);if("function"==typeof a.value)return v(a.value)}e=l(e)}return function(e){return console.warn("fallback value for",e),null}}var B=r(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),_=r(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),S=r(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),x=r(["animate","color-profile","cursor","discard","fedropshadow","feimage","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),E=r(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover"]),D=r(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),M=r(["#text"]),z=r(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),R=r(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),L=r(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),F=r(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),A=n(/\{\{[\s\S]*|[\s\S]*\}\}/gm),N=n(/<%[\s\S]*|[\s\S]*%>/gm),U=n(/^data-[\-\w.\u00B7-\uFFFF]/),P=n(/^aria-[\-\w]+$/),H=n(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),I=n(/^(?:\w+script|data):/i),G=n(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),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};function W(e){if(Array.isArray(e)){for(var t=0,a=Array(e.length);t<e.length;t++)a[t]=e[t];return a}return Array.from(e)}var q=function(){return"undefined"==typeof window?null:window},Z=function(e,t){if("object"!==(void 0===e?"undefined":V(e))||"function"!=typeof e.createPolicy)return null;var a=null;t.currentScript&&t.currentScript.hasAttribute("data-tt-policy-suffix")&&(a=t.currentScript.getAttribute("data-tt-policy-suffix"));var l="dompurify"+(a?"#"+a:"");try{return e.createPolicy(l,{createHTML:function(e){return e}})}catch(e){return console.warn("TrustedTypes policy "+l+" could not be created."),null}};return function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:q(),a=function(t){return e(t)};if(a.version="2.2.8",a.removed=[],!t||!t.document||9!==t.document.nodeType)return a.isSupported=!1,a;var l=t.document,i=t.document,n=t.DocumentFragment,o=t.HTMLTemplateElement,c=t.Node,s=t.Element,g=t.NodeFilter,b=t.NamedNodeMap,v=void 0===b?t.NamedNodeMap||t.MozNamedAttrMap:b,K=t.Text,J=t.Comment,Y=t.DOMParser,$=t.trustedTypes,Q=s.prototype,X=C(Q,"cloneNode"),ee=C(Q,"nextSibling"),te=C(Q,"childNodes"),ae=C(Q,"parentNode");if("function"==typeof o){var le=i.createElement("template");le.content&&le.content.ownerDocument&&(i=le.content.ownerDocument)}var ie=Z($,l),re=ie&&Fe?ie.createHTML(""):"",ne=i,oe=ne.implementation,ce=ne.createNodeIterator,se=ne.createDocumentFragment,ge=l.importNode,be={};try{be=T(i).documentMode?i.documentMode:{}}catch(e){}var de={};a.isSupported="function"==typeof ae&&oe&&void 0!==oe.createHTMLDocument&&9!==be;var pe=A,ue=N,he=U,fe=P,me=I,ke=G,we=H,ye=null,Oe=j({},[].concat(W(B),W(_),W(S),W(E),W(M))),ve=null,je=j({},[].concat(W(z),W(R),W(L),W(F))),Te=null,Ce=null,Be=!0,_e=!0,Se=!1,xe=!1,Ee=!1,De=!1,Me=!1,ze=!1,Re=!1,Le=!0,Fe=!1,Ae=!0,Ne=!0,Ue=!1,Pe={},He=j({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),Ie=null,Ge=j({},["audio","video","img","source","image","track"]),Ve=null,We=j({},["alt","class","for","id","label","name","pattern","placeholder","summary","title","value","style","xmlns"]),qe="http://www.w3.org/1998/Math/MathML",Ze="http://www.w3.org/2000/svg",Ke="http://www.w3.org/1999/xhtml",Je=Ke,Ye=null,$e=i.createElement("form"),Qe=function(e){Ye&&Ye===e||(e&&"object"===(void 0===e?"undefined":V(e))||(e={}),e=T(e),ye="ALLOWED_TAGS"in e?j({},e.ALLOWED_TAGS):Oe,ve="ALLOWED_ATTR"in e?j({},e.ALLOWED_ATTR):je,Ve="ADD_URI_SAFE_ATTR"in e?j(T(We),e.ADD_URI_SAFE_ATTR):We,Ie="ADD_DATA_URI_TAGS"in e?j(T(Ge),e.ADD_DATA_URI_TAGS):Ge,Te="FORBID_TAGS"in e?j({},e.FORBID_TAGS):{},Ce="FORBID_ATTR"in e?j({},e.FORBID_ATTR):{},Pe="USE_PROFILES"in e&&e.USE_PROFILES,Be=!1!==e.ALLOW_ARIA_ATTR,_e=!1!==e.ALLOW_DATA_ATTR,Se=e.ALLOW_UNKNOWN_PROTOCOLS||!1,xe=e.SAFE_FOR_TEMPLATES||!1,Ee=e.WHOLE_DOCUMENT||!1,ze=e.RETURN_DOM||!1,Re=e.RETURN_DOM_FRAGMENT||!1,Le=!1!==e.RETURN_DOM_IMPORT,Fe=e.RETURN_TRUSTED_TYPE||!1,Me=e.FORCE_BODY||!1,Ae=!1!==e.SANITIZE_DOM,Ne=!1!==e.KEEP_CONTENT,Ue=e.IN_PLACE||!1,we=e.ALLOWED_URI_REGEXP||we,Je=e.NAMESPACE||Je,xe&&(_e=!1),Re&&(ze=!0),Pe&&(ye=j({},[].concat(W(M))),ve=[],!0===Pe.html&&(j(ye,B),j(ve,z)),!0===Pe.svg&&(j(ye,_),j(ve,R),j(ve,F)),!0===Pe.svgFilters&&(j(ye,S),j(ve,R),j(ve,F)),!0===Pe.mathMl&&(j(ye,E),j(ve,L),j(ve,F))),e.ADD_TAGS&&(ye===Oe&&(ye=T(ye)),j(ye,e.ADD_TAGS)),e.ADD_ATTR&&(ve===je&&(ve=T(ve)),j(ve,e.ADD_ATTR)),e.ADD_URI_SAFE_ATTR&&j(Ve,e.ADD_URI_SAFE_ATTR),Ne&&(ye["#text"]=!0),Ee&&j(ye,["html","head","body"]),ye.table&&(j(ye,["tbody"]),delete Te.tbody),r&&r(e),Ye=e)},Xe=j({},["mi","mo","mn","ms","mtext"]),et=j({},["foreignobject","desc","title","annotation-xml"]),tt=j({},_);j(tt,S),j(tt,x);var at=j({},E);j(at,D);var lt=function(e){var t=ae(e);t&&t.tagName||(t={namespaceURI:Ke,tagName:"template"});var a=h(e.tagName),l=h(t.tagName);if(e.namespaceURI===Ze)return t.namespaceURI===Ke?"svg"===a:t.namespaceURI===qe?"svg"===a&&("annotation-xml"===l||Xe[l]):Boolean(tt[a]);if(e.namespaceURI===qe)return t.namespaceURI===Ke?"math"===a:t.namespaceURI===Ze?"math"===a&&et[l]:Boolean(at[a]);if(e.namespaceURI===Ke){if(t.namespaceURI===Ze&&!et[l])return!1;if(t.namespaceURI===qe&&!Xe[l])return!1;var i=j({},["title","style","font","a","script"]);return!at[a]&&(i[a]||!tt[a])}return!1},it=function(e){u(a.removed,{element:e});try{e.parentNode.removeChild(e)}catch(t){try{e.outerHTML=re}catch(t){e.remove()}}},rt=function(e,t){try{u(a.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){u(a.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e&&!ve[e])if(ze||Re)try{it(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},nt=function(e){var t=void 0,a=void 0;if(Me)e="<remove></remove>"+e;else{var l=f(e,/^[\r\n\t ]+/);a=l&&l[0]}var r=ie?ie.createHTML(e):e;if(Je===Ke)try{t=(new Y).parseFromString(r,"text/html")}catch(e){}t&&t.documentElement||((t=oe.createDocument(Je,"template",null)).documentElement.innerHTML=r);var n=t.body||t.documentElement;return e&&a&&n.insertBefore(i.createTextNode(a),n.childNodes[0]||null),Ee?t.documentElement:n},ot=function(e){return ce.call(e.ownerDocument||e,e,g.SHOW_ELEMENT|g.SHOW_COMMENT|g.SHOW_TEXT,(function(){return g.FILTER_ACCEPT}),!1)},ct=function(e){return!(e instanceof K||e instanceof J||"string"==typeof e.nodeName&&"string"==typeof e.textContent&&"function"==typeof e.removeChild&&e.attributes instanceof v&&"function"==typeof e.removeAttribute&&"function"==typeof e.setAttribute&&"string"==typeof e.namespaceURI&&"function"==typeof e.insertBefore)},st=function(e){return"object"===(void 0===c?"undefined":V(c))?e instanceof c:e&&"object"===(void 0===e?"undefined":V(e))&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName},gt=function(e,t,l){de[e]&&d(de[e],(function(e){e.call(a,t,l,Ye)}))},bt=function(e){var t=void 0;if(gt("beforeSanitizeElements",e,null),ct(e))return it(e),!0;if(f(e.nodeName,/[\u0080-\uFFFF]/))return it(e),!0;var l=h(e.nodeName);if(gt("uponSanitizeElement",e,{tagName:l,allowedTags:ye}),!st(e.firstElementChild)&&(!st(e.content)||!st(e.content.firstElementChild))&&y(/<[/\w]/g,e.innerHTML)&&y(/<[/\w]/g,e.textContent))return it(e),!0;if(!ye[l]||Te[l]){if(Ne&&!He[l]){var i=ae(e)||e.parentNode,r=te(e)||e.childNodes;if(r&&i)for(var n=r.length-1;n>=0;--n)i.insertBefore(X(r[n],!0),ee(e))}return it(e),!0}return e instanceof s&&!lt(e)?(it(e),!0):"noscript"!==l&&"noembed"!==l||!y(/<\/no(script|embed)/i,e.innerHTML)?(xe&&3===e.nodeType&&(t=e.textContent,t=m(t,pe," "),t=m(t,ue," "),e.textContent!==t&&(u(a.removed,{element:e.cloneNode()}),e.textContent=t)),gt("afterSanitizeElements",e,null),!1):(it(e),!0)},dt=function(e,t,a){if(Ae&&("id"===t||"name"===t)&&(a in i||a in $e))return!1;if(_e&&y(he,t));else if(Be&&y(fe,t));else{if(!ve[t]||Ce[t])return!1;if(Ve[t]);else if(y(we,m(a,ke,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==k(a,"data:")||!Ie[e])if(Se&&!y(me,m(a,ke,"")));else if(a)return!1}return!0},pt=function(e){var t=void 0,l=void 0,i=void 0,r=void 0;gt("beforeSanitizeAttributes",e,null);var n=e.attributes;if(n){var o={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:ve};for(r=n.length;r--;){var c=t=n[r],s=c.name,g=c.namespaceURI;if(l=w(t.value),i=h(s),o.attrName=i,o.attrValue=l,o.keepAttr=!0,o.forceKeepAttr=void 0,gt("uponSanitizeAttribute",e,o),l=o.attrValue,!o.forceKeepAttr&&(rt(s,e),o.keepAttr))if(y(/\/>/i,l))rt(s,e);else{xe&&(l=m(l,pe," "),l=m(l,ue," "));var b=e.nodeName.toLowerCase();if(dt(b,i,l))try{g?e.setAttributeNS(g,s,l):e.setAttribute(s,l),p(a.removed)}catch(e){}}}gt("afterSanitizeAttributes",e,null)}},ut=function e(t){var a=void 0,l=ot(t);for(gt("beforeSanitizeShadowDOM",t,null);a=l.nextNode();)gt("uponSanitizeShadowNode",a,null),bt(a)||(a.content instanceof n&&e(a.content),pt(a));gt("afterSanitizeShadowDOM",t,null)};return a.sanitize=function(e,i){var r=void 0,o=void 0,s=void 0,g=void 0,b=void 0;if(e||(e="\x3c!--\x3e"),"string"!=typeof e&&!st(e)){if("function"!=typeof e.toString)throw O("toString is not a function");if("string"!=typeof(e=e.toString()))throw O("dirty is not a string, aborting")}if(!a.isSupported){if("object"===V(t.toStaticHTML)||"function"==typeof t.toStaticHTML){if("string"==typeof e)return t.toStaticHTML(e);if(st(e))return t.toStaticHTML(e.outerHTML)}return e}if(De||Qe(i),a.removed=[],"string"==typeof e&&(Ue=!1),Ue);else if(e instanceof c)1===(o=(r=nt("\x3c!----\x3e")).ownerDocument.importNode(e,!0)).nodeType&&"BODY"===o.nodeName||"HTML"===o.nodeName?r=o:r.appendChild(o);else{if(!ze&&!xe&&!Ee&&-1===e.indexOf("<"))return ie&&Fe?ie.createHTML(e):e;if(!(r=nt(e)))return ze?null:re}r&&Me&&it(r.firstChild);for(var d=ot(Ue?e:r);s=d.nextNode();)3===s.nodeType&&s===g||bt(s)||(s.content instanceof n&&ut(s.content),pt(s),g=s);if(g=null,Ue)return e;if(ze){if(Re)for(b=se.call(r.ownerDocument);r.firstChild;)b.appendChild(r.firstChild);else b=r;return Le&&(b=ge.call(l,b,!0)),b}var p=Ee?r.outerHTML:r.innerHTML;return xe&&(p=m(p,pe," "),p=m(p,ue," ")),ie&&Fe?ie.createHTML(p):p},a.setConfig=function(e){Qe(e),De=!0},a.clearConfig=function(){Ye=null,De=!1},a.isValidAttribute=function(e,t,a){Ye||Qe({});var l=h(e),i=h(t);return dt(l,i,a)},a.addHook=function(e,t){"function"==typeof t&&(de[e]=de[e]||[],u(de[e],t))},a.removeHook=function(e){de[e]&&p(de[e])},a.removeHooks=function(e){de[e]&&(de[e]=[])},a.removeAllHooks=function(){de={}},a}()}()},function(e,t,a){"use strict";a.r(t);var l=a(0),i=a(4),r=a.n(i),n=a(6),o=a.n(n);const c=wp.element.createElement;function s(e){return"tabs-desktop"===e?c("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none"},c("path",{d:"M18.95 4H4.55C3.55589 4 2.75 4.76751 2.75 5.71429V14.2857C2.75 15.2325 3.55589 16 4.55 16H18.95C19.9441 16 20.75 15.2325 20.75 14.2857V5.71429C20.75 4.76751 19.9441 4 18.95 4Z",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),c("path",{d:"M1.75 18C1.19772 18 0.75 18.4477 0.75 19C0.75 19.5523 1.19772 20 1.75 20H21.75C22.3023 20 22.75 19.5523 22.75 19C22.75 18.4477 22.3023 18 21.75 18H1.75ZM9 18.8C8.86193 18.8 8.75 18.9119 8.75 19.05C8.75 19.1881 8.86193 19.3 9 19.3H14.5C14.6381 19.3 14.75 19.1881 14.75 19.05C14.75 18.9119 14.6381 18.8 14.5 18.8H9Z",stroke:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})):"tabs-tablet"===e?c("svg",{width:24,height:24,viewBox:"0 0 24 24"},c("path",{d:"M16.6429 4H7.35714C6.33147 4 5.5 4.71634 5.5 5.6V18.4C5.5 19.2837 6.33147 20 7.35714 20H16.6429C17.6685 20 18.5 19.2837 18.5 18.4V5.6C18.5 4.71634 17.6685 4 16.6429 4Z"}),c("path",{d:"M12 17.5H12.01"})):"tabs-mobile"===e?c("svg",{width:24,height:24,viewBox:"0 0 24 24"},c("path",{d:"M15.5714 4H8.42857C7.63959 4 7 4.71634 7 5.6V18.4C7 19.2837 7.63959 20 8.42857 20H15.5714C16.3604 20 17 19.2837 17 18.4V5.6C17 4.71634 16.3604 4 15.5714 4Z"}),c("path",{d:"M12 17.5H12.01"})):"sync"===e?c("svg",{width:24,height:24,viewBox:"0 0 24 24"},c("path",{d:"m7.34133533 6.23855964v-1.98499625c-2.17404351.03150788-4.03300825 1.38634659-4.85221305 3.27681921-.31507877.72468117-.44111028 1.51237809-.4096024 2.33158289.06301575 1.13428361.47261815 2.20555141 1.16579145 3.05626411.37809452.4411102.28357089 1.1027757-.18904726 1.4493623-.44111028.3150788-1.07126782.2205551-1.41785447-.1890473-.85071268-1.0397599-1.38634658-2.3315829-1.54388597-3.7179294-.12603151-1.00825211-.03150788-2.01650417.25206302-2.9302326.88222055-3.02475619 3.6864216-5.26181546 6.99474868-5.29332334v-1.98499624c0-.09452363.12603151-.15753939.22055514-.09452363l4.09602403 2.99324831c.0630157.06301575.0630157.15753938 0 .18904726l-4.09602403 2.99324831c-.09452363.06301575-.22055514 0-.22055514-.09452363zm.22055514 13.17029256c.09452363.0630158.22055514 0 .22055514-.0945236v-1.9849963c3.30832709-.0315078 6.11252809-2.2685671 6.99474869-5.2933233.252063-.9137284.3780945-1.8904726.252063-2.93023256-.1575394-1.38634658-.7246812-2.67816954-1.543886-3.71792948-.3465866-.44111028-.9767441-.53563391-1.4178544-.18904726-.4726182.34658665-.5671418 1.00825206-.1890473 1.44936234.6931733.85071268 1.1027757 1.89047262 1.1657915 3.05626407.0315078.81920479-.1260315 1.63840959-.4096024 2.33158289-.787697 1.8904726-2.6466617 3.2453113-4.85221309 3.2768192v-1.9849962c0-.0945237-.12603151-.1575394-.22055514-.0945237l-4.096024 2.9932483c-.06301576.0630158-.06301576.1575394 0 .1890473z",transform:"translate(4 2)"})):"headline"===e?c("svg",{width:24,height:24,viewBox:"0 0 20 20",style:{padding:"1px"}},c("path",{d:"M12.5 4v5.2h-5V4H5v13h2.5v-5.2h5V17H15V4",fill:"#1e72bd"})):"grid"===e?c("svg",{width:20,height:20,viewBox:"0 0 20 20",style:{padding:"1px"}},c("path",{d:"M20 .6c0-.3-.2-.6-.5-.6H.5C.2 0 0 .3 0 .6v4.6c0 .3.2.6.5.6h19c.3 0 .5-.3.5-.6V.6zM6.7 7.7c0-.3-.2-.6-.5-.6H.5c-.3 0-.5.3-.5.6v4.6c0 .3.2.6.5.6h5.6c.3 0 .5-.3.5-.6l.1-4.6zM19.9 7.7c0-.3-.2-.6-.6-.6H8.6c-.4 0-.6.3-.6.6v4.5c0 .3.2.6.6.6h10.8c.3 0 .6-.3.6-.6l-.1-4.5z",fill:"#1d72ba"}),c("path",{d:"M20 14.8c0-.3-.2-.6-.5-.6h-5.6c-.3 0-.5.2-.5.6v4.6c0 .3.2.6.5.6h5.6c.3 0 .5-.2.5-.6v-4.6zM12 14.8c0-.3-.2-.5-.5-.5H.5c-.3 0-.5.2-.5.5v4.6c0 .4.2.6.5.6h11c.3 0 .5-.2.5-.5v-4.7z",fill:"#1d72ba"})):"container"===e?c("svg",{width:20,height:20,viewBox:"0 0 20 20",style:{padding:"1px"}},c("path",{d:"M2.8 3.4c0-.4.3-.7.7-.7h1.2V0H3.4C1.5 0 0 1.5 0 3.4v1.2h2.8V3.4zM0 7.4h2.8v5.3H0zM17.2 7.4H20v5.3h-2.8zM17.2 16.6c0 .4-.3.7-.7.7h-1.2V20h1.2c1.9 0 3.4-1.5 3.4-3.4v-1.2h-2.8v1.2h.1zM7.4 0h5.3v2.8H7.4zM3.4 17.2c-.4 0-.7-.3-.7-.7v-1.2H0v1.2c0 2 1.5 3.5 3.4 3.5h1.2v-2.8H3.4zM7.4 17.2h5.3V20H7.4zM16.6 2.8c.4 0 .7.3.7.7v1.2H20V3.4C20 1.5 18.5 0 16.6 0h-1.2v2.8h1.2z",fill:"#1e72bd"})):"button"===e?c("svg",{width:20,height:20,viewBox:"0 0 20 20",style:{padding:"1px"}},c("path",{d:"M19.2 0H.8C.4 0 0 .4 0 .8v6.4c0 .4.4.8.8.8h18.4c.4 0 .8-.4.8-.8V.8c0-.4-.4-.8-.8-.8zM18.4 12H1.6c-.9 0-1.6.7-1.6 1.6v4.8c0 .9.7 1.6 1.6 1.6h16.8c.9 0 1.6-.7 1.6-1.6v-4.8c0-.9-.7-1.6-1.6-1.6zm.4 6.4c0 .2-.2.4-.4.4H1.6c-.2 0-.4-.2-.4-.4v-4.8c0-.2.2-.4.4-.4h16.8c.2 0 .4.2.4.4v4.8z",fill:"#1e72bd"})):"paragraph"===e?c("svg",{width:20,height:20,viewBox:"0 0 20 20"},c("path",{d:"M15 2H7.54c-.83 0-1.59.2-2.28.6-.7.41-1.25.96-1.65 1.65C3.2 4.94 3 5.7 3 6.52s.2 1.58.61 2.27c.4.69.95 1.24 1.65 1.64.69.41 1.45.61 2.28.61h.43V17c0 .27.1.51.29.71.2.19.44.29.71.29.28 0 .51-.1.71-.29.2-.2.3-.44.3-.71V5c0-.27.09-.51.29-.71.2-.19.44-.29.71-.29s.51.1.71.29c.19.2.29.44.29.71v12c0 .27.1.51.3.71.2.19.43.29.71.29.27 0 .51-.1.71-.29.19-.2.29-.44.29-.71V4H15c.27 0 .5-.1.7-.3.2-.19.3-.43.3-.7s-.1-.51-.3-.71A.984.984 0 0 0 15 2z"})):"spacing"===e?c("svg",{width:20,height:20,viewBox:"0 0 113 113",fillRule:"evenodd"},c("path",{d:"M106.283,6.217c8.289,8.29 8.289,91.776 0,100.066c-8.29,8.289 -91.776,8.289 -100.066,0c-8.289,-8.29 -8.289,-91.776 0,-100.066c8.29,-8.289 91.776,-8.289 100.066,0Zm-10.007,10.007c6.632,6.632 6.632,73.42 0,80.052c-6.632,6.632 -73.42,6.632 -80.052,0c-6.632,-6.632 -6.632,-73.42 0,-80.052c6.632,-6.632 73.42,-6.632 80.052,0Z"}),c("path",{d:"M40.452,77.705c7.802,1.393 23.794,1.393 31.596,0l13.635,13.635c-12.215,3.213 -46.652,3.213 -58.866,0l13.635,-13.635Zm50.888,-50.888c3.213,12.215 3.213,46.653 0,58.866l-13.635,-13.635c1.393,-7.801 1.393,-23.794 0,-31.596l13.635,-13.635Zm-70.18,0l13.635,13.635c-1.393,7.802 -1.393,23.794 0,31.596l-13.635,13.635c-3.213,-12.213 -3.213,-46.651 0,-58.866Zm5.657,-5.657c12.214,-3.213 46.652,-3.213 58.866,0l-13.635,13.635c-7.801,-1.393 -23.795,-1.393 -31.596,0l-13.635,-13.635Z"})):"advanced"===e?c("svg",{width:20,height:20,viewBox:"0 0 113 113",fillRule:"evenodd"},c("path",{d:"M106.283,6.217c8.289,8.29 8.289,91.776 0,100.066c-8.29,8.289 -91.776,8.289 -100.066,0c-8.289,-8.29 -8.289,-91.776 0,-100.066c8.29,-8.289 91.776,-8.289 100.066,0Zm-10.007,37.215c6.632,2.124 6.632,23.512 0,25.636c-6.632,2.124 -73.42,2.124 -80.052,0c-6.632,-2.124 -6.632,-23.512 0,-25.636c6.632,-2.124 73.42,-2.124 80.052,0Z"}),c("path",{d:"M48.61,51.916c2.243,0.718 2.243,7.95 0,8.668c-2.242,0.718 -24.823,0.718 -27.065,0c-2.243,-0.718 -2.243,-7.95 0,-8.668c2.242,-0.718 24.823,-0.718 27.065,0Z"}),c("path",{d:"M90.955,51.916c2.243,0.718 2.243,7.95 0,8.668c-2.242,0.718 -24.823,0.718 -27.065,0c-2.243,-0.718 -2.243,-7.95 0,-8.668c2.242,-0.718 24.823,-0.718 27.065,0Z"})):"backgrounds"===e?c("svg",{width:20,height:20,viewBox:"0 0 113 113",fillRule:"evenodd"},c("path",{d:"M1.491,87.777l37.79,-37.79l31.352,31.352c2.412,2.171 5.656,0 5.656,0l17.248,-17.247l13.186,13.186l4.796,4.797c-0.971,12.199 -2.726,21.685 -5.249,24.208c-8.29,8.289 -91.776,8.289 -100.066,0c-2.113,-2.113 -3.687,-9.113 -4.713,-18.506Z"}),c("path",{d:"M0.631,77.323c-1.742,-27.728 0.125,-65.658 5.573,-71.106c8.29,-8.289 91.776,-8.289 100.066,0c5.07,5.07 7.039,38.265 5.89,65.185l-15.795,-15.795c-2.412,-2.172 -5.657,0 -5.657,0l-17.247,17.246l-31.351,-31.351c-0.731,-0.658 -1.036,-1 -2.619,-1.166c-0.263,0 -0.477,-0.075 -1.245,0.131c-0.912,0.244 -1.793,1.035 -1.793,1.035l-35.822,35.821Zm76.434,-59.584c7.115,0 12.891,5.776 12.891,12.89c0,7.114 -5.776,12.89 -12.891,12.89c-7.114,0 -12.89,-5.776 -12.89,-12.89c0,-7.114 5.776,-12.89 12.89,-12.89Z"})):"colors"===e?c("svg",{width:20,height:20,viewBox:"0 0 113 113",fillRule:"evenodd"},c("path",{d:"M106.283,6.217c8.289,8.29 8.289,91.776 0,100.066c-8.29,8.289 -91.776,8.289 -100.066,0c-8.289,-8.29 -8.289,-91.776 0,-100.066c8.29,-8.289 91.776,-8.289 100.066,0Zm-50.033,12.818c-20.551,0 -37.215,16.664 -37.215,37.215c0,20.551 16.664,37.215 37.215,37.215c3.432,0 6.202,-2.77 6.202,-6.203c0,-1.612 -0.62,-3.059 -1.612,-4.176c-0.951,-1.075 -1.571,-2.522 -1.571,-4.094c0,-3.432 2.77,-6.202 6.202,-6.202l7.319,0c11.413,0 20.675,-9.262 20.675,-20.675c0,-18.277 -16.664,-33.08 -37.215,-33.08Zm-22.742,37.215c-3.433,0 -6.203,-2.77 -6.203,-6.202c0,-3.433 2.77,-6.203 6.203,-6.203c3.432,0 6.202,2.77 6.202,6.203c0,3.432 -2.77,6.202 -6.202,6.202Zm45.484,0c-3.432,0 -6.202,-2.77 -6.202,-6.202c0,-3.433 2.77,-6.203 6.202,-6.203c3.433,0 6.203,2.77 6.203,6.203c0,3.432 -2.77,6.202 -6.203,6.202Zm-33.079,-16.54c-3.433,0 -6.203,-2.77 -6.203,-6.202c0,-3.433 2.77,-6.203 6.203,-6.203c3.432,0 6.202,2.77 6.202,6.203c0,3.432 -2.77,6.202 -6.202,6.202Zm20.674,0c-3.432,0 -6.202,-2.77 -6.202,-6.202c0,-3.433 2.77,-6.203 6.202,-6.203c3.433,0 6.203,2.77 6.203,6.203c0,3.432 -2.77,6.202 -6.203,6.202Z"})):"gradients"===e?c("svg",{width:20,height:20,viewBox:"0 0 113 113",fillRule:"evenodd"},c("path",{d:"M112.426,48.746c0.503,25.204 -1.545,52.939 -6.143,57.537c-8.29,8.289 -91.776,8.289 -100.066,0c-8.289,-8.29 -8.289,-91.776 0,-100.066c8.289,-8.288 91.748,-8.289 100.061,-0.004c0,0 0.005,0.004 0.005,0.004c3.691,3.692 5.739,22.295 6.143,42.529Zm-16.154,-32.526c-6.656,-6.628 -73.418,-6.627 -80.048,0.004c-6.631,6.63 -6.632,73.392 -0.004,80.048l80.052,-80.052Z"})):"icons"===e?c("svg",{width:20,height:20,viewBox:"0 0 113 113",fillRule:"evenodd"},c("path",{d:"M106.283,6.217c8.289,8.29 8.289,91.776 0,100.066c-8.29,8.289 -91.776,8.289 -100.066,0c-8.289,-8.29 -8.289,-91.776 0,-100.066c8.29,-8.289 91.776,-8.289 100.066,0Zm-10.007,10.007c6.632,6.632 6.632,73.42 0,80.052c-6.632,6.632 -73.42,6.632 -80.052,0c-6.632,-6.632 -6.632,-73.42 0,-80.052c6.632,-6.632 73.42,-6.632 80.052,0Z"}),c("path",{d:"M89.605,22.895c5.527,5.526 5.527,61.184 0,66.71c-5.526,5.527 -61.184,5.527 -66.71,0c-5.527,-5.526 -5.527,-61.184 0,-66.71c5.526,-5.527 61.184,-5.527 66.71,0Zm-21.066,62.31l0,-2.731c-0.648,-0.074 -1.272,-0.199 -1.87,-0.374c-0.599,-0.174 -1.148,-0.374 -1.646,-0.598c-0.699,-0.299 -1.235,-0.755 -1.609,-1.366c-0.374,-0.611 -0.561,-1.353 -0.561,-2.226l0,-29.703l-0.561,-0.561l-18.331,0.972l0,2.731c0.748,0.075 1.577,0.25 2.488,0.524c0.91,0.274 1.589,0.561 2.038,0.86c0.599,0.399 1.098,0.929 1.497,1.59c0.399,0.661 0.598,1.428 0.598,2.301l0,21.773c0,0.923 -0.162,1.665 -0.486,2.226c-0.324,0.561 -0.885,0.991 -1.683,1.29c-0.449,0.175 -0.986,0.3 -1.609,0.374c-0.624,0.075 -1.26,0.138 -1.908,0.187l0,2.731l23.643,0Zm-12.978,-59.459c4.76,0 8.625,3.864 8.625,8.625c0,4.76 -3.865,8.625 -8.625,8.625c-4.76,0 -8.625,-3.865 -8.625,-8.625c0,-4.761 3.865,-8.625 8.625,-8.625Z"})):"typography"===e?c("svg",{width:20,height:20,viewBox:"0 0 113 113",fillRule:"evenodd"},c("path",{d:"M106.283,6.217c8.289,8.29 8.289,91.776 0,100.066c-8.29,8.289 -91.776,8.289 -100.066,0c-8.289,-8.29 -8.289,-91.776 0,-100.066c8.29,-8.289 91.776,-8.289 100.066,0Zm-8.783,78.583l0,-2.817c-0.661,-0.026 -1.481,-0.165 -2.46,-0.417c-0.979,-0.251 -1.773,-0.562 -2.381,-0.932c-0.9,-0.609 -1.601,-1.23 -2.103,-1.865c-0.503,-0.635 -0.953,-1.468 -1.349,-2.5l-18.769,-48.569l-3.175,0c-2.672,6.878 -5.714,14.721 -9.126,23.53c-3.266,8.43 -6.265,16.06 -8.998,22.891l-11.672,-28.684l-2.304,0c-1.939,4.742 -4.148,10.149 -6.625,16.222c-2.477,6.072 -4.743,11.543 -6.798,16.412c-0.403,0.949 -0.816,1.692 -1.238,2.23c-0.423,0.538 -1.018,1.053 -1.786,1.545c-0.48,0.292 -1.095,0.524 -1.844,0.698c-0.749,0.173 -1.373,0.278 -1.872,0.314l0,1.942l15.382,0l0,-1.942c-1.518,-0.073 -2.881,-0.31 -4.091,-0.711c-1.209,-0.401 -1.814,-0.966 -1.814,-1.696c0,-0.31 0.048,-0.711 0.144,-1.204c0.096,-0.492 0.268,-1.13 0.518,-1.914c0.269,-0.803 0.571,-1.678 0.907,-2.626c0.336,-0.948 0.773,-2.061 1.311,-3.338l14.316,0l3.399,8.699c0.012,0.03 0.024,0.06 0.036,0.092c-0.161,0.119 -0.329,0.237 -0.503,0.355c-0.661,0.423 -1.508,0.76 -2.539,1.012c-1.032,0.251 -1.892,0.403 -2.58,0.456l0,2.817l21.19,0l0,-2.817c-2.09,-0.106 -3.968,-0.45 -5.635,-1.032c-1.666,-0.582 -2.499,-1.402 -2.499,-2.46c0,-0.45 0.066,-1.032 0.198,-1.746c0.132,-0.714 0.37,-1.64 0.714,-2.777c0.371,-1.164 0.787,-2.434 1.25,-3.81c0.463,-1.375 1.065,-2.989 1.806,-4.841l19.721,0l4.682,12.619c0.106,0.264 0.186,0.568 0.238,0.912c0.053,0.344 0.08,0.635 0.08,0.873c0,0.582 -0.681,1.072 -2.044,1.468c-1.362,0.397 -3.075,0.662 -5.138,0.794l0,2.817l23.451,0Zm-56.864,-15.865l-6.193,-15.045l-6.078,15.045l12.271,0Zm34.167,-7.15l-8.532,-21.824l-8.373,21.824l16.905,0Z"})):"addContainer"===e?c("svg",{width:20,height:20,viewBox:"0 0 64 64",fillRule:"evenodd"},c("path",{d:"M41.454,57.126l0,6.409c-6.088,0.286 -12.82,0.286 -18.908,0l0,-6.409c5.957,0.366 12.951,0.366 18.908,0Zm-33.93,-8.899c0.458,3.226 1.086,5.568 1.883,6.366c0.798,0.797 3.14,1.425 6.366,1.883l0,6.592c-6.084,-0.578 -10.706,-1.519 -12.015,-2.826c-1.307,-1.309 -2.248,-5.931 -2.826,-12.015l6.592,0Zm55.544,0c-0.578,6.084 -1.519,10.706 -2.826,12.015c-1.309,1.307 -5.931,2.248 -12.015,2.826l0,-6.592c3.226,-0.458 5.568,-1.086 6.366,-1.883c0.797,-0.798 1.425,-3.14 1.883,-6.366l6.592,0Zm0.467,-25.681c0.286,6.088 0.286,12.82 0,18.908l-6.409,0c0.366,-5.957 0.366,-12.951 0,-18.908l6.409,0Zm-56.661,0c-0.366,5.957 -0.366,12.951 0,18.908l-6.409,0c-0.286,-6.088 -0.286,-12.82 0,-18.908l6.409,0Zm41.353,-21.614c6.084,0.578 10.706,1.519 12.015,2.826c1.307,1.309 2.248,5.931 2.826,12.015l-6.592,0c-0.458,-3.226 -1.086,-5.568 -1.883,-6.366c-0.798,-0.797 -3.14,-1.425 -6.366,-1.883l0,-6.592Zm-32.454,0l0,6.592c-3.226,0.458 -5.568,1.086 -6.366,1.883c-0.797,0.798 -1.425,3.14 -1.883,6.366l-6.592,0c0.578,-6.084 1.519,-10.706 2.826,-12.015c1.309,-1.307 5.931,-2.248 12.015,-2.826Zm6.773,-0.467c6.088,-0.286 12.82,-0.286 18.908,0l0,6.409c-5.957,-0.366 -12.951,-0.366 -18.908,0l0,-6.409Z"}),c("path",{d:"M18.03,29.037l11.007,0l0,-11.007l6.773,0l0,11.007l11.007,0l0,6.773l-11.007,0l0,11.007l-6.773,0l0,-11.007l-11.007,0l0,-6.773Z"})):"gradient"===e?c("svg",{width:24,height:24,viewBox:"0 0 24 24",fillRule:"evenodd"},c("path",{d:"M17.66 8L12 2.35L6.34 8A8.02 8.02 0 0 0 4 13.64c0 2 .78 4.11 2.34 5.67a7.99 7.99 0 0 0 11.32 0c1.56-1.56 2.34-3.67 2.34-5.67S19.22 9.56 17.66 8zM6 14c.01-2 .62-3.27 1.76-4.4L12 5.27l4.24 4.38C17.38 10.77 17.99 12 18 14H6z"})):"documentation"===e?c("svg",{width:20,height:20,viewBox:"0 0 113 113",fillRule:"evenodd"},c("path",{d:"M106.755 6.245c8.327 8.326 8.327 92.184 0 100.51-8.326 8.327-92.184 8.327-100.51 0-8.327-8.326-8.327-92.184 0-100.51 8.326-8.327 92.184-8.327 100.51 0zm-92.661 93.896C9.279 84 9.781 23.714 15.834 17.661c2.491-2.491 19.588-4.132 26.354-4.712 4.748-.408 10.115.671 14.243 1.23 4.128-.559 9.495-1.638 14.243-1.23 6.766.58 23.863 2.221 26.354 4.712 6.053 6.053 6.791 66.339 1.976 82.48-4.729-1.977-19.708-3.436-26.784-3.853-5.234-.308-11.129.739-15.671 1.354-4.543-.615-10.437-1.662-15.672-1.354-7.075.417-22.054 1.876-26.783 3.853z"}),c("path",{d:"M50.188 32.738c2.252.536 2.252 5.927 0 6.463-2.252.535-24.934.535-27.186 0-2.252-.536-2.252-5.927 0-6.463 2.252-.535 24.934-.535 27.186 0zM50.277 46.846c2.252.535 2.252 5.927 0 6.462-2.252.535-24.934.535-27.186 0-2.252-.535-2.252-5.927 0-6.462 2.252-.535 24.934-.535 27.186 0zM50.277 60.037c2.252.535 2.252 5.927 0 6.462-2.252.535-24.934.535-27.186 0-2.252-.535-2.252-5.927 0-6.462 2.252-.535 24.934-.535 27.186 0zM50.277 73.799c2.252.536 2.252 5.927 0 6.463-2.252.535-24.934.535-27.186 0-2.252-.536-2.252-5.927 0-6.463 2.252-.535 24.934-.535 27.186 0z"}),c("path",{d:"M89.909 32.738c2.252.536 2.252 5.927 0 6.463-2.252.535-24.934.535-27.186 0-2.252-.536-2.252-5.927 0-6.463 2.252-.535 24.934-.535 27.186 0zM89.998 46.846c2.252.535 2.252 5.927 0 6.462-2.252.535-24.934.535-27.186 0-2.252-.535-2.252-5.927 0-6.462 2.252-.535 24.934-.535 27.186 0zM89.998 60.037c2.252.535 2.252 5.927 0 6.462-2.252.535-24.934.535-27.186 0-2.252-.535-2.252-5.927 0-6.462 2.252-.535 24.934-.535 27.186 0z"})):"layout"===e?c("svg",{width:20,height:20,viewBox:"0 0 113 113",fillRule:"evenodd"},c("path",{d:"M106.719 6.238c8.362 8.362 8.362 92.208 0 100.57-8.362 8.287-92.208 8.287-100.495 0-8.362-8.362-8.362-92.208 0-100.57 8.287-8.286 92.133-8.286 100.495 0zm-9.417 9.417c6.78 6.78 6.78 74.957 0 81.737-6.78 6.78-74.956 6.78-81.661 0-6.78-6.78-6.78-74.957 0-81.737 6.705-6.78 74.881-6.78 81.661 0z"}),c("path",{d:"M93.988 48.877c.602 17.477-.754 37.893-3.993 41.132-3.164 3.164-22.75 4.52-40.002 4.068v-45.2h43.995zm-75.108 0h23.58v44.899c-9.718-.603-17.553-1.808-19.512-3.767-3.24-3.24-4.595-23.655-4.068-41.132zm.377-7.533c.678-9.19 1.883-16.498 3.691-18.306 5.575-5.575 61.472-5.575 67.047 0 1.808 1.808 3.013 9.115 3.691 18.306h-74.43z"})):"shapes"===e?c("svg",{width:20,height:20,viewBox:"0 0 113 113",fillRule:"evenodd"},c("path",{d:"M106.756,6.244C115.081,14.571 115.081,98.429 106.756,106.756C98.429,115.081 14.571,115.081 6.244,106.756C-2.081,98.429 -2.081,14.571 6.244,6.244C14.571,-2.081 98.429,-2.081 106.756,6.244ZM67.875,88.052C67.875,86.977 67.003,86.105 65.928,86.105L47.072,86.105C45.997,86.105 45.125,86.977 45.125,88.052L45.125,91.948C45.125,93.023 45.997,93.896 47.072,93.896L65.928,93.896C67.003,93.896 67.875,93.023 67.875,91.948L67.875,88.052ZM57.899,31.409L59.305,31.409C60.853,31.409 62.11,30.152 62.11,28.604L62.11,28.089L73.263,57.543C73.757,58.333 73.731,59.161 73.731,59.403C73.729,62.659 65.231,69.414 65.375,83.611L47.625,83.611C47.769,69.414 39.271,62.659 39.269,59.403C39.269,59.161 39.243,58.333 39.737,57.543L50.89,28.089L50.89,28.604C50.89,30.152 52.147,31.409 53.695,31.409L55.101,31.409C55.111,35.738 55.142,50.367 55.098,54.109C55.093,54.494 54.907,54.988 54.68,55.45C52.915,56.169 51.669,57.903 51.669,59.925C51.669,62.592 53.834,64.756 56.5,64.756C59.166,64.756 61.331,62.592 61.331,59.925C61.331,57.903 60.085,56.169 58.32,55.45C58.093,54.988 57.907,54.494 57.902,54.109C57.858,50.367 57.889,35.738 57.899,31.409ZM52.227,19.451L52.227,18.881C52.227,17.702 53.185,16.745 54.364,16.745L58.636,16.745C59.815,16.745 60.773,17.702 60.773,18.881L60.773,19.451L88.831,19.451C89.457,17.867 91.002,16.745 92.807,16.745C95.165,16.745 97.08,18.66 97.08,21.018C97.08,23.376 95.165,25.29 92.807,25.29C91.03,25.29 89.505,24.203 88.861,22.658L71.798,22.658C83.83,28.003 92.531,39.501 93.898,53.148L94.93,53.148C96.109,53.148 97.067,54.105 97.067,55.284L97.067,59.557C97.067,60.736 96.109,61.693 94.93,61.693L90.657,61.693C89.478,61.693 88.521,60.736 88.521,59.557L88.521,55.284C88.521,54.105 89.478,53.148 90.657,53.148L90.922,53.148C89.19,37.24 76.627,24.564 60.773,22.659L60.773,23.154C60.773,24.333 59.815,25.29 58.636,25.29L54.364,25.29C53.185,25.29 52.227,24.333 52.227,23.154L52.227,22.688C36.484,24.689 24.036,37.318 22.312,53.148L22.329,53.148C23.508,53.148 24.466,54.105 24.466,55.284L24.466,59.557C24.466,60.736 23.508,61.693 22.329,61.693L18.056,61.693C16.877,61.693 15.92,60.736 15.92,59.557L15.92,55.284C15.92,54.105 16.877,53.148 18.056,53.148L19.336,53.148C20.703,39.501 29.405,28.003 41.437,22.658L24.139,22.658C23.495,24.203 21.97,25.29 20.193,25.29C17.835,25.29 15.92,23.376 15.92,21.018C15.92,18.66 17.835,16.745 20.193,16.745C21.998,16.745 23.543,17.867 24.169,19.451L52.227,19.451Z"})):"wrench"===e?Object(l.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},Object(l.createElement)("rect",{x:"0",fill:"none",width:"20",height:"20"}),Object(l.createElement)("g",null,Object(l.createElement)("path",{d:"M16.68 9.77c-1.34 1.34-3.3 1.67-4.95.99l-5.41 6.52c-.99.99-2.59.99-3.58 0s-.99-2.59 0-3.57l6.52-5.42c-.68-1.65-.35-3.61.99-4.95 1.28-1.28 3.12-1.62 4.72-1.06l-2.89 2.89 2.82 2.82 2.86-2.87c.53 1.58.18 3.39-1.08 4.65zM3.81 16.21c.4.39 1.04.39 1.43 0 .4-.4.4-1.04 0-1.43-.39-.4-1.03-.4-1.43 0-.39.39-.39 1.03 0 1.43z"}))):"x"===e?Object(l.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},Object(l.createElement)("rect",{x:"0",fill:"none",width:"20",height:"20"}),Object(l.createElement)("g",null,Object(l.createElement)("path",{d:"M14.95 6.46L11.41 10l3.54 3.54-1.41 1.41L10 11.42l-3.53 3.53-1.42-1.42L8.58 10 5.05 6.47l1.42-1.42L10 8.58l3.54-3.53z"}))):"ellipsis"===e?Object(l.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},Object(l.createElement)("rect",{x:"0",fill:"none",width:"20",height:"20"}),Object(l.createElement)("g",null,Object(l.createElement)("path",{d:"M5 10c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2zm12-2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-7 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"}))):"insert"===e?Object(l.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},Object(l.createElement)("rect",{x:"0",fill:"none",width:"20",height:"20"}),Object(l.createElement)("g",null,Object(l.createElement)("path",{d:"M10 1c-5 0-9 4-9 9s4 9 9 9 9-4 9-9-4-9-9-9zm0 16c-3.9 0-7-3.1-7-7s3.1-7 7-7 7 3.1 7 7-3.1 7-7 7zm1-11H9v3H6v2h3v3h2v-3h3V9h-3V6z"}))):"reset"===e?Object(l.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",viewBox:"0 0 50 50"},Object(l.createElement)("path",{d:"M25 38c-5.1 0-9.7-3-11.8-7.6l1.8-.8c1.8 3.9 5.7 6.4 10 6.4 6.1 0 11-4.9 11-11s-4.9-11-11-11c-4.6 0-8.5 2.8-10.1 7.3l-1.9-.7c1.9-5.2 6.6-8.6 12-8.6 7.2 0 13 5.8 13 13s-5.8 13-13 13z",fill:"currentColor"}),Object(l.createElement)("path",{d:"M20 22h-8v-8h2v6h6z",fill:"currentColor"})):void 0}var g=a(1),b=a(2),d=a(3);class p extends l.Component{render(){const{onClick:e,selectedDevice:t}=this.props;return Object(l.createElement)(l.Fragment,null,Object(l.createElement)("div",{className:"gb-responsive-tabs"},Object(l.createElement)(b.Tooltip,{text:Object(g.__)("Show options for all devices","generateblocks")},Object(l.createElement)(b.Button,{isPressed:"Desktop"===t,onClick:()=>{e("Desktop")}},Object(g.__)("Desktop","generateblocks"))),Object(l.createElement)(b.Tooltip,{text:Object(g.__)("Show options for tablet devices","generateblocks")},Object(l.createElement)(b.Button,{isPressed:"Tablet"===t,onClick:()=>{e("Tablet")}},Object(g.__)("Tablet","generateblocks"))),Object(l.createElement)(b.Tooltip,{text:Object(g.__)("Show options for mobile devices","generateblocks")},Object(l.createElement)(b.Button,{isPressed:"Mobile"===t,onClick:()=>{e("Mobile")}},Object(g.__)("Mobile","generateblocks")))),Object(d.applyFilters)("generateblocks.editor.controls","","afterResponsiveTabs",this.props,this.state))}}class u extends l.Component{render(){const{label:e,value:t,onClick:a,units:i,id:r}=this.props;return Object(l.createElement)("div",{className:"components-gblocks-units-control-header__units"},Object(l.createElement)("div",{className:"components-gblocks-units-control-label__units"},r?Object(l.createElement)("label",{htmlFor:r},e):e),Object(l.createElement)("div",{className:"components-gblocks-control__units"},Object(l.createElement)(b.ButtonGroup,{className:"components-gblocks-control-buttons__units","aria-label":Object(g.__)("Select Units","generateblocks")},i.map(e=>{let i=e;return"px"===e&&(i=Object(g._x)("Pixel","A size unit for CSS markup","generateblocks")),"em"===e&&(i=Object(g._x)("Em","A size unit for CSS markup","generateblocks")),"%"===e&&(i=Object(g._x)("Percentage","A size unit for CSS markup","generateblocks")),"deg"===e&&(i=Object(g._x)("Degree","A size unit for CSS markup","generateblocks")),Object(l.createElement)(b.Tooltip
2
  /* translators: Unit type (px, em, %) */,{text:Object(g.sprintf)(Object(g.__)("%s Units","generateblocks"),i),key:e},Object(l.createElement)(b.Button,{key:e,className:"components-gblocks-control-button__units--"+e,isSmall:!0,isPrimary:t===e,"aria-pressed":t===e
3
- /* translators: %s: values associated with CSS syntax, 'Pixel', 'Em', 'Percentage' */,"aria-label":Object(g.sprintf)(Object(g.__)("%s Units","generateblocks"),i),onClick:()=>a(e)},e))}))))}}function h(e){let t="";for(const[a,l]of Object.entries(e)){if(l.length<1)continue;let e=a+"{",i=0;for(const[t,a]of Object.entries(l))for(const[t,l]of Object.entries(a))(l||0===l)&&(i++,e+=t+": "+l+";");e+="}",i>0&&(t+=e)}return t}function f(e,t){return!(!e&&0!==e)&&e+t}class m extends l.Component{render(){const e=Object(d.applyFilters)("generateblocks.editor.cssAttrs",this.props.attributes,this.props),{uniqueId:t,horizontalGap:a,verticalGap:i,verticalAlignment:r,horizontalAlignment:n}=e;let o=[];return o[".gb-grid-wrapper-"+t+" > .block-editor-inner-blocks > .block-editor-block-list__layout"]=[{"align-items":r,"justify-content":n,"margin-left":"-"+a/2+"px","margin-right":"-"+a/2+"px"}],o[".gb-grid-wrapper-"+t+" > .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block"]=[{"padding-left":a/2+"px","padding-right":a/2+"px","margin-bottom":f(i,"px")}],o=Object(d.applyFilters)("generateblocks.editor.mainCSS",o,this.props,"grid"),Object(l.createElement)("style",null,h(o))}}class k extends l.Component{render(){let e=[];return e=Object(d.applyFilters)("generateblocks.editor.desktopCSS",e,this.props,"grid"),Object(l.createElement)("style",null,h(e))}}class w extends l.Component{render(){const e=Object(d.applyFilters)("generateblocks.editor.cssAttrs",this.props.attributes,this.props),{uniqueId:t,horizontalGapTablet:a,verticalGapTablet:i,verticalAlignmentTablet:r,horizontalAlignmentTablet:n}=e;let o=[];return o[".gb-grid-wrapper-"+t+" > .block-editor-inner-blocks > .block-editor-block-list__layout"]=[{"align-items":"inherit"!==r?r:null,"justify-content":"inherit"!==n?n:null,"margin-left":a||0===a?"-"+a/2+"px":null,"margin-right":a||0===a?"-"+a/2+"px":null}],o[".gb-grid-wrapper-"+t+" > .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block"]=[{"padding-left":a||0===a?a/2+"px":null,"padding-right":a||0===a?a/2+"px":null,"margin-bottom":i||0===i?f(i,"px"):null}],o=Object(d.applyFilters)("generateblocks.editor.tabletCSS",o,this.props,"grid"),Object(l.createElement)("style",null,h(o))}}class y extends l.Component{render(){let e=[];return e=Object(d.applyFilters)("generateblocks.editor.tabletOnlyCSS",e,this.props,"grid"),Object(l.createElement)("style",null,h(e))}}class O extends l.Component{render(){const e=Object(d.applyFilters)("generateblocks.editor.cssAttrs",this.props.attributes,this.props),{uniqueId:t,horizontalGapMobile:a,verticalGapMobile:i,verticalAlignmentMobile:r,horizontalAlignmentMobile:n}=e;let o=[];return o[".gb-grid-wrapper-"+t+" > .block-editor-inner-blocks > .block-editor-block-list__layout"]=[{"align-items":"inherit"!==r?r:null,"justify-content":"inherit"!==n?n:null,"margin-left":a||0===a?"-"+a/2+"px":null,"margin-right":a||0===a?"-"+a/2+"px":null}],o[".gb-grid-wrapper-"+t+" > .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block"]=[{"padding-left":a||0===a?a/2+"px":null,"padding-right":a||0===a?a/2+"px":null,"margin-bottom":i||0===i?f(i,"px"):null}],o=Object(d.applyFilters)("generateblocks.editor.mobileCSS",o,this.props,"grid"),Object(l.createElement)("style",null,h(o))}}class v extends l.Component{render(){const{name:e,children:t}=this.props;return Object(d.applyFilters)(e,t||"",this.props)}}class j extends l.Component{render(){const{title:e=!1,initialOpen:t=!1,icon:a,className:i,id:r,state:n,showPanel:o=!0,children:c}=this.props;if(!Object(d.applyFilters)("generateblocks.editor.showPanel",o,r,this.props))return null;let s=!0;return""===c&&(s=!1),"object"==typeof c&&(s=Object.values(c).some(e=>null!==e&&!1!==e&&""!==e)),s?Object(l.createElement)(v,{name:"generateblocks.panel."+r,props:this.props,state:n},e?Object(l.createElement)(b.PanelBody,{title:e,initialOpen:t,icon:a,className:i},Object(d.applyFilters)("generateblocks.editor.panelContents",c,r,this.props)):Object(l.createElement)(b.PanelBody,null,Object(d.applyFilters)("generateblocks.editor.panelContents",c,r,this.props))):null}}function T(e,t,a){return Object.keys(e).forEach(l=>{const i=void 0!==e[l].clientId?e[l].clientId:"",r=void 0!==e[l].name?e[l].name:"";i!==a&&r.includes("generateblocks")&&t.push(e[l].attributes.uniqueId),void 0!==e[l].innerBlocks&&e[l].innerBlocks.length>0&&T(e[l].innerBlocks,t,a)}),t}function C(e){return e||0===e}function B(e,t){return!e||e<t}function _(e,t,a,l){let i=t[e];return"Mobile"===a&&t[e+"Tablet"]&&(i=t[e+"Tablet"]),""!==i&&!1!==i||(i=l),i}function S(e){return""===e.uniqueId}var x=a(5),E=a(7),D=a(8),M=a(9);const z=/[\s#]/g;class R extends l.Component{constructor(){super(...arguments),this.state={selectedLayout:!1,selectedDevice:"Desktop"},this.onLayoutSelect=this.onLayoutSelect.bind(this),this.getColumnsFromLayout=this.getColumnsFromLayout.bind(this),this.getLayoutsSelector=this.getLayoutsSelector.bind(this),this.getDeviceType=this.getDeviceType.bind(this),this.setDeviceType=this.setDeviceType.bind(this)}componentDidMount(){const e=T(wp.data.select("core/block-editor").getBlocks(),[],this.props.clientId);if(this.props.attributes.uniqueId&&!e.includes(this.props.attributes.uniqueId)||this.props.setAttributes({uniqueId:this.props.clientId.substr(2,9).replace("-","")}),void 0!==this.props.attributes.isDynamic&&this.props.attributes.isDynamic||this.props.setAttributes({isDynamic:!0}),!S(this.props.attributes)&&B(this.props.attributes.blockVersion,2)){const e=generateBlocksLegacyDefaults.v_1_4_0.gridContainer,t={};void 0!==this.props.attributes.useGlobalStyle&&this.props.attributes.useGlobalStyle&&void 0!==this.props.attributes.globalStyleId&&this.props.attributes.globalStyleId||C(this.props.attributes.horizontalGap)||(t.horizontalGap=e.horizontalGap),Object.keys(t).length>0&&this.props.setAttributes(t)}B(this.props.attributes.blockVersion,2)&&this.props.setAttributes({blockVersion:2})}componentDidUpdate(){const{attributes:e,setAttributes:t,clientId:a}=this.props;let{columns:l}=e;if(this.state.selectedLayout){const e=this.getColumnsFromLayout(this.state.selectedLayout);e.forEach(e=>{wp.data.dispatch("core/block-editor").insertBlocks(Object(E.createBlock)("generateblocks/container",e),void 0,a,!1)}),l=e.length,t({columns:l}),this.setState({selectedLayout:!1})}else{const e=wp.data.select("core/block-editor").getBlocksByClientId(a)[0];e&&(l=e.innerBlocks.length,t({columns:l}))}}getColumnsFromLayout(e){const t=[],a=e.split("-");let l=0;return a.forEach(()=>{const e={isGrid:!0,gridId:this.props.attributes.uniqueId,paddingTop:generateBlocksStyling.container.gridItemPaddingTop||"",paddingRight:generateBlocksStyling.container.gridItemPaddingRight||"",paddingBottom:generateBlocksStyling.container.gridItemPaddingBottom||"",paddingLeft:generateBlocksStyling.container.gridItemPaddingLeft||"",widthMobile:100};e.width=Number(a[l]),l++,t.push(e)}),t}getLayoutsSelector(){return Object(l.createElement)(b.Placeholder,{label:Object(g.__)("Grid","generateblocks"),instructions:Object(g.__)("Select one layout to get started.","generateblocks"),className:"gb-select-layout"},Object(l.createElement)("div",{className:"gb-grid-wrapper-layout-preview"},["100","50-50","33.33-33.33-33.33","25-25-25-25","25-75","75-25","25-25-50","25-50-25","50-25-25","20-60-20","20-20-20-20-20","16-16-16-16-16-16"].map(e=>{const t=this.getColumnsFromLayout(e);return Object(l.createElement)("button",{key:"layout-"+e,className:"gb-grid-wrapper-layout-preview-btn",onClick:()=>this.onLayoutSelect(e)},t.map((t,a)=>Object(l.createElement)("div",{key:`layout-${e}-col-${a}`,className:o()("gb-col","gb-col-"+t.width)})))})))}onLayoutSelect(e){this.setState({selectedLayout:e})}getDeviceType(){let e=this.props.deviceType?this.props.deviceType:this.state.selectedDevice;return generateBlocksInfo.syncResponsivePreviews||(e=this.state.selectedDevice),e}setDeviceType(e){generateBlocksInfo.syncResponsivePreviews&&this.props.deviceType?(this.props.setDeviceType(e),this.setState({selectedDevice:e})):this.setState({selectedDevice:e})}render(){const{attributes:e,setAttributes:t,clientId:a}=this.props,{uniqueId:i,className:n,anchor:c,columns:h,horizontalGap:f,verticalGap:v,verticalAlignment:T,horizontalGapTablet:B,verticalGapTablet:S,verticalAlignmentTablet:D,horizontalGapMobile:M,verticalGapMobile:R,verticalAlignmentMobile:L,horizontalAlignment:F,horizontalAlignmentTablet:A,horizontalAlignmentMobile:N}=e;let U={className:o()({"gb-grid-wrapper":!0,["gb-grid-wrapper-"+i]:!0,[""+n]:void 0!==n}),id:c||null};return U=Object(d.applyFilters)("generateblocks.frontend.htmlAttributes",U,"generateblocks/grid",e),Object(l.createElement)(l.Fragment,null,(h>0||this.state.selectedLayout)&&Object(l.createElement)(x.BlockControls,null,Object(l.createElement)(b.ToolbarGroup,null,Object(l.createElement)(b.ToolbarButton,{className:"gblocks-block-control-icon gblocks-add-grid-item",icon:s("addContainer"),label:Object(g.__)("Add Grid Item","generateblocks"),onClick:()=>{wp.data.dispatch("core/block-editor").insertBlocks(Object(E.createBlock)("generateblocks/container",{isGrid:!0,gridId:i,paddingTop:generateBlocksStyling.container.gridItemPaddingTop||"",paddingRight:generateBlocksStyling.container.gridItemPaddingRight||"",paddingBottom:generateBlocksStyling.container.gridItemPaddingBottom||"",paddingLeft:generateBlocksStyling.container.gridItemPaddingLeft||"",width:50,widthMobile:100}),void 0,a)},showTooltip:!0}))),Object(l.createElement)(x.InspectorControls,null,Object(l.createElement)(p,r()({},this.props,{selectedDevice:this.getDeviceType(),onClick:e=>{this.setDeviceType(e)}})),Object(l.createElement)(j,r()({},this.props,{id:"gridLayout",state:this.state}),"Desktop"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(u,{label:Object(g.__)("Horizontal Gap","generateblocks"),value:"px",units:["px"],onClick:()=>!1}),Object(l.createElement)("div",{className:"components-base-control components-gblocks-typography-control__inputs"},Object(l.createElement)(b.TextControl,{type:"number",value:C(f)?f:"",min:"0",onChange:e=>{e=e.toString().replace(/-/g,""),t({horizontalGap:e})},onBlur:()=>{""!==f&&t({horizontalGap:parseFloat(f)})},onClick:e=>{e.currentTarget.focus()}}),Object(l.createElement)(b.Button,{isSmall:!0,isSecondary:!0,className:"components-gblocks-default-number",onClick:()=>{t({horizontalGap:generateBlocksDefaults.gridContainer.horizontalGap})}},Object(g.__)("Reset","generateblocks"))),Object(l.createElement)(u,{label:Object(g.__)("Vertical Gap","generateblocks"),value:"px",units:["px"],onClick:()=>!1}),Object(l.createElement)("div",{className:"components-base-control components-gblocks-typography-control__inputs"},Object(l.createElement)(b.TextControl,{type:"number",value:C(v)?v:"",min:"0",onChange:e=>{e=e.toString().replace(/-/g,""),t({verticalGap:e})},onBlur:()=>{""!==v&&t({verticalGap:parseFloat(v)})},onClick:e=>{e.currentTarget.focus()}}),Object(l.createElement)(b.Button,{isSmall:!0,isSecondary:!0,className:"components-gblocks-default-number",onClick:()=>{t({verticalGap:generateBlocksDefaults.gridContainer.verticalGap})}},Object(g.__)("Reset","generateblocks"))),Object(l.createElement)(b.SelectControl,{label:Object(g.__)("Vertical Alignment","generateblocks"),value:T,help:Object(g.__)("Align grid items. Removes same height columns and overrides grid item content alignment.","generateblocks"),options:[{label:Object(g.__)("Default","generateblocks"),value:""},{label:Object(g.__)("Top","generateblocks"),value:"flex-start"},{label:Object(g.__)("Center","generateblocks"),value:"center"},{label:Object(g.__)("Bottom","generateblocks"),value:"flex-end"}],onChange:e=>{t({verticalAlignment:e})}}),Object(l.createElement)(b.SelectControl,{label:Object(g.__)("Horizontal Alignment","generateblocks"),value:F,options:[{label:Object(g.__)("Default","generateblocks"),value:""},{label:Object(g.__)("Left","generateblocks"),value:"flex-start"},{label:Object(g.__)("Center","generateblocks"),value:"center"},{label:Object(g.__)("Right","generateblocks"),value:"flex-end"}],onChange:e=>{t({horizontalAlignment:e})}})),"Tablet"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(u,{label:Object(g.__)("Horizontal Gap","generateblocks"),value:"px",units:["px"],onClick:()=>!1}),Object(l.createElement)("div",{className:"components-base-control components-gblocks-typography-control__inputs"},Object(l.createElement)(b.TextControl,{type:"number",value:C(B)?B:"",min:"0",placeholder:_("horizontalGap",e,"Tablet",""),onChange:e=>{e=e.toString().replace(/-/g,""),t({horizontalGapTablet:e})},onBlur:()=>{""!==B&&t({horizontalGapTablet:parseFloat(B)})},onClick:e=>{e.currentTarget.focus()}}),Object(l.createElement)(b.Button,{isSmall:!0,isSecondary:!0,className:"components-gblocks-default-number",onClick:()=>{t({horizontalGapTablet:generateBlocksDefaults.gridContainer.horizontalGapTablet})}},Object(g.__)("Reset","generateblocks"))),Object(l.createElement)(u,{label:Object(g.__)("Vertical Gap","generateblocks"),value:"px",units:["px"],onClick:()=>!1}),Object(l.createElement)("div",{className:"components-base-control components-gblocks-typography-control__inputs"},Object(l.createElement)(b.TextControl,{type:"number",value:C(S)?S:"",min:"0",placeholder:_("verticalGap",e,"Tablet",""),onChange:e=>{e=e.toString().replace(/-/g,""),t({verticalGapTablet:e})},onBlur:()=>{""!==S&&t({verticalGapTablet:parseFloat(S)})},onClick:e=>{e.currentTarget.focus()}}),Object(l.createElement)(b.Button,{isSmall:!0,isSecondary:!0,className:"components-gblocks-default-number",onClick:()=>{t({verticalGapTablet:generateBlocksDefaults.gridContainer.verticalGapTablet})}},Object(g.__)("Reset","generateblocks"))),Object(l.createElement)(b.SelectControl,{label:Object(g.__)("Vertical Alignment","generateblocks"),help:Object(g.__)("Align grid items. Removes same height columns and overrides grid item content alignment.","generateblocks"),value:D,options:[{label:Object(g.__)("Inherit","generateblocks"),value:"inherit"},{label:Object(g.__)("Default","generateblocks"),value:""},{label:Object(g.__)("Top","generateblocks"),value:"flex-start"},{label:Object(g.__)("Center","generateblocks"),value:"center"},{label:Object(g.__)("Bottom","generateblocks"),value:"flex-end"}],onChange:e=>{t({verticalAlignmentTablet:e})}}),Object(l.createElement)(b.SelectControl,{label:Object(g.__)("Horizontal Alignment","generateblocks"),value:A,options:[{label:Object(g.__)("Inherit","generateblocks"),value:"inherit"},{label:Object(g.__)("Default","generateblocks"),value:""},{label:Object(g.__)("Left","generateblocks"),value:"flex-start"},{label:Object(g.__)("Center","generateblocks"),value:"center"},{label:Object(g.__)("Right","generateblocks"),value:"flex-end"}],onChange:e=>{t({horizontalAlignmentTablet:e})}})),"Mobile"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(u,{label:Object(g.__)("Horizontal Gap","generateblocks"),value:"px",units:["px"],onClick:()=>!1}),Object(l.createElement)("div",{className:"components-base-control components-gblocks-typography-control__inputs"},Object(l.createElement)(b.TextControl,{type:"number",value:C(M)?M:"",min:"0",placeholder:_("horizontalGap",e,"Mobile",""),onChange:e=>{e=e.toString().replace(/-/g,""),t({horizontalGapMobile:e})},onBlur:()=>{""!==M&&t({horizontalGapMobile:parseFloat(M)})},onClick:e=>{e.currentTarget.focus()}}),Object(l.createElement)(b.Button,{isSmall:!0,isSecondary:!0,className:"components-gblocks-default-number",onClick:()=>{t({horizontalGapMobile:generateBlocksDefaults.gridContainer.horizontalGapMobile})}},Object(g.__)("Reset","generateblocks"))),Object(l.createElement)(u,{label:Object(g.__)("Vertical Gap","generateblocks"),value:"px",units:["px"],onClick:()=>!1}),Object(l.createElement)("div",{className:"components-base-control components-gblocks-typography-control__inputs"},Object(l.createElement)(b.TextControl,{type:"number",value:C(R)?R:"",min:"0",placeholder:_("verticalGap",e,"Mobile",""),onChange:e=>{e=e.toString().replace(/-/g,""),t({verticalGapMobile:e})},onBlur:()=>{""!==R&&t({verticalGapMobile:parseFloat(R)})},onClick:e=>{e.currentTarget.focus()}}),Object(l.createElement)(b.Button,{isSmall:!0,isSecondary:!0,className:"components-gblocks-default-number",onClick:()=>{t({verticalGapMobile:generateBlocksDefaults.gridContainer.verticalGapMobile})}},Object(g.__)("Reset","generateblocks"))),Object(l.createElement)(b.SelectControl,{label:Object(g.__)("Vertical Alignment","generateblocks"),help:Object(g.__)("Align grid items. Removes same height columns and overrides grid item content alignment.","generateblocks"),value:L,options:[{label:Object(g.__)("Inherit","generateblocks"),value:"inherit"},{label:Object(g.__)("Default","generateblocks"),value:""},{label:Object(g.__)("Top","generateblocks"),value:"flex-start"},{label:Object(g.__)("Center","generateblocks"),value:"center"},{label:Object(g.__)("Bottom","generateblocks"),value:"flex-end"}],onChange:e=>{t({verticalAlignmentMobile:e})}}),Object(l.createElement)(b.SelectControl,{label:Object(g.__)("Horizontal Alignment","generateblocks"),value:N,options:[{label:Object(g.__)("Inherit","generateblocks"),value:"inherit"},{label:Object(g.__)("Default","generateblocks"),value:""},{label:Object(g.__)("Left","generateblocks"),value:"flex-start"},{label:Object(g.__)("Center","generateblocks"),value:"center"},{label:Object(g.__)("Right","generateblocks"),value:"flex-end"}],onChange:e=>{t({horizontalAlignmentMobile:e})}})),Object(d.applyFilters)("generateblocks.editor.controls","","gridLayout",this.props,this.state)),Object(l.createElement)(j,r()({},this.props,{title:Object(g.__)("Documentation","generateblocks"),icon:s("documentation"),initialOpen:!1,className:"gblocks-panel-label",id:"gridDocumentation",state:this.state}),Object(l.createElement)("p",null,Object(g.__)("Need help with this block?","generateblocks")),Object(l.createElement)("a",{href:"https://docs.generateblocks.com/collection/grid/",target:"_blank",rel:"noreferrer noopener"},Object(g.__)("Visit our documentation","generateblocks")),Object(d.applyFilters)("generateblocks.editor.controls","","gridDocumentation",this.props,this.state))),Object(l.createElement)(x.InspectorAdvancedControls,null,Object(l.createElement)(b.TextControl,{label:Object(g.__)("HTML Anchor","generateblocks"),help:Object(g.__)("Anchors lets you link directly to a section on a page.","generateblocks"),value:c||"",onChange:e=>{e=e.replace(z,"-"),t({anchor:e})}})),Object(l.createElement)(m,this.props),this.props.deviceType&&Object(l.createElement)(l.Fragment,null,"Desktop"===this.props.deviceType&&Object(l.createElement)(k,this.props),("Tablet"===this.props.deviceType||"Mobile"===this.props.deviceType)&&Object(l.createElement)(w,this.props),"Tablet"===this.props.deviceType&&Object(l.createElement)(y,this.props),"Mobile"===this.props.deviceType&&Object(l.createElement)(O,this.props)),Object(l.createElement)("div",U,h>0||this.state.selectedLayout?Object(l.createElement)(l.Fragment,null,Object(l.createElement)(x.InnerBlocks,{allowedBlocks:["generateblocks/container"],renderAppender:!1})):this.getLayoutsSelector()))}}var L=Object(M.compose)([Object(D.withDispatch)(e=>({setDeviceType(t){const{__experimentalSetPreviewDeviceType:a}=e("core/edit-post")||!1;a&&a(t)}})),Object(D.withSelect)(e=>{const{__experimentalGetPreviewDeviceType:t}=e("core/edit-post")||!1;return t?{deviceType:t()}:{deviceType:null}})])(R),F={uniqueId:{type:"string",default:""},anchor:{type:"string",default:""},columns:{type:"number",default:""},horizontalGap:{type:"number",default:generateBlocksDefaults.gridContainer.horizontalGap},verticalGap:{type:"number",default:generateBlocksDefaults.gridContainer.verticalGap},verticalAlignment:{type:"string",default:generateBlocksDefaults.gridContainer.verticalAlignment},horizontalGapTablet:{type:"number",default:generateBlocksDefaults.gridContainer.horizontalGapTablet},verticalGapTablet:{type:"number",default:generateBlocksDefaults.gridContainer.verticalGapTablet},verticalAlignmentTablet:{type:"string",default:generateBlocksDefaults.gridContainer.verticalAlignmentTablet},horizontalGapMobile:{type:"number",default:generateBlocksDefaults.gridContainer.horizontalGapMobile},verticalGapMobile:{type:"number",default:generateBlocksDefaults.gridContainer.verticalGapMobile},verticalAlignmentMobile:{type:"string",default:generateBlocksDefaults.gridContainer.verticalAlignmentMobile},horizontalAlignment:{type:"string",default:generateBlocksDefaults.gridContainer.horizontalAlignment},horizontalAlignmentTablet:{type:"string",default:generateBlocksDefaults.gridContainer.horizontalAlignmentTablet},horizontalAlignmentMobile:{type:"string",default:generateBlocksDefaults.gridContainer.horizontalAlignmentMobile},isDynamic:{type:"boolean"},blockVersion:{type:"number"},elementId:{type:"string",default:""},cssClasses:{type:"string",default:""}},A=[{attributes:F,supports:{anchor:!1,className:!1,customClassName:!1},migrate(e){const t=e.cssClasses?e.cssClasses:e.className,a=e.elementId?e.elementId:e.anchor;return{...e,className:t,anchor:a,cssClasses:"",elementId:""}},save({attributes:e}){const{uniqueId:t,elementId:a,cssClasses:i}=e;let r={id:a||void 0,className:o()({"gb-grid-wrapper":!0,["gb-grid-wrapper-"+t]:!0,[""+i]:""!==i})};return r=Object(d.applyFilters)("generateblocks.frontend.htmlAttributes",r,"generateblocks/grid",e),Object(l.createElement)("div",r,Object(l.createElement)(x.InnerBlocks.Content,null))}}];Object(E.registerBlockType)("generateblocks/grid",{title:Object(g.__)("Grid","generateblocks"),description:Object(g.__)("Create advanced layouts with flexible grids.","generateblocks"),icon:s("grid"),category:"generateblocks",keywords:[Object(g.__)("grid"),Object(g.__)("column"),Object(g.__)("generate")],attributes:F,supports:{className:!1},edit:L,save:()=>Object(l.createElement)(x.InnerBlocks.Content,null),deprecated:A});const N=["wide","full"],U=Object(M.createHigherOrderComponent)(e=>t=>{if("generateblocks/container"!==t.name)return Object(l.createElement)(e,t);const{attributes:a,clientId:i,setAttributes:r}=t,{isGrid:n,align:o}=a;let c=!1;c="function"==typeof wp.data.select("core/block-editor").getBlockParentsByBlockName?wp.data.select("core/block-editor").getBlockParentsByBlockName(i,"generateblocks/grid",!0)[0]:wp.data.select("core/block-editor").getBlockRootClientId(i);const d=Object(E.getBlockSupport)("","align",!0)&&!n;return Object(l.createElement)(l.Fragment,null,n&&c&&Object(l.createElement)(x.BlockControls,null,Object(l.createElement)(b.ToolbarGroup,null,Object(l.createElement)(b.ToolbarButton,{className:"gblocks-block-control-icon gblocks-add-grid-item",icon:s("addContainer"),label:Object(g.__)("Duplicate Grid Item","generateblocks"),onClick:()=>{const e=wp.data.select("core/block-editor").getBlocksByClientId(i)[0],t=Object(E.cloneBlock)(e,{uniqueId:""});wp.data.dispatch("core/block-editor").insertBlocks(t,void 0,c)},showTooltip:!0}))),d&&Object(l.createElement)(x.BlockControls,null,Object(l.createElement)(x.BlockAlignmentToolbar,{value:o,onChange:e=>{r({align:e}),"full"===e&&r({outerContainer:"full"})},controls:N})),Object(l.createElement)(e,t))},"withAdvancedControls");function P({tagName:e,htmlAttrs:t,children:a}){return Object(l.createElement)(e,t,a)}function H(e,t){return e?(t||0===t)&&1!==t&&e.startsWith("#")?(e=e.replace("#",""),"rgba("+parseInt(3===e.length?e.slice(0,1).repeat(2):e.slice(0,2),16)+", "+parseInt(3===e.length?e.slice(1,2).repeat(2):e.slice(2,4),16)+", "+parseInt(3===e.length?e.slice(2,3).repeat(2):e.slice(4,6),16)+", "+t+")"):e:""}Object(d.addFilter)("editor.BlockEdit","generateblocks/container-block-controls",U);class I extends l.Component{constructor(){super(...arguments),this.state={colorKey:!1},this.timer=null}componentWillUnmount(){clearTimeout(this.timer)}render(){const{value:e,onChange:t,onOpacityChange:a,label:i,alpha:r=!1,valueOpacity:n}=this.props,{colorKey:o}=this.state,c=()=>{!0===this.state.isVisible&&this.setState({isVisible:!1})};return Object(l.createElement)(b.BaseControl,{className:"gblocks-component-color-picker-wrapper"},!!i&&Object(l.createElement)("div",{className:"gblocks-color-component-label"},Object(l.createElement)("span",null,i)),Object(l.createElement)("div",{className:"gblocks-color-picker-area"},!this.state.isVisible&&Object(l.createElement)("div",{className:"components-circular-option-picker__option-wrapper"},Object(l.createElement)(b.Tooltip,{text:Object(g.__)("Choose Color","generateblocks")},Object(l.createElement)("button",{type:"button","aria-expanded":this.state.isVisible,className:"components-color-palette__item components-circular-option-picker__option",onClick:()=>{this.setState({isVisible:!0})},"aria-label":Object(g.__)("Custom color picker","generateblocks"),style:{color:e?H(e,n):"transparent"}},Object(l.createElement)("span",{className:"components-color-palette__custom-color-gradient"})))),this.state.isVisible&&Object(l.createElement)("div",{className:"components-circular-option-picker__option-wrapper"},Object(l.createElement)(b.Tooltip,{text:Object(g.__)("Choose Color","generateblocks")},Object(l.createElement)("button",{type:"button","aria-expanded":this.state.isVisible,className:"components-color-palette__item components-circular-option-picker__option",onClick:c,"aria-label":Object(g.__)("Custom color picker","generateblocks"),style:{color:e?H(e,n):"transparent"}},Object(l.createElement)("span",{className:"components-color-palette__custom-color-gradient"})))),this.state.isVisible&&Object(l.createElement)(b.Popover,{position:"top left",className:"gblocks-component-color-picker",onClose:c},Object(l.createElement)(b.BaseControl,{key:o},Object(l.createElement)(b.ColorPicker,{key:o,color:(e=>{if(String(e).startsWith("var(")){const t=e.match(/\(([^)]+)\)/);if(t){const a=getComputedStyle(document.documentElement).getPropertyValue(t[1]);a&&(e=a)}}return e})(e)||"",onChangeComplete:e=>{let a;if(void 0===e.rgb||1===e.rgb.a)a=e.hex;else{const{r:t,g:l,b:i,a:r}=e.rgb;a=`rgba(${t}, ${l}, ${i}, ${r})`}t(a)},disableAlpha:!r||1!==n}),Object(l.createElement)("div",{className:"gblocks-color-input-wrapper"},Object(l.createElement)(b.TextControl,{className:"gblocks-color-input",type:"text",value:e||"",onChange:e=>{!e.startsWith("#")&&/^([0-9A-F]{3}){1,2}$/i.test(e)&&(e="#"+e),t(e),clearTimeout(this.timer),this.timer=setTimeout(()=>{this.setState({colorKey:e});const t=document.querySelector(".gblocks-color-input-wrapper input");t&&t.focus()},350)}}),Object(l.createElement)(b.Button,{isSmall:!0,isSecondary:!0,className:"components-color-clear-color",onClick:()=>{t(""),r&&1!==n&&a(1),this.setState({colorKey:!1}),setTimeout((function(){document.querySelector(".gblocks-color-input-wrapper input").focus()}),10)}},Object(g.__)("Clear Color","generateblocks")))),r&&1!==n&&Object(l.createElement)("div",{className:"gblocks-component-color-opacity"},Object(l.createElement)(b.Tooltip,{text:Object(g.__)("Opacity","generateblocks")},s("gradient")),Object(l.createElement)(b.RangeControl,{value:n||0,onChange:e=>a(e),min:0,max:1,step:.01,initialPosition:1})),Object(l.createElement)(b.BaseControl,{className:"gblocks-component-color-picker-palette"},Object(l.createElement)(x.ColorPalette,{value:e,onChange:e=>{t(e),this.setState({colorKey:e}),setTimeout((function(){document.querySelector(".gblocks-color-input-wrapper input").focus()}),10)},disableCustomColors:!0,clearable:!1})))))}}class G extends l.Component{constructor(){super(...arguments),this.onChangeTop=this.onChangeTop.bind(this),this.onChangeRight=this.onChangeRight.bind(this),this.onChangeBottom=this.onChangeBottom.bind(this),this.onChangeLeft=this.onChangeLeft.bind(this),this.onChangeAll=this.onChangeAll.bind(this),this.syncUnits=this.syncUnits.bind(this),this.onChangeUnits=this.onChangeUnits.bind(this)}onReset(e){this.props.setAttributes({[this.props[e]]:""})}onChangeTop(e){this.props.setAttributes({[this.props.attrTop]:e})}onChangeRight(e){this.props.setAttributes({[this.props.attrRight]:e})}onChangeBottom(e){this.props.setAttributes({[this.props.attrBottom]:e})}onChangeLeft(e){this.props.setAttributes({[this.props.attrLeft]:e})}onChangeAll(e){this.props.setAttributes({[this.props.attrTop]:e,[this.props.attrRight]:e,[this.props.attrBottom]:e,[this.props.attrLeft]:e})}syncUnits(){const e=[this.props.attributes[this.props.attrTop],this.props.attributes[this.props.attrRight],this.props.attributes[this.props.attrBottom],this.props.attributes[this.props.attrLeft]],t=Math.max.apply(null,e);this.props.setAttributes({[this.props.attrSyncUnits]:!this.props.attributes[this.props.attrSyncUnits],[this.props.attrTop]:t.toString(),[this.props.attrRight]:t.toString(),[this.props.attrBottom]:t.toString(),[this.props.attrLeft]:t.toString()})}onChangeUnits(e){this.props.setAttributes({[this.props.attrUnit]:e})}render(){const{attributes:e,label:t=Object(g.__)("Margin","generateblocks"),type:a="margin",attrTop:i,attrRight:r,attrBottom:n,attrLeft:c,attrSyncUnits:d,attrUnit:p,labelTop:h=Object(g.__)("Top","generateblocks"),labelRight:f=Object(g.__)("Right","generateblocks"),labelBottom:m=Object(g.__)("Bottom","generateblocks"),labelLeft:k=Object(g.__)("Left","generateblocks"),device:w,block:y,units:O}=this.props,v=o()("components-base-control","components-gblocks-dimensions-control");let j="",T="",C="",B="";if("headline"===y&&n.includes("marginBottom")){if("px"===this.props.attributes.marginUnit){const e=document.querySelector(".gb-headline-"+this.props.attributes.uniqueId);e&&(C=parseFloat(window.getComputedStyle(e).marginBottom))}else"em"===this.props.attributes.marginUnit&&void 0!==generateBlocksStyling.headline&&void 0!==generateBlocksStyling.headline[e.element]&&void 0!==generateBlocksStyling.headline[e.element].marginBottom&&generateBlocksStyling.headline[e.element].marginUnit===e.marginUnit&&(C=generateBlocksStyling.headline[e.element].marginBottom);"div"!==this.props.attributes.element&&"span"!==this.props.attributes.element||(C="")}if("Tablet"===w){const t=i.replace("Tablet",""),a=r.replace("Tablet",""),l=n.replace("Tablet",""),o=c.replace("Tablet","");j=e[t]?e[t]:j,T=e[a]?e[a]:T,C=e[l]?e[l]:C,B=e[o]?e[o]:B}if("Mobile"===w){const t=i.replace("Mobile",""),a=r.replace("Mobile",""),l=n.replace("Mobile",""),o=c.replace("Mobile","");e[t+"Tablet"]?j=e[t+"Tablet"]:e[t]&&(j=e[t]),e[a+"Tablet"]?T=e[a+"Tablet"]:e[a]&&(T=e[a]),e[l+"Tablet"]?C=e[l+"Tablet"]:e[l]&&(C=e[l]),e[o+"Tablet"]?B=e[o+"Tablet"]:e[o]&&(B=e[o])}return Object(l.createElement)(l.Fragment,null,Object(l.createElement)("div",{className:v},Object(l.createElement)(u,{label:t,value:void 0!==e[p]?e[p]:"px",units:O,onClick:t=>{if(void 0===e[p])return!1;this.onChangeUnits(t)}}),Object(l.createElement)("div",{className:"components-gblocks-dimensions-control__inputs"},Object(l.createElement)("input",{className:"components-gblocks-dimensions-control__number",placeholder:j,type:"number",onChange:e=>{let t=e.target.value;"padding"===a&&(t=t.toString().replace(/-/g,"")),""!==t?this.props.attributes[this.props.attrSyncUnits]?this.onChangeAll(t):this.onChangeTop(t):this.onReset("attrTop")}
4
  /* translators: Dimension label (padding, margin, border) */,"aria-label":Object(g.sprintf)(Object(g.__)("%s Top","generateblocks"),t),value:e[i]?e[i]:"",min:"padding"===a?0:void 0,"data-attribute":a}),Object(l.createElement)("input",{className:"components-gblocks-dimensions-control__number",placeholder:T,type:"number",onChange:e=>{let t=e.target.value;"padding"===a&&(t=t.toString().replace(/-/g,"")),""!==t?this.props.attributes[this.props.attrSyncUnits]?this.onChangeAll(t):this.onChangeRight(t):this.onReset("attrRight")}
5
  /* translators: Dimension label (padding, margin, border) */,"aria-label":Object(g.sprintf)(Object(g.__)("%s Right","generateblocks"),t),value:e[r]?e[r]:"",min:"padding"===a?0:void 0,"data-attribute":a}),Object(l.createElement)("input",{className:"components-gblocks-dimensions-control__number",placeholder:C,type:"number",onChange:e=>{let t=e.target.value;"padding"===a&&(t=t.toString().replace(/-/g,"")),""!==t?this.props.attributes[this.props.attrSyncUnits]?this.onChangeAll(t):this.onChangeBottom(t):this.onReset("attrBottom")}
6
  /* translators: Dimension label (padding, margin, border) */,"aria-label":Object(g.sprintf)(Object(g.__)("%s Bottom","generateblocks"),t),value:e[n]?e[n]:"",min:"padding"===a?0:void 0,"data-attribute":a}),Object(l.createElement)("input",{className:"components-gblocks-dimensions-control__number",placeholder:B,type:"number",onChange:e=>{let t=e.target.value;"padding"===a&&(t=t.toString().replace(/-/g,"")),""!==t?this.props.attributes[this.props.attrSyncUnits]?this.onChangeAll(t):this.onChangeLeft(t):this.onReset("attrLeft")}
7
  /* translators: Dimension label (padding, margin, border) */,"aria-label":Object(g.sprintf)(Object(g.__)("%s Left","generateblocks"),t),value:e[c]?e[c]:"",min:"padding"===a?0:void 0,"data-attribute":a}),Object(l.createElement)(b.Tooltip,{text:e[d]?Object(g.__)("Unsync","generateblocks"):Object(g.__)("Sync","generateblocks")},Object(l.createElement)(b.Button,{className:"components-gblocks-dimensions-control_sync","aria-label":Object(g.__)("Sync Units","generateblocks"),isPrimary:!!e[d]&&e[d],"aria-pressed":!!e[d]&&e[d],onClick:e=>this.syncUnits(e,""),isSmall:!0},(e[d],s("sync"))))),Object(l.createElement)("div",{className:"components-gblocks-dimensions-control__input-labels"},Object(l.createElement)("span",{className:"components-gblocks-dimensions-control__number-label"},h),Object(l.createElement)("span",{className:"components-gblocks-dimensions-control__number-label"},f),Object(l.createElement)("span",{className:"components-gblocks-dimensions-control__number-label"},m),Object(l.createElement)("span",{className:"components-gblocks-dimensions-control__number-label"},k),Object(l.createElement)("span",{className:"components-gblocks-dimensions-control__number-label"}))))}}var V=G,W=a(10);class q extends l.Component{constructor(){super(...arguments),this.state={showAdvancedTypography:"true"===localStorage.getItem("generateblocksShowAdvancedTypography")||!1}}render(){const{setAttributes:e,attributes:t,device:a="",showFontSize:i=!1,showFontFamily:r=!1,showFontWeight:n=!1,showTextTransform:o=!1,showLineHeight:c=!1,showLetterSpacing:s=!1,disableAdvancedToggle:d=!1,fontSizePlaceholder:p="17"}=this.props,h=[{value:"",label:Object(g.__)("Select font","generateblocks")},{value:"Arial",label:"Arial"},{value:"Helvetica",label:"Helvetica"},{value:"Times New Roman",label:"Times New Roman"},{value:"Georgia",label:"Georgia"}];Object.keys(W).slice(0,20).forEach(e=>{h.push({value:e,label:e})}),h.push({value:"other",label:Object(g.__)("Other","generateblocks")});let f=[{value:"",label:Object(g.__)("Default","generateblocks")},{value:"normal",label:Object(g.__)("Normal","generateblocks")},{value:"bold",label:Object(g.__)("Bold","generateblocks")},{value:"100",label:"100"},{value:"200",label:"200"},{value:"300",label:"300"},{value:"400",label:"400"},{value:"500",label:"500"},{value:"600",label:"600"},{value:"700",label:"700"},{value:"800",label:"800"},{value:"900",label:"900"}];const m=[{value:"",label:Object(g.__)("Default","generateblocks")},{value:"uppercase",label:Object(g.__)("Uppercase","generateblocks")},{value:"lowercase",label:Object(g.__)("Lowercase","generateblocks")},{value:"capitalize",label:Object(g.__)("Capitalize","generateblocks")},{value:"initial",label:Object(g.__)("Normal","generateblocks")}];void 0!==W[t.fontFamily]&&void 0!==W[t.fontFamily].weight&&(f=[{value:"",label:Object(g.__)("Default","generateblocks")},{value:"normal",label:Object(g.__)("Normal","generateblocks")},{value:"bold",label:Object(g.__)("Bold","generateblocks")}],W[t.fontFamily].weight.filter((function(e){const t=e.match(/[a-z]/g),a=e.match(/[0-9]/g);return!(t&&a||"italic"===e||"regular"===e)})).forEach(e=>{f.push({value:e,label:e})}));const k=a=>{"other"===a&&(a="");let l=t.fontWeight;e({fontFamily:a}),t.fontWeight&&Object.values(f).indexOf(t.fontWeight)<0&&(l=""),void 0!==W[a]?e({googleFont:!0,fontFamilyFallback:W[a].fallback,googleFontVariants:W[a].weight.join(", ")}):e({googleFont:!1,fontFamilyFallback:"",googleFontVariants:""})},w=t=>{e({fontFamily:t.target.value}),k(t.target.value)},y=(e,a)=>t[e+a],O=(e,t)=>e+t;let v=this.state.showAdvancedTypography;return d&&(v=!0),Object(l.createElement)(l.Fragment,null,Object(l.createElement)("div",{className:"components-gblocks-typography-weight-transform"},n&&Object(l.createElement)(b.SelectControl,{label:Object(g.__)("Weight","generateblocks"),value:t.fontWeight,options:f,onChange:t=>{e({fontWeight:t})},className:"components-base-control"}),o&&Object(l.createElement)(b.SelectControl,{label:Object(g.__)("Transform","generateblocks"),value:t.textTransform,options:m,onChange:t=>{e({textTransform:t})},className:"components-base-control"})),!d&&Object(l.createElement)(b.ToggleControl,{label:Object(g.__)("Show Advanced Typography","generateblocks"),checked:!!this.state.showAdvancedTypography,onChange:e=>{localStorage.setItem("generateblocksShowAdvancedTypography",e),this.setState({showAdvancedTypography:e})}}),r&&v&&Object(l.createElement)(b.BaseControl,{className:"gblocks-font-family-shortcuts"},Object(l.createElement)("span",{className:"components-base-control__label"},Object(g.__)("Font Family","generateblocks")),Object(l.createElement)("select",{className:"components-select-control__input components-select-control__input--gblocks-fontfamily",onChange:w,onBlur:w},h.map((e,t)=>Object(l.createElement)("option",{key:`${e.label}-${e.value}-${t}`,value:e.value},e.label)))),r&&v&&Object(l.createElement)(b.TextControl,{value:t.fontFamily,placeholder:Object(g.__)("Enter font name","generateblocks"),onChange:e=>k(e)}),r&&""!==t.fontFamily&&v&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(b.ToggleControl,{label:Object(g.__)("Google Font","generateblocks"),checked:!!t.googleFont,onChange:a=>{e({googleFont:a}),a&&void 0!==W[t.fontFamily]&&e({fontFamilyFallback:W[t.fontFamily].fallback,googleFontVariants:W[t.fontFamily].weight.join(", ")})}}),!!t.googleFont&&Object(l.createElement)(b.TextControl,{label:Object(g.__)("Variants","generateblocks"),value:t.googleFontVariants,placeholder:Object(g.__)("300, 400, 400i","generateblocks"),onChange:t=>{e({googleFontVariants:t})}})),r&&v&&Object(l.createElement)(b.TextControl,{label:Object(g.__)("Font Family Fallback","generateblocks"),value:t.fontFamilyFallback,placeholder:Object(g.__)("sans-serif","generateblocks"),onChange:t=>{e({fontFamilyFallback:t})}}),i&&v&&Object(l.createElement)(b.BaseControl,null,Object(l.createElement)(u,{label:Object(g.__)("Font Size","generateblocks"),value:t.fontSizeUnit,units:["px","em","%"],onClick:t=>{e({fontSizeUnit:t})}}),Object(l.createElement)("div",{className:"components-gblocks-typography-control__inputs"},Object(l.createElement)(b.TextControl,{type:"number",value:y("fontSize",a)||"",placeholder:_("fontSize",t,a,p),onChange:t=>{const l=O("fontSize",a);e({[l]:t})},onBlur:()=>{const t=O("fontSize",a);""!==y("fontSize",a)&&e({[t]:parseFloat(y("fontSize",a))})},onClick:e=>{e.currentTarget.focus()},min:1,autoComplete:"off"}),Object(l.createElement)(b.Button,{isSmall:!0,isSecondary:!0,className:"components-gblocks-default-number",onClick:()=>{const t=O("fontSize",a);e({[t]:this.props.defaultFontSize})}},Object(g.__)("Reset","generateblocks")))),c&&v&&Object(l.createElement)(b.BaseControl,null,Object(l.createElement)(u,{label:Object(g.__)("Line Height","generateblocks"),value:t.lineHeightUnit,units:["px","em","%"],onClick:t=>{e({lineHeightUnit:t})}}),Object(l.createElement)("div",{className:"components-gblocks-typography-control__inputs"},Object(l.createElement)(b.TextControl,{type:"number",value:y("lineHeight",a)||0===y("lineHeight",a)?y("lineHeight",a):"",placeholder:_("lineHeight",t,a,""),onChange:t=>{const l=O("lineHeight",a);e({[l]:t})},onBlur:()=>{const t=O("lineHeight",a);""!==y("lineHeight",a)&&e({[t]:parseFloat(y("lineHeight",a))})},onClick:e=>{e.currentTarget.focus()},min:0,step:.1,autoComplete:"off"}),Object(l.createElement)(b.Button,{isSmall:!0,isSecondary:!0,className:"components-gblocks-default-number",onClick:()=>{const t=O("lineHeight",a);e({[t]:this.props.defaultLineHeight})}},Object(g.__)("Reset","generateblocks")))),s&&v&&Object(l.createElement)(b.BaseControl,null,Object(l.createElement)(u,{label:Object(g.__)("Letter Spacing","generateblocks"),value:"em",units:["em"],onClick:()=>!1}),Object(l.createElement)("div",{className:"components-gblocks-typography-control__inputs"},Object(l.createElement)(b.TextControl,{type:"number",value:y("letterSpacing",a)||"",placeholder:_("letterSpacing",t,a,"0.01"),onChange:t=>{const l=O("letterSpacing",a);e({[l]:t})},onBlur:()=>{const t=O("letterSpacing",a);""!==y("letterSpacing",a)&&e({[t]:parseFloat(y("letterSpacing",a))})},onClick:e=>{e.currentTarget.focus()},min:-1,step:.01,autoComplete:"off"}),Object(l.createElement)(b.Button,{isSmall:!0,isSecondary:!0,className:"components-gblocks-default-number",onClick:()=>{const t=O("letterSpacing",a);e({[t]:this.props.defaultLetterSpacing})}},Object(g.__)("Reset","generateblocks")))))}}var Z=q;class K extends l.Component{render(){const{attributes:e,setAttributes:t,attrGradient:a,attrGradientDirection:i,attrGradientColorOne:r,attrGradientColorOneOpacity:n,attrGradientColorStopOne:o,attrGradientColorTwo:c,attrGradientColorTwoOpacity:s,attrGradientColorStopTwo:d,defaultColorOne:p,defaultColorTwo:u}=this.props,{gradientSelector:h,innerZindex:f}=e,m="element"===h?Object(g.__)("Displays behind the background image.","generateblocks"):Object(g.__)("Displays in front of the background image.","generateblocks");return Object(l.createElement)(l.Fragment,null,Object(l.createElement)(b.ToggleControl,{label:Object(g.__)("Use Gradient","generateblocks"),checked:!!e[a],onChange:a=>{const l=this.props;let n=e[i],o=e[r],s=e[c];a&&(n=n||90,o=o||"rgba(255, 255, 255, 0.1)",s=s||"rgba(0, 0, 0, 0.30)"),t({[l.attrGradient]:a,[l.attrGradientDirection]:n,[l.attrGradientColorOne]:o,[l.attrGradientColorTwo]:s})}}),!!e[a]&&Object(l.createElement)(l.Fragment,null,void 0!==h&&Object(l.createElement)(b.SelectControl,{label:Object(g.__)("Selector","generateblocks"),help:m,value:h,options:[{label:Object(g.__)("Element","generateblocks"),value:"element"},{label:Object(g.__)("Pseudo Element","generateblocks"),value:"pseudo-element"}],onChange:e=>{t({gradientSelector:e}),C(f)||"pseudo-element"!==e||t({innerZindex:1})}}),Object(l.createElement)(b.BaseControl,null,Object(l.createElement)("span",{className:"components-base-control__label"},Object(g.__)("Direction","generateblocks")),Object(l.createElement)(b.RangeControl,{value:e[i]?e[i]:0,onChange:e=>{t({[i]:e})},min:0,max:360,step:1,initialPosition:90})),Object(l.createElement)(b.BaseControl,null,Object(l.createElement)("span",{className:"components-base-control__label"},Object(g.__)("Color One","generateblocks")),Object(l.createElement)("div",{className:"gblocks-component-gradient-control"},Object(l.createElement)(I,{value:e[r],alpha:!0,valueOpacity:e[n]||1,attrOpacity:"gradientColorOneOpacity",onChange:e=>t({[r]:e}),onOpacityChange:e=>t({[n]:e}),onClear:()=>t({[r]:p})}),Object(l.createElement)(b.TextControl,{className:"gblocks-component-gradient-stop-value",type:"text",value:e[o]||0===e[o]?e[o]:"",placeholder:Object(g.__)("Stop position (%)","generateblocks"),onChange:e=>{t({[o]:e})},onBlur:()=>{(e[o]||0===e[o])&&t({[o]:parseFloat(e[o])})},onClick:e=>{e.currentTarget.focus()}}))),Object(l.createElement)(b.BaseControl,null,Object(l.createElement)("span",{className:"components-base-control__label"},Object(g.__)("Color Two","generateblocks")),Object(l.createElement)("div",{className:"gblocks-component-gradient-control"},Object(l.createElement)(I,{value:e[c],alpha:!0,valueOpacity:e[s]||1,attrOpacity:"gradientColorTwoOpacity",onChange:e=>t({[c]:e}),onOpacityChange:e=>t({[s]:e}),onClear:()=>t({[c]:u})}),Object(l.createElement)(b.TextControl,{className:"gblocks-component-gradient-stop-value",type:"text",value:e[d]||0===e[d]?e[d]:"",placeholder:Object(g.__)("Stop position (%)","generateblocks"),onChange:e=>{t({[d]:e})},onBlur:()=>{(e[d]||0===e[d])&&t({[d]:parseFloat(e[d])})},onClick:e=>{e.currentTarget.focus()}})))))}}var J=K,Y=a(13),$=a.n(Y);function Q(e){return $.a.sanitize(e,{USE_PROFILES:{svg:!0,svgFilters:!0}})}class X extends l.Component{render(){const{label:e,value:t,onChange:a,rangeMin:i=0,rangeMax:r=100,inputMin:n="",inputMax:o="",step:c=1,help:s="",beforeIcon:g="",initialPosition:d="",placeholder:p="",disabled:u=!1}=this.props;return Object(l.createElement)("div",{className:"components-gblocks-range-control"},e&&Object(l.createElement)("div",{className:"components-gblocks-range-control--label"},e),Object(l.createElement)("div",{className:"components-gblocks-range-control--wrapper"},Object(l.createElement)("div",{className:"components-gblocks-range-control--range"},Object(l.createElement)(b.RangeControl,{className:"gblocks-range-control-range",beforeIcon:g,value:C(t)?parseFloat(t):"",onChange:e=>a(e),min:i,max:r,step:c,withInputField:!1,initialPosition:d,disabled:u})),Object(l.createElement)("div",{className:"components-gblocks-range-control-input"},Object(l.createElement)(b.TextControl,{type:"number",placeholder:""!==p?p:"",min:n,max:o,step:c,value:C(t)?t:"",disabled:u,onChange:e=>a(e),onBlur:()=>{C(t)&&a(parseFloat(t))},onClick:e=>{e.currentTarget.focus()}}))),s&&Object(l.createElement)("p",{className:"components-base-control__help"},s))}}function ee(e,t,a,l,i){if(""!==e||""!==t||""!==a||""!==l)return e=0!=parseFloat(e)&&""!==e?parseFloat(e)+i+" ":"0 ",t=0!=parseFloat(t)&&""!==t?parseFloat(t)+i+" ":"0 ",a=0!=parseFloat(a)&&""!==a?parseFloat(a)+i+" ":"0 ",t===(l=0!=parseFloat(l)&&""!==l?parseFloat(l)+i+" ":"0 ")&&(l="",e===a&&(a="",e===t&&(t=""))),(e+t+a+l).trim()}function te(e,t){const a=Object(d.applyFilters)("generateblocks.editor.cssAttrs",t.attributes,t),{backgroundColor:l,backgroundColorOpacity:i,bgImage:r,gradient:n,bgOptions:o,gradientColorOne:c,gradientColorOneOpacity:s,gradientColorTwo:g,gradientColorTwoOpacity:b,gradientColorStopOne:p,gradientColorStopTwo:u,gradientDirection:h}=a;let f="";if(n){let e="",t="";const a=H(c,s),l=H(g,b);c&&""!==p&&(e=" "+p+"%"),g&&""!==u&&(t=" "+u+"%"),f="linear-gradient("+h+"deg, "+a+e+", "+l+t+")"}if("gradient"===e)return f;let m=!1;const k=H(l,i);if(r){let e=r.image.url;e=Object(d.applyFilters)("generateblocks.editor.bgImageURL",e,t),"element"===o.selector&&(k||n)&&void 0!==o.overlay&&o.overlay?n?m=f+", url("+e+")":k&&(m="linear-gradient(0deg, "+k+", "+k+"), url("+e+")"):m="url("+e+")"}return m}class ae extends l.Component{render(){const e=Object(d.applyFilters)("generateblocks.editor.cssAttrs",this.props.attributes,this.props),{clientId:t}=this.props,{uniqueId:a,isGrid:i,width:r,autoWidth:n,flexGrow:o,flexShrink:c,flexBasis:s,flexBasisUnit:g,outerContainer:b,innerContainer:p,containerWidth:u,minHeight:m,minHeightUnit:k,paddingTop:w,paddingRight:y,paddingBottom:O,paddingLeft:v,paddingUnit:j,marginTop:T,marginRight:C,marginBottom:B,marginLeft:_,marginUnit:S,borderSizeTop:x,borderSizeRight:E,borderSizeBottom:D,borderSizeLeft:M,borderRadiusTopRight:z,borderRadiusBottomRight:R,borderRadiusBottomLeft:L,borderRadiusTopLeft:F,borderRadiusUnit:A,borderColor:N,borderColorOpacity:U,backgroundColor:P,backgroundColorOpacity:I,gradient:G,gradientSelector:V,textColor:W,linkColor:q,linkColorHover:Z,bgImage:K,bgOptions:J,verticalAlignment:Y,zindex:$,innerZindex:Q,alignment:X,fontFamily:ae,fontFamilyFallback:le,fontWeight:ie,fontSize:re,fontSizeUnit:ne,textTransform:oe,shapeDividers:ce}=e;let se=u;se||(se=generateBlocksDefaults.container.containerWidth);let ge="";ae&&le&&(ge=", "+le);const be=!!K,de=te("image",this.props),pe=te("gradient",this.props);let ue=[];return ue[".gb-container-"+a]=[{"background-color":H(P,I),color:W,"border-radius":ee(F,z,R,L,A),margin:ee(T,C,B,_,S),"z-index":$,"text-align":X,"font-family":ae+ge,"font-weight":ie,"text-transform":oe,"font-size":f(re,ne),"min-height":f(m,k),"border-color":H(N,U)}],be&&"element"===J.selector&&de?ue[".gb-container-"+a].push({"background-image":de,"background-size":J.size,"background-position":J.position,"background-repeat":J.repeat,"background-attachment":J.attachment}):G&&"element"===V&&ue[".gb-container-"+a].push({"background-image":pe}),(be&&"pseudo-element"===J.selector||$||G&&"pseudo-element"===V)&&ue[".gb-container-"+a].push({position:"relative"}),(be&&"pseudo-element"===J.selector||G&&"pseudo-element"===V)&&(ue[".gb-container-"+a].push({overflow:"hidden"}),ue[".gb-container-"+a+" .block-list-appender"]=[{"z-index":10}]),ue[".editor-styles-wrapper .gb-container-"+a+" h1,\n\t\t\t.editor-styles-wrapper .gb-container-"+a+" h2,\n\t\t\t.editor-styles-wrapper .gb-container-"+a+" h3,\n\t\t\t.editor-styles-wrapper .gb-container-"+a+" h4,\n\t\t\t.editor-styles-wrapper .gb-container-"+a+" h5,\n\t\t\t.editor-styles-wrapper .gb-container-"+a+" h6"]=[{color:W}],(x||E||D||M)&&ue[".gb-container-"+a].push({"border-width":ee(x,E,D,M,"px"),"border-style":"solid"}),m&&!i&&ue[".gb-container-"+a].push({display:"flex","flex-direction":"row","align-items":Y}),i&&(ue[".gb-container-"+a].push({display:"flex","flex-direction":"column",height:"100%","justify-content":Y}),ue[".block-editor-block-list__layout > #block-"+t]=[{height:"100%"}]),be&&"pseudo-element"===J.selector&&(ue[".gb-container-"+a+":before"]=[{content:'""',"background-image":de,"background-repeat":J.repeat,"background-position":J.position,"background-size":J.size,"background-attachment":J.attachment,"z-index":"0",position:"absolute",top:"0",right:"0",bottom:"0",left:"0","border-radius":ee(F,z,R,L,A)}],void 0!==J.opacity&&1!==J.opacity&&ue[".gb-container-"+a+":before"].push({opacity:J.opacity})),G&&"pseudo-element"===V&&(ue[".gb-container-"+a+":after"]=[{content:'""',"background-image":pe,"z-index":"0",position:"absolute",top:"0",right:"0",bottom:"0",left:"0"}]),ue[".gb-container-"+a+" a, .gb-container-"+a+" a:visited"]=[{color:q}],ue[".gb-container-"+a+" a:hover"]=[{color:Z}],ue[".gb-container-"+a+" > .gb-inside-container"]=[{padding:ee(w,y,O,v,j),width:!(!m||i)&&"100%"}],(Q||0===Q)&&ue[".gb-container-"+a+" > .gb-inside-container"].push({"z-index":Q,position:"relative"}),"contained"!==p||i||ue[".gb-container-"+a+" > .gb-inside-container"].push({"max-width":f(se,"px"),"margin-left":"auto","margin-right":"auto"}),ue[".gb-grid-wrapper > div > .block-editor-block-list__layout > #block-"+t]=[{width:!n&&f(r,"%"),"flex-grow":o,"flex-shrink":c,"flex-basis":isNaN(s)?s:f(s,g),display:"flex","flex-direction":"column","margin-left":"0px","margin-right":"0px"}],ue[".block-editor-block-list__layout > #block-"+t]=[{"max-width":"contained"===b&&!i&&f(se,"px")}],ue[".gb-grid-wrapper > div > .block-editor-block-list__layout > #block-"+t+" > .block-editor-block-list__block-edit,\n\t\t.gb-grid-wrapper > div > .block-editor-block-list__layout > #block-"+t+' > .block-editor-block-list__block-edit > [data-block="'+t+'"]']=[{height:"100%"}],ue["#block-"+t+":not(.has-child-selected):not(.is-selected) .block-list-appender:not(:first-child),\n\t\t#block-"+t+":not(.has-child-selected):not(.is-selected) .block-editor-block-list__layout > div:not(:first-child) > .block-list-appender"]=[{display:"none"}],ce.length&&(ue[".gb-container-"+a].push({position:"relative"}),ue[".gb-container-"+a+" .block-list-appender"]=[{position:"relative","z-index":100}],ce.forEach((e,t)=>{const l=[],i=t+1;"top"===ce[t].location&&l.push("scaleY(-1)"),ce[t].flipHorizontally&&(l.push("scaleX(-1)"),ue[".gblocks-shape-container > .gblocks-shape-toggle-preview-"+i+" .gblocks-shape-divider-preview"]=[{transform:"scaleX(-1)"}]),ue[".gb-container-"+a+" > .gb-shapes .gb-shape-"+i]=[{color:H(ce[t].color,ce[t].colorOpacity),"z-index":ce[t].zindex}],"top"!==ce[t].location&&"bottom"!==ce[t].location||ue[".gb-container-"+a+" > .gb-shapes .gb-shape-"+i].push({left:"0",right:"0"}),"bottom"===ce[t].location&&ue[".gb-container-"+a+" > .gb-shapes .gb-shape-"+i].push({bottom:"-1px"}),"top"===ce[t].location&&ue[".gb-container-"+a+" > .gb-shapes .gb-shape-"+i].push({top:"-1px"}),l.length&&ue[".gb-container-"+a+" > .gb-shapes .gb-shape-"+i].push({transform:l.join(" ")});let r=ce[t].width+"%";100===ce[t].width&&(r="calc("+r+" + 1.3px)"),ue[".gb-container-"+a+" > .gb-shapes .gb-shape-"+i+" svg"]=[{height:f(ce[t].height,"px"),width:r}],"top"!==ce[t].location&&"bottom"!==ce[t].location||ue[".gb-container-"+a+" > .gb-shapes .gb-shape-"+i+" svg"].push({position:"relative",left:"50%",transform:"translateX(-50%)","min-width":"100%"})})),ue=Object(d.applyFilters)("generateblocks.editor.mainCSS",ue,this.props,"container"),Object(l.createElement)("style",null,h(ue))}}class le extends l.Component{render(){const e=Object(d.applyFilters)("generateblocks.editor.cssAttrs",this.props.attributes,this.props),{clientId:t}=this.props,{removeVerticalGap:a}=e;let i=[];return i[".block-editor-block-list__layout > #block-"+t]=[{"margin-bottom":!!a&&"0px !important"}],i=Object(d.applyFilters)("generateblocks.editor.desktopCSS",i,this.props,"container"),Object(l.createElement)("style",null,h(i))}}class ie extends l.Component{render(){const e=Object(d.applyFilters)("generateblocks.editor.cssAttrs",this.props.attributes,this.props),{clientId:t}=this.props,{uniqueId:a,isGrid:i,widthTablet:r,autoWidthTablet:n,flexGrowTablet:o,flexShrinkTablet:c,flexBasisTablet:s,flexBasisUnit:g,minHeightTablet:b,minHeightUnitTablet:p,paddingTopTablet:u,paddingRightTablet:m,paddingBottomTablet:k,paddingLeftTablet:w,paddingUnit:y,marginTopTablet:O,marginRightTablet:v,marginBottomTablet:j,marginLeftTablet:T,marginUnit:C,borderSizeTopTablet:B,borderSizeRightTablet:_,borderSizeBottomTablet:S,borderSizeLeftTablet:x,borderRadiusTopRightTablet:E,borderRadiusBottomRightTablet:D,borderRadiusBottomLeftTablet:M,borderRadiusTopLeftTablet:z,borderRadiusUnit:R,verticalAlignmentTablet:L,alignmentTablet:F,fontSizeTablet:A,fontSizeUnit:N,orderTablet:U,shapeDividers:P,bgImage:H,bgOptions:I}=e;let G=[];return G[".gb-container-"+a]=[{"border-top-left-radius":f(z,R),"border-top-right-radius":f(E,R),"border-bottom-right-radius":f(D,R),"border-bottom-left-radius":f(M,R),"margin-top":f(O,C),"margin-right":f(v,C),"margin-bottom":f(j,C),"margin-left":f(T,C),"text-align":F,"font-size":f(A,N),"min-height":f(b,p)}],(B||_||S||x)&&G[".gb-container-"+a].push({"border-top-width":f(B,"px"),"border-right-width":f(_,"px"),"border-bottom-width":f(S,"px"),"border-left-width":f(x,"px"),"border-style":"solid"}),b&&!i&&G[".gb-container-"+a].push({display:"flex","flex-direction":"row","align-items":"inherit"!==L?L:null}),i&&"inherit"!==L&&G[".gb-container-"+a].push({display:"flex","flex-direction":"column",height:"100%","justify-content":L}),G[".gb-container-"+a+" > .gb-inside-container"]=[{"padding-top":f(u,y),"padding-right":f(m,y),"padding-bottom":f(k,y),"padding-left":f(w,y),width:!(!b||i)&&"100%"}],G[".gb-grid-wrapper > div > .block-editor-block-list__layout > #block-"+t]=[{width:n?"auto":f(r,"%"),"flex-grow":o,"flex-shrink":c,"flex-basis":isNaN(s)?s:f(s,g),order:U}],H&&"pseudo-element"===I.selector&&(G[".gb-container-"+a+":before"]=[{"border-top-left-radius":f(z,R),"border-top-right-radius":f(E,R),"border-bottom-right-radius":f(D,R),"border-bottom-left-radius":f(M,R)}]),P.length&&P.forEach((e,t)=>{G[".gb-container-"+a+" > .gb-shapes .gb-shape-"+(t+1)+" svg"]=[{height:f(P[t].heightTablet,"px"),width:f(P[t].widthTablet,"%")}]}),G=Object(d.applyFilters)("generateblocks.editor.tabletCSS",G,this.props,"container"),Object(l.createElement)("style",null,h(G))}}class re extends l.Component{render(){const e=Object(d.applyFilters)("generateblocks.editor.cssAttrs",this.props.attributes,this.props),{clientId:t}=this.props,{removeVerticalGapTablet:a}=e;let i=[];return a&&(i[".block-editor-block-list__layout > #block-"+t]=[{"margin-bottom":"0px !important"}]),i=Object(d.applyFilters)("generateblocks.editor.tabletOnlyCSS",i,this.props,"container"),Object(l.createElement)("style",null,h(i))}}class ne extends l.Component{render(){const e=Object(d.applyFilters)("generateblocks.editor.cssAttrs",this.props.attributes,this.props),{clientId:t}=this.props,{uniqueId:a,isGrid:i,widthMobile:r,autoWidthMobile:n,flexGrowMobile:o,flexShrinkMobile:c,flexBasisMobile:s,flexBasisUnit:g,minHeightMobile:b,minHeightUnitMobile:p,paddingTopMobile:u,paddingRightMobile:m,paddingBottomMobile:k,paddingLeftMobile:w,paddingUnit:y,marginTopMobile:O,marginRightMobile:v,marginBottomMobile:j,marginLeftMobile:T,marginUnit:C,borderSizeTopMobile:B,borderSizeRightMobile:_,borderSizeBottomMobile:S,borderSizeLeftMobile:x,borderRadiusTopRightMobile:E,borderRadiusBottomRightMobile:D,borderRadiusBottomLeftMobile:M,borderRadiusTopLeftMobile:z,borderRadiusUnit:R,verticalAlignmentMobile:L,removeVerticalGapMobile:F,alignmentMobile:A,fontSizeMobile:N,fontSizeUnit:U,orderMobile:P,shapeDividers:H,bgImage:I,bgOptions:G}=e;let V=[];return V[".gb-container-"+a]=[{"border-top-left-radius":f(z,R),"border-top-right-radius":f(E,R),"border-bottom-right-radius":f(D,R),"border-bottom-left-radius":f(M,R),"margin-top":f(O,C),"margin-right":f(v,C),"margin-bottom":f(j,C),"margin-left":f(T,C),"text-align":A,"font-size":f(N,U),"min-height":f(b,p)}],(B||_||S||x)&&V[".gb-container-"+a].push({"border-top-width":f(B,"px"),"border-right-width":f(_,"px"),"border-bottom-width":f(S,"px"),"border-left-width":f(x,"px"),"border-style":"solid"}),"inherit"!==L&&b&&!i&&V[".gb-container-"+a].push({display:"flex","flex-direction":"row","align-items":L}),i&&"inherit"!==L&&V[".gb-container-"+a].push({display:"flex","flex-direction":"column",height:"100%","justify-content":L}),V[".gb-container-"+a+" > .gb-inside-container"]=[{"padding-top":f(u,y),"padding-right":f(m,y),"padding-bottom":f(k,y),"padding-left":f(w,y),width:!(!b||i)&&"100%"}],V[".gb-grid-wrapper > div > .block-editor-block-list__layout > #block-"+t]=[{width:n?"auto":f(r,"%"),"flex-grow":o,"flex-shrink":c,"flex-basis":isNaN(s)?s:f(s,g),order:P}],F&&(V[".block-editor-block-list__layout > #block-"+t]=[{"margin-bottom":"0px !important"}]),I&&"pseudo-element"===G.selector&&(V[".gb-container-"+a+":before"]=[{"border-top-left-radius":f(z,R),"border-top-right-radius":f(E,R),"border-bottom-right-radius":f(D,R),"border-bottom-left-radius":f(M,R)}]),H.length&&H.forEach((e,t)=>{V[".gb-container-"+a+" > .gb-shapes .gb-shape-"+(t+1)+" svg"]=[{height:f(H[t].heightMobile,"px"),width:f(H[t].widthMobile,"%")}]}),I&&"fixed"===G.attachment&&("element"===G.selector&&V[".gb-container-"+a].push({"background-attachment":"initial"}),"pseudo-element"===G.selector&&(V[".gb-container-"+a+":before"]=[{"background-attachment":"initial"}])),V=Object(d.applyFilters)("generateblocks.editor.mobileCSS",V,this.props,"container"),Object(l.createElement)("style",null,h(V))}}const oe=/[\s#]/g;class ce extends l.Component{constructor(){super(...arguments),this.state={selectedDevice:"Desktop"},this.getDeviceType=this.getDeviceType.bind(this),this.setDeviceType=this.setDeviceType.bind(this)}componentDidMount(){const e=T(wp.data.select("core/block-editor").getBlocks(),[],this.props.clientId);this.props.attributes.uniqueId&&!e.includes(this.props.attributes.uniqueId)||this.props.setAttributes({uniqueId:this.props.clientId.substr(2,9).replace("-","")});const t=document.getElementById("block-"+this.props.clientId);if(t&&"full"===this.props.attributes.align&&t.setAttribute("data-align","full"),void 0!==this.props.attributes.isDynamic&&this.props.attributes.isDynamic||this.props.setAttributes({isDynamic:!0}),void 0===this.props.attributes.blockVersion||this.props.attributes.blockVersion<2){let e=this.props.attributes.gradient&&"pseudo-element"===this.props.attributes.gradientSelector&&!C(this.props.attributes.innerZindex);e||(e=!!this.props.attributes.bgImage&&void 0!==this.props.attributes.bgOptions.selector&&"pseudo-element"===this.props.attributes.bgOptions.selector),e||(e=void 0!==this.props.attributes.useAdvBackgrounds&&this.props.attributes.useAdvBackgrounds),e&&this.props.setAttributes({innerZindex:1})}if(!S(this.props.attributes)&&B(this.props.attributes.blockVersion,2)){const e=generateBlocksLegacyDefaults.v_1_4_0.container,t=void 0!==this.props.attributes.useGlobalStyle&&this.props.attributes.useGlobalStyle,a={},l=[];t||l.push("paddingTop","paddingRight","paddingBottom","paddingLeft"),this.props.attributes.isGrid&&l.push("width","widthMobile"),this.props.attributes.gradient&&l.push("gradientDirection","gradientColorOne","gradientColorOneOpacity","gradientColorTwo","gradientColorTwoOpacity"),l.forEach(t=>{C(this.props.attributes[t])||(a[t]=e[t])}),Object.keys(a).length>0&&this.props.setAttributes(a)}B(this.props.attributes.blockVersion,2)&&this.props.setAttributes({blockVersion:2})}componentDidUpdate(){const e=document.getElementById("block-"+this.props.clientId);if(e){const t=this.props.attributes.align;let a="";e.getAttribute("data-align")&&(a=e.getAttribute("data-align")),t!==a&&(""!==t&&void 0!==t||""===a?e.setAttribute("data-align",t):e.removeAttribute("data-align"))}}getDeviceType(){let e=this.props.deviceType?this.props.deviceType:this.state.selectedDevice;return generateBlocksInfo.syncResponsivePreviews||(e=this.state.selectedDevice),e}setDeviceType(e){generateBlocksInfo.syncResponsivePreviews&&this.props.deviceType?(this.props.setDeviceType(e),this.setState({selectedDevice:e})):this.setState({selectedDevice:e})}render(){const{attributes:e,setAttributes:t,hasChildBlocks:a,clientId:i}=this.props,{uniqueId:n,className:c,anchor:h,tagName:f,isGrid:m,width:k,widthTablet:w,widthMobile:y,autoWidthTablet:O,autoWidthMobile:v,flexGrow:T,flexGrowTablet:B,flexGrowMobile:S,flexShrink:E,flexShrinkTablet:D,flexShrinkMobile:M,flexBasis:z,flexBasisTablet:R,flexBasisMobile:L,flexBasisUnit:F,outerContainer:A,innerContainer:N,containerWidth:U,minHeight:H,minHeightUnit:G,minHeightTablet:W,minHeightUnitTablet:q,minHeightMobile:K,minHeightUnitMobile:Y,borderColor:$,borderColorOpacity:ee,backgroundColor:te,backgroundColorOpacity:ce,textColor:se,linkColor:ge,linkColorHover:be,bgImage:de,bgOptions:pe,bgImageSize:ue,verticalAlignment:he,verticalAlignmentTablet:fe,verticalAlignmentMobile:me,zindex:ke,innerZindex:we,removeVerticalGap:ye,removeVerticalGapTablet:Oe,removeVerticalGapMobile:ve,orderTablet:je,orderMobile:Te,alignment:Ce,alignmentTablet:Be,alignmentMobile:_e,fontFamily:Se,googleFont:xe,googleFontVariants:Ee,align:De,shapeDividers:Me}=e;void 0===e.bgOptions.selector&&(e.bgOptions.selector="element"),void 0===e.bgOptions.opacity&&(e.bgOptions.opacity=1);const ze=Object(d.applyFilters)("generateblocks.editor.containerTagNames",[{label:"div",value:"div"},{label:"section",value:"section"},{label:"header",value:"header"},{label:"footer",value:"footer"},{label:"aside",value:"aside"}],this.props,this.state),Re=Object(d.applyFilters)("generateblocks.editor.allowedContainerTagNames",["div","section","header","footer","aside","a"]),Le=e=>Re.includes(e)?e:"div";let Fe="";Ee&&(Fe=":"+Ee);let Ae=!1,Ne=!1,Ue=!1,Pe="";"function"==typeof wp.data.select("core/block-editor").getBlockParents&&(Ae=wp.data.select("core/block-editor").getBlockParents(i,!0)[0],Ae&&(Ne=wp.data.select("core/block-editor").getBlocksByClientId(Ae),Ne&&"generateblocks/grid"===Ne[0].name&&(Ue=!0,Pe=Ne[0].attributes.uniqueId)));const He=[];Object.keys(generateBlocksInfo.svgShapes).forEach(e=>{const t=generateBlocksInfo.svgShapes[e].svgs;Object.keys(t).forEach(e=>{He[e]={label:t[e].label,icon:t[e].icon}})});const Ie=[];Object.keys(generateBlocksInfo.imageSizes).forEach(e=>{Ie.push({label:generateBlocksInfo.imageSizes[e],value:generateBlocksInfo.imageSizes[e]})});const Ge=e=>C(e)&&"auto"!==e,Ve=Ge(z),We="auto"!==R&&(Ge(z)||Ge(R)),qe="auto"!==L&&(Ge(z)||Ge(R)||Ge(L));let Ze=!!te||e.borderSizeTop||e.borderSizeRight||e.borderSizeBottom||e.borderSizeLeft;Ze=Object(d.applyFilters)("generateblocks.editor.containerHasStyling",Ze,this.props);let Ke={className:o()({"gb-container":!0,["gb-container-"+n]:!0,[""+c]:void 0!==c,"gb-container-empty":!a,"gb-container-visual-guides":!a&&!Ze&&!this.props.isSelected}),id:h||null};return Ke=Object(d.applyFilters)("generateblocks.frontend.htmlAttributes",Ke,"generateblocks/container",e),Object(l.createElement)(l.Fragment,null,Object(l.createElement)(x.BlockControls,null,"Desktop"===this.getDeviceType()&&Object(l.createElement)(x.AlignmentToolbar,{value:Ce,onChange:e=>{t({alignment:e})}}),"Tablet"===this.getDeviceType()&&Object(l.createElement)(x.AlignmentToolbar,{value:Be,onChange:e=>{t({alignmentTablet:e})}}),"Mobile"===this.getDeviceType()&&Object(l.createElement)(x.AlignmentToolbar,{value:_e,onChange:e=>{t({alignmentMobile:e})}})),Object(l.createElement)(x.InspectorControls,null,Object(l.createElement)(p,r()({},this.props,{selectedDevice:this.getDeviceType(),onClick:e=>{this.setDeviceType(e)}})),!m&&Object(l.createElement)(j,r()({},this.props,{title:Object(g.__)("Layout","generateblocks"),initialOpen:!0,icon:s("layout"),className:"gblocks-panel-label",id:"containerLayout",state:this.state}),"Desktop"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Ue&&Object(l.createElement)(b.ToggleControl,{label:Object(g.__)("Grid Item","generateblocks"),help:Object(g.__)("This Container is inside a Grid Block but is not set as a grid item. Enable this option for optimal results.","generateblocks"),checked:!!m,onChange:e=>{t({isGrid:e,gridId:Pe})}}),Object(l.createElement)(b.SelectControl,{label:Object(g.__)("Container","generateblocks"),value:A,options:[{label:Object(g.__)("Full width","generateblocks"),value:"full"},{label:Object(g.__)("Contained width","generateblocks"),value:"contained"}],onChange:e=>{t({outerContainer:e}),"contained"===e&&"full"===De&&t({align:""})}}),"full"===A&&Object(l.createElement)(b.SelectControl,{label:Object(g.__)("Inner Container","generateblocks"),value:N,options:[{label:Object(g.__)("Full width","generateblocks"),value:"full"},{label:Object(g.__)("Contained width","generateblocks"),value:"contained"}],onChange:e=>{t({innerContainer:e})}}),("contained"===A||"contained"===N)&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(u,{label:Object(g.__)("Container Width","generateblocks"),value:"px",units:["px"],onClick:()=>!1}),Object(l.createElement)(b.TextControl,{type:"number",className:"gblocks-container-width",value:parseFloat(U)||"",placeholder:generateBlocksDefaults.container.containerWidth,onChange:e=>{t({containerWidth:""!==e?parseFloat(e):void 0})}})),Object(l.createElement)(b.SelectControl,{label:Object(g.__)("Tag Name","generateblocks"),value:f,options:ze,onChange:e=>{t({tagName:Le(e)})}}),Object(d.applyFilters)("generateblocks.editor.controls","","containerAfterElementTag",this.props,this.state)),Object(d.applyFilters)("generateblocks.editor.controls","","containerLayout",this.props,this.state)),m&&Object(l.createElement)(j,r()({},this.props,{title:Object(g.__)("Layout","generateblocks"),initialOpen:!0,icon:s("layout"),className:"gblocks-panel-label",id:"containerGridLayout",state:this.state}),!Ue&&Object(l.createElement)(b.ToggleControl,{label:Object(g.__)("Grid Item","generateblocks"),help:Object(g.__)("This container is set as a grid item but is not inside a grid block. Deactivate this option for optimal results.","generateblocks"),checked:!!m,onChange:e=>{t({isGrid:e,gridId:""})}}),"Desktop"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(b.BaseControl,null,Object(l.createElement)(u,{label:Object(g.__)("Container Width","generateblocks"),value:"%",units:["%"],onClick:()=>!1}),!!Ve&&Object(l.createElement)("div",{className:"gblocks-small-notice-description"},Object(g.__)('Width disabled as Flex Basis is not "auto".',"generateblocks")),Object(l.createElement)(b.ButtonGroup,{className:"widthButtons"},Object(l.createElement)(b.Button,{isPrimary:25===k,onClick:()=>t({width:25}),disabled:Ve},"25"),Object(l.createElement)(b.Button,{isPrimary:33.33===k,onClick:()=>t({width:33.33}),disabled:Ve},"33"),Object(l.createElement)(b.Button,{isPrimary:50===k,onClick:()=>t({width:50}),disabled:Ve},"50"),Object(l.createElement)(b.Button,{isPrimary:66.66===k,onClick:()=>t({width:66.66}),disabled:Ve},"66"),Object(l.createElement)(b.Button,{isPrimary:75===k,onClick:()=>t({width:75}),disabled:Ve},"75"),Object(l.createElement)(b.Button,{isPrimary:100===k,onClick:()=>t({width:100}),disabled:Ve},"100")),Object(l.createElement)(X,{value:C(k)?k:"",onChange:e=>{String(e).startsWith(0)&&(e=""),t({width:e})},rangeMin:10,rangeMax:100,step:5,initialPosition:generateBlocksDefaults.container.width,disabled:Ve})),Object(l.createElement)(b.BaseControl,{className:"gblocks-flex-controls"},Object(l.createElement)("div",{className:"gblocks-utility-label"},Object(l.createElement)("label",{htmlFor:"gblocks-flex-grow-desktop",className:"components-base-control__label"},Object(g.__)("Flex","generateblocks")),Object(l.createElement)(b.Tooltip,{text:Object(g.__)("Reset","generateblocks"),position:"top"},Object(l.createElement)(b.Button,{className:"gblocks-reset-button",icon:s("reset"),onClick:()=>{t({flexGrow:"",flexShrink:"",flexBasis:""})}}))),Object(l.createElement)("div",{className:"gblocks-flex-controls-inner"},Object(l.createElement)(b.TextControl,{help:Object(g.__)("Grow","generateblocks"),id:"gblocks-flex-grow-desktop",type:"number",value:T,min:"0",step:"1",placeholder:"0",onChange:e=>{t({flexGrow:e})},onBlur:()=>{""!==T&&t({flexGrow:parseFloat(T)})},onClick:e=>{e.currentTarget.focus()}}),Object(l.createElement)(b.TextControl,{help:Object(g.__)("Shrink","generateblocks"),type:"number",value:E,min:"0",step:"1",placeholder:"1",onChange:e=>{t({flexShrink:e})},onBlur:()=>{""!==E&&t({flexShrink:parseFloat(E)})},onClick:e=>{e.currentTarget.focus()}}),Object(l.createElement)("div",{className:"gblocks-flex-basis-wrapper"},!isNaN(z)&&Object(l.createElement)(u,{value:F,units:["px","%"],onClick:e=>{t({flexBasisUnit:e})}}),Object(l.createElement)(b.TextControl,{help:Object(g.__)("Basis","generateblocks"),type:"text",placeholder:"auto",value:z,onChange:e=>{t({flexBasis:e})},onBlur:()=>{z.match(/(auto|fill|max-content|min-content|fit-content|content|inherit|initial|revert|unset|[0-9.]+)/g)||t({flexBasis:""})}})))),Object(l.createElement)(b.SelectControl,{label:Object(g.__)("Vertical Alignment","generateblocks"),help:Object(g.__)("Align grid item content. Does not apply if vertical alignment is set in the grid.","generateblocks"),value:he,options:[{label:Object(g.__)("Default","generateblocks"),value:""},{label:Object(g.__)("Top","generateblocks"),value:"flex-start"},{label:Object(g.__)("Center","generateblocks"),value:"center"},{label:Object(g.__)("Bottom","generateblocks"),value:"flex-end"}],onChange:e=>{t({verticalAlignment:e})}}),Object(l.createElement)(b.ToggleControl,{label:Object(g.__)("Remove Vertical Gap","generateblocks"),checked:!!ye,onChange:e=>{t({removeVerticalGap:e})}}),Object(l.createElement)(b.SelectControl,{label:Object(g.__)("Tag Name","generateblocks"),value:f,options:ze,onChange:e=>{t({tagName:Le(e)})}}),Object(d.applyFilters)("generateblocks.editor.controls","","containerAfterElementTag",this.props,this.state)),"Tablet"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(b.BaseControl,null,Object(l.createElement)(u,{label:Object(g.__)("Container Width","generateblocks"),value:"%",units:["%"],onClick:()=>!1}),!!We&&Object(l.createElement)("div",{className:"gblocks-small-notice-description"},Object(g.__)('Width disabled as Flex Basis is not "auto".',"generateblocks")),Object(l.createElement)(b.ButtonGroup,{className:"widthButtons"},Object(l.createElement)(b.Button,{isPrimary:!!O,disabled:We,onClick:()=>{t(O?{autoWidthTablet:!1}:{autoWidthTablet:!0})}},Object(g.__)("Auto","generateblocks")),Object(l.createElement)(b.Button,{isPrimary:25===w&&!O,onClick:()=>t({widthTablet:25,autoWidthTablet:!1}),disabled:We},"25"),Object(l.createElement)(b.Button,{isPrimary:33.33===w&&!O,onClick:()=>t({widthTablet:33.33,autoWidthTablet:!1}),disabled:We},"33"),Object(l.createElement)(b.Button,{isPrimary:50===w&&!O,onClick:()=>t({widthTablet:50,autoWidthTablet:!1}),disabled:We},"50"),Object(l.createElement)(b.Button,{isPrimary:66.66===w&&!O,onClick:()=>t({widthTablet:66.66,autoWidthTablet:!1}),disabled:We},"66"),Object(l.createElement)(b.Button,{isPrimary:75===w&&!O,onClick:()=>t({widthTablet:75,autoWidthTablet:!1}),disabled:We},"75"),Object(l.createElement)(b.Button,{isPrimary:100===w&&!O,onClick:()=>t({widthTablet:100,autoWidthTablet:!1}),disabled:We},"100")),!O&&Object(l.createElement)(X,{value:C(w)?w:"",onChange:e=>{String(e).startsWith(0)&&(e=""),t({widthTablet:e,autoWidthTablet:!1})},rangeMin:10,rangeMax:100,step:5,initialPosition:generateBlocksDefaults.container.widthTablet,disabled:We})),Object(l.createElement)(b.BaseControl,{className:"gblocks-flex-controls"},Object(l.createElement)("div",{className:"gblocks-utility-label"},Object(l.createElement)("label",{htmlFor:"gblocks-flex-grow-tablet",className:"components-base-control__label"},Object(g.__)("Flex","generateblocks")),Object(l.createElement)(b.Tooltip,{text:Object(g.__)("Reset","generateblocks"),position:"top"},Object(l.createElement)(b.Button,{className:"gblocks-reset-button",icon:s("reset"),onClick:()=>{t({flexGrowTablet:"",flexShrinkTablet:"",flexBasisTablet:""})}}))),Object(l.createElement)("div",{className:"gblocks-flex-controls-inner"},Object(l.createElement)(b.TextControl,{help:Object(g.__)("Grow","generateblocks"),id:"gblocks-flex-grow-tablet",type:"number",value:B,min:"0",step:"1",placeholder:_("flexGrow",e,"Tablet","0"),onChange:e=>{t({flexGrowTablet:e})},onBlur:()=>{""!==B&&t({flexGrowTablet:parseFloat(B)})},onClick:e=>{e.currentTarget.focus()}}),Object(l.createElement)(b.TextControl,{help:Object(g.__)("Shrink","generateblocks"),type:"number",value:D,min:"0",step:"1",placeholder:_("flexShrink",e,"Tablet","1"),onChange:e=>{t({flexShrinkTablet:e})},onBlur:()=>{""!==D&&t({flexShrinkTablet:parseFloat(D)})},onClick:e=>{e.currentTarget.focus()}}),Object(l.createElement)("div",{className:"gblocks-flex-basis-wrapper"},!isNaN(R)&&Object(l.createElement)(u,{value:F,units:["px","%"],onClick:e=>{t({flexBasisUnit:e})}}),Object(l.createElement)(b.TextControl,{help:Object(g.__)("Basis","generateblocks"),type:"text",value:R,placeholder:_("flexBasis",e,"Tablet","auto"),onChange:e=>{t({flexBasisTablet:e})},onBlur:()=>{R.match(/(auto|fill|max-content|min-content|fit-content|content|inherit|initial|revert|unset|[0-9.]+)/g)||t({flexBasisTablet:""})}})))),Object(l.createElement)(b.SelectControl,{label:Object(g.__)("Vertical Alignment","generateblocks"),help:Object(g.__)("Align grid item content. Does not apply if vertical alignment is set in the grid.","generateblocks"),value:fe,options:[{label:Object(g.__)("Inherit","generateblocks"),value:"inherit"},{label:Object(g.__)("Default","generateblocks"),value:""},{label:Object(g.__)("Top","generateblocks"),value:"flex-start"},{label:Object(g.__)("Center","generateblocks"),value:"center"},{label:Object(g.__)("Bottom","generateblocks"),value:"flex-end"}],onChange:e=>{t({verticalAlignmentTablet:e})}}),Object(l.createElement)(b.ToggleControl,{label:Object(g.__)("Remove Vertical Gap","generateblocks"),checked:!!Oe,onChange:e=>{t({removeVerticalGapTablet:e})}}),Object(l.createElement)(b.TextControl,{type:"number",label:Object(g.__)("Order","generateblocks"),value:je||0===je?je:"",onChange:e=>{t({orderTablet:parseFloat(e)})}})),"Mobile"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(b.BaseControl,null,Object(l.createElement)(u,{label:Object(g.__)("Container Width","generateblocks"),value:"%",units:["%"],onClick:()=>!1}),!!qe&&Object(l.createElement)("div",{className:"gblocks-small-notice-description"},Object(g.__)('Width disabled as Flex Basis is not "auto".',"generateblocks")),Object(l.createElement)(b.ButtonGroup,{className:"widthButtons"},Object(l.createElement)(b.Button,{isPrimary:!!v,disabled:qe,onClick:()=>{t(v?{autoWidthMobile:!1}:{autoWidthMobile:!0})}},Object(g.__)("Auto","generateblocks")),Object(l.createElement)(b.Button,{isPrimary:25===y&&!v,onClick:()=>t({widthMobile:25,autoWidthMobile:!1}),disabled:qe},"25"),Object(l.createElement)(b.Button,{isPrimary:33.33===y&&!v,onClick:()=>t({widthMobile:33.33,autoWidthMobile:!1}),disabled:qe},"33"),Object(l.createElement)(b.Button,{isPrimary:50===y&&!v,onClick:()=>t({widthMobile:50,autoWidthMobile:!1}),disabled:qe},"50"),Object(l.createElement)(b.Button,{isPrimary:66.66===y&&!v,onClick:()=>t({widthMobile:66.66,autoWidthMobile:!1}),disabled:qe},"66"),Object(l.createElement)(b.Button,{isPrimary:75===y&&!v,onClick:()=>t({widthMobile:75,autoWidthMobile:!1}),disabled:qe},"75"),Object(l.createElement)(b.Button,{isPrimary:100===y&&!v,onClick:()=>t({widthMobile:100,autoWidthMobile:!1}),disabled:qe},"100")),!v&&Object(l.createElement)(X,{value:C(y)?y:"",onChange:e=>{String(e).startsWith(0)&&(e=""),t({widthMobile:e,autoWidthMobile:!1})},rangeMin:10,rangeMax:100,step:5,initialPosition:generateBlocksDefaults.container.widthMobile,disabled:qe})),Object(l.createElement)(b.BaseControl,{className:"gblocks-flex-controls"},Object(l.createElement)("div",{className:"gblocks-utility-label"},Object(l.createElement)("label",{htmlFor:"gblocks-flex-grow-mobile",className:"components-base-control__label"},Object(g.__)("Flex","generateblocks")),Object(l.createElement)(b.Tooltip,{text:Object(g.__)("Reset","generateblocks"),position:"top"},Object(l.createElement)(b.Button,{className:"gblocks-reset-button",icon:s("reset"),onClick:()=>{t({flexGrowMobile:"",flexShrinkMobile:"",flexBasisMobile:""})}}))),Object(l.createElement)("div",{className:"gblocks-flex-controls-inner"},Object(l.createElement)(b.TextControl,{help:Object(g.__)("Grow","generateblocks"),id:"gblocks-flex-grow-mobile",type:"number",value:S,min:"0",step:"1",placeholder:_("flexGrow",e,"Mobile","0"),onChange:e=>{t({flexGrowMobile:e})},onBlur:()=>{""!==S&&t({flexGrowMobile:parseFloat(S)})},onClick:e=>{e.currentTarget.focus()}}),Object(l.createElement)(b.TextControl,{help:Object(g.__)("Shrink","generateblocks"),type:"number",value:M,min:"0",step:"1",placeholder:_("flexShrink",e,"Mobile","1"),onChange:e=>{t({flexShrinkMobile:e})},onBlur:()=>{""!==M&&t({flexShrinkMobile:parseFloat(M)})},onClick:e=>{e.currentTarget.focus()}}),Object(l.createElement)("div",{className:"gblocks-flex-basis-wrapper"},!isNaN(L)&&Object(l.createElement)(u,{value:F,units:["px","%"],onClick:e=>{t({flexBasisUnit:e})}}),Object(l.createElement)(b.TextControl,{help:Object(g.__)("Basis","generateblocks"),type:"text",value:L,placeholder:_("flexBasis",e,"Mobile","auto"),onChange:e=>{t({flexBasisMobile:e})},onBlur:()=>{L.match(/(auto|fill|max-content|min-content|fit-content|content|inherit|initial|revert|unset|[0-9.]+)/g)||t({flexBasisMobile:""})}})))),Object(l.createElement)(b.SelectControl,{label:Object(g.__)("Vertical Alignment","generateblocks"),help:Object(g.__)("Align grid item content. Does not apply if vertical alignment is set in the grid.","generateblocks"),value:me,options:[{label:Object(g.__)("Inherit","generateblocks"),value:"inherit"},{label:Object(g.__)("Default","generateblocks"),value:""},{label:Object(g.__)("Top","generateblocks"),value:"flex-start"},{label:Object(g.__)("Center","generateblocks"),value:"center"},{label:Object(g.__)("Bottom","generateblocks"),value:"flex-end"}],onChange:e=>{t({verticalAlignmentMobile:e})}}),Object(l.createElement)(b.ToggleControl,{label:Object(g.__)("Remove Vertical Gap","generateblocks"),checked:!!ve,onChange:e=>{t({removeVerticalGapMobile:e})}}),Object(l.createElement)(b.TextControl,{type:"number",label:Object(g.__)("Order","generateblocks"),value:Te||0===Te?Te:"",onChange:e=>{t({orderMobile:parseFloat(e)})}})),Object(d.applyFilters)("generateblocks.editor.controls","","containerGridLayout",this.props,this.state)),Object(l.createElement)(j,r()({},this.props,{title:Object(g.__)("Typography","generateblocks"),initialOpen:!1,icon:s("typography"),className:"gblocks-panel-label",id:"containerTypography",state:this.state}),"Desktop"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(Z,r()({},this.props,{showFontFamily:!0,showFontWeight:!0,showTextTransform:!0,showFontSize:!0,defaultFontSize:generateBlocksDefaults.container.fontSize,defaultFontSizeUnit:generateBlocksDefaults.container.fontSizeUnit,defaultLineHeight:generateBlocksDefaults.container.lineHeight,defaultLineHeightUnit:generateBlocksDefaults.container.lineHeightUnit,defaultLetterSpacing:generateBlocksDefaults.container.letterSpacing}))),"Tablet"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(Z,r()({},this.props,{device:"Tablet",showFontSize:!0,disableAdvancedToggle:!0,defaultFontSize:generateBlocksDefaults.container.fontSizeTablet,defaultFontSizeUnit:generateBlocksDefaults.container.fontSizeUnit,defaultLineHeight:generateBlocksDefaults.container.lineHeightTablet,defaultLineHeightUnit:generateBlocksDefaults.container.lineHeightUnit,defaultLetterSpacing:generateBlocksDefaults.container.letterSpacingTablet}))),"Mobile"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(Z,r()({},this.props,{device:"Mobile",showFontSize:!0,disableAdvancedToggle:!0,defaultFontSize:generateBlocksDefaults.container.fontSizeMobile,defaultFontSizeUnit:generateBlocksDefaults.container.fontSizeUnit,defaultLineHeight:generateBlocksDefaults.container.lineHeightMobile,defaultLineHeightUnit:generateBlocksDefaults.container.lineHeightUnit,defaultLetterSpacing:generateBlocksDefaults.container.letterSpacingMobile}))),Object(d.applyFilters)("generateblocks.editor.controls","","containerTypography",this.props,this.state)),Object(l.createElement)(j,r()({},this.props,{title:Object(g.__)("Spacing","generateblocks"),initialOpen:!1,icon:s("spacing"),className:"gblocks-panel-label",id:"containerSpacing",state:this.state}),"Desktop"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(u,{label:Object(g.__)("Minimum Height","generateblocks"),value:G,units:["px","vh","vw"],onClick:e=>{t({minHeightUnit:e})}}),Object(l.createElement)(b.TextControl,{type:"number",value:H||"",onChange:e=>{t({minHeight:parseFloat(e)})}}),!!H&&!m&&Object(l.createElement)(b.SelectControl,{label:Object(g.__)("Vertical Alignment","generateblocks"),value:he,options:[{label:Object(g.__)("Default","generateblocks"),value:""},{label:Object(g.__)("Top","generateblocks"),value:"flex-start"},{label:Object(g.__)("Center","generateblocks"),value:"center"},{label:Object(g.__)("Bottom","generateblocks"),value:"flex-end"}],onChange:e=>{t({verticalAlignment:e})}}),Object(l.createElement)(V,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(g.__)("Padding","generateblocks"),attrTop:"paddingTop",attrRight:"paddingRight",attrBottom:"paddingBottom",attrLeft:"paddingLeft",attrUnit:"paddingUnit",attrSyncUnits:"paddingSyncUnits",defaults:generateBlocksDefaults.container,units:["px","em","%"]})),Object(l.createElement)(V,r()({},this.props,{device:this.getDeviceType(),type:"margin",label:Object(g.__)("Margin","generateblocks"),attrTop:"marginTop",attrRight:"marginRight",attrBottom:"marginBottom",attrLeft:"marginLeft",attrUnit:"marginUnit",attrSyncUnits:"marginSyncUnits",defaults:generateBlocksDefaults.container,units:["px","em","%"]})),Object(l.createElement)(V,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(g.__)("Border Size","generateblocks"),attrTop:"borderSizeTop",attrRight:"borderSizeRight",attrBottom:"borderSizeBottom",attrLeft:"borderSizeLeft",attrSyncUnits:"borderSizeSyncUnits",defaults:generateBlocksDefaults.container,units:["px"]})),Object(l.createElement)(V,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(g.__)("Border Radius","generateblocks"),attrTop:"borderRadiusTopLeft",attrRight:"borderRadiusTopRight",attrBottom:"borderRadiusBottomRight",attrLeft:"borderRadiusBottomLeft",attrUnit:"borderRadiusUnit",attrSyncUnits:"borderRadiusSyncUnits",labelTop:Object(g.__)("T-Left","generateblocks"),labelRight:Object(g.__)("T-Right","generateblocks"),labelBottom:Object(g.__)("B-Right","generateblocks"),labelLeft:Object(g.__)("B-Left","generateblocks"),defaults:generateBlocksDefaults.container,units:["px","em","%"]})),Object(l.createElement)(b.TextControl,{label:Object(g.__)("Outer z-index","generateblocks"),type:"number",value:ke||0===ke?ke:"",onChange:e=>{t({zindex:e})},onBlur:()=>{t({zindex:parseFloat(ke)})},onClick:e=>{e.currentTarget.focus()}}),Object(l.createElement)(b.TextControl,{label:Object(g.__)("Inner z-index","generateblocks"),type:"number",value:we||0===we?we:"",onChange:e=>{t({innerZindex:e})},onBlur:()=>{t({innerZindex:parseFloat(we)})},onClick:e=>{e.currentTarget.focus()}})),"Tablet"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(u,{label:Object(g.__)("Minimum Height","generateblocks"),value:q,units:["px","vh","vw"],onClick:e=>{t({minHeightUnitTablet:e})}}),Object(l.createElement)(b.TextControl,{type:"number",value:W||0===W?W:"",onChange:e=>{t({minHeightTablet:parseFloat(e)})}}),(!!H||!!W)&&!m&&Object(l.createElement)(b.SelectControl,{label:Object(g.__)("Vertical Alignment","generateblocks"),value:fe,options:[{label:Object(g.__)("Inherit","generateblocks"),value:"inherit"},{label:Object(g.__)("Default","generateblocks"),value:""},{label:Object(g.__)("Top","generateblocks"),value:"flex-start"},{label:Object(g.__)("Center","generateblocks"),value:"center"},{label:Object(g.__)("Bottom","generateblocks"),value:"flex-end"}],onChange:e=>{t({verticalAlignmentTablet:e})}}),Object(l.createElement)(V,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(g.__)("Padding","generateblocks"),attrTop:"paddingTopTablet",attrRight:"paddingRightTablet",attrBottom:"paddingBottomTablet",attrLeft:"paddingLeftTablet",attrUnit:"paddingUnit",attrSyncUnits:"paddingSyncUnits",defaults:generateBlocksDefaults.container,units:["px","em","%"]})),Object(l.createElement)(V,r()({},this.props,{device:this.getDeviceType(),type:"margin",label:Object(g.__)("Margin","generateblocks"),attrTop:"marginTopTablet",attrRight:"marginRightTablet",attrBottom:"marginBottomTablet",attrLeft:"marginLeftTablet",attrUnit:"marginUnit",attrSyncUnits:"marginSyncUnits",defaults:generateBlocksDefaults.container,units:["px","em","%"]})),Object(l.createElement)(V,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(g.__)("Border Size","generateblocks"),attrTop:"borderSizeTopTablet",attrRight:"borderSizeRightTablet",attrBottom:"borderSizeBottomTablet",attrLeft:"borderSizeLeftTablet",attrSyncUnits:"borderSizeSyncUnits",defaults:generateBlocksDefaults.container,units:["px"]})),Object(l.createElement)(V,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(g.__)("Border Radius","generateblocks"),attrTop:"borderRadiusTopLeftTablet",attrRight:"borderRadiusTopRightTablet",attrBottom:"borderRadiusBottomRightTablet",attrLeft:"borderRadiusBottomLeftTablet",attrUnit:"borderRadiusUnit",attrSyncUnits:"borderRadiusSyncUnits",labelTop:Object(g.__)("T-Left","generateblocks"),labelRight:Object(g.__)("T-Right","generateblocks"),labelBottom:Object(g.__)("B-Right","generateblocks"),labelLeft:Object(g.__)("B-Left","generateblocks"),defaults:generateBlocksDefaults.container,units:["px","em","%"]}))),"Mobile"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(u,{label:Object(g.__)("Minimum Height","generateblocks"),value:Y,units:["px","vh","vw"],onClick:e=>{t({minHeightUnitMobile:e})}}),Object(l.createElement)(b.TextControl,{type:"number",value:K||0===K?K:"",onChange:e=>{t({minHeightMobile:parseFloat(e)})}}),(!!H||!!W||!!K)&&!m&&Object(l.createElement)(b.SelectControl,{label:Object(g.__)("Vertical Alignment","generateblocks"),value:me,options:[{label:Object(g.__)("Inherit","generateblocks"),value:"inherit"},{label:Object(g.__)("Default","generateblocks"),value:""},{label:Object(g.__)("Top","generateblocks"),value:"flex-start"},{label:Object(g.__)("Center","generateblocks"),value:"center"},{label:Object(g.__)("Bottom","generateblocks"),value:"flex-end"}],onChange:e=>{t({verticalAlignmentMobile:e})}}),Object(l.createElement)(V,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(g.__)("Padding","generateblocks"),attrTop:"paddingTopMobile",attrRight:"paddingRightMobile",attrBottom:"paddingBottomMobile",attrLeft:"paddingLeftMobile",attrUnit:"paddingUnit",attrSyncUnits:"paddingSyncUnits",defaults:generateBlocksDefaults.container,units:["px","em","%"]})),Object(l.createElement)(V,r()({},this.props,{device:this.getDeviceType(),type:"margin",label:Object(g.__)("Margin","generateblocks"),attrTop:"marginTopMobile",attrRight:"marginRightMobile",attrBottom:"marginBottomMobile",attrLeft:"marginLeftMobile",attrUnit:"marginUnit",attrSyncUnits:"marginSyncUnits",defaults:generateBlocksDefaults.container,units:["px","em","%"]})),Object(l.createElement)(V,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(g.__)("Border Size","generateblocks"),attrTop:"borderSizeTopMobile",attrRight:"borderSizeRightMobile",attrBottom:"borderSizeBottomMobile",attrLeft:"borderSizeLeftMobile",attrSyncUnits:"borderSizeSyncUnits",defaults:generateBlocksDefaults.container,units:["px"]})),Object(l.createElement)(V,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(g.__)("Border Radius","generateblocks"),attrTop:"borderRadiusTopLeftMobile",attrRight:"borderRadiusTopRightMobile",attrBottom:"borderRadiusBottomRightMobile",attrLeft:"borderRadiusBottomLeftMobile",attrUnit:"borderRadiusUnit",attrSyncUnits:"borderRadiusSyncUnits",labelTop:Object(g.__)("T-Left","generateblocks"),labelRight:Object(g.__)("T-Right","generateblocks"),labelBottom:Object(g.__)("B-Right","generateblocks"),labelLeft:Object(g.__)("B-Left","generateblocks"),defaults:generateBlocksDefaults.container,units:["px","em","%"]}))),Object(d.applyFilters)("generateblocks.editor.controls","","containerSpacing",this.props,this.state)),Object(l.createElement)(j,r()({},this.props,{title:Object(g.__)("Colors","generateblocks"),initialOpen:!1,icon:s("colors"),className:"gblocks-panel-label",id:"containerColors",state:this.state}),"Desktop"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(I,{label:Object(g.__)("Background Color","generateblocks"),value:te,alpha:!0,valueOpacity:ce,attrOpacity:"backgroundColorOpacity",onChange:e=>t({backgroundColor:e}),onOpacityChange:e=>t({backgroundColorOpacity:e})}),Object(l.createElement)(I,{label:Object(g.__)("Text Color","generateblocks"),value:se,alpha:!1,onChange:e=>t({textColor:e})}),Object(l.createElement)(I,{label:Object(g.__)("Link Color","generateblocks"),value:ge,alpha:!1,onChange:e=>t({linkColor:e})}),Object(l.createElement)(I,{label:Object(g.__)("Link Color Hover","generateblocks"),value:be,alpha:!1,onChange:e=>t({linkColorHover:e})}),Object(l.createElement)(I,{label:Object(g.__)("Border Color","generateblocks"),value:$,alpha:!0,valueOpacity:ee,attrOpacity:"borderColorOpacity",onChange:e=>t({borderColor:e}),onOpacityChange:e=>t({borderColorOpacity:e})})),Object(d.applyFilters)("generateblocks.editor.controls","","containerColors",this.props,this.state)),Object(l.createElement)(j,r()({},this.props,{title:Object(g.__)("Backgrounds","generateblocks"),initialOpen:!1,icon:s("gradients"),className:"gblocks-panel-label",id:"containerBackground",state:this.state}),Object(l.createElement)(l.Fragment,null,Object(l.createElement)(b.BaseControl,{id:"gblocks-background-image-upload",label:Object(g.__)("Image URL","generateblocks")},Object(l.createElement)("div",{className:"gblocks-bg-image-wrapper"},Object(l.createElement)(b.TextControl,{type:"text",value:de?de.image.url:"",onChange:e=>{t(e?{bgImage:{id:"",image:{url:e}}}:{bgImage:null})}}),Object(l.createElement)("div",{className:"gblocks-background-image-action-buttons"},Object(l.createElement)(x.MediaUpload,{title:Object(g.__)("Set background image","generateblocks"),onSelect:e=>{let a=generateBlocksDefaults.container.bgImageSize;void 0===e.sizes[a]&&(a="full"),t({bgImage:{id:e.id,image:e.sizes[a]}})},onClose:()=>{document.querySelector(".gblocks-bg-image-wrapper input").focus()},allowedTypes:["image"],value:de?de.id:"",modalClass:"editor-gb-container-background__media-modal",render:({open:e})=>Object(l.createElement)(b.Tooltip,{text:Object(g.__)("Open the Media Library","generateblocks")},Object(l.createElement)(b.Button,{onClick:e,className:"is-secondary is-small"},Object(g.__)("Browse","generateblocks")))}),Object(d.applyFilters)("generateblocks.editor.backgroundImageActions","",this.props,this.state)))),!!de&&Object(l.createElement)(l.Fragment,null,pe.overlay?Object(l.createElement)(l.Fragment,null,Object(l.createElement)(b.ToggleControl,{label:Object(g.__)("Background Color Overlay","generateblocks"),checked:!!pe.overlay,onChange:e=>{t({bgOptions:{...pe,overlay:e}})}}),Object(l.createElement)(b.Notice,{className:"gblocks-option-notice",status:"info",isDismissible:!1},Object(g.__)("The background color overlay option is deprecated. Toggle this option to use the new method.","generateblocks"))):Object(l.createElement)(l.Fragment,null,void 0!==de.id&&de.id&&Object(l.createElement)(b.SelectControl,{label:Object(g.__)("Image Size","generateblocks"),value:ue,options:Ie,onChange:e=>{t({bgImageSize:e})}}),Object(l.createElement)(b.SelectControl,{label:Object(g.__)("Selector","generateblocks"),value:pe.selector,options:[{label:Object(g.__)("Element","generateblocks"),value:"element"},{label:Object(g.__)("Pseudo Element","generateblocks"),value:"pseudo-element"}],onChange:e=>{t({bgOptions:{...pe,selector:e}}),"pseudo-element"!==e||we||0===we||t({innerZindex:1})}}),Object(l.createElement)(b.RangeControl,{label:Object(g.__)("Image Opacity","generateblocks"),value:pe.opacity,onChange:e=>{t({bgOptions:{...pe,opacity:e,selector:"pseudo-element"}}),we||0===we||t({innerZindex:1})},min:0,max:1,step:.1,initialPosition:generateBlocksDefaults.container.bgOptions.opacity}),1!==pe.opacity&&"pseudo-element"!==pe.selector&&Object(l.createElement)(b.Notice,{className:"gblocks-option-notice",status:"info",isDismissible:!1},Object(g.__)("Your selector must be set to Pseudo Element to use opacity.","generateblocks"))),Object(l.createElement)(b.TextControl,{label:Object(g.__)("Size","generateblocks"),value:pe.size,onChange:e=>{t({bgOptions:{...pe,size:e}})}}),Object(l.createElement)(b.TextControl,{label:Object(g.__)("Position","generateblocks"),value:pe.position,onChange:e=>{t({bgOptions:{...pe,position:e}})}}),Object(l.createElement)(b.SelectControl,{label:Object(g.__)("Repeat","generateblocks"),value:pe.repeat,options:[{label:"no-repeat",value:"no-repeat"},{label:"repeat",value:"repeat"},{label:"repeat-x",value:"repeat-x"},{label:"repeat-y",value:"repeat-y"}],onChange:e=>{t({bgOptions:{...pe,repeat:e}})}}),Object(l.createElement)(b.SelectControl,{label:Object(g.__)("Attachment","generateblocks"),value:pe.attachment,options:[{label:"scroll",value:""},{label:"fixed",value:"fixed"},{label:"local",value:"local"}],onChange:e=>{t({bgOptions:{...pe,attachment:e}})}})),Object(l.createElement)(J,r()({},this.props,{attrGradient:"gradient",attrGradientDirection:"gradientDirection",attrGradientColorOne:"gradientColorOne",attrGradientColorStopOne:"gradientColorStopOne",attrGradientColorTwo:"gradientColorTwo",attrGradientColorStopTwo:"gradientColorStopTwo",attrGradientColorOneOpacity:"gradientColorOneOpacity",attrGradientColorTwoOpacity:"gradientColorTwoOpacity",defaultColorOne:generateBlocksDefaults.container.gradientColorOne,defaultColorTwo:generateBlocksDefaults.container.gradientColorTwo})),Object(d.applyFilters)("generateblocks.editor.controls","","containerBackground",this.props,this.state))),Object(l.createElement)(j,r()({},this.props,{title:Object(g.__)("Shapes","generateblocks"),initialOpen:!1,icon:s("shapes"),className:"gblocks-panel-label",id:"containerShapes",state:this.state,showPanel:!("Desktop"!==this.getDeviceType()&&!e.shapeDividers.length)}),Object(l.createElement)(b.BaseControl,{className:"gb-icon-chooser gb-shape-chooser"},Me.map((e,a)=>{const i=a+1;return Object(l.createElement)(l.Fragment,{key:a},Object(l.createElement)("div",{className:"gblocks-shape-container"},Object(l.createElement)("div",{className:o()({"gblocks-shape-toggle-preview":!0,["gblocks-shape-toggle-preview-"+i]:!0}),style:{backgroundColor:te}},void 0!==He[Me[a].shape]&&Object(l.createElement)("div",{className:"gblocks-shape-divider-preview",style:{color:Me[a].color},dangerouslySetInnerHTML:{__html:Q(He[Me[a].shape].icon)}})),
8
  /* translators: Shape number */
9
- Object(g.sprintf)(Object(g.__)("Shape %s","generateblocks"),i),Object(l.createElement)(l.Fragment,null,Object(l.createElement)(b.Dropdown,{contentClassName:"gblocks-shapes-dropdown",renderToggle:({isOpen:e,onToggle:t})=>Object(l.createElement)(b.Tooltip,{text:Object(g.__)("Edit Shape","generateblocks")},Object(l.createElement)(b.Button,{className:"gblocks-shape-dropdown",isSecondary:!e||void 0,isPrimary:!!e||void 0,icon:s("wrench"),onClick:t,"aria-expanded":e})),renderContent:()=>Object(l.createElement)("div",{className:"gblocks-shape-controls"},"Desktop"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(b.BaseControl,{className:"gb-icon-chooser"},Object.keys(generateBlocksInfo.svgShapes).map((e,i)=>{const r=generateBlocksInfo.svgShapes[e].svgs;return Object(l.createElement)(b.PanelBody,{title:generateBlocksInfo.svgShapes[e].group,initialOpen:r.hasOwnProperty(Me[a].shape),key:i},Object(l.createElement)(b.PanelRow,null,Object(l.createElement)(b.BaseControl,null,Object(l.createElement)("ul",{className:"gblocks-icon-chooser gblocks-shape-chooser"},Object.keys(r).map((e,i)=>Object(l.createElement)("li",{key:"editor-pblock-types-list-item-"+i},Object(l.createElement)(b.Tooltip,{text:r[e].label},Object(l.createElement)(b.Button,{className:o()({"editor-block-list-item-button":!0,"gblocks-shape-is-active":Me[a].shape===e}),onClick:()=>{const l=[...Me];l[a]={...l[a],shape:e},t({shapeDividers:l})}},"string"==typeof r[e].icon?Object(l.createElement)(l.Fragment,null,Object(l.createElement)("span",{className:"editor-block-types-list__item-icon",dangerouslySetInnerHTML:{__html:Q(r[e].icon)}})):Object(l.createElement)(l.Fragment,null,Object(l.createElement)("span",{className:"editor-block-types-list__item-icon"},r[e].icon))))))))))})),Object(l.createElement)(I,{label:Object(g.__)("Color","generateblocks"),value:Me[a].color,alpha:!0,valueOpacity:Me[a].colorOpacity,onChange:e=>{const l=[...Me];l[a]={...l[a],color:e},t({shapeDividers:l})},onOpacityChange:e=>{const l=[...Me];l[a]={...l[a],colorOpacity:e},t({shapeDividers:l})}}),Object(l.createElement)(b.SelectControl,{label:Object(g.__)("Location","generateblocks"),value:Me[a].location,options:[{label:Object(g.__)("Top","generateblocks"),value:"top"},{label:Object(g.__)("Bottom","generateblocks"),value:"bottom"}],onChange:e=>{const l=[...Me];l[a]={...l[a],location:e},t({shapeDividers:l})}}),Object(l.createElement)(u,{label:Object(g.__)("Height","generateblocks"),value:"px",units:["px"],onClick:()=>!1}),Object(l.createElement)(b.TextControl,{type:"number",value:Me[a].height?Me[a].height:"",onChange:e=>{const l=[...Me];l[a]={...l[a],height:parseFloat(e)},t({shapeDividers:l})}}),Object(l.createElement)(u,{label:Object(g.__)("Width","generateblocks"),value:"%",units:["%"],onClick:()=>!1}),Object(l.createElement)(b.TextControl,{type:"number",value:Me[a].width?Me[a].width:"",min:"100",onChange:e=>{const l=[...Me];l[a]={...l[a],width:parseFloat(e)},t({shapeDividers:l})}}),Object(l.createElement)(b.ToggleControl,{label:Object(g.__)("Flip Horizontally","generateblocks"),checked:!!Me[a].flipHorizontally,onChange:e=>{const l=[...Me];l[a]={...l[a],flipHorizontally:e},t({shapeDividers:l})}}),Object(l.createElement)(b.TextControl,{label:Object(g.__)("z-index","generateblocks"),type:"number",min:"0",value:Me[a].zindex||0===Me[a].zindex?Me[a].zindex:"",onChange:e=>{const l=[...Me];l[a]={...l[a],zindex:e},t({shapeDividers:l})},onBlur:()=>{const e=[...Me];e[a]={...e[a],zindex:parseFloat(Me[a].zindex)},t({shapeDividers:e})},onClick:e=>{e.currentTarget.focus()}})),"Tablet"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(u,{label:Object(g.__)("Height","generateblocks"),value:"px",units:["px"],onClick:()=>!1}),Object(l.createElement)(b.TextControl,{type:"number",value:Me[a].heightTablet?Me[a].heightTablet:"",onChange:e=>{const l=[...Me];l[a]={...l[a],heightTablet:parseFloat(e)},t({shapeDividers:l})}}),Object(l.createElement)(u,{label:Object(g.__)("Width","generateblocks"),value:"%",units:["%"],onClick:()=>!1}),Object(l.createElement)(b.TextControl,{type:"number",value:Me[a].widthTablet?Me[a].widthTablet:"",min:"100",onChange:e=>{const l=[...Me];l[a]={...l[a],widthTablet:parseFloat(e)},t({shapeDividers:l})}})),"Mobile"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(u,{label:Object(g.__)("Height","generateblocks"),value:"px",units:["px"],onClick:()=>!1}),Object(l.createElement)(b.TextControl,{type:"number",value:Me[a].heightMobile?Me[a].heightMobile:"",onChange:e=>{const l=[...Me];l[a]={...l[a],heightMobile:parseFloat(e)},t({shapeDividers:l})}}),Object(l.createElement)(u,{label:Object(g.__)("Width","generateblocks"),value:"%",units:["%"],onClick:()=>!1}),Object(l.createElement)(b.TextControl,{type:"number",value:Me[a].widthMobile?Me[a].widthMobile:"",min:"100",onChange:e=>{const l=[...Me];l[a]={...l[a],widthMobile:parseFloat(e)},t({shapeDividers:l})}})))})),"Desktop"===this.getDeviceType()&&Object(l.createElement)(b.Tooltip,{text:Object(g.__)("Delete Shape","generateblocks")},Object(l.createElement)(b.Button,{className:"gblocks-remove-shape",onClick:()=>{window.confirm(Object(g.__)("This will permanently delete this shape.","generateblocks"))&&(e=>{const a=[...Me];a.splice(e,1),t({shapeDividers:a})})(a)},icon:s("x")}))))}),Object(l.createElement)("div",{className:"gblocks-add-new-shape"},Object(l.createElement)(b.Button,{isSecondary:!0,onClick:(()=>{const e=[...Me];e.push({shape:generateBlocksStyling.container.shapeDividers.shape,color:generateBlocksStyling.container.shapeDividers.color,colorOpacity:generateBlocksStyling.container.shapeDividers.colorOpacity,location:generateBlocksStyling.container.shapeDividers.location,height:generateBlocksStyling.container.shapeDividers.height,heightTablet:generateBlocksStyling.container.shapeDividers.heightTablet,heightMobile:generateBlocksStyling.container.shapeDividers.heightMobile,width:generateBlocksStyling.container.shapeDividers.width,widthTablet:generateBlocksStyling.container.shapeDividers.widthTablet,widthMobile:generateBlocksStyling.container.shapeDividers.widthMobile,flipHorizontally:generateBlocksStyling.container.shapeDividers.flipHorizontally,zindex:generateBlocksStyling.container.shapeDividers.zindex}),t({shapeDividers:e})}).bind(this)},Object(g.__)("Add Shape","generateblocks")))),Object(d.applyFilters)("generateblocks.editor.controls","","containerShapeDivider",this.props,this.state)),Object(l.createElement)(j,r()({},this.props,{title:Object(g.__)("Documentation","generateblocks"),initialOpen:!1,icon:s("documentation"),className:"gblocks-panel-label",id:"containerDocumentation",state:this.state}),Object(l.createElement)("p",null,Object(g.__)("Need help with this block?","generateblocks")),Object(l.createElement)("a",{href:"https://docs.generateblocks.com/collection/container/",target:"_blank",rel:"noreferrer noopener"},Object(g.__)("Visit our documentation","generateblocks")),Object(d.applyFilters)("generateblocks.editor.controls","","containerDocumentation",this.props,this.state))),Object(l.createElement)(x.InspectorAdvancedControls,null,Object(l.createElement)(b.TextControl,{label:Object(g.__)("HTML Anchor","generateblocks"),help:Object(g.__)("Anchors lets you link directly to a section on a page.","generateblocks"),value:h||"",onChange:e=>{e=e.replace(oe,"-"),t({anchor:e})}})),Object(l.createElement)(ae,this.props),this.props.deviceType&&Object(l.createElement)(l.Fragment,null,"Desktop"===this.props.deviceType&&Object(l.createElement)(le,this.props),("Tablet"===this.props.deviceType||"Mobile"===this.props.deviceType)&&Object(l.createElement)(ie,this.props),"Tablet"===this.props.deviceType&&Object(l.createElement)(re,this.props),"Mobile"===this.props.deviceType&&Object(l.createElement)(ne,this.props)),Se&&xe&&Object(l.createElement)("link",{rel:"stylesheet",href:"https://fonts.googleapis.com/css?family="+Se.replace(/ /g,"+")+Fe}),Object(l.createElement)(P,{tagName:Le(Object(d.applyFilters)("generateblocks.frontend.containerTagName",f,e)),htmlAttrs:Ke},Object(d.applyFilters)("generateblocks.frontend.afterContainerOpen","",e),Object(l.createElement)("div",{className:o()({"gb-inside-container":!0})},Object(d.applyFilters)("generateblocks.frontend.insideContainer","",e),Object(l.createElement)(x.InnerBlocks,{templateLock:!1,renderAppender:()=>this.props.isSelected?Object(l.createElement)(x.InnerBlocks.ButtonBlockAppender,null):!a&&!this.props.isSelected&&Object(l.createElement)(b.Button,{className:"gblocks-container-selector",onClick:()=>wp.data.dispatch("core/block-editor").selectBlock(i),"aria-label":Object(g.__)("Select Container","generateblocks")},Object(l.createElement)("span",{className:"gblocks-container-selector__icon"},s("container")))})),Object(l.createElement)(l.Fragment,null,!!e.shapeDividers.length&&Object(l.createElement)("div",{className:"gb-shapes"},e.shapeDividers.map((e,t)=>{const a=t+1;return Object(l.createElement)(l.Fragment,{key:t},void 0!==He[Me[t].shape]&&Object(l.createElement)("div",{className:o()({"gb-shape":!0,["gb-shape-"+a]:!0}),dangerouslySetInnerHTML:{__html:Q(He[Me[t].shape].icon)}}))}))),Object(d.applyFilters)("generateblocks.frontend.beforeContainerClose","",e)))}}var se=Object(M.compose)([Object(D.withDispatch)(e=>({setDeviceType(t){const{__experimentalSetPreviewDeviceType:a}=e("core/edit-post")||!1;a&&a(t)}})),Object(D.withSelect)((e,t)=>{const{clientId:a}=t,l=e("core/block-editor");if(!e("core/edit-post"))return{media:null,deviceType:null,hasChildBlocks:!!l&&0<l.getBlockOrder(a).length};const{__experimentalGetPreviewDeviceType:i}=e("core/edit-post"),{getMedia:r}=e("core"),{getEditedPostAttribute:n}=e("core/editor"),o=n("featured_media");return i?{media:o?r(o):null,deviceType:i(),hasChildBlocks:!!l&&0<l.getBlockOrder(a).length}:{media:o?r(o):null,deviceType:null,hasChildBlocks:!!l&&0<l.getBlockOrder(a).length}})])(ce);const ge={uniqueId:{type:"string",default:""},anchor:{type:"string",default:""},isGrid:{type:"boolean",default:!1},gridId:{type:"string",default:""},tagName:{type:"string",default:generateBlocksDefaults.container.tagName},width:{type:"number",default:generateBlocksDefaults.container.width},widthTablet:{type:"number",default:generateBlocksDefaults.container.widthTablet},widthMobile:{type:"number",default:generateBlocksDefaults.container.widthMobile},autoWidthTablet:{type:"boolean",default:generateBlocksDefaults.container.autoWidthTablet},autoWidthMobile:{type:"boolean",default:generateBlocksDefaults.container.autoWidthMobile},flexGrow:{type:"number",default:generateBlocksDefaults.container.flexGrow},flexGrowTablet:{type:"number",default:generateBlocksDefaults.container.flexGrowTablet},flexGrowMobile:{type:"number",default:generateBlocksDefaults.container.flexGrowMobile},flexShrink:{type:"number",default:generateBlocksDefaults.container.flexShrink},flexShrinkTablet:{type:"number",default:generateBlocksDefaults.container.flexShrinkTablet},flexShrinkMobile:{type:"number",default:generateBlocksDefaults.container.flexShrinkMobile},flexBasis:{type:"string",default:generateBlocksDefaults.container.flexBasis},flexBasisTablet:{type:"string",default:generateBlocksDefaults.container.flexBasisTablet},flexBasisMobile:{type:"string",default:generateBlocksDefaults.container.flexBasisMobile},flexBasisUnit:{type:"string",default:generateBlocksDefaults.container.flexBasisUnit},orderTablet:{type:"number",default:generateBlocksDefaults.container.orderTablet},orderMobile:{type:"number",default:generateBlocksDefaults.container.orderMobile},outerContainer:{type:"string",default:generateBlocksDefaults.container.outerContainer},innerContainer:{type:"string",default:generateBlocksDefaults.container.innerContainer},containerWidth:{type:"number",default:generateBlocksDefaults.container.containerWidth},minHeight:{type:"number",default:generateBlocksDefaults.container.minHeight},minHeightUnit:{type:"string",default:generateBlocksDefaults.container.minHeightUnit},minHeightTablet:{type:"number",default:generateBlocksDefaults.container.minHeightTablet},minHeightUnitTablet:{type:"string",default:generateBlocksDefaults.container.minHeightUnitTablet},minHeightMobile:{type:"number",default:generateBlocksDefaults.container.minHeightMobile},minHeightUnitMobile:{type:"string",default:generateBlocksDefaults.container.minHeightUnitMobile},paddingTop:{type:"string",default:generateBlocksDefaults.container.paddingTop},paddingRight:{type:"string",default:generateBlocksDefaults.container.paddingRight},paddingBottom:{type:"string",default:generateBlocksDefaults.container.paddingBottom},paddingLeft:{type:"string",default:generateBlocksDefaults.container.paddingLeft},paddingUnit:{type:"string",default:generateBlocksDefaults.container.paddingUnit},paddingSyncUnits:{type:"boolean",default:!1},paddingTopTablet:{type:"string",default:generateBlocksDefaults.container.paddingTopTablet},paddingRightTablet:{type:"string",default:generateBlocksDefaults.container.paddingRightTablet},paddingBottomTablet:{type:"string",default:generateBlocksDefaults.container.paddingBottomTablet},paddingLeftTablet:{type:"string",default:generateBlocksDefaults.container.paddingLeftTablet},paddingTopMobile:{type:"string",default:generateBlocksDefaults.container.paddingTopMobile},paddingRightMobile:{type:"string",default:generateBlocksDefaults.container.paddingRightMobile},paddingBottomMobile:{type:"string",default:generateBlocksDefaults.container.paddingBottomMobile},paddingLeftMobile:{type:"string",default:generateBlocksDefaults.container.paddingLeftMobile},marginTop:{type:"string",default:generateBlocksDefaults.container.marginTop},marginRight:{type:"string",default:generateBlocksDefaults.container.marginRight},marginBottom:{type:"string",default:generateBlocksDefaults.container.marginBottom},marginLeft:{type:"string",default:generateBlocksDefaults.container.marginLeft},marginUnit:{type:"string",default:generateBlocksDefaults.container.marginUnit},marginSyncUnits:{type:"boolean",default:!1},marginTopTablet:{type:"string",default:generateBlocksDefaults.container.marginTopTablet},marginRightTablet:{type:"string",default:generateBlocksDefaults.container.marginRightTablet},marginBottomTablet:{type:"string",default:generateBlocksDefaults.container.marginBottomTablet},marginLeftTablet:{type:"string",default:generateBlocksDefaults.container.marginLeftTablet},marginTopMobile:{type:"string",default:generateBlocksDefaults.container.marginTopMobile},marginRightMobile:{type:"string",default:generateBlocksDefaults.container.marginRightMobile},marginBottomMobile:{type:"string",default:generateBlocksDefaults.container.marginBottomMobile},marginLeftMobile:{type:"string",default:generateBlocksDefaults.container.marginLeftMobile},borderSizeTop:{type:"string",default:generateBlocksDefaults.container.borderSizeTop},borderSizeRight:{type:"string",default:generateBlocksDefaults.container.borderSizeRight},borderSizeBottom:{type:"string",default:generateBlocksDefaults.container.borderSizeBottom},borderSizeLeft:{type:"string",default:generateBlocksDefaults.container.borderSizeLeft},borderSizeTopTablet:{type:"string",default:generateBlocksDefaults.container.borderSizeTopTablet},borderSizeRightTablet:{type:"string",default:generateBlocksDefaults.container.borderSizeRightTablet},borderSizeBottomTablet:{type:"string",default:generateBlocksDefaults.container.borderSizeBottomTablet},borderSizeLeftTablet:{type:"string",default:generateBlocksDefaults.container.borderSizeLeftTablet},borderSizeTopMobile:{type:"string",default:generateBlocksDefaults.container.borderSizeTopMobile},borderSizeRightMobile:{type:"string",default:generateBlocksDefaults.container.borderSizeRightMobile},borderSizeBottomMobile:{type:"string",default:generateBlocksDefaults.container.borderSizeBottomMobile},borderSizeLeftMobile:{type:"string",default:generateBlocksDefaults.container.borderSizeLeftMobile},borderRadiusTopRight:{type:"string",default:generateBlocksDefaults.container.borderRadiusTopRight},borderRadiusBottomRight:{type:"string",default:generateBlocksDefaults.container.borderRadiusBottomRight},borderRadiusBottomLeft:{type:"string",default:generateBlocksDefaults.container.borderRadiusBottomLeft},borderRadiusTopLeft:{type:"string",default:generateBlocksDefaults.container.borderRadiusTopLeft},borderRadiusUnit:{type:"string",default:generateBlocksDefaults.container.borderRadiusUnit},borderRadiusTopRightTablet:{type:"string",default:generateBlocksDefaults.container.borderRadiusTopRightTablet},borderRadiusBottomRightTablet:{type:"string",default:generateBlocksDefaults.container.borderRadiusBottomRightTablet},borderRadiusBottomLeftTablet:{type:"string",default:generateBlocksDefaults.container.borderRadiusBottomLeftTablet},borderRadiusTopLeftTablet:{type:"string",default:generateBlocksDefaults.container.borderRadiusTopLeftTablet},borderRadiusTopRightMobile:{type:"string",default:generateBlocksDefaults.container.borderRadiusTopRightMobile},borderRadiusBottomRightMobile:{type:"string",default:generateBlocksDefaults.container.borderRadiusBottomRightMobile},borderRadiusBottomLeftMobile:{type:"string",default:generateBlocksDefaults.container.borderRadiusBottomLeftMobile},borderRadiusTopLeftMobile:{type:"string",default:generateBlocksDefaults.container.borderRadiusTopLeftMobile},borderColor:{type:"string",default:generateBlocksDefaults.container.borderColor},borderColorOpacity:{type:"number",default:generateBlocksDefaults.container.borderColorOpacity},backgroundColor:{type:"string",default:generateBlocksDefaults.container.backgroundColor},backgroundColorOpacity:{type:"number",default:generateBlocksDefaults.container.backgroundColorOpacity},gradient:{type:"boolean",default:generateBlocksDefaults.container.gradient},gradientDirection:{type:"number",default:generateBlocksDefaults.container.gradientDirection},gradientColorOne:{type:"string",default:generateBlocksDefaults.container.gradientColorOne},gradientColorOneOpacity:{type:"number",default:generateBlocksDefaults.container.gradientColorOneOpacity},gradientColorStopOne:{type:"number",default:generateBlocksDefaults.container.gradientColorStopOne},gradientColorTwo:{type:"string",default:generateBlocksDefaults.container.gradientColorTwo},gradientColorTwoOpacity:{type:"number",default:generateBlocksDefaults.container.gradientColorTwoOpacity},gradientColorStopTwo:{type:"number",default:generateBlocksDefaults.container.gradientColorStopTwo},gradientSelector:{type:"string",default:"element"},textColor:{type:"string",default:generateBlocksDefaults.container.textColor},linkColor:{type:"string",default:generateBlocksDefaults.container.linkColor},linkColorHover:{type:"string",default:generateBlocksDefaults.container.linkColorHover},bgImage:{type:"object",default:generateBlocksDefaults.container.bgImage},bgOptions:{type:"object",default:{selector:generateBlocksDefaults.container.bgOptions.selector,opacity:generateBlocksDefaults.container.bgOptions.opacity,overlay:generateBlocksDefaults.container.bgOptions.overlay,position:generateBlocksDefaults.container.bgOptions.position,size:generateBlocksDefaults.container.bgOptions.size,repeat:generateBlocksDefaults.container.bgOptions.repeat,attachment:generateBlocksDefaults.container.bgOptions.attachment}},bgImageSize:{type:"string",default:generateBlocksDefaults.container.bgImageSize},verticalAlignment:{type:"string",default:generateBlocksDefaults.container.verticalAlignment},verticalAlignmentTablet:{type:"string",default:generateBlocksDefaults.container.verticalAlignmentTablet},verticalAlignmentMobile:{type:"string",default:generateBlocksDefaults.container.verticalAlignmentMobile},zindex:{type:"number",default:generateBlocksDefaults.container.zindex},innerZindex:{type:"number",default:generateBlocksDefaults.container.innerZindex},removeVerticalGap:{type:"boolean",default:generateBlocksDefaults.container.removeVerticalGap},removeVerticalGapTablet:{type:"boolean",default:generateBlocksDefaults.container.removeVerticalGapTablet},removeVerticalGapMobile:{type:"boolean",default:generateBlocksDefaults.container.removeVerticalGapMobile},alignment:{type:"string",default:generateBlocksDefaults.container.alignment},alignmentTablet:{type:"string",default:generateBlocksDefaults.container.alignmentTablet},alignmentMobile:{type:"string",default:generateBlocksDefaults.container.alignmentMobile},fontFamily:{type:"string",default:generateBlocksDefaults.container.fontFamily},fontFamilyFallback:{type:"string",default:generateBlocksDefaults.container.fontFamilyFallback},googleFont:{type:"boolean",default:generateBlocksDefaults.container.googleFont},googleFontVariants:{type:"string",default:generateBlocksDefaults.container.googleFontVariants},fontWeight:{type:"string",default:generateBlocksDefaults.container.fontWeight},fontSize:{type:"number",default:generateBlocksDefaults.container.fontSize},fontSizeTablet:{type:"number",default:generateBlocksDefaults.container.fontSizeTablet},fontSizeMobile:{type:"number",default:generateBlocksDefaults.container.fontSizeMobile},fontSizeUnit:{type:"string",default:generateBlocksDefaults.container.fontSizeUnit},textTransform:{type:"string",default:""},align:{type:"string",default:""},shapeDividers:{type:"array",default:[]},isDynamic:{type:"boolean"},blockVersion:{type:"number"},elementId:{type:"string",default:""},cssClasses:{type:"string",default:""}};generateBlocksInfo.hasCustomFields&&Object.assign(ge,{fullWidthContent:{type:"string",source:"meta",meta:"_generate-full-width-content"}});var be=ge,de=[{attributes:be,supports:{align:!1,anchor:!1,className:!1,customClassName:!1},migrate(e){const t=e.cssClasses?e.cssClasses:e.className,a=e.elementId?e.elementId:e.anchor;return{...e,className:t,anchor:a,cssClasses:"",elementId:""}},save({attributes:e}){const{uniqueId:t,tagName:a,elementId:i,cssClasses:r,isGrid:n,align:c}=e;let s={className:o()({"gb-container":!0,["gb-container-"+t]:!0,[""+r]:""!==r,["align"+c]:!!c&&!n}),id:i||null};return s=Object(d.applyFilters)("generateblocks.frontend.htmlAttributes",s,"generateblocks/container",e),Object(l.createElement)(({condition:e,wrap:t,children:a})=>e?t(a):a,{condition:n,wrap:e=>Object(l.createElement)("div",{className:o()({"gb-grid-column":!0,["gb-grid-column-"+t]:!0})},e)},Object(l.createElement)(P,{tagName:a,htmlAttrs:s},Object(d.applyFilters)("generateblocks.frontend.insideContainer","",e),Object(l.createElement)("div",{className:o()({"gb-inside-container":!0})},Object(l.createElement)(x.InnerBlocks.Content,null))))}}];function pe(e){return"left"===e||"top"===e?"flex-start":"right"===e||"bottom"===e?"flex-end":e}Object(E.registerBlockType)("generateblocks/container",{title:Object(g.__)("Container","generateblocks"),description:Object(g.__)("Organize your content into rows and sections.","generateblocks"),icon:s("container"),category:"generateblocks",keywords:[Object(g.__)("section"),Object(g.__)("container"),Object(g.__)("generate")],attributes:be,supports:{align:!1,className:!1},edit:se,save:()=>Object(l.createElement)(x.InnerBlocks.Content,null),deprecated:de});class ue extends l.Component{render(){const e=Object(d.applyFilters)("generateblocks.editor.cssAttrs",this.props.attributes,this.props),{uniqueId:t,alignment:a,marginTop:i,marginRight:r,marginBottom:n,marginLeft:o,marginUnit:c}=e;let s=[];return s[".gb-button-wrapper-"+t]=[{margin:ee(i,r,n,o,c),"justify-content":pe(a)}],s[".gb-button-wrapper-"+t+" > .block-editor-inner-blocks > .block-editor-block-list__layout"]=[{"justify-content":pe(a)}],s=Object(d.applyFilters)("generateblocks.editor.mainCSS",s,this.props,"button-container"),Object(l.createElement)("style",null,h(s))}}class he extends l.Component{render(){const e=Object(d.applyFilters)("generateblocks.editor.cssAttrs",this.props.attributes,this.props),{uniqueId:t,alignment:a,stack:i,fillHorizontalSpace:r}=e;let n=[];return n[".gb-button-wrapper-"+t]=[{display:!!r&&"block","flex-direction":!!i&&"column","align-items":!!i&&pe(a)}],n[".gb-button-wrapper-"+t+" > .block-editor-inner-blocks > .block-editor-block-list__layout"]=[{"flex-direction":!!i&&"column","align-items":!!i&&pe(a)}],r&&(n[".gb-button-wrapper-"+t+" > .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block"]=[{flex:"1"}],n[".gb-button-wrapper-"+t+" > .components-button"]=[{background:"#fff",border:"1px solid #ddd","margin-top":"10px"}]),i&&r&&(n[".gb-button-wrapper-"+t+" > .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block"]=[{width:"100% !important","box-sizing":"border-box"}]),n=Object(d.applyFilters)("generateblocks.editor.desktopCSS",n,this.props,"button-container"),Object(l.createElement)("style",null,h(n))}}class fe extends l.Component{render(){const e=Object(d.applyFilters)("generateblocks.editor.cssAttrs",this.props.attributes,this.props),{uniqueId:t,alignmentTablet:a,marginTopTablet:i,marginRightTablet:r,marginBottomTablet:n,marginLeftTablet:o,marginUnit:c}=e;let s=[];return s[".gb-button-wrapper-"+t]=[{"margin-top":f(i,c),"margin-right":f(r,c),"margin-bottom":f(n,c),"margin-left":f(o,c),"justify-content":pe(a)}],s[".gb-button-wrapper-"+t+" > .block-editor-inner-blocks > .block-editor-block-list__layout"]=[{"justify-content":pe(a)}],s=Object(d.applyFilters)("generateblocks.editor.tabletCSS",s,this.props,"button-container"),Object(l.createElement)("style",null,h(s))}}class me extends l.Component{render(){const e=Object(d.applyFilters)("generateblocks.editor.cssAttrs",this.props.attributes,this.props),{uniqueId:t,alignmentTablet:a,stackTablet:i,fillHorizontalSpaceTablet:r}=e;let n=[];return n[".gb-button-wrapper-"+t]=[{display:!!r&&"block","flex-direction":!!i&&"column","align-items":!!i&&pe(a)}],n[".gb-button-wrapper-"+t+" > .block-editor-inner-blocks > .block-editor-block-list__layout"]=[{"flex-direction":!!i&&"column","align-items":!!i&&pe(a)}],r&&(n[".gb-button-wrapper-"+t+" > .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block"]=[{flex:"1"}],n[".gb-button-wrapper-"+t+" > .components-button"]=[{background:"#fff",border:"1px solid #ddd","margin-top":"10px"}]),i&&r&&(n[".gb-button-wrapper-"+t+" > .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block"]=[{width:"100% !important","box-sizing":"border-box"}]),n=Object(d.applyFilters)("generateblocks.editor.tabletOnlyCSS",n,this.props,"button-container"),Object(l.createElement)("style",null,h(n))}}class ke extends l.Component{render(){const e=Object(d.applyFilters)("generateblocks.editor.cssAttrs",this.props.attributes,this.props),{uniqueId:t,alignmentMobile:a,marginTopMobile:i,marginRightMobile:r,marginBottomMobile:n,marginLeftMobile:o,marginUnit:c,stackMobile:s,fillHorizontalSpaceMobile:g}=e;let b=[];return b[".gb-button-wrapper-"+t]=[{display:!!g&&"block","margin-top":f(i,c),"margin-right":f(r,c),"margin-bottom":f(n,c),"margin-left":f(o,c),"justify-content":pe(a),"flex-direction":!!s&&"column","align-items":!!s&&pe(a)}],b[".gb-button-wrapper-"+t+" > .block-editor-inner-blocks > .block-editor-block-list__layout"]=[{"flex-direction":!!s&&"column","align-items":!!s&&pe(a),"justify-content":pe(a)}],g&&(b[".gb-button-wrapper-"+t+" > .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block"]=[{flex:"1"}],b[".gb-button-wrapper-"+t+" > .components-button"]=[{background:"#fff",border:"1px solid #ddd","margin-top":"10px"}]),s&&g&&(b[".gb-button-wrapper-"+t+" > .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block"]=[{width:"100% !important","box-sizing":"border-box"}]),b=Object(d.applyFilters)("generateblocks.editor.mobileCSS",b,this.props,"button-container"),Object(l.createElement)("style",null,h(b))}}const we=/[\s#]/g,ye=[{icon:"editor-alignleft",title:Object(g.__)("Align Buttons Left","generateblocks"),align:"left"},{icon:"editor-aligncenter",title:Object(g.__)("Align Buttons Center","generateblocks"),align:"center"},{icon:"editor-alignright",title:Object(g.__)("Align Buttons Right","generateblocks"),align:"right"}];class Oe extends l.Component{constructor(){super(...arguments),this.state={selectedDevice:"Desktop"},this.getDeviceType=this.getDeviceType.bind(this),this.setDeviceType=this.setDeviceType.bind(this)}componentDidMount(){const e=T(wp.data.select("core/block-editor").getBlocks(),[],this.props.clientId);this.props.attributes.uniqueId&&!e.includes(this.props.attributes.uniqueId)||this.props.setAttributes({uniqueId:this.props.clientId.substr(2,9).replace("-","")});const t=wp.data.select("core/block-editor").getBlocksByClientId(this.props.clientId)[0];t&&0===t.innerBlocks.length&&wp.data.dispatch("core/block-editor").insertBlocks(Object(E.createBlock)("generateblocks/button",generateBlocksStyling.button),void 0,this.props.clientId),void 0!==this.props.attributes.isDynamic&&this.props.attributes.isDynamic||this.props.setAttributes({isDynamic:!0}),(void 0===this.props.attributes.blockVersion||this.props.attributes.blockVersion<2)&&(this.props.attributes.stack||this.props.attributes.fillHorizontalSpace)&&(this.props.attributes.stack&&this.props.setAttributes({stackTablet:!0,stackMobile:!0}),this.props.attributes.fillHorizontalSpace&&this.props.setAttributes({fillHorizontalSpaceTablet:!0,fillHorizontalSpaceMobile:!0})),(void 0===this.props.attributes.blockVersion||this.props.attributes.blockVersion<2)&&this.props.setAttributes({blockVersion:2})}getDeviceType(){let e=this.props.deviceType?this.props.deviceType:this.state.selectedDevice;return generateBlocksInfo.syncResponsivePreviews||(e=this.state.selectedDevice),e}setDeviceType(e){generateBlocksInfo.syncResponsivePreviews&&this.props.deviceType?(this.props.setDeviceType(e),this.setState({selectedDevice:e})):this.setState({selectedDevice:e})}render(){const{attributes:e,setAttributes:t,clientId:a}=this.props,{uniqueId:i,className:n,anchor:c,alignment:u,alignmentTablet:h,alignmentMobile:f,stack:m,stackTablet:k,stackMobile:w,fillHorizontalSpace:y,fillHorizontalSpaceTablet:O,fillHorizontalSpaceMobile:v}=e;let T={className:o()({"gb-button-wrapper":!0,["gb-button-wrapper-"+i]:!0,[""+n]:void 0!==n}),id:c||null};return T=Object(d.applyFilters)("generateblocks.frontend.htmlAttributes",T,"generateblocks/button-container",e),Object(l.createElement)(l.Fragment,null,Object(l.createElement)(x.BlockControls,null,Object(l.createElement)(b.ToolbarGroup,null,Object(l.createElement)(b.ToolbarButton,{className:"gblocks-add-new-button",icon:s("insert"),label:Object(g.__)("Add Button","generateblocks"),onClick:()=>{const e=wp.data.select("core/block-editor").getBlocksByClientId(a)[0];if(e){const t=e.innerBlocks,l=Object.keys(t),i=l[l.length-1];if(void 0!==t[i]){const e=t[i].clientId;if(e){const t=wp.data.select("core/block-editor").getBlocksByClientId(e)[0],l=Object(E.cloneBlock)(t,{uniqueId:""});wp.data.dispatch("core/block-editor").insertBlocks(l,void 0,a)}}else 0===t.length&&wp.data.dispatch("core/block-editor").insertBlocks(Object(E.createBlock)("generateblocks/button",generateBlocksStyling.button),void 0,a)}},showTooltip:!0})),"Desktop"===this.getDeviceType()&&Object(l.createElement)(x.AlignmentToolbar,{value:u,alignmentControls:ye,onChange:e=>{t({alignment:e})}}),"Tablet"===this.getDeviceType()&&Object(l.createElement)(x.AlignmentToolbar,{value:h,alignmentControls:ye,onChange:e=>{t({alignmentTablet:e})}}),"Mobile"===this.getDeviceType()&&Object(l.createElement)(x.AlignmentToolbar,{value:f,alignmentControls:ye,onChange:e=>{t({alignmentMobile:e})}})),Object(l.createElement)(x.InspectorControls,null,Object(l.createElement)(p,r()({},this.props,{selectedDevice:this.getDeviceType(),onClick:e=>{this.setDeviceType(e)}})),Object(l.createElement)(j,r()({},this.props,{title:Object(g.__)("Spacing","generateblocks"),initialOpen:!0,icon:s("spacing"),className:"gblocks-panel-label",id:"buttonContainerSpacing",state:this.state}),"Desktop"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(V,r()({},this.props,{device:this.getDeviceType(),type:"margin",label:Object(g.__)("Margin","generateblocks"),attrTop:"marginTop",attrRight:"marginRight",attrBottom:"marginBottom",attrLeft:"marginLeft",attrUnit:"marginUnit",attrSyncUnits:"marginSyncUnits",defaults:generateBlocksDefaults.buttonContainer,units:["px","em","%"]})),Object(l.createElement)(b.ToggleControl,{label:Object(g.__)("Stack Vertically","generateblocks"),checked:!!m,onChange:e=>{t({stack:e,stackTablet:e&&!k?e:k,stackMobile:e&&!w?e:w})}}),Object(l.createElement)(b.ToggleControl,{label:Object(g.__)("Fill Horizontal Space","generateblocks"),checked:!!y,onChange:e=>{t({fillHorizontalSpace:e,fillHorizontalSpaceTablet:e&&!O?e:O,fillHorizontalSpaceMobile:e&&!v?e:v})}})),"Tablet"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(V,r()({},this.props,{device:this.getDeviceType(),type:"margin",label:Object(g.__)("Margin","generateblocks"),attrTop:"marginTopTablet",attrRight:"marginRightTablet",attrBottom:"marginBottomTablet",attrLeft:"marginLeftTablet",attrUnit:"marginUnit",attrSyncUnits:"marginSyncUnits",defaults:generateBlocksDefaults.buttonContainer,units:["px","em","%"]})),Object(l.createElement)(b.ToggleControl,{label:Object(g.__)("Stack Vertically","generateblocks"),checked:!!k,onChange:e=>{t({stackTablet:e,stackMobile:e&&!w?e:w})}}),Object(l.createElement)(b.ToggleControl,{label:Object(g.__)("Fill Horizontal Space","generateblocks"),checked:!!O,onChange:e=>{t({fillHorizontalSpaceTablet:e,fillHorizontalSpaceMobile:e&&!v?e:v})}})),"Mobile"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(V,r()({},this.props,{device:this.getDeviceType(),type:"margin",label:Object(g.__)("Margin","generateblocks"),attrTop:"marginTopMobile",attrRight:"marginRightMobile",attrBottom:"marginBottomMobile",attrLeft:"marginLeftMobile",attrUnit:"marginUnit",attrSyncUnits:"marginSyncUnits",defaults:generateBlocksDefaults.buttonContainer,units:["px","em","%"]})),Object(l.createElement)(b.ToggleControl,{label:Object(g.__)("Stack Vertically","generateblocks"),checked:!!w,onChange:e=>{t({stackMobile:e})}}),Object(l.createElement)(b.ToggleControl,{label:Object(g.__)("Fill Horizontal Space","generateblocks"),checked:!!v,onChange:e=>{t({fillHorizontalSpaceMobile:e})}})),Object(d.applyFilters)("generateblocks.editor.controls","","buttonContainerSpacing",this.props,this.state)),Object(l.createElement)(j,r()({},this.props,{title:Object(g.__)("Documentation","generateblocks"),icon:s("documentation"),initialOpen:!1,className:"gblocks-panel-label",id:"buttonContainerDocumentation",state:this.state}),Object(l.createElement)("p",null,Object(g.__)("Need help with this block?","generateblocks")),Object(l.createElement)("a",{href:"https://docs.generateblocks.com/collection/buttons/",target:"_blank",rel:"noreferrer noopener"},Object(g.__)("Visit our documentation","generateblocks")),Object(d.applyFilters)("generateblocks.editor.controls","","buttonContainerDocumentation",this.props,this.state))),Object(l.createElement)(x.InspectorAdvancedControls,null,Object(l.createElement)(b.TextControl,{label:Object(g.__)("HTML Anchor","generateblocks"),help:Object(g.__)("Anchors lets you link directly to a section on a page.","generateblocks"),value:c||"",onChange:e=>{e=e.replace(we,"-"),t({anchor:e})}})),Object(l.createElement)(ue,this.props),this.props.deviceType&&Object(l.createElement)(l.Fragment,null,"Desktop"===this.props.deviceType&&Object(l.createElement)(he,this.props),("Tablet"===this.props.deviceType||"Mobile"===this.props.deviceType)&&Object(l.createElement)(fe,this.props),"Tablet"===this.props.deviceType&&Object(l.createElement)(me,this.props),"Mobile"===this.props.deviceType&&Object(l.createElement)(ke,this.props)),Object(l.createElement)("div",T,Object(l.createElement)(x.InnerBlocks,{allowedBlocks:["generateblocks/button"],renderAppender:()=>Object(l.createElement)(b.Tooltip,{text:Object(g.__)("Add Button","generateblocks")},Object(l.createElement)(b.Button,{className:"gblocks-add-new-button gblocks-button-container-appender",icon:"insert",onClick:()=>{wp.data.dispatch("core/block-editor").insertBlocks(Object(E.createBlock)("generateblocks/button",generateBlocksStyling.button),void 0,a)}}))})))}}var ve=Object(M.compose)([Object(D.withDispatch)(e=>({setDeviceType(t){const{__experimentalSetPreviewDeviceType:a}=e("core/edit-post")||!1;a&&a(t)}})),Object(D.withSelect)(e=>{const{__experimentalGetPreviewDeviceType:t}=e("core/edit-post")||!1;return t?{deviceType:t()}:{deviceType:null}})])(Oe),je={uniqueId:{type:"string",default:""},anchor:{type:"string",default:""},alignment:{type:"string",default:generateBlocksDefaults.buttonContainer.alignment},alignmentTablet:{type:"string",default:generateBlocksDefaults.buttonContainer.alignment},alignmentMobile:{type:"string",default:generateBlocksDefaults.buttonContainer.alignment},marginTop:{type:"string",default:generateBlocksDefaults.buttonContainer.marginTop},marginRight:{type:"string",default:generateBlocksDefaults.buttonContainer.marginRight},marginBottom:{type:"string",default:generateBlocksDefaults.buttonContainer.marginBottom},marginLeft:{type:"string",default:generateBlocksDefaults.buttonContainer.marginLeft},marginUnit:{type:"string",default:generateBlocksDefaults.buttonContainer.marginUnit},marginTopTablet:{type:"string",default:generateBlocksDefaults.buttonContainer.marginTopTablet},marginRightTablet:{type:"string",default:generateBlocksDefaults.buttonContainer.marginRightTablet},marginBottomTablet:{type:"string",default:generateBlocksDefaults.buttonContainer.marginBottomTablet},marginLeftTablet:{type:"string",default:generateBlocksDefaults.buttonContainer.marginLeftTablet},marginTopMobile:{type:"string",default:generateBlocksDefaults.buttonContainer.marginTopMobile},marginRightMobile:{type:"string",default:generateBlocksDefaults.buttonContainer.marginRightMobile},marginBottomMobile:{type:"string",default:generateBlocksDefaults.buttonContainer.marginBottomMobile},marginLeftMobile:{type:"string",default:generateBlocksDefaults.buttonContainer.marginLeftMobile},stack:{type:"boolean",default:generateBlocksDefaults.buttonContainer.stack},stackTablet:{type:"boolean",default:generateBlocksDefaults.buttonContainer.stackTablet},stackMobile:{type:"boolean",default:generateBlocksDefaults.buttonContainer.stackMobile},fillHorizontalSpace:{type:"boolean",default:generateBlocksDefaults.buttonContainer.fillHorizontalSpace},fillHorizontalSpaceTablet:{type:"boolean",default:generateBlocksDefaults.buttonContainer.fillHorizontalSpaceTablet},fillHorizontalSpaceMobile:{type:"boolean",default:generateBlocksDefaults.buttonContainer.fillHorizontalSpaceMobile},isDynamic:{type:"boolean"},blockVersion:{type:"number"},elementId:{type:"string",default:""},cssClasses:{type:"string",default:""}},Te=[{attributes:je,supports:{anchor:!1,className:!1,customClassName:!1},migrate(e){const t=e.cssClasses?e.cssClasses:e.className,a=e.elementId?e.elementId:e.anchor;return{...e,className:t,anchor:a,cssClasses:"",elementId:""}},save({attributes:e}){const{uniqueId:t,elementId:a,cssClasses:i}=e;let r={id:a||void 0,className:o()({"gb-button-wrapper":!0,["gb-button-wrapper-"+t]:!0,[""+i]:""!==i})};return r=Object(d.applyFilters)("generateblocks.frontend.htmlAttributes",r,"generateblocks/button-container",e),Object(l.createElement)("div",r,Object(l.createElement)(x.InnerBlocks.Content,null))}}];Object(E.registerBlockType)("generateblocks/button-container",{title:Object(g.__)("Buttons","generateblocks"),description:Object(g.__)("Drive conversions with beautiful buttons.","generateblocks"),icon:s("button"),category:"generateblocks",keywords:[Object(g.__)("button"),Object(g.__)("buttons"),Object(g.__)("generate")],attributes:je,supports:{className:!1},edit:ve,save:()=>Object(l.createElement)(x.InnerBlocks.Content,null),deprecated:Te});var Ce={facebook:{label:Object(g._x)("Facebook","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 320 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M279.14 288l14.22-92.66h-88.91v-60.13c0-25.35 12.42-50.06 52.24-50.06h40.42V6.26S260.43 0 225.36 0c-73.22 0-121.08 44.38-121.08 124.72v70.62H22.89V288h81.39v224h100.17V288z"}))},facebookCircle:{label:Object(g._x)("Facebook - Circle","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M504 256C504 119 393 8 256 8S8 119 8 256c0 123.78 90.69 226.38 209.25 245V327.69h-63V256h63v-54.64c0-62.15 37-96.48 93.67-96.48 27.14 0 55.52 4.84 55.52 4.84v61h-31.28c-30.8 0-40.41 19.12-40.41 38.73V256h68.78l-11 71.69h-57.78V501C413.31 482.38 504 379.78 504 256z"}))},facebookSquare:{label:Object(g._x)("Facebook - Square","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 448 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M400 32H48A48 48 0 0 0 0 80v352a48 48 0 0 0 48 48h137.25V327.69h-63V256h63v-54.64c0-62.15 37-96.48 93.67-96.48 27.14 0 55.52 4.84 55.52 4.84v61h-31.27c-30.81 0-40.42 19.12-40.42 38.73V256h68.78l-11 71.69h-57.78V480H400a48 48 0 0 0 48-48V80a48 48 0 0 0-48-48z"}))},instagram:{label:Object(g._x)("Instagram","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 448 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z"}))},linkedin:{label:Object(g._x)("LinkedIn","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 448 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M100.28 448H7.4V148.9h92.88zM53.79 108.1C24.09 108.1 0 83.5 0 53.8a53.79 53.79 0 0 1 107.58 0c0 29.7-24.1 54.3-53.79 54.3zM447.9 448h-92.68V302.4c0-34.7-.7-79.2-48.29-79.2-48.29 0-55.69 37.7-55.69 76.7V448h-92.78V148.9h89.08v40.8h1.3c12.4-23.5 42.69-48.3 87.88-48.3 94 0 111.28 61.9 111.28 142.3V448z"}))},linkedinSquare:{label:Object(g._x)("LinkedIn - Square","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 448 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M416 32H31.9C14.3 32 0 46.5 0 64.3v383.4C0 465.5 14.3 480 31.9 480H416c17.6 0 32-14.5 32-32.3V64.3c0-17.8-14.4-32.3-32-32.3zM135.4 416H69V202.2h66.5V416zm-33.2-243c-21.3 0-38.5-17.3-38.5-38.5S80.9 96 102.2 96c21.2 0 38.5 17.3 38.5 38.5 0 21.3-17.2 38.5-38.5 38.5zm282.1 243h-66.4V312c0-24.8-.5-56.7-34.5-56.7-34.6 0-39.9 27-39.9 54.9V416h-66.4V202.2h63.7v29.2h.9c8.9-16.8 30.6-34.5 62.9-34.5 67.2 0 79.7 44.3 79.7 101.9V416z"}))},pinterest:{label:Object(g._x)("Pinterest","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 384 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M204 6.5C101.4 6.5 0 74.9 0 185.6 0 256 39.6 296 63.6 296c9.9 0 15.6-27.6 15.6-35.4 0-9.3-23.7-29.1-23.7-67.8 0-80.4 61.2-137.4 140.4-137.4 68.1 0 118.5 38.7 118.5 109.8 0 53.1-21.3 152.7-90.3 152.7-24.9 0-46.2-18-46.2-43.8 0-37.8 26.4-74.4 26.4-113.4 0-66.2-93.9-54.2-93.9 25.8 0 16.8 2.1 35.4 9.6 50.7-13.8 59.4-42 147.9-42 209.1 0 18.9 2.7 37.5 4.5 56.4 3.4 3.8 1.7 3.4 6.9 1.5 50.4-69 48.6-82.5 71.4-172.8 12.3 23.4 44.1 36 69.3 36 106.2 0 153.9-103.5 153.9-196.8C384 71.3 298.2 6.5 204 6.5z"}))},pinterestCircle:{label:Object(g._x)("Pinterest - Circle","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 496 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M496 256c0 137-111 248-248 248-25.6 0-50.2-3.9-73.4-11.1 10.1-16.5 25.2-43.5 30.8-65 3-11.6 15.4-59 15.4-59 8.1 15.4 31.7 28.5 56.8 28.5 74.8 0 128.7-68.8 128.7-154.3 0-81.9-66.9-143.2-152.9-143.2-107 0-163.9 71.8-163.9 150.1 0 36.4 19.4 81.7 50.3 96.1 4.7 2.2 7.2 1.2 8.3-3.3.8-3.4 5-20.3 6.9-28.1.6-2.5.3-4.7-1.7-7.1-10.1-12.5-18.3-35.3-18.3-56.6 0-54.7 41.4-107.6 112-107.6 60.9 0 103.6 41.5 103.6 100.9 0 67.1-33.9 113.6-78 113.6-24.3 0-42.6-20.1-36.7-44.8 7-29.5 20.5-61.3 20.5-82.6 0-19-10.2-34.9-31.4-34.9-24.9 0-44.9 25.7-44.9 60.2 0 22 7.4 36.8 7.4 36.8s-24.5 103.8-29 123.2c-5 21.4-3 51.6-.9 71.2C65.4 450.9 0 361.1 0 256 0 119 111 8 248 8s248 111 248 248z"}))},pinterestSquare:{label:Object(g._x)("Pinterest - Square","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 448 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M448 80v352c0 26.5-21.5 48-48 48H154.4c9.8-16.4 22.4-40 27.4-59.3 3-11.5 15.3-58.4 15.3-58.4 8 15.3 31.4 28.2 56.3 28.2 74.1 0 127.4-68.1 127.4-152.7 0-81.1-66.2-141.8-151.4-141.8-106 0-162.2 71.1-162.2 148.6 0 36 19.2 80.8 49.8 95.1 4.7 2.2 7.1 1.2 8.2-3.3.8-3.4 5-20.1 6.8-27.8.6-2.5.3-4.6-1.7-7-10.1-12.3-18.3-34.9-18.3-56 0-54.2 41-106.6 110.9-106.6 60.3 0 102.6 41.1 102.6 99.9 0 66.4-33.5 112.4-77.2 112.4-24.1 0-42.1-19.9-36.4-44.4 6.9-29.2 20.3-60.7 20.3-81.8 0-53-75.5-45.7-75.5 25 0 21.7 7.3 36.5 7.3 36.5-31.4 132.8-36.1 134.5-29.6 192.6l2.2.8H48c-26.5 0-48-21.5-48-48V80c0-26.5 21.5-48 48-48h352c26.5 0 48 21.5 48 48z"}))},reddit:{label:Object(g._x)("Reddit","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M440.3 203.5c-15 0-28.2 6.2-37.9 15.9-35.7-24.7-83.8-40.6-137.1-42.3L293 52.3l88.2 19.8c0 21.6 17.6 39.2 39.2 39.2 22 0 39.7-18.1 39.7-39.7s-17.6-39.7-39.7-39.7c-15.4 0-28.7 9.3-35.3 22l-97.4-21.6c-4.9-1.3-9.7 2.2-11 7.1L246.3 177c-52.9 2.2-100.5 18.1-136.3 42.8-9.7-10.1-23.4-16.3-38.4-16.3-55.6 0-73.8 74.6-22.9 100.1-1.8 7.9-2.6 16.3-2.6 24.7 0 83.8 94.4 151.7 210.3 151.7 116.4 0 210.8-67.9 210.8-151.7 0-8.4-.9-17.2-3.1-25.1 49.9-25.6 31.5-99.7-23.8-99.7zM129.4 308.9c0-22 17.6-39.7 39.7-39.7 21.6 0 39.2 17.6 39.2 39.7 0 21.6-17.6 39.2-39.2 39.2-22 .1-39.7-17.6-39.7-39.2zm214.3 93.5c-36.4 36.4-139.1 36.4-175.5 0-4-3.5-4-9.7 0-13.7 3.5-3.5 9.7-3.5 13.2 0 27.8 28.5 120 29 149 0 3.5-3.5 9.7-3.5 13.2 0 4.1 4 4.1 10.2.1 13.7zm-.8-54.2c-21.6 0-39.2-17.6-39.2-39.2 0-22 17.6-39.7 39.2-39.7 22 0 39.7 17.6 39.7 39.7-.1 21.5-17.7 39.2-39.7 39.2z"}))},redditCircle:{label:Object(g._x)("Reddit - Circle","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M201.5 305.5c-13.8 0-24.9-11.1-24.9-24.6 0-13.8 11.1-24.9 24.9-24.9 13.6 0 24.6 11.1 24.6 24.9 0 13.6-11.1 24.6-24.6 24.6zM504 256c0 137-111 248-248 248S8 393 8 256 119 8 256 8s248 111 248 248zm-132.3-41.2c-9.4 0-17.7 3.9-23.8 10-22.4-15.5-52.6-25.5-86.1-26.6l17.4-78.3 55.4 12.5c0 13.6 11.1 24.6 24.6 24.6 13.8 0 24.9-11.3 24.9-24.9s-11.1-24.9-24.9-24.9c-9.7 0-18 5.8-22.1 13.8l-61.2-13.6c-3-.8-6.1 1.4-6.9 4.4l-19.1 86.4c-33.2 1.4-63.1 11.3-85.5 26.8-6.1-6.4-14.7-10.2-24.1-10.2-34.9 0-46.3 46.9-14.4 62.8-1.1 5-1.7 10.2-1.7 15.5 0 52.6 59.2 95.2 132 95.2 73.1 0 132.3-42.6 132.3-95.2 0-5.3-.6-10.8-1.9-15.8 31.3-16 19.8-62.5-14.9-62.5zM302.8 331c-18.2 18.2-76.1 17.9-93.6 0-2.2-2.2-6.1-2.2-8.3 0-2.5 2.5-2.5 6.4 0 8.6 22.8 22.8 87.3 22.8 110.2 0 2.5-2.2 2.5-6.1 0-8.6-2.2-2.2-6.1-2.2-8.3 0zm7.7-75c-13.6 0-24.6 11.1-24.6 24.9 0 13.6 11.1 24.6 24.6 24.6 13.8 0 24.9-11.1 24.9-24.6 0-13.8-11-24.9-24.9-24.9z"}))},redditSquare:{label:Object(g._x)("Reddit - Square","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 448 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M283.2 345.5c2.7 2.7 2.7 6.8 0 9.2-24.5 24.5-93.8 24.6-118.4 0-2.7-2.4-2.7-6.5 0-9.2 2.4-2.4 6.5-2.4 8.9 0 18.7 19.2 81 19.6 100.5 0 2.4-2.3 6.6-2.3 9 0zm-91.3-53.8c0-14.9-11.9-26.8-26.5-26.8-14.9 0-26.8 11.9-26.8 26.8 0 14.6 11.9 26.5 26.8 26.5 14.6 0 26.5-11.9 26.5-26.5zm90.7-26.8c-14.6 0-26.5 11.9-26.5 26.8 0 14.6 11.9 26.5 26.5 26.5 14.9 0 26.8-11.9 26.8-26.5 0-14.9-11.9-26.8-26.8-26.8zM448 80v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V80c0-26.5 21.5-48 48-48h352c26.5 0 48 21.5 48 48zm-99.7 140.6c-10.1 0-19 4.2-25.6 10.7-24.1-16.7-56.5-27.4-92.5-28.6l18.7-84.2 59.5 13.4c0 14.6 11.9 26.5 26.5 26.5 14.9 0 26.8-12.2 26.8-26.8 0-14.6-11.9-26.8-26.8-26.8-10.4 0-19.3 6.2-23.8 14.9l-65.7-14.6c-3.3-.9-6.5 1.5-7.4 4.8l-20.5 92.8c-35.7 1.5-67.8 12.2-91.9 28.9-6.5-6.8-15.8-11-25.9-11-37.5 0-49.8 50.4-15.5 67.5-1.2 5.4-1.8 11-1.8 16.7 0 56.5 63.7 102.3 141.9 102.3 78.5 0 142.2-45.8 142.2-102.3 0-5.7-.6-11.6-2.1-17 33.6-17.2 21.2-67.2-16.1-67.2z"}))},snapchat:{label:Object(g._x)("Snapchat","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M510.846 392.673c-5.211 12.157-27.239 21.089-67.36 27.318-2.064 2.786-3.775 14.686-6.507 23.956-1.625 5.566-5.623 8.869-12.128 8.869l-.297-.005c-9.395 0-19.203-4.323-38.852-4.323-26.521 0-35.662 6.043-56.254 20.588-21.832 15.438-42.771 28.764-74.027 27.399-31.646 2.334-58.025-16.908-72.871-27.404-20.714-14.643-29.828-20.582-56.241-20.582-18.864 0-30.736 4.72-38.852 4.72-8.073 0-11.213-4.922-12.422-9.04-2.703-9.189-4.404-21.263-6.523-24.13-20.679-3.209-67.31-11.344-68.498-32.15a10.627 10.627 0 0 1 8.877-11.069c69.583-11.455 100.924-82.901 102.227-85.934.074-.176.155-.344.237-.515 3.713-7.537 4.544-13.849 2.463-18.753-5.05-11.896-26.872-16.164-36.053-19.796-23.715-9.366-27.015-20.128-25.612-27.504 2.437-12.836 21.725-20.735 33.002-15.453 8.919 4.181 16.843 6.297 23.547 6.297 5.022 0 8.212-1.204 9.96-2.171-2.043-35.936-7.101-87.29 5.687-115.969C158.122 21.304 229.705 15.42 250.826 15.42c.944 0 9.141-.089 10.11-.089 52.148 0 102.254 26.78 126.723 81.643 12.777 28.65 7.749 79.792 5.695 116.009 1.582.872 4.357 1.942 8.599 2.139 6.397-.286 13.815-2.389 22.069-6.257 6.085-2.846 14.406-2.461 20.48.058l.029.01c9.476 3.385 15.439 10.215 15.589 17.87.184 9.747-8.522 18.165-25.878 25.018-2.118.835-4.694 1.655-7.434 2.525-9.797 3.106-24.6 7.805-28.616 17.271-2.079 4.904-1.256 11.211 2.46 18.748.087.168.166.342.239.515 1.301 3.03 32.615 74.46 102.23 85.934 6.427 1.058 11.163 7.877 7.725 15.859z"}))},soundcloud:{label:Object(g._x)("Soundcloud","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 640 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M111.4 256.3l5.8 65-5.8 68.3c-.3 2.5-2.2 4.4-4.4 4.4s-4.2-1.9-4.2-4.4l-5.6-68.3 5.6-65c0-2.2 1.9-4.2 4.2-4.2 2.2 0 4.1 2 4.4 4.2zm21.4-45.6c-2.8 0-4.7 2.2-5 5l-5 105.6 5 68.3c.3 2.8 2.2 5 5 5 2.5 0 4.7-2.2 4.7-5l5.8-68.3-5.8-105.6c0-2.8-2.2-5-4.7-5zm25.5-24.1c-3.1 0-5.3 2.2-5.6 5.3l-4.4 130 4.4 67.8c.3 3.1 2.5 5.3 5.6 5.3 2.8 0 5.3-2.2 5.3-5.3l5.3-67.8-5.3-130c0-3.1-2.5-5.3-5.3-5.3zM7.2 283.2c-1.4 0-2.2 1.1-2.5 2.5L0 321.3l4.7 35c.3 1.4 1.1 2.5 2.5 2.5s2.2-1.1 2.5-2.5l5.6-35-5.6-35.6c-.3-1.4-1.1-2.5-2.5-2.5zm23.6-21.9c-1.4 0-2.5 1.1-2.5 2.5l-6.4 57.5 6.4 56.1c0 1.7 1.1 2.8 2.5 2.8s2.5-1.1 2.8-2.5l7.2-56.4-7.2-57.5c-.3-1.4-1.4-2.5-2.8-2.5zm25.3-11.4c-1.7 0-3.1 1.4-3.3 3.3L47 321.3l5.8 65.8c.3 1.7 1.7 3.1 3.3 3.1 1.7 0 3.1-1.4 3.1-3.1l6.9-65.8-6.9-68.1c0-1.9-1.4-3.3-3.1-3.3zm25.3-2.2c-1.9 0-3.6 1.4-3.6 3.6l-5.8 70 5.8 67.8c0 2.2 1.7 3.6 3.6 3.6s3.6-1.4 3.9-3.6l6.4-67.8-6.4-70c-.3-2.2-2-3.6-3.9-3.6zm241.4-110.9c-1.1-.8-2.8-1.4-4.2-1.4-2.2 0-4.2.8-5.6 1.9-1.9 1.7-3.1 4.2-3.3 6.7v.8l-3.3 176.7 1.7 32.5 1.7 31.7c.3 4.7 4.2 8.6 8.9 8.6s8.6-3.9 8.6-8.6l3.9-64.2-3.9-177.5c-.4-3-2-5.8-4.5-7.2zm-26.7 15.3c-1.4-.8-2.8-1.4-4.4-1.4s-3.1.6-4.4 1.4c-2.2 1.4-3.6 3.9-3.6 6.7l-.3 1.7-2.8 160.8s0 .3 3.1 65.6v.3c0 1.7.6 3.3 1.7 4.7 1.7 1.9 3.9 3.1 6.4 3.1 2.2 0 4.2-1.1 5.6-2.5 1.7-1.4 2.5-3.3 2.5-5.6l.3-6.7 3.1-58.6-3.3-162.8c-.3-2.8-1.7-5.3-3.9-6.7zm-111.4 22.5c-3.1 0-5.8 2.8-5.8 6.1l-4.4 140.6 4.4 67.2c.3 3.3 2.8 5.8 5.8 5.8 3.3 0 5.8-2.5 6.1-5.8l5-67.2-5-140.6c-.2-3.3-2.7-6.1-6.1-6.1zm376.7 62.8c-10.8 0-21.1 2.2-30.6 6.1-6.4-70.8-65.8-126.4-138.3-126.4-17.8 0-35 3.3-50.3 9.4-6.1 2.2-7.8 4.4-7.8 9.2v249.7c0 5 3.9 8.6 8.6 9.2h218.3c43.3 0 78.6-35 78.6-78.3.1-43.6-35.2-78.9-78.5-78.9zm-296.7-60.3c-4.2 0-7.5 3.3-7.8 7.8l-3.3 136.7 3.3 65.6c.3 4.2 3.6 7.5 7.8 7.5 4.2 0 7.5-3.3 7.5-7.5l3.9-65.6-3.9-136.7c-.3-4.5-3.3-7.8-7.5-7.8zm-53.6-7.8c-3.3 0-6.4 3.1-6.4 6.7l-3.9 145.3 3.9 66.9c.3 3.6 3.1 6.4 6.4 6.4 3.6 0 6.4-2.8 6.7-6.4l4.4-66.9-4.4-145.3c-.3-3.6-3.1-6.7-6.7-6.7zm26.7 3.4c-3.9 0-6.9 3.1-6.9 6.9L227 321.3l3.9 66.4c.3 3.9 3.1 6.9 6.9 6.9s6.9-3.1 6.9-6.9l4.2-66.4-4.2-141.7c0-3.9-3-6.9-6.9-6.9z"}))},twitch:{label:Object(g._x)("Twitch","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 448 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M40.1 32L10 108.9v314.3h107V480h60.2l56.8-56.8h87l117-117V32H40.1zm357.8 254.1L331 353H224l-56.8 56.8V353H76.9V72.1h321v214zM331 149v116.9h-40.1V149H331zm-107 0v116.9h-40.1V149H224z"}))},twitter:{label:Object(g._x)("Twitter","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z"}))},twitterSquare:{label:Object(g._x)("Twitter - Square","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 448 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M400 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zm-48.9 158.8c.2 2.8.2 5.7.2 8.5 0 86.7-66 186.6-186.6 186.6-37.2 0-71.7-10.8-100.7-29.4 5.3.6 10.4.8 15.8.8 30.7 0 58.9-10.4 81.4-28-28.8-.6-53-19.5-61.3-45.5 10.1 1.5 19.2 1.5 29.6-1.2-30-6.1-52.5-32.5-52.5-64.4v-.8c8.7 4.9 18.9 7.9 29.6 8.3a65.447 65.447 0 0 1-29.2-54.6c0-12.2 3.2-23.4 8.9-33.1 32.3 39.8 80.8 65.8 135.2 68.6-9.3-44.5 24-80.6 64-80.6 18.9 0 35.9 7.9 47.9 20.7 14.8-2.8 29-8.3 41.6-15.8-4.9 15.2-15.2 28-28.8 36.1 13.2-1.4 26-5.1 37.8-10.2-8.9 13.1-20.1 24.7-32.9 34z"}))},vimeo:{label:Object(g._x)("Vimeo","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 448 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M447.8 153.6c-2 43.6-32.4 103.3-91.4 179.1-60.9 79.2-112.4 118.8-154.6 118.8-26.1 0-48.2-24.1-66.3-72.3C100.3 250 85.3 174.3 56.2 174.3c-3.4 0-15.1 7.1-35.2 21.1L0 168.2c51.6-45.3 100.9-95.7 131.8-98.5 34.9-3.4 56.3 20.5 64.4 71.5 28.7 181.5 41.4 208.9 93.6 126.7 18.7-29.6 28.8-52.1 30.2-67.6 4.8-45.9-35.8-42.8-63.3-31 22-72.1 64.1-107.1 126.2-105.1 45.8 1.2 67.5 31.1 64.9 89.4z"}))},vimeoSquare:{label:Object(g._x)("Vimeo - Square","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 448 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M403.2 32H44.8C20.1 32 0 52.1 0 76.8v358.4C0 459.9 20.1 480 44.8 480h358.4c24.7 0 44.8-20.1 44.8-44.8V76.8c0-24.7-20.1-44.8-44.8-44.8zM377 180.8c-1.4 31.5-23.4 74.7-66 129.4-44 57.2-81.3 85.8-111.7 85.8-18.9 0-34.8-17.4-47.9-52.3-25.5-93.3-36.4-148-57.4-148-2.4 0-10.9 5.1-25.4 15.2l-15.2-19.6c37.3-32.8 72.9-69.2 95.2-71.2 25.2-2.4 40.7 14.8 46.5 51.7 20.7 131.2 29.9 151 67.6 91.6 13.5-21.4 20.8-37.7 21.8-48.9 3.5-33.2-25.9-30.9-45.8-22.4 15.9-52.1 46.3-77.4 91.2-76 33.3.9 49 22.5 47.1 64.7z"}))},whatsapp:{label:Object(g._x)("WhatsApp","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 448 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M380.9 97.1C339 55.1 283.2 32 223.9 32c-122.4 0-222 99.6-222 222 0 39.1 10.2 77.3 29.6 111L0 480l117.7-30.9c32.4 17.7 68.9 27 106.1 27h.1c122.3 0 224.1-99.6 224.1-222 0-59.3-25.2-115-67.1-157zm-157 341.6c-33.2 0-65.7-8.9-94-25.7l-6.7-4-69.8 18.3L72 359.2l-4.4-7c-18.5-29.4-28.2-63.3-28.2-98.2 0-101.7 82.8-184.5 184.6-184.5 49.3 0 95.6 19.2 130.4 54.1 34.8 34.9 56.2 81.2 56.1 130.5 0 101.8-84.9 184.6-186.6 184.6zm101.2-138.2c-5.5-2.8-32.8-16.2-37.9-18-5.1-1.9-8.8-2.8-12.5 2.8-3.7 5.6-14.3 18-17.6 21.8-3.2 3.7-6.5 4.2-12 1.4-32.6-16.3-54-29.1-75.5-66-5.7-9.8 5.7-9.1 16.3-30.3 1.8-3.7.9-6.9-.5-9.7-1.4-2.8-12.5-30.1-17.1-41.2-4.5-10.8-9.1-9.3-12.5-9.5-3.2-.2-6.9-.2-10.6-.2-3.7 0-9.7 1.4-14.8 6.9-5.1 5.6-19.4 19-19.4 46.3 0 27.3 19.9 53.7 22.6 57.4 2.8 3.7 39.1 59.7 94.8 83.8 35.2 15.2 49 16.5 66.6 13.9 10.7-1.6 32.8-13.4 37.4-26.4 4.6-13 4.6-24.1 3.2-26.4-1.3-2.5-5-3.9-10.5-6.6z"}))},whatsappSquare:{label:Object(g._x)("WhatsApp - Square","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 448 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M224 122.8c-72.7 0-131.8 59.1-131.9 131.8 0 24.9 7 49.2 20.2 70.1l3.1 5-13.3 48.6 49.9-13.1 4.8 2.9c20.2 12 43.4 18.4 67.1 18.4h.1c72.6 0 133.3-59.1 133.3-131.8 0-35.2-15.2-68.3-40.1-93.2-25-25-58-38.7-93.2-38.7zm77.5 188.4c-3.3 9.3-19.1 17.7-26.7 18.8-12.6 1.9-22.4.9-47.5-9.9-39.7-17.2-65.7-57.2-67.7-59.8-2-2.6-16.2-21.5-16.2-41s10.2-29.1 13.9-33.1c3.6-4 7.9-5 10.6-5 2.6 0 5.3 0 7.6.1 2.4.1 5.7-.9 8.9 6.8 3.3 7.9 11.2 27.4 12.2 29.4s1.7 4.3.3 6.9c-7.6 15.2-15.7 14.6-11.6 21.6 15.3 26.3 30.6 35.4 53.9 47.1 4 2 6.3 1.7 8.6-1 2.3-2.6 9.9-11.6 12.5-15.5 2.6-4 5.3-3.3 8.9-2 3.6 1.3 23.1 10.9 27.1 12.9s6.6 3 7.6 4.6c.9 1.9.9 9.9-2.4 19.1zM400 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zM223.9 413.2c-26.6 0-52.7-6.7-75.8-19.3L64 416l22.5-82.2c-13.9-24-21.2-51.3-21.2-79.3C65.4 167.1 136.5 96 223.9 96c42.4 0 82.2 16.5 112.2 46.5 29.9 30 47.9 69.8 47.9 112.2 0 87.4-72.7 158.5-160.1 158.5z"}))},youtube:{label:Object(g._x)("YouTube","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 576 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M549.655 124.083c-6.281-23.65-24.787-42.276-48.284-48.597C458.781 64 288 64 288 64S117.22 64 74.629 75.486c-23.497 6.322-42.003 24.947-48.284 48.597-11.412 42.867-11.412 132.305-11.412 132.305s0 89.438 11.412 132.305c6.281 23.65 24.787 41.5 48.284 47.821C117.22 448 288 448 288 448s170.78 0 213.371-11.486c23.497-6.321 42.003-24.171 48.284-47.821 11.412-42.867 11.412-132.305 11.412-132.305s0-89.438-11.412-132.305zm-317.51 213.508V175.185l142.739 81.205-142.739 81.201z"}))}},Be={clock:{label:Object(g._x)("Clock","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm92.49 313l-20 25a16 16 0 01-22.49 2.5l-67-49.72a40 40 0 01-15-31.23V112a16 16 0 0116-16h32a16 16 0 0116 16v144l58 42.5a16 16 0 012.49 22.5z"}))},clockAlt:{label:Object(g._x)("Clock Outline","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm0 448c-110.5 0-200-89.5-200-200S145.5 56 256 56s200 89.5 200 200-89.5 200-200 200zm61.8-104.4l-84.9-61.7c-3.1-2.3-4.9-5.9-4.9-9.7V116c0-6.6 5.4-12 12-12h32c6.6 0 12 5.4 12 12v141.7l66.8 48.6c5.4 3.9 6.5 11.4 2.6 16.8L334.6 349c-3.9 5.3-11.4 6.5-16.8 2.6z"}))},asterisk:{label:Object(g._x)("Asterisk","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M478.21 334.093L336 256l142.21-78.093c11.795-6.477 15.961-21.384 9.232-33.037l-19.48-33.741c-6.728-11.653-21.72-15.499-33.227-8.523L296 186.718l3.475-162.204C299.763 11.061 288.937 0 275.48 0h-38.96c-13.456 0-24.283 11.061-23.994 24.514L216 186.718 77.265 102.607c-11.506-6.976-26.499-3.13-33.227 8.523l-19.48 33.741c-6.728 11.653-2.562 26.56 9.233 33.037L176 256 33.79 334.093c-11.795 6.477-15.961 21.384-9.232 33.037l19.48 33.741c6.728 11.653 21.721 15.499 33.227 8.523L216 325.282l-3.475 162.204C212.237 500.939 223.064 512 236.52 512h38.961c13.456 0 24.283-11.061 23.995-24.514L296 325.282l138.735 84.111c11.506 6.976 26.499 3.13 33.227-8.523l19.48-33.741c6.728-11.653 2.563-26.559-9.232-33.036z"}))},at:{label:Object(g._x)("At","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M256 8C118.941 8 8 118.919 8 256c0 137.059 110.919 248 248 248 48.154 0 95.342-14.14 135.408-40.223 12.005-7.815 14.625-24.288 5.552-35.372l-10.177-12.433c-7.671-9.371-21.179-11.667-31.373-5.129C325.92 429.757 291.314 440 256 440c-101.458 0-184-82.542-184-184S154.542 72 256 72c100.139 0 184 57.619 184 160 0 38.786-21.093 79.742-58.17 83.693-17.349-.454-16.91-12.857-13.476-30.024l23.433-121.11C394.653 149.75 383.308 136 368.225 136h-44.981a13.518 13.518 0 0 0-13.432 11.993l-.01.092c-14.697-17.901-40.448-21.775-59.971-21.775-74.58 0-137.831 62.234-137.831 151.46 0 65.303 36.785 105.87 96 105.87 26.984 0 57.369-15.637 74.991-38.333 9.522 34.104 40.613 34.103 70.71 34.103C462.609 379.41 504 307.798 504 232 504 95.653 394.023 8 256 8zm-21.68 304.43c-22.249 0-36.07-15.623-36.07-40.771 0-44.993 30.779-72.729 58.63-72.729 22.292 0 35.601 15.241 35.601 40.77 0 45.061-33.875 72.73-58.161 72.73z"}))},award:{label:Object(g._x)("Award","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 384 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M97.12 362.63c-8.69-8.69-4.16-6.24-25.12-11.85-9.51-2.55-17.87-7.45-25.43-13.32L1.2 448.7c-4.39 10.77 3.81 22.47 15.43 22.03l52.69-2.01L105.56 507c8 8.44 22.04 5.81 26.43-4.96l52.05-127.62c-10.84 6.04-22.87 9.58-35.31 9.58-19.5 0-37.82-7.59-51.61-21.37zM382.8 448.7l-45.37-111.24c-7.56 5.88-15.92 10.77-25.43 13.32-21.07 5.64-16.45 3.18-25.12 11.85-13.79 13.78-32.12 21.37-51.62 21.37-12.44 0-24.47-3.55-35.31-9.58L252 502.04c4.39 10.77 18.44 13.4 26.43 4.96l36.25-38.28 52.69 2.01c11.62.44 19.82-11.27 15.43-22.03zM263 340c15.28-15.55 17.03-14.21 38.79-20.14 13.89-3.79 24.75-14.84 28.47-28.98 7.48-28.4 5.54-24.97 25.95-45.75 10.17-10.35 14.14-25.44 10.42-39.58-7.47-28.38-7.48-24.42 0-52.83 3.72-14.14-.25-29.23-10.42-39.58-20.41-20.78-18.47-17.36-25.95-45.75-3.72-14.14-14.58-25.19-28.47-28.98-27.88-7.61-24.52-5.62-44.95-26.41-10.17-10.35-25-14.4-38.89-10.61-27.87 7.6-23.98 7.61-51.9 0-13.89-3.79-28.72.25-38.89 10.61-20.41 20.78-17.05 18.8-44.94 26.41-13.89 3.79-24.75 14.84-28.47 28.98-7.47 28.39-5.54 24.97-25.95 45.75-10.17 10.35-14.15 25.44-10.42 39.58 7.47 28.36 7.48 24.4 0 52.82-3.72 14.14.25 29.23 10.42 39.59 20.41 20.78 18.47 17.35 25.95 45.75 3.72 14.14 14.58 25.19 28.47 28.98C104.6 325.96 106.27 325 121 340c13.23 13.47 33.84 15.88 49.74 5.82a39.676 39.676 0 0 1 42.53 0c15.89 10.06 36.5 7.65 49.73-5.82zM97.66 175.96c0-53.03 42.24-96.02 94.34-96.02s94.34 42.99 94.34 96.02-42.24 96.02-94.34 96.02-94.34-42.99-94.34-96.02z"}))},ban:{label:Object(g._x)("Ban","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M256 8C119.034 8 8 119.033 8 256s111.034 248 248 248 248-111.034 248-248S392.967 8 256 8zm130.108 117.892c65.448 65.448 70 165.481 20.677 235.637L150.47 105.216c70.204-49.356 170.226-44.735 235.638 20.676zM125.892 386.108c-65.448-65.448-70-165.481-20.677-235.637L361.53 406.784c-70.203 49.356-170.226 44.736-235.638-20.676z"}))},bars:{label:Object(g._x)("Bars","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 448 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M16 132h416c8.837 0 16-7.163 16-16V76c0-8.837-7.163-16-16-16H16C7.163 60 0 67.163 0 76v40c0 8.837 7.163 16 16 16zm0 160h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16zm0 160h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16z"}))},beer:{label:Object(g._x)("Beer","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 448 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M368 96h-48V56c0-13.255-10.745-24-24-24H24C10.745 32 0 42.745 0 56v400c0 13.255 10.745 24 24 24h272c13.255 0 24-10.745 24-24v-42.11l80.606-35.977C429.396 365.063 448 336.388 448 304.86V176c0-44.112-35.888-80-80-80zm16 208.86a16.018 16.018 0 0 1-9.479 14.611L320 343.805V160h48c8.822 0 16 7.178 16 16v128.86zM208 384c-8.836 0-16-7.164-16-16V144c0-8.836 7.164-16 16-16s16 7.164 16 16v224c0 8.836-7.164 16-16 16zm-96 0c-8.836 0-16-7.164-16-16V144c0-8.836 7.164-16 16-16s16 7.164 16 16v224c0 8.836-7.164 16-16 16z"}))},bolt:{label:Object(g._x)("Bolt","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 320 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M296 160H180.6l42.6-129.8C227.2 15 215.7 0 200 0H56C44 0 33.8 8.9 32.2 20.8l-32 240C-1.7 275.2 9.5 288 24 288h118.7L96.6 482.5c-3.6 15.2 8 29.5 23.3 29.5 8.4 0 16.4-4.4 20.8-12l176-304c9.3-15.9-2.2-36-20.7-36z"}))},book:{label:Object(g._x)("Book","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 448 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M448 360V24c0-13.3-10.7-24-24-24H96C43 0 0 43 0 96v320c0 53 43 96 96 96h328c13.3 0 24-10.7 24-24v-16c0-7.5-3.5-14.3-8.9-18.7-4.2-15.4-4.2-59.3 0-74.7 5.4-4.3 8.9-11.1 8.9-18.6zM128 134c0-3.3 2.7-6 6-6h212c3.3 0 6 2.7 6 6v20c0 3.3-2.7 6-6 6H134c-3.3 0-6-2.7-6-6v-20zm0 64c0-3.3 2.7-6 6-6h212c3.3 0 6 2.7 6 6v20c0 3.3-2.7 6-6 6H134c-3.3 0-6-2.7-6-6v-20zm253.4 250H96c-17.7 0-32-14.3-32-32 0-17.6 14.4-32 32-32h285.4c-1.9 17.1-1.9 46.9 0 64z"}))},boxOpen:{label:Object(g._x)("Box - Open","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 640 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M425.7 256c-16.9 0-32.8-9-41.4-23.4L320 126l-64.2 106.6c-8.7 14.5-24.6 23.5-41.5 23.5-4.5 0-9-.6-13.3-1.9L64 215v178c0 14.7 10 27.5 24.2 31l216.2 54.1c10.2 2.5 20.9 2.5 31 0L551.8 424c14.2-3.6 24.2-16.4 24.2-31V215l-137 39.1c-4.3 1.3-8.8 1.9-13.3 1.9zm212.6-112.2L586.8 41c-3.1-6.2-9.8-9.8-16.7-8.9L320 64l91.7 152.1c3.8 6.3 11.4 9.3 18.5 7.3l197.9-56.5c9.9-2.9 14.7-13.9 10.2-23.1zM53.2 41L1.7 143.8c-4.6 9.2.3 20.2 10.1 23l197.9 56.5c7.1 2 14.7-1 18.5-7.3L320 64 69.8 32.1c-6.9-.8-13.5 2.7-16.6 8.9z"}))},bullhorn:{label:Object(g._x)("Bullhorn","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 576 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M576 240c0-23.63-12.95-44.04-32-55.12V32.01C544 23.26 537.02 0 512 0c-7.12 0-14.19 2.38-19.98 7.02l-85.03 68.03C364.28 109.19 310.66 128 256 128H64c-35.35 0-64 28.65-64 64v96c0 35.35 28.65 64 64 64h33.7c-1.39 10.48-2.18 21.14-2.18 32 0 39.77 9.26 77.35 25.56 110.94 5.19 10.69 16.52 17.06 28.4 17.06h74.28c26.05 0 41.69-29.84 25.9-50.56-16.4-21.52-26.15-48.36-26.15-77.44 0-11.11 1.62-21.79 4.41-32H256c54.66 0 108.28 18.81 150.98 52.95l85.03 68.03a32.023 32.023 0 0 0 19.98 7.02c24.92 0 32-22.78 32-32V295.13C563.05 284.04 576 263.63 576 240zm-96 141.42l-33.05-26.44C392.95 311.78 325.12 288 256 288v-96c69.12 0 136.95-23.78 190.95-66.98L480 98.58v282.84z"}))},bullseye:{label:Object(g._x)("Bullseye","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 496 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M248 8C111.03 8 0 119.03 0 256s111.03 248 248 248 248-111.03 248-248S384.97 8 248 8zm0 432c-101.69 0-184-82.29-184-184 0-101.69 82.29-184 184-184 101.69 0 184 82.29 184 184 0 101.69-82.29 184-184 184zm0-312c-70.69 0-128 57.31-128 128s57.31 128 128 128 128-57.31 128-128-57.31-128-128-128zm0 192c-35.29 0-64-28.71-64-64s28.71-64 64-64 64 28.71 64 64-28.71 64-64 64z"}))},burn:{label:Object(g._x)("Burn","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 384 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M192 0C79.7 101.3 0 220.9 0 300.5 0 425 79 512 192 512s192-87 192-211.5c0-79.9-80.2-199.6-192-300.5zm0 448c-56.5 0-96-39-96-94.8 0-13.5 4.6-61.5 96-161.2 91.4 99.7 96 147.7 96 161.2 0 55.8-39.5 94.8-96 94.8z"}))},calendarAlt:{label:Object(g._x)("Calender","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 448 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M148 288h-40c-6.6 0-12-5.4-12-12v-40c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12zm108-12v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm96 0v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm-96 96v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm-96 0v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm192 0v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm96-260v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V112c0-26.5 21.5-48 48-48h48V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h128V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h48c26.5 0 48 21.5 48 48zm-48 346V160H48v298c0 3.3 2.7 6 6 6h340c3.3 0 6-2.7 6-6z"}))},check:{label:Object(g._x)("Check","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z"}))},checkCircle:{label:Object(g._x)("Check - Circle","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M504 256c0 136.967-111.033 248-248 248S8 392.967 8 256 119.033 8 256 8s248 111.033 248 248zM227.314 387.314l184-184c6.248-6.248 6.248-16.379 0-22.627l-22.627-22.627c-6.248-6.249-16.379-6.249-22.628 0L216 308.118l-70.059-70.059c-6.248-6.248-16.379-6.248-22.628 0l-22.627 22.627c-6.248 6.248-6.248 16.379 0 22.627l104 104c6.249 6.249 16.379 6.249 22.628.001z"}))},checkCircleOutline:{label:Object(g._x)("Check - Circle Outline","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M256 8C119.033 8 8 119.033 8 256s111.033 248 248 248 248-111.033 248-248S392.967 8 256 8zm0 48c110.532 0 200 89.451 200 200 0 110.532-89.451 200-200 200-110.532 0-200-89.451-200-200 0-110.532 89.451-200 200-200m140.204 130.267l-22.536-22.718c-4.667-4.705-12.265-4.736-16.97-.068L215.346 303.697l-59.792-60.277c-4.667-4.705-12.265-4.736-16.97-.069l-22.719 22.536c-4.705 4.667-4.736 12.265-.068 16.971l90.781 91.516c4.667 4.705 12.265 4.736 16.97.068l172.589-171.204c4.704-4.668 4.734-12.266.067-16.971z"}))},checkSquare:{label:Object(g._x)("Check - Square","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 448 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M400 480H48c-26.51 0-48-21.49-48-48V80c0-26.51 21.49-48 48-48h352c26.51 0 48 21.49 48 48v352c0 26.51-21.49 48-48 48zm-204.686-98.059l184-184c6.248-6.248 6.248-16.379 0-22.627l-22.627-22.627c-6.248-6.248-16.379-6.249-22.628 0L184 302.745l-70.059-70.059c-6.248-6.248-16.379-6.248-22.628 0l-22.627 22.627c-6.248 6.248-6.248 16.379 0 22.627l104 104c6.249 6.25 16.379 6.25 22.628.001z"}))},checkSquareOutline:{label:Object(g._x)("Check - Square Outline","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 448 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M400 32H48C21.49 32 0 53.49 0 80v352c0 26.51 21.49 48 48 48h352c26.51 0 48-21.49 48-48V80c0-26.51-21.49-48-48-48zm0 400H48V80h352v352zm-35.864-241.724L191.547 361.48c-4.705 4.667-12.303 4.637-16.97-.068l-90.781-91.516c-4.667-4.705-4.637-12.303.069-16.971l22.719-22.536c4.705-4.667 12.303-4.637 16.97.069l59.792 60.277 141.352-140.216c4.705-4.667 12.303-4.637 16.97.068l22.536 22.718c4.667 4.706 4.637 12.304-.068 16.971z"}))},chevronDown:{label:Object(g._x)("Chevron - Down","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 448 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M207.029 381.476L12.686 187.132c-9.373-9.373-9.373-24.569 0-33.941l22.667-22.667c9.357-9.357 24.522-9.375 33.901-.04L224 284.505l154.745-154.021c9.379-9.335 24.544-9.317 33.901.04l22.667 22.667c9.373 9.373 9.373 24.569 0 33.941L240.971 381.476c-9.373 9.372-24.569 9.372-33.942 0z"}))},chevronLeft:{label:Object(g._x)("Chevron - Left","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 256 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M31.7 239l136-136c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9L127.9 256l96.4 96.4c9.4 9.4 9.4 24.6 0 33.9L201.7 409c-9.4 9.4-24.6 9.4-33.9 0l-136-136c-9.5-9.4-9.5-24.6-.1-34z"}))},chevronRight:{label:Object(g._x)("Chevron - Right","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 256 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z"}))},chevronUp:{label:Object(g._x)("Chevron - Up","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 448 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M240.971 130.524l194.343 194.343c9.373 9.373 9.373 24.569 0 33.941l-22.667 22.667c-9.357 9.357-24.522 9.375-33.901.04L224 227.495 69.255 381.516c-9.379 9.335-24.544 9.317-33.901-.04l-22.667-22.667c-9.373-9.373-9.373-24.569 0-33.941L207.03 130.525c9.372-9.373 24.568-9.373 33.941-.001z"}))},circle:{label:Object(g._x)("Circle","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8z"}))},circleOutline:{label:Object(g._x)("Circle - Outline","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm0 448c-110.5 0-200-89.5-200-200S145.5 56 256 56s200 89.5 200 200-89.5 200-200 200z"}))},coffee:{label:Object(g._x)("Coffee","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 640 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M192 384h192c53 0 96-43 96-96h32c70.6 0 128-57.4 128-128S582.6 32 512 32H120c-13.3 0-24 10.7-24 24v232c0 53 43 96 96 96zM512 96c35.3 0 64 28.7 64 64s-28.7 64-64 64h-32V96h32zm47.7 384H48.3c-47.6 0-61-64-36-64h583.3c25 0 11.8 64-35.9 64z"}))},dotCircle:{label:Object(g._x)("Dot - Circle","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M256 8C119.033 8 8 119.033 8 256s111.033 248 248 248 248-111.033 248-248S392.967 8 256 8zm80 248c0 44.112-35.888 80-80 80s-80-35.888-80-80 35.888-80 80-80 80 35.888 80 80z"}))},dotCircleOutline:{label:Object(g._x)("Dot - Circle Outline","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M256 56c110.532 0 200 89.451 200 200 0 110.532-89.451 200-200 200-110.532 0-200-89.451-200-200 0-110.532 89.451-200 200-200m0-48C119.033 8 8 119.033 8 256s111.033 248 248 248 248-111.033 248-248S392.967 8 256 8zm0 168c-44.183 0-80 35.817-80 80s35.817 80 80 80 80-35.817 80-80-35.817-80-80-80z"}))},ellipsesH:{label:Object(g._x)("Ellipses - Horizontal","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M328 256c0 39.8-32.2 72-72 72s-72-32.2-72-72 32.2-72 72-72 72 32.2 72 72zm104-72c-39.8 0-72 32.2-72 72s32.2 72 72 72 72-32.2 72-72-32.2-72-72-72zm-352 0c-39.8 0-72 32.2-72 72s32.2 72 72 72 72-32.2 72-72-32.2-72-72-72z"}))},ellipsesV:{label:Object(g._x)("Ellipses - Vertical","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 192 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M96 184c39.8 0 72 32.2 72 72s-32.2 72-72 72-72-32.2-72-72 32.2-72 72-72zM24 80c0 39.8 32.2 72 72 72s72-32.2 72-72S135.8 8 96 8 24 40.2 24 80zm0 352c0 39.8 32.2 72 72 72s72-32.2 72-72-32.2-72-72-72-72 32.2-72 72z"}))},envelope:{label:Object(g._x)("Envelope","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M464 64H48C21.49 64 0 85.49 0 112v288c0 26.51 21.49 48 48 48h416c26.51 0 48-21.49 48-48V112c0-26.51-21.49-48-48-48zm0 48v40.805c-22.422 18.259-58.168 46.651-134.587 106.49-16.841 13.247-50.201 45.072-73.413 44.701-23.208.375-56.579-31.459-73.413-44.701C106.18 199.465 70.425 171.067 48 152.805V112h416zM48 400V214.398c22.914 18.251 55.409 43.862 104.938 82.646 21.857 17.205 60.134 55.186 103.062 54.955 42.717.231 80.509-37.199 103.053-54.947 49.528-38.783 82.032-64.401 104.947-82.653V400H48z"}))},fireAlt:{label:Object(g._x)("Fire","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 448 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M323.56 51.2c-20.8 19.3-39.58 39.59-56.22 59.97C240.08 73.62 206.28 35.53 168 0 69.74 91.17 0 209.96 0 281.6 0 408.85 100.29 512 224 512s224-103.15 224-230.4c0-53.27-51.98-163.14-124.44-230.4zm-19.47 340.65C282.43 407.01 255.72 416 226.86 416 154.71 416 96 368.26 96 290.75c0-38.61 24.31-72.63 72.79-130.75 6.93 7.98 98.83 125.34 98.83 125.34l58.63-66.88c4.14 6.85 7.91 13.55 11.27 19.97 27.35 52.19 15.81 118.97-33.43 153.42z"}))},heart:{label:Object(g._x)("Heart","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M462.3 62.6C407.5 15.9 326 24.3 275.7 76.2L256 96.5l-19.7-20.3C186.1 24.3 104.5 15.9 49.7 62.6c-62.8 53.6-66.1 149.8-9.9 207.9l193.5 199.8c12.5 12.9 32.8 12.9 45.3 0l193.5-199.8c56.3-58.1 53-154.3-9.8-207.9z"}))},mapMarkerAlt:{label:Object(g._x)("Map Marker","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 384 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M172.268 501.67C26.97 291.031 0 269.413 0 192 0 85.961 85.961 0 192 0s192 85.961 192 192c0 77.413-26.97 99.031-172.268 309.67-9.535 13.774-29.93 13.773-39.464 0zM192 272c44.183 0 80-35.817 80-80s-35.817-80-80-80-80 35.817-80 80 35.817 80 80 80z"}))},paperPlane:{label:Object(g._x)("Paper Plane","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M440 6.5L24 246.4c-34.4 19.9-31.1 70.8 5.7 85.9L144 379.6V464c0 46.4 59.2 65.5 86.6 28.6l43.8-59.1 111.9 46.2c5.9 2.4 12.1 3.6 18.3 3.6 8.2 0 16.3-2.1 23.6-6.2 12.8-7.2 21.6-20 23.9-34.5l59.4-387.2c6.1-40.1-36.9-68.8-71.5-48.9zM192 464v-64.6l36.6 15.1L192 464zm212.6-28.7l-153.8-63.5L391 169.5c10.7-15.5-9.5-33.5-23.7-21.2L155.8 332.6 48 288 464 48l-59.4 387.3z"}))},phone:{label:Object(g._x)("Phone","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M493.4 24.6l-104-24c-11.3-2.6-22.9 3.3-27.5 13.9l-48 112c-4.2 9.8-1.4 21.3 6.9 28l60.6 49.6c-36 76.7-98.9 140.5-177.2 177.2l-49.6-60.6c-6.8-8.3-18.2-11.1-28-6.9l-112 48C3.9 366.5-2 378.1.6 389.4l24 104C27.1 504.2 36.7 512 48 512c256.1 0 464-207.5 464-464 0-11.2-7.7-20.9-18.6-23.4z"}))},plus:{label:Object(g._x)("Plus","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 448 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M416 208H272V64c0-17.67-14.33-32-32-32h-32c-17.67 0-32 14.33-32 32v144H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h144v144c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32V304h144c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z"}))},plusCircle:{label:Object(g._x)("Plus - Circle","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm144 276c0 6.6-5.4 12-12 12h-92v92c0 6.6-5.4 12-12 12h-56c-6.6 0-12-5.4-12-12v-92h-92c-6.6 0-12-5.4-12-12v-56c0-6.6 5.4-12 12-12h92v-92c0-6.6 5.4-12 12-12h56c6.6 0 12 5.4 12 12v92h92c6.6 0 12 5.4 12 12v56z"}))},plusSquare:{label:Object(g._x)("Plus - Square","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 448 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M400 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zm-32 252c0 6.6-5.4 12-12 12h-92v92c0 6.6-5.4 12-12 12h-56c-6.6 0-12-5.4-12-12v-92H92c-6.6 0-12-5.4-12-12v-56c0-6.6 5.4-12 12-12h92v-92c0-6.6 5.4-12 12-12h56c6.6 0 12 5.4 12 12v92h92c6.6 0 12 5.4 12 12v56z"}))},plusSquareOutline:{label:Object(g._x)("Plus - Square Outline","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 448 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M352 240v32c0 6.6-5.4 12-12 12h-88v88c0 6.6-5.4 12-12 12h-32c-6.6 0-12-5.4-12-12v-88h-88c-6.6 0-12-5.4-12-12v-32c0-6.6 5.4-12 12-12h88v-88c0-6.6 5.4-12 12-12h32c6.6 0 12 5.4 12 12v88h88c6.6 0 12 5.4 12 12zm96-160v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V80c0-26.5 21.5-48 48-48h352c26.5 0 48 21.5 48 48zm-48 346V86c0-3.3-2.7-6-6-6H54c-3.3 0-6 2.7-6 6v340c0 3.3 2.7 6 6 6h340c3.3 0 6-2.7 6-6z"}))},shield:{label:Object(g._x)("Shield","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M466.5 83.7l-192-80a48.15 48.15 0 0 0-36.9 0l-192 80C27.7 91.1 16 108.6 16 128c0 198.5 114.5 335.7 221.5 380.3 11.8 4.9 25.1 4.9 36.9 0C360.1 472.6 496 349.3 496 128c0-19.4-11.7-36.9-29.5-44.3zM256.1 446.3l-.1-381 175.9 73.3c-3.3 151.4-82.1 261.1-175.8 307.7z"}))},star:{label:Object(g._x)("Star","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 576 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M259.3 17.8L194 150.2 47.9 171.5c-26.2 3.8-36.7 36.1-17.7 54.6l105.7 103-25 145.5c-4.5 26.3 23.2 46 46.4 33.7L288 439.6l130.7 68.7c23.2 12.2 50.9-7.4 46.4-33.7l-25-145.5 105.7-103c19-18.5 8.5-50.8-17.7-54.6L382 150.2 316.7 17.8c-11.7-23.6-45.6-23.9-57.4 0z"}))},tags:{label:Object(g._x)("Tags","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 640 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M497.941 225.941L286.059 14.059A48 48 0 0 0 252.118 0H48C21.49 0 0 21.49 0 48v204.118a48 48 0 0 0 14.059 33.941l211.882 211.882c18.744 18.745 49.136 18.746 67.882 0l204.118-204.118c18.745-18.745 18.745-49.137 0-67.882zM112 160c-26.51 0-48-21.49-48-48s21.49-48 48-48 48 21.49 48 48-21.49 48-48 48zm513.941 133.823L421.823 497.941c-18.745 18.745-49.137 18.745-67.882 0l-.36-.36L527.64 323.522c16.999-16.999 26.36-39.6 26.36-63.64s-9.362-46.641-26.36-63.64L331.397 0h48.721a48 48 0 0 1 33.941 14.059l211.882 211.882c18.745 18.745 18.745 49.137 0 67.882z"}))},userCircle:{label:Object(g._x)("User - Circle","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 496 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 96c48.6 0 88 39.4 88 88s-39.4 88-88 88-88-39.4-88-88 39.4-88 88-88zm0 344c-58.7 0-111.3-26.6-146.5-68.2 18.8-35.4 55.6-59.8 98.5-59.8 2.4 0 4.8.4 7.1 1.1 13 4.2 26.6 6.9 40.9 6.9 14.3 0 28-2.7 40.9-6.9 2.3-.7 4.7-1.1 7.1-1.1 42.9 0 79.7 24.4 98.5 59.8C359.3 421.4 306.7 448 248 448z"}))}};class _e extends l.Component{constructor(){super(...arguments),this.state={showIcons:!1,showGeneralIcons:!1,showSocialIcons:!1}}render(){const{attributes:e,setAttributes:t,attrIcon:a,attrIconLocation:i,locationOptions:r,attrRemoveText:n}=this.props;let o={general:{group:Object(g.__)("General","generateblocks"),svgs:Be},social:{group:Object(g.__)("Social","generateblocks"),svgs:Ce}};return o=Object(d.applyFilters)("generateblocks.editor.iconSVGSets",o),Object(l.createElement)(l.Fragment,null,Object(l.createElement)(b.BaseControl,{className:"gb-svg-html"},Object(l.createElement)(b.TextControl,{label:Object(g.__)("Icon SVG HTML","generateblocks"),value:e[a],onChange:e=>{t({[this.props.attrIcon]:Q(e)}),t(""!==e?{hasIcon:!0}:{hasIcon:!1})}}),Object(l.createElement)("div",{className:"gb-icon-preview"},Object(l.createElement)("span",{dangerouslySetInnerHTML:{__html:Q(e[a])}}),Object(l.createElement)(b.Button,{isSmall:!0,className:"reset-icon is-secondary",onClick:()=>{t({[this.props.attrIcon]:"",hasIcon:!1})}},Object(l.createElement)("span",{className:"editor-block-types-list__item-icon"},Object(g.__)("Clear","generateblocks"))))),Object(l.createElement)(b.BaseControl,{className:"gb-icon-chooser"},Object.keys(o).map((e,a)=>{const i=o[e].svgs;return Object(l.createElement)(b.PanelBody,{title:o[e].group,initialOpen:!1,key:a},Object(l.createElement)(b.PanelRow,null,Object(l.createElement)(b.BaseControl,null,Object(l.createElement)("ul",{className:"gblocks-icon-chooser"},Object.keys(i).map((e,a)=>Object(l.createElement)("li",{key:"editor-pblock-types-list-item-"+a},Object(l.createElement)(b.Tooltip,{text:i[e].label},Object(l.createElement)(b.Button,{className:"editor-block-list-item-button",onClick:()=>{let a=i[e].icon;"string"!=typeof a&&(a=Object(l.renderToString)(a)),t({[this.props.attrIcon]:a,hasIcon:!0})}},"string"==typeof i[e].icon?Object(l.createElement)(l.Fragment,null,Object(l.createElement)("span",{className:"editor-block-types-list__item-icon",dangerouslySetInnerHTML:{__html:Q(i[e].icon)}})):Object(l.createElement)(l.Fragment,null,Object(l.createElement)("span",{className:"editor-block-types-list__item-icon"},i[e].icon))))))))))})),void 0!==e[i]&&!e[n]&&!!e[a]&&Object(l.createElement)(b.SelectControl,{label:Object(g.__)("Icon Location","generateblocks"),value:e[i],options:r,onChange:a=>{const l=e.iconPaddingLeft,i=e.iconPaddingRight,r=e.iconPaddingRightTablet,n=e.iconPaddingLeftTablet,o=e.iconPaddingRightMobile,c=e.iconPaddingLeftMobile;"right"===a&&(!l&&i&&t({iconPaddingLeft:i,iconPaddingRight:""}),!n&&r&&t({iconPaddingLeftTablet:r,iconPaddingRightTablet:""}),!c&&o&&t({iconPaddingLeftMobile:o,iconPaddingRightMobile:""})),"left"===a&&(!i&&l&&t({iconPaddingRight:l,iconPaddingLeft:""}),!r&&n&&t({iconPaddingRightTablet:n,iconPaddingLeftTablet:""}),!o&&c&&t({iconPaddingRightMobile:c,iconPaddingLeftMobile:""})),t({[this.props.attrIconLocation]:a})}}),void 0!==e[n]&&!!e[a]&&Object(l.createElement)(b.ToggleControl,{label:Object(g.__)("Remove Text","generateblocks"),checked:!!e[n],onChange:e=>{t({[this.props.attrRemoveText]:e})}}))}}var Se=_e;class xe extends l.Component{constructor(){super(...arguments),this.state={moreOptions:!1},this.onChange=this.onChange.bind(this)}onChange(e){const{url:t,target:a,relNoFollow:l,relSponsored:i}=this.props;this.props.onChange({url:t,target:a,relNoFollow:l,relSponsored:i,...e})}render(){const{url:e,target:t,relNoFollow:a,relSponsored:i,className:r,autoFocus:n}=this.props,{onChange:c}=this,{moreOptions:p}=this.state;return Object(l.createElement)("div",{className:o()("gblocks-component-url-input",r)},Object(l.createElement)("div",{className:"gblocks-component-url-input-flex"},Object(l.createElement)(x.URLInput,{value:e,onChange:e=>{c({url:e})},autoFocus:n}),Object(l.createElement)(b.Button,{icon:s("ellipsis"),label:p?Object(g.__)("Hide More Options","generateblocks"):Object(g.__)("Show More Options","generateblocks"),onClick:()=>{this.setState({moreOptions:!p})}})),p&&Object(l.createElement)("div",{className:"gblocks-component-url-input-more-options"},Object(d.applyFilters)("generateblocks.editor.urlInputMoreOptions","",this.props,this.state),Object(l.createElement)(b.ToggleControl,{label:Object(g.__)("Open link in a new tab","generateblocks"),checked:t||"",onChange:e=>{c({target:e})}}),Object(l.createElement)(b.ToggleControl,{label:Object(g.__)('Add rel="nofollow"',"generateblocks"),checked:a||"",onChange:e=>{c({relNoFollow:e})}}),Object(l.createElement)(b.ToggleControl,{label:Object(g.__)('Add rel="sponsored"',"generateblocks"),checked:i||"",onChange:e=>{c({relSponsored:e})}})))}}class Ee extends l.Component{render(){const e=Object(d.applyFilters)("generateblocks.editor.cssAttrs",this.props.attributes,this.props),{url:t,uniqueId:a,removeText:i,backgroundColor:r,backgroundColorOpacity:n,textColor:o,backgroundColorHover:c,backgroundColorHoverOpacity:s,textColorHover:g,fontFamily:b,fontFamilyFallback:p,fontWeight:u,textTransform:m,letterSpacing:k,fontSize:w,fontSizeUnit:y,marginTop:O,marginRight:v,marginBottom:j,marginLeft:T,marginUnit:C,paddingTop:B,paddingRight:_,paddingBottom:S,paddingLeft:x,paddingUnit:E,borderSizeTop:D,borderSizeRight:M,borderSizeBottom:z,borderSizeLeft:R,borderRadiusTopRight:L,borderRadiusBottomRight:F,borderRadiusBottomLeft:A,borderRadiusTopLeft:N,borderRadiusUnit:U,borderColor:P,borderColorOpacity:I,borderColorHover:G,borderColorHoverOpacity:V,gradient:W,gradientDirection:q,gradientColorOne:Z,gradientColorOneOpacity:K,gradientColorStopOne:J,gradientColorTwo:Y,gradientColorTwoOpacity:$,gradientColorStopTwo:Q,iconPaddingTop:X,iconPaddingRight:te,iconPaddingBottom:ae,iconPaddingLeft:le,iconPaddingUnit:ie,iconSize:re,iconSizeUnit:ne}=e;let oe,ce="",se="",ge="";W&&(Z&&""!==J&&(se=" "+J+"%"),Y&&""!==Q&&(ge=" "+Q+"%")),W&&(oe="linear-gradient("+q+"deg, "+H(Z,K)+se+", "+H(Y,$)+ge+");"),b&&p&&(ce=", "+p);let be="a.gb-button-"+a;t||(be=".gb-button-"+a);let de=[];return de[".block-editor-block-list__block "+be]=[{"background-color":H(r,n),"background-image":oe,color:o,padding:ee(B,_,S,x,E),"border-radius":ee(N,L,F,A,U),"font-family":b+ce,"font-weight":u,"text-transform":m,"font-size":f(w,y),"letter-spacing":f(k,"em"),margin:ee(O,v,j,T,C),"border-color":H(P,I)}],(D||M||z||R)&&de[".block-editor-block-list__block "+be].push({"border-width":ee(D,M,z,R,"px"),"border-style":"solid"}),de[".block-editor-block-list__block "+be+":hover,\n\t\t.block-editor-block-list__block "+be+":focus,\n\t\t.block-editor-block-list__block "+be+":active"]=[{"background-color":H(c,s),color:g,"border-color":H(G,V)}],de[".block-editor-block-list__block "+be+" .gb-icon"]=[{padding:!i&&ee(X,te,ae,le,ie),"font-size":f(re,ne)}],de=Object(d.applyFilters)("generateblocks.editor.mainCSS",de,this.props,"button"),Object(l.createElement)("style",null,h(de))}}class De extends l.Component{render(){let e=[];return e=Object(d.applyFilters)("generateblocks.editor.desktopCSS",e,this.props,"button"),Object(l.createElement)("style",null,h(e))}}class Me extends l.Component{render(){const e=Object(d.applyFilters)("generateblocks.editor.cssAttrs",this.props.attributes,this.props),{url:t,uniqueId:a,removeText:i,letterSpacingTablet:r,fontSizeTablet:n,fontSizeUnit:o,marginTopTablet:c,marginRightTablet:s,marginBottomTablet:g,marginLeftTablet:b,marginUnit:p,paddingTopTablet:u,paddingRightTablet:m,paddingBottomTablet:k,paddingLeftTablet:w,paddingUnit:y,borderSizeTopTablet:O,borderSizeRightTablet:v,borderSizeBottomTablet:j,borderSizeLeftTablet:T,borderRadiusTopRightTablet:C,borderRadiusBottomRightTablet:B,borderRadiusBottomLeftTablet:_,borderRadiusTopLeftTablet:S,borderRadiusUnit:x,iconPaddingTopTablet:E,iconPaddingRightTablet:D,iconPaddingBottomTablet:M,iconPaddingLeftTablet:z,iconPaddingUnit:R,iconSizeTablet:L,iconSizeUnit:F}=e;let A="a.gb-button-"+a;t||(A=".gb-button-"+a);let N=[];return N[".block-editor-block-list__block "+A]=[{"padding-top":f(u,y),"padding-right":f(m,y),"padding-bottom":f(k,y),"padding-left":f(w,y),"border-top-left-radius":f(S,x),"border-top-right-radius":f(C,x),"border-bottom-right-radius":f(B,x),"border-bottom-left-radius":f(_,x),"font-size":f(n,o),"letter-spacing":f(r,"em"),"margin-top":f(c,p),"margin-right":f(s,p),"margin-bottom":f(g,p),"margin-left":f(b,p)}],(O||v||j||T)&&N[".block-editor-block-list__block "+A].push({"border-top-width":f(O,"px"),"border-right-width":f(v,"px"),"border-bottom-width":f(j,"px"),"border-left-width":f(T,"px"),"border-style":"solid"}),N[".block-editor-block-list__block "+A+" .gb-icon"]=[{"padding-top":!i&&f(E,R),"padding-right":!i&&f(D,R),"padding-bottom":!i&&f(M,R),"padding-left":!i&&f(z,R),"font-size":f(L,F)}],N=Object(d.applyFilters)("generateblocks.editor.tabletCSS",N,this.props,"button"),Object(l.createElement)("style",null,h(N))}}class ze extends l.Component{render(){let e=[];return e=Object(d.applyFilters)("generateblocks.editor.tabletOnlyCSS",e,this.props,"button"),Object(l.createElement)("style",null,h(e))}}class Re extends l.Component{render(){const e=Object(d.applyFilters)("generateblocks.editor.cssAttrs",this.props.attributes,this.props),{url:t,uniqueId:a,removeText:i,letterSpacingMobile:r,fontSizeMobile:n,fontSizeUnit:o,marginTopMobile:c,marginRightMobile:s,marginBottomMobile:g,marginLeftMobile:b,marginUnit:p,paddingTopMobile:u,paddingRightMobile:m,paddingBottomMobile:k,paddingLeftMobile:w,paddingUnit:y,borderSizeTopMobile:O,borderSizeRightMobile:v,borderSizeBottomMobile:j,borderSizeLeftMobile:T,borderRadiusTopRightMobile:C,borderRadiusBottomRightMobile:B,borderRadiusBottomLeftMobile:_,borderRadiusTopLeftMobile:S,borderRadiusUnit:x,iconPaddingTopMobile:E,iconPaddingRightMobile:D,iconPaddingBottomMobile:M,iconPaddingLeftMobile:z,iconPaddingUnit:R,iconSizeMobile:L,iconSizeUnit:F}=e;let A="a.gb-button-"+a;t||(A=".gb-button-"+a);let N=[];return N[".block-editor-block-list__block "+A]=[{"padding-top":f(u,y),"padding-right":f(m,y),"padding-bottom":f(k,y),"padding-left":f(w,y),"border-top-left-radius":f(S,x),"border-top-right-radius":f(C,x),"border-bottom-right-radius":f(B,x),"border-bottom-left-radius":f(_,x),"font-size":f(n,o),"letter-spacing":f(r,"em"),"margin-top":f(c,p),"margin-right":f(s,p),"margin-bottom":f(g,p),"margin-left":f(b,p)}],(O||v||j||T)&&N[".block-editor-block-list__block "+A].push({"border-top-width":f(O,"px"),"border-right-width":f(v,"px"),"border-bottom-width":f(j,"px"),"border-left-width":f(T,"px"),"border-style":"solid"}),N[".block-editor-block-list__block "+A+" .gb-icon"]=[{"padding-top":!i&&f(E,R),"padding-right":!i&&f(D,R),"padding-bottom":!i&&f(M,R),"padding-left":!i&&f(z,R),"font-size":f(L,F)}],N=Object(d.applyFilters)("generateblocks.editor.mobileCSS",N,this.props,"button"),Object(l.createElement)("style",null,h(N))}}const Le=/[\s#]/g;class Fe extends l.Component{constructor(){super(...arguments),this.state={selectedDevice:"Desktop",fontSizePlaceholder:"17"},this.getFontSizePlaceholder=this.getFontSizePlaceholder.bind(this),this.getDeviceType=this.getDeviceType.bind(this),this.setDeviceType=this.setDeviceType.bind(this)}componentDidMount(){const e=T(wp.data.select("core/block-editor").getBlocks(),[],this.props.clientId);this.props.attributes.uniqueId&&!e.includes(this.props.attributes.uniqueId)||this.props.setAttributes({uniqueId:this.props.clientId.substr(2,9).replace("-","")});const t=this.getFontSizePlaceholder();if(t!==this.state.fontSizePlaceholder&&this.setState({fontSizePlaceholder:t}),!this.props.attributes.hasIcon&&this.props.attributes.icon&&this.props.setAttributes({hasIcon:!0}),void 0===this.props.attributes.hasUrl&&(this.props.attributes.url?this.props.setAttributes({hasUrl:!0}):this.props.setAttributes({hasUrl:!1})),!S(this.props.attributes)&&B(this.props.attributes.blockVersion,2)){const e=generateBlocksLegacyDefaults.v_1_4_0.button,t={},a=[];this.props.attributes.gradient&&a.push("gradientDirection","gradientColorOne","gradientColorOneOpacity","gradientColorTwo","gradientColorTwoOpacity"),a.forEach(a=>{C(this.props.attributes[a])||(t[a]=e[a])}),Object.keys(t).length>0&&this.props.setAttributes(t)}B(this.props.attributes.blockVersion,2)&&this.props.setAttributes({blockVersion:2})}componentDidUpdate(){const e=this.getFontSizePlaceholder();e!==this.state.fontSizePlaceholder&&this.setState({fontSizePlaceholder:e})}getFontSizePlaceholder(){let e="17";const t=document.querySelector(".gb-button-"+this.props.attributes.uniqueId);return t&&(e=parseFloat(window.getComputedStyle(t).fontSize)),e}getDeviceType(){let e=this.props.deviceType?this.props.deviceType:this.state.selectedDevice;return generateBlocksInfo.syncResponsivePreviews||(e=this.state.selectedDevice),e}setDeviceType(e){generateBlocksInfo.syncResponsivePreviews&&this.props.deviceType?(this.props.setDeviceType(e),this.setState({selectedDevice:e})):this.setState({selectedDevice:e})}render(){const{attributes:e,setAttributes:t,isSelected:a,clientId:i}=this.props,{fontSizePlaceholder:n}=this.state,{uniqueId:c,className:h,anchor:f,text:m,url:k,target:w,relNoFollow:y,relSponsored:O,icon:v,iconLocation:T,removeText:C,ariaLabel:B,backgroundColor:_,backgroundColorOpacity:S,textColor:D,backgroundColorHover:M,backgroundColorHoverOpacity:z,textColorHover:R,fontFamily:L,googleFont:F,googleFontVariants:A,borderColor:N,borderColorOpacity:U,borderColorHover:H,borderColorHoverOpacity:G,iconSize:W,iconSizeTablet:q,iconSizeMobile:K,iconSizeUnit:Y}=e,$=document.querySelectorAll("a.gb-button");for(let e=0;e<$.length;e++)$[e].addEventListener("click",(function(t){$[e].getAttribute("href")&&($[e].removeAttribute("href"),t.preventDefault())}),!1);const Q=[];y&&Q.push("nofollow"),w&&Q.push("noopener","noreferrer"),O&&Q.push("sponsored");let X="";A&&(X=":"+A);let ee={className:o()({"gb-button":!0,["gb-button-"+c]:!0,"gb-button-text":!v,[""+h]:void 0!==h}),href:k||null,target:w?"_blank":null,rel:Q&&Q.length>0?Q.join(" "):null,"aria-label":B||null,id:f||null};return ee=Object(d.applyFilters)("generateblocks.frontend.htmlAttributes",ee,"generateblocks/button",e),Object(l.createElement)(l.Fragment,null,Object(l.createElement)(x.BlockControls,null,Object(l.createElement)(b.ToolbarGroup,null,Object(l.createElement)(b.ToolbarButton,{className:"gblocks-add-new-button",icon:s("insert"),label:Object(g.__)("Add Button","generateblocks"),onClick:()=>{let e=!1;e="function"==typeof wp.data.select("core/block-editor").getBlockParentsByBlockName?wp.data.select("core/block-editor").getBlockParentsByBlockName(i,"generateblocks/button-container",!0)[0]:wp.data.select("core/block-editor").getBlockRootClientId(i);const t=wp.data.select("core/block-editor").getBlocksByClientId(i)[0],a=Object(E.cloneBlock)(t,{uniqueId:""});wp.data.dispatch("core/block-editor").insertBlocks(a,void 0,e)},showTooltip:!0}))),Object(l.createElement)(x.InspectorControls,null,Object(l.createElement)(p,r()({},this.props,{selectedDevice:this.getDeviceType(),onClick:e=>{this.setDeviceType(e)}})),Object(l.createElement)(j,r()({},this.props,{title:Object(g.__)("Typography","generateblocks"),initialOpen:!1,icon:s("typography"),className:"gblocks-panel-label",id:"buttonTypography",state:this.state,showPanel:!C||!1}),"Desktop"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(Z,r()({},this.props,{showFontFamily:!0,showFontWeight:!0,showTextTransform:!0,showFontSize:!0,showLetterSpacing:!0,fontSizePlaceholder:n,defaultFontSize:generateBlocksDefaults.button.fontSize,defaultFontSizeUnit:generateBlocksDefaults.button.fontSizeUnit,defaultLetterSpacing:generateBlocksDefaults.button.letterSpacing}))),"Tablet"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(Z,r()({},this.props,{device:"Tablet",showFontSize:!0,showLetterSpacing:!0,disableAdvancedToggle:!0,defaultFontSize:generateBlocksDefaults.button.fontSizeTablet,defaultFontSizeUnit:generateBlocksDefaults.button.fontSizeUnit,defaultLetterSpacing:generateBlocksDefaults.button.letterSpacingTablet}))),"Mobile"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(Z,r()({},this.props,{device:"Mobile",showFontSize:!0,showLetterSpacing:!0,disableAdvancedToggle:!0,defaultFontSize:generateBlocksDefaults.button.fontSizeMobile,defaultFontSizeUnit:generateBlocksDefaults.button.fontSizeUnit,defaultLetterSpacing:generateBlocksDefaults.button.letterSpacingMobile}))),Object(d.applyFilters)("generateblocks.editor.controls","","buttonTypography",this.props,this.state)),Object(l.createElement)(j,r()({},this.props,{title:Object(g.__)("Spacing","generateblocks"),initialOpen:!1,icon:s("spacing"),className:"gblocks-panel-label",id:"buttonSpacing",state:this.state}),"Desktop"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(V,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(g.__)("Padding","generateblocks"),attrTop:"paddingTop",attrRight:"paddingRight",attrBottom:"paddingBottom",attrLeft:"paddingLeft",attrUnit:"paddingUnit",attrSyncUnits:"paddingSyncUnits",defaults:generateBlocksDefaults.button,units:["px","em","%"]})),Object(l.createElement)(V,r()({},this.props,{device:this.getDeviceType(),type:"margin",label:Object(g.__)("Margin","generateblocks"),attrTop:"marginTop",attrRight:"marginRight",attrBottom:"marginBottom",attrLeft:"marginLeft",attrUnit:"marginUnit",attrSyncUnits:"marginSyncUnits",defaults:generateBlocksDefaults.button,units:["px","em","%"]})),Object(l.createElement)(V,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(g.__)("Border Size","generateblocks"),attrTop:"borderSizeTop",attrRight:"borderSizeRight",attrBottom:"borderSizeBottom",attrLeft:"borderSizeLeft",attrSyncUnits:"borderSizeSyncUnits",defaults:generateBlocksDefaults.button,units:["px"]})),Object(l.createElement)(V,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(g.__)("Border Radius","generateblocks"),attrTop:"borderRadiusTopLeft",attrRight:"borderRadiusTopRight",attrBottom:"borderRadiusBottomRight",attrLeft:"borderRadiusBottomLeft",attrUnit:"borderRadiusUnit",attrSyncUnits:"borderRadiusSyncUnits",labelTop:Object(g.__)("T-Left","generateblocks"),labelRight:Object(g.__)("T-Right","generateblocks"),labelBottom:Object(g.__)("B-Right","generateblocks"),labelLeft:Object(g.__)("B-Left","generateblocks"),defaults:generateBlocksDefaults.button,units:["px","em","%"]}))),"Tablet"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(V,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(g.__)("Padding","generateblocks"),attrTop:"paddingTopTablet",attrRight:"paddingRightTablet",attrBottom:"paddingBottomTablet",attrLeft:"paddingLeftTablet",attrUnit:"paddingUnit",attrSyncUnits:"paddingSyncUnits",defaults:generateBlocksDefaults.button,units:["px","em","%"]})),Object(l.createElement)(V,r()({},this.props,{device:this.getDeviceType(),type:"margin",label:Object(g.__)("Margin","generateblocks"),attrTop:"marginTopTablet",attrRight:"marginRightTablet",attrBottom:"marginBottomTablet",attrLeft:"marginLeftTablet",attrUnit:"marginUnit",attrSyncUnits:"marginSyncUnits",defaults:generateBlocksDefaults.button,units:["px","em","%"]})),Object(l.createElement)(V,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(g.__)("Border Size","generateblocks"),attrTop:"borderSizeTopTablet",attrRight:"borderSizeRightTablet",attrBottom:"borderSizeBottomTablet",attrLeft:"borderSizeLeftTablet",attrSyncUnits:"borderSizeSyncUnits",defaults:generateBlocksDefaults.button,units:["px"]})),Object(l.createElement)(V,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(g.__)("Border Radius","generateblocks"),attrTop:"borderRadiusTopLeftTablet",attrRight:"borderRadiusTopRightTablet",attrBottom:"borderRadiusBottomRightTablet",attrLeft:"borderRadiusBottomLeftTablet",attrUnit:"borderRadiusUnit",attrSyncUnits:"borderRadiusSyncUnits",labelTop:Object(g.__)("T-Left","generateblocks"),labelRight:Object(g.__)("T-Right","generateblocks"),labelBottom:Object(g.__)("B-Right","generateblocks"),labelLeft:Object(g.__)("B-Left","generateblocks"),defaults:generateBlocksDefaults.button,units:["px","em","%"]}))),"Mobile"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(V,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(g.__)("Padding","generateblocks"),attrTop:"paddingTopMobile",attrRight:"paddingRightMobile",attrBottom:"paddingBottomMobile",attrLeft:"paddingLeftMobile",attrUnit:"paddingUnit",attrSyncUnits:"paddingSyncUnits",defaults:generateBlocksDefaults.button,units:["px","em","%"]})),Object(l.createElement)(V,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(g.__)("Margin","generateblocks"),attrTop:"marginTopMobile",attrRight:"marginRightMobile",attrBottom:"marginBottomMobile",attrLeft:"marginLeftMobile",attrUnit:"marginUnit",attrSyncUnits:"marginSyncUnits",defaults:generateBlocksDefaults.button,units:["px","em","%"]})),Object(l.createElement)(V,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(g.__)("Border Size","generateblocks"),attrTop:"borderSizeTopMobile",attrRight:"borderSizeRightMobile",attrBottom:"borderSizeBottomMobile",attrLeft:"borderSizeLeftMobile",attrSyncUnits:"borderSizeSyncUnits",defaults:generateBlocksDefaults.button,units:["px"]})),Object(l.createElement)(V,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(g.__)("Border Radius","generateblocks"),attrTop:"borderRadiusTopLeftMobile",attrRight:"borderRadiusTopRightMobile",attrBottom:"borderRadiusBottomRightMobile",attrLeft:"borderRadiusBottomLeftMobile",attrUnit:"borderRadiusUnit",attrSyncUnits:"borderRadiusSyncUnits",labelTop:Object(g.__)("T-Left","generateblocks"),labelRight:Object(g.__)("T-Right","generateblocks"),labelBottom:Object(g.__)("B-Right","generateblocks"),labelLeft:Object(g.__)("B-Left","generateblocks"),defaults:generateBlocksDefaults.button,units:["px","em","%"]}))),Object(d.applyFilters)("generateblocks.editor.controls","","buttonSpacing",this.props,this.state)),Object(l.createElement)(j,r()({},this.props,{title:Object(g.__)("Colors","generateblocks"),initialOpen:!1,icon:s("colors"),className:"gblocks-panel-label",id:"buttonColors",state:this.state}),"Desktop"===this.getDeviceType()&&Object(l.createElement)(b.TabPanel,{className:"layout-tab-panel gblocks-control-tabs",activeClass:"active-tab",tabs:[{name:"button-colors",title:Object(g.__)("Normal","generateblocks"),className:"button-colors"},{name:"button-colors-hover",title:Object(g.__)("Hover","generateblocks"),className:"button-colors-hover"}]},e=>{const a="button-colors"===e.name;return Object(l.createElement)("div",null,a?Object(l.createElement)(l.Fragment,null,Object(l.createElement)(I,{label:Object(g.__)("Background Color","generateblocks"),value:_,alpha:!0,valueOpacity:S,attrOpacity:"backgroundColorOpacity",key:"buttonBackgroundColor",onChange:e=>t({backgroundColor:e}),onOpacityChange:e=>t({backgroundColorOpacity:e})}),Object(l.createElement)(I,{label:Object(g.__)("Text Color","generateblocks"),value:D,alpha:!1,key:"buttonTextColor",onChange:e=>t({textColor:e})}),Object(l.createElement)(I,{label:Object(g.__)("Border Color","generateblocks"),value:N,alpha:!0,valueOpacity:U,attrOpacity:"borderColorOpacity",key:"buttonBorderColor",onChange:e=>t({borderColor:e}),onOpacityChange:e=>t({borderColorOpacity:e})}),Object(d.applyFilters)("generateblocks.editor.controls","","buttonColorsNormal",this.props,this.state)):Object(l.createElement)(l.Fragment,null,Object(l.createElement)(I,{label:Object(g.__)("Background Color","generateblocks"),value:M,alpha:!0,valueOpacity:z,attrOpacity:"backgroundColorHoverOpacity",key:"buttonBackgroundColorHover",onChange:e=>t({backgroundColorHover:e}),onOpacityChange:e=>t({backgroundColorHoverOpacity:e})}),Object(l.createElement)(I,{label:Object(g.__)("Text Color","generateblocks"),value:R,alpha:!1,key:"buttonTextColorHover",onChange:e=>t({textColorHover:e})}),Object(l.createElement)(I,{label:Object(g.__)("Border Color","generateblocks"),value:H,alpha:!0,valueOpacity:G,attrOpacity:"borderColorHoverOpacity",key:"buttonBorderColorHover",onChange:e=>t({borderColorHover:e}),onOpacityChange:e=>t({borderColorHoverOpacity:e})}),Object(d.applyFilters)("generateblocks.editor.controls","","buttonColorsHover",this.props,this.state)))}),Object(d.applyFilters)("generateblocks.editor.controls","","buttonColors",this.props,this.state)),Object(l.createElement)(j,r()({},this.props,{title:Object(g.__)("Background Gradient","generateblocks"),initialOpen:!1,icon:s("gradients"),className:"gblocks-panel-label",id:"buttonBackgroundGradient",state:this.state}),"Desktop"===this.getDeviceType()&&Object(l.createElement)(J,r()({},this.props,{attrGradient:"gradient",attrGradientDirection:"gradientDirection",attrGradientColorOne:"gradientColorOne",attrGradientColorOneOpacity:"gradientColorOneOpacity",attrGradientColorStopOne:"gradientColorStopOne",attrGradientColorTwo:"gradientColorTwo",attrGradientColorTwoOpacity:"gradientColorTwoOpacity",attrGradientColorStopTwo:"gradientColorStopTwo",defaultColorOne:generateBlocksDefaults.button.gradientColorOne,defaultColorTwo:generateBlocksDefaults.button.gradientColorTwo})),Object(d.applyFilters)("generateblocks.editor.controls","","buttonBackgroundGradient",this.props,this.state)),Object(l.createElement)(j,r()({},this.props,{title:Object(g.__)("Icon","generateblocks"),initialOpen:!1,icon:s("icons"),className:"gblocks-panel-label",id:"buttonIcon",state:this.state,showPanel:!("Desktop"!==this.getDeviceType()&&!v)}),"Desktop"===this.getDeviceType()&&Object(l.createElement)(Se,r()({},this.props,{attrIcon:"icon",attrIconLocation:"iconLocation",attrRemoveText:"removeText",locationOptions:[{label:Object(g.__)("Left","generateblocks"),value:"left"},{label:Object(g.__)("Right","generateblocks"),value:"right"}]})),"Desktop"===this.getDeviceType()&&!!v&&Object(l.createElement)(l.Fragment,null,!C&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(V,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(g.__)("Padding","generateblocks"),attrTop:"iconPaddingTop",attrRight:"iconPaddingRight",attrBottom:"iconPaddingBottom",attrLeft:"iconPaddingLeft",attrUnit:"iconPaddingUnit",attrSyncUnits:"iconPaddingSyncUnits",defaults:generateBlocksDefaults.button,units:["px","em","%"]}))),Object(l.createElement)(u,{label:Object(g.__)("Icon Size","generateblocks"),value:Y,units:["px","em"],onClick:e=>{t({iconSizeUnit:e})}}),Object(l.createElement)("div",{className:"components-base-control components-gblocks-typography-control__inputs"},Object(l.createElement)(b.TextControl,{type:"number",value:W||"",step:"em"===Y?.1:1,onChange:e=>{t({iconSize:e})},onBlur:()=>{t({iconSize:parseFloat(W)})},onClick:e=>{e.currentTarget.focus()}}),Object(l.createElement)(b.Button,{isSmall:!0,isSecondary:!0,className:"components-gblocks-default-number",onClick:()=>{t({iconSize:generateBlocksDefaults.button.iconSize})}},Object(g.__)("Reset","generateblocks")))),"Tablet"===this.getDeviceType()&&!!v&&Object(l.createElement)(l.Fragment,null,!C&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(V,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(g.__)("Padding","generateblocks"),attrTop:"iconPaddingTopTablet",attrRight:"iconPaddingRightTablet",attrBottom:"iconPaddingBottomTablet",attrLeft:"iconPaddingLeftTablet",attrUnit:"iconPaddingUnit",attrSyncUnits:"iconPaddingSyncUnits",defaults:generateBlocksDefaults.button,units:["px","em","%"]}))),Object(l.createElement)(u,{label:Object(g.__)("Icon Size","generateblocks"),value:Y,units:["px","em"],onClick:e=>{t({iconSizeUnit:e})}}),Object(l.createElement)("div",{className:"components-base-control components-gblocks-typography-control__inputs"},Object(l.createElement)(b.TextControl,{type:"number",value:q||"",step:"em"===Y?.1:1,placeholder:"1",onChange:e=>{t({iconSizeTablet:e})},onBlur:()=>{t({iconSizeTablet:parseFloat(q)})},onClick:e=>{e.currentTarget.focus()}}),Object(l.createElement)(b.Button,{isSmall:!0,isSecondary:!0,className:"components-gblocks-default-number",onClick:()=>{t({iconSizeTablet:generateBlocksDefaults.button.iconSizeTablet})}},Object(g.__)("Reset","generateblocks")))),"Mobile"===this.getDeviceType()&&!!v&&Object(l.createElement)(l.Fragment,null,!C&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(V,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(g.__)("Padding","generateblocks"),attrTop:"iconPaddingTopMobile",attrRight:"iconPaddingRightMobile",attrBottom:"iconPaddingBottomMobile",attrLeft:"iconPaddingLeftMobile",attrUnit:"iconPaddingUnit",attrSyncUnits:"iconPaddingSyncUnits",defaults:generateBlocksDefaults.button,units:["px","em","%"]}))),Object(l.createElement)(u,{label:Object(g.__)("Icon Size","generateblocks"),value:Y,units:["px","em"],onClick:e=>{t({iconSizeUnit:e})}}),Object(l.createElement)("div",{className:"components-base-control components-gblocks-typography-control__inputs"},Object(l.createElement)(b.TextControl,{type:"number",value:K||"",step:"em"===Y?.1:1,placeholder:"1",onChange:e=>{t({iconSizeMobile:e})},onBlur:()=>{t({iconSizeMobile:parseFloat(K)})},onClick:e=>{e.currentTarget.focus()}}),Object(l.createElement)(b.Button,{isSmall:!0,isSecondary:!0,className:"components-gblocks-default-number",onClick:()=>{t({iconSizeMobile:generateBlocksDefaults.button.iconSizeMobile})}},Object(g.__)("Reset","generateblocks")))),Object(d.applyFilters)("generateblocks.editor.controls","","buttonIcon",this.props,this.state)),Object(l.createElement)(j,r()({},this.props,{title:Object(g.__)("Documentation","generateblocks"),icon:s("documentation"),initialOpen:!1,className:"gblocks-panel-label",id:"buttonDocumentation",state:this.state}),Object(l.createElement)("p",null,Object(g.__)("Need help with this block?","generateblocks")),Object(l.createElement)("a",{href:"https://docs.generateblocks.com/collection/buttons/",target:"_blank",rel:"noreferrer noopener"},Object(g.__)("Visit our documentation","generateblocks")),Object(d.applyFilters)("generateblocks.editor.controls","","buttonDocumentation",this.props,this.state))),Object(l.createElement)(x.InspectorAdvancedControls,null,Object(l.createElement)(b.TextControl,{label:Object(g.__)("HTML Anchor","generateblocks"),help:Object(g.__)("Anchors lets you link directly to a section on a page.","generateblocks"),value:f||"",onChange:e=>{e=e.replace(Le,"-"),t({anchor:e})}}),Object(l.createElement)(b.TextControl,{label:Object(g.__)("ARIA Label","generateblocks"),help:Object(g.__)("Helpful to people using screen readers.","generateblocks"),value:B,onChange:e=>{t({ariaLabel:e})}})),Object(l.createElement)(Ee,this.props),this.props.deviceType&&Object(l.createElement)(l.Fragment,null,"Desktop"===this.props.deviceType&&Object(l.createElement)(De,this.props),("Tablet"===this.props.deviceType||"Mobile"===this.props.deviceType)&&Object(l.createElement)(Me,this.props),"Tablet"===this.props.deviceType&&Object(l.createElement)(ze,this.props),"Mobile"===this.props.deviceType&&Object(l.createElement)(Re,this.props)),L&&F&&Object(l.createElement)("link",{rel:"stylesheet",href:"https://fonts.googleapis.com/css?family="+L.replace(/ /g,"+")+X}),Object(l.createElement)(P,{tagName:k?"a":"span",htmlAttrs:ee},!!v&&Object(l.createElement)(l.Fragment,null,"left"===T&&Object(l.createElement)("span",{className:"gb-icon",dangerouslySetInnerHTML:{__html:v}}),!C&&Object(l.createElement)("span",{className:"gb-button-text"},Object(l.createElement)(x.RichText,{placeholder:Object(g.__)("Add text…","generateblocks"),value:m,onChange:e=>t({text:e}),allowedFormats:Object(d.applyFilters)("generateblocks.editor.buttonDisableFormatting",!1,this.props)?[]:["core/bold","core/italic","core/strikethrough"],isSelected:a})),"right"===T&&Object(l.createElement)("span",{className:"gb-icon",dangerouslySetInnerHTML:{__html:v}})),!v&&!C&&Object(l.createElement)(x.RichText,{placeholder:Object(g.__)("Add text…","generateblocks"),value:m,onChange:e=>t({text:e}),allowedFormats:Object(d.applyFilters)("generateblocks.editor.buttonDisableFormatting",!1,this.props)?[]:["core/bold","core/italic","core/strikethrough"],isSelected:a})),a&&Object(l.createElement)(xe,{url:k,target:w,relNoFollow:y,relSponsored:O,onChange:e=>{t(e),""!==e.url?t({hasUrl:!0}):t({hasUrl:!1})},autoFocus:!1,className:"gblocks-component-url-input-float"}))}}var Ae=Object(M.compose)([Object(D.withDispatch)(e=>({setDeviceType(t){const{__experimentalSetPreviewDeviceType:a}=e("core/edit-post")||!1;a&&a(t)}})),Object(D.withSelect)(e=>{const{__experimentalGetPreviewDeviceType:t}=e("core/edit-post")||!1;return t?{deviceType:t()}:{deviceType:null}})])(Fe),Ne={uniqueId:{type:"string",default:""},anchor:{type:"string",default:""},url:{type:"string",source:"attribute",selector:".gb-button",attribute:"href"},hasUrl:{type:"boolean"},target:{type:"boolean"},relNoFollow:{type:"boolean"},relSponsored:{type:"boolean"},text:{type:"string",source:"html",selector:".gb-button-text",default:"Button"},icon:{type:"string",source:"html",selector:".gb-icon"},hasIcon:{type:"boolean",default:!1},iconLocation:{type:"string",default:generateBlocksDefaults.button.iconLocation},customIcon:{type:"boolean",default:!1},removeText:{type:"boolean",default:generateBlocksDefaults.button.removeText},ariaLabel:{type:"string",default:generateBlocksDefaults.button.ariaLabel},backgroundColor:{type:"string",default:generateBlocksDefaults.button.backgroundColor},backgroundColorOpacity:{type:"number",default:generateBlocksDefaults.button.backgroundColorOpacity},textColor:{type:"string",default:generateBlocksDefaults.button.textColor},backgroundColorHover:{type:"string",default:generateBlocksDefaults.button.backgroundColorHover},backgroundColorHoverOpacity:{type:"number",default:generateBlocksDefaults.button.backgroundColorHoverOpacity},textColorHover:{type:"string",default:generateBlocksDefaults.button.textColorHover},borderColor:{type:"string",default:generateBlocksDefaults.button.borderColor},borderColorOpacity:{type:"number",default:generateBlocksDefaults.button.borderColorOpacity},borderColorHover:{type:"string",default:generateBlocksDefaults.button.borderColorHover},borderColorHoverOpacity:{type:"number",default:generateBlocksDefaults.button.borderColorHoverOpacity},fontFamily:{type:"string",default:generateBlocksDefaults.button.fontFamily},fontFamilyFallback:{type:"string",default:generateBlocksDefaults.button.fontFamilyFallback},googleFont:{type:"boolean",default:generateBlocksDefaults.button.googleFont},googleFontVariants:{type:"string",default:generateBlocksDefaults.button.googleFontVariants},fontWeight:{type:"string",default:generateBlocksDefaults.button.fontWeight},fontSize:{type:"number",default:generateBlocksDefaults.button.fontSize},fontSizeTablet:{type:"number",default:generateBlocksDefaults.button.fontSizeTablet},fontSizeMobile:{type:"number",default:generateBlocksDefaults.button.fontSizeMobile},fontSizeUnit:{type:"string",default:generateBlocksDefaults.button.fontSizeUnit},textTransform:{type:"string",default:generateBlocksDefaults.button.textTransform},letterSpacing:{type:"number",default:generateBlocksDefaults.button.letterSpacing},letterSpacingTablet:{type:"number",default:generateBlocksDefaults.button.letterSpacingTablet},letterSpacingMobile:{type:"number",default:generateBlocksDefaults.button.letterSpacingMobile},marginTop:{type:"string",default:generateBlocksDefaults.button.marginTop},marginRight:{type:"string",default:generateBlocksDefaults.button.marginRight},marginBottom:{type:"string",default:generateBlocksDefaults.button.marginBottom},marginLeft:{type:"string",default:generateBlocksDefaults.button.marginLeft},marginUnit:{type:"string",default:generateBlocksDefaults.button.marginUnit},marginTopTablet:{type:"string",default:generateBlocksDefaults.button.marginTopTablet},marginRightTablet:{type:"string",default:generateBlocksDefaults.button.marginRightTablet},marginBottomTablet:{type:"string",default:generateBlocksDefaults.button.marginBottomTablet},marginLeftTablet:{type:"string",default:generateBlocksDefaults.button.marginLeftTablet},marginTopMobile:{type:"string",default:generateBlocksDefaults.button.marginTopMobile},marginRightMobile:{type:"string",default:generateBlocksDefaults.button.marginRightMobile},marginBottomMobile:{type:"string",default:generateBlocksDefaults.button.marginBottomMobile},marginLeftMobile:{type:"string",default:generateBlocksDefaults.button.marginLeftMobile},paddingTop:{type:"string",default:generateBlocksDefaults.button.paddingTop},paddingRight:{type:"string",default:generateBlocksDefaults.button.paddingRight},paddingBottom:{type:"string",default:generateBlocksDefaults.button.paddingBottom},paddingLeft:{type:"string",default:generateBlocksDefaults.button.paddingLeft},paddingUnit:{type:"string",default:generateBlocksDefaults.button.paddingUnit},paddingTopTablet:{type:"string",default:generateBlocksDefaults.button.paddingTopTablet},paddingRightTablet:{type:"string",default:generateBlocksDefaults.button.paddingRightTablet},paddingBottomTablet:{type:"string",default:generateBlocksDefaults.button.paddingBottomTablet},paddingLeftTablet:{type:"string",default:generateBlocksDefaults.button.paddingLeftTablet},paddingTopMobile:{type:"string",default:generateBlocksDefaults.button.paddingTopMobile},paddingRightMobile:{type:"string",default:generateBlocksDefaults.button.paddingRightMobile},paddingBottomMobile:{type:"string",default:generateBlocksDefaults.button.paddingBottomMobile},paddingLeftMobile:{type:"string",default:generateBlocksDefaults.button.paddingLeftMobile},borderSizeTop:{type:"string",default:generateBlocksDefaults.button.borderSizeTop},borderSizeRight:{type:"string",default:generateBlocksDefaults.button.borderSizeRight},borderSizeBottom:{type:"string",default:generateBlocksDefaults.button.borderSizeBottom},borderSizeLeft:{type:"string",default:generateBlocksDefaults.button.borderSizeLeft},borderSizeTopTablet:{type:"string",default:generateBlocksDefaults.button.borderSizeTopTablet},borderSizeRightTablet:{type:"string",default:generateBlocksDefaults.button.borderSizeRightTablet},borderSizeBottomTablet:{type:"string",default:generateBlocksDefaults.button.borderSizeBottomTablet},borderSizeLeftTablet:{type:"string",default:generateBlocksDefaults.button.borderSizeLeftTablet},borderSizeTopMobile:{type:"string",default:generateBlocksDefaults.button.borderSizeTopMobile},borderSizeRightMobile:{type:"string",default:generateBlocksDefaults.button.borderSizeRightMobile},borderSizeBottomMobile:{type:"string",default:generateBlocksDefaults.button.borderSizeBottomMobile},borderSizeLeftMobile:{type:"string",default:generateBlocksDefaults.button.borderSizeLeftMobile},borderRadiusTopRight:{type:"string",default:generateBlocksDefaults.button.borderRadiusTopRight},borderRadiusBottomRight:{type:"string",default:generateBlocksDefaults.button.borderRadiusBottomRight},borderRadiusBottomLeft:{type:"string",default:generateBlocksDefaults.button.borderRadiusBottomLeft},borderRadiusTopLeft:{type:"string",default:generateBlocksDefaults.button.borderRadiusTopLeft},borderRadiusUnit:{type:"string",default:generateBlocksDefaults.button.borderRadiusUnit},borderRadiusTopRightTablet:{type:"string",default:generateBlocksDefaults.button.borderRadiusTopRightTablet},borderRadiusBottomRightTablet:{type:"string",default:generateBlocksDefaults.button.borderRadiusBottomRightTablet},borderRadiusBottomLeftTablet:{type:"string",default:generateBlocksDefaults.button.borderRadiusBottomLeftTablet},borderRadiusTopLeftTablet:{type:"string",default:generateBlocksDefaults.button.borderRadiusTopLeftTablet},borderRadiusTopRightMobile:{type:"string",default:generateBlocksDefaults.button.borderRadiusTopRightMobile},borderRadiusBottomRightMobile:{type:"string",default:generateBlocksDefaults.button.borderRadiusBottomRightMobile},borderRadiusBottomLeftMobile:{type:"string",default:generateBlocksDefaults.button.borderRadiusBottomLeftMobile},borderRadiusTopLeftMobile:{type:"string",default:generateBlocksDefaults.button.borderRadiusTopLeftMobile},gradient:{type:"boolean",default:generateBlocksDefaults.button.gradient},gradientDirection:{type:"number",default:generateBlocksDefaults.button.gradientDirection},gradientColorOne:{type:"string",default:generateBlocksDefaults.button.gradientColorOne},gradientColorOneOpacity:{type:"number",default:generateBlocksDefaults.button.gradientColorOneOpacity},gradientColorStopOne:{type:"number",default:generateBlocksDefaults.button.gradientColorStopOne},gradientColorTwo:{type:"string",default:generateBlocksDefaults.button.gradientColorTwo},gradientColorTwoOpacity:{type:"number",default:generateBlocksDefaults.button.gradientColorTwoOpacity},gradientColorStopTwo:{type:"number",default:generateBlocksDefaults.button.gradientColorStopTwo},iconPaddingTop:{type:"string",default:generateBlocksDefaults.button.iconPaddingTop},iconPaddingRight:{type:"string",default:generateBlocksDefaults.button.iconPaddingRight},iconPaddingBottom:{type:"string",default:generateBlocksDefaults.button.iconPaddingBottom},iconPaddingLeft:{type:"string",default:generateBlocksDefaults.button.iconPaddingLeft},iconPaddingTopTablet:{type:"string",default:generateBlocksDefaults.button.iconPaddingTopTablet},iconPaddingRightTablet:{type:"string",default:generateBlocksDefaults.button.iconPaddingRightTablet},iconPaddingBottomTablet:{type:"string",default:generateBlocksDefaults.button.iconPaddingBottomTablet},iconPaddingLeftTablet:{type:"string",default:generateBlocksDefaults.button.iconPaddingLeftTablet},iconPaddingTopMobile:{type:"string",default:generateBlocksDefaults.button.iconPaddingTopMobile},iconPaddingRightMobile:{type:"string",default:generateBlocksDefaults.button.iconPaddingRightMobile},iconPaddingBottomMobile:{type:"string",default:generateBlocksDefaults.button.iconPaddingBottomMobile},iconPaddingLeftMobile:{type:"string",default:generateBlocksDefaults.button.iconPaddingLeftMobile},iconPaddingUnit:{type:"string",default:generateBlocksDefaults.button.iconPaddingUnit},iconPaddingSyncUnits:{type:"boolean",default:!1},iconSize:{type:"number",default:generateBlocksDefaults.button.iconSize},iconSizeTablet:{type:"number",default:generateBlocksDefaults.button.iconSizeTablet},iconSizeMobile:{type:"number",default:generateBlocksDefaults.button.iconSizeMobile},iconSizeUnit:{type:"string",default:generateBlocksDefaults.button.iconSizeUnit},elementId:{type:"string",default:""},cssClasses:{type:"string",default:""}},Ue=[{attributes:{...Ne,text:{type:"array",source:"children",selector:".gb-button .button-text",default:"Button"}},supports:{anchor:!1,className:!1,customClassName:!1,inserter:!1,reusable:!1},migrate(e){const t=e.cssClasses?e.cssClasses:e.className,a=e.elementId?e.elementId:e.anchor;return{...e,className:t,anchor:a,cssClasses:"",elementId:""}},save({attributes:e}){const{uniqueId:t,elementId:a,cssClasses:i,text:r,url:n,target:c,relNoFollow:s,relSponsored:g,icon:b,iconLocation:p,removeText:u,ariaLabel:h}=e,f=[];s&&f.push("nofollow"),c&&f.push("noopener","noreferrer"),g&&f.push("sponsored");let m={id:a||void 0,className:o()({"gb-button":!0,["gb-button-"+t]:!0,[""+i]:""!==i}),href:n||void 0,target:c?"_blank":void 0,rel:f&&f.length>0?f.join(" "):void 0,"aria-label":h||void 0};return m=Object(d.applyFilters)("generateblocks.frontend.htmlAttributes",m,"generateblocks/button",e),Object(l.createElement)("a",m,b&&"left"===p&&Object(l.createElement)("span",{className:"gb-icon",dangerouslySetInnerHTML:{__html:Q(b)}}),!u&&Object(l.createElement)(x.RichText.Content,{tagName:"span",className:"button-text",value:r,key:"button-text"}),b&&"right"===p&&Object(l.createElement)("span",{className:"gb-icon",dangerouslySetInnerHTML:{__html:Q(b)}}))}}];Object(E.registerBlockType)("generateblocks/button",{title:Object(g.__)("Button","generateblocks"),description:Object(g.__)("Drive conversions with beautiful buttons.","generateblocks"),parent:["generateblocks/button-container"],icon:s("button"),category:"generateblocks",keywords:[Object(g.__)("button"),Object(g.__)("buttons"),Object(g.__)("generate")],attributes:Ne,supports:{className:!1,inserter:!1,reusable:!1},edit:Ae,save:({attributes:e})=>{const{uniqueId:t,className:a,text:i,url:r,target:n,relNoFollow:c,relSponsored:s,icon:g,iconLocation:b,removeText:p,ariaLabel:u,anchor:h}=e,f=[];c&&f.push("nofollow"),n&&f.push("noopener","noreferrer"),s&&f.push("sponsored");let m={className:o()({"gb-button":!0,["gb-button-"+t]:!0,"gb-button-text":!g,[""+a]:void 0!==a}),href:r||null,target:n?"_blank":null,rel:f&&f.length>0?f.join(" "):null,"aria-label":u||null,id:h||null};return m=Object(d.applyFilters)("generateblocks.frontend.htmlAttributes",m,"generateblocks/button",e),Object(l.createElement)(P,{tagName:r?"a":"span",htmlAttrs:m},!!g&&"left"===b&&Object(l.createElement)("span",{className:"gb-icon",dangerouslySetInnerHTML:{__html:g}}),!p&&Object(l.createElement)(x.RichText.Content,{value:i,tagName:g?"span":null,className:g?"gb-button-text":null}),!!g&&"right"===b&&Object(l.createElement)("span",{className:"gb-icon",dangerouslySetInnerHTML:{__html:g}}))},deprecated:Ue});class Pe extends l.Component{render(){const e=Object(d.applyFilters)("generateblocks.editor.cssAttrs",this.props.attributes,this.props),{clientId:t}=this.props,{uniqueId:a,element:i,alignment:r,backgroundColor:n,backgroundColorOpacity:o,textColor:c,linkColor:s,borderColor:g,borderColorOpacity:b,highlightTextColor:p,fontFamily:u,fontFamilyFallback:m,fontWeight:k,fontSize:w,fontSizeUnit:y,textTransform:O,lineHeight:v,lineHeightUnit:j,letterSpacing:T,marginTop:C,marginRight:B,marginBottom:_,marginLeft:S,marginUnit:x,paddingTop:E,paddingRight:D,paddingBottom:M,paddingLeft:z,paddingUnit:R,borderSizeTop:L,borderSizeRight:F,borderSizeBottom:A,borderSizeLeft:N,borderRadiusTopRight:U,borderRadiusBottomRight:P,borderRadiusBottomLeft:I,borderRadiusTopLeft:G,borderRadiusUnit:V,icon:W,iconColor:q,iconColorOpacity:Z,iconLocation:K,iconVerticalAlignment:J,iconPaddingTop:Y,iconPaddingRight:$,iconPaddingBottom:Q,iconPaddingLeft:X,iconPaddingUnit:te,iconSize:ae,iconSizeUnit:le,inlineWidth:ie,removeText:re}=e;let ne="",oe="inline-block";u&&m&&(ne=", "+m);const ce=i+".gb-headline-"+a;let se=[];return se[".editor-styles-wrapper "+ce]=[{color:c,"font-family":u+ne,"font-weight":k,"text-transform":O,"text-align":r,"font-size":f(w,y),"line-height":f(v,j),"letter-spacing":f(T,"em"),display:!!W&&"flex","align-items":pe("inline"===K?J:r),"justify-content":pe(r),"flex-direction":!(!W||"above"!==K)&&"column"}],se[".editor-styles-wrapper .gb-container "+ce]=[{color:c}],W&&(oe="inline-flex"),se[".editor-styles-wrapper "+ce].push({"background-color":H(n,o),color:c,display:!!ie&&oe,"margin-top":f(C,x),"margin-right":f(B,x),"margin-bottom":f(_,x),"margin-left":f(S,x),padding:ee(E,D,M,z,R),"border-radius":ee(G,U,P,I,V),"border-color":H(g,b)}),(L||F||A||N)&&se[".editor-styles-wrapper "+ce].push({"border-width":ee(L,F,A,N,"px"),"border-style":"solid"}),se[".editor-styles-wrapper "+ce+" a"]=[{color:s}],se[ce+" .gb-icon"]=[{padding:!re&&ee(Y,$,Q,X,te),"align-self":!(!W||"above"!==K)&&pe(r),color:H(q,Z),display:!(!W||"above"!==K)&&"inline"}],se[ce+" .gb-icon svg"]=[{width:f(ae,le),height:f(ae,le)}],se[ce+" .gb-highlight"]=[{color:p}],se["#block-"+t]=[{display:!!ie&&"inline-flex"}],se=Object(d.applyFilters)("generateblocks.editor.mainCSS",se,this.props,"headline"),Object(l.createElement)("style",null,h(se))}}class He extends l.Component{render(){let e=[];return e=Object(d.applyFilters)("generateblocks.editor.desktopCSS",e,this.props,"headline"),Object(l.createElement)("style",null,h(e))}}class Ie extends l.Component{render(){const e=Object(d.applyFilters)("generateblocks.editor.cssAttrs",this.props.attributes,this.props),{clientId:t}=this.props,{uniqueId:a,element:i,alignmentTablet:r,fontSizeTablet:n,fontSizeUnit:o,lineHeightTablet:c,lineHeightUnit:s,letterSpacingTablet:g,marginTopTablet:b,marginRightTablet:p,marginBottomTablet:u,marginLeftTablet:m,marginUnit:k,paddingTopTablet:w,paddingRightTablet:y,paddingBottomTablet:O,paddingLeftTablet:v,paddingUnit:j,borderSizeTopTablet:T,borderSizeRightTablet:C,borderSizeBottomTablet:B,borderSizeLeftTablet:_,borderRadiusTopRightTablet:S,borderRadiusBottomRightTablet:x,borderRadiusBottomLeftTablet:E,borderRadiusTopLeftTablet:D,borderRadiusUnit:M,icon:z,iconLocationTablet:R,iconVerticalAlignmentTablet:L,iconPaddingTopTablet:F,iconPaddingRightTablet:A,iconPaddingBottomTablet:N,iconPaddingLeftTablet:U,iconPaddingUnit:P,iconSizeTablet:H,iconSizeUnit:I,inlineWidthTablet:G,removeText:V}=e,W=i+".gb-headline-"+a;let q="inline-block",Z=[];return Z[".editor-styles-wrapper "+W]=[{"text-align":r,"font-size":f(n,o),"line-height":f(c,s),"letter-spacing":f(g,"em"),display:!!z&&"flex","align-items":pe("inline"===R?L:r),"justify-content":pe(r),"flex-direction":!(!z||"above"!==R)&&"column","margin-top":f(b,k)+" !important","margin-right":f(p,k)+" !important","margin-bottom":f(u,k)+" !important","margin-left":f(m,k)+" !important","padding-top":f(w,j),"padding-right":f(y,j),"padding-bottom":f(O,j),"padding-left":f(v,j),"border-top-left-radius":f(D,M),"border-top-right-radius":f(S,M),"border-bottom-right-radius":f(x,M),"border-bottom-left-radius":f(E,M)}],z&&(q="inline-flex",Z[".editor-styles-wrapper "+W].push({display:!!G&&q})),(T||C||B||_)&&Z[".editor-styles-wrapper "+W].push({"border-top-width":f(T,"px"),"border-right-width":f(C,"px"),"border-bottom-width":f(B,"px"),"border-left-width":f(_,"px"),"border-style":"solid"}),Z[W+" .gb-icon"]=[{"padding-top":!V&&f(F,P),"padding-right":!V&&f(A,P),"padding-bottom":!V&&f(N,P),"padding-left":!V&&f(U,P),"align-self":!(!z||"above"!==R)&&pe(r),display:!(!z||"above"!==R)&&"inline"}],Z[W+" .gb-icon svg"]=[{width:f(H,I),height:f(H,I)}],Z["#block-"+t]=[{display:!!G&&"inline-flex"}],Z=Object(d.applyFilters)("generateblocks.editor.tabletCSS",Z,this.props,"text"),Object(l.createElement)("style",null,h(Z))}}class Ge extends l.Component{render(){let e=[];return e=Object(d.applyFilters)("generateblocks.editor.tabletOnlyCSS",e,this.props,"headline"),Object(l.createElement)("style",null,h(e))}}class Ve extends l.Component{render(){const e=Object(d.applyFilters)("generateblocks.editor.cssAttrs",this.props.attributes,this.props),{clientId:t}=this.props,{uniqueId:a,element:i,alignmentMobile:r,fontSizeMobile:n,fontSizeUnit:o,lineHeightMobile:c,lineHeightUnit:s,letterSpacingMobile:g,marginTopMobile:b,marginRightMobile:p,marginBottomMobile:u,marginLeftMobile:m,marginUnit:k,paddingTopMobile:w,paddingRightMobile:y,paddingBottomMobile:O,paddingLeftMobile:v,paddingUnit:j,borderSizeTopMobile:T,borderSizeRightMobile:C,borderSizeBottomMobile:B,borderSizeLeftMobile:_,borderRadiusTopRightMobile:S,borderRadiusBottomRightMobile:x,borderRadiusBottomLeftMobile:E,borderRadiusTopLeftMobile:D,borderRadiusUnit:M,icon:z,iconLocationMobile:R,iconVerticalAlignmentMobile:L,iconPaddingTopMobile:F,iconPaddingRightMobile:A,iconPaddingBottomMobile:N,iconPaddingLeftMobile:U,iconPaddingUnit:P,iconSizeMobile:H,iconSizeUnit:I,inlineWidthMobile:G,removeText:V}=e,W=i+".gb-headline-"+a;let q="inline-block",Z=[];return Z[".editor-styles-wrapper "+W]=[{"text-align":r,"font-size":f(n,o),"line-height":f(c,s),"letter-spacing":f(g,"em"),display:!!z&&"flex","align-items":pe("inline"===R?L:r),"justify-content":pe(r),"flex-direction":!(!z||"above"!==R)&&"column","margin-top":f(b,k)+" !important","margin-right":f(p,k)+" !important","margin-bottom":f(u,k)+" !important","margin-left":f(m,k)+" !important","padding-top":f(w,j),"padding-right":f(y,j),"padding-bottom":f(O,j),"padding-left":f(v,j),"border-top-left-radius":f(D,M),"border-top-right-radius":f(S,M),"border-bottom-right-radius":f(x,M),"border-bottom-left-radius":f(E,M)}],z&&(q="inline-flex",Z[".editor-styles-wrapper "+W].push({display:!!G&&q})),(T||C||B||_)&&Z[".editor-styles-wrapper "+W].push({"border-top-width":f(T,"px"),"border-right-width":f(C,"px"),"border-bottom-width":f(B,"px"),"border-left-width":f(_,"px"),"border-style":"solid"}),Z[W+" .gb-icon"]=[{"padding-top":!V&&f(F,P),"padding-right":!V&&f(A,P),"padding-bottom":!V&&f(N,P),"padding-left":!V&&f(U,P),"align-self":!(!z||"above"!==R)&&pe(r),display:!(!z||"above"!==R)&&"inline"}],Z[W+" .gb-icon svg"]=[{width:f(H,I),height:f(H,I)}],Z["#block-"+t]=[{display:!!G&&"inline-flex"}],Z=Object(d.applyFilters)("generateblocks.editor.mobileCSS",Z,this.props,"headline"),Object(l.createElement)("style",null,h(Z))}}var We=a(11);const qe=Object(l.createElement)("svg",{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"1.414"},Object(l.createElement)("path",{d:"M4.331,15.598l2.193,1.693c0,0 -0.813,1.215 -0.992,1.215c-1.129,0.003 -1.424,0.008 -2.603,-0.001c-0.741,-0.006 -0.04,-0.955 0.187,-1.269c0.502,-0.694 1.215,-1.638 1.215,-1.638Zm7.632,-14.107c0.364,-0.061 5.412,3.896 5.439,4.272c0.031,0.438 -4.887,8.469 -5.635,9.648c-0.251,0.397 -1.185,0.206 -2.064,0.472c-0.801,0.243 -1.89,1.336 -2.193,1.105c-1.047,-0.796 -2.217,-1.646 -3.117,-2.49c-0.367,-0.343 0.388,-1.241 0.405,-2.188c0.015,-0.811 -0.644,-2.029 -0.196,-2.575c0.836,-1.019 6.931,-8.172 7.361,-8.244Zm0.144,1.454l3.95,3.105l-4.972,8.1l-5.197,-4.053l6.219,-7.152Z"})),Ze=Object(M.compose)(Object(D.withSelect)((function(e){return{selectedBlock:e("core/block-editor").getSelectedBlock()}})),Object(M.ifCondition)((function(e){return e.selectedBlock&&"generateblocks/headline"===e.selectedBlock.name})))((function(e){const t=()=>e.onChange(Object(We.toggleFormat)(e.value,{type:"generateblocks/mark"}));return Object(l.createElement)(l.Fragment,null,Object(l.createElement)(x.RichTextShortcut,{type:"primary",character:"m",onUse:t}),Object(l.createElement)(x.RichTextToolbarButton,{icon:qe,title:Object(g.__)("Highlight","generateblocks"),onClick:t,isActive:e.isActive,shortcutType:"access",shortcutCharacter:"m",className:"toolbar-button-with-text toolbar-button__generateblocks/mark"}))})),Ke={title:Object(g.__)("Highlight","generateblocks"),tagName:"mark",className:"gb-highlight",edit:Ze};function Je({level:e}){const t={h1:"M9 5h2v10H9v-4H5v4H3V5h2v4h4V5zm6.6 0c-.6.9-1.5 1.7-2.6 2v1h2v7h2V5h-1.4z",h2:"M7 5h2v10H7v-4H3v4H1V5h2v4h4V5zm8 8c.5-.4.6-.6 1.1-1.1.4-.4.8-.8 1.2-1.3.3-.4.6-.8.9-1.3.2-.4.3-.8.3-1.3 0-.4-.1-.9-.3-1.3-.2-.4-.4-.7-.8-1-.3-.3-.7-.5-1.2-.6-.5-.2-1-.2-1.5-.2-.4 0-.7 0-1.1.1-.3.1-.7.2-1 .3-.3.1-.6.3-.9.5-.3.2-.6.4-.8.7l1.2 1.2c.3-.3.6-.5 1-.7.4-.2.7-.3 1.2-.3s.9.1 1.3.4c.3.3.5.7.5 1.1 0 .4-.1.8-.4 1.1-.3.5-.6.9-1 1.2-.4.4-1 .9-1.6 1.4-.6.5-1.4 1.1-2.2 1.6V15h8v-2H15z",h3:"M12.1 12.2c.4.3.8.5 1.2.7.4.2.9.3 1.4.3.5 0 1-.1 1.4-.3.3-.1.5-.5.5-.8 0-.2 0-.4-.1-.6-.1-.2-.3-.3-.5-.4-.3-.1-.7-.2-1-.3-.5-.1-1-.1-1.5-.1V9.1c.7.1 1.5-.1 2.2-.4.4-.2.6-.5.6-.9 0-.3-.1-.6-.4-.8-.3-.2-.7-.3-1.1-.3-.4 0-.8.1-1.1.3-.4.2-.7.4-1.1.6l-1.2-1.4c.5-.4 1.1-.7 1.6-.9.5-.2 1.2-.3 1.8-.3.5 0 1 .1 1.6.2.4.1.8.3 1.2.5.3.2.6.5.8.8.2.3.3.7.3 1.1 0 .5-.2.9-.5 1.3-.4.4-.9.7-1.5.9v.1c.6.1 1.2.4 1.6.8.4.4.7.9.7 1.5 0 .4-.1.8-.3 1.2-.2.4-.5.7-.9.9-.4.3-.9.4-1.3.5-.5.1-1 .2-1.6.2-.8 0-1.6-.1-2.3-.4-.6-.2-1.1-.6-1.6-1l1.1-1.4zM7 9H3V5H1v10h2v-4h4v4h2V5H7v4z",h4:"M9 15H7v-4H3v4H1V5h2v4h4V5h2v10zm10-2h-1v2h-2v-2h-5v-2l4-6h3v6h1v2zm-3-2V7l-2.8 4H16z",h5:"M12.1 12.2c.4.3.7.5 1.1.7.4.2.9.3 1.3.3.5 0 1-.1 1.4-.4.4-.3.6-.7.6-1.1 0-.4-.2-.9-.6-1.1-.4-.3-.9-.4-1.4-.4H14c-.1 0-.3 0-.4.1l-.4.1-.5.2-1-.6.3-5h6.4v1.9h-4.3L14 8.8c.2-.1.5-.1.7-.2.2 0 .5-.1.7-.1.5 0 .9.1 1.4.2.4.1.8.3 1.1.6.3.2.6.6.8.9.2.4.3.9.3 1.4 0 .5-.1 1-.3 1.4-.2.4-.5.8-.9 1.1-.4.3-.8.5-1.3.7-.5.2-1 .3-1.5.3-.8 0-1.6-.1-2.3-.4-.6-.2-1.1-.6-1.6-1-.1-.1 1-1.5 1-1.5zM9 15H7v-4H3v4H1V5h2v4h4V5h2v10z",h6:"M9 15H7v-4H3v4H1V5h2v4h4V5h2v10zm8.6-7.5c-.2-.2-.5-.4-.8-.5-.6-.2-1.3-.2-1.9 0-.3.1-.6.3-.8.5l-.6.9c-.2.5-.2.9-.2 1.4.4-.3.8-.6 1.2-.8.4-.2.8-.3 1.3-.3.4 0 .8 0 1.2.2.4.1.7.3 1 .6.3.3.5.6.7.9.2.4.3.8.3 1.3s-.1.9-.3 1.4c-.2.4-.5.7-.8 1-.4.3-.8.5-1.2.6-1 .3-2 .3-3 0-.5-.2-1-.5-1.4-.9-.4-.4-.8-.9-1-1.5-.2-.6-.3-1.3-.3-2.1s.1-1.6.4-2.3c.2-.6.6-1.2 1-1.6.4-.4.9-.7 1.4-.9.6-.3 1.1-.4 1.7-.4.7 0 1.4.1 2 .3.5.2 1 .5 1.4.8 0 .1-1.3 1.4-1.3 1.4zm-2.4 5.8c.2 0 .4 0 .6-.1.2 0 .4-.1.5-.2.1-.1.3-.3.4-.5.1-.2.1-.5.1-.7 0-.4-.1-.8-.4-1.1-.3-.2-.7-.3-1.1-.3-.3 0-.7.1-1 .2-.4.2-.7.4-1 .7 0 .3.1.7.3 1 .1.2.3.4.4.6.2.1.3.3.5.3.2.1.5.2.7.1z",p:"M7.411 18V6.005h3.887c1.474 0 2.429.067 2.881.184.687.185 1.257.57 1.726 1.173.452.603.687 1.374.687 2.329 0 .737-.135 1.357-.403 1.86-.268.502-.603.904-1.021 1.189-.403.284-.821.469-1.257.57-.57.117-1.407.167-2.496.167H9.823V18H7.411zm2.412-9.968v3.401h1.324c.955 0 1.591-.05 1.926-.184.319-.118.57-.319.754-.587.185-.268.268-.57.268-.938 0-.435-.117-.787-.385-1.072a1.607 1.607 0 00-.972-.536c-.284-.05-.87-.084-1.742-.084H9.823z",div:"M6.969 6.005h4.423c1.005 0 1.759.084 2.295.235.703.2 1.306.57 1.809 1.105.503.52.871 1.173 1.14 1.944.267.754.385 1.708.385 2.83 0 .99-.118 1.844-.369 2.547-.302.871-.72 1.592-1.273 2.128-.419.402-.989.72-1.709.955-.536.167-1.24.251-2.144.251H6.969V6.005zm2.43 2.027v7.94h1.808c.67 0 1.156-.033 1.458-.1.402-.1.72-.268.972-.502.268-.235.485-.62.636-1.156.168-.536.251-1.273.251-2.195 0-.938-.083-1.641-.25-2.144-.152-.486-.386-.888-.688-1.156-.285-.285-.67-.469-1.122-.57-.335-.067-.989-.117-1.977-.117H9.398z"};if(!t.hasOwnProperty(e))return null;let a="0 0 20 20";return"p"!==e&&"div"!==e||(a="0 0 24 24"),Object(l.createElement)(b.SVG,{width:"24",height:"24",viewBox:a,xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)(b.Path,{d:t[e]}))}Object(We.registerFormatType)("generateblocks/mark",Ke);const Ye=/[\s#]/g;class $e extends l.Component{constructor(){super(...arguments),this.getFontSizePlaceholder=this.getFontSizePlaceholder.bind(this),this.getDeviceType=this.getDeviceType.bind(this),this.setDeviceType=this.setDeviceType.bind(this),this.state={selectedDevice:"Desktop",fontSizePlaceholder:"17"}}componentDidMount(){const e=T(wp.data.select("core/block-editor").getBlocks(),[],this.props.clientId);this.props.attributes.uniqueId&&!e.includes(this.props.attributes.uniqueId)||this.props.setAttributes({uniqueId:this.props.clientId.substr(2,9).replace("-","")});const t=this.getFontSizePlaceholder();t!==this.state.fontSizePlaceholder&&this.setState({fontSizePlaceholder:t}),!this.props.attributes.hasIcon&&this.props.attributes.icon&&this.props.setAttributes({hasIcon:!0})}componentDidUpdate(){const e=this.getFontSizePlaceholder();e!==this.state.fontSizePlaceholder&&this.setState({fontSizePlaceholder:e})}getFontSizePlaceholder(){let e="25";if("em"===this.props.attributes.fontSizeUnit)e="1";else if("%"===this.props.attributes.fontSizeUnit)e="100";else{const t=document.querySelector(".gb-headline-"+this.props.attributes.uniqueId);t&&(e=parseFloat(window.getComputedStyle(t).fontSize))}return e}getDeviceType(){let e=this.props.deviceType?this.props.deviceType:this.state.selectedDevice;return generateBlocksInfo.syncResponsivePreviews||(e=this.state.selectedDevice),e}setDeviceType(e){generateBlocksInfo.syncResponsivePreviews&&this.props.deviceType?(this.props.setDeviceType(e),this.setState({selectedDevice:e})):this.setState({selectedDevice:e})}render(){const{attributes:e,setAttributes:t,onReplace:a,clientId:i}=this.props,{fontSizePlaceholder:n}=this.state,{uniqueId:c,anchor:h,className:f,content:m,element:k,alignment:w,alignmentTablet:y,alignmentMobile:O,backgroundColor:v,backgroundColorOpacity:T,textColor:C,linkColor:B,linkColorHover:_,borderColor:S,borderColorOpacity:D,highlightTextColor:M,fontFamily:z,googleFont:R,googleFontVariants:L,marginTop:F,marginRight:A,marginBottom:N,marginLeft:U,icon:H,hasIcon:G,iconColor:W,iconColorOpacity:q,iconLocation:K,iconLocationTablet:J,iconLocationMobile:Y,iconVerticalAlignment:$,iconVerticalAlignmentTablet:Q,iconVerticalAlignmentMobile:X,iconSize:ee,iconSizeTablet:te,iconSizeMobile:ae,iconSizeUnit:le,inlineWidth:ie,inlineWidthTablet:re,inlineWidthMobile:ne,removeText:oe,ariaLabel:ce}=e;let se="";L&&(se=":"+L);let ge="";ge=te||0===te?te:ee||0===ee?ee:"";let be={className:o()({"gb-headline":!0,["gb-headline-"+c]:!0,"gb-headline-text":!G,[f]:void 0!==f}),id:h||null};be=Object(d.applyFilters)("generateblocks.frontend.htmlAttributes",be,"generateblocks/headline",e);const de=(t,a)=>{let l;return l=a||t?Object(E.createBlock)("generateblocks/headline",{...e,content:t}):Object(E.createBlock)("core/paragraph"),a&&(l.clientId=i),l};return Object(l.createElement)(l.Fragment,null,Object(l.createElement)(x.BlockControls,null,Object(l.createElement)(b.ToolbarGroup,{isCollapsed:!0,icon:Object(l.createElement)(Je,{level:k}),label:Object(g.__)("Change Headline Element","generateblocks"),controls:[{isActive:"h1"===k,icon:Object(l.createElement)(Je,{level:"h1"}),title:Object(g.sprintf)(// translators: %s: heading level e.g: "1", "2", "3"
10
  Object(g.__)("Heading %s","generateblocks"),"1"),onClick:()=>{t({element:"h1"})}},{isActive:"h2"===k,icon:Object(l.createElement)(Je,{level:"h2"}),title:Object(g.sprintf)(// translators: %s: heading level e.g: "1", "2", "3"
11
  Object(g.__)("Heading %s","generateblocks"),"2"),onClick:()=>{t({element:"h2"})}},{isActive:"h3"===k,icon:Object(l.createElement)(Je,{level:"h3"}),title:Object(g.sprintf)(// translators: %s: heading level e.g: "1", "2", "3"
12
  Object(g.__)("Heading %s","generateblocks"),"3"),onClick:()=>{t({element:"h3"})}},{isActive:"h4"===k,icon:Object(l.createElement)(Je,{level:"h4"}),title:Object(g.sprintf)(// translators: %s: heading level e.g: "1", "2", "3"
1
  !function(e){var t={};function a(l){if(t[l])return t[l].exports;var i=t[l]={i:l,l:!1,exports:{}};return e[l].call(i.exports,i,i.exports,a),i.l=!0,i.exports}a.m=e,a.c=t,a.d=function(e,t,l){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:l})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var l=Object.create(null);if(a.r(l),Object.defineProperty(l,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)a.d(l,i,function(t){return e[t]}.bind(null,i));return l},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="",a(a.s=14)}([function(e,t){e.exports=window.wp.element},function(e,t){e.exports=window.wp.i18n},function(e,t){e.exports=window.wp.components},function(e,t){e.exports=window.wp.hooks},function(e,t){function a(){return e.exports=a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var l in a)Object.prototype.hasOwnProperty.call(a,l)&&(e[l]=a[l])}return e},e.exports.default=e.exports,e.exports.__esModule=!0,a.apply(this,arguments)}e.exports=a,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=window.wp.blockEditor},function(e,t,a){var l;!function(){"use strict";var a={}.hasOwnProperty;function i(){for(var e=[],t=0;t<arguments.length;t++){var l=arguments[t];if(l){var r=typeof l;if("string"===r||"number"===r)e.push(l);else if(Array.isArray(l)){if(l.length){var n=i.apply(null,l);n&&e.push(n)}}else if("object"===r)if(l.toString===Object.prototype.toString)for(var o in l)a.call(l,o)&&l[o]&&e.push(o);else e.push(l.toString())}}return e.join(" ")}e.exports?(i.default=i,e.exports=i):void 0===(l=function(){return i}.apply(t,[]))||(e.exports=l)}()},function(e,t){e.exports=window.wp.blocks},function(e,t){e.exports=window.wp.data},function(e,t){e.exports=window.wp.compose},function(e){e.exports=JSON.parse('{"Roboto":{"weight":["100","100italic","300","300italic","regular","italic","500","500italic","700","700italic","900","900italic"],"fallback":"sans-serif"},"Open Sans":{"weight":["300","300italic","regular","italic","600","600italic","700","700italic","800","800italic"],"fallback":"sans-serif"},"Noto Sans JP":{"weight":["100","300","regular","500","700","900"],"fallback":"sans-serif"},"Lato":{"weight":["100","100italic","300","300italic","regular","italic","700","700italic","900","900italic"],"fallback":"sans-serif"},"Montserrat":{"weight":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"fallback":"sans-serif"},"Roboto Condensed":{"weight":["300","300italic","regular","italic","700","700italic"],"fallback":"sans-serif"},"Source Sans Pro":{"weight":["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","900","900italic"],"fallback":"sans-serif"},"Oswald":{"weight":["200","300","regular","500","600","700"],"fallback":"sans-serif"},"Poppins":{"weight":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"fallback":"sans-serif"},"Roboto Mono":{"weight":["100","200","300","regular","500","600","700","100italic","200italic","300italic","italic","500italic","600italic","700italic"],"fallback":"monospace"},"Noto Sans":{"weight":["regular","italic","700","700italic"],"fallback":"sans-serif"},"Raleway":{"weight":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"fallback":"sans-serif"},"PT Sans":{"weight":["regular","italic","700","700italic"],"fallback":"sans-serif"},"Roboto Slab":{"weight":["100","200","300","regular","500","600","700","800","900"],"fallback":"serif"},"Merriweather":{"weight":["300","300italic","regular","italic","700","700italic","900","900italic"],"fallback":"serif"},"Ubuntu":{"weight":["300","300italic","regular","italic","500","500italic","700","700italic"],"fallback":"sans-serif"},"Playfair Display":{"weight":["regular","500","600","700","800","900","italic","500italic","600italic","700italic","800italic","900italic"],"fallback":"serif"},"Nunito":{"weight":["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","800","800italic","900","900italic"],"fallback":"sans-serif"},"Noto Sans KR":{"weight":["100","300","regular","500","700","900"],"fallback":"sans-serif"},"Open Sans Condensed":{"weight":["300","300italic","700"],"fallback":"sans-serif"},"Rubik":{"weight":["300","regular","500","600","700","800","900","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"fallback":"sans-serif"},"Lora":{"weight":["regular","500","600","700","italic","500italic","600italic","700italic"],"fallback":"serif"},"Work Sans":{"weight":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"fallback":"sans-serif"},"Mukta":{"weight":["200","300","regular","500","600","700","800"],"fallback":"sans-serif"},"Noto Sans TC":{"weight":["100","300","regular","500","700","900"],"fallback":"sans-serif"},"Nunito Sans":{"weight":["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","800","800italic","900","900italic"],"fallback":"sans-serif"},"PT Serif":{"weight":["regular","italic","700","700italic"],"fallback":"serif"},"Nanum Gothic":{"weight":["regular","700","800"],"fallback":"sans-serif"},"Inter":{"weight":["100","200","300","regular","500","600","700","800","900"],"fallback":"sans-serif"},"Fira Sans":{"weight":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"fallback":"sans-serif"},"Noto Serif":{"weight":["regular","italic","700","700italic"],"fallback":"serif"},"Quicksand":{"weight":["300","regular","500","600","700"],"fallback":"sans-serif"},"Titillium Web":{"weight":["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","900"],"fallback":"sans-serif"},"Hind Siliguri":{"weight":["300","regular","500","600","700"],"fallback":"sans-serif"},"Karla":{"weight":["200","300","regular","500","600","700","800","200italic","300italic","italic","500italic","600italic","700italic","800italic"],"fallback":"sans-serif"},"Barlow":{"weight":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"fallback":"sans-serif"},"Inconsolata":{"weight":["200","300","regular","500","600","700","800","900"],"fallback":"monospace"},"Heebo":{"weight":["100","200","300","regular","500","600","700","800","900"],"fallback":"sans-serif"},"Noto Sans SC":{"weight":["100","300","regular","500","700","900"],"fallback":"sans-serif"},"Oxygen":{"weight":["300","regular","700"],"fallback":"sans-serif"},"Source Code Pro":{"weight":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","900","900italic"],"fallback":"monospace"},"Anton":{"weight":["regular"],"fallback":"sans-serif"},"Josefin Sans":{"weight":["100","200","300","regular","500","600","700","100italic","200italic","300italic","italic","500italic","600italic","700italic"],"fallback":"sans-serif"},"Arimo":{"weight":["regular","500","600","700","italic","500italic","600italic","700italic"],"fallback":"sans-serif"},"PT Sans Narrow":{"weight":["regular","700"],"fallback":"sans-serif"},"IBM Plex Sans":{"weight":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"fallback":"sans-serif"},"Dosis":{"weight":["200","300","regular","500","600","700","800"],"fallback":"sans-serif"},"Noto Sans HK":{"weight":["100","300","regular","500","700","900"],"fallback":"sans-serif"},"Libre Franklin":{"weight":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"fallback":"sans-serif"},"Libre Baskerville":{"weight":["regular","italic","700"],"fallback":"serif"},"Cabin":{"weight":["regular","500","600","700","italic","500italic","600italic","700italic"],"fallback":"sans-serif"},"Hind":{"weight":["300","regular","500","600","700"],"fallback":"sans-serif"},"Bitter":{"weight":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"fallback":"serif"},"Crimson Text":{"weight":["regular","italic","600","600italic","700","700italic"],"fallback":"serif"},"Bebas Neue":{"weight":["regular"],"fallback":"display"},"Lobster":{"weight":["regular"],"fallback":"display"},"Yanone Kaffeesatz":{"weight":["200","300","regular","500","600","700"],"fallback":"sans-serif"},"Dancing Script":{"weight":["regular","500","600","700"],"fallback":"handwriting"},"Cairo":{"weight":["200","300","regular","600","700","900"],"fallback":"sans-serif"},"Abel":{"weight":["regular"],"fallback":"sans-serif"},"Fjalla One":{"weight":["regular"],"fallback":"sans-serif"},"Varela Round":{"weight":["regular"],"fallback":"sans-serif"},"Source Serif Pro":{"weight":["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","900","900italic"],"fallback":"serif"},"Arvo":{"weight":["regular","italic","700","700italic"],"fallback":"serif"},"EB Garamond":{"weight":["regular","500","600","700","800","italic","500italic","600italic","700italic","800italic"],"fallback":"serif"},"Barlow Condensed":{"weight":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"fallback":"sans-serif"},"Architects Daughter":{"weight":["regular"],"fallback":"handwriting"},"Zilla Slab":{"weight":["300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"fallback":"serif"},"Indie Flower":{"weight":["regular"],"fallback":"handwriting"},"Mulish":{"weight":["200","300","regular","500","600","700","800","900","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"fallback":"sans-serif"},"Comfortaa":{"weight":["300","regular","500","600","700"],"fallback":"display"},"DM Sans":{"weight":["regular","italic","500","500italic","700","700italic"],"fallback":"sans-serif"},"Pacifico":{"weight":["regular"],"fallback":"handwriting"},"Exo 2":{"weight":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"fallback":"sans-serif"},"Kanit":{"weight":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"fallback":"sans-serif"},"Prompt":{"weight":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"fallback":"sans-serif"},"Shadows Into Light":{"weight":["regular"],"fallback":"handwriting"},"Questrial":{"weight":["regular"],"fallback":"sans-serif"},"Merriweather Sans":{"weight":["300","regular","500","600","700","800","300italic","italic","500italic","600italic","700italic","800italic"],"fallback":"sans-serif"},"Teko":{"weight":["300","regular","500","600","700"],"fallback":"sans-serif"},"Balsamiq Sans":{"weight":["regular","italic","700","700italic"],"fallback":"display"},"Asap":{"weight":["regular","500","600","700","italic","500italic","600italic","700italic"],"fallback":"sans-serif"},"Hind Madurai":{"weight":["300","regular","500","600","700"],"fallback":"sans-serif"},"Cormorant Garamond":{"weight":["300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"fallback":"serif"},"Antic Slab":{"weight":["regular"],"fallback":"serif"},"Archivo Narrow":{"weight":["regular","italic","500","500italic","600","600italic","700","700italic"],"fallback":"sans-serif"},"Overpass":{"weight":["100","100italic","200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","800","800italic","900","900italic"],"fallback":"sans-serif"},"Abril Fatface":{"weight":["regular"],"fallback":"display"},"Slabo 27px":{"weight":["regular"],"fallback":"serif"},"Exo":{"weight":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"fallback":"sans-serif"},"Assistant":{"weight":["200","300","regular","500","600","700","800"],"fallback":"sans-serif"},"Maven Pro":{"weight":["regular","500","600","700","800","900"],"fallback":"sans-serif"},"Domine":{"weight":["regular","500","600","700"],"fallback":"serif"},"Fira Sans Condensed":{"weight":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"fallback":"sans-serif"},"Caveat":{"weight":["regular","500","600","700"],"fallback":"handwriting"},"Rajdhani":{"weight":["300","regular","500","600","700"],"fallback":"sans-serif"},"IBM Plex Serif":{"weight":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"fallback":"serif"},"Martel":{"weight":["200","300","regular","600","700","800","900"],"fallback":"serif"},"Play":{"weight":["regular","700"],"fallback":"sans-serif"},"Amatic SC":{"weight":["regular","700"],"fallback":"handwriting"},"Bree Serif":{"weight":["regular"],"fallback":"serif"},"Tajawal":{"weight":["200","300","regular","500","700","800","900"],"fallback":"sans-serif"},"Noto Serif JP":{"weight":["200","300","regular","500","600","700","900"],"fallback":"serif"},"Righteous":{"weight":["regular"],"fallback":"display"},"Satisfy":{"weight":["regular"],"fallback":"handwriting"},"Signika":{"weight":["300","regular","500","600","700"],"fallback":"sans-serif"},"Catamaran":{"weight":["100","200","300","regular","500","600","700","800","900"],"fallback":"sans-serif"},"Acme":{"weight":["regular"],"fallback":"sans-serif"},"Manrope":{"weight":["200","300","regular","500","600","700","800"],"fallback":"sans-serif"},"Fredoka One":{"weight":["regular"],"fallback":"display"},"Nanum Myeongjo":{"weight":["regular","700","800"],"fallback":"serif"},"ABeeZee":{"weight":["regular","italic"],"fallback":"sans-serif"},"Amiri":{"weight":["regular","italic","700","700italic"],"fallback":"serif"},"Patrick Hand":{"weight":["regular"],"fallback":"handwriting"},"PT Sans Caption":{"weight":["regular","700"],"fallback":"sans-serif"},"Archivo":{"weight":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"fallback":"sans-serif"},"Alfa Slab One":{"weight":["regular"],"fallback":"display"},"Cinzel":{"weight":["regular","500","600","700","800","900"],"fallback":"serif"},"Crete Round":{"weight":["regular","italic"],"fallback":"serif"},"Permanent Marker":{"weight":["regular"],"fallback":"handwriting"},"Alegreya Sans":{"weight":["100","100italic","300","300italic","regular","italic","500","500italic","700","700italic","800","800italic","900","900italic"],"fallback":"sans-serif"},"Almarai":{"weight":["300","regular","700","800"],"fallback":"sans-serif"},"Barlow Semi Condensed":{"weight":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"fallback":"sans-serif"},"Russo One":{"weight":["regular"],"fallback":"sans-serif"},"Vollkorn":{"weight":["regular","500","600","700","800","900","italic","500italic","600italic","700italic","800italic","900italic"],"fallback":"serif"},"Sarabun":{"weight":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],"fallback":"sans-serif"},"Krona One":{"weight":["regular"],"fallback":"sans-serif"},"M PLUS Rounded 1c":{"weight":["100","300","regular","500","700","800","900"],"fallback":"sans-serif"},"Noticia Text":{"weight":["regular","italic","700","700italic"],"fallback":"serif"},"Courgette":{"weight":["regular"],"fallback":"handwriting"},"Monda":{"weight":["regular","700"],"fallback":"sans-serif"},"Alegreya":{"weight":["regular","500","600","700","800","900","italic","500italic","600italic","700italic","800italic","900italic"],"fallback":"serif"},"Frank Ruhl Libre":{"weight":["300","regular","500","700","900"],"fallback":"serif"},"Patua One":{"weight":["regular"],"fallback":"display"},"Ubuntu Condensed":{"weight":["regular"],"fallback":"sans-serif"},"Great Vibes":{"weight":["regular"],"fallback":"handwriting"},"Quattrocento Sans":{"weight":["regular","italic","700","700italic"],"fallback":"sans-serif"},"M PLUS 1p":{"weight":["100","300","regular","500","700","800","900"],"fallback":"sans-serif"},"Spartan":{"weight":["100","200","300","regular","500","600","700","800","900"],"fallback":"sans-serif"},"Yantramanav":{"weight":["100","300","regular","500","700","900"],"fallback":"sans-serif"},"Lobster Two":{"weight":["regular","italic","700","700italic"],"fallback":"display"},"Archivo Black":{"weight":["regular"],"fallback":"sans-serif"},"Kaushan Script":{"weight":["regular"],"fallback":"handwriting"},"Tinos":{"weight":["regular","italic","700","700italic"],"fallback":"serif"},"Cardo":{"weight":["regular","italic","700"],"fallback":"serif"},"Orbitron":{"weight":["regular","500","600","700","800","900"],"fallback":"sans-serif"},"Sacramento":{"weight":["regular"],"fallback":"handwriting"},"IBM Plex Mono":{"weight":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"fallback":"monospace"},"Francois One":{"weight":["regular"],"fallback":"sans-serif"},"Luckiest Guy":{"weight":["regular"],"fallback":"display"},"Gothic A1":{"weight":["100","200","300","regular","500","600","700","800","900"],"fallback":"sans-serif"},"Kalam":{"weight":["300","regular","700"],"fallback":"handwriting"},"Parisienne":{"weight":["regular"],"fallback":"handwriting"},"Gloria Hallelujah":{"weight":["regular"],"fallback":"handwriting"},"Didact Gothic":{"weight":["regular"],"fallback":"sans-serif"},"Cantarell":{"weight":["regular","italic","700","700italic"],"fallback":"sans-serif"},"Press Start 2P":{"weight":["regular"],"fallback":"display"},"Jost":{"weight":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"fallback":"sans-serif"},"Rokkitt":{"weight":["100","200","300","regular","500","600","700","800","900"],"fallback":"serif"},"Paytone One":{"weight":["regular"],"fallback":"sans-serif"},"Prata":{"weight":["regular"],"fallback":"serif"},"Baloo 2":{"weight":["regular","500","600","700","800"],"fallback":"display"},"Cuprum":{"weight":["regular","500","600","700","italic","500italic","600italic","700italic"],"fallback":"sans-serif"},"Chivo":{"weight":["300","300italic","regular","italic","700","700italic","900","900italic"],"fallback":"sans-serif"},"Encode Sans":{"weight":["100","200","300","regular","500","600","700","800","900"],"fallback":"sans-serif"},"News Cycle":{"weight":["regular","700"],"fallback":"sans-serif"},"Old Standard TT":{"weight":["regular","italic","700"],"fallback":"serif"},"Hind Guntur":{"weight":["300","regular","500","600","700"],"fallback":"sans-serif"},"Pathway Gothic One":{"weight":["regular"],"fallback":"sans-serif"},"Red Hat Display":{"weight":["regular","italic","500","500italic","700","700italic","900","900italic"],"fallback":"sans-serif"},"Public Sans":{"weight":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"fallback":"sans-serif"},"Secular One":{"weight":["regular"],"fallback":"sans-serif"},"Volkhov":{"weight":["regular","italic","700","700italic"],"fallback":"serif"},"Concert One":{"weight":["regular"],"fallback":"display"},"Asap Condensed":{"weight":["regular","italic","500","500italic","600","600italic","700","700italic"],"fallback":"sans-serif"},"Montserrat Alternates":{"weight":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"fallback":"sans-serif"},"Ropa Sans":{"weight":["regular","italic"],"fallback":"sans-serif"},"Josefin Slab":{"weight":["100","200","300","regular","500","600","700","100italic","200italic","300italic","italic","500italic","600italic","700italic"],"fallback":"serif"},"Poiret One":{"weight":["regular"],"fallback":"display"},"Passion One":{"weight":["regular","700","900"],"fallback":"display"},"Padauk":{"weight":["regular","700"],"fallback":"sans-serif"},"Changa":{"weight":["200","300","regular","500","600","700","800"],"fallback":"sans-serif"},"Saira Condensed":{"weight":["100","200","300","regular","500","600","700","800","900"],"fallback":"sans-serif"},"Ultra":{"weight":["regular"],"fallback":"serif"},"Quattrocento":{"weight":["regular","700"],"fallback":"serif"},"Arapey":{"weight":["regular","italic"],"fallback":"serif"},"Vidaloka":{"weight":["regular"],"fallback":"serif"},"Playfair Display SC":{"weight":["regular","italic","700","700italic","900","900italic"],"fallback":"serif"},"Cookie":{"weight":["regular"],"fallback":"handwriting"},"Chakra Petch":{"weight":["300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"fallback":"sans-serif"},"Istok Web":{"weight":["regular","italic","700","700italic"],"fallback":"sans-serif"},"Cormorant":{"weight":["300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"fallback":"serif"},"DM Serif Display":{"weight":["regular","italic"],"fallback":"serif"},"Neuton":{"weight":["200","300","regular","italic","700","800"],"fallback":"serif"},"Spectral":{"weight":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],"fallback":"serif"},"Sawarabi Mincho":{"weight":["regular"],"fallback":"sans-serif"},"Lemonada":{"weight":["300","regular","500","600","700"],"fallback":"display"},"Yellowtail":{"weight":["regular"],"fallback":"handwriting"},"Handlee":{"weight":["regular"],"fallback":"handwriting"},"Merienda":{"weight":["regular","700"],"fallback":"handwriting"},"Philosopher":{"weight":["regular","italic","700","700italic"],"fallback":"sans-serif"},"Sanchez":{"weight":["regular","italic"],"fallback":"serif"},"Hammersmith One":{"weight":["regular"],"fallback":"sans-serif"},"Special Elite":{"weight":["regular"],"fallback":"display"},"Economica":{"weight":["regular","italic","700","700italic"],"fallback":"sans-serif"},"Staatliches":{"weight":["regular"],"fallback":"display"},"Sriracha":{"weight":["regular"],"fallback":"handwriting"},"Hind Vadodara":{"weight":["300","regular","500","600","700"],"fallback":"sans-serif"},"Monoton":{"weight":["regular"],"fallback":"display"},"Ruda":{"weight":["regular","500","600","700","800","900"],"fallback":"sans-serif"},"Advent Pro":{"weight":["100","200","300","regular","500","600","700"],"fallback":"sans-serif"},"Saira":{"weight":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"fallback":"sans-serif"},"Homemade Apple":{"weight":["regular"],"fallback":"handwriting"},"Sigmar One":{"weight":["regular"],"fallback":"display"},"Mitr":{"weight":["200","300","regular","500","600","700"],"fallback":"sans-serif"},"Bangers":{"weight":["regular"],"fallback":"display"},"Khand":{"weight":["300","regular","500","600","700"],"fallback":"sans-serif"},"Faustina":{"weight":["regular","500","600","700","italic","500italic","600italic","700italic"],"fallback":"serif"},"Saira Semi Condensed":{"weight":["100","200","300","regular","500","600","700","800","900"],"fallback":"sans-serif"},"Cabin Condensed":{"weight":["regular","500","600","700"],"fallback":"sans-serif"},"Gudea":{"weight":["regular","italic","700"],"fallback":"sans-serif"},"Fira Sans Extra Condensed":{"weight":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"fallback":"sans-serif"},"DM Serif Text":{"weight":["regular","italic"],"fallback":"serif"},"El Messiri":{"weight":["regular","500","600","700"],"fallback":"sans-serif"},"Electrolize":{"weight":["regular"],"fallback":"sans-serif"},"Taviraj":{"weight":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"fallback":"serif"},"PT Mono":{"weight":["regular"],"fallback":"monospace"},"Gentium Basic":{"weight":["regular","italic","700","700italic"],"fallback":"serif"},"Space Mono":{"weight":["regular","italic","700","700italic"],"fallback":"monospace"},"Alice":{"weight":["regular"],"fallback":"serif"},"Unica One":{"weight":["regular"],"fallback":"display"},"Ubuntu Mono":{"weight":["regular","italic","700","700italic"],"fallback":"monospace"},"Pragati Narrow":{"weight":["regular","700"],"fallback":"sans-serif"},"Noto Serif TC":{"weight":["200","300","regular","500","600","700","900"],"fallback":"serif"},"Amaranth":{"weight":["regular","italic","700","700italic"],"fallback":"sans-serif"},"Karma":{"weight":["300","regular","500","600","700"],"fallback":"serif"},"Actor":{"weight":["regular"],"fallback":"sans-serif"},"Nanum Pen Script":{"weight":["regular"],"fallback":"handwriting"},"Noto Serif SC":{"weight":["200","300","regular","500","600","700","900"],"fallback":"serif"},"Tangerine":{"weight":["regular","700"],"fallback":"handwriting"},"Carter One":{"weight":["regular"],"fallback":"display"},"Neucha":{"weight":["regular"],"fallback":"handwriting"},"Unna":{"weight":["regular","italic","700","700italic"],"fallback":"serif"},"Pontano Sans":{"weight":["regular"],"fallback":"sans-serif"},"Bai Jamjuree":{"weight":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"fallback":"sans-serif"},"Marck Script":{"weight":["regular"],"fallback":"handwriting"},"BenchNine":{"weight":["300","regular","700"],"fallback":"sans-serif"},"Fugaz One":{"weight":["regular"],"fallback":"display"},"Yeseva One":{"weight":["regular"],"fallback":"display"},"Eczar":{"weight":["regular","500","600","700","800"],"fallback":"serif"},"Bad Script":{"weight":["regular"],"fallback":"handwriting"},"Viga":{"weight":["regular"],"fallback":"sans-serif"},"Gentium Book Basic":{"weight":["regular","italic","700","700italic"],"fallback":"serif"},"Jura":{"weight":["300","regular","500","600","700"],"fallback":"sans-serif"},"Allura":{"weight":["regular"],"fallback":"handwriting"},"Palanquin":{"weight":["100","200","300","regular","500","600","700"],"fallback":"sans-serif"},"Sawarabi Gothic":{"weight":["regular"],"fallback":"sans-serif"},"Rock Salt":{"weight":["regular"],"fallback":"handwriting"},"Lusitana":{"weight":["regular","700"],"fallback":"serif"},"Alef":{"weight":["regular","700"],"fallback":"sans-serif"},"Julius Sans One":{"weight":["regular"],"fallback":"sans-serif"},"Tenor Sans":{"weight":["regular"],"fallback":"sans-serif"},"Nothing You Could Do":{"weight":["regular"],"fallback":"handwriting"},"Cutive Mono":{"weight":["regular"],"fallback":"monospace"},"Khula":{"weight":["300","regular","600","700","800"],"fallback":"sans-serif"},"Adamina":{"weight":["regular"],"fallback":"serif"},"Playball":{"weight":["regular"],"fallback":"display"},"Audiowide":{"weight":["regular"],"fallback":"display"},"Jaldi":{"weight":["regular","700"],"fallback":"sans-serif"},"Black Ops One":{"weight":["regular"],"fallback":"display"},"Signika Negative":{"weight":["300","regular","600","700"],"fallback":"sans-serif"},"Shadows Into Light Two":{"weight":["regular"],"fallback":"handwriting"},"Armata":{"weight":["regular"],"fallback":"sans-serif"},"Mali":{"weight":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"fallback":"handwriting"},"Antic":{"weight":["regular"],"fallback":"sans-serif"},"Varela":{"weight":["regular"],"fallback":"sans-serif"},"Berkshire Swash":{"weight":["regular"],"fallback":"handwriting"},"Aleo":{"weight":["300","300italic","regular","italic","700","700italic"],"fallback":"serif"},"Gelasio":{"weight":["regular","italic","500","500italic","600","600italic","700","700italic"],"fallback":"serif"},"Rufina":{"weight":["regular","700"],"fallback":"serif"},"Markazi Text":{"weight":["regular","500","600","700"],"fallback":"serif"},"Nanum Gothic Coding":{"weight":["regular","700"],"fallback":"monospace"},"Allan":{"weight":["regular","700"],"fallback":"display"},"Noto Serif KR":{"weight":["200","300","regular","500","600","700","900"],"fallback":"serif"},"Abhaya Libre":{"weight":["regular","500","600","700","800"],"fallback":"serif"},"Quantico":{"weight":["regular","italic","700","700italic"],"fallback":"sans-serif"},"Marcellus":{"weight":["regular"],"fallback":"serif"},"Sorts Mill Goudy":{"weight":["regular","italic"],"fallback":"serif"},"Alata":{"weight":["regular"],"fallback":"sans-serif"},"Knewave":{"weight":["regular"],"fallback":"display"},"Alex Brush":{"weight":["regular"],"fallback":"handwriting"},"Aclonica":{"weight":["regular"],"fallback":"sans-serif"},"Gruppo":{"weight":["regular"],"fallback":"display"},"Damion":{"weight":["regular"],"fallback":"handwriting"},"Itim":{"weight":["regular"],"fallback":"handwriting"},"Bungee":{"weight":["regular"],"fallback":"display"},"Gochi Hand":{"weight":["regular"],"fallback":"handwriting"},"Mr Dafoe":{"weight":["regular"],"fallback":"handwriting"},"Freckle Face":{"weight":["regular"],"fallback":"display"},"Baloo Chettan 2":{"weight":["regular","500","600","700","800"],"fallback":"display"},"Trirong":{"weight":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"fallback":"serif"},"Kosugi Maru":{"weight":["regular"],"fallback":"sans-serif"},"Rubik Mono One":{"weight":["regular"],"fallback":"sans-serif"},"Fira Mono":{"weight":["regular","500","700"],"fallback":"monospace"},"Cantata One":{"weight":["regular"],"fallback":"serif"},"Suez One":{"weight":["regular"],"fallback":"serif"},"Niconne":{"weight":["regular"],"fallback":"handwriting"},"Six Caps":{"weight":["regular"],"fallback":"sans-serif"},"Miriam Libre":{"weight":["regular","700"],"fallback":"sans-serif"},"Sarala":{"weight":["regular","700"],"fallback":"sans-serif"},"Sintony":{"weight":["regular","700"],"fallback":"sans-serif"},"Titan One":{"weight":["regular"],"fallback":"display"},"Encode Sans Condensed":{"weight":["100","200","300","regular","500","600","700","800","900"],"fallback":"sans-serif"},"Cousine":{"weight":["regular","italic","700","700italic"],"fallback":"monospace"},"PT Serif Caption":{"weight":["regular","italic"],"fallback":"serif"},"Courier Prime":{"weight":["regular","italic","700","700italic"],"fallback":"monospace"},"Overlock":{"weight":["regular","italic","700","700italic","900","900italic"],"fallback":"display"},"Allerta":{"weight":["regular"],"fallback":"sans-serif"},"Arsenal":{"weight":["regular","italic","700","700italic"],"fallback":"sans-serif"},"Black Han Sans":{"weight":["regular"],"fallback":"sans-serif"},"Squada One":{"weight":["regular"],"fallback":"display"},"Lateef":{"weight":["regular"],"fallback":"handwriting"},"Arima Madurai":{"weight":["100","200","300","regular","500","700","800","900"],"fallback":"display"},"Ramabhadra":{"weight":["regular"],"fallback":"sans-serif"},"Covered By Your Grace":{"weight":["regular"],"fallback":"handwriting"},"Martel Sans":{"weight":["200","300","regular","600","700","800","900"],"fallback":"sans-serif"},"Rancho":{"weight":["regular"],"fallback":"handwriting"},"Enriqueta":{"weight":["regular","500","600","700"],"fallback":"serif"},"Syncopate":{"weight":["regular","700"],"fallback":"sans-serif"},"Pinyon Script":{"weight":["regular"],"fallback":"handwriting"},"Chewy":{"weight":["regular"],"fallback":"display"},"Oleo Script":{"weight":["regular","700"],"fallback":"display"},"Kreon":{"weight":["300","regular","500","600","700"],"fallback":"serif"},"Candal":{"weight":["regular"],"fallback":"sans-serif"},"Spinnaker":{"weight":["regular"],"fallback":"sans-serif"},"Reem Kufi":{"weight":["regular"],"fallback":"sans-serif"},"Krub":{"weight":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"fallback":"sans-serif"},"Michroma":{"weight":["regular"],"fallback":"sans-serif"},"Annie Use Your Telescope":{"weight":["regular"],"fallback":"handwriting"},"Lilita One":{"weight":["regular"],"fallback":"display"},"Coda":{"weight":["regular","800"],"fallback":"display"},"Fredericka the Great":{"weight":["regular"],"fallback":"display"},"Mukta Malar":{"weight":["200","300","regular","500","600","700","800"],"fallback":"sans-serif"},"Bowlby One SC":{"weight":["regular"],"fallback":"display"},"Average":{"weight":["regular"],"fallback":"serif"},"Londrina Solid":{"weight":["100","300","regular","900"],"fallback":"display"},"New Tegomin":{"weight":["regular"],"fallback":"serif"},"Glegoo":{"weight":["regular","700"],"fallback":"serif"},"Pridi":{"weight":["200","300","regular","500","600","700"],"fallback":"serif"},"Boogaloo":{"weight":["regular"],"fallback":"display"},"Red Hat Text":{"weight":["regular","italic","500","500italic","700","700italic"],"fallback":"sans-serif"},"Aldrich":{"weight":["regular"],"fallback":"sans-serif"},"Basic":{"weight":["regular"],"fallback":"sans-serif"},"Capriola":{"weight":["regular"],"fallback":"sans-serif"},"Forum":{"weight":["regular"],"fallback":"display"},"Reenie Beanie":{"weight":["regular"],"fallback":"handwriting"},"Laila":{"weight":["300","regular","500","600","700"],"fallback":"sans-serif"},"Alegreya Sans SC":{"weight":["100","100italic","300","300italic","regular","italic","500","500italic","700","700italic","800","800italic","900","900italic"],"fallback":"sans-serif"},"Share Tech Mono":{"weight":["regular"],"fallback":"monospace"},"Italianno":{"weight":["regular"],"fallback":"handwriting"},"Lalezar":{"weight":["regular"],"fallback":"display"},"Lexend Deca":{"weight":["regular"],"fallback":"sans-serif"},"Caveat Brush":{"weight":["regular"],"fallback":"handwriting"},"Shrikhand":{"weight":["regular"],"fallback":"display"},"Creepster":{"weight":["regular"],"fallback":"display"},"Kameron":{"weight":["regular","700"],"fallback":"serif"},"Coda Caption":{"weight":["800"],"fallback":"sans-serif"},"Goudy Bookletter 1911":{"weight":["regular"],"fallback":"serif"},"Coming Soon":{"weight":["regular"],"fallback":"handwriting"},"Saira Extra Condensed":{"weight":["100","200","300","regular","500","600","700","800","900"],"fallback":"sans-serif"},"Yrsa":{"weight":["300","regular","500","600","700"],"fallback":"serif"},"Telex":{"weight":["regular"],"fallback":"sans-serif"},"Bevan":{"weight":["regular"],"fallback":"display"},"Voltaire":{"weight":["regular"],"fallback":"sans-serif"},"Days One":{"weight":["regular"],"fallback":"sans-serif"},"Cabin Sketch":{"weight":["regular","700"],"fallback":"display"},"Norican":{"weight":["regular"],"fallback":"handwriting"},"Rambla":{"weight":["regular","italic","700","700italic"],"fallback":"sans-serif"},"Mukta Vaani":{"weight":["200","300","regular","500","600","700","800"],"fallback":"sans-serif"},"Average Sans":{"weight":["regular"],"fallback":"sans-serif"},"Arbutus Slab":{"weight":["regular"],"fallback":"serif"},"Sansita":{"weight":["regular","italic","700","700italic","800","800italic","900","900italic"],"fallback":"sans-serif"},"Mada":{"weight":["200","300","regular","500","600","700","900"],"fallback":"sans-serif"},"Just Another Hand":{"weight":["regular"],"fallback":"handwriting"},"Nobile":{"weight":["regular","italic","500","500italic","700","700italic"],"fallback":"sans-serif"},"Gilda Display":{"weight":["regular"],"fallback":"serif"},"VT323":{"weight":["regular"],"fallback":"monospace"},"Mandali":{"weight":["regular"],"fallback":"sans-serif"},"Caudex":{"weight":["regular","italic","700","700italic"],"fallback":"serif"},"Anonymous Pro":{"weight":["regular","italic","700","700italic"],"fallback":"monospace"},"Bentham":{"weight":["regular"],"fallback":"serif"},"Overpass Mono":{"weight":["300","regular","600","700"],"fallback":"monospace"},"Sen":{"weight":["regular","700","800"],"fallback":"sans-serif"},"Kadwa":{"weight":["regular","700"],"fallback":"serif"},"Cambay":{"weight":["regular","italic","700","700italic"],"fallback":"sans-serif"},"Yesteryear":{"weight":["regular"],"fallback":"handwriting"},"Molengo":{"weight":["regular"],"fallback":"sans-serif"},"Nixie One":{"weight":["regular"],"fallback":"display"},"Scada":{"weight":["regular","italic","700","700italic"],"fallback":"sans-serif"},"Crimson Pro":{"weight":["200","300","regular","500","600","700","800","900","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"fallback":"serif"},"Arizonia":{"weight":["regular"],"fallback":"handwriting"},"Racing Sans One":{"weight":["regular"],"fallback":"display"},"Scheherazade":{"weight":["regular","700"],"fallback":"serif"},"Seaweed Script":{"weight":["regular"],"fallback":"display"},"Belleza":{"weight":["regular"],"fallback":"sans-serif"},"Harmattan":{"weight":["regular","700"],"fallback":"sans-serif"},"Leckerli One":{"weight":["regular"],"fallback":"handwriting"},"Ovo":{"weight":["regular"],"fallback":"serif"},"Merienda One":{"weight":["regular"],"fallback":"handwriting"},"Holtwood One SC":{"weight":["regular"],"fallback":"serif"},"Cinzel Decorative":{"weight":["regular","700","900"],"fallback":"display"},"Literata":{"weight":["200","300","regular","500","600","700","800","900","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"fallback":"serif"},"Mrs Saint Delafield":{"weight":["regular"],"fallback":"handwriting"},"Schoolbell":{"weight":["regular"],"fallback":"handwriting"},"Bungee Inline":{"weight":["regular"],"fallback":"display"},"Herr Von Muellerhoff":{"weight":["regular"],"fallback":"handwriting"},"Oranienbaum":{"weight":["regular"],"fallback":"serif"},"Baloo Tamma 2":{"weight":["regular","500","600","700","800"],"fallback":"display"},"Sniglet":{"weight":["regular","800"],"fallback":"display"},"Bubblegum Sans":{"weight":["regular"],"fallback":"display"},"Rochester":{"weight":["regular"],"fallback":"handwriting"},"Judson":{"weight":["regular","italic","700"],"fallback":"serif"},"Marcellus SC":{"weight":["regular"],"fallback":"serif"},"Darker Grotesque":{"weight":["300","regular","500","600","700","800","900"],"fallback":"sans-serif"},"Changa One":{"weight":["regular","italic"],"fallback":"display"},"Alegreya SC":{"weight":["regular","italic","500","500italic","700","700italic","800","800italic","900","900italic"],"fallback":"serif"},"Pattaya":{"weight":["regular"],"fallback":"sans-serif"},"Mallanna":{"weight":["regular"],"fallback":"sans-serif"},"Share":{"weight":["regular","italic","700","700italic"],"fallback":"display"},"Podkova":{"weight":["regular","500","600","700","800"],"fallback":"serif"},"Allerta Stencil":{"weight":["regular"],"fallback":"sans-serif"},"Charm":{"weight":["regular","700"],"fallback":"handwriting"},"Niramit":{"weight":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"fallback":"sans-serif"},"Halant":{"weight":["300","regular","500","600","700"],"fallback":"serif"},"Graduate":{"weight":["regular"],"fallback":"display"},"Nanum Brush Script":{"weight":["regular"],"fallback":"handwriting"},"Amita":{"weight":["regular","700"],"fallback":"handwriting"},"Rozha One":{"weight":["regular"],"fallback":"serif"},"Kristi":{"weight":["regular"],"fallback":"handwriting"},"Biryani":{"weight":["200","300","regular","600","700","800","900"],"fallback":"sans-serif"},"Lustria":{"weight":["regular"],"fallback":"serif"},"Delius":{"weight":["regular"],"fallback":"handwriting"},"Suranna":{"weight":["regular"],"fallback":"serif"},"Amethysta":{"weight":["regular"],"fallback":"serif"},"Contrail One":{"weight":["regular"],"fallback":"display"},"Averia Serif Libre":{"weight":["300","300italic","regular","italic","700","700italic"],"fallback":"display"},"Do Hyeon":{"weight":["regular"],"fallback":"sans-serif"},"IBM Plex Sans Condensed":{"weight":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"fallback":"sans-serif"},"Marvel":{"weight":["regular","italic","700","700italic"],"fallback":"sans-serif"},"Rye":{"weight":["regular"],"fallback":"display"},"Fauna One":{"weight":["regular"],"fallback":"serif"},"Corben":{"weight":["regular","700"],"fallback":"display"},"Cedarville Cursive":{"weight":["regular"],"fallback":"handwriting"},"Jockey One":{"weight":["regular"],"fallback":"sans-serif"},"Libre Caslon Text":{"weight":["regular","italic","700"],"fallback":"serif"},"Carrois Gothic":{"weight":["regular"],"fallback":"sans-serif"},"Calligraffitti":{"weight":["regular"],"fallback":"handwriting"},"Trocchi":{"weight":["regular"],"fallback":"serif"},"Spectral SC":{"weight":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],"fallback":"serif"},"Coustard":{"weight":["regular","900"],"fallback":"serif"},"Copse":{"weight":["regular"],"fallback":"serif"},"Athiti":{"weight":["200","300","regular","500","600","700"],"fallback":"sans-serif"},"Carme":{"weight":["regular"],"fallback":"sans-serif"},"Rosario":{"weight":["300","regular","500","600","700","300italic","italic","500italic","600italic","700italic"],"fallback":"sans-serif"},"Limelight":{"weight":["regular"],"fallback":"display"},"Jua":{"weight":["regular"],"fallback":"sans-serif"},"Petit Formal Script":{"weight":["regular"],"fallback":"handwriting"},"Love Ya Like A Sister":{"weight":["regular"],"fallback":"display"},"GFS Didot":{"weight":["regular"],"fallback":"serif"},"Aladin":{"weight":["regular"],"fallback":"handwriting"},"Palanquin Dark":{"weight":["regular","500","600","700"],"fallback":"sans-serif"},"Amiko":{"weight":["regular","600","700"],"fallback":"sans-serif"},"Cormorant Infant":{"weight":["300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"fallback":"serif"},"Wallpoet":{"weight":["regular"],"fallback":"display"},"Magra":{"weight":["regular","700"],"fallback":"sans-serif"},"Grand Hotel":{"weight":["regular"],"fallback":"handwriting"},"Sunflower":{"weight":["300","500","700"],"fallback":"sans-serif"},"Big Shoulders Display":{"weight":["100","300","regular","500","600","700","800","900"],"fallback":"display"},"Slabo 13px":{"weight":["regular"],"fallback":"serif"},"Pangolin":{"weight":["regular"],"fallback":"handwriting"},"Mr De Haviland":{"weight":["regular"],"fallback":"handwriting"},"K2D":{"weight":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],"fallback":"sans-serif"},"Marmelad":{"weight":["regular"],"fallback":"sans-serif"},"Thasadith":{"weight":["regular","italic","700","700italic"],"fallback":"sans-serif"},"La Belle Aurore":{"weight":["regular"],"fallback":"handwriting"},"Hanuman":{"weight":["regular","700"],"fallback":"serif"},"Metrophobic":{"weight":["regular"],"fallback":"sans-serif"},"Epilogue":{"weight":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"fallback":"sans-serif"},"Radley":{"weight":["regular","italic"],"fallback":"serif"},"Poly":{"weight":["regular","italic"],"fallback":"serif"},"Commissioner":{"weight":["100","200","300","regular","500","600","700","800","900"],"fallback":"sans-serif"},"Averia Libre":{"weight":["300","300italic","regular","italic","700","700italic"],"fallback":"display"},"IM Fell Double Pica":{"weight":["regular","italic"],"fallback":"serif"},"Comic Neue":{"weight":["300","300italic","regular","italic","700","700italic"],"fallback":"handwriting"},"Baskervville":{"weight":["regular","italic"],"fallback":"serif"},"Kelly Slab":{"weight":["regular"],"fallback":"display"},"Oxygen Mono":{"weight":["regular"],"fallback":"monospace"},"Maitree":{"weight":["200","300","regular","500","600","700"],"fallback":"serif"},"Buenard":{"weight":["regular","700"],"fallback":"serif"},"Duru Sans":{"weight":["regular"],"fallback":"sans-serif"},"Baloo Da 2":{"weight":["regular","500","600","700","800"],"fallback":"display"},"Grandstander":{"weight":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"fallback":"display"},"Balthazar":{"weight":["regular"],"fallback":"serif"},"ZCOOL XiaoWei":{"weight":["regular"],"fallback":"serif"},"Cutive":{"weight":["regular"],"fallback":"serif"},"Antic Didone":{"weight":["regular"],"fallback":"serif"},"Waiting for the Sunrise":{"weight":["regular"],"fallback":"handwriting"},"B612 Mono":{"weight":["regular","italic","700","700italic"],"fallback":"monospace"},"Chonburi":{"weight":["regular"],"fallback":"display"},"Montaga":{"weight":["regular"],"fallback":"serif"},"UnifrakturMaguntia":{"weight":["regular"],"fallback":"display"},"Kosugi":{"weight":["regular"],"fallback":"sans-serif"},"Gravitas One":{"weight":["regular"],"fallback":"display"},"Mirza":{"weight":["regular","500","600","700"],"fallback":"display"},"Manjari":{"weight":["100","regular","700"],"fallback":"sans-serif"},"Alike":{"weight":["regular"],"fallback":"serif"},"Lekton":{"weight":["regular","italic","700"],"fallback":"sans-serif"},"Sora":{"weight":["100","200","300","regular","500","600","700","800"],"fallback":"sans-serif"},"Gabriela":{"weight":["regular"],"fallback":"serif"},"Lemon":{"weight":["regular"],"fallback":"display"},"Esteban":{"weight":["regular"],"fallback":"serif"},"Alatsi":{"weight":["regular"],"fallback":"sans-serif"},"Turret Road":{"weight":["200","300","regular","500","700","800"],"fallback":"display"},"Monsieur La Doulaise":{"weight":["regular"],"fallback":"handwriting"},"Pompiere":{"weight":["regular"],"fallback":"display"},"Cormorant SC":{"weight":["300","regular","500","600","700"],"fallback":"serif"},"Kurale":{"weight":["regular"],"fallback":"serif"},"Frijole":{"weight":["regular"],"fallback":"display"},"Rammetto One":{"weight":["regular"],"fallback":"display"},"Chelsea Market":{"weight":["regular"],"fallback":"display"},"Megrim":{"weight":["regular"],"fallback":"display"},"IM Fell English":{"weight":["regular","italic"],"fallback":"serif"},"Oregano":{"weight":["regular","italic"],"fallback":"display"},"Andada":{"weight":["regular"],"fallback":"serif"},"Mate":{"weight":["regular","italic"],"fallback":"serif"},"Convergence":{"weight":["regular"],"fallback":"sans-serif"},"Rouge Script":{"weight":["regular"],"fallback":"handwriting"},"Bowlby One":{"weight":["regular"],"fallback":"display"},"Emilys Candy":{"weight":["regular"],"fallback":"display"},"Wendy One":{"weight":["regular"],"fallback":"sans-serif"},"Fira Code":{"weight":["300","regular","500","600","700"],"fallback":"monospace"},"Dawning of a New Day":{"weight":["regular"],"fallback":"handwriting"},"Sue Ellen Francisco":{"weight":["regular"],"fallback":"handwriting"},"Gurajada":{"weight":["regular"],"fallback":"serif"},"David Libre":{"weight":["regular","500","700"],"fallback":"serif"},"Sofia":{"weight":["regular"],"fallback":"handwriting"},"Short Stack":{"weight":["regular"],"fallback":"handwriting"},"Chau Philomene One":{"weight":["regular","italic"],"fallback":"sans-serif"},"Bellefair":{"weight":["regular"],"fallback":"serif"},"Belgrano":{"weight":["regular"],"fallback":"serif"},"Expletus Sans":{"weight":["regular","italic","500","500italic","600","600italic","700","700italic"],"fallback":"display"},"Original Surfer":{"weight":["regular"],"fallback":"display"},"Doppio One":{"weight":["regular"],"fallback":"sans-serif"},"Be Vietnam":{"weight":["100","100italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],"fallback":"sans-serif"},"Sail":{"weight":["regular"],"fallback":"display"},"Inder":{"weight":["regular"],"fallback":"sans-serif"},"Give You Glory":{"weight":["regular"],"fallback":"handwriting"},"IM Fell DW Pica":{"weight":["regular","italic"],"fallback":"serif"},"McLaren":{"weight":["regular"],"fallback":"display"},"Encode Sans Semi Condensed":{"weight":["100","200","300","regular","500","600","700","800","900"],"fallback":"sans-serif"},"Bungee Shade":{"weight":["regular"],"fallback":"display"},"Baumans":{"weight":["regular"],"fallback":"display"},"Brawler":{"weight":["regular"],"fallback":"serif"},"Tenali Ramakrishna":{"weight":["regular"],"fallback":"sans-serif"},"Ceviche One":{"weight":["regular"],"fallback":"display"},"B612":{"weight":["regular","italic","700","700italic"],"fallback":"sans-serif"},"Zeyada":{"weight":["regular"],"fallback":"handwriting"},"Mountains of Christmas":{"weight":["regular","700"],"fallback":"display"},"Sedgwick Ave":{"weight":["regular"],"fallback":"handwriting"},"Gugi":{"weight":["regular"],"fallback":"display"},"Oleo Script Swash Caps":{"weight":["regular","700"],"fallback":"display"},"Skranji":{"weight":["regular","700"],"fallback":"display"},"Meddon":{"weight":["regular"],"fallback":"handwriting"},"NTR":{"weight":["regular"],"fallback":"sans-serif"},"Finger Paint":{"weight":["regular"],"fallback":"display"},"Blinker":{"weight":["100","200","300","regular","600","700","800","900"],"fallback":"sans-serif"},"Fanwood Text":{"weight":["regular","italic"],"fallback":"serif"},"Grenze Gotisch":{"weight":["100","200","300","regular","500","600","700","800","900"],"fallback":"display"},"Hepta Slab":{"weight":["100","200","300","regular","500","600","700","800","900"],"fallback":"serif"},"Anaheim":{"weight":["regular"],"fallback":"sans-serif"},"Major Mono Display":{"weight":["regular"],"fallback":"monospace"},"Quando":{"weight":["regular"],"fallback":"serif"},"Andika":{"weight":["regular"],"fallback":"sans-serif"},"Qwigley":{"weight":["regular"],"fallback":"handwriting"},"Vast Shadow":{"weight":["regular"],"fallback":"display"},"Happy Monkey":{"weight":["regular"],"fallback":"display"},"Montez":{"weight":["regular"],"fallback":"handwriting"},"Proza Libre":{"weight":["regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],"fallback":"sans-serif"},"Homenaje":{"weight":["regular"],"fallback":"sans-serif"},"Ma Shan Zheng":{"weight":["regular"],"fallback":"handwriting"},"Loved by the King":{"weight":["regular"],"fallback":"handwriting"},"Trade Winds":{"weight":["regular"],"fallback":"display"},"Stardos Stencil":{"weight":["regular","700"],"fallback":"display"},"Raleway Dots":{"weight":["regular"],"fallback":"display"},"Libre Barcode 39":{"weight":["regular"],"fallback":"display"},"Recursive":{"weight":["300","regular","500","600","700","800","900"],"fallback":"sans-serif"},"Numans":{"weight":["regular"],"fallback":"sans-serif"},"RocknRoll One":{"weight":["regular"],"fallback":"sans-serif"},"Rakkas":{"weight":["regular"],"fallback":"display"},"Mouse Memoirs":{"weight":["regular"],"fallback":"sans-serif"},"BioRhyme":{"weight":["200","300","regular","700","800"],"fallback":"serif"},"Ranchers":{"weight":["regular"],"fallback":"display"},"Patrick Hand SC":{"weight":["regular"],"fallback":"handwriting"},"Codystar":{"weight":["300","regular"],"fallback":"display"},"Rasa":{"weight":["300","regular","500","600","700"],"fallback":"serif"},"Meera Inimai":{"weight":["regular"],"fallback":"sans-serif"},"Clicker Script":{"weight":["regular"],"fallback":"handwriting"},"DM Mono":{"weight":["300","300italic","regular","italic","500","500italic"],"fallback":"monospace"},"Gaegu":{"weight":["300","regular","700"],"fallback":"handwriting"},"Aguafina Script":{"weight":["regular"],"fallback":"handwriting"},"Unkempt":{"weight":["regular","700"],"fallback":"display"},"Over the Rainbow":{"weight":["regular"],"fallback":"handwriting"},"Fondamento":{"weight":["regular","italic"],"fallback":"handwriting"},"Battambang":{"weight":["regular","700"],"fallback":"display"},"Cambo":{"weight":["regular"],"fallback":"serif"},"Crafty Girls":{"weight":["regular"],"fallback":"handwriting"},"Nova Mono":{"weight":["regular"],"fallback":"monospace"},"Tillana":{"weight":["regular","500","600","700","800"],"fallback":"handwriting"},"Alike Angular":{"weight":["regular"],"fallback":"serif"},"Kumbh Sans":{"weight":["300","regular","700"],"fallback":"sans-serif"},"Katibeh":{"weight":["regular"],"fallback":"display"},"Sarpanch":{"weight":["regular","500","600","700","800","900"],"fallback":"sans-serif"},"Antonio":{"weight":["100","200","300","regular","500","600","700"],"fallback":"sans-serif"},"Mansalva":{"weight":["regular"],"fallback":"handwriting"},"Faster One":{"weight":["regular"],"fallback":"display"},"Federo":{"weight":["regular"],"fallback":"sans-serif"},"Dokdo":{"weight":["regular"],"fallback":"handwriting"},"Hi Melody":{"weight":["regular"],"fallback":"handwriting"},"Euphoria Script":{"weight":["regular"],"fallback":"handwriting"},"Orienta":{"weight":["regular"],"fallback":"sans-serif"},"Space Grotesk":{"weight":["300","regular","500","600","700"],"fallback":"sans-serif"},"Galada":{"weight":["regular"],"fallback":"display"},"Timmana":{"weight":["regular"],"fallback":"sans-serif"},"JetBrains Mono":{"weight":["100","200","300","regular","500","600","700","800","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic"],"fallback":"monospace"},"Baloo Thambi 2":{"weight":["regular","500","600","700","800"],"fallback":"display"},"Averia Sans Libre":{"weight":["300","300italic","regular","italic","700","700italic"],"fallback":"display"},"UnifrakturCook":{"weight":["700"],"fallback":"display"},"Tauri":{"weight":["regular"],"fallback":"sans-serif"},"Share Tech":{"weight":["regular"],"fallback":"sans-serif"},"Walter Turncoat":{"weight":["regular"],"fallback":"handwriting"},"Geo":{"weight":["regular","italic"],"fallback":"sans-serif"},"Atma":{"weight":["300","regular","500","600","700"],"fallback":"display"},"Almendra":{"weight":["regular","italic","700","700italic"],"fallback":"serif"},"Jomhuria":{"weight":["regular"],"fallback":"display"},"Strait":{"weight":["regular"],"fallback":"sans-serif"},"Encode Sans Expanded":{"weight":["100","200","300","regular","500","600","700","800","900"],"fallback":"sans-serif"},"Metamorphous":{"weight":["regular"],"fallback":"display"},"Iceland":{"weight":["regular"],"fallback":"display"},"Ledger":{"weight":["regular"],"fallback":"serif"},"Poller One":{"weight":["regular"],"fallback":"display"},"Vollkorn SC":{"weight":["regular","600","700","900"],"fallback":"serif"},"Vesper Libre":{"weight":["regular","500","700","900"],"fallback":"serif"},"Aref Ruqaa":{"weight":["regular","700"],"fallback":"serif"},"Livvic":{"weight":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","900","900italic"],"fallback":"sans-serif"},"Caladea":{"weight":["regular","italic","700","700italic"],"fallback":"serif"},"Montserrat Subrayada":{"weight":["regular","700"],"fallback":"sans-serif"},"Vampiro One":{"weight":["regular"],"fallback":"display"},"Farro":{"weight":["300","regular","500","700"],"fallback":"sans-serif"},"New Rocker":{"weight":["regular"],"fallback":"display"},"Delius Swash Caps":{"weight":["regular"],"fallback":"handwriting"},"Calistoga":{"weight":["regular"],"fallback":"display"},"Carrois Gothic SC":{"weight":["regular"],"fallback":"sans-serif"},"Italiana":{"weight":["regular"],"fallback":"serif"},"Inknut Antiqua":{"weight":["300","regular","500","600","700","800","900"],"fallback":"serif"},"Life Savers":{"weight":["regular","700","800"],"fallback":"display"},"Imprima":{"weight":["regular"],"fallback":"sans-serif"},"Mako":{"weight":["regular"],"fallback":"sans-serif"},"Lily Script One":{"weight":["regular"],"fallback":"display"},"Bilbo Swash Caps":{"weight":["regular"],"fallback":"handwriting"},"IM Fell English SC":{"weight":["regular"],"fallback":"serif"},"Red Rose":{"weight":["300","regular","500","600","700"],"fallback":"display"},"Shojumaru":{"weight":["regular"],"fallback":"display"},"Prosto One":{"weight":["regular"],"fallback":"display"},"Bodoni Moda":{"weight":["regular","500","600","700","800","900","italic","500italic","600italic","700italic","800italic","900italic"],"fallback":"serif"},"Mukta Mahee":{"weight":["200","300","regular","500","600","700","800"],"fallback":"sans-serif"},"Bubbler One":{"weight":["regular"],"fallback":"sans-serif"},"The Girl Next Door":{"weight":["regular"],"fallback":"handwriting"},"Artifika":{"weight":["regular"],"fallback":"serif"},"Cantora One":{"weight":["regular"],"fallback":"sans-serif"},"Scope One":{"weight":["regular"],"fallback":"serif"},"Yusei Magic":{"weight":["regular"],"fallback":"sans-serif"},"Oxanium":{"weight":["200","300","regular","500","600","700","800"],"fallback":"display"},"Tienne":{"weight":["regular","700","900"],"fallback":"serif"},"Salsa":{"weight":["regular"],"fallback":"display"},"Flamenco":{"weight":["300","regular"],"fallback":"display"},"Port Lligat Sans":{"weight":["regular"],"fallback":"sans-serif"},"Denk One":{"weight":["regular"],"fallback":"sans-serif"},"Fontdiner Swanky":{"weight":["regular"],"fallback":"display"},"Nova Round":{"weight":["regular"],"fallback":"display"},"Gafata":{"weight":["regular"],"fallback":"sans-serif"},"Cormorant Upright":{"weight":["300","regular","500","600","700"],"fallback":"serif"},"Cherry Cream Soda":{"weight":["regular"],"fallback":"display"},"Asul":{"weight":["regular","700"],"fallback":"sans-serif"},"Big Shoulders Text":{"weight":["100","300","regular","500","600","700","800","900"],"fallback":"display"},"Voces":{"weight":["regular"],"fallback":"display"},"Dynalight":{"weight":["regular"],"fallback":"display"},"Peralta":{"weight":["regular"],"fallback":"display"},"Mina":{"weight":["regular","700"],"fallback":"sans-serif"},"Headland One":{"weight":["regular"],"fallback":"serif"},"Medula One":{"weight":["regular"],"fallback":"display"},"Englebert":{"weight":["regular"],"fallback":"sans-serif"},"Nova Square":{"weight":["regular"],"fallback":"display"},"Delius Unicase":{"weight":["regular","700"],"fallback":"handwriting"},"Sumana":{"weight":["regular","700"],"fallback":"serif"},"Bilbo":{"weight":["regular"],"fallback":"handwriting"},"Engagement":{"weight":["regular"],"fallback":"handwriting"},"ZCOOL QingKe HuangYou":{"weight":["regular"],"fallback":"display"},"Fresca":{"weight":["regular"],"fallback":"sans-serif"},"Ranga":{"weight":["regular","700"],"fallback":"display"},"Orelega One":{"weight":["regular"],"fallback":"display"},"Zen Dots":{"weight":["regular"],"fallback":"display"},"Shippori Mincho":{"weight":["regular","500","600","700","800"],"fallback":"serif"},"Henny Penny":{"weight":["regular"],"fallback":"display"},"Della Respira":{"weight":["regular"],"fallback":"serif"},"Cherry Swash":{"weight":["regular","700"],"fallback":"display"},"Notable":{"weight":["regular"],"fallback":"sans-serif"},"Arya":{"weight":["regular","700"],"fallback":"sans-serif"},"Slackey":{"weight":["regular"],"fallback":"display"},"Vibur":{"weight":["regular"],"fallback":"handwriting"},"Coiny":{"weight":["regular"],"fallback":"display"},"Lexend Zetta":{"weight":["regular"],"fallback":"sans-serif"},"Elsie":{"weight":["regular","900"],"fallback":"display"},"Fjord One":{"weight":["regular"],"fallback":"serif"},"Puritan":{"weight":["regular","italic","700","700italic"],"fallback":"sans-serif"},"Just Me Again Down Here":{"weight":["regular"],"fallback":"handwriting"},"Khmer":{"weight":["regular"],"fallback":"display"},"Girassol":{"weight":["regular"],"fallback":"display"},"Bellota Text":{"weight":["300","300italic","regular","italic","700","700italic"],"fallback":"display"},"Yatra One":{"weight":["regular"],"fallback":"display"},"Stalemate":{"weight":["regular"],"fallback":"handwriting"},"Wire One":{"weight":["regular"],"fallback":"sans-serif"},"Spicy Rice":{"weight":["regular"],"fallback":"display"},"Saira Stencil One":{"weight":["regular"],"fallback":"display"},"Kite One":{"weight":["regular"],"fallback":"sans-serif"},"Port Lligat Slab":{"weight":["regular"],"fallback":"serif"},"Baloo Bhaina 2":{"weight":["regular","500","600","700","800"],"fallback":"display"},"Pavanam":{"weight":["regular"],"fallback":"sans-serif"},"Eater":{"weight":["regular"],"fallback":"display"},"Text Me One":{"weight":["regular"],"fallback":"sans-serif"},"Ribeye":{"weight":["regular"],"fallback":"display"},"Pirata One":{"weight":["regular"],"fallback":"display"},"Amarante":{"weight":["regular"],"fallback":"display"},"Milonga":{"weight":["regular"],"fallback":"display"},"Habibi":{"weight":["regular"],"fallback":"serif"},"Ruslan Display":{"weight":["regular"],"fallback":"display"},"Encode Sans Semi Expanded":{"weight":["100","200","300","regular","500","600","700","800","900"],"fallback":"sans-serif"},"Nokora":{"weight":["regular","700"],"fallback":"serif"},"Rowdies":{"weight":["300","regular","700"],"fallback":"display"},"Kranky":{"weight":["regular"],"fallback":"display"},"Bigelow Rules":{"weight":["regular"],"fallback":"display"},"League Script":{"weight":["regular"],"fallback":"handwriting"},"Swanky and Moo Moo":{"weight":["regular"],"fallback":"handwriting"},"Karantina":{"weight":["300","regular","700"],"fallback":"display"},"Lovers Quarrel":{"weight":["regular"],"fallback":"handwriting"},"Mate SC":{"weight":["regular"],"fallback":"serif"},"Manuale":{"weight":["regular","500","600","700","italic","500italic","600italic","700italic"],"fallback":"serif"},"Germania One":{"weight":["regular"],"fallback":"display"},"Sura":{"weight":["regular","700"],"fallback":"serif"},"Sarina":{"weight":["regular"],"fallback":"display"},"Macondo Swash Caps":{"weight":["regular"],"fallback":"display"},"Kotta One":{"weight":["regular"],"fallback":"serif"},"IM Fell French Canon SC":{"weight":["regular"],"fallback":"serif"},"Julee":{"weight":["regular"],"fallback":"handwriting"},"Charmonman":{"weight":["regular","700"],"fallback":"handwriting"},"Shanti":{"weight":["regular"],"fallback":"sans-serif"},"Gamja Flower":{"weight":["regular"],"fallback":"handwriting"},"Averia Gruesa Libre":{"weight":["regular"],"fallback":"display"},"Stint Ultra Expanded":{"weight":["regular"],"fallback":"display"},"Uncial Antiqua":{"weight":["regular"],"fallback":"display"},"Mystery Quest":{"weight":["regular"],"fallback":"display"},"Goldman":{"weight":["regular","700"],"fallback":"display"},"Paprika":{"weight":["regular"],"fallback":"display"},"IM Fell French Canon":{"weight":["regular","italic"],"fallback":"serif"},"Prociono":{"weight":["regular"],"fallback":"serif"},"Kodchasan":{"weight":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"fallback":"sans-serif"},"Libre Barcode 39 Text":{"weight":["regular"],"fallback":"display"},"Quintessential":{"weight":["regular"],"fallback":"handwriting"},"Moul":{"weight":["regular"],"fallback":"display"},"Libre Barcode 128":{"weight":["regular"],"fallback":"display"},"Ramaraja":{"weight":["regular"],"fallback":"serif"},"Modak":{"weight":["regular"],"fallback":"display"},"Song Myung":{"weight":["regular"],"fallback":"serif"},"East Sea Dokdo":{"weight":["regular"],"fallback":"handwriting"},"Crushed":{"weight":["regular"],"fallback":"display"},"Dekko":{"weight":["regular"],"fallback":"handwriting"},"Chilanka":{"weight":["regular"],"fallback":"handwriting"},"Hanalei Fill":{"weight":["regular"],"fallback":"display"},"Mogra":{"weight":["regular"],"fallback":"display"},"Baloo Tammudu 2":{"weight":["regular","500","600","700","800"],"fallback":"display"},"Baloo Bhai 2":{"weight":["regular","500","600","700","800"],"fallback":"display"},"Libre Barcode 39 Extended Text":{"weight":["regular"],"fallback":"display"},"Rosarivo":{"weight":["regular","italic"],"fallback":"serif"},"KoHo":{"weight":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"fallback":"sans-serif"},"Offside":{"weight":["regular"],"fallback":"display"},"Reggae One":{"weight":["regular"],"fallback":"display"},"Syne":{"weight":["regular","500","600","700","800"],"fallback":"sans-serif"},"Zilla Slab Highlight":{"weight":["regular","700"],"fallback":"display"},"Donegal One":{"weight":["regular"],"fallback":"serif"},"Bellota":{"weight":["300","300italic","regular","italic","700","700italic"],"fallback":"display"},"Stoke":{"weight":["300","regular"],"fallback":"serif"},"Cormorant Unicase":{"weight":["300","regular","500","600","700"],"fallback":"serif"},"Cagliostro":{"weight":["regular"],"fallback":"sans-serif"},"Rationale":{"weight":["regular"],"fallback":"sans-serif"},"Margarine":{"weight":["regular"],"fallback":"display"},"Sancreek":{"weight":["regular"],"fallback":"display"},"Inria Serif":{"weight":["300","300italic","regular","italic","700","700italic"],"fallback":"serif"},"Overlock SC":{"weight":["regular"],"fallback":"display"},"Nosifer":{"weight":["regular"],"fallback":"display"},"Libre Barcode EAN13 Text":{"weight":["regular"],"fallback":"display"},"Yeon Sung":{"weight":["regular"],"fallback":"display"},"Ruluko":{"weight":["regular"],"fallback":"sans-serif"},"Simonetta":{"weight":["regular","italic","900","900italic"],"fallback":"display"},"Lakki Reddy":{"weight":["regular"],"fallback":"handwriting"},"Baloo Paaji 2":{"weight":["regular","500","600","700","800"],"fallback":"display"},"Chango":{"weight":["regular"],"fallback":"display"},"Galdeano":{"weight":["regular"],"fallback":"sans-serif"},"Fahkwang":{"weight":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"fallback":"sans-serif"},"Elsie Swash Caps":{"weight":["regular","900"],"fallback":"display"},"Buda":{"weight":["300"],"fallback":"display"},"Condiment":{"weight":["regular"],"fallback":"handwriting"},"Barrio":{"weight":["regular"],"fallback":"display"},"Chicle":{"weight":["regular"],"fallback":"display"},"Angkor":{"weight":["regular"],"fallback":"display"},"Akronim":{"weight":["regular"],"fallback":"display"},"Tomorrow":{"weight":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"fallback":"sans-serif"},"Sonsie One":{"weight":["regular"],"fallback":"display"},"Kumar One":{"weight":["regular"],"fallback":"display"},"Autour One":{"weight":["regular"],"fallback":"display"},"Libre Caslon Display":{"weight":["regular"],"fallback":"serif"},"Farsan":{"weight":["regular"],"fallback":"display"},"Fenix":{"weight":["regular"],"fallback":"serif"},"Solway":{"weight":["300","regular","500","700","800"],"fallback":"serif"},"Kulim Park":{"weight":["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic"],"fallback":"sans-serif"},"Stint Ultra Condensed":{"weight":["regular"],"fallback":"display"},"Metal":{"weight":["regular"],"fallback":"display"},"Rum Raisin":{"weight":["regular"],"fallback":"sans-serif"},"Redressed":{"weight":["regular"],"fallback":"handwriting"},"Tulpen One":{"weight":["regular"],"fallback":"display"},"Petrona":{"weight":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"fallback":"serif"},"Marko One":{"weight":["regular"],"fallback":"serif"},"Asar":{"weight":["regular"],"fallback":"serif"},"Nova Flat":{"weight":["regular"],"fallback":"display"},"Koulen":{"weight":["regular"],"fallback":"display"},"Lexend Exa":{"weight":["regular"],"fallback":"sans-serif"},"Londrina Outline":{"weight":["regular"],"fallback":"display"},"Cute Font":{"weight":["regular"],"fallback":"display"},"IM Fell Great Primer":{"weight":["regular","italic"],"fallback":"serif"},"Junge":{"weight":["regular"],"fallback":"serif"},"Stylish":{"weight":["regular"],"fallback":"sans-serif"},"Lexend":{"weight":["100","300","regular","500","600","700","800"],"fallback":"sans-serif"},"Spirax":{"weight":["regular"],"fallback":"display"},"Piazzolla":{"weight":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"fallback":"serif"},"Piedra":{"weight":["regular"],"fallback":"display"},"Ribeye Marrow":{"weight":["regular"],"fallback":"display"},"Dorsa":{"weight":["regular"],"fallback":"sans-serif"},"Ibarra Real Nova":{"weight":["regular","500","600","700","italic","500italic","600italic","700italic"],"fallback":"serif"},"IM Fell DW Pica SC":{"weight":["regular"],"fallback":"serif"},"Wellfleet":{"weight":["regular"],"fallback":"display"},"Eagle Lake":{"weight":["regular"],"fallback":"handwriting"},"Meie Script":{"weight":["regular"],"fallback":"handwriting"},"Goblin One":{"weight":["regular"],"fallback":"display"},"Flavors":{"weight":["regular"],"fallback":"display"},"Gotu":{"weight":["regular"],"fallback":"sans-serif"},"Linden Hill":{"weight":["regular","italic"],"fallback":"serif"},"Chathura":{"weight":["100","300","regular","700","800"],"fallback":"sans-serif"},"Croissant One":{"weight":["regular"],"fallback":"display"},"Jomolhari":{"weight":["regular"],"fallback":"serif"},"Srisakdi":{"weight":["regular","700"],"fallback":"display"},"Modern Antiqua":{"weight":["regular"],"fallback":"display"},"Joti One":{"weight":["regular"],"fallback":"display"},"Kavoon":{"weight":["regular"],"fallback":"display"},"Sulphur Point":{"weight":["300","regular","700"],"fallback":"sans-serif"},"Castoro":{"weight":["regular","italic"],"fallback":"serif"},"Chela One":{"weight":["regular"],"fallback":"display"},"Atomic Age":{"weight":["regular"],"fallback":"display"},"Maiden Orange":{"weight":["regular"],"fallback":"display"},"Ruthie":{"weight":["regular"],"fallback":"handwriting"},"Bayon":{"weight":["regular"],"fallback":"display"},"Potta One":{"weight":["regular"],"fallback":"display"},"Iceberg":{"weight":["regular"],"fallback":"display"},"Bigshot One":{"weight":["regular"],"fallback":"display"},"Gorditas":{"weight":["regular","700"],"fallback":"display"},"Sree Krushnadevaraya":{"weight":["regular"],"fallback":"serif"},"Trykker":{"weight":["regular"],"fallback":"serif"},"Kufam":{"weight":["regular","500","600","700","800","900","italic","500italic","600italic","700italic","800italic","900italic"],"fallback":"display"},"Diplomata SC":{"weight":["regular"],"fallback":"display"},"Poor Story":{"weight":["regular"],"fallback":"display"},"Sirin Stencil":{"weight":["regular"],"fallback":"display"},"Kavivanar":{"weight":["regular"],"fallback":"handwriting"},"Syne Mono":{"weight":["regular"],"fallback":"monospace"},"Metal Mania":{"weight":["regular"],"fallback":"display"},"Arbutus":{"weight":["regular"],"fallback":"display"},"Unlock":{"weight":["regular"],"fallback":"display"},"MuseoModerno":{"weight":["100","200","300","regular","500","600","700","800","900"],"fallback":"display"},"Glass Antiqua":{"weight":["regular"],"fallback":"display"},"Miniver":{"weight":["regular"],"fallback":"display"},"Griffy":{"weight":["regular"],"fallback":"display"},"Bokor":{"weight":["regular"],"fallback":"display"},"Felipa":{"weight":["regular"],"fallback":"handwriting"},"Inika":{"weight":["regular","700"],"fallback":"serif"},"Princess Sofia":{"weight":["regular"],"fallback":"handwriting"},"Mrs Sheppards":{"weight":["regular"],"fallback":"handwriting"},"Monofett":{"weight":["regular"],"fallback":"display"},"Sahitya":{"weight":["regular","700"],"fallback":"serif"},"Dela Gothic One":{"weight":["regular"],"fallback":"display"},"Shippori Mincho B1":{"weight":["regular","500","600","700","800"],"fallback":"serif"},"Beth Ellen":{"weight":["regular"],"fallback":"handwriting"},"Lancelot":{"weight":["regular"],"fallback":"display"},"Rhodium Libre":{"weight":["regular"],"fallback":"serif"},"Fraunces":{"weight":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"fallback":"serif"},"Hachi Maru Pop":{"weight":["regular"],"fallback":"handwriting"},"Snippet":{"weight":["regular"],"fallback":"sans-serif"},"Content":{"weight":["regular","700"],"fallback":"display"},"Revalia":{"weight":["regular"],"fallback":"display"},"Diplomata":{"weight":["regular"],"fallback":"display"},"Libre Barcode 128 Text":{"weight":["regular"],"fallback":"display"},"Jacques Francois Shadow":{"weight":["regular"],"fallback":"display"},"Long Cang":{"weight":["regular"],"fallback":"handwriting"},"Caesar Dressing":{"weight":["regular"],"fallback":"display"},"Odor Mean Chey":{"weight":["regular"],"fallback":"display"},"Jolly Lodger":{"weight":["regular"],"fallback":"display"},"Texturina":{"weight":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"fallback":"serif"},"DotGothic16":{"weight":["regular"],"fallback":"sans-serif"},"Ewert":{"weight":["regular"],"fallback":"display"},"Romanesco":{"weight":["regular"],"fallback":"handwriting"},"Kantumruy":{"weight":["300","regular","700"],"fallback":"sans-serif"},"Asset":{"weight":["regular"],"fallback":"display"},"Odibee Sans":{"weight":["regular"],"fallback":"display"},"Emblema One":{"weight":["regular"],"fallback":"display"},"Kdam Thmor":{"weight":["regular"],"fallback":"display"},"Dr Sugiyama":{"weight":["regular"],"fallback":"handwriting"},"Bahiana":{"weight":["regular"],"fallback":"display"},"GFS Neohellenic":{"weight":["regular","italic","700","700italic"],"fallback":"sans-serif"},"Oldenburg":{"weight":["regular"],"fallback":"display"},"Molle":{"weight":["italic"],"fallback":"handwriting"},"Ravi Prakash":{"weight":["regular"],"fallback":"display"},"Gayathri":{"weight":["100","regular","700"],"fallback":"sans-serif"},"Almendra SC":{"weight":["regular"],"fallback":"serif"},"Varta":{"weight":["300","regular","500","600","700"],"fallback":"sans-serif"},"Risque":{"weight":["regular"],"fallback":"display"},"Sansita Swashed":{"weight":["300","regular","500","600","700","800","900"],"fallback":"display"},"Kiwi Maru":{"weight":["300","regular","500"],"fallback":"serif"},"Dangrek":{"weight":["regular"],"fallback":"display"},"Devonshire":{"weight":["regular"],"fallback":"handwriting"},"Big Shoulders Stencil Text":{"weight":["100","300","regular","500","600","700","800","900"],"fallback":"display"},"Jim Nightshade":{"weight":["regular"],"fallback":"handwriting"},"Smythe":{"weight":["regular"],"fallback":"display"},"Stick":{"weight":["regular"],"fallback":"sans-serif"},"Lexend Mega":{"weight":["regular"],"fallback":"sans-serif"},"Siemreap":{"weight":["regular"],"fallback":"display"},"Londrina Shadow":{"weight":["regular"],"fallback":"display"},"Train One":{"weight":["regular"],"fallback":"display"},"IM Fell Great Primer SC":{"weight":["regular"],"fallback":"serif"},"Barriecito":{"weight":["regular"],"fallback":"display"},"Underdog":{"weight":["regular"],"fallback":"display"},"Stalinist One":{"weight":["regular"],"fallback":"display"},"Mr Bedfort":{"weight":["regular"],"fallback":"handwriting"},"Freehand":{"weight":["regular"],"fallback":"display"},"MedievalSharp":{"weight":["regular"],"fallback":"display"},"Lexend Giga":{"weight":["regular"],"fallback":"sans-serif"},"Keania One":{"weight":["regular"],"fallback":"display"},"Peddana":{"weight":["regular"],"fallback":"serif"},"Galindo":{"weight":["regular"],"fallback":"display"},"Fascinate":{"weight":["regular"],"fallback":"display"},"Londrina Sketch":{"weight":["regular"],"fallback":"display"},"Gupter":{"weight":["regular","500","700"],"fallback":"serif"},"Nova Slim":{"weight":["regular"],"fallback":"display"},"Snowburst One":{"weight":["regular"],"fallback":"display"},"ZCOOL KuaiLe":{"weight":["regular"],"fallback":"display"},"Plaster":{"weight":["regular"],"fallback":"display"},"Fascinate Inline":{"weight":["regular"],"fallback":"display"},"Newsreader":{"weight":["200","300","regular","500","600","700","800","200italic","300italic","italic","500italic","600italic","700italic","800italic"],"fallback":"serif"},"Purple Purse":{"weight":["regular"],"fallback":"display"},"Sedgwick Ave Display":{"weight":["regular"],"fallback":"handwriting"},"Jacques Francois":{"weight":["regular"],"fallback":"serif"},"Almendra Display":{"weight":["regular"],"fallback":"display"},"Irish Grover":{"weight":["regular"],"fallback":"display"},"Kumar One Outline":{"weight":["regular"],"fallback":"display"},"Andika New Basic":{"weight":["regular","italic","700","700italic"],"fallback":"sans-serif"},"Libre Barcode 39 Extended":{"weight":["regular"],"fallback":"display"},"Taprom":{"weight":["regular"],"fallback":"display"},"Miss Fajardose":{"weight":["regular"],"fallback":"handwriting"},"IM Fell Double Pica SC":{"weight":["regular"],"fallback":"serif"},"Macondo":{"weight":["regular"],"fallback":"display"},"Ruge Boogie":{"weight":["regular"],"fallback":"handwriting"},"Sunshiney":{"weight":["regular"],"fallback":"handwriting"},"Brygada 1918":{"weight":["regular","500","600","700","italic","500italic","600italic","700italic"],"fallback":"serif"},"Grenze":{"weight":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"fallback":"serif"},"Erica One":{"weight":["regular"],"fallback":"display"},"Seymour One":{"weight":["regular"],"fallback":"sans-serif"},"Supermercado One":{"weight":["regular"],"fallback":"display"},"Zhi Mang Xing":{"weight":["regular"],"fallback":"handwriting"},"Butterfly Kids":{"weight":["regular"],"fallback":"handwriting"},"Kirang Haerang":{"weight":["regular"],"fallback":"display"},"Federant":{"weight":["regular"],"fallback":"display"},"Liu Jian Mao Cao":{"weight":["regular"],"fallback":"handwriting"},"Chenla":{"weight":["regular"],"fallback":"display"},"Hanalei":{"weight":["regular"],"fallback":"display"},"Langar":{"weight":["regular"],"fallback":"display"},"Trochut":{"weight":["regular","italic","700"],"fallback":"display"},"Smokum":{"weight":["regular"],"fallback":"display"},"Black And White Picture":{"weight":["regular"],"fallback":"sans-serif"},"Preahvihear":{"weight":["regular"],"fallback":"display"},"Bungee Outline":{"weight":["regular"],"fallback":"display"},"Astloch":{"weight":["regular","700"],"fallback":"display"},"Fasthand":{"weight":["regular"],"fallback":"serif"},"Akaya Telivigala":{"weight":["regular"],"fallback":"display"},"Inria Sans":{"weight":["300","300italic","regular","italic","700","700italic"],"fallback":"sans-serif"},"Bonbon":{"weight":["regular"],"fallback":"handwriting"},"Combo":{"weight":["regular"],"fallback":"display"},"Nova Script":{"weight":["regular"],"fallback":"display"},"Sofadi One":{"weight":["regular"],"fallback":"display"},"Passero One":{"weight":["regular"],"fallback":"display"},"Suwannaphum":{"weight":["regular"],"fallback":"display"},"Miltonian Tattoo":{"weight":["regular"],"fallback":"display"},"Bungee Hairline":{"weight":["regular"],"fallback":"display"},"Gidugu":{"weight":["regular"],"fallback":"sans-serif"},"Geostar Fill":{"weight":["regular"],"fallback":"display"},"Nerko One":{"weight":["regular"],"fallback":"handwriting"},"Lacquer":{"weight":["regular"],"fallback":"display"},"Butcherman":{"weight":["regular"],"fallback":"display"},"Sevillana":{"weight":["regular"],"fallback":"display"},"Nova Oval":{"weight":["regular"],"fallback":"display"},"Aubrey":{"weight":["regular"],"fallback":"display"},"Akaya Kanadaka":{"weight":["regular"],"fallback":"display"},"Nova Cut":{"weight":["regular"],"fallback":"display"},"Vibes":{"weight":["regular"],"fallback":"display"},"Miltonian":{"weight":["regular"],"fallback":"display"},"Moulpali":{"weight":["regular"],"fallback":"display"},"BioRhyme Expanded":{"weight":["200","300","regular","700","800"],"fallback":"serif"},"Bahianita":{"weight":["regular"],"fallback":"display"},"Suravaram":{"weight":["regular"],"fallback":"serif"},"Fruktur":{"weight":["regular"],"fallback":"display"},"Single Day":{"weight":["regular"],"fallback":"display"},"Imbue":{"weight":["100","200","300","regular","500","600","700","800","900"],"fallback":"serif"},"Lexend Tera":{"weight":["regular"],"fallback":"sans-serif"},"Big Shoulders Inline Text":{"weight":["100","300","regular","500","600","700","800","900"],"fallback":"display"},"Dhurjati":{"weight":["regular"],"fallback":"sans-serif"},"Warnes":{"weight":["regular"],"fallback":"display"},"Kenia":{"weight":["regular"],"fallback":"display"},"Lexend Peta":{"weight":["regular"],"fallback":"sans-serif"},"Big Shoulders Stencil Display":{"weight":["100","300","regular","500","600","700","800","900"],"fallback":"display"},"Geostar":{"weight":["regular"],"fallback":"display"},"Big Shoulders Inline Display":{"weight":["100","300","regular","500","600","700","800","900"],"fallback":"display"},"Oi":{"weight":["regular"],"fallback":"display"},"Xanh Mono":{"weight":["regular","italic"],"fallback":"monospace"},"Viaoda Libre":{"weight":["regular"],"fallback":"display"},"Truculenta":{"weight":["100","200","300","regular","500","600","700","800","900"],"fallback":"sans-serif"},"Syne Tactile":{"weight":["regular"],"fallback":"display"},"Trispace":{"weight":["100","200","300","regular","500","600","700","800"],"fallback":"sans-serif"},"Ballet":{"weight":["regular"],"fallback":"handwriting"},"Benne":{"weight":["regular"],"fallback":"serif"}}')},function(e,t){e.exports=window.wp.richText},,function(e,t,a){e.exports=function(){"use strict";var e=Object.hasOwnProperty,t=Object.setPrototypeOf,a=Object.isFrozen,l=Object.getPrototypeOf,i=Object.getOwnPropertyDescriptor,r=Object.freeze,n=Object.seal,o=Object.create,c="undefined"!=typeof Reflect&&Reflect,s=c.apply,g=c.construct;s||(s=function(e,t,a){return e.apply(t,a)}),r||(r=function(e){return e}),n||(n=function(e){return e}),g||(g=function(e,t){return new(Function.prototype.bind.apply(e,[null].concat(function(e){if(Array.isArray(e)){for(var t=0,a=Array(e.length);t<e.length;t++)a[t]=e[t];return a}return Array.from(e)}(t))))});var b,d=v(Array.prototype.forEach),p=v(Array.prototype.pop),u=v(Array.prototype.push),h=v(String.prototype.toLowerCase),f=v(String.prototype.match),m=v(String.prototype.replace),k=v(String.prototype.indexOf),w=v(String.prototype.trim),y=v(RegExp.prototype.test),O=(b=TypeError,function(){for(var e=arguments.length,t=Array(e),a=0;a<e;a++)t[a]=arguments[a];return g(b,t)});function v(e){return function(t){for(var a=arguments.length,l=Array(a>1?a-1:0),i=1;i<a;i++)l[i-1]=arguments[i];return s(e,t,l)}}function j(e,l){t&&t(e,null);for(var i=l.length;i--;){var r=l[i];if("string"==typeof r){var n=h(r);n!==r&&(a(l)||(l[i]=n),r=n)}e[r]=!0}return e}function T(t){var a=o(null),l=void 0;for(l in t)s(e,t,[l])&&(a[l]=t[l]);return a}function C(e,t){for(;null!==e;){var a=i(e,t);if(a){if(a.get)return v(a.get);if("function"==typeof a.value)return v(a.value)}e=l(e)}return function(e){return console.warn("fallback value for",e),null}}var B=r(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),_=r(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),S=r(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),x=r(["animate","color-profile","cursor","discard","fedropshadow","feimage","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),E=r(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover"]),D=r(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),M=r(["#text"]),z=r(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),R=r(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),L=r(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),F=r(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),A=n(/\{\{[\s\S]*|[\s\S]*\}\}/gm),N=n(/<%[\s\S]*|[\s\S]*%>/gm),U=n(/^data-[\-\w.\u00B7-\uFFFF]/),P=n(/^aria-[\-\w]+$/),H=n(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),I=n(/^(?:\w+script|data):/i),G=n(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),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};function W(e){if(Array.isArray(e)){for(var t=0,a=Array(e.length);t<e.length;t++)a[t]=e[t];return a}return Array.from(e)}var q=function(){return"undefined"==typeof window?null:window},Z=function(e,t){if("object"!==(void 0===e?"undefined":V(e))||"function"!=typeof e.createPolicy)return null;var a=null;t.currentScript&&t.currentScript.hasAttribute("data-tt-policy-suffix")&&(a=t.currentScript.getAttribute("data-tt-policy-suffix"));var l="dompurify"+(a?"#"+a:"");try{return e.createPolicy(l,{createHTML:function(e){return e}})}catch(e){return console.warn("TrustedTypes policy "+l+" could not be created."),null}};return function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:q(),a=function(t){return e(t)};if(a.version="2.2.8",a.removed=[],!t||!t.document||9!==t.document.nodeType)return a.isSupported=!1,a;var l=t.document,i=t.document,n=t.DocumentFragment,o=t.HTMLTemplateElement,c=t.Node,s=t.Element,g=t.NodeFilter,b=t.NamedNodeMap,v=void 0===b?t.NamedNodeMap||t.MozNamedAttrMap:b,K=t.Text,J=t.Comment,Y=t.DOMParser,$=t.trustedTypes,Q=s.prototype,X=C(Q,"cloneNode"),ee=C(Q,"nextSibling"),te=C(Q,"childNodes"),ae=C(Q,"parentNode");if("function"==typeof o){var le=i.createElement("template");le.content&&le.content.ownerDocument&&(i=le.content.ownerDocument)}var ie=Z($,l),re=ie&&Fe?ie.createHTML(""):"",ne=i,oe=ne.implementation,ce=ne.createNodeIterator,se=ne.createDocumentFragment,ge=l.importNode,be={};try{be=T(i).documentMode?i.documentMode:{}}catch(e){}var de={};a.isSupported="function"==typeof ae&&oe&&void 0!==oe.createHTMLDocument&&9!==be;var pe=A,ue=N,he=U,fe=P,me=I,ke=G,we=H,ye=null,Oe=j({},[].concat(W(B),W(_),W(S),W(E),W(M))),ve=null,je=j({},[].concat(W(z),W(R),W(L),W(F))),Te=null,Ce=null,Be=!0,_e=!0,Se=!1,xe=!1,Ee=!1,De=!1,Me=!1,ze=!1,Re=!1,Le=!0,Fe=!1,Ae=!0,Ne=!0,Ue=!1,Pe={},He=j({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),Ie=null,Ge=j({},["audio","video","img","source","image","track"]),Ve=null,We=j({},["alt","class","for","id","label","name","pattern","placeholder","summary","title","value","style","xmlns"]),qe="http://www.w3.org/1998/Math/MathML",Ze="http://www.w3.org/2000/svg",Ke="http://www.w3.org/1999/xhtml",Je=Ke,Ye=null,$e=i.createElement("form"),Qe=function(e){Ye&&Ye===e||(e&&"object"===(void 0===e?"undefined":V(e))||(e={}),e=T(e),ye="ALLOWED_TAGS"in e?j({},e.ALLOWED_TAGS):Oe,ve="ALLOWED_ATTR"in e?j({},e.ALLOWED_ATTR):je,Ve="ADD_URI_SAFE_ATTR"in e?j(T(We),e.ADD_URI_SAFE_ATTR):We,Ie="ADD_DATA_URI_TAGS"in e?j(T(Ge),e.ADD_DATA_URI_TAGS):Ge,Te="FORBID_TAGS"in e?j({},e.FORBID_TAGS):{},Ce="FORBID_ATTR"in e?j({},e.FORBID_ATTR):{},Pe="USE_PROFILES"in e&&e.USE_PROFILES,Be=!1!==e.ALLOW_ARIA_ATTR,_e=!1!==e.ALLOW_DATA_ATTR,Se=e.ALLOW_UNKNOWN_PROTOCOLS||!1,xe=e.SAFE_FOR_TEMPLATES||!1,Ee=e.WHOLE_DOCUMENT||!1,ze=e.RETURN_DOM||!1,Re=e.RETURN_DOM_FRAGMENT||!1,Le=!1!==e.RETURN_DOM_IMPORT,Fe=e.RETURN_TRUSTED_TYPE||!1,Me=e.FORCE_BODY||!1,Ae=!1!==e.SANITIZE_DOM,Ne=!1!==e.KEEP_CONTENT,Ue=e.IN_PLACE||!1,we=e.ALLOWED_URI_REGEXP||we,Je=e.NAMESPACE||Je,xe&&(_e=!1),Re&&(ze=!0),Pe&&(ye=j({},[].concat(W(M))),ve=[],!0===Pe.html&&(j(ye,B),j(ve,z)),!0===Pe.svg&&(j(ye,_),j(ve,R),j(ve,F)),!0===Pe.svgFilters&&(j(ye,S),j(ve,R),j(ve,F)),!0===Pe.mathMl&&(j(ye,E),j(ve,L),j(ve,F))),e.ADD_TAGS&&(ye===Oe&&(ye=T(ye)),j(ye,e.ADD_TAGS)),e.ADD_ATTR&&(ve===je&&(ve=T(ve)),j(ve,e.ADD_ATTR)),e.ADD_URI_SAFE_ATTR&&j(Ve,e.ADD_URI_SAFE_ATTR),Ne&&(ye["#text"]=!0),Ee&&j(ye,["html","head","body"]),ye.table&&(j(ye,["tbody"]),delete Te.tbody),r&&r(e),Ye=e)},Xe=j({},["mi","mo","mn","ms","mtext"]),et=j({},["foreignobject","desc","title","annotation-xml"]),tt=j({},_);j(tt,S),j(tt,x);var at=j({},E);j(at,D);var lt=function(e){var t=ae(e);t&&t.tagName||(t={namespaceURI:Ke,tagName:"template"});var a=h(e.tagName),l=h(t.tagName);if(e.namespaceURI===Ze)return t.namespaceURI===Ke?"svg"===a:t.namespaceURI===qe?"svg"===a&&("annotation-xml"===l||Xe[l]):Boolean(tt[a]);if(e.namespaceURI===qe)return t.namespaceURI===Ke?"math"===a:t.namespaceURI===Ze?"math"===a&&et[l]:Boolean(at[a]);if(e.namespaceURI===Ke){if(t.namespaceURI===Ze&&!et[l])return!1;if(t.namespaceURI===qe&&!Xe[l])return!1;var i=j({},["title","style","font","a","script"]);return!at[a]&&(i[a]||!tt[a])}return!1},it=function(e){u(a.removed,{element:e});try{e.parentNode.removeChild(e)}catch(t){try{e.outerHTML=re}catch(t){e.remove()}}},rt=function(e,t){try{u(a.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){u(a.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e&&!ve[e])if(ze||Re)try{it(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},nt=function(e){var t=void 0,a=void 0;if(Me)e="<remove></remove>"+e;else{var l=f(e,/^[\r\n\t ]+/);a=l&&l[0]}var r=ie?ie.createHTML(e):e;if(Je===Ke)try{t=(new Y).parseFromString(r,"text/html")}catch(e){}t&&t.documentElement||((t=oe.createDocument(Je,"template",null)).documentElement.innerHTML=r);var n=t.body||t.documentElement;return e&&a&&n.insertBefore(i.createTextNode(a),n.childNodes[0]||null),Ee?t.documentElement:n},ot=function(e){return ce.call(e.ownerDocument||e,e,g.SHOW_ELEMENT|g.SHOW_COMMENT|g.SHOW_TEXT,(function(){return g.FILTER_ACCEPT}),!1)},ct=function(e){return!(e instanceof K||e instanceof J||"string"==typeof e.nodeName&&"string"==typeof e.textContent&&"function"==typeof e.removeChild&&e.attributes instanceof v&&"function"==typeof e.removeAttribute&&"function"==typeof e.setAttribute&&"string"==typeof e.namespaceURI&&"function"==typeof e.insertBefore)},st=function(e){return"object"===(void 0===c?"undefined":V(c))?e instanceof c:e&&"object"===(void 0===e?"undefined":V(e))&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName},gt=function(e,t,l){de[e]&&d(de[e],(function(e){e.call(a,t,l,Ye)}))},bt=function(e){var t=void 0;if(gt("beforeSanitizeElements",e,null),ct(e))return it(e),!0;if(f(e.nodeName,/[\u0080-\uFFFF]/))return it(e),!0;var l=h(e.nodeName);if(gt("uponSanitizeElement",e,{tagName:l,allowedTags:ye}),!st(e.firstElementChild)&&(!st(e.content)||!st(e.content.firstElementChild))&&y(/<[/\w]/g,e.innerHTML)&&y(/<[/\w]/g,e.textContent))return it(e),!0;if(!ye[l]||Te[l]){if(Ne&&!He[l]){var i=ae(e)||e.parentNode,r=te(e)||e.childNodes;if(r&&i)for(var n=r.length-1;n>=0;--n)i.insertBefore(X(r[n],!0),ee(e))}return it(e),!0}return e instanceof s&&!lt(e)?(it(e),!0):"noscript"!==l&&"noembed"!==l||!y(/<\/no(script|embed)/i,e.innerHTML)?(xe&&3===e.nodeType&&(t=e.textContent,t=m(t,pe," "),t=m(t,ue," "),e.textContent!==t&&(u(a.removed,{element:e.cloneNode()}),e.textContent=t)),gt("afterSanitizeElements",e,null),!1):(it(e),!0)},dt=function(e,t,a){if(Ae&&("id"===t||"name"===t)&&(a in i||a in $e))return!1;if(_e&&y(he,t));else if(Be&&y(fe,t));else{if(!ve[t]||Ce[t])return!1;if(Ve[t]);else if(y(we,m(a,ke,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==k(a,"data:")||!Ie[e])if(Se&&!y(me,m(a,ke,"")));else if(a)return!1}return!0},pt=function(e){var t=void 0,l=void 0,i=void 0,r=void 0;gt("beforeSanitizeAttributes",e,null);var n=e.attributes;if(n){var o={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:ve};for(r=n.length;r--;){var c=t=n[r],s=c.name,g=c.namespaceURI;if(l=w(t.value),i=h(s),o.attrName=i,o.attrValue=l,o.keepAttr=!0,o.forceKeepAttr=void 0,gt("uponSanitizeAttribute",e,o),l=o.attrValue,!o.forceKeepAttr&&(rt(s,e),o.keepAttr))if(y(/\/>/i,l))rt(s,e);else{xe&&(l=m(l,pe," "),l=m(l,ue," "));var b=e.nodeName.toLowerCase();if(dt(b,i,l))try{g?e.setAttributeNS(g,s,l):e.setAttribute(s,l),p(a.removed)}catch(e){}}}gt("afterSanitizeAttributes",e,null)}},ut=function e(t){var a=void 0,l=ot(t);for(gt("beforeSanitizeShadowDOM",t,null);a=l.nextNode();)gt("uponSanitizeShadowNode",a,null),bt(a)||(a.content instanceof n&&e(a.content),pt(a));gt("afterSanitizeShadowDOM",t,null)};return a.sanitize=function(e,i){var r=void 0,o=void 0,s=void 0,g=void 0,b=void 0;if(e||(e="\x3c!--\x3e"),"string"!=typeof e&&!st(e)){if("function"!=typeof e.toString)throw O("toString is not a function");if("string"!=typeof(e=e.toString()))throw O("dirty is not a string, aborting")}if(!a.isSupported){if("object"===V(t.toStaticHTML)||"function"==typeof t.toStaticHTML){if("string"==typeof e)return t.toStaticHTML(e);if(st(e))return t.toStaticHTML(e.outerHTML)}return e}if(De||Qe(i),a.removed=[],"string"==typeof e&&(Ue=!1),Ue);else if(e instanceof c)1===(o=(r=nt("\x3c!----\x3e")).ownerDocument.importNode(e,!0)).nodeType&&"BODY"===o.nodeName||"HTML"===o.nodeName?r=o:r.appendChild(o);else{if(!ze&&!xe&&!Ee&&-1===e.indexOf("<"))return ie&&Fe?ie.createHTML(e):e;if(!(r=nt(e)))return ze?null:re}r&&Me&&it(r.firstChild);for(var d=ot(Ue?e:r);s=d.nextNode();)3===s.nodeType&&s===g||bt(s)||(s.content instanceof n&&ut(s.content),pt(s),g=s);if(g=null,Ue)return e;if(ze){if(Re)for(b=se.call(r.ownerDocument);r.firstChild;)b.appendChild(r.firstChild);else b=r;return Le&&(b=ge.call(l,b,!0)),b}var p=Ee?r.outerHTML:r.innerHTML;return xe&&(p=m(p,pe," "),p=m(p,ue," ")),ie&&Fe?ie.createHTML(p):p},a.setConfig=function(e){Qe(e),De=!0},a.clearConfig=function(){Ye=null,De=!1},a.isValidAttribute=function(e,t,a){Ye||Qe({});var l=h(e),i=h(t);return dt(l,i,a)},a.addHook=function(e,t){"function"==typeof t&&(de[e]=de[e]||[],u(de[e],t))},a.removeHook=function(e){de[e]&&p(de[e])},a.removeHooks=function(e){de[e]&&(de[e]=[])},a.removeAllHooks=function(){de={}},a}()}()},function(e,t,a){"use strict";a.r(t);var l=a(0),i=a(4),r=a.n(i),n=a(6),o=a.n(n);const c=wp.element.createElement;function s(e){return"tabs-desktop"===e?c("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none"},c("path",{d:"M18.95 4H4.55C3.55589 4 2.75 4.76751 2.75 5.71429V14.2857C2.75 15.2325 3.55589 16 4.55 16H18.95C19.9441 16 20.75 15.2325 20.75 14.2857V5.71429C20.75 4.76751 19.9441 4 18.95 4Z",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),c("path",{d:"M1.75 18C1.19772 18 0.75 18.4477 0.75 19C0.75 19.5523 1.19772 20 1.75 20H21.75C22.3023 20 22.75 19.5523 22.75 19C22.75 18.4477 22.3023 18 21.75 18H1.75ZM9 18.8C8.86193 18.8 8.75 18.9119 8.75 19.05C8.75 19.1881 8.86193 19.3 9 19.3H14.5C14.6381 19.3 14.75 19.1881 14.75 19.05C14.75 18.9119 14.6381 18.8 14.5 18.8H9Z",stroke:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})):"tabs-tablet"===e?c("svg",{width:24,height:24,viewBox:"0 0 24 24"},c("path",{d:"M16.6429 4H7.35714C6.33147 4 5.5 4.71634 5.5 5.6V18.4C5.5 19.2837 6.33147 20 7.35714 20H16.6429C17.6685 20 18.5 19.2837 18.5 18.4V5.6C18.5 4.71634 17.6685 4 16.6429 4Z"}),c("path",{d:"M12 17.5H12.01"})):"tabs-mobile"===e?c("svg",{width:24,height:24,viewBox:"0 0 24 24"},c("path",{d:"M15.5714 4H8.42857C7.63959 4 7 4.71634 7 5.6V18.4C7 19.2837 7.63959 20 8.42857 20H15.5714C16.3604 20 17 19.2837 17 18.4V5.6C17 4.71634 16.3604 4 15.5714 4Z"}),c("path",{d:"M12 17.5H12.01"})):"sync"===e?c("svg",{width:24,height:24,viewBox:"0 0 24 24"},c("path",{d:"m7.34133533 6.23855964v-1.98499625c-2.17404351.03150788-4.03300825 1.38634659-4.85221305 3.27681921-.31507877.72468117-.44111028 1.51237809-.4096024 2.33158289.06301575 1.13428361.47261815 2.20555141 1.16579145 3.05626411.37809452.4411102.28357089 1.1027757-.18904726 1.4493623-.44111028.3150788-1.07126782.2205551-1.41785447-.1890473-.85071268-1.0397599-1.38634658-2.3315829-1.54388597-3.7179294-.12603151-1.00825211-.03150788-2.01650417.25206302-2.9302326.88222055-3.02475619 3.6864216-5.26181546 6.99474868-5.29332334v-1.98499624c0-.09452363.12603151-.15753939.22055514-.09452363l4.09602403 2.99324831c.0630157.06301575.0630157.15753938 0 .18904726l-4.09602403 2.99324831c-.09452363.06301575-.22055514 0-.22055514-.09452363zm.22055514 13.17029256c.09452363.0630158.22055514 0 .22055514-.0945236v-1.9849963c3.30832709-.0315078 6.11252809-2.2685671 6.99474869-5.2933233.252063-.9137284.3780945-1.8904726.252063-2.93023256-.1575394-1.38634658-.7246812-2.67816954-1.543886-3.71792948-.3465866-.44111028-.9767441-.53563391-1.4178544-.18904726-.4726182.34658665-.5671418 1.00825206-.1890473 1.44936234.6931733.85071268 1.1027757 1.89047262 1.1657915 3.05626407.0315078.81920479-.1260315 1.63840959-.4096024 2.33158289-.787697 1.8904726-2.6466617 3.2453113-4.85221309 3.2768192v-1.9849962c0-.0945237-.12603151-.1575394-.22055514-.0945237l-4.096024 2.9932483c-.06301576.0630158-.06301576.1575394 0 .1890473z",transform:"translate(4 2)"})):"headline"===e?c("svg",{width:24,height:24,viewBox:"0 0 20 20",style:{padding:"1px"}},c("path",{d:"M12.5 4v5.2h-5V4H5v13h2.5v-5.2h5V17H15V4",fill:"#1e72bd"})):"grid"===e?c("svg",{width:20,height:20,viewBox:"0 0 20 20",style:{padding:"1px"}},c("path",{d:"M20 .6c0-.3-.2-.6-.5-.6H.5C.2 0 0 .3 0 .6v4.6c0 .3.2.6.5.6h19c.3 0 .5-.3.5-.6V.6zM6.7 7.7c0-.3-.2-.6-.5-.6H.5c-.3 0-.5.3-.5.6v4.6c0 .3.2.6.5.6h5.6c.3 0 .5-.3.5-.6l.1-4.6zM19.9 7.7c0-.3-.2-.6-.6-.6H8.6c-.4 0-.6.3-.6.6v4.5c0 .3.2.6.6.6h10.8c.3 0 .6-.3.6-.6l-.1-4.5z",fill:"#1d72ba"}),c("path",{d:"M20 14.8c0-.3-.2-.6-.5-.6h-5.6c-.3 0-.5.2-.5.6v4.6c0 .3.2.6.5.6h5.6c.3 0 .5-.2.5-.6v-4.6zM12 14.8c0-.3-.2-.5-.5-.5H.5c-.3 0-.5.2-.5.5v4.6c0 .4.2.6.5.6h11c.3 0 .5-.2.5-.5v-4.7z",fill:"#1d72ba"})):"container"===e?c("svg",{width:20,height:20,viewBox:"0 0 20 20",style:{padding:"1px"}},c("path",{d:"M2.8 3.4c0-.4.3-.7.7-.7h1.2V0H3.4C1.5 0 0 1.5 0 3.4v1.2h2.8V3.4zM0 7.4h2.8v5.3H0zM17.2 7.4H20v5.3h-2.8zM17.2 16.6c0 .4-.3.7-.7.7h-1.2V20h1.2c1.9 0 3.4-1.5 3.4-3.4v-1.2h-2.8v1.2h.1zM7.4 0h5.3v2.8H7.4zM3.4 17.2c-.4 0-.7-.3-.7-.7v-1.2H0v1.2c0 2 1.5 3.5 3.4 3.5h1.2v-2.8H3.4zM7.4 17.2h5.3V20H7.4zM16.6 2.8c.4 0 .7.3.7.7v1.2H20V3.4C20 1.5 18.5 0 16.6 0h-1.2v2.8h1.2z",fill:"#1e72bd"})):"button"===e?c("svg",{width:20,height:20,viewBox:"0 0 20 20",style:{padding:"1px"}},c("path",{d:"M19.2 0H.8C.4 0 0 .4 0 .8v6.4c0 .4.4.8.8.8h18.4c.4 0 .8-.4.8-.8V.8c0-.4-.4-.8-.8-.8zM18.4 12H1.6c-.9 0-1.6.7-1.6 1.6v4.8c0 .9.7 1.6 1.6 1.6h16.8c.9 0 1.6-.7 1.6-1.6v-4.8c0-.9-.7-1.6-1.6-1.6zm.4 6.4c0 .2-.2.4-.4.4H1.6c-.2 0-.4-.2-.4-.4v-4.8c0-.2.2-.4.4-.4h16.8c.2 0 .4.2.4.4v4.8z",fill:"#1e72bd"})):"paragraph"===e?c("svg",{width:20,height:20,viewBox:"0 0 20 20"},c("path",{d:"M15 2H7.54c-.83 0-1.59.2-2.28.6-.7.41-1.25.96-1.65 1.65C3.2 4.94 3 5.7 3 6.52s.2 1.58.61 2.27c.4.69.95 1.24 1.65 1.64.69.41 1.45.61 2.28.61h.43V17c0 .27.1.51.29.71.2.19.44.29.71.29.28 0 .51-.1.71-.29.2-.2.3-.44.3-.71V5c0-.27.09-.51.29-.71.2-.19.44-.29.71-.29s.51.1.71.29c.19.2.29.44.29.71v12c0 .27.1.51.3.71.2.19.43.29.71.29.27 0 .51-.1.71-.29.19-.2.29-.44.29-.71V4H15c.27 0 .5-.1.7-.3.2-.19.3-.43.3-.7s-.1-.51-.3-.71A.984.984 0 0 0 15 2z"})):"spacing"===e?c("svg",{width:20,height:20,viewBox:"0 0 113 113",fillRule:"evenodd"},c("path",{d:"M106.283,6.217c8.289,8.29 8.289,91.776 0,100.066c-8.29,8.289 -91.776,8.289 -100.066,0c-8.289,-8.29 -8.289,-91.776 0,-100.066c8.29,-8.289 91.776,-8.289 100.066,0Zm-10.007,10.007c6.632,6.632 6.632,73.42 0,80.052c-6.632,6.632 -73.42,6.632 -80.052,0c-6.632,-6.632 -6.632,-73.42 0,-80.052c6.632,-6.632 73.42,-6.632 80.052,0Z"}),c("path",{d:"M40.452,77.705c7.802,1.393 23.794,1.393 31.596,0l13.635,13.635c-12.215,3.213 -46.652,3.213 -58.866,0l13.635,-13.635Zm50.888,-50.888c3.213,12.215 3.213,46.653 0,58.866l-13.635,-13.635c1.393,-7.801 1.393,-23.794 0,-31.596l13.635,-13.635Zm-70.18,0l13.635,13.635c-1.393,7.802 -1.393,23.794 0,31.596l-13.635,13.635c-3.213,-12.213 -3.213,-46.651 0,-58.866Zm5.657,-5.657c12.214,-3.213 46.652,-3.213 58.866,0l-13.635,13.635c-7.801,-1.393 -23.795,-1.393 -31.596,0l-13.635,-13.635Z"})):"advanced"===e?c("svg",{width:20,height:20,viewBox:"0 0 113 113",fillRule:"evenodd"},c("path",{d:"M106.283,6.217c8.289,8.29 8.289,91.776 0,100.066c-8.29,8.289 -91.776,8.289 -100.066,0c-8.289,-8.29 -8.289,-91.776 0,-100.066c8.29,-8.289 91.776,-8.289 100.066,0Zm-10.007,37.215c6.632,2.124 6.632,23.512 0,25.636c-6.632,2.124 -73.42,2.124 -80.052,0c-6.632,-2.124 -6.632,-23.512 0,-25.636c6.632,-2.124 73.42,-2.124 80.052,0Z"}),c("path",{d:"M48.61,51.916c2.243,0.718 2.243,7.95 0,8.668c-2.242,0.718 -24.823,0.718 -27.065,0c-2.243,-0.718 -2.243,-7.95 0,-8.668c2.242,-0.718 24.823,-0.718 27.065,0Z"}),c("path",{d:"M90.955,51.916c2.243,0.718 2.243,7.95 0,8.668c-2.242,0.718 -24.823,0.718 -27.065,0c-2.243,-0.718 -2.243,-7.95 0,-8.668c2.242,-0.718 24.823,-0.718 27.065,0Z"})):"backgrounds"===e?c("svg",{width:20,height:20,viewBox:"0 0 113 113",fillRule:"evenodd"},c("path",{d:"M1.491,87.777l37.79,-37.79l31.352,31.352c2.412,2.171 5.656,0 5.656,0l17.248,-17.247l13.186,13.186l4.796,4.797c-0.971,12.199 -2.726,21.685 -5.249,24.208c-8.29,8.289 -91.776,8.289 -100.066,0c-2.113,-2.113 -3.687,-9.113 -4.713,-18.506Z"}),c("path",{d:"M0.631,77.323c-1.742,-27.728 0.125,-65.658 5.573,-71.106c8.29,-8.289 91.776,-8.289 100.066,0c5.07,5.07 7.039,38.265 5.89,65.185l-15.795,-15.795c-2.412,-2.172 -5.657,0 -5.657,0l-17.247,17.246l-31.351,-31.351c-0.731,-0.658 -1.036,-1 -2.619,-1.166c-0.263,0 -0.477,-0.075 -1.245,0.131c-0.912,0.244 -1.793,1.035 -1.793,1.035l-35.822,35.821Zm76.434,-59.584c7.115,0 12.891,5.776 12.891,12.89c0,7.114 -5.776,12.89 -12.891,12.89c-7.114,0 -12.89,-5.776 -12.89,-12.89c0,-7.114 5.776,-12.89 12.89,-12.89Z"})):"colors"===e?c("svg",{width:20,height:20,viewBox:"0 0 113 113",fillRule:"evenodd"},c("path",{d:"M106.283,6.217c8.289,8.29 8.289,91.776 0,100.066c-8.29,8.289 -91.776,8.289 -100.066,0c-8.289,-8.29 -8.289,-91.776 0,-100.066c8.29,-8.289 91.776,-8.289 100.066,0Zm-50.033,12.818c-20.551,0 -37.215,16.664 -37.215,37.215c0,20.551 16.664,37.215 37.215,37.215c3.432,0 6.202,-2.77 6.202,-6.203c0,-1.612 -0.62,-3.059 -1.612,-4.176c-0.951,-1.075 -1.571,-2.522 -1.571,-4.094c0,-3.432 2.77,-6.202 6.202,-6.202l7.319,0c11.413,0 20.675,-9.262 20.675,-20.675c0,-18.277 -16.664,-33.08 -37.215,-33.08Zm-22.742,37.215c-3.433,0 -6.203,-2.77 -6.203,-6.202c0,-3.433 2.77,-6.203 6.203,-6.203c3.432,0 6.202,2.77 6.202,6.203c0,3.432 -2.77,6.202 -6.202,6.202Zm45.484,0c-3.432,0 -6.202,-2.77 -6.202,-6.202c0,-3.433 2.77,-6.203 6.202,-6.203c3.433,0 6.203,2.77 6.203,6.203c0,3.432 -2.77,6.202 -6.203,6.202Zm-33.079,-16.54c-3.433,0 -6.203,-2.77 -6.203,-6.202c0,-3.433 2.77,-6.203 6.203,-6.203c3.432,0 6.202,2.77 6.202,6.203c0,3.432 -2.77,6.202 -6.202,6.202Zm20.674,0c-3.432,0 -6.202,-2.77 -6.202,-6.202c0,-3.433 2.77,-6.203 6.202,-6.203c3.433,0 6.203,2.77 6.203,6.203c0,3.432 -2.77,6.202 -6.203,6.202Z"})):"gradients"===e?c("svg",{width:20,height:20,viewBox:"0 0 113 113",fillRule:"evenodd"},c("path",{d:"M112.426,48.746c0.503,25.204 -1.545,52.939 -6.143,57.537c-8.29,8.289 -91.776,8.289 -100.066,0c-8.289,-8.29 -8.289,-91.776 0,-100.066c8.289,-8.288 91.748,-8.289 100.061,-0.004c0,0 0.005,0.004 0.005,0.004c3.691,3.692 5.739,22.295 6.143,42.529Zm-16.154,-32.526c-6.656,-6.628 -73.418,-6.627 -80.048,0.004c-6.631,6.63 -6.632,73.392 -0.004,80.048l80.052,-80.052Z"})):"icons"===e?c("svg",{width:20,height:20,viewBox:"0 0 113 113",fillRule:"evenodd"},c("path",{d:"M106.283,6.217c8.289,8.29 8.289,91.776 0,100.066c-8.29,8.289 -91.776,8.289 -100.066,0c-8.289,-8.29 -8.289,-91.776 0,-100.066c8.29,-8.289 91.776,-8.289 100.066,0Zm-10.007,10.007c6.632,6.632 6.632,73.42 0,80.052c-6.632,6.632 -73.42,6.632 -80.052,0c-6.632,-6.632 -6.632,-73.42 0,-80.052c6.632,-6.632 73.42,-6.632 80.052,0Z"}),c("path",{d:"M89.605,22.895c5.527,5.526 5.527,61.184 0,66.71c-5.526,5.527 -61.184,5.527 -66.71,0c-5.527,-5.526 -5.527,-61.184 0,-66.71c5.526,-5.527 61.184,-5.527 66.71,0Zm-21.066,62.31l0,-2.731c-0.648,-0.074 -1.272,-0.199 -1.87,-0.374c-0.599,-0.174 -1.148,-0.374 -1.646,-0.598c-0.699,-0.299 -1.235,-0.755 -1.609,-1.366c-0.374,-0.611 -0.561,-1.353 -0.561,-2.226l0,-29.703l-0.561,-0.561l-18.331,0.972l0,2.731c0.748,0.075 1.577,0.25 2.488,0.524c0.91,0.274 1.589,0.561 2.038,0.86c0.599,0.399 1.098,0.929 1.497,1.59c0.399,0.661 0.598,1.428 0.598,2.301l0,21.773c0,0.923 -0.162,1.665 -0.486,2.226c-0.324,0.561 -0.885,0.991 -1.683,1.29c-0.449,0.175 -0.986,0.3 -1.609,0.374c-0.624,0.075 -1.26,0.138 -1.908,0.187l0,2.731l23.643,0Zm-12.978,-59.459c4.76,0 8.625,3.864 8.625,8.625c0,4.76 -3.865,8.625 -8.625,8.625c-4.76,0 -8.625,-3.865 -8.625,-8.625c0,-4.761 3.865,-8.625 8.625,-8.625Z"})):"typography"===e?c("svg",{width:20,height:20,viewBox:"0 0 113 113",fillRule:"evenodd"},c("path",{d:"M106.283,6.217c8.289,8.29 8.289,91.776 0,100.066c-8.29,8.289 -91.776,8.289 -100.066,0c-8.289,-8.29 -8.289,-91.776 0,-100.066c8.29,-8.289 91.776,-8.289 100.066,0Zm-8.783,78.583l0,-2.817c-0.661,-0.026 -1.481,-0.165 -2.46,-0.417c-0.979,-0.251 -1.773,-0.562 -2.381,-0.932c-0.9,-0.609 -1.601,-1.23 -2.103,-1.865c-0.503,-0.635 -0.953,-1.468 -1.349,-2.5l-18.769,-48.569l-3.175,0c-2.672,6.878 -5.714,14.721 -9.126,23.53c-3.266,8.43 -6.265,16.06 -8.998,22.891l-11.672,-28.684l-2.304,0c-1.939,4.742 -4.148,10.149 -6.625,16.222c-2.477,6.072 -4.743,11.543 -6.798,16.412c-0.403,0.949 -0.816,1.692 -1.238,2.23c-0.423,0.538 -1.018,1.053 -1.786,1.545c-0.48,0.292 -1.095,0.524 -1.844,0.698c-0.749,0.173 -1.373,0.278 -1.872,0.314l0,1.942l15.382,0l0,-1.942c-1.518,-0.073 -2.881,-0.31 -4.091,-0.711c-1.209,-0.401 -1.814,-0.966 -1.814,-1.696c0,-0.31 0.048,-0.711 0.144,-1.204c0.096,-0.492 0.268,-1.13 0.518,-1.914c0.269,-0.803 0.571,-1.678 0.907,-2.626c0.336,-0.948 0.773,-2.061 1.311,-3.338l14.316,0l3.399,8.699c0.012,0.03 0.024,0.06 0.036,0.092c-0.161,0.119 -0.329,0.237 -0.503,0.355c-0.661,0.423 -1.508,0.76 -2.539,1.012c-1.032,0.251 -1.892,0.403 -2.58,0.456l0,2.817l21.19,0l0,-2.817c-2.09,-0.106 -3.968,-0.45 -5.635,-1.032c-1.666,-0.582 -2.499,-1.402 -2.499,-2.46c0,-0.45 0.066,-1.032 0.198,-1.746c0.132,-0.714 0.37,-1.64 0.714,-2.777c0.371,-1.164 0.787,-2.434 1.25,-3.81c0.463,-1.375 1.065,-2.989 1.806,-4.841l19.721,0l4.682,12.619c0.106,0.264 0.186,0.568 0.238,0.912c0.053,0.344 0.08,0.635 0.08,0.873c0,0.582 -0.681,1.072 -2.044,1.468c-1.362,0.397 -3.075,0.662 -5.138,0.794l0,2.817l23.451,0Zm-56.864,-15.865l-6.193,-15.045l-6.078,15.045l12.271,0Zm34.167,-7.15l-8.532,-21.824l-8.373,21.824l16.905,0Z"})):"addContainer"===e?c("svg",{width:20,height:20,viewBox:"0 0 64 64",fillRule:"evenodd"},c("path",{d:"M41.454,57.126l0,6.409c-6.088,0.286 -12.82,0.286 -18.908,0l0,-6.409c5.957,0.366 12.951,0.366 18.908,0Zm-33.93,-8.899c0.458,3.226 1.086,5.568 1.883,6.366c0.798,0.797 3.14,1.425 6.366,1.883l0,6.592c-6.084,-0.578 -10.706,-1.519 -12.015,-2.826c-1.307,-1.309 -2.248,-5.931 -2.826,-12.015l6.592,0Zm55.544,0c-0.578,6.084 -1.519,10.706 -2.826,12.015c-1.309,1.307 -5.931,2.248 -12.015,2.826l0,-6.592c3.226,-0.458 5.568,-1.086 6.366,-1.883c0.797,-0.798 1.425,-3.14 1.883,-6.366l6.592,0Zm0.467,-25.681c0.286,6.088 0.286,12.82 0,18.908l-6.409,0c0.366,-5.957 0.366,-12.951 0,-18.908l6.409,0Zm-56.661,0c-0.366,5.957 -0.366,12.951 0,18.908l-6.409,0c-0.286,-6.088 -0.286,-12.82 0,-18.908l6.409,0Zm41.353,-21.614c6.084,0.578 10.706,1.519 12.015,2.826c1.307,1.309 2.248,5.931 2.826,12.015l-6.592,0c-0.458,-3.226 -1.086,-5.568 -1.883,-6.366c-0.798,-0.797 -3.14,-1.425 -6.366,-1.883l0,-6.592Zm-32.454,0l0,6.592c-3.226,0.458 -5.568,1.086 -6.366,1.883c-0.797,0.798 -1.425,3.14 -1.883,6.366l-6.592,0c0.578,-6.084 1.519,-10.706 2.826,-12.015c1.309,-1.307 5.931,-2.248 12.015,-2.826Zm6.773,-0.467c6.088,-0.286 12.82,-0.286 18.908,0l0,6.409c-5.957,-0.366 -12.951,-0.366 -18.908,0l0,-6.409Z"}),c("path",{d:"M18.03,29.037l11.007,0l0,-11.007l6.773,0l0,11.007l11.007,0l0,6.773l-11.007,0l0,11.007l-6.773,0l0,-11.007l-11.007,0l0,-6.773Z"})):"gradient"===e?c("svg",{width:24,height:24,viewBox:"0 0 24 24",fillRule:"evenodd"},c("path",{d:"M17.66 8L12 2.35L6.34 8A8.02 8.02 0 0 0 4 13.64c0 2 .78 4.11 2.34 5.67a7.99 7.99 0 0 0 11.32 0c1.56-1.56 2.34-3.67 2.34-5.67S19.22 9.56 17.66 8zM6 14c.01-2 .62-3.27 1.76-4.4L12 5.27l4.24 4.38C17.38 10.77 17.99 12 18 14H6z"})):"documentation"===e?c("svg",{width:20,height:20,viewBox:"0 0 113 113",fillRule:"evenodd"},c("path",{d:"M106.755 6.245c8.327 8.326 8.327 92.184 0 100.51-8.326 8.327-92.184 8.327-100.51 0-8.327-8.326-8.327-92.184 0-100.51 8.326-8.327 92.184-8.327 100.51 0zm-92.661 93.896C9.279 84 9.781 23.714 15.834 17.661c2.491-2.491 19.588-4.132 26.354-4.712 4.748-.408 10.115.671 14.243 1.23 4.128-.559 9.495-1.638 14.243-1.23 6.766.58 23.863 2.221 26.354 4.712 6.053 6.053 6.791 66.339 1.976 82.48-4.729-1.977-19.708-3.436-26.784-3.853-5.234-.308-11.129.739-15.671 1.354-4.543-.615-10.437-1.662-15.672-1.354-7.075.417-22.054 1.876-26.783 3.853z"}),c("path",{d:"M50.188 32.738c2.252.536 2.252 5.927 0 6.463-2.252.535-24.934.535-27.186 0-2.252-.536-2.252-5.927 0-6.463 2.252-.535 24.934-.535 27.186 0zM50.277 46.846c2.252.535 2.252 5.927 0 6.462-2.252.535-24.934.535-27.186 0-2.252-.535-2.252-5.927 0-6.462 2.252-.535 24.934-.535 27.186 0zM50.277 60.037c2.252.535 2.252 5.927 0 6.462-2.252.535-24.934.535-27.186 0-2.252-.535-2.252-5.927 0-6.462 2.252-.535 24.934-.535 27.186 0zM50.277 73.799c2.252.536 2.252 5.927 0 6.463-2.252.535-24.934.535-27.186 0-2.252-.536-2.252-5.927 0-6.463 2.252-.535 24.934-.535 27.186 0z"}),c("path",{d:"M89.909 32.738c2.252.536 2.252 5.927 0 6.463-2.252.535-24.934.535-27.186 0-2.252-.536-2.252-5.927 0-6.463 2.252-.535 24.934-.535 27.186 0zM89.998 46.846c2.252.535 2.252 5.927 0 6.462-2.252.535-24.934.535-27.186 0-2.252-.535-2.252-5.927 0-6.462 2.252-.535 24.934-.535 27.186 0zM89.998 60.037c2.252.535 2.252 5.927 0 6.462-2.252.535-24.934.535-27.186 0-2.252-.535-2.252-5.927 0-6.462 2.252-.535 24.934-.535 27.186 0z"})):"layout"===e?c("svg",{width:20,height:20,viewBox:"0 0 113 113",fillRule:"evenodd"},c("path",{d:"M106.719 6.238c8.362 8.362 8.362 92.208 0 100.57-8.362 8.287-92.208 8.287-100.495 0-8.362-8.362-8.362-92.208 0-100.57 8.287-8.286 92.133-8.286 100.495 0zm-9.417 9.417c6.78 6.78 6.78 74.957 0 81.737-6.78 6.78-74.956 6.78-81.661 0-6.78-6.78-6.78-74.957 0-81.737 6.705-6.78 74.881-6.78 81.661 0z"}),c("path",{d:"M93.988 48.877c.602 17.477-.754 37.893-3.993 41.132-3.164 3.164-22.75 4.52-40.002 4.068v-45.2h43.995zm-75.108 0h23.58v44.899c-9.718-.603-17.553-1.808-19.512-3.767-3.24-3.24-4.595-23.655-4.068-41.132zm.377-7.533c.678-9.19 1.883-16.498 3.691-18.306 5.575-5.575 61.472-5.575 67.047 0 1.808 1.808 3.013 9.115 3.691 18.306h-74.43z"})):"shapes"===e?c("svg",{width:20,height:20,viewBox:"0 0 113 113",fillRule:"evenodd"},c("path",{d:"M106.756,6.244C115.081,14.571 115.081,98.429 106.756,106.756C98.429,115.081 14.571,115.081 6.244,106.756C-2.081,98.429 -2.081,14.571 6.244,6.244C14.571,-2.081 98.429,-2.081 106.756,6.244ZM67.875,88.052C67.875,86.977 67.003,86.105 65.928,86.105L47.072,86.105C45.997,86.105 45.125,86.977 45.125,88.052L45.125,91.948C45.125,93.023 45.997,93.896 47.072,93.896L65.928,93.896C67.003,93.896 67.875,93.023 67.875,91.948L67.875,88.052ZM57.899,31.409L59.305,31.409C60.853,31.409 62.11,30.152 62.11,28.604L62.11,28.089L73.263,57.543C73.757,58.333 73.731,59.161 73.731,59.403C73.729,62.659 65.231,69.414 65.375,83.611L47.625,83.611C47.769,69.414 39.271,62.659 39.269,59.403C39.269,59.161 39.243,58.333 39.737,57.543L50.89,28.089L50.89,28.604C50.89,30.152 52.147,31.409 53.695,31.409L55.101,31.409C55.111,35.738 55.142,50.367 55.098,54.109C55.093,54.494 54.907,54.988 54.68,55.45C52.915,56.169 51.669,57.903 51.669,59.925C51.669,62.592 53.834,64.756 56.5,64.756C59.166,64.756 61.331,62.592 61.331,59.925C61.331,57.903 60.085,56.169 58.32,55.45C58.093,54.988 57.907,54.494 57.902,54.109C57.858,50.367 57.889,35.738 57.899,31.409ZM52.227,19.451L52.227,18.881C52.227,17.702 53.185,16.745 54.364,16.745L58.636,16.745C59.815,16.745 60.773,17.702 60.773,18.881L60.773,19.451L88.831,19.451C89.457,17.867 91.002,16.745 92.807,16.745C95.165,16.745 97.08,18.66 97.08,21.018C97.08,23.376 95.165,25.29 92.807,25.29C91.03,25.29 89.505,24.203 88.861,22.658L71.798,22.658C83.83,28.003 92.531,39.501 93.898,53.148L94.93,53.148C96.109,53.148 97.067,54.105 97.067,55.284L97.067,59.557C97.067,60.736 96.109,61.693 94.93,61.693L90.657,61.693C89.478,61.693 88.521,60.736 88.521,59.557L88.521,55.284C88.521,54.105 89.478,53.148 90.657,53.148L90.922,53.148C89.19,37.24 76.627,24.564 60.773,22.659L60.773,23.154C60.773,24.333 59.815,25.29 58.636,25.29L54.364,25.29C53.185,25.29 52.227,24.333 52.227,23.154L52.227,22.688C36.484,24.689 24.036,37.318 22.312,53.148L22.329,53.148C23.508,53.148 24.466,54.105 24.466,55.284L24.466,59.557C24.466,60.736 23.508,61.693 22.329,61.693L18.056,61.693C16.877,61.693 15.92,60.736 15.92,59.557L15.92,55.284C15.92,54.105 16.877,53.148 18.056,53.148L19.336,53.148C20.703,39.501 29.405,28.003 41.437,22.658L24.139,22.658C23.495,24.203 21.97,25.29 20.193,25.29C17.835,25.29 15.92,23.376 15.92,21.018C15.92,18.66 17.835,16.745 20.193,16.745C21.998,16.745 23.543,17.867 24.169,19.451L52.227,19.451Z"})):"wrench"===e?Object(l.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},Object(l.createElement)("rect",{x:"0",fill:"none",width:"20",height:"20"}),Object(l.createElement)("g",null,Object(l.createElement)("path",{d:"M16.68 9.77c-1.34 1.34-3.3 1.67-4.95.99l-5.41 6.52c-.99.99-2.59.99-3.58 0s-.99-2.59 0-3.57l6.52-5.42c-.68-1.65-.35-3.61.99-4.95 1.28-1.28 3.12-1.62 4.72-1.06l-2.89 2.89 2.82 2.82 2.86-2.87c.53 1.58.18 3.39-1.08 4.65zM3.81 16.21c.4.39 1.04.39 1.43 0 .4-.4.4-1.04 0-1.43-.39-.4-1.03-.4-1.43 0-.39.39-.39 1.03 0 1.43z"}))):"x"===e?Object(l.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},Object(l.createElement)("rect",{x:"0",fill:"none",width:"20",height:"20"}),Object(l.createElement)("g",null,Object(l.createElement)("path",{d:"M14.95 6.46L11.41 10l3.54 3.54-1.41 1.41L10 11.42l-3.53 3.53-1.42-1.42L8.58 10 5.05 6.47l1.42-1.42L10 8.58l3.54-3.53z"}))):"ellipsis"===e?Object(l.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},Object(l.createElement)("rect",{x:"0",fill:"none",width:"20",height:"20"}),Object(l.createElement)("g",null,Object(l.createElement)("path",{d:"M5 10c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2zm12-2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-7 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"}))):"insert"===e?Object(l.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},Object(l.createElement)("rect",{x:"0",fill:"none",width:"20",height:"20"}),Object(l.createElement)("g",null,Object(l.createElement)("path",{d:"M10 1c-5 0-9 4-9 9s4 9 9 9 9-4 9-9-4-9-9-9zm0 16c-3.9 0-7-3.1-7-7s3.1-7 7-7 7 3.1 7 7-3.1 7-7 7zm1-11H9v3H6v2h3v3h2v-3h3V9h-3V6z"}))):"reset"===e?Object(l.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",viewBox:"0 0 50 50"},Object(l.createElement)("path",{d:"M25 38c-5.1 0-9.7-3-11.8-7.6l1.8-.8c1.8 3.9 5.7 6.4 10 6.4 6.1 0 11-4.9 11-11s-4.9-11-11-11c-4.6 0-8.5 2.8-10.1 7.3l-1.9-.7c1.9-5.2 6.6-8.6 12-8.6 7.2 0 13 5.8 13 13s-5.8 13-13 13z",fill:"currentColor"}),Object(l.createElement)("path",{d:"M20 22h-8v-8h2v6h6z",fill:"currentColor"})):void 0}var g=a(1),b=a(2),d=a(3);class p extends l.Component{render(){const{onClick:e,selectedDevice:t}=this.props;return Object(l.createElement)(l.Fragment,null,Object(l.createElement)("div",{className:"gb-responsive-tabs"},Object(l.createElement)(b.Tooltip,{text:Object(g.__)("Show options for all devices","generateblocks")},Object(l.createElement)(b.Button,{isPressed:"Desktop"===t,onClick:()=>{e("Desktop")}},Object(g.__)("Desktop","generateblocks"))),Object(l.createElement)(b.Tooltip,{text:Object(g.__)("Show options for tablet devices","generateblocks")},Object(l.createElement)(b.Button,{isPressed:"Tablet"===t,onClick:()=>{e("Tablet")}},Object(g.__)("Tablet","generateblocks"))),Object(l.createElement)(b.Tooltip,{text:Object(g.__)("Show options for mobile devices","generateblocks")},Object(l.createElement)(b.Button,{isPressed:"Mobile"===t,onClick:()=>{e("Mobile")}},Object(g.__)("Mobile","generateblocks")))),Object(d.applyFilters)("generateblocks.editor.controls","","afterResponsiveTabs",this.props,this.state))}}class u extends l.Component{render(){const{label:e,value:t,onClick:a,units:i,id:r}=this.props;return Object(l.createElement)("div",{className:"components-gblocks-units-control-header__units"},Object(l.createElement)("div",{className:"components-gblocks-units-control-label__units"},r?Object(l.createElement)("label",{htmlFor:r},e):e),Object(l.createElement)("div",{className:"components-gblocks-control__units"},Object(l.createElement)(b.ButtonGroup,{className:"components-gblocks-control-buttons__units","aria-label":Object(g.__)("Select Units","generateblocks")},i.map(e=>{let i=e;return"px"===e&&(i=Object(g._x)("Pixel","A size unit for CSS markup","generateblocks")),"em"===e&&(i=Object(g._x)("Em","A size unit for CSS markup","generateblocks")),"%"===e&&(i=Object(g._x)("Percentage","A size unit for CSS markup","generateblocks")),"deg"===e&&(i=Object(g._x)("Degree","A size unit for CSS markup","generateblocks")),Object(l.createElement)(b.Tooltip
2
  /* translators: Unit type (px, em, %) */,{text:Object(g.sprintf)(Object(g.__)("%s Units","generateblocks"),i),key:e},Object(l.createElement)(b.Button,{key:e,className:"components-gblocks-control-button__units--"+e,isSmall:!0,isPrimary:t===e,"aria-pressed":t===e
3
+ /* translators: %s: values associated with CSS syntax, 'Pixel', 'Em', 'Percentage' */,"aria-label":Object(g.sprintf)(Object(g.__)("%s Units","generateblocks"),i),onClick:()=>a(e)},e))}))))}}function h(e){let t="";for(const[a,l]of Object.entries(e)){if(l.length<1)continue;let e=a+"{",i=0;for(const[t,a]of Object.entries(l))for(const[t,l]of Object.entries(a))(l||0===l)&&(i++,e+=t+": "+l+";");e+="}",i>0&&(t+=e)}return t}function f(e,t){return!(!e&&0!==e)&&e+t}class m extends l.Component{render(){const e=Object(d.applyFilters)("generateblocks.editor.cssAttrs",this.props.attributes,this.props),{uniqueId:t,horizontalGap:a,verticalGap:i,verticalAlignment:r,horizontalAlignment:n}=e;let o=[];return o[".gb-grid-wrapper-"+t+" > .block-editor-inner-blocks > .block-editor-block-list__layout"]=[{"align-items":r,"justify-content":n,"margin-left":"-"+a/2+"px","margin-right":"-"+a/2+"px"}],o[".gb-grid-wrapper-"+t+" > .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block"]=[{"padding-left":a/2+"px","padding-right":a/2+"px","margin-bottom":f(i,"px")}],o=Object(d.applyFilters)("generateblocks.editor.mainCSS",o,this.props,"grid"),Object(l.createElement)("style",null,h(o))}}class k extends l.Component{render(){let e=[];return e=Object(d.applyFilters)("generateblocks.editor.desktopCSS",e,this.props,"grid"),Object(l.createElement)("style",null,h(e))}}class w extends l.Component{render(){const e=Object(d.applyFilters)("generateblocks.editor.cssAttrs",this.props.attributes,this.props),{uniqueId:t,horizontalGapTablet:a,verticalGapTablet:i,verticalAlignmentTablet:r,horizontalAlignmentTablet:n}=e;let o=[];return o[".gb-grid-wrapper-"+t+" > .block-editor-inner-blocks > .block-editor-block-list__layout"]=[{"align-items":"inherit"!==r?r:null,"justify-content":"inherit"!==n?n:null,"margin-left":a||0===a?"-"+a/2+"px":null,"margin-right":a||0===a?"-"+a/2+"px":null}],o[".gb-grid-wrapper-"+t+" > .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block"]=[{"padding-left":a||0===a?a/2+"px":null,"padding-right":a||0===a?a/2+"px":null,"margin-bottom":i||0===i?f(i,"px"):null}],o=Object(d.applyFilters)("generateblocks.editor.tabletCSS",o,this.props,"grid"),Object(l.createElement)("style",null,h(o))}}class y extends l.Component{render(){let e=[];return e=Object(d.applyFilters)("generateblocks.editor.tabletOnlyCSS",e,this.props,"grid"),Object(l.createElement)("style",null,h(e))}}class O extends l.Component{render(){const e=Object(d.applyFilters)("generateblocks.editor.cssAttrs",this.props.attributes,this.props),{uniqueId:t,horizontalGapMobile:a,verticalGapMobile:i,verticalAlignmentMobile:r,horizontalAlignmentMobile:n}=e;let o=[];return o[".gb-grid-wrapper-"+t+" > .block-editor-inner-blocks > .block-editor-block-list__layout"]=[{"align-items":"inherit"!==r?r:null,"justify-content":"inherit"!==n?n:null,"margin-left":a||0===a?"-"+a/2+"px":null,"margin-right":a||0===a?"-"+a/2+"px":null}],o[".gb-grid-wrapper-"+t+" > .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block"]=[{"padding-left":a||0===a?a/2+"px":null,"padding-right":a||0===a?a/2+"px":null,"margin-bottom":i||0===i?f(i,"px"):null}],o=Object(d.applyFilters)("generateblocks.editor.mobileCSS",o,this.props,"grid"),Object(l.createElement)("style",null,h(o))}}class v extends l.Component{render(){const{name:e,children:t}=this.props;return Object(d.applyFilters)(e,t||"",this.props)}}class j extends l.Component{render(){const{title:e=!1,initialOpen:t=!1,icon:a,className:i,id:r,state:n,showPanel:o=!0,children:c}=this.props;if(!Object(d.applyFilters)("generateblocks.editor.showPanel",o,r,this.props))return null;let s=!0;return""===c&&(s=!1),"object"==typeof c&&(s=Object.values(c).some(e=>null!==e&&!1!==e&&""!==e)),s?Object(l.createElement)(v,{name:"generateblocks.panel."+r,props:this.props,state:n},e?Object(l.createElement)(b.PanelBody,{title:e,initialOpen:t,icon:a,className:i},Object(d.applyFilters)("generateblocks.editor.panelContents",c,r,this.props)):Object(l.createElement)(b.PanelBody,null,Object(d.applyFilters)("generateblocks.editor.panelContents",c,r,this.props))):null}}function T(e,t,a){return Object.keys(e).forEach(l=>{const i=void 0!==e[l].clientId?e[l].clientId:"",r=void 0!==e[l].name?e[l].name:"";i!==a&&r.includes("generateblocks")&&t.push(e[l].attributes.uniqueId),void 0!==e[l].innerBlocks&&e[l].innerBlocks.length>0&&T(e[l].innerBlocks,t,a)}),t}function C(e){return e||0===e}function B(e,t){return!e||e<t}function _(e,t,a,l){let i=t[e];return"Mobile"===a&&t[e+"Tablet"]&&(i=t[e+"Tablet"]),""!==i&&!1!==i||(i=l),i}function S(e){return""===e.uniqueId}var x=a(5),E=a(7),D=a(8),M=a(9);const z=/[\s#]/g;class R extends l.Component{constructor(){super(...arguments),this.state={selectedLayout:!1,selectedDevice:"Desktop"},this.onLayoutSelect=this.onLayoutSelect.bind(this),this.getColumnsFromLayout=this.getColumnsFromLayout.bind(this),this.getLayoutsSelector=this.getLayoutsSelector.bind(this),this.getDeviceType=this.getDeviceType.bind(this),this.setDeviceType=this.setDeviceType.bind(this)}componentDidMount(){const e=T(wp.data.select("core/block-editor").getBlocks(),[],this.props.clientId);if(this.props.attributes.uniqueId&&!e.includes(this.props.attributes.uniqueId)||this.props.setAttributes({uniqueId:this.props.clientId.substr(2,9).replace("-","")}),void 0!==this.props.attributes.isDynamic&&this.props.attributes.isDynamic||this.props.setAttributes({isDynamic:!0}),!S(this.props.attributes)&&B(this.props.attributes.blockVersion,2)){const e=generateBlocksLegacyDefaults.v_1_4_0.gridContainer,t={};void 0!==this.props.attributes.useGlobalStyle&&this.props.attributes.useGlobalStyle&&void 0!==this.props.attributes.globalStyleId&&this.props.attributes.globalStyleId||C(this.props.attributes.horizontalGap)||(t.horizontalGap=e.horizontalGap),Object.keys(t).length>0&&this.props.setAttributes(t)}B(this.props.attributes.blockVersion,2)&&this.props.setAttributes({blockVersion:2})}componentDidUpdate(){const{attributes:e,setAttributes:t,clientId:a}=this.props;let{columns:l}=e;if(this.state.selectedLayout){const e=this.getColumnsFromLayout(this.state.selectedLayout);e.forEach(e=>{wp.data.dispatch("core/block-editor").insertBlocks(Object(E.createBlock)("generateblocks/container",e),void 0,a,!1)}),l=e.length,t({columns:l}),this.setState({selectedLayout:!1})}else{const e=wp.data.select("core/block-editor").getBlocksByClientId(a)[0];e&&(l=e.innerBlocks.length,t({columns:l}))}}getColumnsFromLayout(e){const t=[],a=e.split("-");let l=0;return a.forEach(()=>{const e={isGrid:!0,gridId:this.props.attributes.uniqueId,paddingTop:generateBlocksStyling.container.gridItemPaddingTop||"",paddingRight:generateBlocksStyling.container.gridItemPaddingRight||"",paddingBottom:generateBlocksStyling.container.gridItemPaddingBottom||"",paddingLeft:generateBlocksStyling.container.gridItemPaddingLeft||"",widthMobile:100};e.width=Number(a[l]),l++,t.push(e)}),t}getLayoutsSelector(){return Object(l.createElement)(b.Placeholder,{label:Object(g.__)("Grid","generateblocks"),instructions:Object(g.__)("Select one layout to get started.","generateblocks"),className:"gb-select-layout"},Object(l.createElement)("div",{className:"gb-grid-wrapper-layout-preview"},["100","50-50","33.33-33.33-33.33","25-25-25-25","25-75","75-25","25-25-50","25-50-25","50-25-25","20-60-20","20-20-20-20-20","16-16-16-16-16-16"].map(e=>{const t=this.getColumnsFromLayout(e);return Object(l.createElement)("button",{key:"layout-"+e,className:"gb-grid-wrapper-layout-preview-btn",onClick:()=>this.onLayoutSelect(e)},t.map((t,a)=>Object(l.createElement)("div",{key:`layout-${e}-col-${a}`,className:o()("gb-col","gb-col-"+t.width)})))})))}onLayoutSelect(e){this.setState({selectedLayout:e})}getDeviceType(){let e=this.props.deviceType?this.props.deviceType:this.state.selectedDevice;return generateBlocksInfo.syncResponsivePreviews||(e=this.state.selectedDevice),e}setDeviceType(e){generateBlocksInfo.syncResponsivePreviews&&this.props.deviceType?(this.props.setDeviceType(e),this.setState({selectedDevice:e})):this.setState({selectedDevice:e})}render(){const{attributes:e,setAttributes:t,clientId:a}=this.props,{uniqueId:i,className:n,anchor:c,columns:h,horizontalGap:f,verticalGap:v,verticalAlignment:T,horizontalGapTablet:B,verticalGapTablet:S,verticalAlignmentTablet:D,horizontalGapMobile:M,verticalGapMobile:R,verticalAlignmentMobile:L,horizontalAlignment:F,horizontalAlignmentTablet:A,horizontalAlignmentMobile:N}=e;let U={className:o()({"gb-grid-wrapper":!0,["gb-grid-wrapper-"+i]:!0,[""+n]:void 0!==n}),id:c||null};return U=Object(d.applyFilters)("generateblocks.frontend.htmlAttributes",U,"generateblocks/grid",e),Object(l.createElement)(l.Fragment,null,(h>0||this.state.selectedLayout)&&Object(l.createElement)(x.BlockControls,null,Object(l.createElement)(b.ToolbarGroup,null,Object(l.createElement)(b.ToolbarButton,{className:"gblocks-block-control-icon gblocks-add-grid-item",icon:s("addContainer"),label:Object(g.__)("Add Grid Item","generateblocks"),onClick:()=>{wp.data.dispatch("core/block-editor").insertBlocks(Object(E.createBlock)("generateblocks/container",{isGrid:!0,gridId:i,paddingTop:generateBlocksStyling.container.gridItemPaddingTop||"",paddingRight:generateBlocksStyling.container.gridItemPaddingRight||"",paddingBottom:generateBlocksStyling.container.gridItemPaddingBottom||"",paddingLeft:generateBlocksStyling.container.gridItemPaddingLeft||"",width:50,widthMobile:100}),void 0,a)},showTooltip:!0}))),Object(l.createElement)(x.InspectorControls,null,Object(l.createElement)(p,r()({},this.props,{selectedDevice:this.getDeviceType(),onClick:e=>{this.setDeviceType(e)}})),Object(l.createElement)(j,r()({},this.props,{id:"gridLayout",state:this.state}),"Desktop"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(u,{label:Object(g.__)("Horizontal Gap","generateblocks"),value:"px",units:["px"],onClick:()=>!1}),Object(l.createElement)("div",{className:"components-base-control components-gblocks-typography-control__inputs"},Object(l.createElement)(b.TextControl,{type:"number",value:C(f)?f:"",min:"0",onChange:e=>{e=e.toString().replace(/-/g,""),t({horizontalGap:e})},onBlur:()=>{""!==f&&t({horizontalGap:parseFloat(f)})},onClick:e=>{e.currentTarget.focus()}}),Object(l.createElement)(b.Button,{isSmall:!0,isSecondary:!0,className:"components-gblocks-default-number",onClick:()=>{t({horizontalGap:generateBlocksDefaults.gridContainer.horizontalGap})}},Object(g.__)("Reset","generateblocks"))),Object(l.createElement)(u,{label:Object(g.__)("Vertical Gap","generateblocks"),value:"px",units:["px"],onClick:()=>!1}),Object(l.createElement)("div",{className:"components-base-control components-gblocks-typography-control__inputs"},Object(l.createElement)(b.TextControl,{type:"number",value:C(v)?v:"",min:"0",onChange:e=>{e=e.toString().replace(/-/g,""),t({verticalGap:e})},onBlur:()=>{""!==v&&t({verticalGap:parseFloat(v)})},onClick:e=>{e.currentTarget.focus()}}),Object(l.createElement)(b.Button,{isSmall:!0,isSecondary:!0,className:"components-gblocks-default-number",onClick:()=>{t({verticalGap:generateBlocksDefaults.gridContainer.verticalGap})}},Object(g.__)("Reset","generateblocks"))),Object(l.createElement)(b.SelectControl,{label:Object(g.__)("Vertical Alignment","generateblocks"),value:T,help:Object(g.__)("Align grid items. Removes same height columns and overrides grid item content alignment.","generateblocks"),options:[{label:Object(g.__)("Default","generateblocks"),value:""},{label:Object(g.__)("Top","generateblocks"),value:"flex-start"},{label:Object(g.__)("Center","generateblocks"),value:"center"},{label:Object(g.__)("Bottom","generateblocks"),value:"flex-end"}],onChange:e=>{t({verticalAlignment:e})}}),Object(l.createElement)(b.SelectControl,{label:Object(g.__)("Horizontal Alignment","generateblocks"),value:F,options:[{label:Object(g.__)("Default","generateblocks"),value:""},{label:Object(g.__)("Left","generateblocks"),value:"flex-start"},{label:Object(g.__)("Center","generateblocks"),value:"center"},{label:Object(g.__)("Right","generateblocks"),value:"flex-end"}],onChange:e=>{t({horizontalAlignment:e})}})),"Tablet"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(u,{label:Object(g.__)("Horizontal Gap","generateblocks"),value:"px",units:["px"],onClick:()=>!1}),Object(l.createElement)("div",{className:"components-base-control components-gblocks-typography-control__inputs"},Object(l.createElement)(b.TextControl,{type:"number",value:C(B)?B:"",min:"0",placeholder:_("horizontalGap",e,"Tablet",""),onChange:e=>{e=e.toString().replace(/-/g,""),t({horizontalGapTablet:e})},onBlur:()=>{""!==B&&t({horizontalGapTablet:parseFloat(B)})},onClick:e=>{e.currentTarget.focus()}}),Object(l.createElement)(b.Button,{isSmall:!0,isSecondary:!0,className:"components-gblocks-default-number",onClick:()=>{t({horizontalGapTablet:generateBlocksDefaults.gridContainer.horizontalGapTablet})}},Object(g.__)("Reset","generateblocks"))),Object(l.createElement)(u,{label:Object(g.__)("Vertical Gap","generateblocks"),value:"px",units:["px"],onClick:()=>!1}),Object(l.createElement)("div",{className:"components-base-control components-gblocks-typography-control__inputs"},Object(l.createElement)(b.TextControl,{type:"number",value:C(S)?S:"",min:"0",placeholder:_("verticalGap",e,"Tablet",""),onChange:e=>{e=e.toString().replace(/-/g,""),t({verticalGapTablet:e})},onBlur:()=>{""!==S&&t({verticalGapTablet:parseFloat(S)})},onClick:e=>{e.currentTarget.focus()}}),Object(l.createElement)(b.Button,{isSmall:!0,isSecondary:!0,className:"components-gblocks-default-number",onClick:()=>{t({verticalGapTablet:generateBlocksDefaults.gridContainer.verticalGapTablet})}},Object(g.__)("Reset","generateblocks"))),Object(l.createElement)(b.SelectControl,{label:Object(g.__)("Vertical Alignment","generateblocks"),help:Object(g.__)("Align grid items. Removes same height columns and overrides grid item content alignment.","generateblocks"),value:D,options:[{label:Object(g.__)("Inherit","generateblocks"),value:"inherit"},{label:Object(g.__)("Default","generateblocks"),value:""},{label:Object(g.__)("Top","generateblocks"),value:"flex-start"},{label:Object(g.__)("Center","generateblocks"),value:"center"},{label:Object(g.__)("Bottom","generateblocks"),value:"flex-end"}],onChange:e=>{t({verticalAlignmentTablet:e})}}),Object(l.createElement)(b.SelectControl,{label:Object(g.__)("Horizontal Alignment","generateblocks"),value:A,options:[{label:Object(g.__)("Inherit","generateblocks"),value:"inherit"},{label:Object(g.__)("Default","generateblocks"),value:""},{label:Object(g.__)("Left","generateblocks"),value:"flex-start"},{label:Object(g.__)("Center","generateblocks"),value:"center"},{label:Object(g.__)("Right","generateblocks"),value:"flex-end"}],onChange:e=>{t({horizontalAlignmentTablet:e})}})),"Mobile"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(u,{label:Object(g.__)("Horizontal Gap","generateblocks"),value:"px",units:["px"],onClick:()=>!1}),Object(l.createElement)("div",{className:"components-base-control components-gblocks-typography-control__inputs"},Object(l.createElement)(b.TextControl,{type:"number",value:C(M)?M:"",min:"0",placeholder:_("horizontalGap",e,"Mobile",""),onChange:e=>{e=e.toString().replace(/-/g,""),t({horizontalGapMobile:e})},onBlur:()=>{""!==M&&t({horizontalGapMobile:parseFloat(M)})},onClick:e=>{e.currentTarget.focus()}}),Object(l.createElement)(b.Button,{isSmall:!0,isSecondary:!0,className:"components-gblocks-default-number",onClick:()=>{t({horizontalGapMobile:generateBlocksDefaults.gridContainer.horizontalGapMobile})}},Object(g.__)("Reset","generateblocks"))),Object(l.createElement)(u,{label:Object(g.__)("Vertical Gap","generateblocks"),value:"px",units:["px"],onClick:()=>!1}),Object(l.createElement)("div",{className:"components-base-control components-gblocks-typography-control__inputs"},Object(l.createElement)(b.TextControl,{type:"number",value:C(R)?R:"",min:"0",placeholder:_("verticalGap",e,"Mobile",""),onChange:e=>{e=e.toString().replace(/-/g,""),t({verticalGapMobile:e})},onBlur:()=>{""!==R&&t({verticalGapMobile:parseFloat(R)})},onClick:e=>{e.currentTarget.focus()}}),Object(l.createElement)(b.Button,{isSmall:!0,isSecondary:!0,className:"components-gblocks-default-number",onClick:()=>{t({verticalGapMobile:generateBlocksDefaults.gridContainer.verticalGapMobile})}},Object(g.__)("Reset","generateblocks"))),Object(l.createElement)(b.SelectControl,{label:Object(g.__)("Vertical Alignment","generateblocks"),help:Object(g.__)("Align grid items. Removes same height columns and overrides grid item content alignment.","generateblocks"),value:L,options:[{label:Object(g.__)("Inherit","generateblocks"),value:"inherit"},{label:Object(g.__)("Default","generateblocks"),value:""},{label:Object(g.__)("Top","generateblocks"),value:"flex-start"},{label:Object(g.__)("Center","generateblocks"),value:"center"},{label:Object(g.__)("Bottom","generateblocks"),value:"flex-end"}],onChange:e=>{t({verticalAlignmentMobile:e})}}),Object(l.createElement)(b.SelectControl,{label:Object(g.__)("Horizontal Alignment","generateblocks"),value:N,options:[{label:Object(g.__)("Inherit","generateblocks"),value:"inherit"},{label:Object(g.__)("Default","generateblocks"),value:""},{label:Object(g.__)("Left","generateblocks"),value:"flex-start"},{label:Object(g.__)("Center","generateblocks"),value:"center"},{label:Object(g.__)("Right","generateblocks"),value:"flex-end"}],onChange:e=>{t({horizontalAlignmentMobile:e})}})),Object(d.applyFilters)("generateblocks.editor.controls","","gridLayout",this.props,this.state)),Object(l.createElement)(j,r()({},this.props,{title:Object(g.__)("Documentation","generateblocks"),icon:s("documentation"),initialOpen:!1,className:"gblocks-panel-label",id:"gridDocumentation",state:this.state}),Object(l.createElement)("p",null,Object(g.__)("Need help with this block?","generateblocks")),Object(l.createElement)("a",{href:"https://docs.generateblocks.com/collection/grid/",target:"_blank",rel:"noreferrer noopener"},Object(g.__)("Visit our documentation","generateblocks")),Object(d.applyFilters)("generateblocks.editor.controls","","gridDocumentation",this.props,this.state))),Object(l.createElement)(x.InspectorAdvancedControls,null,Object(l.createElement)(b.TextControl,{label:Object(g.__)("HTML Anchor","generateblocks"),help:Object(g.__)("Anchors lets you link directly to a section on a page.","generateblocks"),value:c||"",onChange:e=>{e=e.replace(z,"-"),t({anchor:e})}})),Object(l.createElement)(m,this.props),this.props.deviceType&&Object(l.createElement)(l.Fragment,null,"Desktop"===this.props.deviceType&&Object(l.createElement)(k,this.props),("Tablet"===this.props.deviceType||"Mobile"===this.props.deviceType)&&Object(l.createElement)(w,this.props),"Tablet"===this.props.deviceType&&Object(l.createElement)(y,this.props),"Mobile"===this.props.deviceType&&Object(l.createElement)(O,this.props)),Object(l.createElement)("div",U,h>0||this.state.selectedLayout?Object(l.createElement)(l.Fragment,null,Object(l.createElement)(x.InnerBlocks,{allowedBlocks:["generateblocks/container"],renderAppender:!1})):this.getLayoutsSelector()))}}var L=Object(M.compose)([Object(D.withDispatch)(e=>({setDeviceType(t){const{__experimentalSetPreviewDeviceType:a}=e("core/edit-post")||!1;a&&a(t)}})),Object(D.withSelect)(e=>{const{__experimentalGetPreviewDeviceType:t}=e("core/edit-post")||!1;return t?{deviceType:t()}:{deviceType:null}})])(R),F={uniqueId:{type:"string",default:""},anchor:{type:"string",default:""},columns:{type:"number",default:""},horizontalGap:{type:"number",default:generateBlocksDefaults.gridContainer.horizontalGap},verticalGap:{type:"number",default:generateBlocksDefaults.gridContainer.verticalGap},verticalAlignment:{type:"string",default:generateBlocksDefaults.gridContainer.verticalAlignment},horizontalGapTablet:{type:"number",default:generateBlocksDefaults.gridContainer.horizontalGapTablet},verticalGapTablet:{type:"number",default:generateBlocksDefaults.gridContainer.verticalGapTablet},verticalAlignmentTablet:{type:"string",default:generateBlocksDefaults.gridContainer.verticalAlignmentTablet},horizontalGapMobile:{type:"number",default:generateBlocksDefaults.gridContainer.horizontalGapMobile},verticalGapMobile:{type:"number",default:generateBlocksDefaults.gridContainer.verticalGapMobile},verticalAlignmentMobile:{type:"string",default:generateBlocksDefaults.gridContainer.verticalAlignmentMobile},horizontalAlignment:{type:"string",default:generateBlocksDefaults.gridContainer.horizontalAlignment},horizontalAlignmentTablet:{type:"string",default:generateBlocksDefaults.gridContainer.horizontalAlignmentTablet},horizontalAlignmentMobile:{type:"string",default:generateBlocksDefaults.gridContainer.horizontalAlignmentMobile},isDynamic:{type:"boolean"},blockVersion:{type:"number"},elementId:{type:"string",default:""},cssClasses:{type:"string",default:""}},A=[{attributes:F,supports:{anchor:!1,className:!1,customClassName:!1},migrate(e){const t=e.cssClasses?e.cssClasses:e.className,a=e.elementId?e.elementId:e.anchor;return{...e,className:t,anchor:a,cssClasses:"",elementId:""}},save({attributes:e}){const{uniqueId:t,elementId:a,cssClasses:i}=e;let r={id:a||void 0,className:o()({"gb-grid-wrapper":!0,["gb-grid-wrapper-"+t]:!0,[""+i]:""!==i})};return r=Object(d.applyFilters)("generateblocks.frontend.htmlAttributes",r,"generateblocks/grid",e),Object(l.createElement)("div",r,Object(l.createElement)(x.InnerBlocks.Content,null))}}];Object(E.registerBlockType)("generateblocks/grid",{title:Object(g.__)("Grid","generateblocks"),description:Object(g.__)("Create advanced layouts with flexible grids.","generateblocks"),icon:s("grid"),category:"generateblocks",keywords:[Object(g.__)("grid"),Object(g.__)("column"),Object(g.__)("generate")],attributes:F,supports:{className:!1},edit:L,save:()=>Object(l.createElement)(x.InnerBlocks.Content,null),deprecated:A});const N=["wide","full"],U=Object(M.createHigherOrderComponent)(e=>t=>{if("generateblocks/container"!==t.name)return Object(l.createElement)(e,t);const{attributes:a,clientId:i,setAttributes:r}=t,{isGrid:n,align:o}=a;let c=!1;c="function"==typeof wp.data.select("core/block-editor").getBlockParentsByBlockName?wp.data.select("core/block-editor").getBlockParentsByBlockName(i,"generateblocks/grid",!0)[0]:wp.data.select("core/block-editor").getBlockRootClientId(i);const d=Object(E.getBlockSupport)("","align",!0)&&!n;return Object(l.createElement)(l.Fragment,null,n&&c&&Object(l.createElement)(x.BlockControls,null,Object(l.createElement)(b.ToolbarGroup,null,Object(l.createElement)(b.ToolbarButton,{className:"gblocks-block-control-icon gblocks-add-grid-item",icon:s("addContainer"),label:Object(g.__)("Duplicate Grid Item","generateblocks"),onClick:()=>{const e=wp.data.select("core/block-editor").getBlocksByClientId(i)[0],t=Object(E.cloneBlock)(e,{uniqueId:""});wp.data.dispatch("core/block-editor").insertBlocks(t,void 0,c)},showTooltip:!0}))),d&&Object(l.createElement)(x.BlockControls,null,Object(l.createElement)(x.BlockAlignmentToolbar,{value:o,onChange:e=>{r({align:e}),"full"===e&&r({outerContainer:"full"})},controls:N})),Object(l.createElement)(e,t))},"withAdvancedControls");function P({tagName:e,htmlAttrs:t,children:a}){return Object(l.createElement)(e,t,a)}function H(e,t){return e?(t||0===t)&&1!==t&&e.startsWith("#")?(e=e.replace("#",""),"rgba("+parseInt(3===e.length?e.slice(0,1).repeat(2):e.slice(0,2),16)+", "+parseInt(3===e.length?e.slice(1,2).repeat(2):e.slice(2,4),16)+", "+parseInt(3===e.length?e.slice(2,3).repeat(2):e.slice(4,6),16)+", "+t+")"):e:""}Object(d.addFilter)("editor.BlockEdit","generateblocks/container-block-controls",U);class I extends l.Component{constructor(){super(...arguments),this.state={colorKey:!1},this.timer=null}componentWillUnmount(){clearTimeout(this.timer)}render(){const{value:e,onChange:t,onOpacityChange:a,label:i,alpha:r=!1,valueOpacity:n}=this.props,{colorKey:o}=this.state,c=()=>{!0===this.state.isVisible&&this.setState({isVisible:!1})};return Object(l.createElement)(b.BaseControl,{className:"gblocks-component-color-picker-wrapper"},!!i&&Object(l.createElement)("div",{className:"gblocks-color-component-label"},Object(l.createElement)("span",null,i)),Object(l.createElement)("div",{className:"gblocks-color-picker-area"},!this.state.isVisible&&Object(l.createElement)("div",{className:"components-circular-option-picker__option-wrapper"},Object(l.createElement)(b.Tooltip,{text:Object(g.__)("Choose Color","generateblocks")},Object(l.createElement)("button",{type:"button","aria-expanded":this.state.isVisible,className:"components-color-palette__item components-circular-option-picker__option",onClick:()=>{this.setState({isVisible:!0})},"aria-label":Object(g.__)("Custom color picker","generateblocks"),style:{color:e?H(e,n):"transparent"}},Object(l.createElement)("span",{className:"components-color-palette__custom-color-gradient"})))),this.state.isVisible&&Object(l.createElement)("div",{className:"components-circular-option-picker__option-wrapper"},Object(l.createElement)(b.Tooltip,{text:Object(g.__)("Choose Color","generateblocks")},Object(l.createElement)("button",{type:"button","aria-expanded":this.state.isVisible,className:"components-color-palette__item components-circular-option-picker__option",onClick:c,"aria-label":Object(g.__)("Custom color picker","generateblocks"),style:{color:e?H(e,n):"transparent"}},Object(l.createElement)("span",{className:"components-color-palette__custom-color-gradient"})))),this.state.isVisible&&Object(l.createElement)(b.Popover,{position:"top left",className:"gblocks-component-color-picker",onClose:c},Object(l.createElement)(b.BaseControl,{key:o},Object(l.createElement)(b.ColorPicker,{key:o,color:(e=>{if(String(e).startsWith("var(")){const t=e.match(/\(([^)]+)\)/);if(t){const a=getComputedStyle(document.documentElement).getPropertyValue(t[1]);a&&(e=a)}}return e})(e)||"",onChangeComplete:e=>{let a;if(void 0===e.rgb||1===e.rgb.a)a=e.hex;else{const{r:t,g:l,b:i,a:r}=e.rgb;a=`rgba(${t}, ${l}, ${i}, ${r})`}t(a)},disableAlpha:!r||1!==n}),Object(l.createElement)("div",{className:"gblocks-color-input-wrapper"},Object(l.createElement)(b.TextControl,{className:"gblocks-color-input",type:"text",value:e||"",onChange:e=>{!e.startsWith("#")&&/^([0-9A-F]{3}){1,2}$/i.test(e)&&(e="#"+e),t(e),clearTimeout(this.timer),this.timer=setTimeout(()=>{this.setState({colorKey:e});const t=document.querySelector(".gblocks-color-input-wrapper input");t&&t.focus()},350)}}),Object(l.createElement)(b.Button,{isSmall:!0,isSecondary:!0,className:"components-color-clear-color",onClick:()=>{t(""),r&&1!==n&&a(1),this.setState({colorKey:!1}),setTimeout((function(){document.querySelector(".gblocks-color-input-wrapper input").focus()}),10)}},Object(g.__)("Clear Color","generateblocks")))),r&&1!==n&&Object(l.createElement)("div",{className:"gblocks-component-color-opacity"},Object(l.createElement)(b.Tooltip,{text:Object(g.__)("Opacity","generateblocks")},s("gradient")),Object(l.createElement)(b.RangeControl,{value:n||0,onChange:e=>a(e),min:0,max:1,step:.01,initialPosition:1})),Object(l.createElement)(b.BaseControl,{className:"gblocks-component-color-picker-palette"},Object(l.createElement)(x.ColorPalette,{value:e||"",onChange:e=>{t(e),this.setState({colorKey:e}),setTimeout((function(){document.querySelector(".gblocks-color-input-wrapper input").focus()}),10)},disableCustomColors:!0,clearable:!1})))))}}class G extends l.Component{constructor(){super(...arguments),this.onChangeTop=this.onChangeTop.bind(this),this.onChangeRight=this.onChangeRight.bind(this),this.onChangeBottom=this.onChangeBottom.bind(this),this.onChangeLeft=this.onChangeLeft.bind(this),this.onChangeAll=this.onChangeAll.bind(this),this.syncUnits=this.syncUnits.bind(this),this.onChangeUnits=this.onChangeUnits.bind(this)}onReset(e){this.props.setAttributes({[this.props[e]]:""})}onChangeTop(e){this.props.setAttributes({[this.props.attrTop]:e})}onChangeRight(e){this.props.setAttributes({[this.props.attrRight]:e})}onChangeBottom(e){this.props.setAttributes({[this.props.attrBottom]:e})}onChangeLeft(e){this.props.setAttributes({[this.props.attrLeft]:e})}onChangeAll(e){this.props.setAttributes({[this.props.attrTop]:e,[this.props.attrRight]:e,[this.props.attrBottom]:e,[this.props.attrLeft]:e})}syncUnits(){const e=[this.props.attributes[this.props.attrTop],this.props.attributes[this.props.attrRight],this.props.attributes[this.props.attrBottom],this.props.attributes[this.props.attrLeft]],t=Math.max.apply(null,e);this.props.setAttributes({[this.props.attrSyncUnits]:!this.props.attributes[this.props.attrSyncUnits],[this.props.attrTop]:t.toString(),[this.props.attrRight]:t.toString(),[this.props.attrBottom]:t.toString(),[this.props.attrLeft]:t.toString()})}onChangeUnits(e){this.props.setAttributes({[this.props.attrUnit]:e})}render(){const{attributes:e,label:t=Object(g.__)("Margin","generateblocks"),type:a="margin",attrTop:i,attrRight:r,attrBottom:n,attrLeft:c,attrSyncUnits:d,attrUnit:p,labelTop:h=Object(g.__)("Top","generateblocks"),labelRight:f=Object(g.__)("Right","generateblocks"),labelBottom:m=Object(g.__)("Bottom","generateblocks"),labelLeft:k=Object(g.__)("Left","generateblocks"),device:w,block:y,units:O}=this.props,v=o()("components-base-control","components-gblocks-dimensions-control");let j="",T="",C="",B="";if("headline"===y&&n.includes("marginBottom")){if("px"===this.props.attributes.marginUnit){const e=document.querySelector(".gb-headline-"+this.props.attributes.uniqueId);e&&(C=parseFloat(window.getComputedStyle(e).marginBottom))}else"em"===this.props.attributes.marginUnit&&void 0!==generateBlocksStyling.headline&&void 0!==generateBlocksStyling.headline[e.element]&&void 0!==generateBlocksStyling.headline[e.element].marginBottom&&generateBlocksStyling.headline[e.element].marginUnit===e.marginUnit&&(C=generateBlocksStyling.headline[e.element].marginBottom);"div"!==this.props.attributes.element&&"span"!==this.props.attributes.element||(C="")}if("Tablet"===w){const t=i.replace("Tablet",""),a=r.replace("Tablet",""),l=n.replace("Tablet",""),o=c.replace("Tablet","");j=e[t]?e[t]:j,T=e[a]?e[a]:T,C=e[l]?e[l]:C,B=e[o]?e[o]:B}if("Mobile"===w){const t=i.replace("Mobile",""),a=r.replace("Mobile",""),l=n.replace("Mobile",""),o=c.replace("Mobile","");e[t+"Tablet"]?j=e[t+"Tablet"]:e[t]&&(j=e[t]),e[a+"Tablet"]?T=e[a+"Tablet"]:e[a]&&(T=e[a]),e[l+"Tablet"]?C=e[l+"Tablet"]:e[l]&&(C=e[l]),e[o+"Tablet"]?B=e[o+"Tablet"]:e[o]&&(B=e[o])}return Object(l.createElement)(l.Fragment,null,Object(l.createElement)("div",{className:v},Object(l.createElement)(u,{label:t,value:void 0!==e[p]?e[p]:"px",units:O,onClick:t=>{if(void 0===e[p])return!1;this.onChangeUnits(t)}}),Object(l.createElement)("div",{className:"components-gblocks-dimensions-control__inputs"},Object(l.createElement)("input",{className:"components-gblocks-dimensions-control__number",placeholder:j,type:"number",onChange:e=>{let t=e.target.value;"padding"===a&&(t=t.toString().replace(/-/g,"")),""!==t?this.props.attributes[this.props.attrSyncUnits]?this.onChangeAll(t):this.onChangeTop(t):this.onReset("attrTop")}
4
  /* translators: Dimension label (padding, margin, border) */,"aria-label":Object(g.sprintf)(Object(g.__)("%s Top","generateblocks"),t),value:e[i]?e[i]:"",min:"padding"===a?0:void 0,"data-attribute":a}),Object(l.createElement)("input",{className:"components-gblocks-dimensions-control__number",placeholder:T,type:"number",onChange:e=>{let t=e.target.value;"padding"===a&&(t=t.toString().replace(/-/g,"")),""!==t?this.props.attributes[this.props.attrSyncUnits]?this.onChangeAll(t):this.onChangeRight(t):this.onReset("attrRight")}
5
  /* translators: Dimension label (padding, margin, border) */,"aria-label":Object(g.sprintf)(Object(g.__)("%s Right","generateblocks"),t),value:e[r]?e[r]:"",min:"padding"===a?0:void 0,"data-attribute":a}),Object(l.createElement)("input",{className:"components-gblocks-dimensions-control__number",placeholder:C,type:"number",onChange:e=>{let t=e.target.value;"padding"===a&&(t=t.toString().replace(/-/g,"")),""!==t?this.props.attributes[this.props.attrSyncUnits]?this.onChangeAll(t):this.onChangeBottom(t):this.onReset("attrBottom")}
6
  /* translators: Dimension label (padding, margin, border) */,"aria-label":Object(g.sprintf)(Object(g.__)("%s Bottom","generateblocks"),t),value:e[n]?e[n]:"",min:"padding"===a?0:void 0,"data-attribute":a}),Object(l.createElement)("input",{className:"components-gblocks-dimensions-control__number",placeholder:B,type:"number",onChange:e=>{let t=e.target.value;"padding"===a&&(t=t.toString().replace(/-/g,"")),""!==t?this.props.attributes[this.props.attrSyncUnits]?this.onChangeAll(t):this.onChangeLeft(t):this.onReset("attrLeft")}
7
  /* translators: Dimension label (padding, margin, border) */,"aria-label":Object(g.sprintf)(Object(g.__)("%s Left","generateblocks"),t),value:e[c]?e[c]:"",min:"padding"===a?0:void 0,"data-attribute":a}),Object(l.createElement)(b.Tooltip,{text:e[d]?Object(g.__)("Unsync","generateblocks"):Object(g.__)("Sync","generateblocks")},Object(l.createElement)(b.Button,{className:"components-gblocks-dimensions-control_sync","aria-label":Object(g.__)("Sync Units","generateblocks"),isPrimary:!!e[d]&&e[d],"aria-pressed":!!e[d]&&e[d],onClick:e=>this.syncUnits(e,""),isSmall:!0},(e[d],s("sync"))))),Object(l.createElement)("div",{className:"components-gblocks-dimensions-control__input-labels"},Object(l.createElement)("span",{className:"components-gblocks-dimensions-control__number-label"},h),Object(l.createElement)("span",{className:"components-gblocks-dimensions-control__number-label"},f),Object(l.createElement)("span",{className:"components-gblocks-dimensions-control__number-label"},m),Object(l.createElement)("span",{className:"components-gblocks-dimensions-control__number-label"},k),Object(l.createElement)("span",{className:"components-gblocks-dimensions-control__number-label"}))))}}var V=G,W=a(10);class q extends l.Component{constructor(){super(...arguments),this.state={showAdvancedTypography:"true"===localStorage.getItem("generateblocksShowAdvancedTypography")||!1}}render(){const{setAttributes:e,attributes:t,device:a="",showFontSize:i=!1,showFontFamily:r=!1,showFontWeight:n=!1,showTextTransform:o=!1,showLineHeight:c=!1,showLetterSpacing:s=!1,disableAdvancedToggle:d=!1,fontSizePlaceholder:p="17"}=this.props,h=[{value:"",label:Object(g.__)("Select font","generateblocks")},{value:"Arial",label:"Arial"},{value:"Helvetica",label:"Helvetica"},{value:"Times New Roman",label:"Times New Roman"},{value:"Georgia",label:"Georgia"}];Object.keys(W).slice(0,20).forEach(e=>{h.push({value:e,label:e})}),h.push({value:"other",label:Object(g.__)("Other","generateblocks")});let f=[{value:"",label:Object(g.__)("Default","generateblocks")},{value:"normal",label:Object(g.__)("Normal","generateblocks")},{value:"bold",label:Object(g.__)("Bold","generateblocks")},{value:"100",label:"100"},{value:"200",label:"200"},{value:"300",label:"300"},{value:"400",label:"400"},{value:"500",label:"500"},{value:"600",label:"600"},{value:"700",label:"700"},{value:"800",label:"800"},{value:"900",label:"900"}];const m=[{value:"",label:Object(g.__)("Default","generateblocks")},{value:"uppercase",label:Object(g.__)("Uppercase","generateblocks")},{value:"lowercase",label:Object(g.__)("Lowercase","generateblocks")},{value:"capitalize",label:Object(g.__)("Capitalize","generateblocks")},{value:"initial",label:Object(g.__)("Normal","generateblocks")}];void 0!==W[t.fontFamily]&&void 0!==W[t.fontFamily].weight&&(f=[{value:"",label:Object(g.__)("Default","generateblocks")},{value:"normal",label:Object(g.__)("Normal","generateblocks")},{value:"bold",label:Object(g.__)("Bold","generateblocks")}],W[t.fontFamily].weight.filter((function(e){const t=e.match(/[a-z]/g),a=e.match(/[0-9]/g);return!(t&&a||"italic"===e||"regular"===e)})).forEach(e=>{f.push({value:e,label:e})}));const k=a=>{"other"===a&&(a="");let l=t.fontWeight;e({fontFamily:a}),t.fontWeight&&Object.values(f).indexOf(t.fontWeight)<0&&(l=""),void 0!==W[a]?e({googleFont:!0,fontFamilyFallback:W[a].fallback,googleFontVariants:W[a].weight.join(", ")}):e({googleFont:!1,fontFamilyFallback:"",googleFontVariants:""})},w=t=>{e({fontFamily:t.target.value}),k(t.target.value)},y=(e,a)=>t[e+a],O=(e,t)=>e+t;let v=this.state.showAdvancedTypography;return d&&(v=!0),Object(l.createElement)(l.Fragment,null,Object(l.createElement)("div",{className:"components-gblocks-typography-weight-transform"},n&&Object(l.createElement)(b.SelectControl,{label:Object(g.__)("Weight","generateblocks"),value:t.fontWeight,options:f,onChange:t=>{e({fontWeight:t})},className:"components-base-control"}),o&&Object(l.createElement)(b.SelectControl,{label:Object(g.__)("Transform","generateblocks"),value:t.textTransform,options:m,onChange:t=>{e({textTransform:t})},className:"components-base-control"})),!d&&Object(l.createElement)(b.ToggleControl,{label:Object(g.__)("Show Advanced Typography","generateblocks"),checked:!!this.state.showAdvancedTypography,onChange:e=>{localStorage.setItem("generateblocksShowAdvancedTypography",e),this.setState({showAdvancedTypography:e})}}),r&&v&&Object(l.createElement)(b.BaseControl,{className:"gblocks-font-family-shortcuts"},Object(l.createElement)("span",{className:"components-base-control__label"},Object(g.__)("Font Family","generateblocks")),Object(l.createElement)("select",{className:"components-select-control__input components-select-control__input--gblocks-fontfamily",onChange:w,onBlur:w},h.map((e,t)=>Object(l.createElement)("option",{key:`${e.label}-${e.value}-${t}`,value:e.value},e.label)))),r&&v&&Object(l.createElement)(b.TextControl,{value:t.fontFamily,placeholder:Object(g.__)("Enter font name","generateblocks"),onChange:e=>k(e)}),r&&""!==t.fontFamily&&v&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(b.ToggleControl,{label:Object(g.__)("Google Font","generateblocks"),checked:!!t.googleFont,onChange:a=>{e({googleFont:a}),a&&void 0!==W[t.fontFamily]&&e({fontFamilyFallback:W[t.fontFamily].fallback,googleFontVariants:W[t.fontFamily].weight.join(", ")})}}),!!t.googleFont&&Object(l.createElement)(b.TextControl,{label:Object(g.__)("Variants","generateblocks"),value:t.googleFontVariants,placeholder:Object(g.__)("300, 400, 400i","generateblocks"),onChange:t=>{e({googleFontVariants:t})}})),r&&v&&Object(l.createElement)(b.TextControl,{label:Object(g.__)("Font Family Fallback","generateblocks"),value:t.fontFamilyFallback,placeholder:Object(g.__)("sans-serif","generateblocks"),onChange:t=>{e({fontFamilyFallback:t})}}),i&&v&&Object(l.createElement)(b.BaseControl,null,Object(l.createElement)(u,{label:Object(g.__)("Font Size","generateblocks"),value:t.fontSizeUnit,units:["px","em","%"],onClick:t=>{e({fontSizeUnit:t})}}),Object(l.createElement)("div",{className:"components-gblocks-typography-control__inputs"},Object(l.createElement)(b.TextControl,{type:"number",value:y("fontSize",a)||"",placeholder:_("fontSize",t,a,p),onChange:t=>{const l=O("fontSize",a);e({[l]:t})},onBlur:()=>{const t=O("fontSize",a);""!==y("fontSize",a)&&e({[t]:parseFloat(y("fontSize",a))})},onClick:e=>{e.currentTarget.focus()},min:1,autoComplete:"off"}),Object(l.createElement)(b.Button,{isSmall:!0,isSecondary:!0,className:"components-gblocks-default-number",onClick:()=>{const t=O("fontSize",a);e({[t]:this.props.defaultFontSize})}},Object(g.__)("Reset","generateblocks")))),c&&v&&Object(l.createElement)(b.BaseControl,null,Object(l.createElement)(u,{label:Object(g.__)("Line Height","generateblocks"),value:t.lineHeightUnit,units:["px","em","%"],onClick:t=>{e({lineHeightUnit:t})}}),Object(l.createElement)("div",{className:"components-gblocks-typography-control__inputs"},Object(l.createElement)(b.TextControl,{type:"number",value:y("lineHeight",a)||0===y("lineHeight",a)?y("lineHeight",a):"",placeholder:_("lineHeight",t,a,""),onChange:t=>{const l=O("lineHeight",a);e({[l]:t})},onBlur:()=>{const t=O("lineHeight",a);""!==y("lineHeight",a)&&e({[t]:parseFloat(y("lineHeight",a))})},onClick:e=>{e.currentTarget.focus()},min:0,step:.1,autoComplete:"off"}),Object(l.createElement)(b.Button,{isSmall:!0,isSecondary:!0,className:"components-gblocks-default-number",onClick:()=>{const t=O("lineHeight",a);e({[t]:this.props.defaultLineHeight})}},Object(g.__)("Reset","generateblocks")))),s&&v&&Object(l.createElement)(b.BaseControl,null,Object(l.createElement)(u,{label:Object(g.__)("Letter Spacing","generateblocks"),value:"em",units:["em"],onClick:()=>!1}),Object(l.createElement)("div",{className:"components-gblocks-typography-control__inputs"},Object(l.createElement)(b.TextControl,{type:"number",value:y("letterSpacing",a)||"",placeholder:_("letterSpacing",t,a,"0.01"),onChange:t=>{const l=O("letterSpacing",a);e({[l]:t})},onBlur:()=>{const t=O("letterSpacing",a);""!==y("letterSpacing",a)&&e({[t]:parseFloat(y("letterSpacing",a))})},onClick:e=>{e.currentTarget.focus()},min:-1,step:.01,autoComplete:"off"}),Object(l.createElement)(b.Button,{isSmall:!0,isSecondary:!0,className:"components-gblocks-default-number",onClick:()=>{const t=O("letterSpacing",a);e({[t]:this.props.defaultLetterSpacing})}},Object(g.__)("Reset","generateblocks")))))}}var Z=q;class K extends l.Component{render(){const{attributes:e,setAttributes:t,attrGradient:a,attrGradientDirection:i,attrGradientColorOne:r,attrGradientColorOneOpacity:n,attrGradientColorStopOne:o,attrGradientColorTwo:c,attrGradientColorTwoOpacity:s,attrGradientColorStopTwo:d,defaultColorOne:p,defaultColorTwo:u}=this.props,{gradientSelector:h,innerZindex:f}=e,m="element"===h?Object(g.__)("Displays behind the background image.","generateblocks"):Object(g.__)("Displays in front of the background image.","generateblocks");return Object(l.createElement)(l.Fragment,null,Object(l.createElement)(b.ToggleControl,{label:Object(g.__)("Use Gradient","generateblocks"),checked:!!e[a],onChange:a=>{const l=this.props;let n=e[i],o=e[r],s=e[c];a&&(n=n||90,o=o||"rgba(255, 255, 255, 0.1)",s=s||"rgba(0, 0, 0, 0.30)"),t({[l.attrGradient]:a,[l.attrGradientDirection]:n,[l.attrGradientColorOne]:o,[l.attrGradientColorTwo]:s})}}),!!e[a]&&Object(l.createElement)(l.Fragment,null,void 0!==h&&Object(l.createElement)(b.SelectControl,{label:Object(g.__)("Selector","generateblocks"),help:m,value:h,options:[{label:Object(g.__)("Element","generateblocks"),value:"element"},{label:Object(g.__)("Pseudo Element","generateblocks"),value:"pseudo-element"}],onChange:e=>{t({gradientSelector:e}),C(f)||"pseudo-element"!==e||t({innerZindex:1})}}),Object(l.createElement)(b.BaseControl,null,Object(l.createElement)("span",{className:"components-base-control__label"},Object(g.__)("Direction","generateblocks")),Object(l.createElement)(b.RangeControl,{value:e[i]?e[i]:0,onChange:e=>{t({[i]:e})},min:0,max:360,step:1,initialPosition:90})),Object(l.createElement)(b.BaseControl,null,Object(l.createElement)("span",{className:"components-base-control__label"},Object(g.__)("Color One","generateblocks")),Object(l.createElement)("div",{className:"gblocks-component-gradient-control"},Object(l.createElement)(I,{value:e[r],alpha:!0,valueOpacity:e[n]||1,attrOpacity:"gradientColorOneOpacity",onChange:e=>t({[r]:e}),onOpacityChange:e=>t({[n]:e}),onClear:()=>t({[r]:p})}),Object(l.createElement)(b.TextControl,{className:"gblocks-component-gradient-stop-value",type:"text",value:e[o]||0===e[o]?e[o]:"",placeholder:Object(g.__)("Stop position (%)","generateblocks"),onChange:e=>{t({[o]:e})},onBlur:()=>{(e[o]||0===e[o])&&t({[o]:parseFloat(e[o])})},onClick:e=>{e.currentTarget.focus()}}))),Object(l.createElement)(b.BaseControl,null,Object(l.createElement)("span",{className:"components-base-control__label"},Object(g.__)("Color Two","generateblocks")),Object(l.createElement)("div",{className:"gblocks-component-gradient-control"},Object(l.createElement)(I,{value:e[c],alpha:!0,valueOpacity:e[s]||1,attrOpacity:"gradientColorTwoOpacity",onChange:e=>t({[c]:e}),onOpacityChange:e=>t({[s]:e}),onClear:()=>t({[c]:u})}),Object(l.createElement)(b.TextControl,{className:"gblocks-component-gradient-stop-value",type:"text",value:e[d]||0===e[d]?e[d]:"",placeholder:Object(g.__)("Stop position (%)","generateblocks"),onChange:e=>{t({[d]:e})},onBlur:()=>{(e[d]||0===e[d])&&t({[d]:parseFloat(e[d])})},onClick:e=>{e.currentTarget.focus()}})))))}}var J=K,Y=a(13),$=a.n(Y);function Q(e){return $.a.sanitize(e,{USE_PROFILES:{svg:!0,svgFilters:!0}})}class X extends l.Component{render(){const{label:e,value:t,onChange:a,rangeMin:i=0,rangeMax:r=100,inputMin:n="",inputMax:o="",step:c=1,help:s="",beforeIcon:g="",initialPosition:d="",placeholder:p="",disabled:u=!1}=this.props;return Object(l.createElement)("div",{className:"components-gblocks-range-control"},e&&Object(l.createElement)("div",{className:"components-gblocks-range-control--label"},e),Object(l.createElement)("div",{className:"components-gblocks-range-control--wrapper"},Object(l.createElement)("div",{className:"components-gblocks-range-control--range"},Object(l.createElement)(b.RangeControl,{className:"gblocks-range-control-range",beforeIcon:g,value:C(t)?parseFloat(t):"",onChange:e=>a(e),min:i,max:r,step:c,withInputField:!1,initialPosition:d,disabled:u})),Object(l.createElement)("div",{className:"components-gblocks-range-control-input"},Object(l.createElement)(b.TextControl,{type:"number",placeholder:""!==p?p:"",min:n,max:o,step:c,value:C(t)?t:"",disabled:u,onChange:e=>a(e),onBlur:()=>{C(t)&&a(parseFloat(t))},onClick:e=>{e.currentTarget.focus()}}))),s&&Object(l.createElement)("p",{className:"components-base-control__help"},s))}}function ee(e,t,a,l,i){if(""!==e||""!==t||""!==a||""!==l)return e=0!=parseFloat(e)&&""!==e?parseFloat(e)+i+" ":"0 ",t=0!=parseFloat(t)&&""!==t?parseFloat(t)+i+" ":"0 ",a=0!=parseFloat(a)&&""!==a?parseFloat(a)+i+" ":"0 ",t===(l=0!=parseFloat(l)&&""!==l?parseFloat(l)+i+" ":"0 ")&&(l="",e===a&&(a="",e===t&&(t=""))),(e+t+a+l).trim()}function te(e,t){const a=Object(d.applyFilters)("generateblocks.editor.cssAttrs",t.attributes,t),{backgroundColor:l,backgroundColorOpacity:i,bgImage:r,gradient:n,bgOptions:o,gradientColorOne:c,gradientColorOneOpacity:s,gradientColorTwo:g,gradientColorTwoOpacity:b,gradientColorStopOne:p,gradientColorStopTwo:u,gradientDirection:h}=a;let f="";if(n){let e="",t="";const a=H(c,s),l=H(g,b);c&&""!==p&&(e=" "+p+"%"),g&&""!==u&&(t=" "+u+"%"),f="linear-gradient("+h+"deg, "+a+e+", "+l+t+")"}if("gradient"===e)return f;let m=!1;const k=H(l,i);if(r){let e=r.image.url;e=Object(d.applyFilters)("generateblocks.editor.bgImageURL",e,t),"element"===o.selector&&(k||n)&&void 0!==o.overlay&&o.overlay?n?m=f+", url("+e+")":k&&(m="linear-gradient(0deg, "+k+", "+k+"), url("+e+")"):m="url("+e+")"}return m}class ae extends l.Component{render(){const e=Object(d.applyFilters)("generateblocks.editor.cssAttrs",this.props.attributes,this.props),{clientId:t}=this.props,{uniqueId:a,isGrid:i,width:r,autoWidth:n,flexGrow:o,flexShrink:c,flexBasis:s,flexBasisUnit:g,outerContainer:b,innerContainer:p,containerWidth:u,minHeight:m,minHeightUnit:k,paddingTop:w,paddingRight:y,paddingBottom:O,paddingLeft:v,paddingUnit:j,marginTop:T,marginRight:C,marginBottom:B,marginLeft:_,marginUnit:S,borderSizeTop:x,borderSizeRight:E,borderSizeBottom:D,borderSizeLeft:M,borderRadiusTopRight:z,borderRadiusBottomRight:R,borderRadiusBottomLeft:L,borderRadiusTopLeft:F,borderRadiusUnit:A,borderColor:N,borderColorOpacity:U,backgroundColor:P,backgroundColorOpacity:I,gradient:G,gradientSelector:V,textColor:W,linkColor:q,linkColorHover:Z,bgImage:K,bgOptions:J,verticalAlignment:Y,zindex:$,innerZindex:Q,alignment:X,fontFamily:ae,fontFamilyFallback:le,fontWeight:ie,fontSize:re,fontSizeUnit:ne,textTransform:oe,shapeDividers:ce}=e;let se=u;se||(se=generateBlocksDefaults.container.containerWidth);let ge="";ae&&le&&(ge=", "+le);const be=!!K,de=te("image",this.props),pe=te("gradient",this.props);let ue=[];return ue[".gb-container-"+a]=[{"background-color":H(P,I),color:W,"border-radius":ee(F,z,R,L,A),margin:ee(T,C,B,_,S),"z-index":$,"text-align":X,"font-family":ae+ge,"font-weight":ie,"text-transform":oe,"font-size":f(re,ne),"min-height":f(m,k),"border-color":H(N,U)}],be&&"element"===J.selector&&de?ue[".gb-container-"+a].push({"background-image":de,"background-size":J.size,"background-position":J.position,"background-repeat":J.repeat,"background-attachment":J.attachment}):G&&"element"===V&&ue[".gb-container-"+a].push({"background-image":pe}),(be&&"pseudo-element"===J.selector||$||G&&"pseudo-element"===V)&&ue[".gb-container-"+a].push({position:"relative"}),(be&&"pseudo-element"===J.selector||G&&"pseudo-element"===V)&&(ue[".gb-container-"+a].push({overflow:"hidden"}),ue[".gb-container-"+a+" .block-list-appender"]=[{"z-index":10}]),ue[".editor-styles-wrapper .gb-container-"+a+" h1,\n\t\t\t.editor-styles-wrapper .gb-container-"+a+" h2,\n\t\t\t.editor-styles-wrapper .gb-container-"+a+" h3,\n\t\t\t.editor-styles-wrapper .gb-container-"+a+" h4,\n\t\t\t.editor-styles-wrapper .gb-container-"+a+" h5,\n\t\t\t.editor-styles-wrapper .gb-container-"+a+" h6"]=[{color:W}],(x||E||D||M)&&ue[".gb-container-"+a].push({"border-width":ee(x,E,D,M,"px"),"border-style":"solid"}),m&&!i&&ue[".gb-container-"+a].push({display:"flex","flex-direction":"row","align-items":Y}),i&&(ue[".gb-container-"+a].push({display:"flex","flex-direction":"column",height:"100%","justify-content":Y}),ue[".block-editor-block-list__layout > #block-"+t]=[{height:"100%"}]),be&&"pseudo-element"===J.selector&&(ue[".gb-container-"+a+":before"]=[{content:'""',"background-image":de,"background-repeat":J.repeat,"background-position":J.position,"background-size":J.size,"background-attachment":J.attachment,"z-index":"0",position:"absolute",top:"0",right:"0",bottom:"0",left:"0","border-radius":ee(F,z,R,L,A)}],void 0!==J.opacity&&1!==J.opacity&&ue[".gb-container-"+a+":before"].push({opacity:J.opacity})),G&&"pseudo-element"===V&&(ue[".gb-container-"+a+":after"]=[{content:'""',"background-image":pe,"z-index":"0",position:"absolute",top:"0",right:"0",bottom:"0",left:"0"}]),ue[".gb-container-"+a+" a, .gb-container-"+a+" a:visited"]=[{color:q}],ue[".gb-container-"+a+" a:hover"]=[{color:Z}],ue[".gb-container-"+a+" > .gb-inside-container"]=[{padding:ee(w,y,O,v,j),width:!(!m||i)&&"100%"}],(Q||0===Q)&&ue[".gb-container-"+a+" > .gb-inside-container"].push({"z-index":Q,position:"relative"}),"contained"!==p||i||ue[".gb-container-"+a+" > .gb-inside-container"].push({"max-width":f(se,"px"),"margin-left":"auto","margin-right":"auto"}),ue[".gb-grid-wrapper > div > .block-editor-block-list__layout > #block-"+t]=[{width:!n&&f(r,"%"),"flex-grow":o,"flex-shrink":c,"flex-basis":isNaN(s)?s:f(s,g),display:"flex","flex-direction":"column","margin-left":"0px","margin-right":"0px"}],ue[".block-editor-block-list__layout > #block-"+t]=[{"max-width":"contained"===b&&!i&&f(se,"px")}],ue[".gb-grid-wrapper > div > .block-editor-block-list__layout > #block-"+t+" > .block-editor-block-list__block-edit,\n\t\t.gb-grid-wrapper > div > .block-editor-block-list__layout > #block-"+t+' > .block-editor-block-list__block-edit > [data-block="'+t+'"]']=[{height:"100%"}],ue["#block-"+t+":not(.has-child-selected):not(.is-selected) .block-list-appender:not(:first-child),\n\t\t#block-"+t+":not(.has-child-selected):not(.is-selected) .block-editor-block-list__layout > div:not(:first-child) > .block-list-appender"]=[{display:"none"}],ce.length&&(ue[".gb-container-"+a].push({position:"relative"}),ue[".gb-container-"+a+" .block-list-appender"]=[{position:"relative","z-index":100}],ce.forEach((e,t)=>{const l=[],i=t+1;"top"===ce[t].location&&l.push("scaleY(-1)"),ce[t].flipHorizontally&&(l.push("scaleX(-1)"),ue[".gblocks-shape-container > .gblocks-shape-toggle-preview-"+i+" .gblocks-shape-divider-preview"]=[{transform:"scaleX(-1)"}]),ue[".gb-container-"+a+" > .gb-shapes .gb-shape-"+i]=[{color:H(ce[t].color,ce[t].colorOpacity),"z-index":ce[t].zindex}],"top"!==ce[t].location&&"bottom"!==ce[t].location||ue[".gb-container-"+a+" > .gb-shapes .gb-shape-"+i].push({left:"0",right:"0"}),"bottom"===ce[t].location&&ue[".gb-container-"+a+" > .gb-shapes .gb-shape-"+i].push({bottom:"-1px"}),"top"===ce[t].location&&ue[".gb-container-"+a+" > .gb-shapes .gb-shape-"+i].push({top:"-1px"}),l.length&&ue[".gb-container-"+a+" > .gb-shapes .gb-shape-"+i].push({transform:l.join(" ")});let r=ce[t].width+"%";100===ce[t].width&&(r="calc("+r+" + 1.3px)"),ue[".gb-container-"+a+" > .gb-shapes .gb-shape-"+i+" svg"]=[{height:f(ce[t].height,"px"),width:r}],"top"!==ce[t].location&&"bottom"!==ce[t].location||ue[".gb-container-"+a+" > .gb-shapes .gb-shape-"+i+" svg"].push({position:"relative",left:"50%",transform:"translateX(-50%)","min-width":"100%"})})),ue=Object(d.applyFilters)("generateblocks.editor.mainCSS",ue,this.props,"container"),Object(l.createElement)("style",null,h(ue))}}class le extends l.Component{render(){const e=Object(d.applyFilters)("generateblocks.editor.cssAttrs",this.props.attributes,this.props),{clientId:t}=this.props,{removeVerticalGap:a}=e;let i=[];return i[".block-editor-block-list__layout > #block-"+t]=[{"margin-bottom":!!a&&"0px !important"}],i=Object(d.applyFilters)("generateblocks.editor.desktopCSS",i,this.props,"container"),Object(l.createElement)("style",null,h(i))}}class ie extends l.Component{render(){const e=Object(d.applyFilters)("generateblocks.editor.cssAttrs",this.props.attributes,this.props),{clientId:t}=this.props,{uniqueId:a,isGrid:i,widthTablet:r,autoWidthTablet:n,flexGrowTablet:o,flexShrinkTablet:c,flexBasisTablet:s,flexBasisUnit:g,minHeightTablet:b,minHeightUnitTablet:p,paddingTopTablet:u,paddingRightTablet:m,paddingBottomTablet:k,paddingLeftTablet:w,paddingUnit:y,marginTopTablet:O,marginRightTablet:v,marginBottomTablet:j,marginLeftTablet:T,marginUnit:C,borderSizeTopTablet:B,borderSizeRightTablet:_,borderSizeBottomTablet:S,borderSizeLeftTablet:x,borderRadiusTopRightTablet:E,borderRadiusBottomRightTablet:D,borderRadiusBottomLeftTablet:M,borderRadiusTopLeftTablet:z,borderRadiusUnit:R,verticalAlignmentTablet:L,alignmentTablet:F,fontSizeTablet:A,fontSizeUnit:N,orderTablet:U,shapeDividers:P,bgImage:H,bgOptions:I}=e;let G=[];return G[".gb-container-"+a]=[{"border-top-left-radius":f(z,R),"border-top-right-radius":f(E,R),"border-bottom-right-radius":f(D,R),"border-bottom-left-radius":f(M,R),"margin-top":f(O,C),"margin-right":f(v,C),"margin-bottom":f(j,C),"margin-left":f(T,C),"text-align":F,"font-size":f(A,N),"min-height":f(b,p)}],(B||_||S||x)&&G[".gb-container-"+a].push({"border-top-width":f(B,"px"),"border-right-width":f(_,"px"),"border-bottom-width":f(S,"px"),"border-left-width":f(x,"px"),"border-style":"solid"}),b&&!i&&G[".gb-container-"+a].push({display:"flex","flex-direction":"row","align-items":"inherit"!==L?L:null}),i&&"inherit"!==L&&G[".gb-container-"+a].push({display:"flex","flex-direction":"column",height:"100%","justify-content":L}),G[".gb-container-"+a+" > .gb-inside-container"]=[{"padding-top":f(u,y),"padding-right":f(m,y),"padding-bottom":f(k,y),"padding-left":f(w,y),width:!(!b||i)&&"100%"}],G[".gb-grid-wrapper > div > .block-editor-block-list__layout > #block-"+t]=[{width:n?"auto":f(r,"%"),"flex-grow":o,"flex-shrink":c,"flex-basis":isNaN(s)?s:f(s,g),order:U}],H&&"pseudo-element"===I.selector&&(G[".gb-container-"+a+":before"]=[{"border-top-left-radius":f(z,R),"border-top-right-radius":f(E,R),"border-bottom-right-radius":f(D,R),"border-bottom-left-radius":f(M,R)}]),P.length&&P.forEach((e,t)=>{G[".gb-container-"+a+" > .gb-shapes .gb-shape-"+(t+1)+" svg"]=[{height:f(P[t].heightTablet,"px"),width:f(P[t].widthTablet,"%")}]}),G=Object(d.applyFilters)("generateblocks.editor.tabletCSS",G,this.props,"container"),Object(l.createElement)("style",null,h(G))}}class re extends l.Component{render(){const e=Object(d.applyFilters)("generateblocks.editor.cssAttrs",this.props.attributes,this.props),{clientId:t}=this.props,{removeVerticalGapTablet:a}=e;let i=[];return a&&(i[".block-editor-block-list__layout > #block-"+t]=[{"margin-bottom":"0px !important"}]),i=Object(d.applyFilters)("generateblocks.editor.tabletOnlyCSS",i,this.props,"container"),Object(l.createElement)("style",null,h(i))}}class ne extends l.Component{render(){const e=Object(d.applyFilters)("generateblocks.editor.cssAttrs",this.props.attributes,this.props),{clientId:t}=this.props,{uniqueId:a,isGrid:i,widthMobile:r,autoWidthMobile:n,flexGrowMobile:o,flexShrinkMobile:c,flexBasisMobile:s,flexBasisUnit:g,minHeightMobile:b,minHeightUnitMobile:p,paddingTopMobile:u,paddingRightMobile:m,paddingBottomMobile:k,paddingLeftMobile:w,paddingUnit:y,marginTopMobile:O,marginRightMobile:v,marginBottomMobile:j,marginLeftMobile:T,marginUnit:C,borderSizeTopMobile:B,borderSizeRightMobile:_,borderSizeBottomMobile:S,borderSizeLeftMobile:x,borderRadiusTopRightMobile:E,borderRadiusBottomRightMobile:D,borderRadiusBottomLeftMobile:M,borderRadiusTopLeftMobile:z,borderRadiusUnit:R,verticalAlignmentMobile:L,removeVerticalGapMobile:F,alignmentMobile:A,fontSizeMobile:N,fontSizeUnit:U,orderMobile:P,shapeDividers:H,bgImage:I,bgOptions:G}=e;let V=[];return V[".gb-container-"+a]=[{"border-top-left-radius":f(z,R),"border-top-right-radius":f(E,R),"border-bottom-right-radius":f(D,R),"border-bottom-left-radius":f(M,R),"margin-top":f(O,C),"margin-right":f(v,C),"margin-bottom":f(j,C),"margin-left":f(T,C),"text-align":A,"font-size":f(N,U),"min-height":f(b,p)}],(B||_||S||x)&&V[".gb-container-"+a].push({"border-top-width":f(B,"px"),"border-right-width":f(_,"px"),"border-bottom-width":f(S,"px"),"border-left-width":f(x,"px"),"border-style":"solid"}),"inherit"!==L&&b&&!i&&V[".gb-container-"+a].push({display:"flex","flex-direction":"row","align-items":L}),i&&"inherit"!==L&&V[".gb-container-"+a].push({display:"flex","flex-direction":"column",height:"100%","justify-content":L}),V[".gb-container-"+a+" > .gb-inside-container"]=[{"padding-top":f(u,y),"padding-right":f(m,y),"padding-bottom":f(k,y),"padding-left":f(w,y),width:!(!b||i)&&"100%"}],V[".gb-grid-wrapper > div > .block-editor-block-list__layout > #block-"+t]=[{width:n?"auto":f(r,"%"),"flex-grow":o,"flex-shrink":c,"flex-basis":isNaN(s)?s:f(s,g),order:P}],F&&(V[".block-editor-block-list__layout > #block-"+t]=[{"margin-bottom":"0px !important"}]),I&&"pseudo-element"===G.selector&&(V[".gb-container-"+a+":before"]=[{"border-top-left-radius":f(z,R),"border-top-right-radius":f(E,R),"border-bottom-right-radius":f(D,R),"border-bottom-left-radius":f(M,R)}]),H.length&&H.forEach((e,t)=>{V[".gb-container-"+a+" > .gb-shapes .gb-shape-"+(t+1)+" svg"]=[{height:f(H[t].heightMobile,"px"),width:f(H[t].widthMobile,"%")}]}),I&&"fixed"===G.attachment&&("element"===G.selector&&V[".gb-container-"+a].push({"background-attachment":"initial"}),"pseudo-element"===G.selector&&(V[".gb-container-"+a+":before"]=[{"background-attachment":"initial"}])),V=Object(d.applyFilters)("generateblocks.editor.mobileCSS",V,this.props,"container"),Object(l.createElement)("style",null,h(V))}}const oe=/[\s#]/g;class ce extends l.Component{constructor(){super(...arguments),this.state={selectedDevice:"Desktop"},this.getDeviceType=this.getDeviceType.bind(this),this.setDeviceType=this.setDeviceType.bind(this)}componentDidMount(){const e=T(wp.data.select("core/block-editor").getBlocks(),[],this.props.clientId);this.props.attributes.uniqueId&&!e.includes(this.props.attributes.uniqueId)||this.props.setAttributes({uniqueId:this.props.clientId.substr(2,9).replace("-","")});const t=document.getElementById("block-"+this.props.clientId);if(t&&"full"===this.props.attributes.align&&t.setAttribute("data-align","full"),void 0!==this.props.attributes.isDynamic&&this.props.attributes.isDynamic||this.props.setAttributes({isDynamic:!0}),void 0===this.props.attributes.blockVersion||this.props.attributes.blockVersion<2){let e=this.props.attributes.gradient&&"pseudo-element"===this.props.attributes.gradientSelector&&!C(this.props.attributes.innerZindex);e||(e=!!this.props.attributes.bgImage&&void 0!==this.props.attributes.bgOptions.selector&&"pseudo-element"===this.props.attributes.bgOptions.selector),e||(e=void 0!==this.props.attributes.useAdvBackgrounds&&this.props.attributes.useAdvBackgrounds),e&&this.props.setAttributes({innerZindex:1})}if(!S(this.props.attributes)&&B(this.props.attributes.blockVersion,2)){const e=generateBlocksLegacyDefaults.v_1_4_0.container,t=void 0!==this.props.attributes.useGlobalStyle&&this.props.attributes.useGlobalStyle,a={},l=[];t||l.push("paddingTop","paddingRight","paddingBottom","paddingLeft"),this.props.attributes.isGrid&&l.push("width","widthMobile"),this.props.attributes.gradient&&l.push("gradientDirection","gradientColorOne","gradientColorOneOpacity","gradientColorTwo","gradientColorTwoOpacity"),l.forEach(t=>{C(this.props.attributes[t])||(a[t]=e[t])}),Object.keys(a).length>0&&this.props.setAttributes(a)}B(this.props.attributes.blockVersion,2)&&this.props.setAttributes({blockVersion:2})}componentDidUpdate(){const e=document.getElementById("block-"+this.props.clientId);if(e){const t=this.props.attributes.align;let a="";e.getAttribute("data-align")&&(a=e.getAttribute("data-align")),t!==a&&(""!==t&&void 0!==t||""===a?e.setAttribute("data-align",t):e.removeAttribute("data-align"))}}getDeviceType(){let e=this.props.deviceType?this.props.deviceType:this.state.selectedDevice;return generateBlocksInfo.syncResponsivePreviews||(e=this.state.selectedDevice),e}setDeviceType(e){generateBlocksInfo.syncResponsivePreviews&&this.props.deviceType?(this.props.setDeviceType(e),this.setState({selectedDevice:e})):this.setState({selectedDevice:e})}render(){const{attributes:e,setAttributes:t,hasChildBlocks:a,clientId:i}=this.props,{uniqueId:n,className:c,anchor:h,tagName:f,isGrid:m,width:k,widthTablet:w,widthMobile:y,autoWidthTablet:O,autoWidthMobile:v,flexGrow:T,flexGrowTablet:B,flexGrowMobile:S,flexShrink:E,flexShrinkTablet:D,flexShrinkMobile:M,flexBasis:z,flexBasisTablet:R,flexBasisMobile:L,flexBasisUnit:F,outerContainer:A,innerContainer:N,containerWidth:U,minHeight:H,minHeightUnit:G,minHeightTablet:W,minHeightUnitTablet:q,minHeightMobile:K,minHeightUnitMobile:Y,borderColor:$,borderColorOpacity:ee,backgroundColor:te,backgroundColorOpacity:ce,textColor:se,linkColor:ge,linkColorHover:be,bgImage:de,bgOptions:pe,bgImageSize:ue,verticalAlignment:he,verticalAlignmentTablet:fe,verticalAlignmentMobile:me,zindex:ke,innerZindex:we,removeVerticalGap:ye,removeVerticalGapTablet:Oe,removeVerticalGapMobile:ve,orderTablet:je,orderMobile:Te,alignment:Ce,alignmentTablet:Be,alignmentMobile:_e,fontFamily:Se,googleFont:xe,googleFontVariants:Ee,align:De,shapeDividers:Me}=e;void 0===e.bgOptions.selector&&(e.bgOptions.selector="element"),void 0===e.bgOptions.opacity&&(e.bgOptions.opacity=1);const ze=Object(d.applyFilters)("generateblocks.editor.containerTagNames",[{label:"div",value:"div"},{label:"section",value:"section"},{label:"header",value:"header"},{label:"footer",value:"footer"},{label:"aside",value:"aside"}],this.props,this.state),Re=Object(d.applyFilters)("generateblocks.editor.allowedContainerTagNames",["div","section","header","footer","aside","a"]),Le=e=>Re.includes(e)?e:"div";let Fe="";Ee&&(Fe=":"+Ee);let Ae=!1,Ne=!1,Ue=!1,Pe="";"function"==typeof wp.data.select("core/block-editor").getBlockParents&&(Ae=wp.data.select("core/block-editor").getBlockParents(i,!0)[0],Ae&&(Ne=wp.data.select("core/block-editor").getBlocksByClientId(Ae),Ne&&"generateblocks/grid"===Ne[0].name&&(Ue=!0,Pe=Ne[0].attributes.uniqueId)));const He=[];Object.keys(generateBlocksInfo.svgShapes).forEach(e=>{const t=generateBlocksInfo.svgShapes[e].svgs;Object.keys(t).forEach(e=>{He[e]={label:t[e].label,icon:t[e].icon}})});const Ie=[];Object.keys(generateBlocksInfo.imageSizes).forEach(e=>{Ie.push({label:generateBlocksInfo.imageSizes[e],value:generateBlocksInfo.imageSizes[e]})});const Ge=e=>C(e)&&"auto"!==e,Ve=Ge(z),We="auto"!==R&&(Ge(z)||Ge(R)),qe="auto"!==L&&(Ge(z)||Ge(R)||Ge(L));let Ze=!!te||e.borderSizeTop||e.borderSizeRight||e.borderSizeBottom||e.borderSizeLeft;Ze=Object(d.applyFilters)("generateblocks.editor.containerHasStyling",Ze,this.props);let Ke={className:o()({"gb-container":!0,["gb-container-"+n]:!0,[""+c]:void 0!==c,"gb-container-empty":!a,"gb-container-visual-guides":!a&&!Ze&&!this.props.isSelected}),id:h||null};return Ke=Object(d.applyFilters)("generateblocks.frontend.htmlAttributes",Ke,"generateblocks/container",e),Object(l.createElement)(l.Fragment,null,Object(l.createElement)(x.BlockControls,null,"Desktop"===this.getDeviceType()&&Object(l.createElement)(x.AlignmentToolbar,{value:Ce,onChange:e=>{t({alignment:e})}}),"Tablet"===this.getDeviceType()&&Object(l.createElement)(x.AlignmentToolbar,{value:Be,onChange:e=>{t({alignmentTablet:e})}}),"Mobile"===this.getDeviceType()&&Object(l.createElement)(x.AlignmentToolbar,{value:_e,onChange:e=>{t({alignmentMobile:e})}})),Object(l.createElement)(x.InspectorControls,null,Object(l.createElement)(p,r()({},this.props,{selectedDevice:this.getDeviceType(),onClick:e=>{this.setDeviceType(e)}})),!m&&Object(l.createElement)(j,r()({},this.props,{title:Object(g.__)("Layout","generateblocks"),initialOpen:!0,icon:s("layout"),className:"gblocks-panel-label",id:"containerLayout",state:this.state}),"Desktop"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Ue&&Object(l.createElement)(b.ToggleControl,{label:Object(g.__)("Grid Item","generateblocks"),help:Object(g.__)("This Container is inside a Grid Block but is not set as a grid item. Enable this option for optimal results.","generateblocks"),checked:!!m,onChange:e=>{t({isGrid:e,gridId:Pe})}}),Object(l.createElement)(b.SelectControl,{label:Object(g.__)("Container","generateblocks"),value:A,options:[{label:Object(g.__)("Full width","generateblocks"),value:"full"},{label:Object(g.__)("Contained width","generateblocks"),value:"contained"}],onChange:e=>{t({outerContainer:e}),"contained"===e&&"full"===De&&t({align:""})}}),"full"===A&&Object(l.createElement)(b.SelectControl,{label:Object(g.__)("Inner Container","generateblocks"),value:N,options:[{label:Object(g.__)("Full width","generateblocks"),value:"full"},{label:Object(g.__)("Contained width","generateblocks"),value:"contained"}],onChange:e=>{t({innerContainer:e})}}),("contained"===A||"contained"===N)&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(u,{label:Object(g.__)("Container Width","generateblocks"),value:"px",units:["px"],onClick:()=>!1}),Object(l.createElement)(b.TextControl,{type:"number",className:"gblocks-container-width",value:parseFloat(U)||"",placeholder:generateBlocksDefaults.container.containerWidth,onChange:e=>{t({containerWidth:""!==e?parseFloat(e):void 0})}})),Object(l.createElement)(b.SelectControl,{label:Object(g.__)("Tag Name","generateblocks"),value:f,options:ze,onChange:e=>{t({tagName:Le(e)})}}),Object(d.applyFilters)("generateblocks.editor.controls","","containerAfterElementTag",this.props,this.state)),Object(d.applyFilters)("generateblocks.editor.controls","","containerLayout",this.props,this.state)),m&&Object(l.createElement)(j,r()({},this.props,{title:Object(g.__)("Layout","generateblocks"),initialOpen:!0,icon:s("layout"),className:"gblocks-panel-label",id:"containerGridLayout",state:this.state}),!Ue&&Object(l.createElement)(b.ToggleControl,{label:Object(g.__)("Grid Item","generateblocks"),help:Object(g.__)("This container is set as a grid item but is not inside a grid block. Deactivate this option for optimal results.","generateblocks"),checked:!!m,onChange:e=>{t({isGrid:e,gridId:""})}}),"Desktop"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(b.BaseControl,null,Object(l.createElement)(u,{label:Object(g.__)("Container Width","generateblocks"),value:"%",units:["%"],onClick:()=>!1}),!!Ve&&Object(l.createElement)("div",{className:"gblocks-small-notice-description"},Object(g.__)('Width disabled as Flex Basis is not "auto".',"generateblocks")),Object(l.createElement)(b.ButtonGroup,{className:"widthButtons"},Object(l.createElement)(b.Button,{isPrimary:25===k,onClick:()=>t({width:25}),disabled:Ve},"25"),Object(l.createElement)(b.Button,{isPrimary:33.33===k,onClick:()=>t({width:33.33}),disabled:Ve},"33"),Object(l.createElement)(b.Button,{isPrimary:50===k,onClick:()=>t({width:50}),disabled:Ve},"50"),Object(l.createElement)(b.Button,{isPrimary:66.66===k,onClick:()=>t({width:66.66}),disabled:Ve},"66"),Object(l.createElement)(b.Button,{isPrimary:75===k,onClick:()=>t({width:75}),disabled:Ve},"75"),Object(l.createElement)(b.Button,{isPrimary:100===k,onClick:()=>t({width:100}),disabled:Ve},"100")),Object(l.createElement)(X,{value:C(k)?k:"",onChange:e=>{String(e).startsWith(0)&&(e=""),t({width:e})},rangeMin:10,rangeMax:100,step:5,initialPosition:generateBlocksDefaults.container.width,disabled:Ve})),Object(l.createElement)(b.BaseControl,{className:"gblocks-flex-controls"},Object(l.createElement)("div",{className:"gblocks-utility-label"},Object(l.createElement)("label",{htmlFor:"gblocks-flex-grow-desktop",className:"components-base-control__label"},Object(g.__)("Flex","generateblocks")),Object(l.createElement)(b.Tooltip,{text:Object(g.__)("Reset","generateblocks"),position:"top"},Object(l.createElement)(b.Button,{className:"gblocks-reset-button",icon:s("reset"),onClick:()=>{t({flexGrow:"",flexShrink:"",flexBasis:""})}}))),Object(l.createElement)("div",{className:"gblocks-flex-controls-inner"},Object(l.createElement)(b.TextControl,{help:Object(g.__)("Grow","generateblocks"),id:"gblocks-flex-grow-desktop",type:"number",value:T,min:"0",step:"1",placeholder:"0",onChange:e=>{t({flexGrow:e})},onBlur:()=>{""!==T&&t({flexGrow:parseFloat(T)})},onClick:e=>{e.currentTarget.focus()}}),Object(l.createElement)(b.TextControl,{help:Object(g.__)("Shrink","generateblocks"),type:"number",value:E,min:"0",step:"1",placeholder:"1",onChange:e=>{t({flexShrink:e})},onBlur:()=>{""!==E&&t({flexShrink:parseFloat(E)})},onClick:e=>{e.currentTarget.focus()}}),Object(l.createElement)("div",{className:"gblocks-flex-basis-wrapper"},!isNaN(z)&&Object(l.createElement)(u,{value:F,units:["px","%"],onClick:e=>{t({flexBasisUnit:e})}}),Object(l.createElement)(b.TextControl,{help:Object(g.__)("Basis","generateblocks"),type:"text",placeholder:"auto",value:z,onChange:e=>{t({flexBasis:e})},onBlur:()=>{z.match(/(auto|fill|max-content|min-content|fit-content|content|inherit|initial|revert|unset|[0-9.]+)/g)||t({flexBasis:""})}})))),Object(l.createElement)(b.SelectControl,{label:Object(g.__)("Vertical Alignment","generateblocks"),help:Object(g.__)("Align grid item content. Does not apply if vertical alignment is set in the grid.","generateblocks"),value:he,options:[{label:Object(g.__)("Default","generateblocks"),value:""},{label:Object(g.__)("Top","generateblocks"),value:"flex-start"},{label:Object(g.__)("Center","generateblocks"),value:"center"},{label:Object(g.__)("Bottom","generateblocks"),value:"flex-end"}],onChange:e=>{t({verticalAlignment:e})}}),Object(l.createElement)(b.ToggleControl,{label:Object(g.__)("Remove Vertical Gap","generateblocks"),checked:!!ye,onChange:e=>{t({removeVerticalGap:e})}}),Object(l.createElement)(b.SelectControl,{label:Object(g.__)("Tag Name","generateblocks"),value:f,options:ze,onChange:e=>{t({tagName:Le(e)})}}),Object(d.applyFilters)("generateblocks.editor.controls","","containerAfterElementTag",this.props,this.state)),"Tablet"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(b.BaseControl,null,Object(l.createElement)(u,{label:Object(g.__)("Container Width","generateblocks"),value:"%",units:["%"],onClick:()=>!1}),!!We&&Object(l.createElement)("div",{className:"gblocks-small-notice-description"},Object(g.__)('Width disabled as Flex Basis is not "auto".',"generateblocks")),Object(l.createElement)(b.ButtonGroup,{className:"widthButtons"},Object(l.createElement)(b.Button,{isPrimary:!!O,disabled:We,onClick:()=>{t(O?{autoWidthTablet:!1}:{autoWidthTablet:!0})}},Object(g.__)("Auto","generateblocks")),Object(l.createElement)(b.Button,{isPrimary:25===w&&!O,onClick:()=>t({widthTablet:25,autoWidthTablet:!1}),disabled:We},"25"),Object(l.createElement)(b.Button,{isPrimary:33.33===w&&!O,onClick:()=>t({widthTablet:33.33,autoWidthTablet:!1}),disabled:We},"33"),Object(l.createElement)(b.Button,{isPrimary:50===w&&!O,onClick:()=>t({widthTablet:50,autoWidthTablet:!1}),disabled:We},"50"),Object(l.createElement)(b.Button,{isPrimary:66.66===w&&!O,onClick:()=>t({widthTablet:66.66,autoWidthTablet:!1}),disabled:We},"66"),Object(l.createElement)(b.Button,{isPrimary:75===w&&!O,onClick:()=>t({widthTablet:75,autoWidthTablet:!1}),disabled:We},"75"),Object(l.createElement)(b.Button,{isPrimary:100===w&&!O,onClick:()=>t({widthTablet:100,autoWidthTablet:!1}),disabled:We},"100")),!O&&Object(l.createElement)(X,{value:C(w)?w:"",onChange:e=>{String(e).startsWith(0)&&(e=""),t({widthTablet:e,autoWidthTablet:!1})},rangeMin:10,rangeMax:100,step:5,initialPosition:generateBlocksDefaults.container.widthTablet,disabled:We})),Object(l.createElement)(b.BaseControl,{className:"gblocks-flex-controls"},Object(l.createElement)("div",{className:"gblocks-utility-label"},Object(l.createElement)("label",{htmlFor:"gblocks-flex-grow-tablet",className:"components-base-control__label"},Object(g.__)("Flex","generateblocks")),Object(l.createElement)(b.Tooltip,{text:Object(g.__)("Reset","generateblocks"),position:"top"},Object(l.createElement)(b.Button,{className:"gblocks-reset-button",icon:s("reset"),onClick:()=>{t({flexGrowTablet:"",flexShrinkTablet:"",flexBasisTablet:""})}}))),Object(l.createElement)("div",{className:"gblocks-flex-controls-inner"},Object(l.createElement)(b.TextControl,{help:Object(g.__)("Grow","generateblocks"),id:"gblocks-flex-grow-tablet",type:"number",value:B,min:"0",step:"1",placeholder:_("flexGrow",e,"Tablet","0"),onChange:e=>{t({flexGrowTablet:e})},onBlur:()=>{""!==B&&t({flexGrowTablet:parseFloat(B)})},onClick:e=>{e.currentTarget.focus()}}),Object(l.createElement)(b.TextControl,{help:Object(g.__)("Shrink","generateblocks"),type:"number",value:D,min:"0",step:"1",placeholder:_("flexShrink",e,"Tablet","1"),onChange:e=>{t({flexShrinkTablet:e})},onBlur:()=>{""!==D&&t({flexShrinkTablet:parseFloat(D)})},onClick:e=>{e.currentTarget.focus()}}),Object(l.createElement)("div",{className:"gblocks-flex-basis-wrapper"},!isNaN(R)&&Object(l.createElement)(u,{value:F,units:["px","%"],onClick:e=>{t({flexBasisUnit:e})}}),Object(l.createElement)(b.TextControl,{help:Object(g.__)("Basis","generateblocks"),type:"text",value:R,placeholder:_("flexBasis",e,"Tablet","auto"),onChange:e=>{t({flexBasisTablet:e})},onBlur:()=>{R.match(/(auto|fill|max-content|min-content|fit-content|content|inherit|initial|revert|unset|[0-9.]+)/g)||t({flexBasisTablet:""})}})))),Object(l.createElement)(b.SelectControl,{label:Object(g.__)("Vertical Alignment","generateblocks"),help:Object(g.__)("Align grid item content. Does not apply if vertical alignment is set in the grid.","generateblocks"),value:fe,options:[{label:Object(g.__)("Inherit","generateblocks"),value:"inherit"},{label:Object(g.__)("Default","generateblocks"),value:""},{label:Object(g.__)("Top","generateblocks"),value:"flex-start"},{label:Object(g.__)("Center","generateblocks"),value:"center"},{label:Object(g.__)("Bottom","generateblocks"),value:"flex-end"}],onChange:e=>{t({verticalAlignmentTablet:e})}}),Object(l.createElement)(b.ToggleControl,{label:Object(g.__)("Remove Vertical Gap","generateblocks"),checked:!!Oe,onChange:e=>{t({removeVerticalGapTablet:e})}}),Object(l.createElement)(b.TextControl,{type:"number",label:Object(g.__)("Order","generateblocks"),value:je||0===je?je:"",onChange:e=>{t({orderTablet:parseFloat(e)})}})),"Mobile"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(b.BaseControl,null,Object(l.createElement)(u,{label:Object(g.__)("Container Width","generateblocks"),value:"%",units:["%"],onClick:()=>!1}),!!qe&&Object(l.createElement)("div",{className:"gblocks-small-notice-description"},Object(g.__)('Width disabled as Flex Basis is not "auto".',"generateblocks")),Object(l.createElement)(b.ButtonGroup,{className:"widthButtons"},Object(l.createElement)(b.Button,{isPrimary:!!v,disabled:qe,onClick:()=>{t(v?{autoWidthMobile:!1}:{autoWidthMobile:!0})}},Object(g.__)("Auto","generateblocks")),Object(l.createElement)(b.Button,{isPrimary:25===y&&!v,onClick:()=>t({widthMobile:25,autoWidthMobile:!1}),disabled:qe},"25"),Object(l.createElement)(b.Button,{isPrimary:33.33===y&&!v,onClick:()=>t({widthMobile:33.33,autoWidthMobile:!1}),disabled:qe},"33"),Object(l.createElement)(b.Button,{isPrimary:50===y&&!v,onClick:()=>t({widthMobile:50,autoWidthMobile:!1}),disabled:qe},"50"),Object(l.createElement)(b.Button,{isPrimary:66.66===y&&!v,onClick:()=>t({widthMobile:66.66,autoWidthMobile:!1}),disabled:qe},"66"),Object(l.createElement)(b.Button,{isPrimary:75===y&&!v,onClick:()=>t({widthMobile:75,autoWidthMobile:!1}),disabled:qe},"75"),Object(l.createElement)(b.Button,{isPrimary:100===y&&!v,onClick:()=>t({widthMobile:100,autoWidthMobile:!1}),disabled:qe},"100")),!v&&Object(l.createElement)(X,{value:C(y)?y:"",onChange:e=>{String(e).startsWith(0)&&(e=""),t({widthMobile:e,autoWidthMobile:!1})},rangeMin:10,rangeMax:100,step:5,initialPosition:generateBlocksDefaults.container.widthMobile,disabled:qe})),Object(l.createElement)(b.BaseControl,{className:"gblocks-flex-controls"},Object(l.createElement)("div",{className:"gblocks-utility-label"},Object(l.createElement)("label",{htmlFor:"gblocks-flex-grow-mobile",className:"components-base-control__label"},Object(g.__)("Flex","generateblocks")),Object(l.createElement)(b.Tooltip,{text:Object(g.__)("Reset","generateblocks"),position:"top"},Object(l.createElement)(b.Button,{className:"gblocks-reset-button",icon:s("reset"),onClick:()=>{t({flexGrowMobile:"",flexShrinkMobile:"",flexBasisMobile:""})}}))),Object(l.createElement)("div",{className:"gblocks-flex-controls-inner"},Object(l.createElement)(b.TextControl,{help:Object(g.__)("Grow","generateblocks"),id:"gblocks-flex-grow-mobile",type:"number",value:S,min:"0",step:"1",placeholder:_("flexGrow",e,"Mobile","0"),onChange:e=>{t({flexGrowMobile:e})},onBlur:()=>{""!==S&&t({flexGrowMobile:parseFloat(S)})},onClick:e=>{e.currentTarget.focus()}}),Object(l.createElement)(b.TextControl,{help:Object(g.__)("Shrink","generateblocks"),type:"number",value:M,min:"0",step:"1",placeholder:_("flexShrink",e,"Mobile","1"),onChange:e=>{t({flexShrinkMobile:e})},onBlur:()=>{""!==M&&t({flexShrinkMobile:parseFloat(M)})},onClick:e=>{e.currentTarget.focus()}}),Object(l.createElement)("div",{className:"gblocks-flex-basis-wrapper"},!isNaN(L)&&Object(l.createElement)(u,{value:F,units:["px","%"],onClick:e=>{t({flexBasisUnit:e})}}),Object(l.createElement)(b.TextControl,{help:Object(g.__)("Basis","generateblocks"),type:"text",value:L,placeholder:_("flexBasis",e,"Mobile","auto"),onChange:e=>{t({flexBasisMobile:e})},onBlur:()=>{L.match(/(auto|fill|max-content|min-content|fit-content|content|inherit|initial|revert|unset|[0-9.]+)/g)||t({flexBasisMobile:""})}})))),Object(l.createElement)(b.SelectControl,{label:Object(g.__)("Vertical Alignment","generateblocks"),help:Object(g.__)("Align grid item content. Does not apply if vertical alignment is set in the grid.","generateblocks"),value:me,options:[{label:Object(g.__)("Inherit","generateblocks"),value:"inherit"},{label:Object(g.__)("Default","generateblocks"),value:""},{label:Object(g.__)("Top","generateblocks"),value:"flex-start"},{label:Object(g.__)("Center","generateblocks"),value:"center"},{label:Object(g.__)("Bottom","generateblocks"),value:"flex-end"}],onChange:e=>{t({verticalAlignmentMobile:e})}}),Object(l.createElement)(b.ToggleControl,{label:Object(g.__)("Remove Vertical Gap","generateblocks"),checked:!!ve,onChange:e=>{t({removeVerticalGapMobile:e})}}),Object(l.createElement)(b.TextControl,{type:"number",label:Object(g.__)("Order","generateblocks"),value:Te||0===Te?Te:"",onChange:e=>{t({orderMobile:parseFloat(e)})}})),Object(d.applyFilters)("generateblocks.editor.controls","","containerGridLayout",this.props,this.state)),Object(l.createElement)(j,r()({},this.props,{title:Object(g.__)("Typography","generateblocks"),initialOpen:!1,icon:s("typography"),className:"gblocks-panel-label",id:"containerTypography",state:this.state}),"Desktop"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(Z,r()({},this.props,{showFontFamily:!0,showFontWeight:!0,showTextTransform:!0,showFontSize:!0,defaultFontSize:generateBlocksDefaults.container.fontSize,defaultFontSizeUnit:generateBlocksDefaults.container.fontSizeUnit,defaultLineHeight:generateBlocksDefaults.container.lineHeight,defaultLineHeightUnit:generateBlocksDefaults.container.lineHeightUnit,defaultLetterSpacing:generateBlocksDefaults.container.letterSpacing}))),"Tablet"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(Z,r()({},this.props,{device:"Tablet",showFontSize:!0,disableAdvancedToggle:!0,defaultFontSize:generateBlocksDefaults.container.fontSizeTablet,defaultFontSizeUnit:generateBlocksDefaults.container.fontSizeUnit,defaultLineHeight:generateBlocksDefaults.container.lineHeightTablet,defaultLineHeightUnit:generateBlocksDefaults.container.lineHeightUnit,defaultLetterSpacing:generateBlocksDefaults.container.letterSpacingTablet}))),"Mobile"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(Z,r()({},this.props,{device:"Mobile",showFontSize:!0,disableAdvancedToggle:!0,defaultFontSize:generateBlocksDefaults.container.fontSizeMobile,defaultFontSizeUnit:generateBlocksDefaults.container.fontSizeUnit,defaultLineHeight:generateBlocksDefaults.container.lineHeightMobile,defaultLineHeightUnit:generateBlocksDefaults.container.lineHeightUnit,defaultLetterSpacing:generateBlocksDefaults.container.letterSpacingMobile}))),Object(d.applyFilters)("generateblocks.editor.controls","","containerTypography",this.props,this.state)),Object(l.createElement)(j,r()({},this.props,{title:Object(g.__)("Spacing","generateblocks"),initialOpen:!1,icon:s("spacing"),className:"gblocks-panel-label",id:"containerSpacing",state:this.state}),"Desktop"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(u,{label:Object(g.__)("Minimum Height","generateblocks"),value:G,units:["px","vh","vw"],onClick:e=>{t({minHeightUnit:e})}}),Object(l.createElement)(b.TextControl,{type:"number",value:H||"",onChange:e=>{t({minHeight:parseFloat(e)})}}),!!H&&!m&&Object(l.createElement)(b.SelectControl,{label:Object(g.__)("Vertical Alignment","generateblocks"),value:he,options:[{label:Object(g.__)("Default","generateblocks"),value:""},{label:Object(g.__)("Top","generateblocks"),value:"flex-start"},{label:Object(g.__)("Center","generateblocks"),value:"center"},{label:Object(g.__)("Bottom","generateblocks"),value:"flex-end"}],onChange:e=>{t({verticalAlignment:e})}}),Object(l.createElement)(V,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(g.__)("Padding","generateblocks"),attrTop:"paddingTop",attrRight:"paddingRight",attrBottom:"paddingBottom",attrLeft:"paddingLeft",attrUnit:"paddingUnit",attrSyncUnits:"paddingSyncUnits",defaults:generateBlocksDefaults.container,units:["px","em","%"]})),Object(l.createElement)(V,r()({},this.props,{device:this.getDeviceType(),type:"margin",label:Object(g.__)("Margin","generateblocks"),attrTop:"marginTop",attrRight:"marginRight",attrBottom:"marginBottom",attrLeft:"marginLeft",attrUnit:"marginUnit",attrSyncUnits:"marginSyncUnits",defaults:generateBlocksDefaults.container,units:["px","em","%"]})),Object(l.createElement)(V,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(g.__)("Border Size","generateblocks"),attrTop:"borderSizeTop",attrRight:"borderSizeRight",attrBottom:"borderSizeBottom",attrLeft:"borderSizeLeft",attrSyncUnits:"borderSizeSyncUnits",defaults:generateBlocksDefaults.container,units:["px"]})),Object(l.createElement)(V,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(g.__)("Border Radius","generateblocks"),attrTop:"borderRadiusTopLeft",attrRight:"borderRadiusTopRight",attrBottom:"borderRadiusBottomRight",attrLeft:"borderRadiusBottomLeft",attrUnit:"borderRadiusUnit",attrSyncUnits:"borderRadiusSyncUnits",labelTop:Object(g.__)("T-Left","generateblocks"),labelRight:Object(g.__)("T-Right","generateblocks"),labelBottom:Object(g.__)("B-Right","generateblocks"),labelLeft:Object(g.__)("B-Left","generateblocks"),defaults:generateBlocksDefaults.container,units:["px","em","%"]})),Object(l.createElement)(b.TextControl,{label:Object(g.__)("Outer z-index","generateblocks"),type:"number",value:ke||0===ke?ke:"",onChange:e=>{t({zindex:e})},onBlur:()=>{t({zindex:parseFloat(ke)})},onClick:e=>{e.currentTarget.focus()}}),Object(l.createElement)(b.TextControl,{label:Object(g.__)("Inner z-index","generateblocks"),type:"number",value:we||0===we?we:"",onChange:e=>{t({innerZindex:e})},onBlur:()=>{t({innerZindex:parseFloat(we)})},onClick:e=>{e.currentTarget.focus()}})),"Tablet"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(u,{label:Object(g.__)("Minimum Height","generateblocks"),value:q,units:["px","vh","vw"],onClick:e=>{t({minHeightUnitTablet:e})}}),Object(l.createElement)(b.TextControl,{type:"number",value:W||0===W?W:"",onChange:e=>{t({minHeightTablet:parseFloat(e)})}}),(!!H||!!W)&&!m&&Object(l.createElement)(b.SelectControl,{label:Object(g.__)("Vertical Alignment","generateblocks"),value:fe,options:[{label:Object(g.__)("Inherit","generateblocks"),value:"inherit"},{label:Object(g.__)("Default","generateblocks"),value:""},{label:Object(g.__)("Top","generateblocks"),value:"flex-start"},{label:Object(g.__)("Center","generateblocks"),value:"center"},{label:Object(g.__)("Bottom","generateblocks"),value:"flex-end"}],onChange:e=>{t({verticalAlignmentTablet:e})}}),Object(l.createElement)(V,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(g.__)("Padding","generateblocks"),attrTop:"paddingTopTablet",attrRight:"paddingRightTablet",attrBottom:"paddingBottomTablet",attrLeft:"paddingLeftTablet",attrUnit:"paddingUnit",attrSyncUnits:"paddingSyncUnits",defaults:generateBlocksDefaults.container,units:["px","em","%"]})),Object(l.createElement)(V,r()({},this.props,{device:this.getDeviceType(),type:"margin",label:Object(g.__)("Margin","generateblocks"),attrTop:"marginTopTablet",attrRight:"marginRightTablet",attrBottom:"marginBottomTablet",attrLeft:"marginLeftTablet",attrUnit:"marginUnit",attrSyncUnits:"marginSyncUnits",defaults:generateBlocksDefaults.container,units:["px","em","%"]})),Object(l.createElement)(V,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(g.__)("Border Size","generateblocks"),attrTop:"borderSizeTopTablet",attrRight:"borderSizeRightTablet",attrBottom:"borderSizeBottomTablet",attrLeft:"borderSizeLeftTablet",attrSyncUnits:"borderSizeSyncUnits",defaults:generateBlocksDefaults.container,units:["px"]})),Object(l.createElement)(V,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(g.__)("Border Radius","generateblocks"),attrTop:"borderRadiusTopLeftTablet",attrRight:"borderRadiusTopRightTablet",attrBottom:"borderRadiusBottomRightTablet",attrLeft:"borderRadiusBottomLeftTablet",attrUnit:"borderRadiusUnit",attrSyncUnits:"borderRadiusSyncUnits",labelTop:Object(g.__)("T-Left","generateblocks"),labelRight:Object(g.__)("T-Right","generateblocks"),labelBottom:Object(g.__)("B-Right","generateblocks"),labelLeft:Object(g.__)("B-Left","generateblocks"),defaults:generateBlocksDefaults.container,units:["px","em","%"]}))),"Mobile"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(u,{label:Object(g.__)("Minimum Height","generateblocks"),value:Y,units:["px","vh","vw"],onClick:e=>{t({minHeightUnitMobile:e})}}),Object(l.createElement)(b.TextControl,{type:"number",value:K||0===K?K:"",onChange:e=>{t({minHeightMobile:parseFloat(e)})}}),(!!H||!!W||!!K)&&!m&&Object(l.createElement)(b.SelectControl,{label:Object(g.__)("Vertical Alignment","generateblocks"),value:me,options:[{label:Object(g.__)("Inherit","generateblocks"),value:"inherit"},{label:Object(g.__)("Default","generateblocks"),value:""},{label:Object(g.__)("Top","generateblocks"),value:"flex-start"},{label:Object(g.__)("Center","generateblocks"),value:"center"},{label:Object(g.__)("Bottom","generateblocks"),value:"flex-end"}],onChange:e=>{t({verticalAlignmentMobile:e})}}),Object(l.createElement)(V,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(g.__)("Padding","generateblocks"),attrTop:"paddingTopMobile",attrRight:"paddingRightMobile",attrBottom:"paddingBottomMobile",attrLeft:"paddingLeftMobile",attrUnit:"paddingUnit",attrSyncUnits:"paddingSyncUnits",defaults:generateBlocksDefaults.container,units:["px","em","%"]})),Object(l.createElement)(V,r()({},this.props,{device:this.getDeviceType(),type:"margin",label:Object(g.__)("Margin","generateblocks"),attrTop:"marginTopMobile",attrRight:"marginRightMobile",attrBottom:"marginBottomMobile",attrLeft:"marginLeftMobile",attrUnit:"marginUnit",attrSyncUnits:"marginSyncUnits",defaults:generateBlocksDefaults.container,units:["px","em","%"]})),Object(l.createElement)(V,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(g.__)("Border Size","generateblocks"),attrTop:"borderSizeTopMobile",attrRight:"borderSizeRightMobile",attrBottom:"borderSizeBottomMobile",attrLeft:"borderSizeLeftMobile",attrSyncUnits:"borderSizeSyncUnits",defaults:generateBlocksDefaults.container,units:["px"]})),Object(l.createElement)(V,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(g.__)("Border Radius","generateblocks"),attrTop:"borderRadiusTopLeftMobile",attrRight:"borderRadiusTopRightMobile",attrBottom:"borderRadiusBottomRightMobile",attrLeft:"borderRadiusBottomLeftMobile",attrUnit:"borderRadiusUnit",attrSyncUnits:"borderRadiusSyncUnits",labelTop:Object(g.__)("T-Left","generateblocks"),labelRight:Object(g.__)("T-Right","generateblocks"),labelBottom:Object(g.__)("B-Right","generateblocks"),labelLeft:Object(g.__)("B-Left","generateblocks"),defaults:generateBlocksDefaults.container,units:["px","em","%"]}))),Object(d.applyFilters)("generateblocks.editor.controls","","containerSpacing",this.props,this.state)),Object(l.createElement)(j,r()({},this.props,{title:Object(g.__)("Colors","generateblocks"),initialOpen:!1,icon:s("colors"),className:"gblocks-panel-label",id:"containerColors",state:this.state}),"Desktop"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(I,{label:Object(g.__)("Background Color","generateblocks"),value:te,alpha:!0,valueOpacity:ce,attrOpacity:"backgroundColorOpacity",onChange:e=>t({backgroundColor:e}),onOpacityChange:e=>t({backgroundColorOpacity:e})}),Object(l.createElement)(I,{label:Object(g.__)("Text Color","generateblocks"),value:se,alpha:!1,onChange:e=>t({textColor:e})}),Object(l.createElement)(I,{label:Object(g.__)("Link Color","generateblocks"),value:ge,alpha:!1,onChange:e=>t({linkColor:e})}),Object(l.createElement)(I,{label:Object(g.__)("Link Color Hover","generateblocks"),value:be,alpha:!1,onChange:e=>t({linkColorHover:e})}),Object(l.createElement)(I,{label:Object(g.__)("Border Color","generateblocks"),value:$,alpha:!0,valueOpacity:ee,attrOpacity:"borderColorOpacity",onChange:e=>t({borderColor:e}),onOpacityChange:e=>t({borderColorOpacity:e})})),Object(d.applyFilters)("generateblocks.editor.controls","","containerColors",this.props,this.state)),Object(l.createElement)(j,r()({},this.props,{title:Object(g.__)("Backgrounds","generateblocks"),initialOpen:!1,icon:s("gradients"),className:"gblocks-panel-label",id:"containerBackground",state:this.state}),Object(l.createElement)(l.Fragment,null,Object(l.createElement)(b.BaseControl,{id:"gblocks-background-image-upload",label:Object(g.__)("Image URL","generateblocks")},Object(l.createElement)("div",{className:"gblocks-bg-image-wrapper"},Object(l.createElement)(b.TextControl,{type:"text",value:de?de.image.url:"",onChange:e=>{t(e?{bgImage:{id:"",image:{url:e}}}:{bgImage:null})}}),Object(l.createElement)("div",{className:"gblocks-background-image-action-buttons"},Object(l.createElement)(x.MediaUpload,{title:Object(g.__)("Set background image","generateblocks"),onSelect:e=>{let a=generateBlocksDefaults.container.bgImageSize;void 0===e.sizes[a]&&(a="full"),t({bgImage:{id:e.id,image:e.sizes[a]}})},onClose:()=>{document.querySelector(".gblocks-bg-image-wrapper input").focus()},allowedTypes:["image"],value:de?de.id:"",modalClass:"editor-gb-container-background__media-modal",render:({open:e})=>Object(l.createElement)(b.Tooltip,{text:Object(g.__)("Open the Media Library","generateblocks")},Object(l.createElement)(b.Button,{onClick:e,className:"is-secondary is-small"},Object(g.__)("Browse","generateblocks")))}),Object(d.applyFilters)("generateblocks.editor.backgroundImageActions","",this.props,this.state)))),!!de&&Object(l.createElement)(l.Fragment,null,pe.overlay?Object(l.createElement)(l.Fragment,null,Object(l.createElement)(b.ToggleControl,{label:Object(g.__)("Background Color Overlay","generateblocks"),checked:!!pe.overlay,onChange:e=>{t({bgOptions:{...pe,overlay:e}})}}),Object(l.createElement)(b.Notice,{className:"gblocks-option-notice",status:"info",isDismissible:!1},Object(g.__)("The background color overlay option is deprecated. Toggle this option to use the new method.","generateblocks"))):Object(l.createElement)(l.Fragment,null,void 0!==de.id&&de.id&&Object(l.createElement)(b.SelectControl,{label:Object(g.__)("Image Size","generateblocks"),value:ue,options:Ie,onChange:e=>{t({bgImageSize:e})}}),Object(l.createElement)(b.SelectControl,{label:Object(g.__)("Selector","generateblocks"),value:pe.selector,options:[{label:Object(g.__)("Element","generateblocks"),value:"element"},{label:Object(g.__)("Pseudo Element","generateblocks"),value:"pseudo-element"}],onChange:e=>{t({bgOptions:{...pe,selector:e}}),"pseudo-element"!==e||we||0===we||t({innerZindex:1})}}),Object(l.createElement)(b.RangeControl,{label:Object(g.__)("Image Opacity","generateblocks"),value:pe.opacity,onChange:e=>{t({bgOptions:{...pe,opacity:e,selector:"pseudo-element"}}),we||0===we||t({innerZindex:1})},min:0,max:1,step:.1,initialPosition:generateBlocksDefaults.container.bgOptions.opacity}),1!==pe.opacity&&"pseudo-element"!==pe.selector&&Object(l.createElement)(b.Notice,{className:"gblocks-option-notice",status:"info",isDismissible:!1},Object(g.__)("Your selector must be set to Pseudo Element to use opacity.","generateblocks"))),Object(l.createElement)(b.TextControl,{label:Object(g.__)("Size","generateblocks"),value:pe.size,onChange:e=>{t({bgOptions:{...pe,size:e}})}}),Object(l.createElement)(b.TextControl,{label:Object(g.__)("Position","generateblocks"),value:pe.position,onChange:e=>{t({bgOptions:{...pe,position:e}})}}),Object(l.createElement)(b.SelectControl,{label:Object(g.__)("Repeat","generateblocks"),value:pe.repeat,options:[{label:"no-repeat",value:"no-repeat"},{label:"repeat",value:"repeat"},{label:"repeat-x",value:"repeat-x"},{label:"repeat-y",value:"repeat-y"}],onChange:e=>{t({bgOptions:{...pe,repeat:e}})}}),Object(l.createElement)(b.SelectControl,{label:Object(g.__)("Attachment","generateblocks"),value:pe.attachment,options:[{label:"scroll",value:""},{label:"fixed",value:"fixed"},{label:"local",value:"local"}],onChange:e=>{t({bgOptions:{...pe,attachment:e}})}})),Object(l.createElement)(J,r()({},this.props,{attrGradient:"gradient",attrGradientDirection:"gradientDirection",attrGradientColorOne:"gradientColorOne",attrGradientColorStopOne:"gradientColorStopOne",attrGradientColorTwo:"gradientColorTwo",attrGradientColorStopTwo:"gradientColorStopTwo",attrGradientColorOneOpacity:"gradientColorOneOpacity",attrGradientColorTwoOpacity:"gradientColorTwoOpacity",defaultColorOne:generateBlocksDefaults.container.gradientColorOne,defaultColorTwo:generateBlocksDefaults.container.gradientColorTwo})),Object(d.applyFilters)("generateblocks.editor.controls","","containerBackground",this.props,this.state))),Object(l.createElement)(j,r()({},this.props,{title:Object(g.__)("Shapes","generateblocks"),initialOpen:!1,icon:s("shapes"),className:"gblocks-panel-label",id:"containerShapes",state:this.state,showPanel:!("Desktop"!==this.getDeviceType()&&!e.shapeDividers.length)}),Object(l.createElement)(b.BaseControl,{className:"gb-icon-chooser gb-shape-chooser"},Me.map((e,a)=>{const i=a+1;return Object(l.createElement)(l.Fragment,{key:a},Object(l.createElement)("div",{className:"gblocks-shape-container"},Object(l.createElement)("div",{className:o()({"gblocks-shape-toggle-preview":!0,["gblocks-shape-toggle-preview-"+i]:!0}),style:{backgroundColor:te}},void 0!==He[Me[a].shape]&&Object(l.createElement)("div",{className:"gblocks-shape-divider-preview",style:{color:Me[a].color},dangerouslySetInnerHTML:{__html:Q(He[Me[a].shape].icon)}})),
8
  /* translators: Shape number */
9
+ Object(g.sprintf)(Object(g.__)("Shape %s","generateblocks"),i),Object(l.createElement)(l.Fragment,null,Object(l.createElement)(b.Dropdown,{contentClassName:"gblocks-shapes-dropdown",renderToggle:({isOpen:e,onToggle:t})=>Object(l.createElement)(b.Tooltip,{text:Object(g.__)("Edit Shape","generateblocks")},Object(l.createElement)(b.Button,{className:"gblocks-shape-dropdown",isSecondary:!e||void 0,isPrimary:!!e||void 0,icon:s("wrench"),onClick:t,"aria-expanded":e})),renderContent:()=>Object(l.createElement)("div",{className:"gblocks-shape-controls"},"Desktop"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(b.BaseControl,{className:"gb-icon-chooser"},Object.keys(generateBlocksInfo.svgShapes).map((e,i)=>{const r=generateBlocksInfo.svgShapes[e].svgs;return Object(l.createElement)(b.PanelBody,{title:generateBlocksInfo.svgShapes[e].group,initialOpen:r.hasOwnProperty(Me[a].shape),key:i},Object(l.createElement)(b.PanelRow,null,Object(l.createElement)(b.BaseControl,null,Object(l.createElement)("ul",{className:"gblocks-icon-chooser gblocks-shape-chooser"},Object.keys(r).map((e,i)=>Object(l.createElement)("li",{key:"editor-pblock-types-list-item-"+i},Object(l.createElement)(b.Tooltip,{text:r[e].label},Object(l.createElement)(b.Button,{className:o()({"editor-block-list-item-button":!0,"gblocks-shape-is-active":Me[a].shape===e}),onClick:()=>{const l=[...Me];l[a]={...l[a],shape:e},t({shapeDividers:l})}},"string"==typeof r[e].icon?Object(l.createElement)(l.Fragment,null,Object(l.createElement)("span",{className:"editor-block-types-list__item-icon",dangerouslySetInnerHTML:{__html:Q(r[e].icon)}})):Object(l.createElement)(l.Fragment,null,Object(l.createElement)("span",{className:"editor-block-types-list__item-icon"},r[e].icon))))))))))})),Object(l.createElement)(I,{label:Object(g.__)("Color","generateblocks"),value:Me[a].color,alpha:!0,valueOpacity:Me[a].colorOpacity,onChange:e=>{const l=[...Me];l[a]={...l[a],color:e},t({shapeDividers:l})},onOpacityChange:e=>{const l=[...Me];l[a]={...l[a],colorOpacity:e},t({shapeDividers:l})}}),Object(l.createElement)(b.SelectControl,{label:Object(g.__)("Location","generateblocks"),value:Me[a].location,options:[{label:Object(g.__)("Top","generateblocks"),value:"top"},{label:Object(g.__)("Bottom","generateblocks"),value:"bottom"}],onChange:e=>{const l=[...Me];l[a]={...l[a],location:e},t({shapeDividers:l})}}),Object(l.createElement)(u,{label:Object(g.__)("Height","generateblocks"),value:"px",units:["px"],onClick:()=>!1}),Object(l.createElement)(b.TextControl,{type:"number",value:Me[a].height?Me[a].height:"",onChange:e=>{const l=[...Me];l[a]={...l[a],height:parseFloat(e)},t({shapeDividers:l})}}),Object(l.createElement)(u,{label:Object(g.__)("Width","generateblocks"),value:"%",units:["%"],onClick:()=>!1}),Object(l.createElement)(b.TextControl,{type:"number",value:Me[a].width?Me[a].width:"",min:"100",onChange:e=>{const l=[...Me];l[a]={...l[a],width:parseFloat(e)},t({shapeDividers:l})}}),Object(l.createElement)(b.ToggleControl,{label:Object(g.__)("Flip Horizontally","generateblocks"),checked:!!Me[a].flipHorizontally,onChange:e=>{const l=[...Me];l[a]={...l[a],flipHorizontally:e},t({shapeDividers:l})}}),Object(l.createElement)(b.TextControl,{label:Object(g.__)("z-index","generateblocks"),type:"number",min:"0",value:Me[a].zindex||0===Me[a].zindex?Me[a].zindex:"",onChange:e=>{const l=[...Me];l[a]={...l[a],zindex:e},t({shapeDividers:l})},onBlur:()=>{const e=[...Me];e[a]={...e[a],zindex:parseFloat(Me[a].zindex)},t({shapeDividers:e})},onClick:e=>{e.currentTarget.focus()}})),"Tablet"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(u,{label:Object(g.__)("Height","generateblocks"),value:"px",units:["px"],onClick:()=>!1}),Object(l.createElement)(b.TextControl,{type:"number",value:Me[a].heightTablet?Me[a].heightTablet:"",onChange:e=>{const l=[...Me];l[a]={...l[a],heightTablet:parseFloat(e)},t({shapeDividers:l})}}),Object(l.createElement)(u,{label:Object(g.__)("Width","generateblocks"),value:"%",units:["%"],onClick:()=>!1}),Object(l.createElement)(b.TextControl,{type:"number",value:Me[a].widthTablet?Me[a].widthTablet:"",min:"100",onChange:e=>{const l=[...Me];l[a]={...l[a],widthTablet:parseFloat(e)},t({shapeDividers:l})}})),"Mobile"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(u,{label:Object(g.__)("Height","generateblocks"),value:"px",units:["px"],onClick:()=>!1}),Object(l.createElement)(b.TextControl,{type:"number",value:Me[a].heightMobile?Me[a].heightMobile:"",onChange:e=>{const l=[...Me];l[a]={...l[a],heightMobile:parseFloat(e)},t({shapeDividers:l})}}),Object(l.createElement)(u,{label:Object(g.__)("Width","generateblocks"),value:"%",units:["%"],onClick:()=>!1}),Object(l.createElement)(b.TextControl,{type:"number",value:Me[a].widthMobile?Me[a].widthMobile:"",min:"100",onChange:e=>{const l=[...Me];l[a]={...l[a],widthMobile:parseFloat(e)},t({shapeDividers:l})}})))})),"Desktop"===this.getDeviceType()&&Object(l.createElement)(b.Tooltip,{text:Object(g.__)("Delete Shape","generateblocks")},Object(l.createElement)(b.Button,{className:"gblocks-remove-shape",onClick:()=>{window.confirm(Object(g.__)("This will permanently delete this shape.","generateblocks"))&&(e=>{const a=[...Me];a.splice(e,1),t({shapeDividers:a})})(a)},icon:s("x")}))))}),Object(l.createElement)("div",{className:"gblocks-add-new-shape"},Object(l.createElement)(b.Button,{isSecondary:!0,onClick:(()=>{const e=[...Me];e.push({shape:generateBlocksStyling.container.shapeDividers.shape,color:generateBlocksStyling.container.shapeDividers.color,colorOpacity:generateBlocksStyling.container.shapeDividers.colorOpacity,location:generateBlocksStyling.container.shapeDividers.location,height:generateBlocksStyling.container.shapeDividers.height,heightTablet:generateBlocksStyling.container.shapeDividers.heightTablet,heightMobile:generateBlocksStyling.container.shapeDividers.heightMobile,width:generateBlocksStyling.container.shapeDividers.width,widthTablet:generateBlocksStyling.container.shapeDividers.widthTablet,widthMobile:generateBlocksStyling.container.shapeDividers.widthMobile,flipHorizontally:generateBlocksStyling.container.shapeDividers.flipHorizontally,zindex:generateBlocksStyling.container.shapeDividers.zindex}),t({shapeDividers:e})}).bind(this)},Object(g.__)("Add Shape","generateblocks")))),Object(d.applyFilters)("generateblocks.editor.controls","","containerShapeDivider",this.props,this.state)),Object(l.createElement)(j,r()({},this.props,{title:Object(g.__)("Documentation","generateblocks"),initialOpen:!1,icon:s("documentation"),className:"gblocks-panel-label",id:"containerDocumentation",state:this.state}),Object(l.createElement)("p",null,Object(g.__)("Need help with this block?","generateblocks")),Object(l.createElement)("a",{href:"https://docs.generateblocks.com/collection/container/",target:"_blank",rel:"noreferrer noopener"},Object(g.__)("Visit our documentation","generateblocks")),Object(d.applyFilters)("generateblocks.editor.controls","","containerDocumentation",this.props,this.state))),Object(l.createElement)(x.InspectorAdvancedControls,null,Object(l.createElement)(b.TextControl,{label:Object(g.__)("HTML Anchor","generateblocks"),help:Object(g.__)("Anchors lets you link directly to a section on a page.","generateblocks"),value:h||"",onChange:e=>{e=e.replace(oe,"-"),t({anchor:e})}})),Object(l.createElement)(ae,this.props),this.props.deviceType&&Object(l.createElement)(l.Fragment,null,"Desktop"===this.props.deviceType&&Object(l.createElement)(le,this.props),("Tablet"===this.props.deviceType||"Mobile"===this.props.deviceType)&&Object(l.createElement)(ie,this.props),"Tablet"===this.props.deviceType&&Object(l.createElement)(re,this.props),"Mobile"===this.props.deviceType&&Object(l.createElement)(ne,this.props)),Se&&xe&&Object(l.createElement)("link",{rel:"stylesheet",href:"https://fonts.googleapis.com/css?family="+Se.replace(/ /g,"+")+Fe}),Object(l.createElement)(P,{tagName:Le(Object(d.applyFilters)("generateblocks.frontend.containerTagName",f,e)),htmlAttrs:Ke},Object(d.applyFilters)("generateblocks.frontend.afterContainerOpen","",e),Object(l.createElement)("div",{className:o()({"gb-inside-container":!0})},Object(d.applyFilters)("generateblocks.frontend.insideContainer","",e),Object(l.createElement)(x.InnerBlocks,{templateLock:!1,renderAppender:()=>this.props.isSelected?Object(l.createElement)(x.InnerBlocks.ButtonBlockAppender,null):!a&&!this.props.isSelected&&Object(l.createElement)(b.Button,{className:"gblocks-container-selector",onClick:()=>wp.data.dispatch("core/block-editor").selectBlock(i),"aria-label":Object(g.__)("Select Container","generateblocks")},Object(l.createElement)("span",{className:"gblocks-container-selector__icon"},s("container")))})),Object(l.createElement)(l.Fragment,null,!!e.shapeDividers.length&&Object(l.createElement)("div",{className:"gb-shapes"},e.shapeDividers.map((e,t)=>{const a=t+1;return Object(l.createElement)(l.Fragment,{key:t},void 0!==He[Me[t].shape]&&Object(l.createElement)("div",{className:o()({"gb-shape":!0,["gb-shape-"+a]:!0}),dangerouslySetInnerHTML:{__html:Q(He[Me[t].shape].icon)}}))}))),Object(d.applyFilters)("generateblocks.frontend.beforeContainerClose","",e)))}}var se=Object(M.compose)([Object(D.withDispatch)(e=>({setDeviceType(t){const{__experimentalSetPreviewDeviceType:a}=e("core/edit-post")||!1;a&&a(t)}})),Object(D.withSelect)((e,t)=>{const{clientId:a}=t,l=e("core/block-editor");if(!e("core/edit-post"))return{media:null,deviceType:null,hasChildBlocks:!!l&&0<l.getBlockOrder(a).length};const{__experimentalGetPreviewDeviceType:i}=e("core/edit-post"),{getMedia:r}=e("core"),{getEditedPostAttribute:n}=e("core/editor"),o=n("featured_media");return i?{media:o?r(o):null,deviceType:i(),hasChildBlocks:!!l&&0<l.getBlockOrder(a).length}:{media:o?r(o):null,deviceType:null,hasChildBlocks:!!l&&0<l.getBlockOrder(a).length}})])(ce);const ge={uniqueId:{type:"string",default:""},anchor:{type:"string",default:""},isGrid:{type:"boolean",default:!1},gridId:{type:"string",default:""},tagName:{type:"string",default:generateBlocksDefaults.container.tagName},width:{type:"number",default:generateBlocksDefaults.container.width},widthTablet:{type:"number",default:generateBlocksDefaults.container.widthTablet},widthMobile:{type:"number",default:generateBlocksDefaults.container.widthMobile},autoWidthTablet:{type:"boolean",default:generateBlocksDefaults.container.autoWidthTablet},autoWidthMobile:{type:"boolean",default:generateBlocksDefaults.container.autoWidthMobile},flexGrow:{type:"number",default:generateBlocksDefaults.container.flexGrow},flexGrowTablet:{type:"number",default:generateBlocksDefaults.container.flexGrowTablet},flexGrowMobile:{type:"number",default:generateBlocksDefaults.container.flexGrowMobile},flexShrink:{type:"number",default:generateBlocksDefaults.container.flexShrink},flexShrinkTablet:{type:"number",default:generateBlocksDefaults.container.flexShrinkTablet},flexShrinkMobile:{type:"number",default:generateBlocksDefaults.container.flexShrinkMobile},flexBasis:{type:"string",default:generateBlocksDefaults.container.flexBasis},flexBasisTablet:{type:"string",default:generateBlocksDefaults.container.flexBasisTablet},flexBasisMobile:{type:"string",default:generateBlocksDefaults.container.flexBasisMobile},flexBasisUnit:{type:"string",default:generateBlocksDefaults.container.flexBasisUnit},orderTablet:{type:"number",default:generateBlocksDefaults.container.orderTablet},orderMobile:{type:"number",default:generateBlocksDefaults.container.orderMobile},outerContainer:{type:"string",default:generateBlocksDefaults.container.outerContainer},innerContainer:{type:"string",default:generateBlocksDefaults.container.innerContainer},containerWidth:{type:"number",default:generateBlocksDefaults.container.containerWidth},minHeight:{type:"number",default:generateBlocksDefaults.container.minHeight},minHeightUnit:{type:"string",default:generateBlocksDefaults.container.minHeightUnit},minHeightTablet:{type:"number",default:generateBlocksDefaults.container.minHeightTablet},minHeightUnitTablet:{type:"string",default:generateBlocksDefaults.container.minHeightUnitTablet},minHeightMobile:{type:"number",default:generateBlocksDefaults.container.minHeightMobile},minHeightUnitMobile:{type:"string",default:generateBlocksDefaults.container.minHeightUnitMobile},paddingTop:{type:"string",default:generateBlocksDefaults.container.paddingTop},paddingRight:{type:"string",default:generateBlocksDefaults.container.paddingRight},paddingBottom:{type:"string",default:generateBlocksDefaults.container.paddingBottom},paddingLeft:{type:"string",default:generateBlocksDefaults.container.paddingLeft},paddingUnit:{type:"string",default:generateBlocksDefaults.container.paddingUnit},paddingSyncUnits:{type:"boolean",default:!1},paddingTopTablet:{type:"string",default:generateBlocksDefaults.container.paddingTopTablet},paddingRightTablet:{type:"string",default:generateBlocksDefaults.container.paddingRightTablet},paddingBottomTablet:{type:"string",default:generateBlocksDefaults.container.paddingBottomTablet},paddingLeftTablet:{type:"string",default:generateBlocksDefaults.container.paddingLeftTablet},paddingTopMobile:{type:"string",default:generateBlocksDefaults.container.paddingTopMobile},paddingRightMobile:{type:"string",default:generateBlocksDefaults.container.paddingRightMobile},paddingBottomMobile:{type:"string",default:generateBlocksDefaults.container.paddingBottomMobile},paddingLeftMobile:{type:"string",default:generateBlocksDefaults.container.paddingLeftMobile},marginTop:{type:"string",default:generateBlocksDefaults.container.marginTop},marginRight:{type:"string",default:generateBlocksDefaults.container.marginRight},marginBottom:{type:"string",default:generateBlocksDefaults.container.marginBottom},marginLeft:{type:"string",default:generateBlocksDefaults.container.marginLeft},marginUnit:{type:"string",default:generateBlocksDefaults.container.marginUnit},marginSyncUnits:{type:"boolean",default:!1},marginTopTablet:{type:"string",default:generateBlocksDefaults.container.marginTopTablet},marginRightTablet:{type:"string",default:generateBlocksDefaults.container.marginRightTablet},marginBottomTablet:{type:"string",default:generateBlocksDefaults.container.marginBottomTablet},marginLeftTablet:{type:"string",default:generateBlocksDefaults.container.marginLeftTablet},marginTopMobile:{type:"string",default:generateBlocksDefaults.container.marginTopMobile},marginRightMobile:{type:"string",default:generateBlocksDefaults.container.marginRightMobile},marginBottomMobile:{type:"string",default:generateBlocksDefaults.container.marginBottomMobile},marginLeftMobile:{type:"string",default:generateBlocksDefaults.container.marginLeftMobile},borderSizeTop:{type:"string",default:generateBlocksDefaults.container.borderSizeTop},borderSizeRight:{type:"string",default:generateBlocksDefaults.container.borderSizeRight},borderSizeBottom:{type:"string",default:generateBlocksDefaults.container.borderSizeBottom},borderSizeLeft:{type:"string",default:generateBlocksDefaults.container.borderSizeLeft},borderSizeTopTablet:{type:"string",default:generateBlocksDefaults.container.borderSizeTopTablet},borderSizeRightTablet:{type:"string",default:generateBlocksDefaults.container.borderSizeRightTablet},borderSizeBottomTablet:{type:"string",default:generateBlocksDefaults.container.borderSizeBottomTablet},borderSizeLeftTablet:{type:"string",default:generateBlocksDefaults.container.borderSizeLeftTablet},borderSizeTopMobile:{type:"string",default:generateBlocksDefaults.container.borderSizeTopMobile},borderSizeRightMobile:{type:"string",default:generateBlocksDefaults.container.borderSizeRightMobile},borderSizeBottomMobile:{type:"string",default:generateBlocksDefaults.container.borderSizeBottomMobile},borderSizeLeftMobile:{type:"string",default:generateBlocksDefaults.container.borderSizeLeftMobile},borderRadiusTopRight:{type:"string",default:generateBlocksDefaults.container.borderRadiusTopRight},borderRadiusBottomRight:{type:"string",default:generateBlocksDefaults.container.borderRadiusBottomRight},borderRadiusBottomLeft:{type:"string",default:generateBlocksDefaults.container.borderRadiusBottomLeft},borderRadiusTopLeft:{type:"string",default:generateBlocksDefaults.container.borderRadiusTopLeft},borderRadiusUnit:{type:"string",default:generateBlocksDefaults.container.borderRadiusUnit},borderRadiusTopRightTablet:{type:"string",default:generateBlocksDefaults.container.borderRadiusTopRightTablet},borderRadiusBottomRightTablet:{type:"string",default:generateBlocksDefaults.container.borderRadiusBottomRightTablet},borderRadiusBottomLeftTablet:{type:"string",default:generateBlocksDefaults.container.borderRadiusBottomLeftTablet},borderRadiusTopLeftTablet:{type:"string",default:generateBlocksDefaults.container.borderRadiusTopLeftTablet},borderRadiusTopRightMobile:{type:"string",default:generateBlocksDefaults.container.borderRadiusTopRightMobile},borderRadiusBottomRightMobile:{type:"string",default:generateBlocksDefaults.container.borderRadiusBottomRightMobile},borderRadiusBottomLeftMobile:{type:"string",default:generateBlocksDefaults.container.borderRadiusBottomLeftMobile},borderRadiusTopLeftMobile:{type:"string",default:generateBlocksDefaults.container.borderRadiusTopLeftMobile},borderColor:{type:"string",default:generateBlocksDefaults.container.borderColor},borderColorOpacity:{type:"number",default:generateBlocksDefaults.container.borderColorOpacity},backgroundColor:{type:"string",default:generateBlocksDefaults.container.backgroundColor},backgroundColorOpacity:{type:"number",default:generateBlocksDefaults.container.backgroundColorOpacity},gradient:{type:"boolean",default:generateBlocksDefaults.container.gradient},gradientDirection:{type:"number",default:generateBlocksDefaults.container.gradientDirection},gradientColorOne:{type:"string",default:generateBlocksDefaults.container.gradientColorOne},gradientColorOneOpacity:{type:"number",default:generateBlocksDefaults.container.gradientColorOneOpacity},gradientColorStopOne:{type:"number",default:generateBlocksDefaults.container.gradientColorStopOne},gradientColorTwo:{type:"string",default:generateBlocksDefaults.container.gradientColorTwo},gradientColorTwoOpacity:{type:"number",default:generateBlocksDefaults.container.gradientColorTwoOpacity},gradientColorStopTwo:{type:"number",default:generateBlocksDefaults.container.gradientColorStopTwo},gradientSelector:{type:"string",default:"element"},textColor:{type:"string",default:generateBlocksDefaults.container.textColor},linkColor:{type:"string",default:generateBlocksDefaults.container.linkColor},linkColorHover:{type:"string",default:generateBlocksDefaults.container.linkColorHover},bgImage:{type:"object",default:generateBlocksDefaults.container.bgImage},bgOptions:{type:"object",default:{selector:generateBlocksDefaults.container.bgOptions.selector,opacity:generateBlocksDefaults.container.bgOptions.opacity,overlay:generateBlocksDefaults.container.bgOptions.overlay,position:generateBlocksDefaults.container.bgOptions.position,size:generateBlocksDefaults.container.bgOptions.size,repeat:generateBlocksDefaults.container.bgOptions.repeat,attachment:generateBlocksDefaults.container.bgOptions.attachment}},bgImageSize:{type:"string",default:generateBlocksDefaults.container.bgImageSize},verticalAlignment:{type:"string",default:generateBlocksDefaults.container.verticalAlignment},verticalAlignmentTablet:{type:"string",default:generateBlocksDefaults.container.verticalAlignmentTablet},verticalAlignmentMobile:{type:"string",default:generateBlocksDefaults.container.verticalAlignmentMobile},zindex:{type:"number",default:generateBlocksDefaults.container.zindex},innerZindex:{type:"number",default:generateBlocksDefaults.container.innerZindex},removeVerticalGap:{type:"boolean",default:generateBlocksDefaults.container.removeVerticalGap},removeVerticalGapTablet:{type:"boolean",default:generateBlocksDefaults.container.removeVerticalGapTablet},removeVerticalGapMobile:{type:"boolean",default:generateBlocksDefaults.container.removeVerticalGapMobile},alignment:{type:"string",default:generateBlocksDefaults.container.alignment},alignmentTablet:{type:"string",default:generateBlocksDefaults.container.alignmentTablet},alignmentMobile:{type:"string",default:generateBlocksDefaults.container.alignmentMobile},fontFamily:{type:"string",default:generateBlocksDefaults.container.fontFamily},fontFamilyFallback:{type:"string",default:generateBlocksDefaults.container.fontFamilyFallback},googleFont:{type:"boolean",default:generateBlocksDefaults.container.googleFont},googleFontVariants:{type:"string",default:generateBlocksDefaults.container.googleFontVariants},fontWeight:{type:"string",default:generateBlocksDefaults.container.fontWeight},fontSize:{type:"number",default:generateBlocksDefaults.container.fontSize},fontSizeTablet:{type:"number",default:generateBlocksDefaults.container.fontSizeTablet},fontSizeMobile:{type:"number",default:generateBlocksDefaults.container.fontSizeMobile},fontSizeUnit:{type:"string",default:generateBlocksDefaults.container.fontSizeUnit},textTransform:{type:"string",default:""},align:{type:"string",default:""},shapeDividers:{type:"array",default:[]},isDynamic:{type:"boolean"},blockVersion:{type:"number"},elementId:{type:"string",default:""},cssClasses:{type:"string",default:""}};generateBlocksInfo.hasCustomFields&&Object.assign(ge,{fullWidthContent:{type:"string",source:"meta",meta:"_generate-full-width-content"}});var be=ge,de=[{attributes:be,supports:{align:!1,anchor:!1,className:!1,customClassName:!1},migrate(e){const t=e.cssClasses?e.cssClasses:e.className,a=e.elementId?e.elementId:e.anchor;return{...e,className:t,anchor:a,cssClasses:"",elementId:""}},save({attributes:e}){const{uniqueId:t,tagName:a,elementId:i,cssClasses:r,isGrid:n,align:c}=e;let s={className:o()({"gb-container":!0,["gb-container-"+t]:!0,[""+r]:""!==r,["align"+c]:!!c&&!n}),id:i||null};return s=Object(d.applyFilters)("generateblocks.frontend.htmlAttributes",s,"generateblocks/container",e),Object(l.createElement)(({condition:e,wrap:t,children:a})=>e?t(a):a,{condition:n,wrap:e=>Object(l.createElement)("div",{className:o()({"gb-grid-column":!0,["gb-grid-column-"+t]:!0})},e)},Object(l.createElement)(P,{tagName:a,htmlAttrs:s},Object(d.applyFilters)("generateblocks.frontend.insideContainer","",e),Object(l.createElement)("div",{className:o()({"gb-inside-container":!0})},Object(l.createElement)(x.InnerBlocks.Content,null))))}}];function pe(e){return"left"===e||"top"===e?"flex-start":"right"===e||"bottom"===e?"flex-end":e}Object(E.registerBlockType)("generateblocks/container",{title:Object(g.__)("Container","generateblocks"),description:Object(g.__)("Organize your content into rows and sections.","generateblocks"),icon:s("container"),category:"generateblocks",keywords:[Object(g.__)("section"),Object(g.__)("container"),Object(g.__)("generate")],attributes:be,supports:{align:!1,className:!1},edit:se,save:()=>Object(l.createElement)(x.InnerBlocks.Content,null),deprecated:de});class ue extends l.Component{render(){const e=Object(d.applyFilters)("generateblocks.editor.cssAttrs",this.props.attributes,this.props),{uniqueId:t,alignment:a,marginTop:i,marginRight:r,marginBottom:n,marginLeft:o,marginUnit:c}=e;let s=[];return s[".gb-button-wrapper-"+t]=[{margin:ee(i,r,n,o,c),"justify-content":pe(a)}],s[".gb-button-wrapper-"+t+" > .block-editor-inner-blocks > .block-editor-block-list__layout"]=[{"justify-content":pe(a)}],s=Object(d.applyFilters)("generateblocks.editor.mainCSS",s,this.props,"button-container"),Object(l.createElement)("style",null,h(s))}}class he extends l.Component{render(){const e=Object(d.applyFilters)("generateblocks.editor.cssAttrs",this.props.attributes,this.props),{uniqueId:t,alignment:a,stack:i,fillHorizontalSpace:r}=e;let n=[];return n[".gb-button-wrapper-"+t]=[{display:!!r&&"block","flex-direction":!!i&&"column","align-items":!!i&&pe(a)}],n[".gb-button-wrapper-"+t+" > .block-editor-inner-blocks > .block-editor-block-list__layout"]=[{"flex-direction":!!i&&"column","align-items":!!i&&pe(a)}],r&&(n[".gb-button-wrapper-"+t+" > .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block"]=[{flex:"1"}],n[".gb-button-wrapper-"+t+" > .components-button"]=[{background:"#fff",border:"1px solid #ddd","margin-top":"10px"}]),i&&r&&(n[".gb-button-wrapper-"+t+" > .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block"]=[{width:"100% !important","box-sizing":"border-box"}]),n=Object(d.applyFilters)("generateblocks.editor.desktopCSS",n,this.props,"button-container"),Object(l.createElement)("style",null,h(n))}}class fe extends l.Component{render(){const e=Object(d.applyFilters)("generateblocks.editor.cssAttrs",this.props.attributes,this.props),{uniqueId:t,alignmentTablet:a,marginTopTablet:i,marginRightTablet:r,marginBottomTablet:n,marginLeftTablet:o,marginUnit:c}=e;let s=[];return s[".gb-button-wrapper-"+t]=[{"margin-top":f(i,c),"margin-right":f(r,c),"margin-bottom":f(n,c),"margin-left":f(o,c),"justify-content":pe(a)}],s[".gb-button-wrapper-"+t+" > .block-editor-inner-blocks > .block-editor-block-list__layout"]=[{"justify-content":pe(a)}],s=Object(d.applyFilters)("generateblocks.editor.tabletCSS",s,this.props,"button-container"),Object(l.createElement)("style",null,h(s))}}class me extends l.Component{render(){const e=Object(d.applyFilters)("generateblocks.editor.cssAttrs",this.props.attributes,this.props),{uniqueId:t,alignmentTablet:a,stackTablet:i,fillHorizontalSpaceTablet:r}=e;let n=[];return n[".gb-button-wrapper-"+t]=[{display:!!r&&"block","flex-direction":!!i&&"column","align-items":!!i&&pe(a)}],n[".gb-button-wrapper-"+t+" > .block-editor-inner-blocks > .block-editor-block-list__layout"]=[{"flex-direction":!!i&&"column","align-items":!!i&&pe(a)}],r&&(n[".gb-button-wrapper-"+t+" > .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block"]=[{flex:"1"}],n[".gb-button-wrapper-"+t+" > .components-button"]=[{background:"#fff",border:"1px solid #ddd","margin-top":"10px"}]),i&&r&&(n[".gb-button-wrapper-"+t+" > .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block"]=[{width:"100% !important","box-sizing":"border-box"}]),n=Object(d.applyFilters)("generateblocks.editor.tabletOnlyCSS",n,this.props,"button-container"),Object(l.createElement)("style",null,h(n))}}class ke extends l.Component{render(){const e=Object(d.applyFilters)("generateblocks.editor.cssAttrs",this.props.attributes,this.props),{uniqueId:t,alignmentMobile:a,marginTopMobile:i,marginRightMobile:r,marginBottomMobile:n,marginLeftMobile:o,marginUnit:c,stackMobile:s,fillHorizontalSpaceMobile:g}=e;let b=[];return b[".gb-button-wrapper-"+t]=[{display:!!g&&"block","margin-top":f(i,c),"margin-right":f(r,c),"margin-bottom":f(n,c),"margin-left":f(o,c),"justify-content":pe(a),"flex-direction":!!s&&"column","align-items":!!s&&pe(a)}],b[".gb-button-wrapper-"+t+" > .block-editor-inner-blocks > .block-editor-block-list__layout"]=[{"flex-direction":!!s&&"column","align-items":!!s&&pe(a),"justify-content":pe(a)}],g&&(b[".gb-button-wrapper-"+t+" > .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block"]=[{flex:"1"}],b[".gb-button-wrapper-"+t+" > .components-button"]=[{background:"#fff",border:"1px solid #ddd","margin-top":"10px"}]),s&&g&&(b[".gb-button-wrapper-"+t+" > .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block"]=[{width:"100% !important","box-sizing":"border-box"}]),b=Object(d.applyFilters)("generateblocks.editor.mobileCSS",b,this.props,"button-container"),Object(l.createElement)("style",null,h(b))}}const we=/[\s#]/g,ye=[{icon:"editor-alignleft",title:Object(g.__)("Align Buttons Left","generateblocks"),align:"left"},{icon:"editor-aligncenter",title:Object(g.__)("Align Buttons Center","generateblocks"),align:"center"},{icon:"editor-alignright",title:Object(g.__)("Align Buttons Right","generateblocks"),align:"right"}];class Oe extends l.Component{constructor(){super(...arguments),this.state={selectedDevice:"Desktop"},this.getDeviceType=this.getDeviceType.bind(this),this.setDeviceType=this.setDeviceType.bind(this)}componentDidMount(){const e=T(wp.data.select("core/block-editor").getBlocks(),[],this.props.clientId);this.props.attributes.uniqueId&&!e.includes(this.props.attributes.uniqueId)||this.props.setAttributes({uniqueId:this.props.clientId.substr(2,9).replace("-","")});const t=wp.data.select("core/block-editor").getBlocksByClientId(this.props.clientId)[0];t&&0===t.innerBlocks.length&&wp.data.dispatch("core/block-editor").insertBlocks(Object(E.createBlock)("generateblocks/button",generateBlocksStyling.button),void 0,this.props.clientId),void 0!==this.props.attributes.isDynamic&&this.props.attributes.isDynamic||this.props.setAttributes({isDynamic:!0}),(void 0===this.props.attributes.blockVersion||this.props.attributes.blockVersion<2)&&(this.props.attributes.stack||this.props.attributes.fillHorizontalSpace)&&(this.props.attributes.stack&&this.props.setAttributes({stackTablet:!0,stackMobile:!0}),this.props.attributes.fillHorizontalSpace&&this.props.setAttributes({fillHorizontalSpaceTablet:!0,fillHorizontalSpaceMobile:!0})),(void 0===this.props.attributes.blockVersion||this.props.attributes.blockVersion<2)&&this.props.setAttributes({blockVersion:2})}getDeviceType(){let e=this.props.deviceType?this.props.deviceType:this.state.selectedDevice;return generateBlocksInfo.syncResponsivePreviews||(e=this.state.selectedDevice),e}setDeviceType(e){generateBlocksInfo.syncResponsivePreviews&&this.props.deviceType?(this.props.setDeviceType(e),this.setState({selectedDevice:e})):this.setState({selectedDevice:e})}render(){const{attributes:e,setAttributes:t,clientId:a}=this.props,{uniqueId:i,className:n,anchor:c,alignment:u,alignmentTablet:h,alignmentMobile:f,stack:m,stackTablet:k,stackMobile:w,fillHorizontalSpace:y,fillHorizontalSpaceTablet:O,fillHorizontalSpaceMobile:v}=e;let T={className:o()({"gb-button-wrapper":!0,["gb-button-wrapper-"+i]:!0,[""+n]:void 0!==n}),id:c||null};return T=Object(d.applyFilters)("generateblocks.frontend.htmlAttributes",T,"generateblocks/button-container",e),Object(l.createElement)(l.Fragment,null,Object(l.createElement)(x.BlockControls,null,Object(l.createElement)(b.ToolbarGroup,null,Object(l.createElement)(b.ToolbarButton,{className:"gblocks-add-new-button",icon:s("insert"),label:Object(g.__)("Add Button","generateblocks"),onClick:()=>{const e=wp.data.select("core/block-editor").getBlocksByClientId(a)[0];if(e){const t=e.innerBlocks,l=Object.keys(t),i=l[l.length-1];if(void 0!==t[i]){const e=t[i].clientId;if(e){const t=wp.data.select("core/block-editor").getBlocksByClientId(e)[0],l=Object(E.cloneBlock)(t,{uniqueId:""});wp.data.dispatch("core/block-editor").insertBlocks(l,void 0,a)}}else 0===t.length&&wp.data.dispatch("core/block-editor").insertBlocks(Object(E.createBlock)("generateblocks/button",generateBlocksStyling.button),void 0,a)}},showTooltip:!0})),"Desktop"===this.getDeviceType()&&Object(l.createElement)(x.AlignmentToolbar,{value:u,alignmentControls:ye,onChange:e=>{t({alignment:e})}}),"Tablet"===this.getDeviceType()&&Object(l.createElement)(x.AlignmentToolbar,{value:h,alignmentControls:ye,onChange:e=>{t({alignmentTablet:e})}}),"Mobile"===this.getDeviceType()&&Object(l.createElement)(x.AlignmentToolbar,{value:f,alignmentControls:ye,onChange:e=>{t({alignmentMobile:e})}})),Object(l.createElement)(x.InspectorControls,null,Object(l.createElement)(p,r()({},this.props,{selectedDevice:this.getDeviceType(),onClick:e=>{this.setDeviceType(e)}})),Object(l.createElement)(j,r()({},this.props,{title:Object(g.__)("Spacing","generateblocks"),initialOpen:!0,icon:s("spacing"),className:"gblocks-panel-label",id:"buttonContainerSpacing",state:this.state}),"Desktop"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(V,r()({},this.props,{device:this.getDeviceType(),type:"margin",label:Object(g.__)("Margin","generateblocks"),attrTop:"marginTop",attrRight:"marginRight",attrBottom:"marginBottom",attrLeft:"marginLeft",attrUnit:"marginUnit",attrSyncUnits:"marginSyncUnits",defaults:generateBlocksDefaults.buttonContainer,units:["px","em","%"]})),Object(l.createElement)(b.ToggleControl,{label:Object(g.__)("Stack Vertically","generateblocks"),checked:!!m,onChange:e=>{t({stack:e,stackTablet:e&&!k?e:k,stackMobile:e&&!w?e:w})}}),Object(l.createElement)(b.ToggleControl,{label:Object(g.__)("Fill Horizontal Space","generateblocks"),checked:!!y,onChange:e=>{t({fillHorizontalSpace:e,fillHorizontalSpaceTablet:e&&!O?e:O,fillHorizontalSpaceMobile:e&&!v?e:v})}})),"Tablet"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(V,r()({},this.props,{device:this.getDeviceType(),type:"margin",label:Object(g.__)("Margin","generateblocks"),attrTop:"marginTopTablet",attrRight:"marginRightTablet",attrBottom:"marginBottomTablet",attrLeft:"marginLeftTablet",attrUnit:"marginUnit",attrSyncUnits:"marginSyncUnits",defaults:generateBlocksDefaults.buttonContainer,units:["px","em","%"]})),Object(l.createElement)(b.ToggleControl,{label:Object(g.__)("Stack Vertically","generateblocks"),checked:!!k,onChange:e=>{t({stackTablet:e,stackMobile:e&&!w?e:w})}}),Object(l.createElement)(b.ToggleControl,{label:Object(g.__)("Fill Horizontal Space","generateblocks"),checked:!!O,onChange:e=>{t({fillHorizontalSpaceTablet:e,fillHorizontalSpaceMobile:e&&!v?e:v})}})),"Mobile"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(V,r()({},this.props,{device:this.getDeviceType(),type:"margin",label:Object(g.__)("Margin","generateblocks"),attrTop:"marginTopMobile",attrRight:"marginRightMobile",attrBottom:"marginBottomMobile",attrLeft:"marginLeftMobile",attrUnit:"marginUnit",attrSyncUnits:"marginSyncUnits",defaults:generateBlocksDefaults.buttonContainer,units:["px","em","%"]})),Object(l.createElement)(b.ToggleControl,{label:Object(g.__)("Stack Vertically","generateblocks"),checked:!!w,onChange:e=>{t({stackMobile:e})}}),Object(l.createElement)(b.ToggleControl,{label:Object(g.__)("Fill Horizontal Space","generateblocks"),checked:!!v,onChange:e=>{t({fillHorizontalSpaceMobile:e})}})),Object(d.applyFilters)("generateblocks.editor.controls","","buttonContainerSpacing",this.props,this.state)),Object(l.createElement)(j,r()({},this.props,{title:Object(g.__)("Documentation","generateblocks"),icon:s("documentation"),initialOpen:!1,className:"gblocks-panel-label",id:"buttonContainerDocumentation",state:this.state}),Object(l.createElement)("p",null,Object(g.__)("Need help with this block?","generateblocks")),Object(l.createElement)("a",{href:"https://docs.generateblocks.com/collection/buttons/",target:"_blank",rel:"noreferrer noopener"},Object(g.__)("Visit our documentation","generateblocks")),Object(d.applyFilters)("generateblocks.editor.controls","","buttonContainerDocumentation",this.props,this.state))),Object(l.createElement)(x.InspectorAdvancedControls,null,Object(l.createElement)(b.TextControl,{label:Object(g.__)("HTML Anchor","generateblocks"),help:Object(g.__)("Anchors lets you link directly to a section on a page.","generateblocks"),value:c||"",onChange:e=>{e=e.replace(we,"-"),t({anchor:e})}})),Object(l.createElement)(ue,this.props),this.props.deviceType&&Object(l.createElement)(l.Fragment,null,"Desktop"===this.props.deviceType&&Object(l.createElement)(he,this.props),("Tablet"===this.props.deviceType||"Mobile"===this.props.deviceType)&&Object(l.createElement)(fe,this.props),"Tablet"===this.props.deviceType&&Object(l.createElement)(me,this.props),"Mobile"===this.props.deviceType&&Object(l.createElement)(ke,this.props)),Object(l.createElement)("div",T,Object(l.createElement)(x.InnerBlocks,{allowedBlocks:["generateblocks/button"],renderAppender:()=>Object(l.createElement)(b.Tooltip,{text:Object(g.__)("Add Button","generateblocks")},Object(l.createElement)(b.Button,{className:"gblocks-add-new-button gblocks-button-container-appender",icon:"insert",onClick:()=>{wp.data.dispatch("core/block-editor").insertBlocks(Object(E.createBlock)("generateblocks/button",generateBlocksStyling.button),void 0,a)}}))})))}}var ve=Object(M.compose)([Object(D.withDispatch)(e=>({setDeviceType(t){const{__experimentalSetPreviewDeviceType:a}=e("core/edit-post")||!1;a&&a(t)}})),Object(D.withSelect)(e=>{const{__experimentalGetPreviewDeviceType:t}=e("core/edit-post")||!1;return t?{deviceType:t()}:{deviceType:null}})])(Oe),je={uniqueId:{type:"string",default:""},anchor:{type:"string",default:""},alignment:{type:"string",default:generateBlocksDefaults.buttonContainer.alignment},alignmentTablet:{type:"string",default:generateBlocksDefaults.buttonContainer.alignment},alignmentMobile:{type:"string",default:generateBlocksDefaults.buttonContainer.alignment},marginTop:{type:"string",default:generateBlocksDefaults.buttonContainer.marginTop},marginRight:{type:"string",default:generateBlocksDefaults.buttonContainer.marginRight},marginBottom:{type:"string",default:generateBlocksDefaults.buttonContainer.marginBottom},marginLeft:{type:"string",default:generateBlocksDefaults.buttonContainer.marginLeft},marginUnit:{type:"string",default:generateBlocksDefaults.buttonContainer.marginUnit},marginTopTablet:{type:"string",default:generateBlocksDefaults.buttonContainer.marginTopTablet},marginRightTablet:{type:"string",default:generateBlocksDefaults.buttonContainer.marginRightTablet},marginBottomTablet:{type:"string",default:generateBlocksDefaults.buttonContainer.marginBottomTablet},marginLeftTablet:{type:"string",default:generateBlocksDefaults.buttonContainer.marginLeftTablet},marginTopMobile:{type:"string",default:generateBlocksDefaults.buttonContainer.marginTopMobile},marginRightMobile:{type:"string",default:generateBlocksDefaults.buttonContainer.marginRightMobile},marginBottomMobile:{type:"string",default:generateBlocksDefaults.buttonContainer.marginBottomMobile},marginLeftMobile:{type:"string",default:generateBlocksDefaults.buttonContainer.marginLeftMobile},stack:{type:"boolean",default:generateBlocksDefaults.buttonContainer.stack},stackTablet:{type:"boolean",default:generateBlocksDefaults.buttonContainer.stackTablet},stackMobile:{type:"boolean",default:generateBlocksDefaults.buttonContainer.stackMobile},fillHorizontalSpace:{type:"boolean",default:generateBlocksDefaults.buttonContainer.fillHorizontalSpace},fillHorizontalSpaceTablet:{type:"boolean",default:generateBlocksDefaults.buttonContainer.fillHorizontalSpaceTablet},fillHorizontalSpaceMobile:{type:"boolean",default:generateBlocksDefaults.buttonContainer.fillHorizontalSpaceMobile},isDynamic:{type:"boolean"},blockVersion:{type:"number"},elementId:{type:"string",default:""},cssClasses:{type:"string",default:""}},Te=[{attributes:je,supports:{anchor:!1,className:!1,customClassName:!1},migrate(e){const t=e.cssClasses?e.cssClasses:e.className,a=e.elementId?e.elementId:e.anchor;return{...e,className:t,anchor:a,cssClasses:"",elementId:""}},save({attributes:e}){const{uniqueId:t,elementId:a,cssClasses:i}=e;let r={id:a||void 0,className:o()({"gb-button-wrapper":!0,["gb-button-wrapper-"+t]:!0,[""+i]:""!==i})};return r=Object(d.applyFilters)("generateblocks.frontend.htmlAttributes",r,"generateblocks/button-container",e),Object(l.createElement)("div",r,Object(l.createElement)(x.InnerBlocks.Content,null))}}];Object(E.registerBlockType)("generateblocks/button-container",{title:Object(g.__)("Buttons","generateblocks"),description:Object(g.__)("Drive conversions with beautiful buttons.","generateblocks"),icon:s("button"),category:"generateblocks",keywords:[Object(g.__)("button"),Object(g.__)("buttons"),Object(g.__)("generate")],attributes:je,supports:{className:!1},edit:ve,save:()=>Object(l.createElement)(x.InnerBlocks.Content,null),deprecated:Te});var Ce={facebook:{label:Object(g._x)("Facebook","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 320 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M279.14 288l14.22-92.66h-88.91v-60.13c0-25.35 12.42-50.06 52.24-50.06h40.42V6.26S260.43 0 225.36 0c-73.22 0-121.08 44.38-121.08 124.72v70.62H22.89V288h81.39v224h100.17V288z"}))},facebookCircle:{label:Object(g._x)("Facebook - Circle","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M504 256C504 119 393 8 256 8S8 119 8 256c0 123.78 90.69 226.38 209.25 245V327.69h-63V256h63v-54.64c0-62.15 37-96.48 93.67-96.48 27.14 0 55.52 4.84 55.52 4.84v61h-31.28c-30.8 0-40.41 19.12-40.41 38.73V256h68.78l-11 71.69h-57.78V501C413.31 482.38 504 379.78 504 256z"}))},facebookSquare:{label:Object(g._x)("Facebook - Square","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 448 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M400 32H48A48 48 0 0 0 0 80v352a48 48 0 0 0 48 48h137.25V327.69h-63V256h63v-54.64c0-62.15 37-96.48 93.67-96.48 27.14 0 55.52 4.84 55.52 4.84v61h-31.27c-30.81 0-40.42 19.12-40.42 38.73V256h68.78l-11 71.69h-57.78V480H400a48 48 0 0 0 48-48V80a48 48 0 0 0-48-48z"}))},instagram:{label:Object(g._x)("Instagram","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 448 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z"}))},linkedin:{label:Object(g._x)("LinkedIn","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 448 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M100.28 448H7.4V148.9h92.88zM53.79 108.1C24.09 108.1 0 83.5 0 53.8a53.79 53.79 0 0 1 107.58 0c0 29.7-24.1 54.3-53.79 54.3zM447.9 448h-92.68V302.4c0-34.7-.7-79.2-48.29-79.2-48.29 0-55.69 37.7-55.69 76.7V448h-92.78V148.9h89.08v40.8h1.3c12.4-23.5 42.69-48.3 87.88-48.3 94 0 111.28 61.9 111.28 142.3V448z"}))},linkedinSquare:{label:Object(g._x)("LinkedIn - Square","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 448 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M416 32H31.9C14.3 32 0 46.5 0 64.3v383.4C0 465.5 14.3 480 31.9 480H416c17.6 0 32-14.5 32-32.3V64.3c0-17.8-14.4-32.3-32-32.3zM135.4 416H69V202.2h66.5V416zm-33.2-243c-21.3 0-38.5-17.3-38.5-38.5S80.9 96 102.2 96c21.2 0 38.5 17.3 38.5 38.5 0 21.3-17.2 38.5-38.5 38.5zm282.1 243h-66.4V312c0-24.8-.5-56.7-34.5-56.7-34.6 0-39.9 27-39.9 54.9V416h-66.4V202.2h63.7v29.2h.9c8.9-16.8 30.6-34.5 62.9-34.5 67.2 0 79.7 44.3 79.7 101.9V416z"}))},pinterest:{label:Object(g._x)("Pinterest","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 384 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M204 6.5C101.4 6.5 0 74.9 0 185.6 0 256 39.6 296 63.6 296c9.9 0 15.6-27.6 15.6-35.4 0-9.3-23.7-29.1-23.7-67.8 0-80.4 61.2-137.4 140.4-137.4 68.1 0 118.5 38.7 118.5 109.8 0 53.1-21.3 152.7-90.3 152.7-24.9 0-46.2-18-46.2-43.8 0-37.8 26.4-74.4 26.4-113.4 0-66.2-93.9-54.2-93.9 25.8 0 16.8 2.1 35.4 9.6 50.7-13.8 59.4-42 147.9-42 209.1 0 18.9 2.7 37.5 4.5 56.4 3.4 3.8 1.7 3.4 6.9 1.5 50.4-69 48.6-82.5 71.4-172.8 12.3 23.4 44.1 36 69.3 36 106.2 0 153.9-103.5 153.9-196.8C384 71.3 298.2 6.5 204 6.5z"}))},pinterestCircle:{label:Object(g._x)("Pinterest - Circle","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 496 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M496 256c0 137-111 248-248 248-25.6 0-50.2-3.9-73.4-11.1 10.1-16.5 25.2-43.5 30.8-65 3-11.6 15.4-59 15.4-59 8.1 15.4 31.7 28.5 56.8 28.5 74.8 0 128.7-68.8 128.7-154.3 0-81.9-66.9-143.2-152.9-143.2-107 0-163.9 71.8-163.9 150.1 0 36.4 19.4 81.7 50.3 96.1 4.7 2.2 7.2 1.2 8.3-3.3.8-3.4 5-20.3 6.9-28.1.6-2.5.3-4.7-1.7-7.1-10.1-12.5-18.3-35.3-18.3-56.6 0-54.7 41.4-107.6 112-107.6 60.9 0 103.6 41.5 103.6 100.9 0 67.1-33.9 113.6-78 113.6-24.3 0-42.6-20.1-36.7-44.8 7-29.5 20.5-61.3 20.5-82.6 0-19-10.2-34.9-31.4-34.9-24.9 0-44.9 25.7-44.9 60.2 0 22 7.4 36.8 7.4 36.8s-24.5 103.8-29 123.2c-5 21.4-3 51.6-.9 71.2C65.4 450.9 0 361.1 0 256 0 119 111 8 248 8s248 111 248 248z"}))},pinterestSquare:{label:Object(g._x)("Pinterest - Square","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 448 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M448 80v352c0 26.5-21.5 48-48 48H154.4c9.8-16.4 22.4-40 27.4-59.3 3-11.5 15.3-58.4 15.3-58.4 8 15.3 31.4 28.2 56.3 28.2 74.1 0 127.4-68.1 127.4-152.7 0-81.1-66.2-141.8-151.4-141.8-106 0-162.2 71.1-162.2 148.6 0 36 19.2 80.8 49.8 95.1 4.7 2.2 7.1 1.2 8.2-3.3.8-3.4 5-20.1 6.8-27.8.6-2.5.3-4.6-1.7-7-10.1-12.3-18.3-34.9-18.3-56 0-54.2 41-106.6 110.9-106.6 60.3 0 102.6 41.1 102.6 99.9 0 66.4-33.5 112.4-77.2 112.4-24.1 0-42.1-19.9-36.4-44.4 6.9-29.2 20.3-60.7 20.3-81.8 0-53-75.5-45.7-75.5 25 0 21.7 7.3 36.5 7.3 36.5-31.4 132.8-36.1 134.5-29.6 192.6l2.2.8H48c-26.5 0-48-21.5-48-48V80c0-26.5 21.5-48 48-48h352c26.5 0 48 21.5 48 48z"}))},reddit:{label:Object(g._x)("Reddit","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M440.3 203.5c-15 0-28.2 6.2-37.9 15.9-35.7-24.7-83.8-40.6-137.1-42.3L293 52.3l88.2 19.8c0 21.6 17.6 39.2 39.2 39.2 22 0 39.7-18.1 39.7-39.7s-17.6-39.7-39.7-39.7c-15.4 0-28.7 9.3-35.3 22l-97.4-21.6c-4.9-1.3-9.7 2.2-11 7.1L246.3 177c-52.9 2.2-100.5 18.1-136.3 42.8-9.7-10.1-23.4-16.3-38.4-16.3-55.6 0-73.8 74.6-22.9 100.1-1.8 7.9-2.6 16.3-2.6 24.7 0 83.8 94.4 151.7 210.3 151.7 116.4 0 210.8-67.9 210.8-151.7 0-8.4-.9-17.2-3.1-25.1 49.9-25.6 31.5-99.7-23.8-99.7zM129.4 308.9c0-22 17.6-39.7 39.7-39.7 21.6 0 39.2 17.6 39.2 39.7 0 21.6-17.6 39.2-39.2 39.2-22 .1-39.7-17.6-39.7-39.2zm214.3 93.5c-36.4 36.4-139.1 36.4-175.5 0-4-3.5-4-9.7 0-13.7 3.5-3.5 9.7-3.5 13.2 0 27.8 28.5 120 29 149 0 3.5-3.5 9.7-3.5 13.2 0 4.1 4 4.1 10.2.1 13.7zm-.8-54.2c-21.6 0-39.2-17.6-39.2-39.2 0-22 17.6-39.7 39.2-39.7 22 0 39.7 17.6 39.7 39.7-.1 21.5-17.7 39.2-39.7 39.2z"}))},redditCircle:{label:Object(g._x)("Reddit - Circle","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M201.5 305.5c-13.8 0-24.9-11.1-24.9-24.6 0-13.8 11.1-24.9 24.9-24.9 13.6 0 24.6 11.1 24.6 24.9 0 13.6-11.1 24.6-24.6 24.6zM504 256c0 137-111 248-248 248S8 393 8 256 119 8 256 8s248 111 248 248zm-132.3-41.2c-9.4 0-17.7 3.9-23.8 10-22.4-15.5-52.6-25.5-86.1-26.6l17.4-78.3 55.4 12.5c0 13.6 11.1 24.6 24.6 24.6 13.8 0 24.9-11.3 24.9-24.9s-11.1-24.9-24.9-24.9c-9.7 0-18 5.8-22.1 13.8l-61.2-13.6c-3-.8-6.1 1.4-6.9 4.4l-19.1 86.4c-33.2 1.4-63.1 11.3-85.5 26.8-6.1-6.4-14.7-10.2-24.1-10.2-34.9 0-46.3 46.9-14.4 62.8-1.1 5-1.7 10.2-1.7 15.5 0 52.6 59.2 95.2 132 95.2 73.1 0 132.3-42.6 132.3-95.2 0-5.3-.6-10.8-1.9-15.8 31.3-16 19.8-62.5-14.9-62.5zM302.8 331c-18.2 18.2-76.1 17.9-93.6 0-2.2-2.2-6.1-2.2-8.3 0-2.5 2.5-2.5 6.4 0 8.6 22.8 22.8 87.3 22.8 110.2 0 2.5-2.2 2.5-6.1 0-8.6-2.2-2.2-6.1-2.2-8.3 0zm7.7-75c-13.6 0-24.6 11.1-24.6 24.9 0 13.6 11.1 24.6 24.6 24.6 13.8 0 24.9-11.1 24.9-24.6 0-13.8-11-24.9-24.9-24.9z"}))},redditSquare:{label:Object(g._x)("Reddit - Square","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 448 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M283.2 345.5c2.7 2.7 2.7 6.8 0 9.2-24.5 24.5-93.8 24.6-118.4 0-2.7-2.4-2.7-6.5 0-9.2 2.4-2.4 6.5-2.4 8.9 0 18.7 19.2 81 19.6 100.5 0 2.4-2.3 6.6-2.3 9 0zm-91.3-53.8c0-14.9-11.9-26.8-26.5-26.8-14.9 0-26.8 11.9-26.8 26.8 0 14.6 11.9 26.5 26.8 26.5 14.6 0 26.5-11.9 26.5-26.5zm90.7-26.8c-14.6 0-26.5 11.9-26.5 26.8 0 14.6 11.9 26.5 26.5 26.5 14.9 0 26.8-11.9 26.8-26.5 0-14.9-11.9-26.8-26.8-26.8zM448 80v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V80c0-26.5 21.5-48 48-48h352c26.5 0 48 21.5 48 48zm-99.7 140.6c-10.1 0-19 4.2-25.6 10.7-24.1-16.7-56.5-27.4-92.5-28.6l18.7-84.2 59.5 13.4c0 14.6 11.9 26.5 26.5 26.5 14.9 0 26.8-12.2 26.8-26.8 0-14.6-11.9-26.8-26.8-26.8-10.4 0-19.3 6.2-23.8 14.9l-65.7-14.6c-3.3-.9-6.5 1.5-7.4 4.8l-20.5 92.8c-35.7 1.5-67.8 12.2-91.9 28.9-6.5-6.8-15.8-11-25.9-11-37.5 0-49.8 50.4-15.5 67.5-1.2 5.4-1.8 11-1.8 16.7 0 56.5 63.7 102.3 141.9 102.3 78.5 0 142.2-45.8 142.2-102.3 0-5.7-.6-11.6-2.1-17 33.6-17.2 21.2-67.2-16.1-67.2z"}))},snapchat:{label:Object(g._x)("Snapchat","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M510.846 392.673c-5.211 12.157-27.239 21.089-67.36 27.318-2.064 2.786-3.775 14.686-6.507 23.956-1.625 5.566-5.623 8.869-12.128 8.869l-.297-.005c-9.395 0-19.203-4.323-38.852-4.323-26.521 0-35.662 6.043-56.254 20.588-21.832 15.438-42.771 28.764-74.027 27.399-31.646 2.334-58.025-16.908-72.871-27.404-20.714-14.643-29.828-20.582-56.241-20.582-18.864 0-30.736 4.72-38.852 4.72-8.073 0-11.213-4.922-12.422-9.04-2.703-9.189-4.404-21.263-6.523-24.13-20.679-3.209-67.31-11.344-68.498-32.15a10.627 10.627 0 0 1 8.877-11.069c69.583-11.455 100.924-82.901 102.227-85.934.074-.176.155-.344.237-.515 3.713-7.537 4.544-13.849 2.463-18.753-5.05-11.896-26.872-16.164-36.053-19.796-23.715-9.366-27.015-20.128-25.612-27.504 2.437-12.836 21.725-20.735 33.002-15.453 8.919 4.181 16.843 6.297 23.547 6.297 5.022 0 8.212-1.204 9.96-2.171-2.043-35.936-7.101-87.29 5.687-115.969C158.122 21.304 229.705 15.42 250.826 15.42c.944 0 9.141-.089 10.11-.089 52.148 0 102.254 26.78 126.723 81.643 12.777 28.65 7.749 79.792 5.695 116.009 1.582.872 4.357 1.942 8.599 2.139 6.397-.286 13.815-2.389 22.069-6.257 6.085-2.846 14.406-2.461 20.48.058l.029.01c9.476 3.385 15.439 10.215 15.589 17.87.184 9.747-8.522 18.165-25.878 25.018-2.118.835-4.694 1.655-7.434 2.525-9.797 3.106-24.6 7.805-28.616 17.271-2.079 4.904-1.256 11.211 2.46 18.748.087.168.166.342.239.515 1.301 3.03 32.615 74.46 102.23 85.934 6.427 1.058 11.163 7.877 7.725 15.859z"}))},soundcloud:{label:Object(g._x)("Soundcloud","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 640 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M111.4 256.3l5.8 65-5.8 68.3c-.3 2.5-2.2 4.4-4.4 4.4s-4.2-1.9-4.2-4.4l-5.6-68.3 5.6-65c0-2.2 1.9-4.2 4.2-4.2 2.2 0 4.1 2 4.4 4.2zm21.4-45.6c-2.8 0-4.7 2.2-5 5l-5 105.6 5 68.3c.3 2.8 2.2 5 5 5 2.5 0 4.7-2.2 4.7-5l5.8-68.3-5.8-105.6c0-2.8-2.2-5-4.7-5zm25.5-24.1c-3.1 0-5.3 2.2-5.6 5.3l-4.4 130 4.4 67.8c.3 3.1 2.5 5.3 5.6 5.3 2.8 0 5.3-2.2 5.3-5.3l5.3-67.8-5.3-130c0-3.1-2.5-5.3-5.3-5.3zM7.2 283.2c-1.4 0-2.2 1.1-2.5 2.5L0 321.3l4.7 35c.3 1.4 1.1 2.5 2.5 2.5s2.2-1.1 2.5-2.5l5.6-35-5.6-35.6c-.3-1.4-1.1-2.5-2.5-2.5zm23.6-21.9c-1.4 0-2.5 1.1-2.5 2.5l-6.4 57.5 6.4 56.1c0 1.7 1.1 2.8 2.5 2.8s2.5-1.1 2.8-2.5l7.2-56.4-7.2-57.5c-.3-1.4-1.4-2.5-2.8-2.5zm25.3-11.4c-1.7 0-3.1 1.4-3.3 3.3L47 321.3l5.8 65.8c.3 1.7 1.7 3.1 3.3 3.1 1.7 0 3.1-1.4 3.1-3.1l6.9-65.8-6.9-68.1c0-1.9-1.4-3.3-3.1-3.3zm25.3-2.2c-1.9 0-3.6 1.4-3.6 3.6l-5.8 70 5.8 67.8c0 2.2 1.7 3.6 3.6 3.6s3.6-1.4 3.9-3.6l6.4-67.8-6.4-70c-.3-2.2-2-3.6-3.9-3.6zm241.4-110.9c-1.1-.8-2.8-1.4-4.2-1.4-2.2 0-4.2.8-5.6 1.9-1.9 1.7-3.1 4.2-3.3 6.7v.8l-3.3 176.7 1.7 32.5 1.7 31.7c.3 4.7 4.2 8.6 8.9 8.6s8.6-3.9 8.6-8.6l3.9-64.2-3.9-177.5c-.4-3-2-5.8-4.5-7.2zm-26.7 15.3c-1.4-.8-2.8-1.4-4.4-1.4s-3.1.6-4.4 1.4c-2.2 1.4-3.6 3.9-3.6 6.7l-.3 1.7-2.8 160.8s0 .3 3.1 65.6v.3c0 1.7.6 3.3 1.7 4.7 1.7 1.9 3.9 3.1 6.4 3.1 2.2 0 4.2-1.1 5.6-2.5 1.7-1.4 2.5-3.3 2.5-5.6l.3-6.7 3.1-58.6-3.3-162.8c-.3-2.8-1.7-5.3-3.9-6.7zm-111.4 22.5c-3.1 0-5.8 2.8-5.8 6.1l-4.4 140.6 4.4 67.2c.3 3.3 2.8 5.8 5.8 5.8 3.3 0 5.8-2.5 6.1-5.8l5-67.2-5-140.6c-.2-3.3-2.7-6.1-6.1-6.1zm376.7 62.8c-10.8 0-21.1 2.2-30.6 6.1-6.4-70.8-65.8-126.4-138.3-126.4-17.8 0-35 3.3-50.3 9.4-6.1 2.2-7.8 4.4-7.8 9.2v249.7c0 5 3.9 8.6 8.6 9.2h218.3c43.3 0 78.6-35 78.6-78.3.1-43.6-35.2-78.9-78.5-78.9zm-296.7-60.3c-4.2 0-7.5 3.3-7.8 7.8l-3.3 136.7 3.3 65.6c.3 4.2 3.6 7.5 7.8 7.5 4.2 0 7.5-3.3 7.5-7.5l3.9-65.6-3.9-136.7c-.3-4.5-3.3-7.8-7.5-7.8zm-53.6-7.8c-3.3 0-6.4 3.1-6.4 6.7l-3.9 145.3 3.9 66.9c.3 3.6 3.1 6.4 6.4 6.4 3.6 0 6.4-2.8 6.7-6.4l4.4-66.9-4.4-145.3c-.3-3.6-3.1-6.7-6.7-6.7zm26.7 3.4c-3.9 0-6.9 3.1-6.9 6.9L227 321.3l3.9 66.4c.3 3.9 3.1 6.9 6.9 6.9s6.9-3.1 6.9-6.9l4.2-66.4-4.2-141.7c0-3.9-3-6.9-6.9-6.9z"}))},twitch:{label:Object(g._x)("Twitch","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 448 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M40.1 32L10 108.9v314.3h107V480h60.2l56.8-56.8h87l117-117V32H40.1zm357.8 254.1L331 353H224l-56.8 56.8V353H76.9V72.1h321v214zM331 149v116.9h-40.1V149H331zm-107 0v116.9h-40.1V149H224z"}))},twitter:{label:Object(g._x)("Twitter","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z"}))},twitterSquare:{label:Object(g._x)("Twitter - Square","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 448 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M400 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zm-48.9 158.8c.2 2.8.2 5.7.2 8.5 0 86.7-66 186.6-186.6 186.6-37.2 0-71.7-10.8-100.7-29.4 5.3.6 10.4.8 15.8.8 30.7 0 58.9-10.4 81.4-28-28.8-.6-53-19.5-61.3-45.5 10.1 1.5 19.2 1.5 29.6-1.2-30-6.1-52.5-32.5-52.5-64.4v-.8c8.7 4.9 18.9 7.9 29.6 8.3a65.447 65.447 0 0 1-29.2-54.6c0-12.2 3.2-23.4 8.9-33.1 32.3 39.8 80.8 65.8 135.2 68.6-9.3-44.5 24-80.6 64-80.6 18.9 0 35.9 7.9 47.9 20.7 14.8-2.8 29-8.3 41.6-15.8-4.9 15.2-15.2 28-28.8 36.1 13.2-1.4 26-5.1 37.8-10.2-8.9 13.1-20.1 24.7-32.9 34z"}))},vimeo:{label:Object(g._x)("Vimeo","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 448 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M447.8 153.6c-2 43.6-32.4 103.3-91.4 179.1-60.9 79.2-112.4 118.8-154.6 118.8-26.1 0-48.2-24.1-66.3-72.3C100.3 250 85.3 174.3 56.2 174.3c-3.4 0-15.1 7.1-35.2 21.1L0 168.2c51.6-45.3 100.9-95.7 131.8-98.5 34.9-3.4 56.3 20.5 64.4 71.5 28.7 181.5 41.4 208.9 93.6 126.7 18.7-29.6 28.8-52.1 30.2-67.6 4.8-45.9-35.8-42.8-63.3-31 22-72.1 64.1-107.1 126.2-105.1 45.8 1.2 67.5 31.1 64.9 89.4z"}))},vimeoSquare:{label:Object(g._x)("Vimeo - Square","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 448 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M403.2 32H44.8C20.1 32 0 52.1 0 76.8v358.4C0 459.9 20.1 480 44.8 480h358.4c24.7 0 44.8-20.1 44.8-44.8V76.8c0-24.7-20.1-44.8-44.8-44.8zM377 180.8c-1.4 31.5-23.4 74.7-66 129.4-44 57.2-81.3 85.8-111.7 85.8-18.9 0-34.8-17.4-47.9-52.3-25.5-93.3-36.4-148-57.4-148-2.4 0-10.9 5.1-25.4 15.2l-15.2-19.6c37.3-32.8 72.9-69.2 95.2-71.2 25.2-2.4 40.7 14.8 46.5 51.7 20.7 131.2 29.9 151 67.6 91.6 13.5-21.4 20.8-37.7 21.8-48.9 3.5-33.2-25.9-30.9-45.8-22.4 15.9-52.1 46.3-77.4 91.2-76 33.3.9 49 22.5 47.1 64.7z"}))},whatsapp:{label:Object(g._x)("WhatsApp","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 448 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M380.9 97.1C339 55.1 283.2 32 223.9 32c-122.4 0-222 99.6-222 222 0 39.1 10.2 77.3 29.6 111L0 480l117.7-30.9c32.4 17.7 68.9 27 106.1 27h.1c122.3 0 224.1-99.6 224.1-222 0-59.3-25.2-115-67.1-157zm-157 341.6c-33.2 0-65.7-8.9-94-25.7l-6.7-4-69.8 18.3L72 359.2l-4.4-7c-18.5-29.4-28.2-63.3-28.2-98.2 0-101.7 82.8-184.5 184.6-184.5 49.3 0 95.6 19.2 130.4 54.1 34.8 34.9 56.2 81.2 56.1 130.5 0 101.8-84.9 184.6-186.6 184.6zm101.2-138.2c-5.5-2.8-32.8-16.2-37.9-18-5.1-1.9-8.8-2.8-12.5 2.8-3.7 5.6-14.3 18-17.6 21.8-3.2 3.7-6.5 4.2-12 1.4-32.6-16.3-54-29.1-75.5-66-5.7-9.8 5.7-9.1 16.3-30.3 1.8-3.7.9-6.9-.5-9.7-1.4-2.8-12.5-30.1-17.1-41.2-4.5-10.8-9.1-9.3-12.5-9.5-3.2-.2-6.9-.2-10.6-.2-3.7 0-9.7 1.4-14.8 6.9-5.1 5.6-19.4 19-19.4 46.3 0 27.3 19.9 53.7 22.6 57.4 2.8 3.7 39.1 59.7 94.8 83.8 35.2 15.2 49 16.5 66.6 13.9 10.7-1.6 32.8-13.4 37.4-26.4 4.6-13 4.6-24.1 3.2-26.4-1.3-2.5-5-3.9-10.5-6.6z"}))},whatsappSquare:{label:Object(g._x)("WhatsApp - Square","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 448 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M224 122.8c-72.7 0-131.8 59.1-131.9 131.8 0 24.9 7 49.2 20.2 70.1l3.1 5-13.3 48.6 49.9-13.1 4.8 2.9c20.2 12 43.4 18.4 67.1 18.4h.1c72.6 0 133.3-59.1 133.3-131.8 0-35.2-15.2-68.3-40.1-93.2-25-25-58-38.7-93.2-38.7zm77.5 188.4c-3.3 9.3-19.1 17.7-26.7 18.8-12.6 1.9-22.4.9-47.5-9.9-39.7-17.2-65.7-57.2-67.7-59.8-2-2.6-16.2-21.5-16.2-41s10.2-29.1 13.9-33.1c3.6-4 7.9-5 10.6-5 2.6 0 5.3 0 7.6.1 2.4.1 5.7-.9 8.9 6.8 3.3 7.9 11.2 27.4 12.2 29.4s1.7 4.3.3 6.9c-7.6 15.2-15.7 14.6-11.6 21.6 15.3 26.3 30.6 35.4 53.9 47.1 4 2 6.3 1.7 8.6-1 2.3-2.6 9.9-11.6 12.5-15.5 2.6-4 5.3-3.3 8.9-2 3.6 1.3 23.1 10.9 27.1 12.9s6.6 3 7.6 4.6c.9 1.9.9 9.9-2.4 19.1zM400 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zM223.9 413.2c-26.6 0-52.7-6.7-75.8-19.3L64 416l22.5-82.2c-13.9-24-21.2-51.3-21.2-79.3C65.4 167.1 136.5 96 223.9 96c42.4 0 82.2 16.5 112.2 46.5 29.9 30 47.9 69.8 47.9 112.2 0 87.4-72.7 158.5-160.1 158.5z"}))},youtube:{label:Object(g._x)("YouTube","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 576 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M549.655 124.083c-6.281-23.65-24.787-42.276-48.284-48.597C458.781 64 288 64 288 64S117.22 64 74.629 75.486c-23.497 6.322-42.003 24.947-48.284 48.597-11.412 42.867-11.412 132.305-11.412 132.305s0 89.438 11.412 132.305c6.281 23.65 24.787 41.5 48.284 47.821C117.22 448 288 448 288 448s170.78 0 213.371-11.486c23.497-6.321 42.003-24.171 48.284-47.821 11.412-42.867 11.412-132.305 11.412-132.305s0-89.438-11.412-132.305zm-317.51 213.508V175.185l142.739 81.205-142.739 81.201z"}))}},Be={clock:{label:Object(g._x)("Clock","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm92.49 313l-20 25a16 16 0 01-22.49 2.5l-67-49.72a40 40 0 01-15-31.23V112a16 16 0 0116-16h32a16 16 0 0116 16v144l58 42.5a16 16 0 012.49 22.5z"}))},clockAlt:{label:Object(g._x)("Clock Outline","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm0 448c-110.5 0-200-89.5-200-200S145.5 56 256 56s200 89.5 200 200-89.5 200-200 200zm61.8-104.4l-84.9-61.7c-3.1-2.3-4.9-5.9-4.9-9.7V116c0-6.6 5.4-12 12-12h32c6.6 0 12 5.4 12 12v141.7l66.8 48.6c5.4 3.9 6.5 11.4 2.6 16.8L334.6 349c-3.9 5.3-11.4 6.5-16.8 2.6z"}))},asterisk:{label:Object(g._x)("Asterisk","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M478.21 334.093L336 256l142.21-78.093c11.795-6.477 15.961-21.384 9.232-33.037l-19.48-33.741c-6.728-11.653-21.72-15.499-33.227-8.523L296 186.718l3.475-162.204C299.763 11.061 288.937 0 275.48 0h-38.96c-13.456 0-24.283 11.061-23.994 24.514L216 186.718 77.265 102.607c-11.506-6.976-26.499-3.13-33.227 8.523l-19.48 33.741c-6.728 11.653-2.562 26.56 9.233 33.037L176 256 33.79 334.093c-11.795 6.477-15.961 21.384-9.232 33.037l19.48 33.741c6.728 11.653 21.721 15.499 33.227 8.523L216 325.282l-3.475 162.204C212.237 500.939 223.064 512 236.52 512h38.961c13.456 0 24.283-11.061 23.995-24.514L296 325.282l138.735 84.111c11.506 6.976 26.499 3.13 33.227-8.523l19.48-33.741c6.728-11.653 2.563-26.559-9.232-33.036z"}))},at:{label:Object(g._x)("At","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M256 8C118.941 8 8 118.919 8 256c0 137.059 110.919 248 248 248 48.154 0 95.342-14.14 135.408-40.223 12.005-7.815 14.625-24.288 5.552-35.372l-10.177-12.433c-7.671-9.371-21.179-11.667-31.373-5.129C325.92 429.757 291.314 440 256 440c-101.458 0-184-82.542-184-184S154.542 72 256 72c100.139 0 184 57.619 184 160 0 38.786-21.093 79.742-58.17 83.693-17.349-.454-16.91-12.857-13.476-30.024l23.433-121.11C394.653 149.75 383.308 136 368.225 136h-44.981a13.518 13.518 0 0 0-13.432 11.993l-.01.092c-14.697-17.901-40.448-21.775-59.971-21.775-74.58 0-137.831 62.234-137.831 151.46 0 65.303 36.785 105.87 96 105.87 26.984 0 57.369-15.637 74.991-38.333 9.522 34.104 40.613 34.103 70.71 34.103C462.609 379.41 504 307.798 504 232 504 95.653 394.023 8 256 8zm-21.68 304.43c-22.249 0-36.07-15.623-36.07-40.771 0-44.993 30.779-72.729 58.63-72.729 22.292 0 35.601 15.241 35.601 40.77 0 45.061-33.875 72.73-58.161 72.73z"}))},award:{label:Object(g._x)("Award","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 384 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M97.12 362.63c-8.69-8.69-4.16-6.24-25.12-11.85-9.51-2.55-17.87-7.45-25.43-13.32L1.2 448.7c-4.39 10.77 3.81 22.47 15.43 22.03l52.69-2.01L105.56 507c8 8.44 22.04 5.81 26.43-4.96l52.05-127.62c-10.84 6.04-22.87 9.58-35.31 9.58-19.5 0-37.82-7.59-51.61-21.37zM382.8 448.7l-45.37-111.24c-7.56 5.88-15.92 10.77-25.43 13.32-21.07 5.64-16.45 3.18-25.12 11.85-13.79 13.78-32.12 21.37-51.62 21.37-12.44 0-24.47-3.55-35.31-9.58L252 502.04c4.39 10.77 18.44 13.4 26.43 4.96l36.25-38.28 52.69 2.01c11.62.44 19.82-11.27 15.43-22.03zM263 340c15.28-15.55 17.03-14.21 38.79-20.14 13.89-3.79 24.75-14.84 28.47-28.98 7.48-28.4 5.54-24.97 25.95-45.75 10.17-10.35 14.14-25.44 10.42-39.58-7.47-28.38-7.48-24.42 0-52.83 3.72-14.14-.25-29.23-10.42-39.58-20.41-20.78-18.47-17.36-25.95-45.75-3.72-14.14-14.58-25.19-28.47-28.98-27.88-7.61-24.52-5.62-44.95-26.41-10.17-10.35-25-14.4-38.89-10.61-27.87 7.6-23.98 7.61-51.9 0-13.89-3.79-28.72.25-38.89 10.61-20.41 20.78-17.05 18.8-44.94 26.41-13.89 3.79-24.75 14.84-28.47 28.98-7.47 28.39-5.54 24.97-25.95 45.75-10.17 10.35-14.15 25.44-10.42 39.58 7.47 28.36 7.48 24.4 0 52.82-3.72 14.14.25 29.23 10.42 39.59 20.41 20.78 18.47 17.35 25.95 45.75 3.72 14.14 14.58 25.19 28.47 28.98C104.6 325.96 106.27 325 121 340c13.23 13.47 33.84 15.88 49.74 5.82a39.676 39.676 0 0 1 42.53 0c15.89 10.06 36.5 7.65 49.73-5.82zM97.66 175.96c0-53.03 42.24-96.02 94.34-96.02s94.34 42.99 94.34 96.02-42.24 96.02-94.34 96.02-94.34-42.99-94.34-96.02z"}))},ban:{label:Object(g._x)("Ban","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M256 8C119.034 8 8 119.033 8 256s111.034 248 248 248 248-111.034 248-248S392.967 8 256 8zm130.108 117.892c65.448 65.448 70 165.481 20.677 235.637L150.47 105.216c70.204-49.356 170.226-44.735 235.638 20.676zM125.892 386.108c-65.448-65.448-70-165.481-20.677-235.637L361.53 406.784c-70.203 49.356-170.226 44.736-235.638-20.676z"}))},bars:{label:Object(g._x)("Bars","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 448 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M16 132h416c8.837 0 16-7.163 16-16V76c0-8.837-7.163-16-16-16H16C7.163 60 0 67.163 0 76v40c0 8.837 7.163 16 16 16zm0 160h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16zm0 160h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16z"}))},beer:{label:Object(g._x)("Beer","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 448 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M368 96h-48V56c0-13.255-10.745-24-24-24H24C10.745 32 0 42.745 0 56v400c0 13.255 10.745 24 24 24h272c13.255 0 24-10.745 24-24v-42.11l80.606-35.977C429.396 365.063 448 336.388 448 304.86V176c0-44.112-35.888-80-80-80zm16 208.86a16.018 16.018 0 0 1-9.479 14.611L320 343.805V160h48c8.822 0 16 7.178 16 16v128.86zM208 384c-8.836 0-16-7.164-16-16V144c0-8.836 7.164-16 16-16s16 7.164 16 16v224c0 8.836-7.164 16-16 16zm-96 0c-8.836 0-16-7.164-16-16V144c0-8.836 7.164-16 16-16s16 7.164 16 16v224c0 8.836-7.164 16-16 16z"}))},bolt:{label:Object(g._x)("Bolt","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 320 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M296 160H180.6l42.6-129.8C227.2 15 215.7 0 200 0H56C44 0 33.8 8.9 32.2 20.8l-32 240C-1.7 275.2 9.5 288 24 288h118.7L96.6 482.5c-3.6 15.2 8 29.5 23.3 29.5 8.4 0 16.4-4.4 20.8-12l176-304c9.3-15.9-2.2-36-20.7-36z"}))},book:{label:Object(g._x)("Book","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 448 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M448 360V24c0-13.3-10.7-24-24-24H96C43 0 0 43 0 96v320c0 53 43 96 96 96h328c13.3 0 24-10.7 24-24v-16c0-7.5-3.5-14.3-8.9-18.7-4.2-15.4-4.2-59.3 0-74.7 5.4-4.3 8.9-11.1 8.9-18.6zM128 134c0-3.3 2.7-6 6-6h212c3.3 0 6 2.7 6 6v20c0 3.3-2.7 6-6 6H134c-3.3 0-6-2.7-6-6v-20zm0 64c0-3.3 2.7-6 6-6h212c3.3 0 6 2.7 6 6v20c0 3.3-2.7 6-6 6H134c-3.3 0-6-2.7-6-6v-20zm253.4 250H96c-17.7 0-32-14.3-32-32 0-17.6 14.4-32 32-32h285.4c-1.9 17.1-1.9 46.9 0 64z"}))},boxOpen:{label:Object(g._x)("Box - Open","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 640 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M425.7 256c-16.9 0-32.8-9-41.4-23.4L320 126l-64.2 106.6c-8.7 14.5-24.6 23.5-41.5 23.5-4.5 0-9-.6-13.3-1.9L64 215v178c0 14.7 10 27.5 24.2 31l216.2 54.1c10.2 2.5 20.9 2.5 31 0L551.8 424c14.2-3.6 24.2-16.4 24.2-31V215l-137 39.1c-4.3 1.3-8.8 1.9-13.3 1.9zm212.6-112.2L586.8 41c-3.1-6.2-9.8-9.8-16.7-8.9L320 64l91.7 152.1c3.8 6.3 11.4 9.3 18.5 7.3l197.9-56.5c9.9-2.9 14.7-13.9 10.2-23.1zM53.2 41L1.7 143.8c-4.6 9.2.3 20.2 10.1 23l197.9 56.5c7.1 2 14.7-1 18.5-7.3L320 64 69.8 32.1c-6.9-.8-13.5 2.7-16.6 8.9z"}))},bullhorn:{label:Object(g._x)("Bullhorn","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 576 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M576 240c0-23.63-12.95-44.04-32-55.12V32.01C544 23.26 537.02 0 512 0c-7.12 0-14.19 2.38-19.98 7.02l-85.03 68.03C364.28 109.19 310.66 128 256 128H64c-35.35 0-64 28.65-64 64v96c0 35.35 28.65 64 64 64h33.7c-1.39 10.48-2.18 21.14-2.18 32 0 39.77 9.26 77.35 25.56 110.94 5.19 10.69 16.52 17.06 28.4 17.06h74.28c26.05 0 41.69-29.84 25.9-50.56-16.4-21.52-26.15-48.36-26.15-77.44 0-11.11 1.62-21.79 4.41-32H256c54.66 0 108.28 18.81 150.98 52.95l85.03 68.03a32.023 32.023 0 0 0 19.98 7.02c24.92 0 32-22.78 32-32V295.13C563.05 284.04 576 263.63 576 240zm-96 141.42l-33.05-26.44C392.95 311.78 325.12 288 256 288v-96c69.12 0 136.95-23.78 190.95-66.98L480 98.58v282.84z"}))},bullseye:{label:Object(g._x)("Bullseye","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 496 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M248 8C111.03 8 0 119.03 0 256s111.03 248 248 248 248-111.03 248-248S384.97 8 248 8zm0 432c-101.69 0-184-82.29-184-184 0-101.69 82.29-184 184-184 101.69 0 184 82.29 184 184 0 101.69-82.29 184-184 184zm0-312c-70.69 0-128 57.31-128 128s57.31 128 128 128 128-57.31 128-128-57.31-128-128-128zm0 192c-35.29 0-64-28.71-64-64s28.71-64 64-64 64 28.71 64 64-28.71 64-64 64z"}))},burn:{label:Object(g._x)("Burn","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 384 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M192 0C79.7 101.3 0 220.9 0 300.5 0 425 79 512 192 512s192-87 192-211.5c0-79.9-80.2-199.6-192-300.5zm0 448c-56.5 0-96-39-96-94.8 0-13.5 4.6-61.5 96-161.2 91.4 99.7 96 147.7 96 161.2 0 55.8-39.5 94.8-96 94.8z"}))},calendarAlt:{label:Object(g._x)("Calender","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 448 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M148 288h-40c-6.6 0-12-5.4-12-12v-40c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12zm108-12v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm96 0v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm-96 96v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm-96 0v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm192 0v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm96-260v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V112c0-26.5 21.5-48 48-48h48V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h128V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h48c26.5 0 48 21.5 48 48zm-48 346V160H48v298c0 3.3 2.7 6 6 6h340c3.3 0 6-2.7 6-6z"}))},check:{label:Object(g._x)("Check","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z"}))},checkCircle:{label:Object(g._x)("Check - Circle","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M504 256c0 136.967-111.033 248-248 248S8 392.967 8 256 119.033 8 256 8s248 111.033 248 248zM227.314 387.314l184-184c6.248-6.248 6.248-16.379 0-22.627l-22.627-22.627c-6.248-6.249-16.379-6.249-22.628 0L216 308.118l-70.059-70.059c-6.248-6.248-16.379-6.248-22.628 0l-22.627 22.627c-6.248 6.248-6.248 16.379 0 22.627l104 104c6.249 6.249 16.379 6.249 22.628.001z"}))},checkCircleOutline:{label:Object(g._x)("Check - Circle Outline","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M256 8C119.033 8 8 119.033 8 256s111.033 248 248 248 248-111.033 248-248S392.967 8 256 8zm0 48c110.532 0 200 89.451 200 200 0 110.532-89.451 200-200 200-110.532 0-200-89.451-200-200 0-110.532 89.451-200 200-200m140.204 130.267l-22.536-22.718c-4.667-4.705-12.265-4.736-16.97-.068L215.346 303.697l-59.792-60.277c-4.667-4.705-12.265-4.736-16.97-.069l-22.719 22.536c-4.705 4.667-4.736 12.265-.068 16.971l90.781 91.516c4.667 4.705 12.265 4.736 16.97.068l172.589-171.204c4.704-4.668 4.734-12.266.067-16.971z"}))},checkSquare:{label:Object(g._x)("Check - Square","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 448 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M400 480H48c-26.51 0-48-21.49-48-48V80c0-26.51 21.49-48 48-48h352c26.51 0 48 21.49 48 48v352c0 26.51-21.49 48-48 48zm-204.686-98.059l184-184c6.248-6.248 6.248-16.379 0-22.627l-22.627-22.627c-6.248-6.248-16.379-6.249-22.628 0L184 302.745l-70.059-70.059c-6.248-6.248-16.379-6.248-22.628 0l-22.627 22.627c-6.248 6.248-6.248 16.379 0 22.627l104 104c6.249 6.25 16.379 6.25 22.628.001z"}))},checkSquareOutline:{label:Object(g._x)("Check - Square Outline","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 448 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M400 32H48C21.49 32 0 53.49 0 80v352c0 26.51 21.49 48 48 48h352c26.51 0 48-21.49 48-48V80c0-26.51-21.49-48-48-48zm0 400H48V80h352v352zm-35.864-241.724L191.547 361.48c-4.705 4.667-12.303 4.637-16.97-.068l-90.781-91.516c-4.667-4.705-4.637-12.303.069-16.971l22.719-22.536c4.705-4.667 12.303-4.637 16.97.069l59.792 60.277 141.352-140.216c4.705-4.667 12.303-4.637 16.97.068l22.536 22.718c4.667 4.706 4.637 12.304-.068 16.971z"}))},chevronDown:{label:Object(g._x)("Chevron - Down","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 448 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M207.029 381.476L12.686 187.132c-9.373-9.373-9.373-24.569 0-33.941l22.667-22.667c9.357-9.357 24.522-9.375 33.901-.04L224 284.505l154.745-154.021c9.379-9.335 24.544-9.317 33.901.04l22.667 22.667c9.373 9.373 9.373 24.569 0 33.941L240.971 381.476c-9.373 9.372-24.569 9.372-33.942 0z"}))},chevronLeft:{label:Object(g._x)("Chevron - Left","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 256 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M31.7 239l136-136c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9L127.9 256l96.4 96.4c9.4 9.4 9.4 24.6 0 33.9L201.7 409c-9.4 9.4-24.6 9.4-33.9 0l-136-136c-9.5-9.4-9.5-24.6-.1-34z"}))},chevronRight:{label:Object(g._x)("Chevron - Right","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 256 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z"}))},chevronUp:{label:Object(g._x)("Chevron - Up","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 448 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M240.971 130.524l194.343 194.343c9.373 9.373 9.373 24.569 0 33.941l-22.667 22.667c-9.357 9.357-24.522 9.375-33.901.04L224 227.495 69.255 381.516c-9.379 9.335-24.544 9.317-33.901-.04l-22.667-22.667c-9.373-9.373-9.373-24.569 0-33.941L207.03 130.525c9.372-9.373 24.568-9.373 33.941-.001z"}))},circle:{label:Object(g._x)("Circle","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8z"}))},circleOutline:{label:Object(g._x)("Circle - Outline","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm0 448c-110.5 0-200-89.5-200-200S145.5 56 256 56s200 89.5 200 200-89.5 200-200 200z"}))},coffee:{label:Object(g._x)("Coffee","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 640 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M192 384h192c53 0 96-43 96-96h32c70.6 0 128-57.4 128-128S582.6 32 512 32H120c-13.3 0-24 10.7-24 24v232c0 53 43 96 96 96zM512 96c35.3 0 64 28.7 64 64s-28.7 64-64 64h-32V96h32zm47.7 384H48.3c-47.6 0-61-64-36-64h583.3c25 0 11.8 64-35.9 64z"}))},dotCircle:{label:Object(g._x)("Dot - Circle","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M256 8C119.033 8 8 119.033 8 256s111.033 248 248 248 248-111.033 248-248S392.967 8 256 8zm80 248c0 44.112-35.888 80-80 80s-80-35.888-80-80 35.888-80 80-80 80 35.888 80 80z"}))},dotCircleOutline:{label:Object(g._x)("Dot - Circle Outline","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M256 56c110.532 0 200 89.451 200 200 0 110.532-89.451 200-200 200-110.532 0-200-89.451-200-200 0-110.532 89.451-200 200-200m0-48C119.033 8 8 119.033 8 256s111.033 248 248 248 248-111.033 248-248S392.967 8 256 8zm0 168c-44.183 0-80 35.817-80 80s35.817 80 80 80 80-35.817 80-80-35.817-80-80-80z"}))},ellipsesH:{label:Object(g._x)("Ellipses - Horizontal","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M328 256c0 39.8-32.2 72-72 72s-72-32.2-72-72 32.2-72 72-72 72 32.2 72 72zm104-72c-39.8 0-72 32.2-72 72s32.2 72 72 72 72-32.2 72-72-32.2-72-72-72zm-352 0c-39.8 0-72 32.2-72 72s32.2 72 72 72 72-32.2 72-72-32.2-72-72-72z"}))},ellipsesV:{label:Object(g._x)("Ellipses - Vertical","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 192 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M96 184c39.8 0 72 32.2 72 72s-32.2 72-72 72-72-32.2-72-72 32.2-72 72-72zM24 80c0 39.8 32.2 72 72 72s72-32.2 72-72S135.8 8 96 8 24 40.2 24 80zm0 352c0 39.8 32.2 72 72 72s72-32.2 72-72-32.2-72-72-72-72 32.2-72 72z"}))},envelope:{label:Object(g._x)("Envelope","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M464 64H48C21.49 64 0 85.49 0 112v288c0 26.51 21.49 48 48 48h416c26.51 0 48-21.49 48-48V112c0-26.51-21.49-48-48-48zm0 48v40.805c-22.422 18.259-58.168 46.651-134.587 106.49-16.841 13.247-50.201 45.072-73.413 44.701-23.208.375-56.579-31.459-73.413-44.701C106.18 199.465 70.425 171.067 48 152.805V112h416zM48 400V214.398c22.914 18.251 55.409 43.862 104.938 82.646 21.857 17.205 60.134 55.186 103.062 54.955 42.717.231 80.509-37.199 103.053-54.947 49.528-38.783 82.032-64.401 104.947-82.653V400H48z"}))},fireAlt:{label:Object(g._x)("Fire","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 448 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M323.56 51.2c-20.8 19.3-39.58 39.59-56.22 59.97C240.08 73.62 206.28 35.53 168 0 69.74 91.17 0 209.96 0 281.6 0 408.85 100.29 512 224 512s224-103.15 224-230.4c0-53.27-51.98-163.14-124.44-230.4zm-19.47 340.65C282.43 407.01 255.72 416 226.86 416 154.71 416 96 368.26 96 290.75c0-38.61 24.31-72.63 72.79-130.75 6.93 7.98 98.83 125.34 98.83 125.34l58.63-66.88c4.14 6.85 7.91 13.55 11.27 19.97 27.35 52.19 15.81 118.97-33.43 153.42z"}))},heart:{label:Object(g._x)("Heart","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M462.3 62.6C407.5 15.9 326 24.3 275.7 76.2L256 96.5l-19.7-20.3C186.1 24.3 104.5 15.9 49.7 62.6c-62.8 53.6-66.1 149.8-9.9 207.9l193.5 199.8c12.5 12.9 32.8 12.9 45.3 0l193.5-199.8c56.3-58.1 53-154.3-9.8-207.9z"}))},mapMarkerAlt:{label:Object(g._x)("Map Marker","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 384 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M172.268 501.67C26.97 291.031 0 269.413 0 192 0 85.961 85.961 0 192 0s192 85.961 192 192c0 77.413-26.97 99.031-172.268 309.67-9.535 13.774-29.93 13.773-39.464 0zM192 272c44.183 0 80-35.817 80-80s-35.817-80-80-80-80 35.817-80 80 35.817 80 80 80z"}))},paperPlane:{label:Object(g._x)("Paper Plane","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M440 6.5L24 246.4c-34.4 19.9-31.1 70.8 5.7 85.9L144 379.6V464c0 46.4 59.2 65.5 86.6 28.6l43.8-59.1 111.9 46.2c5.9 2.4 12.1 3.6 18.3 3.6 8.2 0 16.3-2.1 23.6-6.2 12.8-7.2 21.6-20 23.9-34.5l59.4-387.2c6.1-40.1-36.9-68.8-71.5-48.9zM192 464v-64.6l36.6 15.1L192 464zm212.6-28.7l-153.8-63.5L391 169.5c10.7-15.5-9.5-33.5-23.7-21.2L155.8 332.6 48 288 464 48l-59.4 387.3z"}))},phone:{label:Object(g._x)("Phone","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M493.4 24.6l-104-24c-11.3-2.6-22.9 3.3-27.5 13.9l-48 112c-4.2 9.8-1.4 21.3 6.9 28l60.6 49.6c-36 76.7-98.9 140.5-177.2 177.2l-49.6-60.6c-6.8-8.3-18.2-11.1-28-6.9l-112 48C3.9 366.5-2 378.1.6 389.4l24 104C27.1 504.2 36.7 512 48 512c256.1 0 464-207.5 464-464 0-11.2-7.7-20.9-18.6-23.4z"}))},plus:{label:Object(g._x)("Plus","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 448 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M416 208H272V64c0-17.67-14.33-32-32-32h-32c-17.67 0-32 14.33-32 32v144H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h144v144c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32V304h144c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z"}))},plusCircle:{label:Object(g._x)("Plus - Circle","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm144 276c0 6.6-5.4 12-12 12h-92v92c0 6.6-5.4 12-12 12h-56c-6.6 0-12-5.4-12-12v-92h-92c-6.6 0-12-5.4-12-12v-56c0-6.6 5.4-12 12-12h92v-92c0-6.6 5.4-12 12-12h56c6.6 0 12 5.4 12 12v92h92c6.6 0 12 5.4 12 12v56z"}))},plusSquare:{label:Object(g._x)("Plus - Square","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 448 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M400 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zm-32 252c0 6.6-5.4 12-12 12h-92v92c0 6.6-5.4 12-12 12h-56c-6.6 0-12-5.4-12-12v-92H92c-6.6 0-12-5.4-12-12v-56c0-6.6 5.4-12 12-12h92v-92c0-6.6 5.4-12 12-12h56c6.6 0 12 5.4 12 12v92h92c6.6 0 12 5.4 12 12v56z"}))},plusSquareOutline:{label:Object(g._x)("Plus - Square Outline","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 448 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M352 240v32c0 6.6-5.4 12-12 12h-88v88c0 6.6-5.4 12-12 12h-32c-6.6 0-12-5.4-12-12v-88h-88c-6.6 0-12-5.4-12-12v-32c0-6.6 5.4-12 12-12h88v-88c0-6.6 5.4-12 12-12h32c6.6 0 12 5.4 12 12v88h88c6.6 0 12 5.4 12 12zm96-160v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V80c0-26.5 21.5-48 48-48h352c26.5 0 48 21.5 48 48zm-48 346V86c0-3.3-2.7-6-6-6H54c-3.3 0-6 2.7-6 6v340c0 3.3 2.7 6 6 6h340c3.3 0 6-2.7 6-6z"}))},shield:{label:Object(g._x)("Shield","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M466.5 83.7l-192-80a48.15 48.15 0 0 0-36.9 0l-192 80C27.7 91.1 16 108.6 16 128c0 198.5 114.5 335.7 221.5 380.3 11.8 4.9 25.1 4.9 36.9 0C360.1 472.6 496 349.3 496 128c0-19.4-11.7-36.9-29.5-44.3zM256.1 446.3l-.1-381 175.9 73.3c-3.3 151.4-82.1 261.1-175.8 307.7z"}))},star:{label:Object(g._x)("Star","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 576 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M259.3 17.8L194 150.2 47.9 171.5c-26.2 3.8-36.7 36.1-17.7 54.6l105.7 103-25 145.5c-4.5 26.3 23.2 46 46.4 33.7L288 439.6l130.7 68.7c23.2 12.2 50.9-7.4 46.4-33.7l-25-145.5 105.7-103c19-18.5 8.5-50.8-17.7-54.6L382 150.2 316.7 17.8c-11.7-23.6-45.6-23.9-57.4 0z"}))},tags:{label:Object(g._x)("Tags","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 640 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M497.941 225.941L286.059 14.059A48 48 0 0 0 252.118 0H48C21.49 0 0 21.49 0 48v204.118a48 48 0 0 0 14.059 33.941l211.882 211.882c18.744 18.745 49.136 18.746 67.882 0l204.118-204.118c18.745-18.745 18.745-49.137 0-67.882zM112 160c-26.51 0-48-21.49-48-48s21.49-48 48-48 48 21.49 48 48-21.49 48-48 48zm513.941 133.823L421.823 497.941c-18.745 18.745-49.137 18.745-67.882 0l-.36-.36L527.64 323.522c16.999-16.999 26.36-39.6 26.36-63.64s-9.362-46.641-26.36-63.64L331.397 0h48.721a48 48 0 0 1 33.941 14.059l211.882 211.882c18.745 18.745 18.745 49.137 0 67.882z"}))},userCircle:{label:Object(g._x)("User - Circle","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 496 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 96c48.6 0 88 39.4 88 88s-39.4 88-88 88-88-39.4-88-88 39.4-88 88-88zm0 344c-58.7 0-111.3-26.6-146.5-68.2 18.8-35.4 55.6-59.8 98.5-59.8 2.4 0 4.8.4 7.1 1.1 13 4.2 26.6 6.9 40.9 6.9 14.3 0 28-2.7 40.9-6.9 2.3-.7 4.7-1.1 7.1-1.1 42.9 0 79.7 24.4 98.5 59.8C359.3 421.4 306.7 448 248 448z"}))}};class _e extends l.Component{constructor(){super(...arguments),this.state={showIcons:!1,showGeneralIcons:!1,showSocialIcons:!1}}render(){const{attributes:e,setAttributes:t,attrIcon:a,attrIconLocation:i,locationOptions:r,attrRemoveText:n}=this.props;let o={general:{group:Object(g.__)("General","generateblocks"),svgs:Be},social:{group:Object(g.__)("Social","generateblocks"),svgs:Ce}};return o=Object(d.applyFilters)("generateblocks.editor.iconSVGSets",o),Object(l.createElement)(l.Fragment,null,Object(l.createElement)(b.BaseControl,{className:"gb-svg-html"},Object(l.createElement)(b.TextControl,{label:Object(g.__)("Icon SVG HTML","generateblocks"),value:e[a],onChange:e=>{t({[this.props.attrIcon]:Q(e)}),t(""!==e?{hasIcon:!0}:{hasIcon:!1})}}),Object(l.createElement)("div",{className:"gb-icon-preview"},Object(l.createElement)("span",{dangerouslySetInnerHTML:{__html:Q(e[a])}}),Object(l.createElement)(b.Button,{isSmall:!0,className:"reset-icon is-secondary",onClick:()=>{t({[this.props.attrIcon]:"",hasIcon:!1})}},Object(l.createElement)("span",{className:"editor-block-types-list__item-icon"},Object(g.__)("Clear","generateblocks"))))),Object(l.createElement)(b.BaseControl,{className:"gb-icon-chooser"},Object.keys(o).map((e,a)=>{const i=o[e].svgs;return Object(l.createElement)(b.PanelBody,{title:o[e].group,initialOpen:!1,key:a},Object(l.createElement)(b.PanelRow,null,Object(l.createElement)(b.BaseControl,null,Object(l.createElement)("ul",{className:"gblocks-icon-chooser"},Object.keys(i).map((e,a)=>Object(l.createElement)("li",{key:"editor-pblock-types-list-item-"+a},Object(l.createElement)(b.Tooltip,{text:i[e].label},Object(l.createElement)(b.Button,{className:"editor-block-list-item-button",onClick:()=>{let a=i[e].icon;"string"!=typeof a&&(a=Object(l.renderToString)(a)),t({[this.props.attrIcon]:a,hasIcon:!0})}},"string"==typeof i[e].icon?Object(l.createElement)(l.Fragment,null,Object(l.createElement)("span",{className:"editor-block-types-list__item-icon",dangerouslySetInnerHTML:{__html:Q(i[e].icon)}})):Object(l.createElement)(l.Fragment,null,Object(l.createElement)("span",{className:"editor-block-types-list__item-icon"},i[e].icon))))))))))})),void 0!==e[i]&&!e[n]&&!!e[a]&&Object(l.createElement)(b.SelectControl,{label:Object(g.__)("Icon Location","generateblocks"),value:e[i],options:r,onChange:a=>{const l=e.iconPaddingLeft,i=e.iconPaddingRight,r=e.iconPaddingRightTablet,n=e.iconPaddingLeftTablet,o=e.iconPaddingRightMobile,c=e.iconPaddingLeftMobile;"right"===a&&(!l&&i&&t({iconPaddingLeft:i,iconPaddingRight:""}),!n&&r&&t({iconPaddingLeftTablet:r,iconPaddingRightTablet:""}),!c&&o&&t({iconPaddingLeftMobile:o,iconPaddingRightMobile:""})),"left"===a&&(!i&&l&&t({iconPaddingRight:l,iconPaddingLeft:""}),!r&&n&&t({iconPaddingRightTablet:n,iconPaddingLeftTablet:""}),!o&&c&&t({iconPaddingRightMobile:c,iconPaddingLeftMobile:""})),t({[this.props.attrIconLocation]:a})}}),void 0!==e[n]&&!!e[a]&&Object(l.createElement)(b.ToggleControl,{label:Object(g.__)("Remove Text","generateblocks"),checked:!!e[n],onChange:e=>{t({[this.props.attrRemoveText]:e})}}))}}var Se=_e;class xe extends l.Component{constructor(){super(...arguments),this.state={moreOptions:!1},this.onChange=this.onChange.bind(this)}onChange(e){const{url:t,target:a,relNoFollow:l,relSponsored:i}=this.props;this.props.onChange({url:t,target:a,relNoFollow:l,relSponsored:i,...e})}render(){const{url:e,target:t,relNoFollow:a,relSponsored:i,className:r,autoFocus:n}=this.props,{onChange:c}=this,{moreOptions:p}=this.state;return Object(l.createElement)("div",{className:o()("gblocks-component-url-input",r)},Object(l.createElement)("div",{className:"gblocks-component-url-input-flex"},Object(l.createElement)(x.URLInput,{value:e,onChange:e=>{c({url:e})},autoFocus:n}),Object(l.createElement)(b.Button,{icon:s("ellipsis"),label:p?Object(g.__)("Hide More Options","generateblocks"):Object(g.__)("Show More Options","generateblocks"),onClick:()=>{this.setState({moreOptions:!p})}})),p&&Object(l.createElement)("div",{className:"gblocks-component-url-input-more-options"},Object(d.applyFilters)("generateblocks.editor.urlInputMoreOptions","",this.props,this.state),Object(l.createElement)(b.ToggleControl,{label:Object(g.__)("Open link in a new tab","generateblocks"),checked:t||"",onChange:e=>{c({target:e})}}),Object(l.createElement)(b.ToggleControl,{label:Object(g.__)('Add rel="nofollow"',"generateblocks"),checked:a||"",onChange:e=>{c({relNoFollow:e})}}),Object(l.createElement)(b.ToggleControl,{label:Object(g.__)('Add rel="sponsored"',"generateblocks"),checked:i||"",onChange:e=>{c({relSponsored:e})}})))}}class Ee extends l.Component{render(){const e=Object(d.applyFilters)("generateblocks.editor.cssAttrs",this.props.attributes,this.props),{url:t,uniqueId:a,removeText:i,backgroundColor:r,backgroundColorOpacity:n,textColor:o,backgroundColorHover:c,backgroundColorHoverOpacity:s,textColorHover:g,fontFamily:b,fontFamilyFallback:p,fontWeight:u,textTransform:m,letterSpacing:k,fontSize:w,fontSizeUnit:y,marginTop:O,marginRight:v,marginBottom:j,marginLeft:T,marginUnit:C,paddingTop:B,paddingRight:_,paddingBottom:S,paddingLeft:x,paddingUnit:E,borderSizeTop:D,borderSizeRight:M,borderSizeBottom:z,borderSizeLeft:R,borderRadiusTopRight:L,borderRadiusBottomRight:F,borderRadiusBottomLeft:A,borderRadiusTopLeft:N,borderRadiusUnit:U,borderColor:P,borderColorOpacity:I,borderColorHover:G,borderColorHoverOpacity:V,gradient:W,gradientDirection:q,gradientColorOne:Z,gradientColorOneOpacity:K,gradientColorStopOne:J,gradientColorTwo:Y,gradientColorTwoOpacity:$,gradientColorStopTwo:Q,iconPaddingTop:X,iconPaddingRight:te,iconPaddingBottom:ae,iconPaddingLeft:le,iconPaddingUnit:ie,iconSize:re,iconSizeUnit:ne}=e;let oe,ce="",se="",ge="";W&&(Z&&""!==J&&(se=" "+J+"%"),Y&&""!==Q&&(ge=" "+Q+"%")),W&&(oe="linear-gradient("+q+"deg, "+H(Z,K)+se+", "+H(Y,$)+ge+");"),b&&p&&(ce=", "+p);let be="a.gb-button-"+a;t||(be=".gb-button-"+a);let de=[];return de[".block-editor-block-list__block "+be]=[{"background-color":H(r,n),"background-image":oe,color:o,padding:ee(B,_,S,x,E),"border-radius":ee(N,L,F,A,U),"font-family":b+ce,"font-weight":u,"text-transform":m,"font-size":f(w,y),"letter-spacing":f(k,"em"),margin:ee(O,v,j,T,C),"border-color":H(P,I)}],(D||M||z||R)&&de[".block-editor-block-list__block "+be].push({"border-width":ee(D,M,z,R,"px"),"border-style":"solid"}),de[".block-editor-block-list__block "+be+":hover,\n\t\t.block-editor-block-list__block "+be+":focus,\n\t\t.block-editor-block-list__block "+be+":active"]=[{"background-color":H(c,s),color:g,"border-color":H(G,V)}],de[".block-editor-block-list__block "+be+" .gb-icon"]=[{padding:!i&&ee(X,te,ae,le,ie),"font-size":f(re,ne)}],de=Object(d.applyFilters)("generateblocks.editor.mainCSS",de,this.props,"button"),Object(l.createElement)("style",null,h(de))}}class De extends l.Component{render(){let e=[];return e=Object(d.applyFilters)("generateblocks.editor.desktopCSS",e,this.props,"button"),Object(l.createElement)("style",null,h(e))}}class Me extends l.Component{render(){const e=Object(d.applyFilters)("generateblocks.editor.cssAttrs",this.props.attributes,this.props),{url:t,uniqueId:a,removeText:i,letterSpacingTablet:r,fontSizeTablet:n,fontSizeUnit:o,marginTopTablet:c,marginRightTablet:s,marginBottomTablet:g,marginLeftTablet:b,marginUnit:p,paddingTopTablet:u,paddingRightTablet:m,paddingBottomTablet:k,paddingLeftTablet:w,paddingUnit:y,borderSizeTopTablet:O,borderSizeRightTablet:v,borderSizeBottomTablet:j,borderSizeLeftTablet:T,borderRadiusTopRightTablet:C,borderRadiusBottomRightTablet:B,borderRadiusBottomLeftTablet:_,borderRadiusTopLeftTablet:S,borderRadiusUnit:x,iconPaddingTopTablet:E,iconPaddingRightTablet:D,iconPaddingBottomTablet:M,iconPaddingLeftTablet:z,iconPaddingUnit:R,iconSizeTablet:L,iconSizeUnit:F}=e;let A="a.gb-button-"+a;t||(A=".gb-button-"+a);let N=[];return N[".block-editor-block-list__block "+A]=[{"padding-top":f(u,y),"padding-right":f(m,y),"padding-bottom":f(k,y),"padding-left":f(w,y),"border-top-left-radius":f(S,x),"border-top-right-radius":f(C,x),"border-bottom-right-radius":f(B,x),"border-bottom-left-radius":f(_,x),"font-size":f(n,o),"letter-spacing":f(r,"em"),"margin-top":f(c,p),"margin-right":f(s,p),"margin-bottom":f(g,p),"margin-left":f(b,p)}],(O||v||j||T)&&N[".block-editor-block-list__block "+A].push({"border-top-width":f(O,"px"),"border-right-width":f(v,"px"),"border-bottom-width":f(j,"px"),"border-left-width":f(T,"px"),"border-style":"solid"}),N[".block-editor-block-list__block "+A+" .gb-icon"]=[{"padding-top":!i&&f(E,R),"padding-right":!i&&f(D,R),"padding-bottom":!i&&f(M,R),"padding-left":!i&&f(z,R),"font-size":f(L,F)}],N=Object(d.applyFilters)("generateblocks.editor.tabletCSS",N,this.props,"button"),Object(l.createElement)("style",null,h(N))}}class ze extends l.Component{render(){let e=[];return e=Object(d.applyFilters)("generateblocks.editor.tabletOnlyCSS",e,this.props,"button"),Object(l.createElement)("style",null,h(e))}}class Re extends l.Component{render(){const e=Object(d.applyFilters)("generateblocks.editor.cssAttrs",this.props.attributes,this.props),{url:t,uniqueId:a,removeText:i,letterSpacingMobile:r,fontSizeMobile:n,fontSizeUnit:o,marginTopMobile:c,marginRightMobile:s,marginBottomMobile:g,marginLeftMobile:b,marginUnit:p,paddingTopMobile:u,paddingRightMobile:m,paddingBottomMobile:k,paddingLeftMobile:w,paddingUnit:y,borderSizeTopMobile:O,borderSizeRightMobile:v,borderSizeBottomMobile:j,borderSizeLeftMobile:T,borderRadiusTopRightMobile:C,borderRadiusBottomRightMobile:B,borderRadiusBottomLeftMobile:_,borderRadiusTopLeftMobile:S,borderRadiusUnit:x,iconPaddingTopMobile:E,iconPaddingRightMobile:D,iconPaddingBottomMobile:M,iconPaddingLeftMobile:z,iconPaddingUnit:R,iconSizeMobile:L,iconSizeUnit:F}=e;let A="a.gb-button-"+a;t||(A=".gb-button-"+a);let N=[];return N[".block-editor-block-list__block "+A]=[{"padding-top":f(u,y),"padding-right":f(m,y),"padding-bottom":f(k,y),"padding-left":f(w,y),"border-top-left-radius":f(S,x),"border-top-right-radius":f(C,x),"border-bottom-right-radius":f(B,x),"border-bottom-left-radius":f(_,x),"font-size":f(n,o),"letter-spacing":f(r,"em"),"margin-top":f(c,p),"margin-right":f(s,p),"margin-bottom":f(g,p),"margin-left":f(b,p)}],(O||v||j||T)&&N[".block-editor-block-list__block "+A].push({"border-top-width":f(O,"px"),"border-right-width":f(v,"px"),"border-bottom-width":f(j,"px"),"border-left-width":f(T,"px"),"border-style":"solid"}),N[".block-editor-block-list__block "+A+" .gb-icon"]=[{"padding-top":!i&&f(E,R),"padding-right":!i&&f(D,R),"padding-bottom":!i&&f(M,R),"padding-left":!i&&f(z,R),"font-size":f(L,F)}],N=Object(d.applyFilters)("generateblocks.editor.mobileCSS",N,this.props,"button"),Object(l.createElement)("style",null,h(N))}}const Le=/[\s#]/g;class Fe extends l.Component{constructor(){super(...arguments),this.state={selectedDevice:"Desktop",fontSizePlaceholder:"17"},this.getFontSizePlaceholder=this.getFontSizePlaceholder.bind(this),this.getDeviceType=this.getDeviceType.bind(this),this.setDeviceType=this.setDeviceType.bind(this)}componentDidMount(){const e=T(wp.data.select("core/block-editor").getBlocks(),[],this.props.clientId);this.props.attributes.uniqueId&&!e.includes(this.props.attributes.uniqueId)||this.props.setAttributes({uniqueId:this.props.clientId.substr(2,9).replace("-","")});const t=this.getFontSizePlaceholder();if(t!==this.state.fontSizePlaceholder&&this.setState({fontSizePlaceholder:t}),!this.props.attributes.hasIcon&&this.props.attributes.icon&&this.props.setAttributes({hasIcon:!0}),void 0===this.props.attributes.hasUrl&&(this.props.attributes.url?this.props.setAttributes({hasUrl:!0}):this.props.setAttributes({hasUrl:!1})),!S(this.props.attributes)&&B(this.props.attributes.blockVersion,2)){const e=generateBlocksLegacyDefaults.v_1_4_0.button,t={},a=[];this.props.attributes.gradient&&a.push("gradientDirection","gradientColorOne","gradientColorOneOpacity","gradientColorTwo","gradientColorTwoOpacity"),a.forEach(a=>{C(this.props.attributes[a])||(t[a]=e[a])}),Object.keys(t).length>0&&this.props.setAttributes(t)}B(this.props.attributes.blockVersion,2)&&this.props.setAttributes({blockVersion:2})}componentDidUpdate(){const e=this.getFontSizePlaceholder();e!==this.state.fontSizePlaceholder&&this.setState({fontSizePlaceholder:e})}getFontSizePlaceholder(){let e="17";const t=document.querySelector(".gb-button-"+this.props.attributes.uniqueId);return t&&(e=parseFloat(window.getComputedStyle(t).fontSize)),e}getDeviceType(){let e=this.props.deviceType?this.props.deviceType:this.state.selectedDevice;return generateBlocksInfo.syncResponsivePreviews||(e=this.state.selectedDevice),e}setDeviceType(e){generateBlocksInfo.syncResponsivePreviews&&this.props.deviceType?(this.props.setDeviceType(e),this.setState({selectedDevice:e})):this.setState({selectedDevice:e})}render(){const{attributes:e,setAttributes:t,isSelected:a,clientId:i}=this.props,{fontSizePlaceholder:n}=this.state,{uniqueId:c,className:h,anchor:f,text:m,url:k,target:w,relNoFollow:y,relSponsored:O,icon:v,iconLocation:T,removeText:C,ariaLabel:B,backgroundColor:_,backgroundColorOpacity:S,textColor:D,backgroundColorHover:M,backgroundColorHoverOpacity:z,textColorHover:R,fontFamily:L,googleFont:F,googleFontVariants:A,borderColor:N,borderColorOpacity:U,borderColorHover:H,borderColorHoverOpacity:G,iconSize:W,iconSizeTablet:q,iconSizeMobile:K,iconSizeUnit:Y}=e,$=document.querySelectorAll("a.gb-button");for(let e=0;e<$.length;e++)$[e].addEventListener("click",(function(t){$[e].getAttribute("href")&&($[e].removeAttribute("href"),t.preventDefault())}),!1);const Q=[];y&&Q.push("nofollow"),w&&Q.push("noopener","noreferrer"),O&&Q.push("sponsored");let X="";A&&(X=":"+A);let ee={className:o()({"gb-button":!0,["gb-button-"+c]:!0,"gb-button-text":!v,[""+h]:void 0!==h}),href:k||null,target:w?"_blank":null,rel:Q&&Q.length>0?Q.join(" "):null,"aria-label":B||null,id:f||null};return ee=Object(d.applyFilters)("generateblocks.frontend.htmlAttributes",ee,"generateblocks/button",e),Object(l.createElement)(l.Fragment,null,Object(l.createElement)(x.BlockControls,null,Object(l.createElement)(b.ToolbarGroup,null,Object(l.createElement)(b.ToolbarButton,{className:"gblocks-add-new-button",icon:s("insert"),label:Object(g.__)("Add Button","generateblocks"),onClick:()=>{let e=!1;e="function"==typeof wp.data.select("core/block-editor").getBlockParentsByBlockName?wp.data.select("core/block-editor").getBlockParentsByBlockName(i,"generateblocks/button-container",!0)[0]:wp.data.select("core/block-editor").getBlockRootClientId(i);const t=wp.data.select("core/block-editor").getBlocksByClientId(i)[0],a=Object(E.cloneBlock)(t,{uniqueId:""});wp.data.dispatch("core/block-editor").insertBlocks(a,void 0,e)},showTooltip:!0}))),Object(l.createElement)(x.InspectorControls,null,Object(l.createElement)(p,r()({},this.props,{selectedDevice:this.getDeviceType(),onClick:e=>{this.setDeviceType(e)}})),Object(l.createElement)(j,r()({},this.props,{title:Object(g.__)("Typography","generateblocks"),initialOpen:!1,icon:s("typography"),className:"gblocks-panel-label",id:"buttonTypography",state:this.state,showPanel:!C||!1}),"Desktop"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(Z,r()({},this.props,{showFontFamily:!0,showFontWeight:!0,showTextTransform:!0,showFontSize:!0,showLetterSpacing:!0,fontSizePlaceholder:n,defaultFontSize:generateBlocksDefaults.button.fontSize,defaultFontSizeUnit:generateBlocksDefaults.button.fontSizeUnit,defaultLetterSpacing:generateBlocksDefaults.button.letterSpacing}))),"Tablet"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(Z,r()({},this.props,{device:"Tablet",showFontSize:!0,showLetterSpacing:!0,disableAdvancedToggle:!0,defaultFontSize:generateBlocksDefaults.button.fontSizeTablet,defaultFontSizeUnit:generateBlocksDefaults.button.fontSizeUnit,defaultLetterSpacing:generateBlocksDefaults.button.letterSpacingTablet}))),"Mobile"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(Z,r()({},this.props,{device:"Mobile",showFontSize:!0,showLetterSpacing:!0,disableAdvancedToggle:!0,defaultFontSize:generateBlocksDefaults.button.fontSizeMobile,defaultFontSizeUnit:generateBlocksDefaults.button.fontSizeUnit,defaultLetterSpacing:generateBlocksDefaults.button.letterSpacingMobile}))),Object(d.applyFilters)("generateblocks.editor.controls","","buttonTypography",this.props,this.state)),Object(l.createElement)(j,r()({},this.props,{title:Object(g.__)("Spacing","generateblocks"),initialOpen:!1,icon:s("spacing"),className:"gblocks-panel-label",id:"buttonSpacing",state:this.state}),"Desktop"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(V,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(g.__)("Padding","generateblocks"),attrTop:"paddingTop",attrRight:"paddingRight",attrBottom:"paddingBottom",attrLeft:"paddingLeft",attrUnit:"paddingUnit",attrSyncUnits:"paddingSyncUnits",defaults:generateBlocksDefaults.button,units:["px","em","%"]})),Object(l.createElement)(V,r()({},this.props,{device:this.getDeviceType(),type:"margin",label:Object(g.__)("Margin","generateblocks"),attrTop:"marginTop",attrRight:"marginRight",attrBottom:"marginBottom",attrLeft:"marginLeft",attrUnit:"marginUnit",attrSyncUnits:"marginSyncUnits",defaults:generateBlocksDefaults.button,units:["px","em","%"]})),Object(l.createElement)(V,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(g.__)("Border Size","generateblocks"),attrTop:"borderSizeTop",attrRight:"borderSizeRight",attrBottom:"borderSizeBottom",attrLeft:"borderSizeLeft",attrSyncUnits:"borderSizeSyncUnits",defaults:generateBlocksDefaults.button,units:["px"]})),Object(l.createElement)(V,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(g.__)("Border Radius","generateblocks"),attrTop:"borderRadiusTopLeft",attrRight:"borderRadiusTopRight",attrBottom:"borderRadiusBottomRight",attrLeft:"borderRadiusBottomLeft",attrUnit:"borderRadiusUnit",attrSyncUnits:"borderRadiusSyncUnits",labelTop:Object(g.__)("T-Left","generateblocks"),labelRight:Object(g.__)("T-Right","generateblocks"),labelBottom:Object(g.__)("B-Right","generateblocks"),labelLeft:Object(g.__)("B-Left","generateblocks"),defaults:generateBlocksDefaults.button,units:["px","em","%"]}))),"Tablet"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(V,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(g.__)("Padding","generateblocks"),attrTop:"paddingTopTablet",attrRight:"paddingRightTablet",attrBottom:"paddingBottomTablet",attrLeft:"paddingLeftTablet",attrUnit:"paddingUnit",attrSyncUnits:"paddingSyncUnits",defaults:generateBlocksDefaults.button,units:["px","em","%"]})),Object(l.createElement)(V,r()({},this.props,{device:this.getDeviceType(),type:"margin",label:Object(g.__)("Margin","generateblocks"),attrTop:"marginTopTablet",attrRight:"marginRightTablet",attrBottom:"marginBottomTablet",attrLeft:"marginLeftTablet",attrUnit:"marginUnit",attrSyncUnits:"marginSyncUnits",defaults:generateBlocksDefaults.button,units:["px","em","%"]})),Object(l.createElement)(V,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(g.__)("Border Size","generateblocks"),attrTop:"borderSizeTopTablet",attrRight:"borderSizeRightTablet",attrBottom:"borderSizeBottomTablet",attrLeft:"borderSizeLeftTablet",attrSyncUnits:"borderSizeSyncUnits",defaults:generateBlocksDefaults.button,units:["px"]})),Object(l.createElement)(V,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(g.__)("Border Radius","generateblocks"),attrTop:"borderRadiusTopLeftTablet",attrRight:"borderRadiusTopRightTablet",attrBottom:"borderRadiusBottomRightTablet",attrLeft:"borderRadiusBottomLeftTablet",attrUnit:"borderRadiusUnit",attrSyncUnits:"borderRadiusSyncUnits",labelTop:Object(g.__)("T-Left","generateblocks"),labelRight:Object(g.__)("T-Right","generateblocks"),labelBottom:Object(g.__)("B-Right","generateblocks"),labelLeft:Object(g.__)("B-Left","generateblocks"),defaults:generateBlocksDefaults.button,units:["px","em","%"]}))),"Mobile"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(V,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(g.__)("Padding","generateblocks"),attrTop:"paddingTopMobile",attrRight:"paddingRightMobile",attrBottom:"paddingBottomMobile",attrLeft:"paddingLeftMobile",attrUnit:"paddingUnit",attrSyncUnits:"paddingSyncUnits",defaults:generateBlocksDefaults.button,units:["px","em","%"]})),Object(l.createElement)(V,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(g.__)("Margin","generateblocks"),attrTop:"marginTopMobile",attrRight:"marginRightMobile",attrBottom:"marginBottomMobile",attrLeft:"marginLeftMobile",attrUnit:"marginUnit",attrSyncUnits:"marginSyncUnits",defaults:generateBlocksDefaults.button,units:["px","em","%"]})),Object(l.createElement)(V,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(g.__)("Border Size","generateblocks"),attrTop:"borderSizeTopMobile",attrRight:"borderSizeRightMobile",attrBottom:"borderSizeBottomMobile",attrLeft:"borderSizeLeftMobile",attrSyncUnits:"borderSizeSyncUnits",defaults:generateBlocksDefaults.button,units:["px"]})),Object(l.createElement)(V,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(g.__)("Border Radius","generateblocks"),attrTop:"borderRadiusTopLeftMobile",attrRight:"borderRadiusTopRightMobile",attrBottom:"borderRadiusBottomRightMobile",attrLeft:"borderRadiusBottomLeftMobile",attrUnit:"borderRadiusUnit",attrSyncUnits:"borderRadiusSyncUnits",labelTop:Object(g.__)("T-Left","generateblocks"),labelRight:Object(g.__)("T-Right","generateblocks"),labelBottom:Object(g.__)("B-Right","generateblocks"),labelLeft:Object(g.__)("B-Left","generateblocks"),defaults:generateBlocksDefaults.button,units:["px","em","%"]}))),Object(d.applyFilters)("generateblocks.editor.controls","","buttonSpacing",this.props,this.state)),Object(l.createElement)(j,r()({},this.props,{title:Object(g.__)("Colors","generateblocks"),initialOpen:!1,icon:s("colors"),className:"gblocks-panel-label",id:"buttonColors",state:this.state}),"Desktop"===this.getDeviceType()&&Object(l.createElement)(b.TabPanel,{className:"layout-tab-panel gblocks-control-tabs",activeClass:"active-tab",tabs:[{name:"button-colors",title:Object(g.__)("Normal","generateblocks"),className:"button-colors"},{name:"button-colors-hover",title:Object(g.__)("Hover","generateblocks"),className:"button-colors-hover"}]},e=>{const a="button-colors"===e.name;return Object(l.createElement)("div",null,a?Object(l.createElement)(l.Fragment,null,Object(l.createElement)(I,{label:Object(g.__)("Background Color","generateblocks"),value:_,alpha:!0,valueOpacity:S,attrOpacity:"backgroundColorOpacity",key:"buttonBackgroundColor",onChange:e=>t({backgroundColor:e}),onOpacityChange:e=>t({backgroundColorOpacity:e})}),Object(l.createElement)(I,{label:Object(g.__)("Text Color","generateblocks"),value:D,alpha:!1,key:"buttonTextColor",onChange:e=>t({textColor:e})}),Object(l.createElement)(I,{label:Object(g.__)("Border Color","generateblocks"),value:N,alpha:!0,valueOpacity:U,attrOpacity:"borderColorOpacity",key:"buttonBorderColor",onChange:e=>t({borderColor:e}),onOpacityChange:e=>t({borderColorOpacity:e})}),Object(d.applyFilters)("generateblocks.editor.controls","","buttonColorsNormal",this.props,this.state)):Object(l.createElement)(l.Fragment,null,Object(l.createElement)(I,{label:Object(g.__)("Background Color","generateblocks"),value:M,alpha:!0,valueOpacity:z,attrOpacity:"backgroundColorHoverOpacity",key:"buttonBackgroundColorHover",onChange:e=>t({backgroundColorHover:e}),onOpacityChange:e=>t({backgroundColorHoverOpacity:e})}),Object(l.createElement)(I,{label:Object(g.__)("Text Color","generateblocks"),value:R,alpha:!1,key:"buttonTextColorHover",onChange:e=>t({textColorHover:e})}),Object(l.createElement)(I,{label:Object(g.__)("Border Color","generateblocks"),value:H,alpha:!0,valueOpacity:G,attrOpacity:"borderColorHoverOpacity",key:"buttonBorderColorHover",onChange:e=>t({borderColorHover:e}),onOpacityChange:e=>t({borderColorHoverOpacity:e})}),Object(d.applyFilters)("generateblocks.editor.controls","","buttonColorsHover",this.props,this.state)))}),Object(d.applyFilters)("generateblocks.editor.controls","","buttonColors",this.props,this.state)),Object(l.createElement)(j,r()({},this.props,{title:Object(g.__)("Background Gradient","generateblocks"),initialOpen:!1,icon:s("gradients"),className:"gblocks-panel-label",id:"buttonBackgroundGradient",state:this.state}),"Desktop"===this.getDeviceType()&&Object(l.createElement)(J,r()({},this.props,{attrGradient:"gradient",attrGradientDirection:"gradientDirection",attrGradientColorOne:"gradientColorOne",attrGradientColorOneOpacity:"gradientColorOneOpacity",attrGradientColorStopOne:"gradientColorStopOne",attrGradientColorTwo:"gradientColorTwo",attrGradientColorTwoOpacity:"gradientColorTwoOpacity",attrGradientColorStopTwo:"gradientColorStopTwo",defaultColorOne:generateBlocksDefaults.button.gradientColorOne,defaultColorTwo:generateBlocksDefaults.button.gradientColorTwo})),Object(d.applyFilters)("generateblocks.editor.controls","","buttonBackgroundGradient",this.props,this.state)),Object(l.createElement)(j,r()({},this.props,{title:Object(g.__)("Icon","generateblocks"),initialOpen:!1,icon:s("icons"),className:"gblocks-panel-label",id:"buttonIcon",state:this.state,showPanel:!("Desktop"!==this.getDeviceType()&&!v)}),"Desktop"===this.getDeviceType()&&Object(l.createElement)(Se,r()({},this.props,{attrIcon:"icon",attrIconLocation:"iconLocation",attrRemoveText:"removeText",locationOptions:[{label:Object(g.__)("Left","generateblocks"),value:"left"},{label:Object(g.__)("Right","generateblocks"),value:"right"}]})),"Desktop"===this.getDeviceType()&&!!v&&Object(l.createElement)(l.Fragment,null,!C&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(V,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(g.__)("Padding","generateblocks"),attrTop:"iconPaddingTop",attrRight:"iconPaddingRight",attrBottom:"iconPaddingBottom",attrLeft:"iconPaddingLeft",attrUnit:"iconPaddingUnit",attrSyncUnits:"iconPaddingSyncUnits",defaults:generateBlocksDefaults.button,units:["px","em","%"]}))),Object(l.createElement)(u,{label:Object(g.__)("Icon Size","generateblocks"),value:Y,units:["px","em"],onClick:e=>{t({iconSizeUnit:e})}}),Object(l.createElement)("div",{className:"components-base-control components-gblocks-typography-control__inputs"},Object(l.createElement)(b.TextControl,{type:"number",value:W||"",step:"em"===Y?.1:1,onChange:e=>{t({iconSize:e})},onBlur:()=>{t({iconSize:parseFloat(W)})},onClick:e=>{e.currentTarget.focus()}}),Object(l.createElement)(b.Button,{isSmall:!0,isSecondary:!0,className:"components-gblocks-default-number",onClick:()=>{t({iconSize:generateBlocksDefaults.button.iconSize})}},Object(g.__)("Reset","generateblocks")))),"Tablet"===this.getDeviceType()&&!!v&&Object(l.createElement)(l.Fragment,null,!C&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(V,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(g.__)("Padding","generateblocks"),attrTop:"iconPaddingTopTablet",attrRight:"iconPaddingRightTablet",attrBottom:"iconPaddingBottomTablet",attrLeft:"iconPaddingLeftTablet",attrUnit:"iconPaddingUnit",attrSyncUnits:"iconPaddingSyncUnits",defaults:generateBlocksDefaults.button,units:["px","em","%"]}))),Object(l.createElement)(u,{label:Object(g.__)("Icon Size","generateblocks"),value:Y,units:["px","em"],onClick:e=>{t({iconSizeUnit:e})}}),Object(l.createElement)("div",{className:"components-base-control components-gblocks-typography-control__inputs"},Object(l.createElement)(b.TextControl,{type:"number",value:q||"",step:"em"===Y?.1:1,placeholder:"1",onChange:e=>{t({iconSizeTablet:e})},onBlur:()=>{t({iconSizeTablet:parseFloat(q)})},onClick:e=>{e.currentTarget.focus()}}),Object(l.createElement)(b.Button,{isSmall:!0,isSecondary:!0,className:"components-gblocks-default-number",onClick:()=>{t({iconSizeTablet:generateBlocksDefaults.button.iconSizeTablet})}},Object(g.__)("Reset","generateblocks")))),"Mobile"===this.getDeviceType()&&!!v&&Object(l.createElement)(l.Fragment,null,!C&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(V,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(g.__)("Padding","generateblocks"),attrTop:"iconPaddingTopMobile",attrRight:"iconPaddingRightMobile",attrBottom:"iconPaddingBottomMobile",attrLeft:"iconPaddingLeftMobile",attrUnit:"iconPaddingUnit",attrSyncUnits:"iconPaddingSyncUnits",defaults:generateBlocksDefaults.button,units:["px","em","%"]}))),Object(l.createElement)(u,{label:Object(g.__)("Icon Size","generateblocks"),value:Y,units:["px","em"],onClick:e=>{t({iconSizeUnit:e})}}),Object(l.createElement)("div",{className:"components-base-control components-gblocks-typography-control__inputs"},Object(l.createElement)(b.TextControl,{type:"number",value:K||"",step:"em"===Y?.1:1,placeholder:"1",onChange:e=>{t({iconSizeMobile:e})},onBlur:()=>{t({iconSizeMobile:parseFloat(K)})},onClick:e=>{e.currentTarget.focus()}}),Object(l.createElement)(b.Button,{isSmall:!0,isSecondary:!0,className:"components-gblocks-default-number",onClick:()=>{t({iconSizeMobile:generateBlocksDefaults.button.iconSizeMobile})}},Object(g.__)("Reset","generateblocks")))),Object(d.applyFilters)("generateblocks.editor.controls","","buttonIcon",this.props,this.state)),Object(l.createElement)(j,r()({},this.props,{title:Object(g.__)("Documentation","generateblocks"),icon:s("documentation"),initialOpen:!1,className:"gblocks-panel-label",id:"buttonDocumentation",state:this.state}),Object(l.createElement)("p",null,Object(g.__)("Need help with this block?","generateblocks")),Object(l.createElement)("a",{href:"https://docs.generateblocks.com/collection/buttons/",target:"_blank",rel:"noreferrer noopener"},Object(g.__)("Visit our documentation","generateblocks")),Object(d.applyFilters)("generateblocks.editor.controls","","buttonDocumentation",this.props,this.state))),Object(l.createElement)(x.InspectorAdvancedControls,null,Object(l.createElement)(b.TextControl,{label:Object(g.__)("HTML Anchor","generateblocks"),help:Object(g.__)("Anchors lets you link directly to a section on a page.","generateblocks"),value:f||"",onChange:e=>{e=e.replace(Le,"-"),t({anchor:e})}}),Object(l.createElement)(b.TextControl,{label:Object(g.__)("ARIA Label","generateblocks"),help:Object(g.__)("Helpful to people using screen readers.","generateblocks"),value:B,onChange:e=>{t({ariaLabel:e})}})),Object(l.createElement)(Ee,this.props),this.props.deviceType&&Object(l.createElement)(l.Fragment,null,"Desktop"===this.props.deviceType&&Object(l.createElement)(De,this.props),("Tablet"===this.props.deviceType||"Mobile"===this.props.deviceType)&&Object(l.createElement)(Me,this.props),"Tablet"===this.props.deviceType&&Object(l.createElement)(ze,this.props),"Mobile"===this.props.deviceType&&Object(l.createElement)(Re,this.props)),L&&F&&Object(l.createElement)("link",{rel:"stylesheet",href:"https://fonts.googleapis.com/css?family="+L.replace(/ /g,"+")+X}),Object(l.createElement)(P,{tagName:k?"a":"span",htmlAttrs:ee},!!v&&Object(l.createElement)(l.Fragment,null,"left"===T&&Object(l.createElement)("span",{className:"gb-icon",dangerouslySetInnerHTML:{__html:v}}),!C&&Object(l.createElement)("span",{className:"gb-button-text"},Object(l.createElement)(x.RichText,{placeholder:Object(g.__)("Add text…","generateblocks"),value:m,onChange:e=>t({text:e}),allowedFormats:Object(d.applyFilters)("generateblocks.editor.buttonDisableFormatting",!1,this.props)?[]:["core/bold","core/italic","core/strikethrough"]})),"right"===T&&Object(l.createElement)("span",{className:"gb-icon",dangerouslySetInnerHTML:{__html:v}})),!v&&!C&&Object(l.createElement)(x.RichText,{placeholder:Object(g.__)("Add text…","generateblocks"),value:m,onChange:e=>t({text:e}),allowedFormats:Object(d.applyFilters)("generateblocks.editor.buttonDisableFormatting",!1,this.props)?[]:["core/bold","core/italic","core/strikethrough"]})),a&&Object(l.createElement)(xe,{url:k,target:w,relNoFollow:y,relSponsored:O,onChange:e=>{t(e),""!==e.url?t({hasUrl:!0}):t({hasUrl:!1})},autoFocus:!1,className:"gblocks-component-url-input-float"}))}}var Ae=Object(M.compose)([Object(D.withDispatch)(e=>({setDeviceType(t){const{__experimentalSetPreviewDeviceType:a}=e("core/edit-post")||!1;a&&a(t)}})),Object(D.withSelect)(e=>{const{__experimentalGetPreviewDeviceType:t}=e("core/edit-post")||!1;return t?{deviceType:t()}:{deviceType:null}})])(Fe),Ne={uniqueId:{type:"string",default:""},anchor:{type:"string",default:""},url:{type:"string",source:"attribute",selector:".gb-button",attribute:"href"},hasUrl:{type:"boolean"},target:{type:"boolean"},relNoFollow:{type:"boolean"},relSponsored:{type:"boolean"},text:{type:"string",source:"html",selector:".gb-button-text",default:"Button"},icon:{type:"string",source:"html",selector:".gb-icon"},hasIcon:{type:"boolean",default:!1},iconLocation:{type:"string",default:generateBlocksDefaults.button.iconLocation},customIcon:{type:"boolean",default:!1},removeText:{type:"boolean",default:generateBlocksDefaults.button.removeText},ariaLabel:{type:"string",default:generateBlocksDefaults.button.ariaLabel},backgroundColor:{type:"string",default:generateBlocksDefaults.button.backgroundColor},backgroundColorOpacity:{type:"number",default:generateBlocksDefaults.button.backgroundColorOpacity},textColor:{type:"string",default:generateBlocksDefaults.button.textColor},backgroundColorHover:{type:"string",default:generateBlocksDefaults.button.backgroundColorHover},backgroundColorHoverOpacity:{type:"number",default:generateBlocksDefaults.button.backgroundColorHoverOpacity},textColorHover:{type:"string",default:generateBlocksDefaults.button.textColorHover},borderColor:{type:"string",default:generateBlocksDefaults.button.borderColor},borderColorOpacity:{type:"number",default:generateBlocksDefaults.button.borderColorOpacity},borderColorHover:{type:"string",default:generateBlocksDefaults.button.borderColorHover},borderColorHoverOpacity:{type:"number",default:generateBlocksDefaults.button.borderColorHoverOpacity},fontFamily:{type:"string",default:generateBlocksDefaults.button.fontFamily},fontFamilyFallback:{type:"string",default:generateBlocksDefaults.button.fontFamilyFallback},googleFont:{type:"boolean",default:generateBlocksDefaults.button.googleFont},googleFontVariants:{type:"string",default:generateBlocksDefaults.button.googleFontVariants},fontWeight:{type:"string",default:generateBlocksDefaults.button.fontWeight},fontSize:{type:"number",default:generateBlocksDefaults.button.fontSize},fontSizeTablet:{type:"number",default:generateBlocksDefaults.button.fontSizeTablet},fontSizeMobile:{type:"number",default:generateBlocksDefaults.button.fontSizeMobile},fontSizeUnit:{type:"string",default:generateBlocksDefaults.button.fontSizeUnit},textTransform:{type:"string",default:generateBlocksDefaults.button.textTransform},letterSpacing:{type:"number",default:generateBlocksDefaults.button.letterSpacing},letterSpacingTablet:{type:"number",default:generateBlocksDefaults.button.letterSpacingTablet},letterSpacingMobile:{type:"number",default:generateBlocksDefaults.button.letterSpacingMobile},marginTop:{type:"string",default:generateBlocksDefaults.button.marginTop},marginRight:{type:"string",default:generateBlocksDefaults.button.marginRight},marginBottom:{type:"string",default:generateBlocksDefaults.button.marginBottom},marginLeft:{type:"string",default:generateBlocksDefaults.button.marginLeft},marginUnit:{type:"string",default:generateBlocksDefaults.button.marginUnit},marginTopTablet:{type:"string",default:generateBlocksDefaults.button.marginTopTablet},marginRightTablet:{type:"string",default:generateBlocksDefaults.button.marginRightTablet},marginBottomTablet:{type:"string",default:generateBlocksDefaults.button.marginBottomTablet},marginLeftTablet:{type:"string",default:generateBlocksDefaults.button.marginLeftTablet},marginTopMobile:{type:"string",default:generateBlocksDefaults.button.marginTopMobile},marginRightMobile:{type:"string",default:generateBlocksDefaults.button.marginRightMobile},marginBottomMobile:{type:"string",default:generateBlocksDefaults.button.marginBottomMobile},marginLeftMobile:{type:"string",default:generateBlocksDefaults.button.marginLeftMobile},paddingTop:{type:"string",default:generateBlocksDefaults.button.paddingTop},paddingRight:{type:"string",default:generateBlocksDefaults.button.paddingRight},paddingBottom:{type:"string",default:generateBlocksDefaults.button.paddingBottom},paddingLeft:{type:"string",default:generateBlocksDefaults.button.paddingLeft},paddingUnit:{type:"string",default:generateBlocksDefaults.button.paddingUnit},paddingTopTablet:{type:"string",default:generateBlocksDefaults.button.paddingTopTablet},paddingRightTablet:{type:"string",default:generateBlocksDefaults.button.paddingRightTablet},paddingBottomTablet:{type:"string",default:generateBlocksDefaults.button.paddingBottomTablet},paddingLeftTablet:{type:"string",default:generateBlocksDefaults.button.paddingLeftTablet},paddingTopMobile:{type:"string",default:generateBlocksDefaults.button.paddingTopMobile},paddingRightMobile:{type:"string",default:generateBlocksDefaults.button.paddingRightMobile},paddingBottomMobile:{type:"string",default:generateBlocksDefaults.button.paddingBottomMobile},paddingLeftMobile:{type:"string",default:generateBlocksDefaults.button.paddingLeftMobile},borderSizeTop:{type:"string",default:generateBlocksDefaults.button.borderSizeTop},borderSizeRight:{type:"string",default:generateBlocksDefaults.button.borderSizeRight},borderSizeBottom:{type:"string",default:generateBlocksDefaults.button.borderSizeBottom},borderSizeLeft:{type:"string",default:generateBlocksDefaults.button.borderSizeLeft},borderSizeTopTablet:{type:"string",default:generateBlocksDefaults.button.borderSizeTopTablet},borderSizeRightTablet:{type:"string",default:generateBlocksDefaults.button.borderSizeRightTablet},borderSizeBottomTablet:{type:"string",default:generateBlocksDefaults.button.borderSizeBottomTablet},borderSizeLeftTablet:{type:"string",default:generateBlocksDefaults.button.borderSizeLeftTablet},borderSizeTopMobile:{type:"string",default:generateBlocksDefaults.button.borderSizeTopMobile},borderSizeRightMobile:{type:"string",default:generateBlocksDefaults.button.borderSizeRightMobile},borderSizeBottomMobile:{type:"string",default:generateBlocksDefaults.button.borderSizeBottomMobile},borderSizeLeftMobile:{type:"string",default:generateBlocksDefaults.button.borderSizeLeftMobile},borderRadiusTopRight:{type:"string",default:generateBlocksDefaults.button.borderRadiusTopRight},borderRadiusBottomRight:{type:"string",default:generateBlocksDefaults.button.borderRadiusBottomRight},borderRadiusBottomLeft:{type:"string",default:generateBlocksDefaults.button.borderRadiusBottomLeft},borderRadiusTopLeft:{type:"string",default:generateBlocksDefaults.button.borderRadiusTopLeft},borderRadiusUnit:{type:"string",default:generateBlocksDefaults.button.borderRadiusUnit},borderRadiusTopRightTablet:{type:"string",default:generateBlocksDefaults.button.borderRadiusTopRightTablet},borderRadiusBottomRightTablet:{type:"string",default:generateBlocksDefaults.button.borderRadiusBottomRightTablet},borderRadiusBottomLeftTablet:{type:"string",default:generateBlocksDefaults.button.borderRadiusBottomLeftTablet},borderRadiusTopLeftTablet:{type:"string",default:generateBlocksDefaults.button.borderRadiusTopLeftTablet},borderRadiusTopRightMobile:{type:"string",default:generateBlocksDefaults.button.borderRadiusTopRightMobile},borderRadiusBottomRightMobile:{type:"string",default:generateBlocksDefaults.button.borderRadiusBottomRightMobile},borderRadiusBottomLeftMobile:{type:"string",default:generateBlocksDefaults.button.borderRadiusBottomLeftMobile},borderRadiusTopLeftMobile:{type:"string",default:generateBlocksDefaults.button.borderRadiusTopLeftMobile},gradient:{type:"boolean",default:generateBlocksDefaults.button.gradient},gradientDirection:{type:"number",default:generateBlocksDefaults.button.gradientDirection},gradientColorOne:{type:"string",default:generateBlocksDefaults.button.gradientColorOne},gradientColorOneOpacity:{type:"number",default:generateBlocksDefaults.button.gradientColorOneOpacity},gradientColorStopOne:{type:"number",default:generateBlocksDefaults.button.gradientColorStopOne},gradientColorTwo:{type:"string",default:generateBlocksDefaults.button.gradientColorTwo},gradientColorTwoOpacity:{type:"number",default:generateBlocksDefaults.button.gradientColorTwoOpacity},gradientColorStopTwo:{type:"number",default:generateBlocksDefaults.button.gradientColorStopTwo},iconPaddingTop:{type:"string",default:generateBlocksDefaults.button.iconPaddingTop},iconPaddingRight:{type:"string",default:generateBlocksDefaults.button.iconPaddingRight},iconPaddingBottom:{type:"string",default:generateBlocksDefaults.button.iconPaddingBottom},iconPaddingLeft:{type:"string",default:generateBlocksDefaults.button.iconPaddingLeft},iconPaddingTopTablet:{type:"string",default:generateBlocksDefaults.button.iconPaddingTopTablet},iconPaddingRightTablet:{type:"string",default:generateBlocksDefaults.button.iconPaddingRightTablet},iconPaddingBottomTablet:{type:"string",default:generateBlocksDefaults.button.iconPaddingBottomTablet},iconPaddingLeftTablet:{type:"string",default:generateBlocksDefaults.button.iconPaddingLeftTablet},iconPaddingTopMobile:{type:"string",default:generateBlocksDefaults.button.iconPaddingTopMobile},iconPaddingRightMobile:{type:"string",default:generateBlocksDefaults.button.iconPaddingRightMobile},iconPaddingBottomMobile:{type:"string",default:generateBlocksDefaults.button.iconPaddingBottomMobile},iconPaddingLeftMobile:{type:"string",default:generateBlocksDefaults.button.iconPaddingLeftMobile},iconPaddingUnit:{type:"string",default:generateBlocksDefaults.button.iconPaddingUnit},iconPaddingSyncUnits:{type:"boolean",default:!1},iconSize:{type:"number",default:generateBlocksDefaults.button.iconSize},iconSizeTablet:{type:"number",default:generateBlocksDefaults.button.iconSizeTablet},iconSizeMobile:{type:"number",default:generateBlocksDefaults.button.iconSizeMobile},iconSizeUnit:{type:"string",default:generateBlocksDefaults.button.iconSizeUnit},elementId:{type:"string",default:""},cssClasses:{type:"string",default:""}},Ue=[{attributes:{...Ne,text:{type:"array",source:"children",selector:".gb-button .button-text",default:"Button"}},supports:{anchor:!1,className:!1,customClassName:!1,inserter:!1,reusable:!1},migrate(e){const t=e.cssClasses?e.cssClasses:e.className,a=e.elementId?e.elementId:e.anchor;return{...e,className:t,anchor:a,cssClasses:"",elementId:""}},save({attributes:e}){const{uniqueId:t,elementId:a,cssClasses:i,text:r,url:n,target:c,relNoFollow:s,relSponsored:g,icon:b,iconLocation:p,removeText:u,ariaLabel:h}=e,f=[];s&&f.push("nofollow"),c&&f.push("noopener","noreferrer"),g&&f.push("sponsored");let m={id:a||void 0,className:o()({"gb-button":!0,["gb-button-"+t]:!0,[""+i]:""!==i}),href:n||void 0,target:c?"_blank":void 0,rel:f&&f.length>0?f.join(" "):void 0,"aria-label":h||void 0};return m=Object(d.applyFilters)("generateblocks.frontend.htmlAttributes",m,"generateblocks/button",e),Object(l.createElement)("a",m,b&&"left"===p&&Object(l.createElement)("span",{className:"gb-icon",dangerouslySetInnerHTML:{__html:Q(b)}}),!u&&Object(l.createElement)(x.RichText.Content,{tagName:"span",className:"button-text",value:r,key:"button-text"}),b&&"right"===p&&Object(l.createElement)("span",{className:"gb-icon",dangerouslySetInnerHTML:{__html:Q(b)}}))}}];Object(E.registerBlockType)("generateblocks/button",{title:Object(g.__)("Button","generateblocks"),description:Object(g.__)("Drive conversions with beautiful buttons.","generateblocks"),parent:["generateblocks/button-container"],icon:s("button"),category:"generateblocks",keywords:[Object(g.__)("button"),Object(g.__)("buttons"),Object(g.__)("generate")],attributes:Ne,supports:{className:!1,inserter:!1,reusable:!1},edit:Ae,save:({attributes:e})=>{const{uniqueId:t,className:a,text:i,url:r,target:n,relNoFollow:c,relSponsored:s,icon:g,iconLocation:b,removeText:p,ariaLabel:u,anchor:h}=e,f=[];c&&f.push("nofollow"),n&&f.push("noopener","noreferrer"),s&&f.push("sponsored");let m={className:o()({"gb-button":!0,["gb-button-"+t]:!0,"gb-button-text":!g,[""+a]:void 0!==a}),href:r||null,target:n?"_blank":null,rel:f&&f.length>0?f.join(" "):null,"aria-label":u||null,id:h||null};return m=Object(d.applyFilters)("generateblocks.frontend.htmlAttributes",m,"generateblocks/button",e),Object(l.createElement)(P,{tagName:r?"a":"span",htmlAttrs:m},!!g&&"left"===b&&Object(l.createElement)("span",{className:"gb-icon",dangerouslySetInnerHTML:{__html:g}}),!p&&Object(l.createElement)(x.RichText.Content,{value:i,tagName:g?"span":null,className:g?"gb-button-text":null}),!!g&&"right"===b&&Object(l.createElement)("span",{className:"gb-icon",dangerouslySetInnerHTML:{__html:g}}))},deprecated:Ue});class Pe extends l.Component{render(){const e=Object(d.applyFilters)("generateblocks.editor.cssAttrs",this.props.attributes,this.props),{clientId:t}=this.props,{uniqueId:a,element:i,alignment:r,backgroundColor:n,backgroundColorOpacity:o,textColor:c,linkColor:s,borderColor:g,borderColorOpacity:b,highlightTextColor:p,fontFamily:u,fontFamilyFallback:m,fontWeight:k,fontSize:w,fontSizeUnit:y,textTransform:O,lineHeight:v,lineHeightUnit:j,letterSpacing:T,marginTop:C,marginRight:B,marginBottom:_,marginLeft:S,marginUnit:x,paddingTop:E,paddingRight:D,paddingBottom:M,paddingLeft:z,paddingUnit:R,borderSizeTop:L,borderSizeRight:F,borderSizeBottom:A,borderSizeLeft:N,borderRadiusTopRight:U,borderRadiusBottomRight:P,borderRadiusBottomLeft:I,borderRadiusTopLeft:G,borderRadiusUnit:V,icon:W,iconColor:q,iconColorOpacity:Z,iconLocation:K,iconVerticalAlignment:J,iconPaddingTop:Y,iconPaddingRight:$,iconPaddingBottom:Q,iconPaddingLeft:X,iconPaddingUnit:te,iconSize:ae,iconSizeUnit:le,inlineWidth:ie,removeText:re}=e;let ne="",oe="inline-block";u&&m&&(ne=", "+m);const ce=i+".gb-headline-"+a;let se=[];return se[".editor-styles-wrapper "+ce]=[{color:c,"font-family":u+ne,"font-weight":k,"text-transform":O,"text-align":r,"font-size":f(w,y),"line-height":f(v,j),"letter-spacing":f(T,"em"),display:!!W&&"flex","align-items":pe("inline"===K?J:r),"justify-content":pe(r),"flex-direction":!(!W||"above"!==K)&&"column"}],se[".editor-styles-wrapper .gb-container "+ce]=[{color:c}],W&&(oe="inline-flex"),se[".editor-styles-wrapper "+ce].push({"background-color":H(n,o),color:c,display:!!ie&&oe,"margin-top":f(C,x),"margin-right":f(B,x),"margin-bottom":f(_,x),"margin-left":f(S,x),padding:ee(E,D,M,z,R),"border-radius":ee(G,U,P,I,V),"border-color":H(g,b)}),(L||F||A||N)&&se[".editor-styles-wrapper "+ce].push({"border-width":ee(L,F,A,N,"px"),"border-style":"solid"}),se[".editor-styles-wrapper "+ce+" a"]=[{color:s}],se[ce+" .gb-icon"]=[{padding:!re&&ee(Y,$,Q,X,te),"align-self":!(!W||"above"!==K)&&pe(r),color:H(q,Z),display:!(!W||"above"!==K)&&"inline"}],se[ce+" .gb-icon svg"]=[{width:f(ae,le),height:f(ae,le)}],se[ce+" .gb-highlight"]=[{color:p}],se["#block-"+t]=[{display:!!ie&&"inline-flex"}],se=Object(d.applyFilters)("generateblocks.editor.mainCSS",se,this.props,"headline"),Object(l.createElement)("style",null,h(se))}}class He extends l.Component{render(){let e=[];return e=Object(d.applyFilters)("generateblocks.editor.desktopCSS",e,this.props,"headline"),Object(l.createElement)("style",null,h(e))}}class Ie extends l.Component{render(){const e=Object(d.applyFilters)("generateblocks.editor.cssAttrs",this.props.attributes,this.props),{clientId:t}=this.props,{uniqueId:a,element:i,alignmentTablet:r,fontSizeTablet:n,fontSizeUnit:o,lineHeightTablet:c,lineHeightUnit:s,letterSpacingTablet:g,marginTopTablet:b,marginRightTablet:p,marginBottomTablet:u,marginLeftTablet:m,marginUnit:k,paddingTopTablet:w,paddingRightTablet:y,paddingBottomTablet:O,paddingLeftTablet:v,paddingUnit:j,borderSizeTopTablet:T,borderSizeRightTablet:C,borderSizeBottomTablet:B,borderSizeLeftTablet:_,borderRadiusTopRightTablet:S,borderRadiusBottomRightTablet:x,borderRadiusBottomLeftTablet:E,borderRadiusTopLeftTablet:D,borderRadiusUnit:M,icon:z,iconLocationTablet:R,iconVerticalAlignmentTablet:L,iconPaddingTopTablet:F,iconPaddingRightTablet:A,iconPaddingBottomTablet:N,iconPaddingLeftTablet:U,iconPaddingUnit:P,iconSizeTablet:H,iconSizeUnit:I,inlineWidthTablet:G,removeText:V}=e,W=i+".gb-headline-"+a;let q="inline-block",Z=[];return Z[".editor-styles-wrapper "+W]=[{"text-align":r,"font-size":f(n,o),"line-height":f(c,s),"letter-spacing":f(g,"em"),display:!!z&&"flex","align-items":pe("inline"===R?L:r),"justify-content":pe(r),"flex-direction":!(!z||"above"!==R)&&"column","margin-top":f(b,k)+" !important","margin-right":f(p,k)+" !important","margin-bottom":f(u,k)+" !important","margin-left":f(m,k)+" !important","padding-top":f(w,j),"padding-right":f(y,j),"padding-bottom":f(O,j),"padding-left":f(v,j),"border-top-left-radius":f(D,M),"border-top-right-radius":f(S,M),"border-bottom-right-radius":f(x,M),"border-bottom-left-radius":f(E,M)}],z&&(q="inline-flex",Z[".editor-styles-wrapper "+W].push({display:!!G&&q})),(T||C||B||_)&&Z[".editor-styles-wrapper "+W].push({"border-top-width":f(T,"px"),"border-right-width":f(C,"px"),"border-bottom-width":f(B,"px"),"border-left-width":f(_,"px"),"border-style":"solid"}),Z[W+" .gb-icon"]=[{"padding-top":!V&&f(F,P),"padding-right":!V&&f(A,P),"padding-bottom":!V&&f(N,P),"padding-left":!V&&f(U,P),"align-self":!(!z||"above"!==R)&&pe(r),display:!(!z||"above"!==R)&&"inline"}],Z[W+" .gb-icon svg"]=[{width:f(H,I),height:f(H,I)}],Z["#block-"+t]=[{display:!!G&&"inline-flex"}],Z=Object(d.applyFilters)("generateblocks.editor.tabletCSS",Z,this.props,"text"),Object(l.createElement)("style",null,h(Z))}}class Ge extends l.Component{render(){let e=[];return e=Object(d.applyFilters)("generateblocks.editor.tabletOnlyCSS",e,this.props,"headline"),Object(l.createElement)("style",null,h(e))}}class Ve extends l.Component{render(){const e=Object(d.applyFilters)("generateblocks.editor.cssAttrs",this.props.attributes,this.props),{clientId:t}=this.props,{uniqueId:a,element:i,alignmentMobile:r,fontSizeMobile:n,fontSizeUnit:o,lineHeightMobile:c,lineHeightUnit:s,letterSpacingMobile:g,marginTopMobile:b,marginRightMobile:p,marginBottomMobile:u,marginLeftMobile:m,marginUnit:k,paddingTopMobile:w,paddingRightMobile:y,paddingBottomMobile:O,paddingLeftMobile:v,paddingUnit:j,borderSizeTopMobile:T,borderSizeRightMobile:C,borderSizeBottomMobile:B,borderSizeLeftMobile:_,borderRadiusTopRightMobile:S,borderRadiusBottomRightMobile:x,borderRadiusBottomLeftMobile:E,borderRadiusTopLeftMobile:D,borderRadiusUnit:M,icon:z,iconLocationMobile:R,iconVerticalAlignmentMobile:L,iconPaddingTopMobile:F,iconPaddingRightMobile:A,iconPaddingBottomMobile:N,iconPaddingLeftMobile:U,iconPaddingUnit:P,iconSizeMobile:H,iconSizeUnit:I,inlineWidthMobile:G,removeText:V}=e,W=i+".gb-headline-"+a;let q="inline-block",Z=[];return Z[".editor-styles-wrapper "+W]=[{"text-align":r,"font-size":f(n,o),"line-height":f(c,s),"letter-spacing":f(g,"em"),display:!!z&&"flex","align-items":pe("inline"===R?L:r),"justify-content":pe(r),"flex-direction":!(!z||"above"!==R)&&"column","margin-top":f(b,k)+" !important","margin-right":f(p,k)+" !important","margin-bottom":f(u,k)+" !important","margin-left":f(m,k)+" !important","padding-top":f(w,j),"padding-right":f(y,j),"padding-bottom":f(O,j),"padding-left":f(v,j),"border-top-left-radius":f(D,M),"border-top-right-radius":f(S,M),"border-bottom-right-radius":f(x,M),"border-bottom-left-radius":f(E,M)}],z&&(q="inline-flex",Z[".editor-styles-wrapper "+W].push({display:!!G&&q})),(T||C||B||_)&&Z[".editor-styles-wrapper "+W].push({"border-top-width":f(T,"px"),"border-right-width":f(C,"px"),"border-bottom-width":f(B,"px"),"border-left-width":f(_,"px"),"border-style":"solid"}),Z[W+" .gb-icon"]=[{"padding-top":!V&&f(F,P),"padding-right":!V&&f(A,P),"padding-bottom":!V&&f(N,P),"padding-left":!V&&f(U,P),"align-self":!(!z||"above"!==R)&&pe(r),display:!(!z||"above"!==R)&&"inline"}],Z[W+" .gb-icon svg"]=[{width:f(H,I),height:f(H,I)}],Z["#block-"+t]=[{display:!!G&&"inline-flex"}],Z=Object(d.applyFilters)("generateblocks.editor.mobileCSS",Z,this.props,"headline"),Object(l.createElement)("style",null,h(Z))}}var We=a(11);const qe=Object(l.createElement)("svg",{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"1.414"},Object(l.createElement)("path",{d:"M4.331,15.598l2.193,1.693c0,0 -0.813,1.215 -0.992,1.215c-1.129,0.003 -1.424,0.008 -2.603,-0.001c-0.741,-0.006 -0.04,-0.955 0.187,-1.269c0.502,-0.694 1.215,-1.638 1.215,-1.638Zm7.632,-14.107c0.364,-0.061 5.412,3.896 5.439,4.272c0.031,0.438 -4.887,8.469 -5.635,9.648c-0.251,0.397 -1.185,0.206 -2.064,0.472c-0.801,0.243 -1.89,1.336 -2.193,1.105c-1.047,-0.796 -2.217,-1.646 -3.117,-2.49c-0.367,-0.343 0.388,-1.241 0.405,-2.188c0.015,-0.811 -0.644,-2.029 -0.196,-2.575c0.836,-1.019 6.931,-8.172 7.361,-8.244Zm0.144,1.454l3.95,3.105l-4.972,8.1l-5.197,-4.053l6.219,-7.152Z"})),Ze=Object(M.compose)(Object(D.withSelect)((function(e){return{selectedBlock:e("core/block-editor").getSelectedBlock()}})),Object(M.ifCondition)((function(e){return e.selectedBlock&&"generateblocks/headline"===e.selectedBlock.name})))((function(e){const t=()=>e.onChange(Object(We.toggleFormat)(e.value,{type:"generateblocks/mark"}));return Object(l.createElement)(l.Fragment,null,Object(l.createElement)(x.RichTextShortcut,{type:"primary",character:"m",onUse:t}),Object(l.createElement)(x.RichTextToolbarButton,{icon:qe,title:Object(g.__)("Highlight","generateblocks"),onClick:t,isActive:e.isActive,shortcutType:"access",shortcutCharacter:"m",className:"toolbar-button-with-text toolbar-button__generateblocks/mark"}))})),Ke={title:Object(g.__)("Highlight","generateblocks"),tagName:"mark",className:"gb-highlight",edit:Ze};function Je({level:e}){const t={h1:"M9 5h2v10H9v-4H5v4H3V5h2v4h4V5zm6.6 0c-.6.9-1.5 1.7-2.6 2v1h2v7h2V5h-1.4z",h2:"M7 5h2v10H7v-4H3v4H1V5h2v4h4V5zm8 8c.5-.4.6-.6 1.1-1.1.4-.4.8-.8 1.2-1.3.3-.4.6-.8.9-1.3.2-.4.3-.8.3-1.3 0-.4-.1-.9-.3-1.3-.2-.4-.4-.7-.8-1-.3-.3-.7-.5-1.2-.6-.5-.2-1-.2-1.5-.2-.4 0-.7 0-1.1.1-.3.1-.7.2-1 .3-.3.1-.6.3-.9.5-.3.2-.6.4-.8.7l1.2 1.2c.3-.3.6-.5 1-.7.4-.2.7-.3 1.2-.3s.9.1 1.3.4c.3.3.5.7.5 1.1 0 .4-.1.8-.4 1.1-.3.5-.6.9-1 1.2-.4.4-1 .9-1.6 1.4-.6.5-1.4 1.1-2.2 1.6V15h8v-2H15z",h3:"M12.1 12.2c.4.3.8.5 1.2.7.4.2.9.3 1.4.3.5 0 1-.1 1.4-.3.3-.1.5-.5.5-.8 0-.2 0-.4-.1-.6-.1-.2-.3-.3-.5-.4-.3-.1-.7-.2-1-.3-.5-.1-1-.1-1.5-.1V9.1c.7.1 1.5-.1 2.2-.4.4-.2.6-.5.6-.9 0-.3-.1-.6-.4-.8-.3-.2-.7-.3-1.1-.3-.4 0-.8.1-1.1.3-.4.2-.7.4-1.1.6l-1.2-1.4c.5-.4 1.1-.7 1.6-.9.5-.2 1.2-.3 1.8-.3.5 0 1 .1 1.6.2.4.1.8.3 1.2.5.3.2.6.5.8.8.2.3.3.7.3 1.1 0 .5-.2.9-.5 1.3-.4.4-.9.7-1.5.9v.1c.6.1 1.2.4 1.6.8.4.4.7.9.7 1.5 0 .4-.1.8-.3 1.2-.2.4-.5.7-.9.9-.4.3-.9.4-1.3.5-.5.1-1 .2-1.6.2-.8 0-1.6-.1-2.3-.4-.6-.2-1.1-.6-1.6-1l1.1-1.4zM7 9H3V5H1v10h2v-4h4v4h2V5H7v4z",h4:"M9 15H7v-4H3v4H1V5h2v4h4V5h2v10zm10-2h-1v2h-2v-2h-5v-2l4-6h3v6h1v2zm-3-2V7l-2.8 4H16z",h5:"M12.1 12.2c.4.3.7.5 1.1.7.4.2.9.3 1.3.3.5 0 1-.1 1.4-.4.4-.3.6-.7.6-1.1 0-.4-.2-.9-.6-1.1-.4-.3-.9-.4-1.4-.4H14c-.1 0-.3 0-.4.1l-.4.1-.5.2-1-.6.3-5h6.4v1.9h-4.3L14 8.8c.2-.1.5-.1.7-.2.2 0 .5-.1.7-.1.5 0 .9.1 1.4.2.4.1.8.3 1.1.6.3.2.6.6.8.9.2.4.3.9.3 1.4 0 .5-.1 1-.3 1.4-.2.4-.5.8-.9 1.1-.4.3-.8.5-1.3.7-.5.2-1 .3-1.5.3-.8 0-1.6-.1-2.3-.4-.6-.2-1.1-.6-1.6-1-.1-.1 1-1.5 1-1.5zM9 15H7v-4H3v4H1V5h2v4h4V5h2v10z",h6:"M9 15H7v-4H3v4H1V5h2v4h4V5h2v10zm8.6-7.5c-.2-.2-.5-.4-.8-.5-.6-.2-1.3-.2-1.9 0-.3.1-.6.3-.8.5l-.6.9c-.2.5-.2.9-.2 1.4.4-.3.8-.6 1.2-.8.4-.2.8-.3 1.3-.3.4 0 .8 0 1.2.2.4.1.7.3 1 .6.3.3.5.6.7.9.2.4.3.8.3 1.3s-.1.9-.3 1.4c-.2.4-.5.7-.8 1-.4.3-.8.5-1.2.6-1 .3-2 .3-3 0-.5-.2-1-.5-1.4-.9-.4-.4-.8-.9-1-1.5-.2-.6-.3-1.3-.3-2.1s.1-1.6.4-2.3c.2-.6.6-1.2 1-1.6.4-.4.9-.7 1.4-.9.6-.3 1.1-.4 1.7-.4.7 0 1.4.1 2 .3.5.2 1 .5 1.4.8 0 .1-1.3 1.4-1.3 1.4zm-2.4 5.8c.2 0 .4 0 .6-.1.2 0 .4-.1.5-.2.1-.1.3-.3.4-.5.1-.2.1-.5.1-.7 0-.4-.1-.8-.4-1.1-.3-.2-.7-.3-1.1-.3-.3 0-.7.1-1 .2-.4.2-.7.4-1 .7 0 .3.1.7.3 1 .1.2.3.4.4.6.2.1.3.3.5.3.2.1.5.2.7.1z",p:"M7.411 18V6.005h3.887c1.474 0 2.429.067 2.881.184.687.185 1.257.57 1.726 1.173.452.603.687 1.374.687 2.329 0 .737-.135 1.357-.403 1.86-.268.502-.603.904-1.021 1.189-.403.284-.821.469-1.257.57-.57.117-1.407.167-2.496.167H9.823V18H7.411zm2.412-9.968v3.401h1.324c.955 0 1.591-.05 1.926-.184.319-.118.57-.319.754-.587.185-.268.268-.57.268-.938 0-.435-.117-.787-.385-1.072a1.607 1.607 0 00-.972-.536c-.284-.05-.87-.084-1.742-.084H9.823z",div:"M6.969 6.005h4.423c1.005 0 1.759.084 2.295.235.703.2 1.306.57 1.809 1.105.503.52.871 1.173 1.14 1.944.267.754.385 1.708.385 2.83 0 .99-.118 1.844-.369 2.547-.302.871-.72 1.592-1.273 2.128-.419.402-.989.72-1.709.955-.536.167-1.24.251-2.144.251H6.969V6.005zm2.43 2.027v7.94h1.808c.67 0 1.156-.033 1.458-.1.402-.1.72-.268.972-.502.268-.235.485-.62.636-1.156.168-.536.251-1.273.251-2.195 0-.938-.083-1.641-.25-2.144-.152-.486-.386-.888-.688-1.156-.285-.285-.67-.469-1.122-.57-.335-.067-.989-.117-1.977-.117H9.398z"};if(!t.hasOwnProperty(e))return null;let a="0 0 20 20";return"p"!==e&&"div"!==e||(a="0 0 24 24"),Object(l.createElement)(b.SVG,{width:"24",height:"24",viewBox:a,xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)(b.Path,{d:t[e]}))}Object(We.registerFormatType)("generateblocks/mark",Ke);const Ye=/[\s#]/g;class $e extends l.Component{constructor(){super(...arguments),this.getFontSizePlaceholder=this.getFontSizePlaceholder.bind(this),this.getDeviceType=this.getDeviceType.bind(this),this.setDeviceType=this.setDeviceType.bind(this),this.state={selectedDevice:"Desktop",fontSizePlaceholder:"17"}}componentDidMount(){const e=T(wp.data.select("core/block-editor").getBlocks(),[],this.props.clientId);this.props.attributes.uniqueId&&!e.includes(this.props.attributes.uniqueId)||this.props.setAttributes({uniqueId:this.props.clientId.substr(2,9).replace("-","")});const t=this.getFontSizePlaceholder();t!==this.state.fontSizePlaceholder&&this.setState({fontSizePlaceholder:t}),!this.props.attributes.hasIcon&&this.props.attributes.icon&&this.props.setAttributes({hasIcon:!0})}componentDidUpdate(){const e=this.getFontSizePlaceholder();e!==this.state.fontSizePlaceholder&&this.setState({fontSizePlaceholder:e})}getFontSizePlaceholder(){let e="25";if("em"===this.props.attributes.fontSizeUnit)e="1";else if("%"===this.props.attributes.fontSizeUnit)e="100";else{const t=document.querySelector(".gb-headline-"+this.props.attributes.uniqueId);t&&(e=parseFloat(window.getComputedStyle(t).fontSize))}return e}getDeviceType(){let e=this.props.deviceType?this.props.deviceType:this.state.selectedDevice;return generateBlocksInfo.syncResponsivePreviews||(e=this.state.selectedDevice),e}setDeviceType(e){generateBlocksInfo.syncResponsivePreviews&&this.props.deviceType?(this.props.setDeviceType(e),this.setState({selectedDevice:e})):this.setState({selectedDevice:e})}render(){const{attributes:e,setAttributes:t,onReplace:a,clientId:i}=this.props,{fontSizePlaceholder:n}=this.state,{uniqueId:c,anchor:h,className:f,content:m,element:k,alignment:w,alignmentTablet:y,alignmentMobile:O,backgroundColor:v,backgroundColorOpacity:T,textColor:C,linkColor:B,linkColorHover:_,borderColor:S,borderColorOpacity:D,highlightTextColor:M,fontFamily:z,googleFont:R,googleFontVariants:L,marginTop:F,marginRight:A,marginBottom:N,marginLeft:U,icon:H,hasIcon:G,iconColor:W,iconColorOpacity:q,iconLocation:K,iconLocationTablet:J,iconLocationMobile:Y,iconVerticalAlignment:$,iconVerticalAlignmentTablet:Q,iconVerticalAlignmentMobile:X,iconSize:ee,iconSizeTablet:te,iconSizeMobile:ae,iconSizeUnit:le,inlineWidth:ie,inlineWidthTablet:re,inlineWidthMobile:ne,removeText:oe,ariaLabel:ce}=e;let se="";L&&(se=":"+L);let ge="";ge=te||0===te?te:ee||0===ee?ee:"";let be={className:o()({"gb-headline":!0,["gb-headline-"+c]:!0,"gb-headline-text":!G,[f]:void 0!==f}),id:h||null};be=Object(d.applyFilters)("generateblocks.frontend.htmlAttributes",be,"generateblocks/headline",e);const de=(t,a)=>{let l;return l=a||t?Object(E.createBlock)("generateblocks/headline",{...e,content:t}):Object(E.createBlock)("core/paragraph"),a&&(l.clientId=i),l};return Object(l.createElement)(l.Fragment,null,Object(l.createElement)(x.BlockControls,null,Object(l.createElement)(b.ToolbarGroup,{isCollapsed:!0,icon:Object(l.createElement)(Je,{level:k}),label:Object(g.__)("Change Headline Element","generateblocks"),controls:[{isActive:"h1"===k,icon:Object(l.createElement)(Je,{level:"h1"}),title:Object(g.sprintf)(// translators: %s: heading level e.g: "1", "2", "3"
10
  Object(g.__)("Heading %s","generateblocks"),"1"),onClick:()=>{t({element:"h1"})}},{isActive:"h2"===k,icon:Object(l.createElement)(Je,{level:"h2"}),title:Object(g.sprintf)(// translators: %s: heading level e.g: "1", "2", "3"
11
  Object(g.__)("Heading %s","generateblocks"),"2"),onClick:()=>{t({element:"h2"})}},{isActive:"h3"===k,icon:Object(l.createElement)(Je,{level:"h3"}),title:Object(g.sprintf)(// translators: %s: heading level e.g: "1", "2", "3"
12
  Object(g.__)("Heading %s","generateblocks"),"3"),onClick:()=>{t({element:"h3"})}},{isActive:"h4"===k,icon:Object(l.createElement)(Je,{level:"h4"}),title:Object(g.sprintf)(// translators: %s: heading level e.g: "1", "2", "3"
plugin.php CHANGED
@@ -5,7 +5,7 @@
5
  * Description: A small collection of lightweight WordPress blocks that can accomplish nearly anything.
6
  * Author: Tom Usborne
7
  * Author URI: https://tomusborne.com
8
- * Version: 1.4.2
9
  * Requires at least: 5.4
10
  * Requires PHP: 5.6
11
  * License: GPL2+
@@ -19,7 +19,7 @@ if ( ! defined( 'ABSPATH' ) ) {
19
  exit; // Exit if accessed directly.
20
  }
21
 
22
- define( 'GENERATEBLOCKS_VERSION', '1.4.2' );
23
  define( 'GENERATEBLOCKS_DIR', plugin_dir_path( __FILE__ ) );
24
  define( 'GENERATEBLOCKS_DIR_URL', plugin_dir_url( __FILE__ ) );
25
 
5
  * Description: A small collection of lightweight WordPress blocks that can accomplish nearly anything.
6
  * Author: Tom Usborne
7
  * Author URI: https://tomusborne.com
8
+ * Version: 1.4.3
9
  * Requires at least: 5.4
10
  * Requires PHP: 5.6
11
  * License: GPL2+
19
  exit; // Exit if accessed directly.
20
  }
21
 
22
+ define( 'GENERATEBLOCKS_VERSION', '1.4.3' );
23
  define( 'GENERATEBLOCKS_DIR', plugin_dir_path( __FILE__ ) );
24
  define( 'GENERATEBLOCKS_DIR_URL', plugin_dir_url( __FILE__ ) );
25
 
readme.txt CHANGED
@@ -3,9 +3,9 @@ Contributors: edge22
3
  Donate link: https://generateblocks.com
4
  Tags: blocks, gutenberg, container, headline, grid, columns, page builder, wysiwyg, block editor
5
  Requires at least: 5.4
6
- Tested up to: 5.9
7
  Requires PHP: 5.6
8
- Stable tag: 1.4.2
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -77,6 +77,10 @@ GenerateBlocks was built to work hand-in-hand with [GeneratePress](https://gener
77
 
78
  == Changelog ==
79
 
 
 
 
 
80
  = 1.4.2 =
81
  * Fix: Missing responsive editor styles in Firefox
82
 
3
  Donate link: https://generateblocks.com
4
  Tags: blocks, gutenberg, container, headline, grid, columns, page builder, wysiwyg, block editor
5
  Requires at least: 5.4
6
+ Tested up to: 6.0
7
  Requires PHP: 5.6
8
+ Stable tag: 1.4.3
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
77
 
78
  == Changelog ==
79
 
80
+ = 1.4.3 =
81
+ * Fix: Error when opening Headline color pickers in WP 6.0
82
+ * Fix: Button URL field not selectable in WP 6.0
83
+
84
  = 1.4.2 =
85
  * Fix: Missing responsive editor styles in Firefox
86
 
src/blocks/button/edit.js CHANGED
@@ -1089,7 +1089,6 @@ class GenerateBlockButton extends Component {
1089
  value={ text }
1090
  onChange={ ( value ) => setAttributes( { text: value } ) }
1091
  allowedFormats={ applyFilters( 'generateblocks.editor.buttonDisableFormatting', false, this.props ) ? [] : [ 'core/bold', 'core/italic', 'core/strikethrough' ] }
1092
- isSelected={ isSelected }
1093
  />
1094
  </span>
1095
  }
@@ -1109,7 +1108,6 @@ class GenerateBlockButton extends Component {
1109
  value={ text }
1110
  onChange={ ( value ) => setAttributes( { text: value } ) }
1111
  allowedFormats={ applyFilters( 'generateblocks.editor.buttonDisableFormatting', false, this.props ) ? [] : [ 'core/bold', 'core/italic', 'core/strikethrough' ] }
1112
- isSelected={ isSelected }
1113
  />
1114
  }
1115
  </Element>
1089
  value={ text }
1090
  onChange={ ( value ) => setAttributes( { text: value } ) }
1091
  allowedFormats={ applyFilters( 'generateblocks.editor.buttonDisableFormatting', false, this.props ) ? [] : [ 'core/bold', 'core/italic', 'core/strikethrough' ] }
 
1092
  />
1093
  </span>
1094
  }
1108
  value={ text }
1109
  onChange={ ( value ) => setAttributes( { text: value } ) }
1110
  allowedFormats={ applyFilters( 'generateblocks.editor.buttonDisableFormatting', false, this.props ) ? [] : [ 'core/bold', 'core/italic', 'core/strikethrough' ] }
 
1111
  />
1112
  }
1113
  </Element>
src/components/color-picker/index.js CHANGED
@@ -225,7 +225,7 @@ export default class GenerateBlocksColorPicker extends Component {
225
  className="gblocks-component-color-picker-palette"
226
  >
227
  <ColorPalette
228
- value={ value }
229
  onChange={ ( color ) => {
230
  onChange( color );
231
 
225
  className="gblocks-component-color-picker-palette"
226
  >
227
  <ColorPalette
228
+ value={ value ? value : '' }
229
  onChange={ ( color ) => {
230
  onChange( color );
231